Configure TCP/IP

  1. At a command line, type WRKHDWRSC *CMN to display the Work with Communication Resources menu.
  2. Type 5 beside the communication resource for the Ethernet port and press Enter.
  3. On the Work with Communication Descriptions menu, type 1 and press Enter.
  4. The Create Line Description (Ethernet) (CRTLINETH) menu appears.
  5. In the Line Description field, enter a description for the line. In this example, the network administrator chose Eth01.
  6. Enter the information for the Line speed and Duplex fields. Ensure these values match the port on the switch connecting to the iSeries™. In this example, 100M and *HALF are used. Press Enter.
  7. Press F10 to view additional parameters. You might have to press Page Down to view them.
  8. Change the Link speed field to match the Line Speed you entered previously (In this example, 100M).
  9. Accept all other default values and press Enter.
  10. Press F3 to return to the Work with Communication Resources menu.
  11. Press F3 again to return to the Command entry menu.
  12. At the command line, type CFGTCP to display the Configure TCP/IP menu.
  13. On the Configure TCP/IP menu, select Option 1 (Work with TCP/IP interfaces).
  14. Select option 1 (Add) to show the Add TCP/IP Interface display, and press Enter.
  15. Enter the following values to create a new TCP/IP interface and press Enter:
    • Internet address: 192.168.1.3
    • Line description: Eth01
    • Subnet mask: 255.255.255.128
    Important: These addresses are used for example purposes only. You need to enter the values that pertain to your own network.
  16. Press F3 to return to the Configure TCP/IP menu.
  17. On the Configure TCP/IP menu, select option 2 (Work with TCP/IP routes).
  18. Select option 1 (Add) to go to the Add TCP/IP Route (ADDTCPRTE) display, and press Enter.
  19. Enter the following values to create a route and press Enter:
    • Route destination: *DFTROUTE
    • Subnet mask: *NONE
    • Next hop: 192.168.1.1
    Note: If you are not connected to another network, this route is unnecessary. It is added here because this company knows it will connect to the Internet in the future.
  20. Select option 10 (Work with TCP/IP Host Table Entries) from the Configure TCP/IP menu, and press Enter.
  21. Select option 1 (Add) to go to the Add TCP/IP Host Table Entry display, and press Enter.
  22. Enter the following values to add a host table entry and press Enter:
    • IP address: 192.168.1.3
    • Host names: iseriesa.sampson.com
    • Name: iseriesa
  23. Repeat Step 22 for each system on your network. Because the server is not configured as a Domain Name System (DNS), each system must have host table entries. For example, to allow iSeries A to communicate with workstation 1 (192.168.1.4/wstn1), add an additional host table entry: IP address: 192.168.1.4, Host name: wstn1.sampson.com, and Name: wstn1. If this is not realistic for your network environment, see the DNS configuration topic in the information center.
  24. On the command line, type STRTCP to start TCP/IP. This should also start your interfaces and lines.