ADDING IP TO ALANTRON SERVERS
In this short tutorial we show how to add additional IPs to an Alantron server. To add additional IP addresses to your server network make sure you are routing the trafiic via your gateway.
For your main IP:
/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
HWADDR=
ONBOOT=yes
BOOTPROTO=static
IPADDR=
NETMASK=255.255.255.255
/etc/sysconfig/network-scripts/route-eth0
ADDRESS0=0.0.0.0
NETMASK0=0.0.0.0
GATEWAY0=
/sbin/service network restart
For each additional Ip create a configuration file:
/etc/sysconfig/network-scripts/ifcfg-eth0:1
/etc/sysconfig/network-scripts/ifcfg-eth0:2
Then write:
DEVICE=eth0:1
BOOTPROTO=none
ONBOOT=yes
IPADDR=
NETMASK=255.255.255.255
/sbin/service network restart