Moxa DA-682A-C7-DPP [6/7] Configuring the ethernet interface
![Moxa DA-682A-C7-DPP [6/7] Configuring the ethernet interface](/views2/1198981/page6/bg6.png)
- 6 -
Configuring the Ethernet Interface
Linux users should follow these steps:
If you use the console cable to configure network settings for the first
time, use the following commands to edit the interfaces file.
STEP 1: Take all network interfaces offline, before you reconfigure the
LAN settings using the following command:
MOXA:~# ifdown –a
STEP 2: Edit the network interfaces file.
You can use a text editor of your choice, but VI is the default text editor on
the DA-682A-DPP-LX.
MOXA:~#vi /etc/network/interfaces
STEP 3: Set the DA-682A-DPP for either dynamic IP addressing or static
addressing.
To set it for dynamic IP addressing, enter the following lines into
the network interfaces file:
# The primary network interface
auto eth0
iface eth0 inet dhcp
To set an interface for static IP addressing, use the following
configuration:
# The loopback network interface
auto lo
iface lo inet loopback
# The first LAN interface, LAN 1
auto eth0
iface eth0 inet static
address 192.168.3.127
netmask 255.255.255.0
broadcast 192.168.3.255
# The second LAN interface, LAN 2
auto eth1
iface eth1 inet static
address 192.168.4.127
netmask 255.255.255.0
broadcast 192.168.4.255
Each interface must be configured with separate entries in the
network/interfaces file. LAN1 corresponds to eth0, LAN 2
corresponds to eth1, and so forth for the remaining interfaces.
STEP 4: Exit the text editor.
Use the following command to exit VI:
:wq
STEP 5: After the interfaces file has been configured, use the following
commands to reinitialize the network interfaces and to activate the new
settings:
MOXA:~#sync; ifup –a
Содержание
- 1802006820120 1
- Da 682a dpp series quick installation guide 1
- Da 682a dpp seriesquick installation guide 1
- Edition 1 march 2016 1
- X86 rackmount embedded computers 1
- Model names and package checklist 2
- Overview 2
- Hardware installation 3
- Configuring the ethernet interface 6
- The loopback network interface auto lo iface lo inet loopback the first lan interface lan 1 auto eth0 iface eth0 inet static address 192 68 27 netmask 255 55 55 broadcast 192 68 55 the second lan interface lan 2 auto eth1 iface eth1 inet static address 192 68 27 netmask 255 55 55 broadcast 192 68 55 6
- The primary network interface auto eth0 iface eth0 inet dhcp 6
Похожие устройства
- Moxa DA-682A-C7-DPP Руководство пользователя Linux
- Moxa DA-682A-C7-DPP Руководство по аппаратной части
- Moxa DA-682A-C7-DPP Технические характеристики
- Moxa DA-682A-C7-DPP-LX Инструкция по эксплуатации
- Moxa DA-682A-C7-DPP-LX Руководство по подключению
- Moxa DA-682A-C7-DPP-LX Руководство пользователя Linux
- Moxa DA-682A-C7-DPP-LX Руководство по аппаратной части
- Moxa DA-682A-C7-DPP-LX Технические характеристики
- Braun 5050s Series 5 Инструкция по эксплуатации
- Braun HD 550 Инструкция по эксплуатации
- Braun Silk-epil 7 SkinSpa 7-561 Wet And Dry Инструкция по эксплуатации
- Braun 195s Series 1 Инструкция по эксплуатации
- Braun BT 7050 Инструкция по эксплуатации
- Braun 7929 Silk-epil 7 Skin Spa Инструкция по эксплуатации
- Candy FLE 0502/6 X Инструкция по эксплуатации
- Candy FPE 609/6 XL Инструкция по эксплуатации
- Candy CCFE 300 RU Инструкция по эксплуатации
- Candy FCL 614/6 GH Инструкция по эксплуатации
- Candy FPE 629/6 NX Инструкция по эксплуатации
- Candy CLG 64 SPTF Инструкция по эксплуатации