Adding IPv4 interfaces

You can use either IBM Navigator for i or the character-based interface to create IPv4 interfaces for your system, including local area network interfaces, wide area network interfaces, and virtual IPv4 interfaces.

Note: To run the ADDTCPIFC command, you must have *IOSYSCFG special authority.

To create a normal IPv4 interface by using the character-based interface, follow these steps:

  1. On the command line, type ADDTCPIFC (Add TCP/IP Interface command) and press F4 (Prompt) to access the Add TCP/IP Interface menu.
  2. At the Internet address prompt, specify a valid IPv4 address.
  3. At the Line description prompt, specify a line name (use any name) and press Enter to see a list of optional parameters.
  4. Specify any of the other optional parameters that you want, and then press Enter.

To create a virtual IPv4 interface by using the character-based interface, follow these steps:

  1. On the command line, type ADDTCPIFC (Add TCP/IP Interface command) and press F4 (Prompt) to access the Add TCP/IP Interface menu.
  2. At the Internet address prompt, specify a valid IPv4 address.
  3. At the Line description prompt, type *VIRTUALIP and press Enter to see a list of optional parameters.
  4. At the Preferred interfaces prompt, complete one of the following steps:
    • If you do not want to specify any preferred interfaces at this time, keep the default value *NONE.
    • Type a plus sign (+) by the + for more values prompt and press Enter. Then, in the Specify More Values for Parameter PREFIFC menu, specify valid IPv4 addresses that represent preferred IPv4 interfaces one by one, and then press Enter.
    Note: You can specify up to 10 IPv4 interfaces in order of preference. Each interface must be a normal IPv4 interface.
  5. Ensure that you specify all the other optional parameters correctly, and then press Enter to submit.

To create an IPv4 DHCP interface by using the character-based interface, follow these steps:

  1. On the command line, type ADDTCPIFC (Add TCP/IP Interface command) and press F4 (Prompt) to access the Add TCP/IP Interface menu.
  2. At the Internet address prompt, specify *IP4DHCP.
  3. At the Line description prompt, specify a line name (use any name) and press Enter to see a list of optional parameters.
  4. Specify any of the other optional parameters that you want, and then press Enter.