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

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

Karanbir Singh wrote:
> Ray Leventhal wrote:
>> Hi all,
>>
>> I need to (quickly!grrr) update IP addresses for which a given machine
>> will answer.
>>
>> I did this:
>>
>> /sbin/ifconfig eth0:0 xx.xx.xx.10 netmask 255.255.255.0
>
> you might want to investigate /sbin/ip - its been around for a few
> years now, no reason why people should not be using that these days :)
>
Thanks, I shall.  But as this is a production server, is there something
that /sbin/ip will do for me that /sbin/ifconfig was unable to?

~R