Enter promo code HALFMANAGED at checkout for 50% off your first month’s bill on any managed service!
50% off managed hosting with code HALFMANAGED

Need help? We may have the answer for you already!

Binding multiple IPs to one interface in Centos 6

The steps to add additional IP's to one network card / interface in Centos 6 are as follows:

1.) Login into the server as the root user
2.) Navigate to /etc/sysconfig/network-scripts directory
3.) Assuming that the network interface name is eth0, cp ifcfg-eth0 as ifcfg-eth0:1
4.) Edit the ifcfg-eth0:1 file and change the DEVICE parameter to DEVICE=eth0:1
5.) Change the other parameters in the NEW file such as IPADDR to the new IP address.
6.) Repeat this process for each additional IP but remember to change the interface name each time e.g. ifcfg-eth0:2

After adding your additional IP's restart the network service: service network restart

News @ RackSRV

Customer Feedback

  • Well what can I say... I have been a web designer for around 12 years and have used half a dozen different hosting companies with services from shared hosting to dedicated servers. I can honestly say the service from RACKSRV is the best by far. They asked a few security questions to make sure I was not a SPAMMER which ...

    Alex - Ulric Web Design LTD
  • I have found being a RackSRV client to be a pleasure right from my initial inquiries and server setup. I have been amazed at how fast support tickets have been responded to and resolved. Server and network performance has generally been excellent over two years, I would be more than happy to recommend RackSRV to anyone...

    Matthew - The Environmental Illness Resource
  • Excellant level of service, always quick to reply to support tickets. only cancelled because our gaming community had no more use for the server. thank you for a good service, if things change we will return. S Hall.

    Simon
  • Here at BINGOBONGO we run game servers, Teamspeak & Web Hosting and Counter Strike from our RackSRV Dedicated Server. We've been with all the major game server providers (INX, KillerCreation, Rackage, i3d, Multiplay, RTL ...), weve had 9 providers in a year! We came to RackSRV and met Jon Roberts over 2 ...

    Joe
  • I have been a customer of RackSRV with three co-located servers for over 5 years now and cannot fault the reliability of the service or the commitment of Jon and his team when I have needed assistance. I would happily recommend RackSRV to anyone :)

    Ed
  • Been with RackSRV nearly a month now and the support i get is amazing! I even upgraded because i felt like i came to the right place for a VPS. Jon Roberts is one of the best support techs i have come across! Im sure to spend many months here or years here!

    Leigh
  • I have been using RackSRV for nearly a month and they are the best, the server is up all the time any tickets I have submitted are answered with in a hour even on weekends - look no further :)

    Darren - None
0