[CentOS] unable to add IP address to eth0:0 eth0:1 etc
centos at swhi.net
Fri Sep 7 14:58:13 UTC 2007
Karanbir Singh wrote:
> Ray Leventhal wrote:
>> I'm getting an error on adding the route. The machine's base IP is in
>> the xx.xx.16.x /24. The additional IPs are in another /24. Base is
>> physical, the others are virtual hosts.
> What Ross said, will work fine if your network bits match and your
> gateway is shared. If you are trying to get source based routing or
> multiple default gateways, the process is a bit more complex.
Sounds like the issue is at hand. xx.xx.16.xx is the inital /24, base
for the unit and default address on eth0
The additional, alias addresses are in the xx.xx.106.xx /24. They
gateway on 16.1 and 106.1 respectively.
More information about the CentOS