From owner-freebsd-net@FreeBSD.ORG Sun Mar 5 20:17:33 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 83E0816A420 for ; Sun, 5 Mar 2006 20:17:33 +0000 (GMT) (envelope-from freebsdnik@j2d.lam.net.au) Received: from mail-ihug.icp-qv1-irony3.iinet.net.au (ihug-mail.icp-qv1-irony3.iinet.net.au [203.59.1.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 011FF43D45 for ; Sun, 5 Mar 2006 20:17:30 +0000 (GMT) (envelope-from freebsdnik@j2d.lam.net.au) Received: from 203-217-76-27.dyn.iinet.net.au (HELO nn.dnsalias.net) ([203.217.76.27]) by mail-ihug.icp-qv1-irony3.iinet.net.au with ESMTP; 06 Mar 2006 04:17:30 +0800 X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAA== X-IronPort-AV: i="4.02,165,1139155200"; d="scan'208"; a="686732052:sNHT14678326" Received: from [192.168.234.241] (pb [192.168.234.241]) by nn.dnsalias.net (Postfix) with ESMTP id 70D71150CE2 for ; Mon, 6 Mar 2006 07:17:28 +1100 (EST) Message-ID: <440B4759.6010106@j2d.lam.net.au> Date: Mon, 06 Mar 2006 07:17:29 +1100 From: Nik Lam User-Agent: Thunderbird 1.5 (Macintosh/20051201) MIME-Version: 1.0 To: freebsd-net@freebsd.org References: <440683E2.8000009@j2d.lam.net.au> In-Reply-To: <440683E2.8000009@j2d.lam.net.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: configuring if_bridge with stp at boot in /etc/rc.conf X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Mar 2006 20:17:33 -0000 I've tried rebuilding a kernel with OPTIONS if_bridge but this problem still happens. To re-iterate, when I try to activate the bridge with STP parameters in rc.conf, one of the bridge interfaces goes into forwarding mode, but the other interfaces remains in disabled mode. Here is what I have in rc.conf: #=============== ifconfig_em1="up" ifconfig_em2="up" cloned_interfaces="bridge0" ifconfig_bridge0="addm em1 stp em1 addm em2 stp em2 hellotime 2 maxage 5 fwddelay 6 priority 10 up" #=============== If I remove these lines and reboot, I can get the STP bridge to work if I just use ifconfig to manually build the bridge. Is this a bug or have I missed some documentation somewhere? Nik