Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to know my router's external IP

Status
Not open for further replies.

olin

Technical User
Jun 6, 2003
67
US
I am using Windows XP and in a router LAN. I've got a 192.168 IP from the router. Can I know what is the external IP of the router? BTW, I am not the administrator of the router so that I cannot log into the router setup. Thank you so much!
 
i'm in the same situation, but using unix, and would like to know if there's a way to know the public ip without going to those addresses...i've tried with traceroute,but i recieve the private address...
does anyone knows how to?
 
If you are looking to do this without a browser & from a terminal:
Code:
wget -O /dev/stdout [URL unfurl="true"]http://www.whatismyip.com/[/URL]

Let us know your results!

X
 
that's a good one, the problem is that i don't have de wget command.... (mac os x 10.4.3)
any other suggestions?
 
you're right,but i'm still wondering how could it be that unix doesn't provide a standard command or a way to do it without any extras!
thanks for the support!! now i'll download it!
 
Glad to help! I'm happy to hear you were able to get it installed!

X
 
One way to find your EXTERNAL ip address is to send an
Email message to yourself. Once you have used your Email
client (Outlook for example) to download the message, you
can right click on the received message and select
"Properties". Look for the line that starts with:

Received: from [71.35.130.95] (helo=papa4)

The IP addres you see is your external IP address that the
world sees. What you see after "helo= " will be your host
name.

Hope this helps you. --- Papa4
 
papa, that seems a very longwinded way when there are sites that are available to give you this information!

'When all else fails.......read the manual'
 
cyberspace,

papa's method may be longwinded, but it does provide what was asked and other useful information. It's great that there is such an exchange of useful information in this forum. I wouldn't want to discourage someone from not offering their advice.
 
I'm not trying to discourage anything, merely pointing out that there are far quicker methods of getting your external IP - for all I know, papa4 may not have known any other way than to send yourself an email and inspect the message header.

If you want something quickly, surely you would like to take the quickest route?

Apologies if I came accross differently but I, like many others, like to be able to do things as quickly and easily as possible.

Also, more importantly, if you send yourself an email when on a LAN, the message may not leave the confines of your network/network segment (ie it may not pass through a router, so it is not tagged with the external IP). So when you go to inspect the internet headers, you simply find a blank entry - therefore, not helping.

This is the case for Outlook 2003, I am not sure about other clients however. The network I manage is not subnetted, and there is only one router - this may well differ in different situations but i'm sure you get my point.

'When all else fails.......read the manual'
 
I concur with what you say, cyberspace. I too prefer the quickest method to resolve a problem and I've appreciated your other responses to those who asked for help. Peace!
Merry Christmas...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top