NFE setting manually to 1000baseT and half duplex

Gelsema, P (Patrick) - FreeBSD freebsd at superhero.nl
Sat Jun 7 20:47:32 UTC 2008


Hi List,

I am using the nfe driver on Freebsd 7.0R and I am unable to change the
NIC driver manually to 1000baseT with half-duplex. I believe I am not
getting the max out of my network connection and want to see if changing
the duplex will help.

hulk# ifconfig nfe0 10.202.77.110 media 100baseTX
hulk# ifconfig nfe0
nfe0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8<VLAN_MTU>
        ether 00:18:f3:9f:f1:b4
        inet6 fe80::218:f3ff:fe9f:f1b4%nfe0 prefixlen 64 scopeid 0x2
        inet 10.202.77.113 netmask 0xffffff00 broadcast 10.202.77.255
        inet 10.202.77.114 netmask 0xffffff00 broadcast 10.202.77.255
        inet 10.202.77.76 netmask 0xffffff00 broadcast 10.202.77.255
        inet 192.168.0.10 netmask 0xffffff00 broadcast 192.168.0.255
        inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255
        inet 10.202.77.110 netmask 0xff000000 broadcast 10.255.255.255
        media: Ethernet 100baseTX (1000baseTX <full-duplex>)
        status: active

Why between () the 1000baseTX? Is that the actual speed? The maximum speed?

hulk# ifconfig nfe0 10.202.77.110 media 1000baseT
ifconfig: SIOCSIFMEDIA (media): Device not configured

man nfe says this is possible.

hulk# ifconfig nfe0 10.202.77.110 media autoselect
hulk# ifconfig nfe0
nfe0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8<VLAN_MTU>
        ether 00:18:f3:9f:f1:b4
        inet6 fe80::218:f3ff:fe9f:f1b4%nfe0 prefixlen 64 scopeid 0x2
        inet 10.202.77.114 netmask 0xffffff00 broadcast 10.202.77.255
        inet 10.202.77.76 netmask 0xffffff00 broadcast 10.202.77.255
        inet 192.168.0.10 netmask 0xffffff00 broadcast 192.168.0.255
        inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255
        inet 10.202.77.110 netmask 0xff000000 broadcast 10.255.255.255
        media: Ethernet autoselect (1000baseTX <full-duplex>)
        status: active

hulk# ifconfig nfe0 mediaopt half-duplex
No errors but cant see if it works.

Question is, why cant I just do the following;
hulk# ifconfig nfe0 media 1000baseT mediaopt half-duplex

pciconf -lv
nfe0 at pci0:0:7:0:        class=0x068000 card=0x82341043 chip=0x03ef10de
rev=0xa2 hdr=0x00
    vendor     = 'Nvidia Corp'
    device     = 'MCP61 Ethernet'
    class      = bridge

hulk# uname -a
FreeBSD hulk.superhero.nl 7.0-RELEASE FreeBSD 7.0-RELEASE #1: Sun Feb 24
14:37:26 CET 2008     admin at hulk.superhero.nl:/usr/obj/usr/src/sys/GENERIC
 amd64
hulk#

Thanks and regards,

Patrick


More information about the freebsd-questions mailing list