[CentOS] virtual interfaces

Thu Sep 29 16:24:50 UTC 2005
Dan Pritts <danno at internet2.edu>

I don't know if this has been changed, but be aware that  (at least
as of red hat 7.3) setting ONBOOT=no doesn't work for virtual interfaces,
at least if one of the virtual interfaces on that physical interface
is set to ONBOOT=yes.  

Learned that one the hard way recently.


On Tue, Sep 27, 2005 at 10:24:26PM -0500, Aleksandar Milivojevic wrote:
> Ryan wrote:
> >I would like to add a virtual interface to one of my LAN interfaces. 
> 
> >would adding the below:
> >
> >/etc/sysconfig/network-scripts/ifcfg-eth2:0
> >
> >DEVICE=eth2:0
> >BOOTPROTO=static
> >BROADCAST=192.168.20.255
> >HWADDR=00:60:08:C3:F9:71
> >IPADDR=192.168.20.1
> >NETMASK=255.255.255.0
> >NETWORK=192.168.20.0
> >ONBOOT=yes
> >TYPE=Ethernet
> >
> >
> >Would this create a virtual interface eth0:0 with the IP address
> >192.168.20.1?
> 
> Should work.  You might need to remove HWADDR line.
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos


danno
--
dan pritts - systems administrator - internet2
734/352-4953 office        734/834-7224 mobile