I am facing some strange problem. I compiled the latest linux kernel and used "make localmodconfig" to create my .config file. In the new kernel "ping google.com" does not work. However the following works. NSLOOKUP google.com works, DIG google.com works, host google.com works. Similarly giving ifconfig after "ping google.com" shows increase in TX and RX counters. So it looks to me like packets are received. SELinux is disabled and iptables does not have rules.
Contents of /etc/resolv.conf
nameserver 22.214.171.124 nameserver 126.96.36.199 nameserver 188.8.131.52
Ping by IP works. For example, if I ping the IP address of google, I am getting response. The name servers are also pingable.
Can someone please help me out.