Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

I'm trying to ping local IPs on my Mac but it's not working as I would expect.

If I ping, there's no problem:

PING ( 56 data bytes
64 bytes from icmp_seq=0 ttl=64 time=0.056 ms
64 bytes from icmp_seq=1 ttl=64 time=0.083 ms
64 bytes from icmp_seq=2 ttl=64 time=0.089 ms

However if I ping any other local IPs, it doesn't work:

PING ( 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3

If I try the same thing on Windows, it's working. Does anybody know why it is not working on Mac OS X?

share|improve this question

marked as duplicate by Ƭᴇcʜιᴇ007, Breakthrough, gronostaj, Darth Android, Dave M Aug 8 '13 at 12:52

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 3 down vote accepted

There's a solution - you have to create an alias to be able to ping it.

sudo ifconfig lo0 alias up

As for why it's not working, seems that Apple decided to implement just a, not a subnet.

See also How do you get loopback addresses other than to work on OS X

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.