Ping not working

Hi,
I am currently unable to ping anyone, including www.google.com and localhost. I get something like this:

PING localhost (127.0.0.1): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2

I'm not in stealth mode or anything like that. I've tried sudo, but no luck.
Any help would be appreciated! Thanks

White 2.1 GHz MacBook, Mac OS X (10.6.1)

Posted on Nov 4, 2010 6:16 PM

Reply
6 replies

Nov 5, 2010 3:15 AM in response to fluberbuton

Thanks for the responses. I was able to ping for a while, but then it stopped when I tried to flood my pc at home. From then any ping I tried resulted in a timeout


$ dig localhost

; <<>> DiG 9.6.0-APPLE-P2 <<>> localhost
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26680
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;localhost. IN A

;; ANSWER SECTION:
localhost. 85836 IN A 127.0.0.1

;; Query time: 21 msec
;; SERVER: [my ip] #53([my ip])
;; WHEN: Fri Nov 5 06:09:22 2010
;; MSG SIZE rcvd: 43


Call me paranoid, but i edited out my ip.

Then the ping with the -c flag resulted with this:


$ ping -c 4 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2

--- 8.8.8.8 ping statistics ---
4 packets transmitted, 0 packets received, 100.0% packet loss


ifconfig looks like it give a lot of MAC address stuff. I don't want to give that out now..

Nov 5, 2010 7:14 AM in response to fluberbuton

Flood ping across a public network? +Bad idea+ That's best left for the folks seeking to attack your servers. And trying that can sometimes activate network defenses. (Further, your server or your gateway should typically not be configured to respond to external ICMP (ping) traffic.)

Based on the ping data, your local network or your upstream IP routing is stuffed.

Somehow.

This could have any number of triggers. Bad gateway setting. Bad or mismatched subnet mask settings. Misconfigured subnet routing, if you're using multiple subnets. A failed or misconfigured gateway router. Failed switch. Bad or disconnected wire. Overly-zealous firewall settings. ISP outage. Failure at the network demarc device.

Some sort of a network-level configuration error among the [various IP network pieces and parts|http://labs.hoffmanlabs.com/node/275].

Try pinging local hosts (to try to isolate the error), and reconfirm your local IP network settings (gateway router, subnet mask, IP addresses, your own local DNS server of you're running that) within your network, and reconfirm settings with your ISP, and then start checking devices and performing swaps to test individual devices.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Ping not working

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.