Bug 191700 - [carp] [bridge] CARP does not work on interface which belongs to a bridge
Summary: [carp] [bridge] CARP does not work on interface which belongs to a bridge
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.0-RELEASE
Hardware: Any Any
: Normal Affects Some People
Assignee: freebsd-net
Depends on:
Reported: 2014-07-07 14:36 UTC by Vick Khera
Modified: 2016-11-29 22:08 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
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 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?