[CentOS] unable to add IP address to eth0:0 eth0:1 etc

Fri Sep 7 14:58:13 UTC 2007
Ray Leventhal <centos at swhi.net>

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.