From owner-freebsd-net@FreeBSD.ORG Thu Aug 21 05:22:25 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 5F10E16A4BF for ; Thu, 21 Aug 2003 05:22:25 -0700 (PDT) Received: from mail.tcoip.com.br (erato.tco.net.br [200.220.254.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 867BC43FE3 for ; Thu, 21 Aug 2003 05:22:17 -0700 (PDT) (envelope-from dcs@tcoip.com.br) Received: from tcoip.com.br ([10.0.2.6]) by mail.tcoip.com.br (8.11.6/8.11.6) with ESMTP id h7LCM0j22819; Thu, 21 Aug 2003 09:22:00 -0300 Message-ID: <3F44B967.8090003@tcoip.com.br> Date: Thu, 21 Aug 2003 09:21:59 -0300 From: "Daniel C. Sobral" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030702 X-Accept-Language: en-us, en, pt-br, ja MIME-Version: 1.0 To: Maxim Konovalov References: <510776858.1061372094@melange.errno.com> <3F43AFFD.6080504@isi.edu> <3F43B56E.1070100@tcoip.com.br> <20030821132232.V48944@news1.macomnet.ru> In-Reply-To: <20030821132232.V48944@news1.macomnet.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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:22:25 -0000 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 On the switch side, the port connected to fxp1 is down and the one connected to fxp3 is up. Next, I ping all around. What I see with your patch is: ARP packets received on fxp3 go to fxp1 but not vlan0. ARP packets sent through vlan0 go to fxp1 but not fxp3. This is 4.7-RELEASE. The patch did not apply cleanly, but I went through it and fixed all failed chunks. -- Daniel C. Sobral (8-DCS) Gerencia de Operacoes Divisao de Comunicacao de Dados Coordenacao de Seguranca VIVO Centro Oeste Norte Fones: 55-61-313-7654/Cel: 55-61-9618-0904 E-mail: Daniel.Capo@tco.net.br Daniel.Sobral@tcoip.com.br dcs@tcoip.com.br Outros: dcs@newsguy.com dcs@freebsd.org capo@notorious.bsdconspiracy.net As of next Thursday, UNIX will be flushed in favor of TOPS-10. Please update your programs.