+1 to this - I used to use a router inside my cable modem at home - that gave me an internal address that never changed. Now, because of port forwarding issues, it was simpler just to set up my DSL modem as the internal router - and I use dyndns.org - and I've never been unable to connect from outside. Well worth setting it up - and simple dyndns.org is free - they have for-cost services, as well, IIRC.

HTH
Vern

On 11/11/2012 9:17 PM, Bdietz400 wrote:
Why not try getting the info from something like www.myipaddress.com. If you have a dynamic dns host name with dyndns.org your router might have a built in update and you might be able to query via nslookup.

--
Bryan


On Nov 11, 2012, at 6:19 PM, "Shannon ODonnell" <sodonnell@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

Hi,



I have an iSeries (i5, iBM I, AS/400.etc.) behind a cable modem. The
cable modem is what connects me to the internet and serves as the initial
firewall and as the network router.



Ever so often the IP address of the modem/router changes. That is.if a
power outage occurs or other things happen beyond my control.the IP address
of the cable modem changes.



I am trying to think of a way I can determine, from my IBM I (As/400,
iSeries, i5, etc.), what the new IP address of that cable modem is.



I was trying to think if maybe there might be a PHP or java solution that I
could call from the iSeries to poll that cable modem to retrieve the current
outside IP address.



Any suggestions on how to accomplish that or if it is even possible?



Thanks!



Shannon O'Donnell

--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.