Step 6: Defining a host table

You might want to use a host table other than a DNS server to resolve your IP addresses. You can ignore this step if you only use a DNS server.

Like a DNS server, a host table is used to associate IP addresses with host names so that you can use easily remembered names for your system. The host table supports both IPv4 and IPv6 addresses.

To define a host table using the character based interface, follow these steps:

  1. On the command line, type CFGTCP (Configure TCP/IP command) and press Enter to access the Configure TCP/IP menu.
  2. Select Option 10 (Work with TCP/IP Host Table Entries), and then press Enter.
  3. Specify 1 (Add) for the Opt prompt and press Enter to access the Add TCP/IP Host Table Entry menu.
  4. At the Internet address prompt, specify the IP address you defined in Step 3.
  5. At the Host name prompt, specify the associated fully qualified local host name, and then press Enter. Specify a plus sign (+) by the + for more values prompt to make space available for more than one host name, if necessary.
    Note: You can specify up to 65 host names for a single host table entry (IP address).
  6. Repeat steps 1 through 5 for each of the other hosts on the network to which you want to communicate with by name, and add an entry for each.

After defining a host table, you can use either the character-based interface or System i® Navigator to change the configurations.