[svlug] NAT IP of DHCP?
Lisa
svlug at flygirl.com
Tue Sep 21 06:13:39 PDT 2010
This usually works for me:
$ route -n | grep UG | awk '{print $2}'
192.168.2.1
On Tue, Sep 21, 2010 at 02:55:40AM -0700, John Conover wrote:
>
> If you are setting in a coffee shop, how can you find out the IP
> address of the NAT'ed router your laptop is connected to in a script
> file?
>
> Thanks,
>
> John
>
> --
>
> John Conover, conover at rahul.net, http://www.johncon.com/
>
> _______________________________________________
> svlug mailing list
> svlug at lists.svlug.org
> http://lists.svlug.org/lists/listinfo/svlug
More information about the svlug
mailing list