Moxa UC-8410A-LX [14/86] The cell_mgmt at command

Moxa UC-8410A-T-LX [14/86] The cell_mgmt at command
UC-8410A Series Linux Software Getting Started
2-8
Network Settings
Configuring Ethernet Interfaces
After the first login, you can configure the UC-8410A-LX’s network settings to better fit your application. A
serial console makes it more convenient for you to manipulate the network interface settings, which can help
you to avoid reconnections, when compared to an SSH login.
Modifying Network Settings via the Serial Console
In this section, we use the serial console to configure the UC-8410A-LX’s network settings. Follow the
instructions given in the Connecting to the UC-8410A-LX section to access the console utility of the target
UC-8410A 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 the vi editor. You can
configure the UC-8410A-LX’s Ethernet ports to use either
static or dynamic (DHCP) IP addresses.
Setting a Static IP Address
To set a static IP address for the UC-8410A-LX, use the iface command to modify the address, network,
netmask, and broadcast parameters of the Ethernet interface.
# 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~

Содержание

Скачать