configuring if_bridge with stp at boot in /etc/rc.conf

Andrew Thompson thompsa at freebsd.org
Sun Mar 5 12:40:56 PST 2006


On Mon, Mar 06, 2006 at 07:17:29AM +1100, Nik Lam wrote:
> 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"
> #===============
> 

Can you post the full output from ifconfig and tell us what version of
the OS you are running.


thanks,
Andrew


More information about the freebsd-net mailing list