From owner-freebsd-net@FreeBSD.ORG Tue Mar 30 11:19:06 2004 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 7E8E516A4CF; Tue, 30 Mar 2004 11:19:06 -0800 (PST) Received: from bes.amduat.net (bes.amduat.net [206.124.149.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D0B043D49; Tue, 30 Mar 2004 11:19:06 -0800 (PST) (envelope-from jbarrett@amduat.net) Received: from osiris.amduat.net ([63.115.16.66]) (AUTH: LOGIN jbarrett, SSL: TLSv1/SSLv3,128bits,RC4-MD5) by bes.amduat.net with esmtp; Tue, 30 Mar 2004 11:19:05 -0800 From: "Jacob S. Barrett" To: Ruslan Ermilov Date: Tue, 30 Mar 2004 11:19:00 -0800 User-Agent: KMail/1.6.1 References: <200403251118.40718.jbarrett@amduat.net> <200403290936.49345.jbarrett@amduat.net> <20040330103251.GA92824@ip.net.ua> In-Reply-To: <20040330103251.GA92824@ip.net.ua> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200403301119.01357.jbarrett@amduat.net> cc: freebsd-net@freebsd.org Subject: Re: Disabling VLAN_HWTAGGING 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: Tue, 30 Mar 2004 19:19:06 -0000 Now what have I done wrong. I noticed this yesterday and I can't figure out what I have done wrong. VLAN tagged ARP requests coming into if_nge are not visible anymore (tcpdump). Non VLAN tagged ARP requests are visible. Debug statements are showing the frame doesn't make it into the driver. This is the request as it leaves the remote host. 11:04:53.588726 0:90:27:f4:58:1d ff:ff:ff:ff:ff:ff 8100 46: 802.1Q vlan#2 P0 arp who-has 10.2.0.1 tell 10.2.0.2 Strangely though, other broadcasts that are VLAN tagged get delivered to the driver. With your patch they now correctly show up on the ng_vlan interface too. This is the other broadcast as sent by remote host: 0:90:27:f4:58:1d ff:ff:ff:ff:ff:ff 8100 257: 802.1Q vlan#2 P0 10.2.0.2.138 > 10.2.0.255.138: NBT UDP PACKET(138) This is he above broadcast that was received by both if_nge and ng_vlan: 0:90:27:f4:58:1d ff:ff:ff:ff:ff:ff 0800 246: 10.2.0.2.138 > 10.2.0.255.138: NBT UDP PACKET(138) Any idea why the ARP packets would be filtered at the NIC? The same goes for ARP replies. I can ARP request from the if_nge machine, but the replies get dropped. -- Jacob S. Barrett jbarrett@amduat.net www.amduat.net "I don't suffer from insanity, I enjoy every minute of it."