Hello this is DS,
If u know how to get the WAN ip address from cmd then please ignore this if u dono then this is a good method upto my knowledge bcz i found this on my own ..
first u must know that any windows or linux doesn't has any program to get the public ip or wan ip so if u want to find wap ip address without any software or visting any ip address is
step :1 --->FInd out ur modem or router IP
|---->to do so enter in to cmd then ipconfig,u will get
IP Address............192.168.1.2
Subnet Mask.........255.255.255.0
Default Gateway....192.168.1.1
like this but the numbers may differ ,so copy or note down Default Gateway(192.168.1.1)
Step:2--->now in cmd..enter as telnet
u will get as
Microsoft telnet> now u enter as shown below o -->open ,and default gateway
Microsoft telnet>o 192.168.1.1
it will show
ADSL Router
Login:
--->so u need to enter ur modem or router login details if u dono it will be @ bottom of the modem...
--->usually it will be Login:admin and password same "admin"
some times id as "admin" password as "pass"
after entering the details,
Login:admin
password:admin
Step:3--->now enter as "wan show"
>wan show
Step:4--->u will get ip address that is ur WAN ip address or ip address given by ISP (public ip)
Note:1:If there is any easy method then please post and this is using command prompt
Note: 2:U can also do this easily by entering the default gateway in browser (192.168.1.1)
it will ask for Login id and password enter it
in the page what u get there will be WAN IP ADDRESS u got it ..:)
Thank you