Ping not working on 5.11 kernel
by ballsystemlord from LinuxQuestions.org on (#5HMTM)
Hello,
I was using the ping utility and I noticed I wasn't getting a response from one of my machines. I have updated it to Kernel version 5.11.
I checked what I could think of as obvious causes. I copy-pasted the IP of it. Then I checked that net.ipv4.icmp_echo_ignore_all == 0.
Any ideas on how to get ping working?
Thanks!
Code:# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.100 ...
# ping -c3 -i1 192.168.1.100
PING 192.168.1.100 (192.168.1.100) 56(84) bytes of data.
--- 192.168.1.100 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2029ms
# sysctl net.ipv4.icmp_echo_ignore_all
net.ipv4.icmp_echo_ignore_all = 0
# ping -c3 -i1 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
--- 127.0.0.1 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2014ms
I was using the ping utility and I noticed I wasn't getting a response from one of my machines. I have updated it to Kernel version 5.11.
I checked what I could think of as obvious causes. I copy-pasted the IP of it. Then I checked that net.ipv4.icmp_echo_ignore_all == 0.
Any ideas on how to get ping working?
Thanks!
Code:# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.100 ...
# ping -c3 -i1 192.168.1.100
PING 192.168.1.100 (192.168.1.100) 56(84) bytes of data.
--- 192.168.1.100 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2029ms
# sysctl net.ipv4.icmp_echo_ignore_all
net.ipv4.icmp_echo_ignore_all = 0
# ping -c3 -i1 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
--- 127.0.0.1 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2014ms