Installation Instructions

Table Of Contents
SCADA Gateway Installation and Configuration Manual Adding an Alternate Interface in CentOS 51
© Tait Limited May 2017
Appendix 2: Adding an Alternate Interface in
CentOS
CentOS uses configuration files for each interface to be configured. These
configuration files are stored in
/etc/sysconfig/network-scripts/
with filenames
ifcfg-<interface>, e.g. ifcfg-eth0:2.
To enable the sub-interface on the first Ethernet port (interface eth0:2) for
the SCADA gateway:
1. Login as the root user: su -
2. Edit the file /etc/sysconfig/network-scripts/ifcfg-
eth0:2
using the command nano /etc/sysconfig/network-
scripts/ifcfg-eth0:2
3. Set or edit the following lines in the file:
DEVICE=eth0:2
ONBOOT=yes
BOOTPROTO=none
IPADDR=<ip-address>
PREFIX=<prefix>
GATEWAY=<gateway-ip>
4. Save the changes (^O) and exit from nano (^X).
5. Restart the network service to apply the changes by running the
command
service network restart