Step 4: Creating the interfaces

To allow traffic between your virtual Ethernet network and the external network, you need to create several TCP/IP interfaces for your system.

To create the TCP/IP interfaces, complete these steps:

  1. Create an IBM® i TCP/IP interface on partition A. To create the interface, follow these steps:
    1. On the command line on partition A, type CFGTCP (Configure TCP/IP command), and then press Enter to see the Configure TCP/IP window.
    2. Select Option 1 (Work with TCP/IP Interfaces), and then press Enter.
    3. Select Option 1 (Add), and then press Enter to see the Add TCP/IP Interface (ADDTCPIFC) window.
    4. At the Internet address prompt, type 10.1.1.2.
    5. At the Line description prompt, type the name of your line description, such as ETHLINE.
    6. At the Subnet mask prompt, type 255.255.255.0.
  2. Start the interface. On the Work with TCP/IP Interfaces window, select Option 9 (Start) by the interface.
  3. Repeat steps 2 and 3 to create and start the TCP/IP interfaces on partition A and partition B.

    These interfaces are used for the virtual Ethernet. Use IP addresses 10.1.10.1 and 10.1.10.2 for these interfaces and the subnet mask 255.255.255.0.