User`s manual

UC-8410/8416/8418-LX User’s Manual Getting Started
2-6
Configuring the Ethernet Interface
The network settings of the UC-8410/8416/8418 can be modified with the serial console, or online
over the network.
Modifying Network Settings with the Serial Console
In this section, we use the serial console to configure network settings of the target computer.
1. Follow the instructions given in a previous section to access the console utility of the target
computer via the serial console port, and then type #cd /etc/network to change directory.
root@Moxa:# cd /etc/network/
root@Moxa:/etc/network/#
2. Type #vi interfaces to edit the network configuration file with vi editor. You can configure
the UC-8410/8416/8418’s Ethernet ports for static or dynamic (DHCP) IP addresses.
Static IP addresses:
As shown below, 3 network addresses need to be modified: address, network, netmask, and
broadcast. The default IP addresses are 192.168.3.127 for LAN1, 192.168.4.127 for LAN2,
and 192.168.5.127 for LAN3, with default netmasks of 255.255.255.0.
# We always want the loopback interface.
auto eth0 eth1 eth2 lo
iface lo inet loopback
# embedded ethernet LAN1
iface eth0 inet static
address 192.168.3.127
network 192.168.3.0
netmask 255.255.255.0
broadcast 192.168.3.255
# embedded ethernet LAN2
iface eth1 inet static
address 192.168.4.127
network 192.168.4.0
netmask 255.255.255.0
broadcast 192.168.4.255
# embedded ethernet LAN3
iface eth2 inet static
address 192.168.5.127
network 192.168.5.0