Hello list
How do I find the ip address of the default route?
thanks
___
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
Joe fb...@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.
___
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:
route -n get default
On 13-05-29 12:03 PM, Joe wrote:
Hello list
How do I find the ip address of the default route?
thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To