FreeBSD Set Speed Duplex

Posted: August 22, 2011 in Freebsd

How to set speed Duplex on freebsd NIC?

first check NIC speed duplex..

ifconfig em0

ifconfig | grep media


en0: flags=8843 mtu 1500


inet netmask 0xffffffc0 broadcast

ether 00:30:48:93:1e:9a

media: autoselect (100baseTX) status: active


10Mbps full-duplex:

ifconfig <interfacename>  <ip address> media 10baseTX mediaopt full-duplex

100Mbps full-duplex: 

ifconfig <interfacename>  <ip address> media 100baseTX mediaopt full-duplex

 1000Mbps full-duplex:

ifconfig <interfacename>  <ip address> media 1000baseTX mediaopt full-duplex


change on /etc/rc.conf

and restart NIC and routing.

/etc/rc.d/netif restart ; /etc/rc.d/routing restart

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s