LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (http://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   [2.6.34]ARP replies from inactive slave in active-backup bond. (http://www.linuxquestions.org/questions/linux-kernel-70/%5B2-6-34%5Darp-replies-from-inactive-slave-in-active-backup-bond-814910/)

StamPit 06-18-2010 07:50 AM

[2.6.34]ARP replies from inactive slave in active-backup bond.
 
Hello!

Yesterday i updated linux kernel to the version 2.6.34, and bonding driver started to send out arp replies from both interfaces.
With 2.6.32 arp-replies were being sent from active slave only.
Code:

nas1 ~ # tcpdump -i eth1 ether src 00:15:17:99:46:b8
tcpdump: WARNING: eth1: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 68 bytes
16:44:07.580410 arp reply ip.add.re.ss is-at 00:15:17:99:46:b8 (oui Unknown)
16:44:07.625653 arp reply ip.add.re.ss is-at 00:15:17:99:46:b8 (oui Unknown)

nas1 ~ # tcpdump -i eth0 ether src 00:15:17:99:46:b8
tcpdump: WARNING: eth0: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 68 bytes
16:46:36.606762 arp reply ip.add.re.ss is-at 00:15:17:99:46:b8 (oui Unknown)

Anyone experienced this?

Gentoo Linux, Xen kernel 2.6.34
Bonding mode - active-backup
Link monitoring method - ARP (MII-mode is not applicable, because if one switch in stack fails, full recover takes about 80 sec)

Code:

nas1 ~ # cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.6.0 (September 26, 2009)

Bonding Mode: fault-tolerance (active-backup)
Primary Slave: None
Currently Active Slave: eth0
MII Status: up
MII Polling Interval (ms): 0
Up Delay (ms): 0
Down Delay (ms): 0
ARP Polling Interval (ms): 1000
ARP IP target/s (n.n.n.n form): xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx

Slave Interface: eth0
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:15:17:99:46:b8

Slave Interface: eth1
MII Status: up
Link Failure Count: 1
Permanent HW addr: 00:15:17:99:46:b9

Thanks for advice.
Dmitriy.

Sorry, my english not so good as i want :-)

rovocz 09-21-2010 04:41 AM

I have same problem with bonding.
If i use kernel 2.6.33.7 ... all is ok - NO double packets from udp.
If i use kernel 2.6.34 or higher, i have problem with double packets from udp.
I need help too. Thankx


All times are GMT -5. The time now is 04:02 AM.