Bug 249253 - missing nd6 Neighbor Advertisement on carp failover
Summary: missing nd6 Neighbor Advertisement on carp failover
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 12.1-RELEASE
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-net (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-11 13:02 UTC by ctr
Modified: 2020-09-11 19:59 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ctr 2020-09-11 13:02:50 UTC
We're experiencing delay on CARP failovers with IPv6 in multiple setups at the moment. 

Transition from BACKUP to master works fine and Gratuitous ARP is sent for all IPv4 addresses immediately. The unsolicited Neighbor Advertisement for IPv6 seems to be missing (at least we don't see it when capturing traffic with TCP-dump). 

Future Neighbor Solicitations will be answered by the current CARP MASTER correctly but until then traffic is still arriving at the BACKUP (former MASTER). 

Google returned this blogpost: https://www.stoklasa.one/carp-with-ipv6-protocol/
Josef Stoklasa seems to think that this is normal behaviour but looking at carp_master_down_locked function here looks like that there should be an unsolicited Neighbor Advertisement:

https://github.com/freebsd/freebsd/blob/03c216ce761c84dbe6ab7611453931211e923986/sys/netinet/ip_carp.c#L1280