Configuring TCP/IP

 

Use this procedure to 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 Configuration Descriptions menu, type 1 and press Enter to display the Create Line Description (Ethernet) (CRTLINETH) menu.

  4. In the Line Description field, enter a description for the line. In this example, the network administrator chose Eth01.

  5. Enter the information for the Line speed and Duplex fields. Ensure that these values match the port on the switch connecting to the system. In this example, 100M and *HALF are used. *AUTO and *AUTO are preferred if your switch supports this capability. Press Enter.

  6. Press F10 to view additional parameters. You might have to press Page Down to view them.

  7. Change the Link speed field to match the line speed you entered previously (in this example, 100M).

  8. Accept all other default values and press Enter.

  9. Press F3 to return to the Work with Communication Resources menu.

  10. Press F3 again to return to the Command entry menu.

  11. At the command line, type CFGTCP to display the Configure TCP/IP menu.

  12. On the Configure TCP/IP menu, select Option 1 (Work with TCP/IP interfaces).

  13. Select Option 1 (Add) to show the Add TCP/IP Interface display, and press Enter.

  14. Enter the following values to create a new TCP/IP interface and press Enter:

    These addresses are used for example purposes only. You need to enter the values that pertain to your own network.

  15. Press F3 to return to the Configure TCP/IP menu.

  16. On the Configure TCP/IP menu, select Option 2 (Work with TCP/IP routes).

  17. Select Option 1 (Add) to go to the Add TCP/IP Route (ADDTCPRTE) display, and press Enter.

  18. Enter the following values to create a route and press Enter:

    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.

  19. Select Option 10 (Work with TCP/IP Host Table Entries) from the Configure TCP/IP menu, and press Enter.

  20. Select Option 1 (Add) to go to the Add TCP/IP Host Table Entry display, and press Enter.
  21. Enter the following values to add a host table entry and press Enter:

  22. Repeat Step 21 for each system on your network. Because the system is not configured as a Domain Name System (DNS), each system must have host table entries. For example, to allow System 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 Configuring Domain Name System topic in the information center.

  23. On the command line, type STRTCP to start TCP/IP. This should also start your interfaces and lines.

 

Parent topic:

Scenario: Setting up System i to communicate with LAN
Previous topic: Installing the TCP/IP Connectivity Utilities for i5/OS licensed program