Displaying 1 result from an estimated 1 matches for "x0number".
2005 Jun 23
2
Betr.: Multiple IP Addresses in a single NIC
Hi,
You need to issue two commands:
/sbin/ifconfig eth0:0 xxx.xxx.xxx.xxx
/sbin/route add -host xxx.xxx.xxx.xxx dev eth0
For example:
/sbin/ifconfig eth0:0 172.16.1.199
/sbin/route add -host 172.16.1.199 dev eth0
You can even assign multiple aliases to one NIC (One of my servers has about 10 ip addresses):
For example:
/sbin/ifconfig eth0:0 172.16.1.199
/sbin/route add -host 172.16.1.199