looking for command to display default route ip address
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
Re: looking for command to display default route ip address
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. ___ 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
Re: looking for command to display default route ip address
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: DestinationGatewayFlagsRefs Use Netif Expire default192.168.0.1 UGS 0 192em0 ... -- 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
Re: looking for command to display default route ip address
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 unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ 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