kern/125816: carp stuck in init when using bridge interface

Stephan Eisvogel eisvogel at seitics.de
Mon Jul 21 01:30:01 UTC 2008


>Number:         125816
>Category:       kern
>Synopsis:       carp stuck in init when using bridge interface
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 21 01:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD dev.seitics.de 7.0-STABLE FreeBSD 7.0-STABLE #24 r180564M: Thu Jul 17 01:33:27 CEST 2008 root at dev.seitics.de:/home/build/obj/home/build/src/sys/MYKERNEL i386

>Description:
	I'm trying to carp a bridge but the carp interface won't leave init state. I grepped
	around in src/sys/net and there seems to be no if_link_state_change present in the
	bridging code. I compared this to a recent patch in kern/113956 which could be the
	same symptom. I had two uses in mind: Bridged tap style openvpn (ethernet bridging)
	and use of the two boxes as access-points with hostapd.

>How-To-Repeat:
	Create a carp interface for a bridge. It will be stuck in init state.
	E.g. in rc.conf

	cloned_interfaces="bridge0 carp0"
	ifconfig_vr0="up"
	ifconfig_ath0="up"
	ifconfig_bridge0="addm vr0 addm ath0 10.0.0.250/24"
	ifconfig_carp0="vhid 1 pass mypass 10.0.0.1/24"

>Fix:
	Maybe teach the bridging code to talk about link state changes.
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list