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 and start a TCP/IP interface on partition B for general communication to and from the system:
    1. On the command line on partition B, 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 ETHLINE.
    6. At the Subnet mask prompt, type 255.255.255.0.
    7. Start the interface. On the Work with TCP/IP Interfaces window, select Option 9 (Start) by the interface.
  2. On partition B, create and start another TCP/IP interface that connects to the external network. You must use the same line description as your existing external TCP/IP interface.

    Repeat the above steps to create the interface. Specify 10.1.1.3 for the Internet address prompt and use the same values for the other prompts. This interface eventually performs the address translation for your partition.

  3. Create and start the TCP/IP interface on partition A for the virtual Ethernet:
    1. On the command line on partition A, type CFGTCP (Configure TCP/IP command), and 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 press Enter to see the Add TCP/IP Interface (ADDTCPIFC) window.
    4. At the Internet address prompt, type 192.168.1.1.
    5. At the Line description prompt, type VETH0.
    6. At the Subnet mask prompt, type 255.255.255.0.
    7. Start the interface. On the Work with TCP/IP Interfaces window, select Option 9 (Start) by the interface.
  4. Create and start the TCP/IP interface on partition B for the virtual Ethernet:

    On partition B, repeat the above steps to create the interface. Specify 192.168.1.5 for the Internet address prompt and use the same values for the other prompts.