Debian GNU/Linux 9.12 (stretch) Release: 9.12
Today I realized that a few network related commands suddenly stopped working. For example: pin, host, iptables, dig and so on, they don't work anymore.
Here's the output of route -n, for example
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 command output
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
Actually I cannot ping the gateway. But from another host on the same network segment, the gateway is reachable
I was thinking that the issue is somewhat related to the system ...I mean a local issue All the network commands seem to be stuck You know I run iptables and nothing happens, the same with host ..etc
root@host5:~# host google.com
^Croot@host5:~#
Unfortunately I got nowhere.
Any help will be highly appreciated