Bug 191700

Summary: [carp] [bridge] CARP does not work on interface which belongs to a bridge
Product: Base System Reporter: Vick Khera <vivek>
Component: kernAssignee: freebsd-net (Nobody) <net>
Status: New ---    
Severity: Affects Some People CC: girgen, hf
Priority: Normal    
Version: 10.0-RELEASE   
Hardware: Any   
OS: Any   

Description Vick Khera 2014-07-07 14:36:57 UTC
If an interface participating in a CARP cluster becomes a member of a bridge,
it loses the ability to communicate on the CARP IP when it becomes the master.

System: FreeBSD lorax.kcilink.com 10.0-RELEASE-p6 FreeBSD 10.0-RELEASE-p6 #2 r267868: Wed Jun 25 09:49:14 EDT 2014 vivek@lorax.kcilink.com:/u/lorax1/usr10/obj/u/lorax1/usr10/src/sys/KCI64 amd64

ifconfig em0 alias vhid 205 advskew 100 pass dnsprv

 -> on other host, bring down CARP or set the advskew to 200 to allow this
 host to become master.

at the point, you are able to ping and access services on just

Restore the other member as the CARP master by adjusting advskew on the other
host back to below 100.

Now, do this:

ifconfig tap0 create
ifconfig bridge0 create
ifconfig bridge0 addm tap0 addm em0 up

And again, bring this host to be the master by adjusting advskew on the other
host > 100.  The CARP member of em0 will show it is MASTER, but you cannot
ping or access on this machine at all.

none known. workaround is to avoid using a bridge, but I need that for a bhyve
guest OS.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2014-07-08 02:08:49 UTC
Over to maintainers.
Comment 2 Palle Girgensohn freebsd_committer 2016-11-29 22:08:37 UTC
Is this still a problem? Is it related to 200319?
Comment 3 Hauke Fath 2018-03-27 16:57:37 UTC
(In reply to Palle Girgensohn from comment #2)

I see the same problem on 11.1, so - yes.