From owner-freebsd-hackers@FreeBSD.ORG Wed May 14 11:48:33 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8035D37B401 for ; Wed, 14 May 2003 11:48:33 -0700 (PDT) Received: from maeko.hayai.de (denver038.server4free.de [217.172.178.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0872143FA3 for ; Wed, 14 May 2003 11:48:32 -0700 (PDT) (envelope-from mail@maeko.hayai.de) Received: from maeko.hayai.de (localhost [127.0.0.1]) by maeko.hayai.de (8.12.7/8.12.7) with ESMTP id h4EImkrW007810 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO) for ; Wed, 14 May 2003 20:48:46 +0200 Received: (from mail@localhost) by maeko.hayai.de (8.12.7/8.12.7/Submit) id h4EImj7n007809 for freebsd-hackers@freebsd.org; Wed, 14 May 2003 20:48:45 +0200 Date: Wed, 14 May 2003 20:48:45 +0200 From: Marco Wertejuk To: freebsd-hackers@freebsd.org Message-ID: <20030514184845.GA7573@maeko> Mail-Followup-To: freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: vlan/bridging broken in 4.8-release? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2003 18:48:33 -0000 Hello, I'm trying to get bridging working on vlans, and it seems as if packet destined for the other side of the bridge don't get forwarded from the vlan-if to the phys-if and vice versa. An example: there are two hosts (foo[10.1.2.1/24], bar[10.1.2.2/24]) and the bridge doh. All 4.8-RELEASE. foo is crosslinked to doh's fxp1, bar is on a hp procurve switch in vlan 11. doh uses fxp0 to the switch and has vlans enabled, see ifconfig on doh: fxp0: flags=8943 mtu 1500 ether 00:d0:b7:9a:1a:0e media: Ethernet autoselect (100baseTX ) status: active fxp1: flags=8943 mtu 1500 ether 00:d0:b7:9a:1a:0f media: Ethernet autoselect (100baseTX ) status: active vlan0: flags=8843 mtu 1500 ether 00:d0:b7:9a:1a:0e media: Ethernet autoselect (100baseTX ) status: active vlan: 11 parent interface: fxp0 Bridging is enabled between vlan0 and fxp1. Now, when bar tries to ping foo (traffic goes from vlan0 to fxp1) this happens on doh: (tcpdump -tni fxp0): 802.1Q vlan#11 P0 arp who-has 10.1.2.1 tell 10.1.2.2 802.1Q vlan#11 P0 arp reply 10.1.2.1 is-at 0:d0:b7:b:1e:92 802.1Q vlan#11 P0 10.1.2.2 > 10.1.2.1: icmp: echo request (tcpdump -tni vlan0): arp who-has 10.1.2.1 tell 10.1.2.2 arp reply 10.1.2.1 is-at 0:d0:b7:b:1e:92 The icmp echo request is not passed to the vlan-if because it's not to a broadcast packet and so it is not bridged. Is there a trick to get this working or do you need more debug info? -- Mit freundlichen Gruessen, Marco Wertejuk - mwcis.com Consulting & Internet Solutions