On Monday, June 10, 2002, at 10:49 AM, drieux wrote:
> > On Monday, June 10, 2002, at 10:35 , bob ackerman wrote: > >> my box is behind a D-Link router 704. >> The router gets its ip from my isp using dhcp. >> anyone know how to get that external ip from the router? > > I presume that your 'internal network' is an RFC1918 configuration? > All of whom are routing to the LAN side address of your Router??? sounds right. > { are expecting your ISP to actually be handing you a 'real' > IP address that it is not itself NATing for you???? } yes. it gives a real ip to the router. one that other's on the net can use to access my box. >> is any module designed to find your external ip when you are on a lan? > > a part of the problem is getting a good definition of what 'external' > would mean here... again, i mean the real ip my isp gives to the router. > >> router is admined from a web page, so i guess it is possible to using >> LWP (or some other module?) to retrieve the info from the web page. > > I would recommend that you go at this from the webPage side on your LAN. > Since that would probably be simpler and easier to develop and maintain. other response suggested using LWP. > since if they have exposed their API it's reasonably simple - if they > have not, it would be reasonably simple to play around that with your > browser in one place, and your perl code in another window.... perhaps the api is available. i have downloaded a python script (ipcheck.py from source forge) that seems able to grovel the ip. i will look into the script way and the LWP way and report back. > ciao > drieux adieu, drieux (now that's felicitous) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]