Moxa V2416-T-LX [26/88] Attention

Moxa V2416-T-XPE [26/88] Attention
V2416 Linux User's Manual Managing Communications
3-2
Detecting Network Interfaces
Linux systems use udevd to detect new network interfaces, including Ethernet interfaces and wireless
interfaces. The result is saved in /etc/udev/rules.d/70-persistent-net.rules. The content is similar to the
following:
# PCI device 0x10ec:0x8168 (r8168)
SUBSYSTEM==“net”, ACTION==“add”, DRIVERS==“?*”,
ATTR{address}==“00:90:e8:00:00:20”, ATTR{dev_id}==“0x0”, ATTR{type}==“1”,
KERNEL==“eth*”, NAME=“eth0”
# PCI device 0x10ec:0x8168 (r8168)
SUBSYSTEM==“net”, ACTION==“add”, DRIVERS==“?*”,
ATTR{address}==“00:90:e8:00:00:21”, ATTR{dev_id}==“0x0”, ATTR{type}==“1”,
KERNEL==“eth*”, NAME=“eth1”
The above example indicates that the system has detected two Ethernet interfaces.
ATTENTION
When replacing or connecting a network interface, the system may keep the old record in
/etc/udev/rules.d/70-persistent-net.rules, which could cause network interfaces to be detected
abnormally. To avoid this problem, delete the content of the file /etc/udev/rules.d/70-persistent-net.rules
and
reboot the system.
Changing the Network Settings
The V2416-LX computer has two 10/100/1000 Mbps Ethernet ports named LAN1 and LAN2. The default IP
addresses and netmasks of these network interfaces are:
Default IP Address Netmask
LAN1 192.168.3.127 255.255.255.0
LAN2 192.168.4.127 255.255.255.0
These network settings can be modified by changing the interfaces configuration file, or they can be adjusted
temporarily with the ifconfig command.
Changing theinterfacesConfiguration File
1. Type cd /etc/network to change directories.
MOXA:~# cd /etc/network
2. Type vi interfaces to edit the network configuration file with vi editor. You can configure the V2416-LX’s
Ethernet ports for static or dynamic (DHCP) IP addresses.
MOXA:/etc/network# vi interfaces

Содержание

Похожие устройства

Скачать