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 mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-07 14:36 UTC by Vick Khera
Modified: 2018-03-27 16:57 UTC (History)
2 users (show)

See Also:


Attachments

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.

Environment:
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

How-To-Repeat:
ifconfig em0 alias vhid 205 advskew 100 pass dnsprv 192.168.97.97/23

 -> 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 192.168.97.97 just
fine.

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 192.168.97.97 on this machine at all.

Fix:
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?
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.