Date: Tue, 8 Nov 2005 19:46:20 +0000 (GMT) From: wpaul@FreeBSD.ORG (Bill Paul) To: molter@tin.it (Marco Molteni) Cc: freebsd-net@freebsd.org, wpaul@freebsd.org Subject: Re: troubles with ng_fec on -current Message-ID: <20051108194620.8C09A16A421@hub.freebsd.org> In-Reply-To: <20051108115815.6990ec9e.molter@tin.it> from Marco Molteni at "Nov 8, 2005 11:58:15 am"
next in thread | previous in thread | raw e-mail | index | archive | help
> On Fri, 4 Nov 2005 23:55:39 +0200 > Ruslan Ermilov <ru@freebsd.org> wrote: > > [..] > > > 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)? > > I tried with the latest ng_fec.c in CVS. > > Now the ste0,ste1,ste2,ste3 and ng_fec interfaces have the same MAC > address (previously they were zeroed): > > ste0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > options=8<VLAN_MTU> > ether 00:05:5d:64:a7:de > media: Ethernet autoselect (100baseTX <full-duplex>) > status: active > ste1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > options=8<VLAN_MTU> > ether 00:05:5d:64:a7:de > media: Ethernet autoselect (100baseTX <full-duplex>) > status: active > ste2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > options=8<VLAN_MTU> > ether 00:05:5d:64:a7:de > media: Ethernet autoselect (100baseTX <full-duplex>) > status: active > ste3: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > options=8<VLAN_MTU> > ether 00:05:5d:64:a7:de > 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::205:5dff:fe64:a7de%fec0 prefixlen 64 scopeid 0x8 > ether 00:05:5d:64:a7:de > media: Ethernet none > status: active > > Ping still doesn't work as follows: > > 4 nodes: box1 (1.1.1.1), box2(1.1.1.2), box3(1.1.1.3), box4(1.1.1.4). > box4 has the ng_fec. > > ping from box1,box2,box3 to box4 goes thru as expected. > > ping from box3 to box4 doesn't get any reply. If I put interface > ste2 on box4 in promiscuos mode, then box3 gets a reply as expected. Grrrr. You say you run tcpdump, yet you won't show us the packets that tcpdump receives!!! Show _US_ the traffic, for crying out loud! Do the packets actually have a destination address 00:05:5d:64:a7:de, or do they have something else? If they _do_ have the right address, have you tried doing 'ifconfig ste2 down; ifconfig ste2 up' to force it to reprogram the RX filter? Have you tried the even simpler experiment of just trying to change the MAC address on a single interface with 'ifconfig steX ether xx:xx:xx:xx:xx:xx' without even using the fast etherchannel driver? If you have not tried this, then try it now: # ifconfig ste2 ether 0:0:e8:1:2:3 # ifconfig ste2 1.1.1.4 netmask 0xffffff00 up # ping 1.1.1.3 -Bill -- ============================================================================= -Bill Paul (510) 749-2329 | Senior Engineer, Master of Unix-Fu wpaul@windriver.com | Wind River Systems ============================================================================= <adamw> you're just BEGGING to face the moose =============================================================================
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051108194620.8C09A16A421>