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

umair shakil umairshakeel at gmail.com
Fri Sep 7 13:20:13 UTC 2007


Dear Ray,

If you analyze, both the commands:

ifconfig is a way to configure your IP address as the name shows, it is
valid
/sbin/ip didnot see such situation ???? may in future.

Regards,

Umair Shakil
Askai Bank Limited
Pakistan

On 9/7/07, Ray Leventhal <centos at swhi.net> wrote:
>
> 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
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.centos.org/pipermail/centos/attachments/20070907/f594543c/attachment.htm


More information about the CentOS mailing list