looking for command to display default route ip address

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Wed May 29 18:09:22 UTC 2013

Joe <fbsd8 at a1poweruser.com> writes:

> Hello list
> How do I find the ip address of the default route?

The next-hop address, or the local address? 
The former can be easily parsed out of the netstat(1) output,
the latter isn't necessarily unique.

More information about the freebsd-questions mailing list