From owner-freebsd-arch@FreeBSD.ORG Sat Sep 24 19:22:42 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 197CB16A41F for ; Sat, 24 Sep 2005 19:22:42 +0000 (GMT) (envelope-from PeterJeremy@optushome.com.au) Received: from mail17.syd.optusnet.com.au (mail17.syd.optusnet.com.au [211.29.132.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74E6243D49 for ; Sat, 24 Sep 2005 19:22:41 +0000 (GMT) (envelope-from PeterJeremy@optushome.com.au) Received: from cirb503493.alcatel.com.au (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail17.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id j8OJMcqq021479 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sun, 25 Sep 2005 05:22:39 +1000 Received: from cirb503493.alcatel.com.au (localhost.alcatel.com.au [127.0.0.1]) by cirb503493.alcatel.com.au (8.12.10/8.12.10) with ESMTP id j8OJMcSR066111; Sun, 25 Sep 2005 05:22:38 +1000 (EST) (envelope-from pjeremy@cirb503493.alcatel.com.au) Received: (from pjeremy@localhost) by cirb503493.alcatel.com.au (8.12.10/8.12.9/Submit) id j8OJMcAQ066110; Sun, 25 Sep 2005 05:22:38 +1000 (EST) (envelope-from pjeremy) Date: Sun, 25 Sep 2005 05:22:38 +1000 From: Peter Jeremy To: Max Laier Message-ID: <20050924192237.GP40237@cirb503493.alcatel.com.au> References: <200509241525.16173.max@love2party.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200509241525.16173.max@love2party.net> 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: Sat, 24 Sep 2005 19:22:42 -0000 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. >and would have to do it twice, for example) I would like to retire the old >bridge code soon. This should happen in HEAD only and thus the old bridge >will stay for all of FreeBSD 6 unless more aggressive depreciation is >requested. Since if_bridge.c does not exist in FreeBSD 5, and there has not previously been any suggestion that bridge.c is deprecated, I would object to the removal of bridge.c from FreeBSD 6 since this would violate the standard deprecation cycle. >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? -- Peter Jeremy