Network Interface Errors

In order to fix the increasing network and/or frame errors, than you can see when running ifconfig:

eth5      Link encap:Ethernet  HWaddr 00:02:bb:1d:5d:0b  
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:4513877598 errors:4927946693 dropped:0 overruns:0 frame:4927946693
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1260241149173 (1.1 TiB)  TX bytes:0 (0.0 B)
          Memory:faea0000-faec0000

You should check:
- Errors on the switch interface.
- Negotiation between switch and server
- If you are receiving frames lager than the MTU size of the interface 1500 (jumbo frames, vlans, etc).

You can also try:
- Replacing the network cable
- Changing the cable to another interface.

An common problem is the mtu being too small for the network traffic you are receving.
The command to change the mtu is:

ifconfig eth5 mtu 9000

You can start setting the interface to 9000 bytes, and check with ifconfig, if the errors and frames stop increasing.
A typical mtu values are 1518, 1520, but they depend on the traffic in your network.

Don't forget to set the correct mtu permanently on /etc/network/interfaces

auto eth5
iface eth5 inet manual
up ifconfig eth5 0.0.0.0 up mtu 1520 promisc

You can check the negotiation and MDI-X with:

ethtool -s eth0 mdix [auto|on|off]
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License