[root@host-10-1-1-204 ~]# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.1.1.204 netmask 255.255.255.0 broadcast 10.1.1.255
inet6 fe80::f816:3eff:fe76:c1c1 prefixlen 64 scopeid 0x20<link>
ether fa:16:3e:76:c1:c1 txqueuelen 1000 (Ethernet)
RX packets 2144706 bytes 9907368626 (9.2 GiB)
RX errors 0 dropped 2 overruns 0 frame 0
TX packets 2648576 bytes 200369501 (191.0 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1 (Local Loopback)
RX packets 22 bytes 4582 (4.4 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 22 bytes 4582 (4.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[root@host-10-1-1-68 ~]# cat /sys/class/net/eth0/mtu
1500
[root@host-10-1-1-204 ~]# echo 1450 > /sys/class/net/eth0/mtu
[root@host-10-1-1-68 ~]# cat /sys/class/net/eth0/mtu
1450
top等命令无法执行、ssh无法登陆
现象:
笔记本mut值大于路由的mtu值问题:
解决办法:
[root@host-10-1-1-204 ~]# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.1.1.204 netmask 255.255.255.0 broadcast 10.1.1.255
inet6 fe80::f816:3eff:fe76:c1c1 prefixlen 64 scopeid 0x20<link>
ether fa:16:3e:76:c1:c1 txqueuelen 1000 (Ethernet)
RX packets 2144706 bytes 9907368626 (9.2 GiB)
RX errors 0 dropped 2 overruns 0 frame 0
TX packets 2648576 bytes 200369501 (191.0 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1 (Local Loopback)
RX packets 22 bytes 4582 (4.4 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 22 bytes 4582 (4.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[root@host-10-1-1-68 ~]# cat /sys/class/net/eth0/mtu
1500
[root@host-10-1-1-204 ~]# echo 1450 > /sys/class/net/eth0/mtu
[root@host-10-1-1-68 ~]# cat /sys/class/net/eth0/mtu
1450
云主机vi命令卡住
云主机vi命令卡住
笔记本mut值大于路由的mtu值问题:
解决办法:
[root@host-10-1-1-204 ~]# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.1.1.204 netmask 255.255.255.0 broadcast 10.1.1.255
inet6 fe80::f816:3eff:fe76:c1c1 prefixlen 64 scopeid 0x20<link>
ether fa:16:3e:76:c1:c1 txqueuelen 1000 (Ethernet)
RX packets 2144706 bytes 9907368626 (9.2 GiB)
RX errors 0 dropped 2 overruns 0 frame 0
TX packets 2648576 bytes 200369501 (191.0 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1 (Local Loopback)
RX packets 22 bytes 4582 (4.4 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 22 bytes 4582 (4.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[root@host-10-1-1-68 ~]# cat /sys/class/net/eth0/mtu
1500
[root@host-10-1-1-204 ~]# echo 1450 > /sys/class/net/eth0/mtu
[root@host-10-1-1-68 ~]# cat /sys/class/net/eth0/mtu
1450