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

  • Thanks for your support over the preceding 6 months or so, well continue to recommend RackSRV to our customers interested in dedicated hosting and will certainly employ your services again in the future when the need for another dedicated server arises.

    Mark - Farbyte
  • 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
  • I've been with Racksrv now since 2007 and very happy with the service provided. Jon and the Racksrv team always seem to go beyond the call of duty to support and accommodate your needs. If someone is looking for a decent hosting solution backed by a high quality team I would instantly recommend Racksrv.

    James
  • I have been with RackSRV for two years now, I moved to them to host our company website, I was looking for a reliable fast and value for money UK hosting provider and with RackSRV I certainly found what I was looking for. You will get a first class service from the RackSRV team. They are always quick to respond to ema...

    Humberto - Media Rooms
  • Service was always excellent and hopefully it will remain so on the other service will still have with you.

    Sharon - MDS Transmodal Ltd.
  • Highly recommend RackSRV, We have been a customer for over 6 years with no issues. They has been extremely accommodating to all our needs, Our project has come to an end so we've had to cancel service, and even then they have helped massively in the termination of service and handover of data. Will remember th...

    Stuart - About IT Ltd
  • I have been with racksrv for 3 years and have no intention of looking eleswhere. They offer a really good service at a good price.

    Ben - Ben Angwin t/a Hoax Music
0