How do I bind my additional IPs?

Here is the simplest way of binding your additional IPs:

1) Find out which interface is your public

[root@LSN-D#### ~]# route | grep -v "10." | grep -m 1 "255.255" | awk '{ print $8 }'
<strong>eth1</strong>

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 your 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=123.123.123.4
IPADDR_END=123.123.123.5
CLONENUM_START=0" >> /etc/sysconfig/network-scripts/ifcfg-<strong>eth1</strong>-range0

3) Restart your network interface

 
service network restart
 
 
 
  • 17 Користувачі, які знайшли це корисним
Ця відповідь Вам допомогла?

Схожі статті

How do I run a ping?

PING stands for Packet INternet Groper. This is a simple diagnostic tool implemented in both...

How do I run a traceroute?

Both Windows and Linux have the ability of diagnosing the health of a connection between a...

Large file transfer gives error: Corrupted MAC on input

Source: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/60764 Symptom When you...

Recieving an "ip_conntrack: table full" error.

On OpenVZ/HyperVM machines sometimes the ip_conntrack table will become full and drop packets....