Re: Bridges

From: Doug Ambrisko (ambrisko_at_ambrisko.com)
Date: 10/04/05

  • Next message: Vladimir Grebenschikov: "Re: Bridges"
    To: PeterJeremy@optushome.com.au
    Date: Tue, 4 Oct 2005 12:09:45 -0700 (PDT)
    
    

    On Sun, Sep 25, 2005 at 05:22:38AM +1000, Peter Jeremy wrote:
    > On Sat, 2005-Sep-24 15:25:06 +0200, Max Laier wrote:
    > >for some time now, we have three bridge implementations in the tree:
    > > - net/bridge.c - the "old" bridge
    > > - net/if_bridge.c - the "new" bridge from Net/OpenBSD
    > > - netgraph/ng_bridge.c - the netgraph version [1]
    > >
    > >The new code has several advantages over the old version:
    > > - Spanning Tree Protocol (802.1D)
    > > - better firewall support (IPv6, stateful filtering, ...)
    > > - easy ifconfig(8) configuration
    >
    > Since I've recently needed it, neither bridge.c nor if_bridge.c allow
    > you to bridge VLAN trunks (you can bridge individual VLANs but that
    > becomes unwieldly when you have dozens of VLANs). I have code to do
    > this in bridge.c.

    I think I ran into the related problem. The vlan device calls
    IFQ_HANDOFF directly versus the "normal" output bits so you can't
    use netgraph etc. I broke up ether_output so that I could
    call the stuff that ether_output does so it would go through
    netgraph hooks if configured.

    Doug A.
    _______________________________________________
    freebsd-arch@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-arch
    To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"


  • Next message: Vladimir Grebenschikov: "Re: Bridges"