search

Thursday, January 30, 2020

Check and modify connection mtu

To check:
[root@lxd-node3 ~]# netstat -i
Kernel Interface table
Iface             MTU    RX-OK RX-ERR RX-DRP RX-OVR    TX-OK TX-ERR TX-DRP TX-OVR Flg
ens10            1450      455      0      0 0           671      0      0      0 BMRU
eth0             1500       28      0      0 0            32      0      0      0 BMRU
lo              65536        0      0      0 0             0      0      0      0 LRU
Modify temporarily:
ifconfig eth0 mtu 1450
Permanently: edit /etc/sysconfig/network-scripts/ifcfg-eth0 file and add:
MTU=1450

No comments:

Post a Comment