From owner-freebsd-net@FreeBSD.ORG Wed Nov 2 19:36:18 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 9BEC916A41F for ; Wed, 2 Nov 2005 19:36:18 +0000 (GMT) (envelope-from molter@tin.it) Received: from vsmtp12.tin.it (vsmtp12.tin.it [212.216.176.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2DF7543D5A for ; Wed, 2 Nov 2005 19:36:16 +0000 (GMT) (envelope-from molter@tin.it) Received: from tortellino.codalunga (82.122.230.96) by vsmtp12.tin.it (7.2.060.1) (authenticated as molter@tin.it) id 4368F9BF0001A1F5 for freebsd-net@freebsd.org; Wed, 2 Nov 2005 20:36:11 +0100 Received: by tortellino.codalunga (Postfix, from userid 1001) id 2C63881A0; Wed, 2 Nov 2005 19:36:17 +0100 (CET) Date: Wed, 2 Nov 2005 19:36:17 +0100 From: Marco Molteni To: freebsd-net@freebsd.org Message-Id: <20051102193617.1013be88.molter@tin.it> 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 Subject: 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: Wed, 02 Nov 2005 19:36:18 -0000 Hi, I have the following setup: box1 box2 box3 box4 xl0 xl0 xl0 ste0/ste1/ste2/ste3 -> fec0 1.1.1.1 1.1.1.2 1.1.1.3 1.1.1.4 | | | | | | | | | | | | | | ======================================== cisco catalyst switch Hosts box1,2,3,4 are running stock fbsd -current. box4 has a 4-port ethernet card (forgot brand, think d-link) recognized by the ste driver, without IP addresses. I then configure bonding on the ste0..3 interfaces with ng_fec, which gives me a fec0 interface. I then configure fec0 with set_mode_mac and with IP address 1.1.1.4. The switch is configured to perform etherchannel on the 4 ports connected to the ste0..4 interfaces. Load "balancing" is done on a per source MAC address. Problem is when I ping box4 from the other boxes. I get a reply only for ping from box1. I then ran tcpdump on the 4 ste interfaces. Things become to get interesting. 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. Am I doing something wrong in configuring the fec0 interface or is this a known problem? I think I don't need to add any IP address on the ste interfaces themselves. thanks marco -- He who receives an idea from me, receives instruction himself without lessening mine; as he who lights his taper at mine, receives light without darkening me. -- Thomas Jefferson