From owner-freebsd-net@FreeBSD.ORG Mon Feb 28 04:17:10 2005 Return-Path: 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 C839F16A505; Mon, 28 Feb 2005 04:17:10 +0000 (GMT) Received: from mail.utcorp.net (mail.utcorp.net [146.145.135.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 185AC43D41; Mon, 28 Feb 2005 04:17:10 +0000 (GMT) (envelope-from lister@primetime.com) Received: from [10.200.1.90] (helo=[10.200.1.90]) by mail.utcorp.net with esmtp (Exim 4.30; FreeBSD) id 1D5cha-000CI9-LG; Sun, 27 Feb 2005 23:40:14 -0500 Message-ID: <4222C64D.4050007@primetime.com> Date: Sun, 27 Feb 2005 23:20:45 -0800 From: Lister User-Agent: Mozilla Thunderbird 1.0 (X11/20050116) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-net@freebsd.org, freebsd-performance@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-yoursite-MailScanner-Information: Please contact the ISP for more information X-yoursite-MailScanner: Found to be clean Subject: ng_fec and cisco 2931 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2005 04:17:10 -0000 I have setup ng_fec on a machine with a quad ethernet NIC : de0: port 0xd000-0xd07f mem 0xe3000000-0xe300007f irq 9 at device 4.0 on pci2 de0: Cogent EM440TX 21140A [10-100Mb/s] pass 2.2 de0: address 00:00:d1:1c:c3:a1 de1: port 0xd400-0xd47f mem 0xe3001000-0xe300107f irq 5 at device 5.0 on pci2 de1: Cogent EM440TX 21140A [10-100Mb/s] pass 2.2 de1: address 00:00:d1:1c:c3:a2 de2: port 0xd800-0xd87f mem 0xe3002000-0xe300207f irq 10 at device 6.0 on pci2 de2: Cogent EM440TX 21140A [10-100Mb/s] pass 2.2 de2: address 00:00:d1:1c:c3:a3 de3: port 0xdc00-0xdc7f mem 0xe3003000-0xe300307f irq 11 at device 7.0 on pci2 de3: Cogent EM440TX 21140A [10-100Mb/s] pass 2.2 de3: address 00:00:d1:1c:c3:a4 Commands are : #!/bin/sh ngctl mkpeer fec dummy fec ngctl msg fec0: add_iface "de0" ngctl msg fec0: add_iface "de1" ngctl msg fec0: add_iface "de2" ngctl msg fec0: add_iface "de3" ngctl msg fec0: set_mode_inet ifconfig de0 promisc ifconfig de1 promisc ifconfig de2 promisc ifconfig de3 promisc ifconfig fec0 promisc So, I dhclient fec0 and I have : > ifconfig fec0 fec0: flags=28943 mtu 1500 inet6 fe80::200:d1ff:fe1c:c3a1%fec0 prefixlen 64 scopeid 0xd inet 10.200.1.205 netmask 0xffffff00 broadcast 10.200.1.255 ether 00:00:d1:1c:c3:a1 media: Ethernet none status: active I have all 4 ports connected to the catalyst. From what I have read on fast etherchannel in the cisco docs, it is supposed to detect the etherchannel, e.g. no commands at the switch. Lights blink on and off, change color (orange -> green) and it seems to work ... but only on one interface in the bundle. No faster than 80Mb. I have a 1000Mb intel card in the 2nd test machine that does run much faster than 100. So, is there something I have done wrong, or what? What should I expect to get from 4 x 100 Mb ports?