When using bonding with arp monitor enabled, why the arp cache on the system is not updated by the gratuitous ARP which are received ?

Solution Verified - Updated -

Issue

  • On bonding of mode 1 with arp_monitor (arp_interval = 1000 and this is the same value as locktime), arp cache is not updated by gratuitous ARP in following case.
1. Node A sends arp to a router XX.YY.ZZ.WW
2. Get ARP reply
3. The router gets down and the standby router is up
4. Gratuitous ARP is sent from the standby router now it has XX.YY.ZZ.WW but has different MAC address.
5. Node A receives the gratuitous ARP and corresponding arp cache entry becomes "stale" and locktime is started.
6. Within one second, another gratuitous ARP is sent by the standby router and it is received by Node A.
7. The arp cache entry is not updated because the entry is within the locktime.
  • At the time of router or destination device failover , not able to reach out to default gateway.
  • One has to restart network and reload bonding to have the interface working again.
  • There is no specific message / trace in logs which can indicate any problem at bonding level.

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • bonding

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