Date: Fri, 4 Nov 2005 23:55:39 +0200 From: Ruslan Ermilov <ru@freebsd.org> To: Marco Molteni <molter@tin.it> Cc: freebsd-net@freebsd.org, wpaul@freebsd.org Subject: Re: troubles with ng_fec on -current Message-ID: <20051104215539.GI63539@ip.net.ua> In-Reply-To: <20051104210511.569754bc.molter@tin.it> References: <20051102193617.1013be88.molter@tin.it> <20051103145144.GM63539@ip.net.ua> <20051104210511.569754bc.molter@tin.it>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Fri, Nov 04, 2005 at 09:05:11PM +0100, Marco Molteni wrote: > 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. > I know. Please try what's in CVS now (I made three revisions to ng_fec.c). I wonder, are you assigning an IP address to fec0 or doing "ifconfig fec0 up" before confuguring the bundle (adding ports)? Cheers, -- Ruslan Ermilov ru@FreeBSD.org FreeBSD committer [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDa9jbqRfpzJluFF4RAmxjAJ99o6cfI6xAvmPf0ZDJyD/tBjxDUgCffxTE Y5vXfE/Xn1uKsnp+NCsb36o= =RK+d -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051104215539.GI63539>
