-- how can i retrieve its "outside" one?
Several people (including me indirectly) already provided answers for this.
>From the nature of your questions, it appears you need to learn more about
Internet Protocol basics. That's not something anyone can provide here. I
could tell you a few facts here, but without a greater understanding, they
may actually harm your efforts.
For example, every device that will communicate on the internet must be
assigned at least one (external) IP address (in addition to internal ones
like loopback addresses). Additional ones, assigned to different network
interfaces, can be used for all sorts of purposes such as: splitting the
communications volume, splitting networks (one public, one private (for DB
or management control etc.)). And this will of course depend on the nature
of the devices: server computer, user computer, hub, router, proxy, etc.
-- on another computer (without a router) i got 3 different IPs when only
the last one was the "outside" one, is it always the last one?
No.
Please NOTE: there is no "outside one." It depends on network
configurations and the route between "here" and "there." Each address on a
computer is assigned to a device, and its use will be determined by the
configurations on that computer.
If you are looking at the "outside" address for one of your computers on
your local network segment, you'll probably see a non-routable type
(private) internal IP address (192.168... or 10...)
(www.faqs.org/rfcs/rfc1918.html) If you look at the "outside" address of
THAT VERY SAME COMPUTER from "out on the Internet" you'll see the address of
the last router it passed through before hitting the point at which the
address was captured. It is in fact impossible (or should be) for private
addressing to go beyond the router; that's the way they're designed. And
passing any router/switch etc. on the way could change the address again...
If you have very specific needs, for a specific network, you can sometimes
query the last router you care about (and can reach) for its external IP
address, but that kind of scraping is much more involved than the
straightforward answers others suggested for querying specific web sites.
Good Luck.
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public