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:
- Create an i5/OS® TCP/IP interface on partition A. To create the interface, follow these steps:
- On the command line on partition A, type CFGTCP, and then press Enter to see the Configure TCP/IP panel.
- Select Option 1 (Work with TCP/IP Interfaces), and then press Enter.
- Select Option 1 (Add), and then press Enter to see the Add TCP/IP Interface (ADDTCPIFC) panel.
- At the Internet address prompt, type '10.1.1.2'.
- At the Line description prompt, type the name of your line description, such as ETHLINE.
- At the Subnet mask prompt, type '255.255.255.0'.
- Start the interface. On the Work with TCP/IP Interfaces panel, select Option 9 (Start) by the interface.
- 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.
Parent topic:
TCP/IP routing methodPrevious topic: Step 3: Turning on IP datagram forwarding