Container network routing
The following table summarizes the behavior of container traffic when connected in different networking modes.
Single node
The following table explains how a container network is routed across container hosts in a single networking mode:
Container-container traffic | Container-external traffic | |
NAT | Connection is established using Hyper-V virtual switch. | Routed via WinNAT using MAC Address translation. |
Transparent | Connection is established using Hyper-V virtual switch. | Containers have direct access to the physical network of the host. |
L2 bridge | Connection is established using Hyper-V virtual switch. | Containers have direct access to a physical network with MAC address translation. |
Multinode
The following table explains how a container network is routed across container hosts in different networking modes:
Container-container traffic | Container-external traffic | |
NAT | Traffic is routed using the container host's IP and endpoint using WinNAT. | Traffic is routed using the container host's IP and... |