I am using RHEL 7 and trying to setup permanent MTU size to 8500. Not able to find a way to set it up permanently. The server does not have dhcp.conf file in it.
I am using below command for temporary solution. But the MTU size gets reset after server reboot. If anyone has luck achieving a permanent solution please suggest.
ifconfig eth0 mtu 8500 up
Best Answer
You can either add
MTU=8500
to the config file in/etc/sysconfig/network-scripts
directory (as per this page on the RHEL site).Or, I expect there's a way to do it with
nmcli
-nmcli con show ...
will list all the options - just look through that for MTU and then usenmcli con mod
to update it.