Adding a TCP/IP address on IBM i

To configure an additional TCP/IP address for IBM® i, complete this task.

About this task

If you did not need to assign additional TCP/IP addresses, you can skip this topic.

Procedure

  1. From any IBM i command line, type the following command and press Enter:
    CFGTCP
  2. Select option 1 to work with TCP/IP interfaces.
  3. On the Work with TCP/IP Interfaces display, type a 1 in the Opt column and press Enter to add a TCP/IP interface.
  4. On the Add TCP/IP Interface display, enter the following information:
    • Internet Address

      Specify the TCP/IP address you want to add. For example, enter 10.1.2.4.

    • Line Description

      Specify the name of the line description for your LAN adapter. For example, enter TRNLINE.

    • Subnet Mask

      Specify the subnet mask that is appropriate for your interface. For example, enter 255.255.255.0.

  5. Press Enter to add the new interface, and return to the Work with TCP/IP Interfaces display.
  6. To start an interface, type a 9 in the field preceding it, and press Enter.