 
Configuring The Interface Address
There's several ways of setting up a test server, but in this case I will be
utilizing a unique internet address to point to the server. The first step is to
set up the TCP interface by using the GO CMDTCP command from an authorized user
on your system. Take option 11 to configure TCP/IP. Press Enter, and then use
option 1 to work with TCP/IP interfaces. You will see the following screen:

Use option 1 to add a new intenet address. In my case, I have a
wireless router connected to my i515, which I can also connect to from my PC.
The wireless router's address is 10.1.10.1. The wireless router is set so that it
does not use any address below 10.1.10.50 when assigning addresses for DHCP, so
as long as we pick an unused address below .50, we should be ok. (If we use an
address above 50, then the wireless router might have assigned another device this
address, and we will get an address conflict. You will either need to know the
info about your config, or get your network folks to give you an internet
address you can use.)
We need to enter the line description to attach this interface to. On
my i515, my ethernet card inside my server is attached to a line description
called 'ETHERNET'. Next, we key in a subnet mask of 255.255.255.0. (This
may be different for you, find out from your network folks if you dont know.) There
is also an Autostart parameter we can set. It usually defaults to *YES, so that
this interface is automatically started when TCPIP is started. You can
change it to *NO if you want to manually start it.
Press enter, and the interface should be created. Use option 9
next to this new interface in order to start it now. If you press F11, the
status should say 'ACTIVE' if everything is configured correctly.
Ping Test From The System i
Key in PING RMTSYS('internet address you set up') on the command
line.

If
the interface is working correctly, then you should see the ping responses in
the message subfile at the bottom of the screen. Place the cursor on the
message and scroll thru them to make sure the ping was successful. If it was,
you should see a message like the one below when you scroll thru.

Ping Test From The PC The final step is to make sure that our PC can
reach the address we set up. On your PC, click START / RUN / COMMAND. In
the command box, enter PING address you set up  You should
see the replies from the address like we got above.
  |