User`s manual
UC-8410/8416/8418-LX User’s Manual Getting Started
2-7
Dynamic IP Addresses:
By default, the UC-8410/8416/8418 is configured for “static” IP addresses. To configure LAN
ports 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.3.127
network: 192.168.3.0
netmask 255.255.255.0
broadcast 192.168.3.255
iface eth0 inet dhcp
Auto eth0 eth1 lo
iface lo inet loopback
iface eth0 inet dhcp
iface eth1 inet dhcp
3. After the boot settings of the LAN interface have been modified, issue the following command
to activate the LAN settings immediately:
#/etc/init.d/networking restart
ATTENTION
After changing the IP settings, use the networking restart command to activate the new IP
address.
Modifying Network Settings over the Network
IP settings can be activated over the network, but the new settings will not be saved to the flash
ROM without modifying the file /etc/network/interfaces.
For example, type the command #ifconfig eth0 192.168.1.1 to change the IP address of LAN1 to
192.168.1.1.
root@Moxa:# ifconfig eth0 192.168.1.1
root@Moxa:/etc/network/#