0% found this document useful (0 votes)
12 views17 pages

The Fundamentals of Container Networking Slides

The document discusses the architecture and components of container networks, emphasizing the Container Network Model (CNM) and its implementation through Libnetwork and plugin drivers. It outlines key elements such as network namespaces, endpoints, and the use of technologies like VXLAN and MACVLAN for networking. Additionally, it describes the configuration of Ethernet interfaces and IP addressing within container environments.

Uploaded by

Suresh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views17 pages

The Fundamentals of Container Networking Slides

The document discusses the architecture and components of container networks, emphasizing the Container Network Model (CNM) and its implementation through Libnetwork and plugin drivers. It outlines key elements such as network namespaces, endpoints, and the use of technologies like VXLAN and MACVLAN for networking. Additionally, it describes the configuration of Ethernet interfaces and IP addressing within container environments.

Uploaded by

Suresh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 17

The Role of Container Networks

Container Networks…
…built from standard networking components.
<app>
IEEE 802.3-x
10/100/1000/10GBASE-T
CSMA/CD
eth0: Link encap:Ethernet
inet addr: 10.0.0.32
inet6 addr: fe80::... 10.0.0.32 resolv.conf
UP BROADCAST MULTICAST
<app>
Connect to service
IEEE 802.3-x
10/100/1000/10GBASE-T
CSMA/CD
eth0: Link encap:Ethernet
inet addr: 10.0.0.32
inet6 addr: fe80::... 10.0.0.32 resolv.conf
UP BROADCAST MULTICAST
Up Next:
Container Network Model and Architecture
Container Network Model and Architecture
</>

CNM Libnetwork Plugin drivers


Design spec Implementation Network topology
Container Network Model (CNM)

- eth0
- IP
- DNS config
- Routing table
- ports

Sandbox Endpoint Network


net namespace veth pair
Container (collection of namespaces) Namespace
Container Network Model (CNM)

Sandbox (network namespace) Endpoint (Ethernet interface) Network (collection of sandbox/endpoints)


</>

CNM Libnetwork Plugins


Design spec Implements CNM Network topology

VXLAN overlay = multi-host networking MACVLAN = connect to corporate VLANs


</>

CNM Libnetwork Plugins


Design spec Implements CNM Network topology

VXLAN overlay = multi-host networking MACVLAN = connect to corporate VLANs


10.0.0.9

802.1d bridge (a.k.a. layer 2 switch)


IP range: 10.0.0.1/24

veth port pair


10.0.0.8 10.0.0.9 10.0.0.10

802.1d bridge (a.k.a. layer 2 switch)


IP range: 10.0.0.1/24

veth port pair


10.10.10.12 10.10.10.30 10.10.10.99

802.1d bridge (a.k.a. layer 2 switch) 802.1d bridge (a.k.a. layer 2 switch)
IP range: 10.0.0.0/24 IP range: 10.10.10.0/24
… …

You might also like