On Wed, May 29, 2013 at 2:03 PM, Joe <fb...@a1poweruser.com> wrote:
> Hello list
>
> How do I find the ip address of the default route?

The following examples return the next hop, usually a router.

# grep defaultrouter /etc/rc.conf
defaultrouter="192.168.0.1"

or

# netstat -r
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.0.1       UGS         0      192    em0
...

-- 
Take care
Rick Miller
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to