網路相關指令突然停止工作

網路相關指令突然停止工作

Debian GNU/Linux 9.12(延伸)版本:9.12

今天我意識到一些與網路相關的命令突然停止運作。例如:pin、host、iptables、dig等等,它們不再起作用了。

例如,這是路線 -n 的輸出

root@host5:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.104.153 0.0.0.0         UG    0      0        0 ens160
192.168.104.152 0.0.0.0         255.255.255.248 U     0      0        0 ens160
root@host5:~# ping 192.168.104.153
PING 192.168.104.153 (192.168.104.153) 56(84) bytes of data.
^C
--- 192.168.104.153 ping statistics ---
7 packets transmitted, 0 received, 100% packet loss, time 6127ms

ifconfig 指令輸出

root@fhost5:~# ifconfig
ens160: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.104.156  netmask 255.255.255.248  broadcast 192.168.104.159
        inet6 fe80::250:56ff:fe88:3d72  prefixlen 64  scopeid 0x20<link>
        ether 00:50:56:88:3d:72  txqueuelen 1000  (Ethernet)
        RX packets 4581  bytes 910358 (889.0 KiB)
        RX errors 0  dropped 13  overruns 0  frame 0
        TX packets 4562  bytes 417363 (407.5 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


host IP address: 192.168.104.156
network segment: 192.168.104.152/29

實際上我無法 ping 通網關。但從同一網段的另一台主機上,網關可達

我認為這個問題與系統有些相關...我的意思是本地問題所有網絡命令似乎都被卡住了你知道我運行 iptables 但沒有任何反應,與主機相同..等

root@host5:~# host google.com
^Croot@host5:~#

不幸的是我無處可去。

任何幫助將不勝感激

相關內容