UC-7400-LX Plus User’s Manual
Getting Started
2-6
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
NOTE
After changing the IP settings, use the
networking restart
command to activate the new IP
address. However, the LCM display will still show the old IP address. To update the LCM display,
you will need to reboot the UC-7400-LX Plus.
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/#
Using IPv6 Command Utilities
Moxa provides several command utilities for IPv6, starting with firmware version v1.6. Here are
some examples to demonstrate how to use these commands.
Loading IPv6 Module
Before using these commands, you need to use the following command to load the ipv6 module:
# modprobe ipv6