RFC: ported NetBSD if_bridge

Ruslan Ermilov ru at FreeBSD.org
Sat Apr 17 00:32:48 PDT 2004


On Sat, Apr 17, 2004 at 12:24:41AM -0700, Julian Elischer wrote:
[...]
> 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..
> 
Definitely!  That's the best constructor I've ever had since
I was a child.  ;)

> >  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
> 
Filtering can be done with ng_bpf(4).

OK, I guess that's enough Netgraph propaganda.  ;)


Cheers,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040417/79ff0b2a/attachment.bin


More information about the freebsd-current mailing list