Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 May 2013 14:09:16 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Joe <fbsd8@a1poweruser.com>
Cc:        freebsd-questions@Freebsd.org
Subject:   Re: looking for command to display default route ip address
Message-ID:  <44k3mhhd4j.fsf@be-well.ilk.org>
In-Reply-To: <51A642E5.2050506@a1poweruser.com> (Joe's message of "Wed, 29 May 2013 14:03:17 -0400")
References:  <51A642E5.2050506@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Joe <fbsd8@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44k3mhhd4j.fsf>