getting IP address of router

jim ruxton cinetron-uEvt2TsIf2EsA/PxXw9srA at public.gmane.org
Mon Feb 7 22:05:07 UTC 2005


Thanks Ralph,
My router doesn't have a hostname. If I just do :
# traceroute -m 1 192.168.0.1 

I  just get:
traceroute to 192.168.0.1 (192.168.0.1), 1 hops max, 38 byte packets
 
so it doesn't give it's internet IP address.
If I use garbage in place of 192.168.0.1 I get an unknown hostname
message.
Jim

> try traceroute
> 
> suse1:~ # traceroute -m 1 garbage
> traceroute to garbage (55.55.55.55), 1 hops max, 40 byte packets
>   1  192.168.1.1  0.405 ms   0.485 ms   0.411 ms
> suse1:~ #
> 
> This gives me my routers dynamic ip (55.55.55.55)
> 
> I don't know why, and it does not appear to de documented in the 
> traceroute man page, but then I only skimmed though it.
> 
> --
>   Ralph
> 
> On Feb 7, 2005, at 3:34 PM, jim ruxton wrote:
> 
> > I'm sitting on a network behind a wireless Netgear router. Is there a
> > way to determine the routers dynamic internet IP address easily ie.
> > without going into the routers configuration menu?
> > Jim
> >
> > --
> > The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
> > TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> > How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
> >
> 
> --
> The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
> 

--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list