Moxa Technologies 331 Manuel d'utilisateur Page 23

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 69
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 22
Moxa C Programmable RTU Controllers Getting Started
2-13
Configuring the Ethernet Interface
The network settings of the Moxa C programming RTU controller can be modified with the serial console port,
or online over the network.
Modifying Network Settings via Serial Console
Follow the instructions given in the previous section to access the serial console of the target RTU controller,
and then type #cd /etc/network to change directories.
Type #vi interfaces to edit the network configuration file with vi editor. Users can configure the Ethernet ports
of the RTU controller for static or dynamic (DHCP) IP addresses.
Static IP addresses
As shown in the table below, 4 network addresses must be modified: address, network, netmask, and
broadcast. The default IP address for LAN1 is 192.168.127.254, with default netmask of 255.255.255.0.
Dynamic IP addresses
By default, the RTU controller is configured for “static” IP addresses. To configure the LAN port to request an
IP address dynamically, replace static with dhcp and then delete the address, network, netmask, and
broadcast lines.
Default Setting for LAN1 Dynamic Setting using DHCP
iface eth0 inet static
address 192.168.127.254
network: 192.168.127.0
netmask 255.255.255.0
broadcast 192.168.127.255
iface eth0 inet dhcp
After the LAN interface settings have been modified and saved, perform the following command to activate the
LAN settings immediately:
#/etc/init.d/networking restart
NOTE
After changing the IP settings, use the netw
orking restart command to activate the new IP address.
User
s must modify the /etc/network/interfaces to store the new settings. Using commands such as
#ifconfig eth0 192.168.1.1
WILL NOT save the settings to the flash memory.
Vue de la page 22
1 2 ... 18 19 20 21 22 23 24 25 26 27 28 ... 68 69

Commentaires sur ces manuels

Pas de commentaire