getting IP address of router

Ralph Markham ralphmarkham-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org
Mon Feb 7 22:17:01 UTC 2005


my routers name is not garbage,

garbage is a bogus name that hopefully will not be found.

suse1:~ # traceroute -m 1 bogusname
traceroute to bogusname (55.55.55.55), 1 hops max, 40 byte packets
  1  192.168.1.1  0.404 ms   0.444 ms   0.410 ms
suse1:~ #



On Feb 7, 2005, at 5:05 PM, jim ruxton wrote:

> 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
>

--
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