From owner-freebsd-net@FreeBSD.ORG Fri Nov 4 21:05:07 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 5BF8816A420; Fri, 4 Nov 2005 21:05:07 +0000 (GMT) (envelope-from molter@tin.it) Received: from vsmtp4.tin.it (vsmtp4.tin.it [212.216.176.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C2BD43D48; Fri, 4 Nov 2005 21:05:06 +0000 (GMT) (envelope-from molter@tin.it) Received: from tortellino.codalunga (82.122.247.162) by vsmtp4.tin.it (7.2.060.1) (authenticated as molter@tin.it) id 436B341C00067ECA; Fri, 4 Nov 2005 22:05:00 +0100 Received: by tortellino.codalunga (Postfix, from userid 1001) id 240BE80C6; Fri, 4 Nov 2005 21:05:11 +0100 (CET) Date: Fri, 4 Nov 2005 21:05:11 +0100 From: Marco Molteni To: Ruslan Ermilov Message-Id: <20051104210511.569754bc.molter@tin.it> In-Reply-To: <20051103145144.GM63539@ip.net.ua> References: <20051102193617.1013be88.molter@tin.it> <20051103145144.GM63539@ip.net.ua> X-Mailer: Sylpheed version 1.0.5 (GTK+ 1.2.10; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, wpaul@freebsd.org Subject: Re: troubles with ng_fec on -current X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Nov 2005 21:05:07 -0000 On Thu, 3 Nov 2005 16:51:44 +0200 Ruslan Ermilov wrote: > On Wed, Nov 02, 2005 at 07:36:17PM +0100, Marco Molteni wrote: [..] > > If tcpdump is ran in non-promiscuos mode (-p option), only ping > > (and ARP) from box1 goes thru, as if I wasn't running tcpdump at > > all. If on the other hand tcpdump is ran in promiscuos mode, then > > all the pings go thru as expected. [..] > Looks like a bug. The ng_fec code uses the MAC address of the first > real interface as the MAC address for the virtual and all other ports > in the bundle, but it lacks a call to ifp->if_init() to actually > reprogram the hardware MAC filter. Please try this patch: [..] Ruslan, thanks for the patch. I applied it but what I get now is the MAC address zeroed for all the interfaces: ste0: flags=8843 mtu 1500 options=8 ether 00:00:00:00:00:00 media: Ethernet autoselect (100baseTX ) status: active ste1: flags=8843 mtu 1500 options=8 ether 00:00:00:00:00:00 media: Ethernet autoselect (100baseTX ) status: active ste2: flags=8843 mtu 1500 options=8 ether 00:00:00:00:00:00 media: Ethernet autoselect (100baseTX ) status: active ste3: flags=8843 mtu 1500 options=8 ether 00:00:00:00:00:00 media: Ethernet autoselect (100baseTX ) status: active [..] fec0: flags=8843 mtu 1500 inet 1.1.1.4 netmask 0xffffff00 broadcast 1.1.1.255 inet6 fe80::201:3ff:fe15:a957%fec0 prefixlen 64 scopeid 0x8 ether 00:00:00:00:00:00 media: Ethernet none status: active Let me know if you need further testing or infos. marco