From owner-freebsd-net@FreeBSD.ORG Tue Nov 8 11:58:08 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 EC65516A421; Tue, 8 Nov 2005 11:58:08 +0000 (GMT) (envelope-from molter@tin.it) Received: from vsmtp1.tin.it (vsmtp1.tin.it [212.216.176.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53BC943D4C; Tue, 8 Nov 2005 11:58:08 +0000 (GMT) (envelope-from molter@tin.it) Received: from tortellino.codalunga (82.122.234.135) by vsmtp1.tin.it (7.2.060.1) (authenticated as molter@tin.it) id 436F96850007BFBA; Tue, 8 Nov 2005 12:57:56 +0100 Received: by tortellino.codalunga (Postfix, from userid 1001) id 3FF0C81FA; Tue, 8 Nov 2005 11:58:15 +0100 (CET) Date: Tue, 8 Nov 2005 11:58:15 +0100 From: Marco Molteni To: Ruslan Ermilov Message-Id: <20051108115815.6990ec9e.molter@tin.it> In-Reply-To: <20051104215539.GI63539@ip.net.ua> References: <20051102193617.1013be88.molter@tin.it> <20051103145144.GM63539@ip.net.ua> <20051104210511.569754bc.molter@tin.it> <20051104215539.GI63539@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: Tue, 08 Nov 2005 11:58:09 -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. Same on the other way: ping from 1.1.1.4 to 1.1.1.3 is replied at 1.1.1.3 but isn't picked up by ste2 at 1.1.1.4. If ste2 is put in promisc mode then the reply is picked up by ste2. The script I use to config ng_fec is: ngctl mkpeer fec dummy fec ngctl msg fec0: add_iface '"ste0"' ngctl msg fec0: add_iface '"ste1"' ngctl msg fec0: add_iface '"ste2"' ngctl msg fec0: add_iface '"ste3"' ngctl msg fec0: set_mode_mac ifconfig fec0 inet 1.1.1.4/24 I also tried fiddling with ifconfig ng_fec down/up but nothing changes. marco