That is a great solution! It does exactly what I want.
Thanks for all the suggestions.
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of Vladimir Landman
Sent: Monday, November 12, 2012 11:44 AM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Determine IP Address of Router
Hi Shannon,
The best solution I could think off is to use a web service ethat will tell
you what your public facing IP address is. One service I found through
Google is
http://www.whatismyip.com/faq/automation.asp
I think it would be much easier to do this, than find a way to get it off
your router.
--
Vlad
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Shannon ODonnell
Sent: Sunday, November 11, 2012 5:20 PM
To: web400@xxxxxxxxxxxx
Subject: [WEB400] Determine IP Address of Router
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.
--
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.