brett said:
If I know the computer name of a machine on an intranet that I am
on, is there a way to figure out what IP that machine broadcast
over the Internet?
Shenan said:
That machine probably doesn't broadcast a public IP. The
NAT/router device it is attached to does - and traffic is managed
by that device and sent to the correct system behind it.
http://www.whatismyip.com/
That should give you the public IP of your network as a whole.
You would have to configure the router/NAT device to forward
certain traffic to the internal private IP address of the machine
in question - dependent on what you wish to do.
Ok. I guess the person sitting at the machine in question could
just go to that site and get the external IP. The external IP on
my machine seems to always be the same. Are intranet machines
always going to have the same external IP?
Not necessarily - depends on how the Internet Service Provider treats that
particular device - and what agreements the person who owns that device
(NAT/router) has with the ISP. If they have purchased a static IP address -
yes... It will remain the same. If they have not - then it will USUALLY
stay the same - but you have no control over when it might change. It may
stay the same for days, weeks, even years.
Things you need to know...
The NAT/Router device will have to be configured to pass the ports through
to the proper internal IP address - or it will just block any attempt to get
to machines behind said device.
The software firewall on said machine must be set to allow the traffic
through - otherwise even if the router is configured correctly to forward
certain port requests - it will block it.
Most decent routers allow you to use free dynamic DNS services - so you can
assign an easy to remember address to the router and let it maintain it for
you. Also - if the IP address changes - the Dynamic DNS service will keep
up with that on a properly configured/capable router.
What is it you are trying to do?