Network Settings; Configuring Ethernet Interfaces - Moxa Technologies ioThinx 4530 Series User Manual

Hide thumbs Also See for ioThinx 4530 Series:
Table of Contents

Advertisement

ioThinx 4530 Linux Manual

Network Settings

Configuring Ethernet Interfaces

After the first login, you can configure the ioThinx 4530 controller's network settings to fit your application
better. Note that it is more convenient to manipulate the network interface settings from the serial console
than from an SSH login because an SSH connection can disconnect when there are network issues and the
connection must be reestablished.
Modifying Network Settings via the Serial Console
In this section, we use the serial console to configure the ioThinx 4530 controller's network settings. Follow
the instructions in the Connecting to the ioThinx 4530 controller section under Getting Started to access the
Console Utility of the target computer via the serial Console port and then type
change directories.
moxa@Moxa:~$ cd /etc/network/
moxa@Moxa:/etc/network/~$
sudo vi interfaces
Type
ioThinx 4530 controller'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 ioThinx 4530 controller, use the
gateway, address, network, netmask, and broadcast parameters of the Ethernet interface.
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto eth0 eth1 lo
iface lo inet loopback
iface eth0 inet static
address 192.168.127.254
network 192.168.127.0
netmask 255.255.255.0
broadcast 192.168.127.255
iface eth1 inet static
address 192.168.126.254
network 192.168.126.0
netmask 255.255.255.0
broadcast 192.168.126.255
to edit the network configuration file in the vi editor. You can configure the
2-7
Getting Started
cd /etc/network
iface
command to modify the default
to

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Iothinx 4533-lx series

Table of Contents