How to show ip routes in Mac OS X?

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 ;)

You cannot comment on this entry