• MUT值设置、top等命令无法执行、ssh无法登陆、vim命令卡住


    [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
  • 相关阅读:
    netty(八) netty中自带channelhandler
    netty(七) Handler的执行顺序
    netty(六) websocket开发应用
    netty(五) http协议开发应用
    netty(四) 编解码技术
    netty(三) TIP黏包/拆包问题解决之道
    netty(二) 创建一个netty服务端和客户端
    netty(一) netty有哪几部分构成
    使用jsp制作index,可以通过<c:if test==“管理员”>或<c:if test=="客户">来区别展示用户界面
    使用jstl和el表达式来展示request域中存放的user对象的信息
  • 原文地址:https://www.cnblogs.com/effortsing/p/10020970.html
Copyright © 2020-2023  润新知