Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 May 2009 00:28:18 +0400
From:      pluknet <pluknet@gmail.com>
To:        Jedrzej Kalinowski <kalinoj1@iem.pw.edu.pl>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Bridging and stp question
Message-ID:  <a31046fc0905281328hfc5c3e4gf9378ab22e62ad94@mail.gmail.com>
In-Reply-To: <4A1EE0F5.1070909@iem.pw.edu.pl>
References:  <4A1EE0F5.1070909@iem.pw.edu.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
2009/5/28 Jedrzej Kalinowski <kalinoj1@iem.pw.edu.pl>:
> Hello,
>
> I'm using a bridge to connect tap devices used by qemu emulator to an
> outside world.
>
> I run into a bit of problem however, because if I feed qemu virtual
> machine with two tap interfaces - I need to turn on stp on them when
> adding to a bridge to prevent a loop .
>
> This is probably due to improper qemu behaviour as I suppose, because I
> does not happen when I run two qemu machines with each of them getting
> one tap device.
>
> As we know from 'man ifconfig' the default behaviour for the interface
> added to a bridge is to add it with stp protocol disabled and I have to
> specify stp explicitly.
>
> My question is:
>
> Is there any way to configure the bridge to add stp protocol to any
> added (via ifconfig bridgeX addm ifX) member interface - so to change
> the default behaviour? Or specifying it explicitly is unavoidable?
>

Let me clarify some. Did I understand you correctly
that `ifconfig bridge0 addm ifX stp ifX` doesn't fit you needs?

-- 
wbr,
pluknet



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