Howto change MTU in Red Hat Linux

In Red Hat Enterprise Linux you can change the MTU (Maximum Transmission Unit) dynamically

# ip link set mtu eth0 512

or using ifconfg

# ifconfig eth0 mtu 512

but to make it permanent even after a reboot you need to add the MTU setting to the correct interface configuration file.

continuing the above examples, that would be:

add


MTU=512

to


/etc/sysconfig/network-scripts/ifcfg-eth0

Leave a Reply