Find default gateway in terminal

macshaun

Registered
Hi All,

Currently running OSX 10.5 and was wondering if anyone knows how to find your gateway address in Terminal? IFCONFIG only appears to show the IP address. I know you can find it via System Preferences > Network but would like to know if it is possible to find it via terminal.
 
Back
Top