Use HTTPAPI, PHP, etc. to get
http://bot.whatismyipaddress.com/ which returns just your IP address.
--
Sean Porterfield
-----Original Message-----
From: Shannon ODonnell
Sent: Sunday, November 11, 2012 18:20
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 email is confidential, intended only for the named recipient(s) above and may contain information that is privileged. If you have received this message in error or are not the named recipient(s), please notify the sender immediately and delete this email message from your computer as any and all unauthorized distribution or use of this message is strictly prohibited. Thank you.
As an Amazon Associate we earn from qualifying purchases.