DEVICE=bond0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.101.100
NETMASK=255.255.255.0
GETWAY=192.168.101.1
BONDING_OPTS="mode=1 miimon=100 primary=eth0"
[root@station1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE=eth0
MASTER=bond0
SLAVE=yes
ONBOOT=yes
HWADDR=00:0c:29:82:37:58
[root@station1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE=eth1
MASTER=bond0
SLAVE=yes
ONBOOT=yes
HWADDR=00:0c:29:82:37:62
alias eth0 pcnet32
alias eth1 pcnet32
alias eth2 pcnet32
alias eth3 pcnet32
alias bond0 bonding
options bonding max_bonds=1
[root@station1 ~]#
[root@station1 ~]# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.4.0 (October 7, 2008)
Primary Slave: None
Currently Active Slave: eth1
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:0c:29:82:37:62
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:0c:29:82:37:58
[root@station1 ~]#
options bonding max_bonds=2