Configuring the ethernet interface, Configuring the ethernet interface -4 – Moxa Technologies EM-1240-LX User Manual

Page 20

Advertising
background image

EM-1240-LX User’s Manual

Getting Started

2-4

Configuring the Ethernet Interface

In this section, we use the serial console to explain how to modify the EM-1240-LX’s network
settings.

1. Change directories by issuing the command cd /etc.

2. Type the command vi rc to use the VI Editor to edit the configuration file. The IP addresses

for the EM-1240-LX’s LAN1 and LAN2 are given as
ifconfig eth0 192.168.3.127
ifconfig eth1 192.168.4.127

as shown in the following figure. Edit these two lines to modify the static IP addresses.













Advertising