I'm trying to bond 2 pairs on network interfaces on RHEL 5.1 and am
encountering some issues with the bond -- I could really use some advice and
a sanity check.
Sadly, it appears to me that (at least with my configuration), the bonds
don't come up successfully without modifying the init scripts. Essentially,
I'm having to run these commands after the /etc/init.d/network script runs
to successfully bring up my bonds because all my bond slaves have their link
set to "down" and also never get enslaved to their master:
/sbin/ifconfig eth0 up
/sbin/ifconfig eth1 up
/sbin/ifconfig eth2 up
/sbin/ifconfig eth3 up
/sbin/ifenslave bond0 eth0 eth1
/sbin/ifenslave bond1 eth2 eth3
I definitely willing to admit I've configured this wrong, but if so, I can't
see what I've done wrong. Could someone point me in the right direction
here? -- Thanks.
Here are some config items
modprobe.conf (relevent portion):
alias bond0 bonding
alias bond1 bonding
options bonding mode=active-backup miimon=100 use_carrier=0 max_bonds=2
alias eth0 bnx2
alias eth1 bnx2
alias eth2 bnx2
alias eth3 bnx2
And here are my interface configs:
[EMAIL PROTECTED] ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth{0,1,2,3}
# Broadcom Corporation NetXtreme II BCM5708S Gigabit Ethernet
DEVICE=eth0
ONBOOT="yes"
BOOTPROTO="none"
TYPE="Ethernet"
SLAVE="yes"
MASTER="bond0"
USERCTL="no"
# Broadcom Corporation NetXtreme II BCM5708S Gigabit Ethernet
DEVICE=eth1
ONBOOT="yes"
BOOTPROTO="none"
TYPE="Ethernet"
SLAVE="yes"
MASTER="bond0"
USERCTL="no"
# Broadcom Corporation NetXtreme II BCM5708S Gigabit Ethernet
DEVICE=eth2
ONBOOT="yes"
BOOTPROTO="none"
TYPE="Ethernet"
SLAVE="yes"
MASTER="bond1"
USERCTL="no"
USERCTL="yes"
# Broadcom Corporation NetXtreme II BCM5708S Gigabit Ethernet
DEVICE=eth3
ONBOOT="yes"
BOOTPROTO="none"
TYPE="Ethernet"
SLAVE="yes"
MASTER="bond1"
USERCTL="no"
# note bond1 is actually a pair of bonded 802.1q trunks for Xen network
bridges. I have 1 VLAN bond1 interface created as bond1.200
[EMAIL PROTECTED] ~]# cat /etc/sysconfig/network-scripts/ifcfg-bond{0,1,
1.200}
DEVICE=bond0
BOOTPROTO="none"
ONBOOT="yes"
NETWORK=10.38.200.0
NETMASK=255.255.255.0
IPADDR=10.38.200.22
BROADCAST=10.38.200.255
TYPE="Ethernet"
IPV6INIT="no"
USERCTL="no"
DEVICE=bond1
BOOTPROTO="none"
ONBOOT="yes"
USERCTL="no"
DEVICE="bond1.200"
ONBOOT="yes"
BOOTPROTO="none"
VLAN="yes"
USERCTL="yes"
--
Dave Costakos
mailto:[EMAIL PROTECTED]
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list