Bonding+vlan and initscripts problem
Philippe Weill <[email protected]> Fri, 20 Jan 2006 13:44:52 +0100
| Newsgroups | gmane.linux.mandrake.server |
|---|---|
| Message-ID | <[email protected]> |
I have somes problems activating bond driver on a mandriva 2006
I know it's not cooker but it's server related
it's seem initscript are buggy for bonding or I missed something
when I reboot my server
network script doesn't enslave eth0 and eth1
if i run just after network script
this one at startup , every thing work perfectly :
[root@localhost ~]# more /etc/rc3.d/S10network-bond-vlan
#
case $1 in
start)
/sbin/ifup bond0
/sbin/ifup eth0
/sbin/ifup eth1
for iface in /etc/sysconfig/network-scripts/ifcfg-bond0.[0-9]*
do
/sbin/ifup $iface
done
;;
[root@localhost ~]# more /etc/sysconfig/network
NETWORKING=yes
FORWARD_IPV4=false
NETWORKING_IPV6=no
VLAN=yes
ifcfg-eth0:
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
USERCTL=no
MII_NOT_SUPPORTED=yes
MASTER=bond0
SLAVE=yes
ifcfg-eth1:
DEVICE=eth1
BOOTPROTO=static
ONBOOT=yes
USERCTL=no
MII_NOT_SUPPORTED=yes
MASTER=bond0
SLAVE=yes
ifcfg-bond0
DEVICE=bond0
BOOTPROTO=none
MII_NOT_SUPPORTED=yes
ONBOOT=yes
USERCTL=NO
ifcfg-bond0.999:
DEVICE=bond0.999
BOOTPROTO=static
ONBOOT=yes
IPADDR=192.168.254.200
NETMASK=255.255.255.0
BROADCAST=192.168.254.255
USERCTL=no
MII_NOT_SUPPORTED=yes
I also tried with an IP address directly on the bond device ( No VLAN )
symptoms are the same eth0 and eth1 are NOT enslaved at boot time
If somedy know about that
--
Weill Philippe - Administrateur Systeme et Reseaux