getting IP address of router
Adam Raymond
streetsmart2-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Mon Feb 7 20:38:30 UTC 2005
On Mon, 07 Feb 2005 15:34:45 -0500, jim ruxton <cinetron-uEvt2TsIf2EsA/PxXw9srA at public.gmane.org> 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
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Home>netcat -r
'netcat' is not recognized as an internal or external command,
operable program or batch file.
C:\Documents and Settings\Home>netstat -r
Route Table
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 50 bf 51 05 bc ...... Realtek RTL8139 Family PCI Fast Ethernet NIC - P
acket Scheduler Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.100 20
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.1.0 255.255.255.0 192.168.1.100 192.168.1.100 20
192.168.1.100 255.255.255.255 127.0.0.1 127.0.0.1 20
192.168.1.255 255.255.255.255 192.168.1.100 192.168.1.100 20
224.0.0.0 240.0.0.0 192.168.1.100 192.168.1.100 20
255.255.255.255 255.255.255.255 192.168.1.100 192.168.1.100 1
Default Gateway: 192.168.1.1
===========================================================================
Persistent Routes:
None
I hope your talking about this. If you run the command netstat -r you
will be displayed something like the above. The Default gateway (the
router) will be displays.
If you are talking about the internet IP (which I think you are) trry
www.myip.dk that has been the best site for me.
--
- Adam Raymond -
--
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