Re: Bonding+vlan and initscripts problem [Solved]

Philippe Weill <[email protected]> Tue, 24 Jan 2006 15:41:32 +0100
Newsgroups gmane.linux.mandrake.server
Message-ID <[email protected]>
Luca Berra wrote :
>  i use these settings
> 
> ==> /etc/sysconfig/network-scripts/ifcfg-bond0 <==
> DEVICE=bond0
> TYPE=Bonding
> BOOTPROTO=none
> IPADDR=192.168.0.1
> NETMASK=255.255.255.0
> ONBOOT=yes
> 
> ==> /etc/sysconfig/network-scripts/ifcfg-eth0 <==
> DEVICE=eth0
> MASTER=bond0
> SLAVE=yes
> ONBOOT=yes
> 
> ==> /etc/sysconfig/network-scripts/ifcfg-eth1 <==
> DEVICE=eth1
> MASTER=bond0
> SLAVE=yes
> ONBOOT=yes
> Regards,
> L.

thanks for you config
it's doesn't work out of box for me
need MII_NOT_DETECTED=yes on bond device( spanning-tree with cisco )
but now it's Working

It's also now working with bond+vlan
for vlan I have for bond device this setup :
DEVICE=bond0
TYPE=Bonding
BOOTPROTO=none
IPADDR=0.0.0.0
NETMASK=0.0.0.0
ONBOOT=yes
MII_NOT_SUPPORTED=yes

IPADDR ,NETMASK ,TYPE and MII  must be present to work

for one vlan i use this [root@localhost ~]# more
/etc/sysconfig/network-scripts/ifcfg-bond0.999
DEVICE=bond0.666
BOOTPROTO=static
ONBOOT=yes
IPADDR=192.168.248.1
NETMASK=255.255.255.0
USERCTL=no
MII_NOT_SUPPORTED=yes

MII_NOT_SUPPORTED must be also present on Vlan interface

Thanks all for your answers
-- 
  Weill Philippe -  Administrateur Systeme et Reseaux
  CNRS Service Aeronomie - Universite Pierre et Marie Curie -
  Tour 45/46 3e Etage B302 - 4 Place Jussieu - 75252 Paris Cedex 05 -  FRANCE
  Email:[email protected] | tel:+33 0144274759 Fax:+33 0144273776