All of lore.kernel.org
 help / color / mirror / Atom feed
* Why is STP turned off?
@ 2008-04-30 13:50 John Haxby
  2008-05-01 15:33 ` Keir Fraser
  0 siblings, 1 reply; 5+ messages in thread
From: John Haxby @ 2008-04-30 13:50 UTC (permalink / raw)
  To: xen-devel


I've been having trouble with bridges and I noticed that STP is 
explicitly turned off.  This in spite of the brctl man page:

       brctl stp <bridge> <state> controls this bridge  instance’s  
participa-
       tion in the spanning tree protocol. If <state> is "on" or "yes" 
the STP
       will be turned on, otherwise it will be turned off.  When  
turned  off,
       the  bridge  will not send or receive BPDUs, and will thus not 
partici-
       pate in the spanning tree protocol.  If  your  bridge  isn’t  
the  only
       bridge  on the LAN, or if there are loops in the LAN’s topology, 
DO NOT
       turn this option off. If you turn this option off, please know 
what you
       are doing.

So, I guess someone knew what they were doing

Why did you turn STP off?

jch

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Why is STP turned off?
  2008-04-30 13:50 Why is STP turned off? John Haxby
@ 2008-05-01 15:33 ` Keir Fraser
  2008-05-01 20:29   ` Caitlin Bestler
  0 siblings, 1 reply; 5+ messages in thread
From: Keir Fraser @ 2008-05-01 15:33 UTC (permalink / raw)
  To: John Haxby, xen-devel

On 30/4/08 14:50, "John Haxby" <john.haxby@oracle.com> wrote:

> So, I guess someone knew what they were doing
> 
> Why did you turn STP off?

All bridge interfaces but the external interface are guest vif's which are
typically not hiding bridges. This simple topology does not require STP.

 -- Keir

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Why is STP turned off?
  2008-05-01 15:33 ` Keir Fraser
@ 2008-05-01 20:29   ` Caitlin Bestler
  2008-05-01 21:05     ` Keir Fraser
  0 siblings, 1 reply; 5+ messages in thread
From: Caitlin Bestler @ 2008-05-01 20:29 UTC (permalink / raw)
  To: Keir Fraser, John Haxby, xen-devel



> -----Original Message-----
> From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-
> bounces@lists.xensource.com] On Behalf Of Keir Fraser
> Sent: Thursday, May 01, 2008 8:33 AM
> To: John Haxby; xen-devel
> Subject: Re: [Xen-devel] Why is STP turned off?
> 
> On 30/4/08 14:50, "John Haxby" <john.haxby@oracle.com> wrote:
> 
> > So, I guess someone knew what they were doing
> >
> > Why did you turn STP off?
> 
> All bridge interfaces but the external interface are guest vif's which
> are
> typically not hiding bridges. This simple topology does not require
> STP.
> 
>  -- Keir

The guest vifs are indeed very unlikely to be acting as bridges.
And any switch that only has a single uplink and N internal links
(none of which lead to a Bridge) can indeed decide not be an 802.1
Bridge and therefore not run spanning tree.

But if Xen is not running spanning tree and one of the Guest VIFs
*does* run spanning tree the results can be quite messy. An explicit
warning on this might make sense.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Why is STP turned off?
  2008-05-01 20:29   ` Caitlin Bestler
@ 2008-05-01 21:05     ` Keir Fraser
  2008-05-01 21:11       ` Daniel P. Berrange
  0 siblings, 1 reply; 5+ messages in thread
From: Keir Fraser @ 2008-05-01 21:05 UTC (permalink / raw)
  To: Caitlin Bestler, John Haxby, xen-devel

On 1/5/08 21:29, "Caitlin Bestler" <Caitlin.Bestler@neterion.com> wrote:

>> All bridge interfaces but the external interface are guest vif's which
>> are
>> typically not hiding bridges. This simple topology does not require
>> STP.
>> 
>>  -- Keir
> 
> The guest vifs are indeed very unlikely to be acting as bridges.
> And any switch that only has a single uplink and N internal links
> (none of which lead to a Bridge) can indeed decide not be an 802.1
> Bridge and therefore not run spanning tree.
> 
> But if Xen is not running spanning tree and one of the Guest VIFs
> *does* run spanning tree the results can be quite messy. An explicit
> warning on this might make sense.

Actually I can't remember why we originally turned off STP. It may have been
because it took longer for the bridge to 'settle' when new vifs came online.
On the other hand I may simply have turned off STP along with other
parameters (hello/learning latencies) as part of a blanket effort to make
the bridge dumb but efficient. If others have had good experiences with STP
enabled we could consider re-enabling it in the default bridge
configuration.

 -- Keir

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Why is STP turned off?
  2008-05-01 21:05     ` Keir Fraser
@ 2008-05-01 21:11       ` Daniel P. Berrange
  0 siblings, 0 replies; 5+ messages in thread
From: Daniel P. Berrange @ 2008-05-01 21:11 UTC (permalink / raw)
  To: Keir Fraser; +Cc: John Haxby, xen-devel, Caitlin Bestler

On Thu, May 01, 2008 at 10:05:16PM +0100, Keir Fraser wrote:
> On 1/5/08 21:29, "Caitlin Bestler" <Caitlin.Bestler@neterion.com> wrote:
> 
> >> All bridge interfaces but the external interface are guest vif's which
> >> are
> >> typically not hiding bridges. This simple topology does not require
> >> STP.
> >> 
> >>  -- Keir
> > 
> > The guest vifs are indeed very unlikely to be acting as bridges.
> > And any switch that only has a single uplink and N internal links
> > (none of which lead to a Bridge) can indeed decide not be an 802.1
> > Bridge and therefore not run spanning tree.
> > 
> > But if Xen is not running spanning tree and one of the Guest VIFs
> > *does* run spanning tree the results can be quite messy. An explicit
> > warning on this might make sense.
> 
> Actually I can't remember why we originally turned off STP. It may have been
> because it took longer for the bridge to 'settle' when new vifs came online.
> On the other hand I may simply have turned off STP along with other
> parameters (hello/learning latencies) as part of a blanket effort to make
> the bridge dumb but efficient. If others have had good experiences with STP
> enabled we could consider re-enabling it in the default bridge
> configuration.

STP does cause problems with DHCP - particularly during installation we
have found problems with STP taking along time to settle causing the
DHCP requests to time out. So I'd recommend keeping it turned off by 
default.

Dan.
-- 
|: Red Hat, Engineering, Boston   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-05-01 21:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-30 13:50 Why is STP turned off? John Haxby
2008-05-01 15:33 ` Keir Fraser
2008-05-01 20:29   ` Caitlin Bestler
2008-05-01 21:05     ` Keir Fraser
2008-05-01 21:11       ` Daniel P. Berrange

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.