From owner-freebsd-net@FreeBSD.ORG Thu Aug 21 05:26:44 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9662916A4BF for ; Thu, 21 Aug 2003 05:26:44 -0700 (PDT) Received: from relay.macomnet.ru (relay.macomnet.ru [195.128.64.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 246D143FF9 for ; Thu, 21 Aug 2003 05:26:43 -0700 (PDT) (envelope-from maxim@macomnet.ru) Received: from news1.macomnet.ru (72z9ay6d@news1.macomnet.ru [195.128.64.14]) by relay.macomnet.ru (8.11.6/8.11.6) with ESMTP id h7LCQMf13084336; Thu, 21 Aug 2003 16:26:22 +0400 (MSD) Date: Thu, 21 Aug 2003 16:26:21 +0400 (MSD) From: Maxim Konovalov To: "Daniel C. Sobral" In-Reply-To: <3F44B967.8090003@tcoip.com.br> Message-ID: <20030821162516.G29541@news1.macomnet.ru> References: <510776858.1061372094@melange.errno.com> <3F43AFFD.6080504@isi.edu><20030821132232.V48944@news1.macomnet.ru> <3F44B967.8090003@tcoip.com.br> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-net@freebsd.org Subject: Re: CFR: bridge locking X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Aug 2003 12:26:44 -0000 On Thu, 21 Aug 2003, 09:21-0300, Daniel C. Sobral wrote: > Maxim Konovalov wrote: > > [ CC: trimmed ] > > > > On Wed, 20 Aug 2003, 14:52-0300, Daniel C. Sobral wrote: > > > > [...] > > > >>If you get bridge to send/receive packets to/from vlan interfaces > >>attached to them, I'll be forever grateful. > >> > >>I've been trying to configure a setup where a firewall is connected to > >>redundant switches, but no solution I found could handle the vlan > >>attachments. :-( > > > > > > http://people.freebsd.org/~maxim/diff/bridge.diff > > > > Let me know if it helps. > > It didn't. > > The test I'm doing is the following: > > kldload bridge > sysctl net.link.ether.bridge=1 > sysctl net.link.ether.bridge_cfg="fxp1 fxp3" > ifconfig fxp1 up > ifconfig fxp3 up > ifconfig vlan0 create > ifconfig vlan0 vlan 999 vlandev fxp1 > ifconfig vlan0 200.220.254.190/26 sysctl net.link.ether.bridge_cfg="vlan0 fxp3" -- Maxim Konovalov, maxim@macomnet.ru, maxim@FreeBSD.org