Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Apr 2004 00:24:41 -0700 (PDT)
From:      Julian Elischer <julian@elischer.org>
To:        Andrew Thompson <andy@fud.org.nz>
Cc:        current@freebsd.org
Subject:   Re: RFC: ported NetBSD if_bridge
Message-ID:  <Pine.BSF.4.21.0404170017460.66312-100000@InterJet.elischer.org>
In-Reply-To: <20040417060307.GC67219@kate.fud.org.nz>

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


On Sat, 17 Apr 2004, Andrew Thompson wrote:

> On Sat, Apr 17, 2004 at 08:55:49AM +0300, Ruslan Ermilov wrote:
> > On Sat, Apr 17, 2004 at 03:57:58PM +1200, Andrew Thompson wrote:
> > > Hi,
> > > 
> > > 
> > > I have ported over the bridging code from NetBSD and am looking for feedback.
> > > My main question is, 'do people want this in the tree?'
> > > 
> > > 
> > > The benefits over the current bridge are:
> > >  * ability to manage the bridge table
> > >  * spanning tree support
> > >  * the snazzy brconfig utility
> > >  * clonable pseudo-interface (is that a benefit?)
> > > 
> > What advantages does it offer compared to the ng_bridge(4) functionality?
> > 
> 
> I didnt know about that one,

people looking to make or port "neat" network features would do well to
first learn about all the existing features, including netgraph
which has so many hidden features that you can just about 
re-impliment several standard network features using it..


>  I guess the main advantage is that all three
> *BSDs would have the same code and interface. While I imported it from NetBSD,
> it originated in OpenBSD. Thats assuming anyone cares about that sort of
> thing.
> 

ng_bridge allows you to bridge to things other than interfaces..
 e.g. You can bridge 2 ethernet interfaces and a UDP tunnel
and have the other end of the tunnel bridged back to ethernet.

e.g.

en1----+                                         +---- en2
      [ng_bridge]--[UDP]-------[UDP]----[ng_bridge]
en3----+                                         +---- en4


> 
> Andrew
> 
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
> 



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