Date: Fri, 4 Nov 2005 21:05:11 +0100 From: Marco Molteni <molter@tin.it> To: Ruslan Ermilov <ru@freebsd.org> Cc: freebsd-net@freebsd.org, wpaul@freebsd.org Subject: Re: troubles with ng_fec on -current 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 3 Nov 2005 16:51:44 +0200 Ruslan Ermilov <ru@freebsd.org> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=8<VLAN_MTU> ether 00:00:00:00:00:00 media: Ethernet autoselect (100baseTX <full-duplex>) status: active ste1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=8<VLAN_MTU> ether 00:00:00:00:00:00 media: Ethernet autoselect (100baseTX <full-duplex>) status: active ste2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=8<VLAN_MTU> ether 00:00:00:00:00:00 media: Ethernet autoselect (100baseTX <full-duplex>) status: active ste3: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=8<VLAN_MTU> ether 00:00:00:00:00:00 media: Ethernet autoselect (100baseTX <full-duplex>) status: active [..] fec0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051104210511.569754bc.molter>