Answer the question
In order to leave comments, you need to log in
Weird network interface configuration in FreeBSD 9.0?
Good afternoon!
# uname -sr
FreeBSD 9.0-RELEASE-p4
# ifconfig em0 inet 92.xx.xx.xx netmask 255.255.255.248 mtu 5000 -wol && /etc/netstart
# ifconfig em0 |grep media
media: Ethernet autoselect (100baseTX <full-duplex>)
# ifconfig em0 inet 92.xx.xx.xx netmask 255.255.255.248 media 100baseTX mediaopt full-duplex mtu 5000 -wol && /etc/netstart
# ifconfig em0 |grep media
media: Ethernet 100baseTX <full-duplex>
Answer the question
In order to leave comments, you need to log in
the first thing that came to mind was that autonegotiate is turned off and the hardware on the other side sets the wrong duplex. if possible, look at the number of collisions and late collisions.
Faced similar on Hetzner's servers. Only the complete shutdown of auto negotiation and the manual installation of media and duplex helped.
The fact is that they disable 1000TX on the switches, and this causes some chips (realtek) to lose logic and they switch to 100TX / half-duplex and this is not treated with auto negotiation enabled. Try turning it off, it might help.
Mediaot was last used in RTComm on a 10 megabit link. It still made sense. Yes, leave auto, the days of crooked network hardware are long gone, even long lines are not mistaken with duplexes when autodetect at 100 Mbps =)
Why do you need mtu 5000? Jumbo frames are actually 9000, and they work in one segment (they won’t go outside, the router will cut into standard pieces), but with modern network cards with LSO and queues, they have long lost their meaning.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question