I don't think using a Class A IP is a good idea for an internal IP. If
you're using a router, you'll set up the WAN IP on the router as your static
class A ip from your ISP. Then your LAN IP of the router will be most likely
a class C (192.168.1.xx is a fairly standard range).

Then you give your i5 an IP of 192.168.1.x. and next hop would be your LAN
IP of your router (most likely 192.168.1.1)

If you're not going to use a router, try using the gateway IP your ISP gave
you as the next hop value.

But honestly, spend $20 on a cheap router. :)

Bradley V. Stone
BVSTools - www.bvstools.com
eRPG SDK - www.erpgsdk.com

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]On
Behalf Of Shannon ODonnell
Sent: Friday, July 25, 2008 9:43 AM
To: 'Web Enabling the AS400 / iSeries'
Subject: Re: [WEB400] Connecting i5 Express to Internet


You have your iSeries set up with an IP Address of 74.219.167.174. And
then you have the route set up to point back to that same IP address. I
don't think that's going to work. That will create a closed loop that goes
nowhere I'd think.

Is 74.219.167.174 the static IP address your ISP gave you and you are
plugging the iSeries directly into that?

Do you have a router or a cable modem or something in there anywhere?

You really should not have your iSeries plugged into the web directly. At
the very least, go to Wal-Mart and buy yourself a cheap Belkin or DLink
router to put in the middle. That way you'll have at least a rudimentary
firewall in the mix.

Here's what I would try...


Let's assume you are on a cable modem and it's static IP address is
74.219.167.174

Leave your *DFTROUTE set as you have it now, but give your iSeries the IP
address of 74.219.167.175.

Then don't forget to start the tcp/ip interface on your new IP address:

STRTCPIFC 74.219.167.175

At this point it does not matter what you have in your domain and
host table
unless you are wanting to set up HTTP Server or Websphere or Tomcat and/or
have someone come in from the outside to your system.

If you throw a router between your iSeries and the cable modem
(or whatever
you have there that actually connects you to your ISP...) you'll need to
configure it to allow TCP/IP traffic to flow through it to your iSeries.
But that's another topic. :-)





-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of Pat Barber
Sent: Friday, July 25, 2008 8:56 AM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Connecting i5 Express to Internet

Go here and do a little reading...

http://www.easy400.net/tcpcfgs

and a router/firewall would be of help.

Rich Dotson wrote:
I am trying to connect an iSeries 515 to the internet and would like
some guidance. This is my first try at this side of things after 20
years of programming on the midrange. I am signed on to the i5
using the System Console attached to the T6 port.

1. I have a static IP address from my ISP.

2. I configured the ethernet line on the iSeries (defined to use the T5
port).

3. I setup the TCP/IP interfaces as follows:

Internet Address SubNet Line Desc Line Type
74.219.167.174 255.255.255.252 ETHLIN *ELAN
127.0.0.1 255.0.0.0 *LOOPBACK *NONE


4. I setup the TCP/IP Routes

Destination Mask Next Hop Interface
*DFTROUTE *NONE 74.219.167.174 *NONE

5. Setup the TCP/IP host table entries

Internet address Host Name
74.219.167.174 S1048D02
DDMSONLINE
DDMSONLINE.COM

127.0.0.1 LOOPBACK
LOCALHOST

6. Changed TCP/IP Domain

Host name: DDMSONLINE
Domain Name: DDMSONLINE.COM

DNS Internet address: 65.24.0.168
65.24.0.169

7. I plugged the i5 into the internet modem / router

8. Started TCP/IP and the TCP/IP server

When I try to PING the domain name DDMSONLINE.com it says:

Verifying connection to host system S1048D02 at address 74.219.167.174
Cannot reach remote system


Where do I go from here?

Thanks in advance...
Rich..

--
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.

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.