Skip to contentSkip to conversation

New: ARP monitoring with bonding module uses interface alias for ARP request

Bug 99191 Stephen Hemminger 1 participant 1 message Jun 11, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Begin forwarded message:

Date: Fri, 29 May 2015 17:59:33 +0000
From: "[email protected]" <[email protected]>
To: "[email protected]" <[email protected]>
Subject: [Bug 99191] New: ARP monitoring with bonding module uses interface alias for ARP request

https://bugzilla.kernel.org/show_bug.cgi?id=99191

Bug ID: 99191
Summary: ARP monitoring with bonding module uses interface
alias for ARP request
Product: Networking
Version: 2.5
Kernel Version: All
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Other
Assignee: [email protected]
Reporter: [email protected]
Regression: No

When using arp_ip_target combined with arp_validate to verify the connectivity status of a bond, the wrong IP address is used as the source of the request if multiple IP aliases are assigned to the bond0.

Example 1.

bond0 - 10.0.0.5/24 (WAN)
bond0:1 - 10.0.1.5/24 (LAN)
arp_validate - all
arp_ip_target - 10.0.0.1

Expected result: ARP, Request who-has 10.0.0.1 tell 10.0.0.5

Actual result: ARP, Request who-has 10.0.0.1 tell 10.0.1.5

Issue: The Layer 3 switch responsible for replying to the ARP request
does not have the local interface of 10.0.1.5 configured, so the ARP request goes unanswered.

-

My expectation is that the bonding driver would use the primary IP on the bond0 interface, not a secondary IP. The solution being to be able to specify which IP the ARP should originate from in a scenario where bondX has multiple IPs assigned.

Mangling the packet in/out using arptables does not achieve the desired effect.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.