Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jul 2008 02:51:45 +0200
From:      Stephan Eisvogel <eisvogel@seitics.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/125816: carp stuck in init when using bridge interface
Message-ID:  <1216601505.439663.11113.nullmailer@dev.office.embinet.de>
Resent-Message-ID: <200807210130.m6L1U1XA048819@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1216601505.439663.11113.nullmailer>