Ask Different is a question and answer site for power users of Apple hardware and software. 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

How can I see the list of routes and its corresponding gateway in a Mac ? The command in linux is route -n .

For a particular IP address, I am able to get the routes for an particular IP address via route get

share|improve this question
up vote 4 down vote accepted

I'm not at a Mac to play with terminal, but is netstat -rn what you need?

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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