Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Feb 2005 23:20:45 -0800
From:      Lister <lister@primetime.com>
To:        freebsd-net@freebsd.org, freebsd-performance@freebsd.org
Subject:   ng_fec and cisco 2931
Message-ID:  <4222C64D.4050007@primetime.com>

next in thread | raw e-mail | index | archive | help

 I have setup ng_fec on a machine with a quad ethernet NIC :

de0: <Digital 21140A Fast Ethernet> 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: <Digital 21140A Fast Ethernet> 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: <Digital 21140A Fast Ethernet> 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: <Digital 21140A Fast Ethernet> 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<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> 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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4222C64D.4050007>