
UC-8100-LX Software
Getting Started
2-8
19B
Network Settings
63B
Configuring Ethernet Interfaces
After first login, you may configure the network setting on UC-8100-LX to better fit your application. Note that
it is more convenient to manipulate the network interface settings from serial console than from SSH login to
avoid reconnections.
Modifying Network Settings via the Serial Console
In this section, we use the serial console to configure network settings of the UC-8100-LX computer.
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
Moxa:~# cd /etc/network
to change directories.
moxa@Moxa:~$ cd /etc/network/
moxa@Moxa:/etc/network/~$
Type
Moxa:~# sudo vi interfaces
to edit the network configuration file with vi editor. You can configure
Ethernet ports of the UC-8100-LX for
static
or
dynamic
(DHCP) IP addresses.
Static IP address
As shown below, 2 network addresses need to be modified:
address
,
network
,
netmask
, and
broadcast
.
The default IP address of the UC-8100-LX is 192.168.3.127 for LAN 1.
# interfaces(5) file used by ifup(8) and ifdown(8)
auto eth0 eth1 lo
iface lo inet loopback
# embedded ethernet LAN1
#iface eth0 inet 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
# 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~
Содержание UC-8100-LX
Страница 8: ...UC 8100 LX Software Getting Started 2 2...
Страница 38: ...UC 8100 LX Software Manual Security On UC 8100 LX 4 2...