ng_fec and cisco 2931

Lister lister at
Mon Feb 28 04:17:10 GMT 2005

 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 :

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
        inet6 fe80::200:d1ff:fe1c:c3a1%fec0 prefixlen 64 scopeid 0xd
        inet netmask 0xffffff00 broadcast
        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 
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?

More information about the freebsd-performance mailing list