Thats odd, usually its the other way around--ping works but internet doesn't! Troubleshooting presents a number of possible problems, you just have to do various tests to narrow down the possible problems until you find the cause and then solution. Here are a few questions?
- Are you absolutely sure your firewall isn't blocking ICMP echo requests?--(Double check the firewall log!!! There might be a firewall or ACL issue that you might have missed)
- Are you behind a proxy? Are you using VPN?
- Have you recently updated your Drivers?--(Sometimes newly updated drivers cause they stop the NIC from working the right way)
- Did you adjust your computer firewall or the actual Network Firewall? (For instance some universities prevent outbound ICMP, or inbound ICMP via a network firewall. If this is the case, ICMP will be blocked regardless of your computers firewall settings.)
- Are you using your home network or are you a part of another network (i.e. company, school, etc.)
- Not all websites allow ICMP...When you use Tracert do you get " * * * * " immediately or do those appear later on in the path?
- What happens when you try using ping/tracert from a different network than the one you're currently on?--(If the issue disappears then you know it's your network)
- Is your Ping showing 100% packet loss or only partial packet loss? --(check for multiple paths to dest.)
- Have you tried pinging Google using There IP AND There Domain Name?--(There may be a DNS issue)
- What happens when you increase the TTL?
- Double check ICMP is enabled on both your PC and Router!--(Computers and routers can have there own firewall if one allows ICMP and the other doesn't then there will be a problem)
- Use the arp command and delete all. Then ping the gateway. Then check the arp table again and see if you see a arp entry for the gateway. If you do which I strongly suspect it means you can talk to the gateway at a mac level but maybe not at higher levels.
- Next if you use the router as the DNS try to change it to 8.8.8.8 or 8.8.4.4 (googles DNS servers) and see if things resolve. If this still works NAT is working correctly if not its a little harder to say. This might mean that UDP packets can pass but likely tcp is being blocked.
- What happens when you Ping other websites? *By IP address and domain name?
- Try rebooting to see if the issue is resolved
*If you are able copy and paste your results. Just add details to your question and paste them there. It might be easier if I can see it myself*
These are just a few suggestions/questions its always a little more difficult to troubleshoot without actually being there. I can only hypothesize based on specific information so copying your specific output results would help. Also check the Firewall Log !