| | 10 | |
| | 11 | 2. Once the image is loaded, create the desired tun/tap devices using the command |
| | 12 | tunctl |
| | 13 | |
| | 14 | 3. Setup appropriate IP addresses for the tap interface. |
| | 15 | |
| | 16 | 4. Ensure IP forwarding is enabled on the host. This can be done by: |
| | 17 | "host# echo 1> /proc/sys/net/ipv4/ip_forward" |
| | 18 | |
| | 19 | 5. Also set proxy_arp by: |
| | 20 | "host#ech0 1 > /proc/sys/net/ipv4/conf/tap0/proxy_arp" |
| | 21 | |
| | 22 | 6. Make appropriate changes to the kernel routing table to ensure |
| | 23 | packets can be sent to and from the interface. |
| | 24 | |
| | 25 | 7. Start the UML instance |
| | 26 | |
| | 27 | |
| | 28 | |