Proper way to configure NIC in full duplex

Gary Jennejohn garyj at jennejohn.org
Fri Apr 4 12:42:48 PST 2003


"William Ashworth" writes:
> Someone told me that I might not be running the interface in full duplex.
> How can I determine this?  How can I fix it if I am not currently running in
> full duplex?
> 

garyj:peedub:mail:bash:34> ifconfig rl0
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 134.98.93.22 netmask 0xffffff00 broadcast 134.98.93.255
        ether 00:00:e8:ea:58:85
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active

Read the manpage. You can use media and mediaopts to force full-duplex
and 100baseTX.

Put something like this into /etc/rc.conf:

ifconfig_rl0="inet aa.bb.cc.dd netmask 0xffffff00 media 100baseTX mediaopt full-duplex"

---
Gary Jennejohn / garyj at jennejohn.org gj at freebsd.org gj at denx.de



More information about the freebsd-questions mailing list