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

John R Pierce pierce at hogranch.com
Fri Sep 7 15:49:57 UTC 2007


Karanbir Singh wrote:
> Ray Leventhal wrote:
>>>> /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?
>
> Make life a lot easier and a lot more functional ?
>

I concur, with the caveat that AFAIK, the RHEL standard networking 
scripts still do things the old way with ifconfig.



More information about the CentOS mailing list