From owner-freebsd-net@FreeBSD.ORG Tue Nov 8 19:46:20 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 618) id 8C09A16A421; Tue, 8 Nov 2005 19:46:20 +0000 (GMT) In-Reply-To: <20051108115815.6990ec9e.molter@tin.it> from Marco Molteni at "Nov 8, 2005 11:58:15 am" To: molter@tin.it (Marco Molteni) Date: Tue, 8 Nov 2005 19:46:20 +0000 (GMT) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20051108194620.8C09A16A421@hub.freebsd.org> From: wpaul@FreeBSD.ORG (Bill Paul) 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: Tue, 08 Nov 2005 19:46:20 -0000 > On Fri, 4 Nov 2005 23:55:39 +0200 > Ruslan Ermilov 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 mtu 1500 > options=8 > ether 00:05:5d:64:a7:de > media: Ethernet autoselect (100baseTX ) > status: active > ste1: flags=8843 mtu 1500 > options=8 > ether 00:05:5d:64:a7:de > media: Ethernet autoselect (100baseTX ) > status: active > ste2: flags=8843 mtu 1500 > options=8 > ether 00:05:5d:64:a7:de > media: Ethernet autoselect (100baseTX ) > status: active > ste3: flags=8843 mtu 1500 > options=8 > ether 00:05:5d:64:a7:de > 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::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 ============================================================================= you're just BEGGING to face the moose =============================================================================