Enabling jumbo frames on Linux

To enable jumbo frames on a Linux system, simply run this command: sudo ifconfig ethX mtu 9000

where X is the index of the network interface, usually "0" (but sometimes "1", and rarely a higher number).

The network interface may start with something other than "eth". To resolve this question, run ifconfig -a to view the interfaces.

If jumbo frames are not supported on the particular hardware being addressed, you will see this error:

SIOCSIFMTU: Invalid argument

While 9000 is the most conventional MTU for jumbo frames, it is not a standard, and other values (even larger ones) could be supported. 9216 is a common maximum.

To make the setting permanent, edit /etc/sysconfig/network-scripts/ifcfg-interface ("eth0" is the most likely interface) and add the line MTU=9000 (or whatever the desired frame size is).


Article ID: 1839
Wed 5/27/20 11:26 AM
Thu 8/27/20 10:54 AM