Question

I read in "TCP/IP Network Administration" by O'Reilly, 2002, that typing the route -n command should bring up a routing table.

When I typed it into the terminal on a Mac, it returned the following:

usage: route [-dnqtv] command [[modifiers] args]

What is the correct command to use to see the routing table in my terminal?

Était-ce utile?

La solution

On Mac OS X you can use netstat(1). In your case, netstat -nr, probably.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top