How to bind additional IPs?

 

Instructions are only for CentOS / Fedora specifically.
By default, Rackbank only binds your first primary IP. This is because there are different methods of applying your additional IPs that may require that they not be bound originally.

Here is the simplest way of binding your additional IPs:

1) Find out which interface is public

[root@RBDC## ~]# route | grep -v "10." | grep -m 1 "255.255" | awk '{ print $8 }'
eth1

This shows that my public interface (does not have a “10.” address) is eth1.

2) Create the route file

Before running the command below, change “eth1” to your public interface from step 1 and set your START and END IP addresses in the range.


Note:
Your IPADDR_START should be second usable IP as your primary is already bound. The IPADDR_END value is your last usable IP. If you are unsure what these values are please check your welcome e-mail or open a support ticket.

echo "IPADDR_START=103.15.***.***
IPADDR_END=103.15.***.***
CLONENUM_START=0" >> /etc/sysconfig/network-scripts/ifcfg-eth1-range0


3) Restart your network interface

 

service network restart

Radhe

Radhe Dhakad is Support Executive and Network Admin at RackBank Datacenters Pvt. Ltd.. He is our curious techie who loves experimenting on servers and likes to pen down whatever he explores new on server technology!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

© Copyright 2013-2021 RackBank© Datacenters Pvt. Ltd.


Data Center in India

Rated 4.7/5 based on 31 reviews at Google+