Masquerade containers with one host IP
This configuration enables the creation of N containers with private IP network addresses.
The communication with external LAN is thought source-NAT (Masquerade) and destination-NAT with a firewall configuration at the hosts.
The final structure of the network is the following:
Where:
- eth0 is the external interface of the host
- dummy0 is a virtual interface of the host
- lxc-br0 is a Linux bridge
Return to LXC networking page.