Q: looking up ip global IP address from inside LAN

Ned Konz ned at bike-nomad.com
Tue Jul 29 05:40:22 UTC 2003


On Monday 28 July 2003 10:12 pm, Justin Holzer wrote:
> Say for example, I have cable modem service, and have several
> machines sharing this connection via a store-bought broadband
> router. Now say I'm running squeak on one of the networked
> machines, ie. 192.168.1.1.
>
> Is it possible for me to get the global IP address of my cable
> modem, ie 216.109.125.71, without having to send a packet outside
> of my local network?

Sure, if you know how to ask your router what its Internet address is 
(it probably has a web browser front end that's accessible on the 
LAN).

Otherwise, you'd have to send a packet outside to something that could 
tell you what your address was.

-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE



More information about the Squeak-dev mailing list