bonding primary-backup on redhat 4u5 error
Hi everybody,
I try to configure linux bond on redhat 4 update 5 in order to have a primary-backup configuration but i have an error message.
“duplicate address detected!” and there is another thing that i don’t understand, i configured bonding mode “1” primary-backup but when i check the “proc/net/bonding/bond0” I always have “Bonding Mode: load balancing (round-robin)”.
I took a trace with tcpdump and i saw a lot of tcp duplicate ack package is it normal?
Could you help me please?
[root@sun3 HA]# less /etc/modprobe.conf
alias eth2 e1000
alias eth3 e1000
#Bonding HA
alias bond0 bonding
options bonding mode=active-backup miimon=100 primary=eth2
[root@sun3 HA]# less /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
IPADDR=192.168.1.115
NETMASK=255.255.255.0
GATEWAY=192.168.1.98
[root@sun3 HA]# less /etc/sysconfig/network-scripts/ifcfg-eth2
DEVICE=eth2
BOOTPROTO=none
TYPE=Ethernet
ONBOOT=no
SLAVE=yes
MASTER=bond0
[root@sun3 HA]# less /etc/sysconfig/network-scripts/ifcfg-eth3
DEVICE=eth3
BOOTPROTO=none
TYPE=Ethernet
ONBOOT=no
SLAVE=yes
MASTER=bond0
[root@sun3 HA]# less /var/log/messages
Jan 8 09:57:58 sun3 kernel: ip_tables: (C) 2000-2002 Netfilter core team
Jan 8 09:57:58 sun3 network: Bringing up loopback interface: succeeded
Jan 8 09:57:58 sun3 kernel: ADDRCONF(NETDEV_UP): bond0: link is not ready
Jan 8 09:57:58 sun3 kernel: ip_tables: (C) 2000-2002 Netfilter core team
Jan 8 09:58:02 sun3 ifup: Enslaving eth2 to bond0
Jan 8 09:58:02 sun3 kernel: bonding: Warning : no link monitoring support for eth2
Jan 8 09:58:02 sun3 kernel: bonding: bond0: enslaving eth2 as an active interface with an up link.
Jan 8 09:58:02 sun3 kernel: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready
Jan 8 09:58:02 sun3 ifup: Enslaving eth3 to bond0
Jan 8 09:58:02 sun3 kernel: bonding: Warning : no link monitoring support for eth3
Jan 8 09:58:02 sun3 kernel: bonding: bond0: enslaving eth3 as an active interface with an up link.
Jan 8 09:58:02 sun3 network: Bringing up interface bond0: succeeded
Jan 8 09:58:02 sun3 kernel: ip_tables: (C) 2000-2002 Netfilter core team
Jan 8 09:58:02 sun3 kernel: ADDRCONF(NETDEV_UP): eth1: link is not ready
Jan 8 09:58:02 sun3 kernel: bond0: duplicate address detected!
Jan 8 09:58:03 sun3 kernel: bond0: duplicate address detected!
[root@sun3 HA]# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v2.6.3-rh (June 8, 2005)
Bonding Mode: load balancing (round-robin)
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0
Slave Interface: eth2
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:14:4f:e4:e2:14
Slave Interface: eth3
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:14:4f:e4:e2:15
|