How to show ip routes in Mac OS X?

Daniel Urstöger
08-10-2012 14:37

Fire up your terminal an enter the following command:

netstat -nr

 

Or you could limit it a bit to this:

netstat -rnf inet

 

Or mabye you are just looking for the default route:

route -n get default

 

For the BSD guys this is easy, but as a Linux user, I was trying route all the time ;)

Average rating: 0 (0 Votes)

You cannot comment on this entry