Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

External Ip For Pc Behind Nat Router


  • Please log in to reply
5 replies to this topic

#1 Stu G

Stu G

  • Members
  • 85 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Glasgow Scotland
  • Local time:09:44 AM

Posted 23 August 2007 - 04:49 PM

Hi everyone,

I am just wanting to know if there are any fairly simple methods to find out Each Computer's External IP address in my LAN that are behind a NAT Netgear Router. I always get the External IP for the Router, but not individual pc's.

Thanks
Stu G
Ada95,Java,C ANSI,C++,C♯,ASP.NET,JavaFX!

BC AdBot (Login to Remove)

 


m

#2 Monty007

Monty007

  • Members
  • 1,151 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Australia
  • Local time:12:14 AM

Posted 23 August 2007 - 04:56 PM

Try this link http://whatismyip.com/
MCP
MSDST

#3 Stu G

Stu G
  • Topic Starter

  • Members
  • 85 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Glasgow Scotland
  • Local time:09:44 AM

Posted 23 August 2007 - 06:18 PM

Gives the Router External Address.... :thumbsup:
Stu G
Ada95,Java,C ANSI,C++,C♯,ASP.NET,JavaFX!

#4 oldf@rt

oldf@rt

  • Members
  • 2,609 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Avondale, Arizona USA
  • Local time:07:44 AM

Posted 23 August 2007 - 07:25 PM

I will try to explain a little bit more: The router obtains one ip address from the DHCP server provided by your isp. The nat router has its own built in DHCP server which provides an internal IP address for each computer on your local network. Depending on the router model you have, your internal ip can be any one of these blocks: 10.0.0.0 - 10.255.255.255, 172.16.0.0 - 172.31.255.255, or 192.168.0.0 - 192.168.255.255. http://www.duxcw.com/faq/network/privip.htm. None of these are visible to the rest of the internet. Since private ip address computers have only the router/server provided address, they all use the actual IP address of the router as the only external address. If you need to contact an individual computer inside that block, the router must have port forwarding turned on, and the port must be specified, and then linked to a specific application, such as Windows XP Remote desktop. http://en.wikipedia.org/wiki/Network_address_translation.
The name says it all -- 59 and holding permanently

**WARNING** Links I provide might cause brain damage

#5 Stu G

Stu G
  • Topic Starter

  • Members
  • 85 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Glasgow Scotland
  • Local time:09:44 AM

Posted 23 August 2007 - 10:20 PM

Thanks for the reply, It has made things much clearer. The reason I want the external ip of a computer in my network was to see if i could remotley access a server on the pc. It is the well known Abyss Free edition server application. The default port is 80, which is allowed.

Is accessing the server outwith my lan possible? I am rather new to servers etc, my thinking was if i can find the direct external ip of the host of the server (my pc), enter it into a browser outwith my lan , i would be able to see the webpage the abyss server on my pc hosts.

Any advice will be greatly appreciated.
Thanks
Stu G
Ada95,Java,C ANSI,C++,C♯,ASP.NET,JavaFX!

#6 oldf@rt

oldf@rt

  • Members
  • 2,609 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Avondale, Arizona USA
  • Local time:07:44 AM

Posted 23 August 2007 - 10:30 PM

Your best bet is probably to read the section of your routers manual on port forwarding. Example: initial request comes in to 68.8.95.203:80, since your server is on 172.30.255.1:80 for normal http requests, which is invisible to the internet, the router re directs the incoming http request to the correct computer and port. This is reversed for replies. You can normally use the router to send to a different port also, such as the request comes in at port 80, and goes out to port 2080, of course you must set your server to listen on this port.

Edited by oldf@rt, 23 August 2007 - 10:31 PM.

The name says it all -- 59 and holding permanently

**WARNING** Links I provide might cause brain damage




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users