Libnetwork is the networking stack designed from the ground-up to work with Docker regardless of platforms, environments, operating systems, or infrastructures. Libnetwork is not only an interface for the network driver. It's not only a library to manage VLAN or VXLAN networks but it does more.
Libnetwork is a full networking stack and consists of three planes, the Management Plane, the Control Plane, and the Data Plane as shown in the following diagram:
The Management Plane allows users, operators, or tools to manage the network infrastructure. These operations include network monitoring. The Management Plane represents the Docker network user experiences, provides the APIs. It's also extensible via management plugins, such as IPAM plugins, which, for example, allows us to control how we assign IP addresses to each container.
The Control Plane is implemented in the -scoped gossip protocol, service-discovery, encryption key distribution is added directly.
In brief, the Data Plane...