When you you wish to run multiple services bound to different IPs possibly under different subnets from a single machine the simple way is to create multiple virtual adapters tied to a single physical card. The following instructions are for CentOS but should also work for RedHat and Fedora.
You will require su/sudo access for the following steps
cp ifcfg-eth0 ifcfg-eth0:0 for each of the new alias replacing ifcfg-eth0:0 with ifcfg-eth0:1, ifcfg-eth0:2 as neededRestart network service(service network restart) and you are done. :-)
Comments
#this command will do not
#this command will do not permanent
ifconfig eth0:1 192.168.56.70
Post new comment