From owner-freebsd-arch@FreeBSD.ORG Sun Sep 25 00:22:15 2005 Return-Path: X-Original-To: freebsd-arch@freebsd.org Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D0CB16A41F for ; Sun, 25 Sep 2005 00:22:15 +0000 (GMT) (envelope-from thompsa@freebsd.org) Received: from heff.fud.org.nz (60-234-149-201.bitstream.orcon.net.nz [60.234.149.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A33F43D49 for ; Sun, 25 Sep 2005 00:22:14 +0000 (GMT) (envelope-from thompsa@freebsd.org) Received: by heff.fud.org.nz (Postfix, from userid 1001) id BFDA81CCD4; Sun, 25 Sep 2005 12:22:12 +1200 (NZST) Date: Sun, 25 Sep 2005 12:22:12 +1200 From: Andrew Thompson To: Peter Jeremy Message-ID: <20050925002212.GA77857@heff.fud.org.nz> References: <200509241525.16173.max@love2party.net> <20050924192237.GP40237@cirb503493.alcatel.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050924192237.GP40237@cirb503493.alcatel.com.au> User-Agent: Mutt/1.4.2.1i Cc: freebsd-arch@freebsd.org Subject: Re: Bridges X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Sep 2005 00:22:15 -0000 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'd like to see what you have done here, can I look at the patch. > > >Please test the new alternative if you are using the old one still. > > Has anyone looked at how difficult it would be to get if_bridge.c to > work in 5.x? http://people.freebsd.org/~thompsa/if_bridge-5stable.20050907.diff Ive posted it for testing before but didnt get a response, care to try it out? Andrew