Re: question on alias IPs using ifcfg-eth0:x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Quoting Ray Leventhal <centos@xxxxxxxx>:

> Barry Brimer wrote:
> > I apparently have my alias files all ifcfg-eth0:0 - ifcfg-eth0:7 show
> >
> >> DEVICE=eth0:0.  Is this right?  It seems odd to me and while it does
> >> seem odd, the alias IPs are being appropriately responded to, answering
> >> pings and nameserver requests.
> >>
> >
> > /etc/sysconfig/network-scripts/ifcfg-eth0:0 = DEVICE=eth0:0
> > /etc/sysconfig/network-scripts/ifcfg-eth0:1 = DEVICE=eth0:1
> >
> >

> My question now is, how can the box be responding to all those IPs with
> the ifcfg-eth0:x files clearly not what they should be?

The network init scripts do not actually use /sbin/ifconfig, they really use
/sbin/ip from the iproute package.  I suspect if you run "ip addr list" you
will see all of your IP addresses under "eth0".

Barry
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux