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

  • I have been with RackSRV since 2010, I came with a very specific requirement, i was never turned away rather the opposite i was looked after and helped getting everything up and running, 4yrs later its now time for a brand new server. The whole team made sure that everything was 100% perfect for my budget and requireme...

    Clifford - CMWebHosting
  • Being a customer at RackSRV has always been easy, they are helpful and I have no complaints. Only in the beginning of my time as a customer was there some rare downtime, but RackSRV has just got better and better with time. The staff seem pro at what they do, last year there has not had any downtime that I've noti...

    Tore
  • Great service provided by RackSRV, I have been with them for about 2 years now, but I have no worries whatsoever as I know my Server is in safe hands with Jon - he's been most helpful this last week. Great job RackSRV!

    Robert - Aura-Clan
  • I have been a customer of Racksrv for many years and throughout their service has been incomparably better than the other hosts I have worked with in the past. They take a real interest in helping clients achieve their goals and are unusually flexible in tailoring packages to specific needs. I cannot recommend them ...

    Tim - Colneis
  • I trialled the service for a future project and I'm very satisfied. I will be back in the near future for sure!

    Pierluigi - Computer's Home
  • We at use-IP Ltd have been a RackSRV customer for approximately 10 years, with a fully-managed dedicated server. We run an ecommerce business; essentially, our webshop IS our business. Therefore, good hosting and great support is vital. For a short period we were tempted away from RackSRV to another host by a de...

    Phil - Use-ip Ltd
  • The racksrv.com VPS service is by far the best I have used and trust me I have used ALOT! if anything they are undersold the performance is better than even the big players when running stress tests, my openVZ server beat both my VPS servers with linode and softlayer!

    Anthony
0