Active / passive bonding with different IP address ranges

Solution Unverified - Updated -

Issue

Using virtual interfaces on bond interfaces with IP addresses from different CIDR ranges does not work.

Example:
If bond0 has the IP address 192.168.10.10 and the arp_ip_target is set to 192.168.1.1 (a router) the bonding works.
Once we add another IP address on a virtual interface on top of bond0, we run into a problem.

ifconfig bond0:1 169.254.1.10

From now on the bonding driver will use the IP address 169.254.1.10 as the source IP address inside the arp request which will never be answered as the router does not respond to this request.

Environment

  • Red Hat Enterprise Linux 5
  • Bonded interfaces in active passive mode
  • Virtual IP address bound to the bond interface with an IP address from a different subnet
  • Kernel prior to kernel-2.6.18-308.8.1.el5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content