Question:
Is there any utility or command (in command prompt win xp) tha can tell me my WAN address (not local ip)?
malekovits
2011-09-04 14:35:41 UTC
I want to know the WAN address( router's address, the global address, the one that my ISP is giving). I know about ipconfig /all command, it doesn't tell me what I want.

Note: I know about websites that tell you that IP and the router itself, but I want or a command, or a utility (if exists).
Five answers:
Tracy L
2011-09-04 14:47:45 UTC
The easy way ... http://whatismyip.com for your public IP there is no direct command because your computer does not have the info, only your router will use or need to use the public IP
Tuan
2011-09-04 14:36:47 UTC
Do this you will see WAN address as well



How to look up your IP address depends on what operating system you are using.

Windows XP, Windows 2000, or Windows NT



Click the Start menu

Select Programs

Select Command Prompt

Type ipconfig /all

Press Enter



Windows 95, Windows 98, or Windows ME



Click the Start button

Select Run

Type winipcfg

Click OK



Linux, MAC OS X, Solaris, AIX and other UNIX variants



At the command Prompt type hostname | nslookup

At the command Prompt type ifconfig -a

You may need to become root and include a full path when typing these commands.



Mac OS X



Open the System Preferences in Mac OS X

In the resulting window, click the Network icon.

In the Network window select the appropriate location

IP Address will be shown



Macintosh Mac OS 7.x - Mac OS 9.x



Computer must have an active Internet connection

Go to the Apple menu by clicking the Apple picture icon

Select Control Panels

Go to the TCP/IP control panel or MacTCP control panel depending on operating system

Choose File

Click Get Info



TCP/IP Control Panel
Miha L
2011-09-06 01:52:23 UTC
The easiest way is via IP trackers:

http://www.ipaddresslocation.org

http://www.find-ip-address.org

http://www.ip-address.org



ipconfig /all command via Command Prompt is another way but Command Prompt should be run as Administrator.

Then ipconfig /all will show you your LAN IP address.

If you would like to know what is your LAN IP address via ipconfig /all then you need to unplug your router and connect your computer direct with modem.



Then you will able to see all information's about your WAN IP address.



Hope this helps!
wetzler
2016-11-07 04:59:32 UTC
different than for a /renew decision, you are able to't manually set the tcpip handle from a CMD instantaneous in living house windows XP. you will desire to do it from the graphical UI. There are 4 concepts that i could attempt: a million. examine all cable connections (assuming this is not a instantaneous router). awareness dictates that ninety% of the time that's a cable situation. 2. Restart the DHCP server and as quickly as that's working, attempt the dhcp /renew lower back 3. From living house windows, open commence - Settings - administration Panel - community Connections, then maximum suitable-click the errant adapter and choose "Disable". Wait some seconds, then click double click it to enable. Open a CMD instantaneous, and do an Ipconfig to work out if the adapter have been given an handle from the DHCP server. If no longer, attempt a /renew 4. Reboot and notice what occurs appropriate of success
mcse1997
2011-09-04 18:27:22 UTC
Two ways i can think of -

1. Use tracert (Trace Route) command eg. tracert google.com

usually the second hop is your gateway or WAN IP address

It can be a trick to pick out the address you want without a script or similar to parse the output text.



2. use a Dynamic IP service (eg. NO-IP.com) to associate your WAN address to a name. You can then use the PING command to identify your WAN address. eg. PING mydynamicipaddress.no-ip.biz and it will return the WAN IP address.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...