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

  • Your service has been great during the time I have been with you, therefore I wish your company all the best and success for the future.

    Chee - Code Infinity
  • Professional, highly knowledgeable and incredibly helpful. By far the best hosting/colocation company i have ever used. Cannot speak anymore highly of the guys at Racksrv.

    Lloyd
  • Thanks for your help and support after I got the server, it was working brilliant - well worth the money! Unfortunately we need to downgrade as we no longer need a server of this scale, we may well come back at a later time for a smaller server.

    Kyle - notorious
  • Have dealt with Racksrv for years, great company, great support, quick answers, will be with them for many more I hope

    Nick - Sort It.biz Limited
  • Your service has been 5 star and the server itself was fantastic. Your support was extremely good - I would consider it as a WOW factor for your business!

    Nick - Entire Technology
  • I am very satisfied with your services and products and I'll get touch with your company should I need any services in the future.

    Anmol - N/A
  • never ceases to amaze me how quick they respond to tickets and how knowledgable they are. Definitely my 1st choice!

    Daimon - DMB SOLUTIONS LTD
0