[ILUG] Channel Bonding question
conor at discuskeeping.com
conor at discuskeeping.com
Tue Dec 13 18:01:33 GMT 2005
Hi all,
I've setup bonding as follows:
[root at superbox root]# cat /etc/modules.conf
alias eth0 e1000
alias eth1 e1000
alias bond0 bonding
options bonding miimon=100 mode=1
[root at superbox root]# cat /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
ONBOOT=yes
BOOTPROTO=none
IPADDR=192.168.0.31
NETMASK=255.255.0.0
GATEWAY=192.168.1.254
TYPE=Ethernet
USERCTL=no
PEERDNS=no
[root at superbox root]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Intel Corp.|82557/8/9 [Ethernet Pro 100]
DEVICE=eth0
BOOTPROTO=none
#BROADCAST=10.255.255.255
#HWADDR=00:B0:D0:78:0D:80
#IPADDR=10.2.4.31
#NETMASK=255.0.0.0
#NETWORK=10.0.0.0
ONBOOT=yes
TYPE=Ethernet
MASTER=bond0
SLAVE=yes
[root at superbox root]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
# Intel Corp.|82557/8/9 [Ethernet Pro 100]
DEVICE=eth1
BOOTPROTO=none
#HWADDR=00:D0:B7:91:51:95
ONBOOT=yes
TYPE=Ethernet
MASTER=bond0
SLAVE=yes
OK, works grand.
Questions:
1. This is a failover solution right, so when one goes down (scanning for dirty
minds) the other should replace it transparently. Correct?
2. When failover occurs to eth1, and then the link comes back to eth0, what
happens to the "ownership"? Does it fail back to eth0?
Thanks guys, no access to the lab to physically check this today, or tomorrow
most likely.
Regards
Conor.
More information about the ILUG
mailing list