New answers tagged ping
You don't have ICMP allowed in your iptables rules. iptables -A INPUT -p icmp -j ACCEPT iptables -A OUTPUT -p icmp -j ACCEPT
You need to allow ICMP requests inbound, something like this should do it: iptables -A INPUT -p icmp --icmp-type 8 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
Allow ICMP and your ICMP Echo Request will reach the server, allowing it to reply back.
How exactly does ping -a resolve the host name? This is called reverse DNS. Forward DNS resolves names into IP addresses. Reverse DNS resolves IP addresses into names. When you type ping -a 220.127.116.11 into your computer, it issues the DNS query PTR 18.104.22.168.in-addr.arpa. PTR stands for pointer record. Why is everything except 'ping -a 192.168.99.3' work ...
Top 50 recent answers are included