Networking modes
Windows Containers can use any of the four available networking modes (or drivers) to expose containers to the outside world. The networking mode chosen by the container decides how the container will be accessible from outside, how IP addresses are assigned and how networking policy can be applied. Apart from NAT networking mode, we've learned that the Windows Server 2016 networking stack offers three more modes for networking: transparent, L2 bridge and L2 tunnel. These are described in the next section.
Transparent
In transparent networking mode, each container is directly connected to the host's network (unlike NAT where containers use container host's IP to connect to the outside network). This mode is most familiar to Hyper-V users. Containers use the VM switch to connect to the network connected by the switch as shown in the following image:
Traffic is routed from the containers to the NIC via the v-Switch directly. Containers can be assigned IP addresses statically...