SlideShare a Scribd company logo
Networks, Linux,
Containers, and Pods
Matt Turner
Docker Meetup, London UK | January 2020 @mt165 | mt165.co.uk
Interfaces and Bridges
Networks, Linux, Containers, Pods
eth0
enp0s2
eth0
enp0s2
192.168.0.10
eth0
enp0s2
192.168.0.10
ping
connect(“google.com”);
eth0
enp0s2
192.168.0.10
nginx
bind(“*:80”);
eth0
192.168.0.10
nginx
eth1
172.16.0.10
bind(“192.168.0.10:80”);
eth0
192.168.0.10
nginx
bind(“172.16.0.10:80”);
eth1
172.16.0.10
eth0
192.168.0.10e1000
e1000
eth0
192.168.0.10
hardware software
eth0
192.168.0.10e1000
foo0
eth0
192.168.0.10e1000
foo0
eth0
192.168.0.10e1000
foo0
packetd
eth0
192.168.0.10e1000
tun0
packetd172.16.0.10
eth0
192.168.0.10e1000
ping
tun0
packetd172.16.0.10
eth0
192.168.0.10e1000
tap0
packetd
172.16.0.10
DE:AD:BE:EF:00:00
eth0
e1000
tap0
packetd
br0
br0
eth0
e1000
tap0
packetd
br0
eth0
e1000
tap0
packetd
br0 192.168.0.10
br0
eth0
e1000
tap0
br0
192.168.0.10
qemu [+ kvm]
br0
eth0
e1000
tap0
br0
192.168.0.10
e1000
eth0
qemu
192.168.0.11
C0:FF:EE:C0:FF:EE
br0
eth0
e1000
br0
192.168.0.10
br0
eth0
e1000
br0
192.168.0.10
nginx
ping
br0
eth0
e1000
br0
192.168.0.10
nginx
ping
br0
eth0
e1000
br0
192.168.0.10
nginx
ping
veth0 veth1
br0
eth0
e1000
br0
192.168.0.10
nginx
ping
veth0 veth1
172.16.0.1 172.16.0.2
br0
eth0
e1000
br0
192.168.0.10
nginx
ping
veth0
veth1 172.16.0.2
br0
eth0
e1000
br0
192.168.0.10
nginx
ping
veth0
veth1
172.16.0.2
ftpd
br0
eth0
e1000
br0
192.168.0.10
nginx
ping
veth0
eth0
172.16.0.2
ftpd
br0
eth0
e1000
br0
192.168.0.10
nginx
ping
eth0
172.16.0.2
ftpd
“Containers”
nginx
nginx
net
“Containers”
nginx
nginx
mnt
pid
uts
user
ipc
net
Kubernetes Pods
nginx
nginx
mnt
pid
uts
user
ipc
net
proxy
envoy
mnt
pid
Kubernetes Pods
nginx
nginx
mnt
uts
user
ipc
net
proxy
envoy
mnt
pid
Kubernetes Pods
nginx
nginx
mnt
uts
user
ipc
net
proxy
envoy
mnt
192.168.0.42
eth0
lo
sockets
iptables
routes
pid
Kubernetes Pods
nginx
nginx
mnt
uts
user
ipc
net
proxy
envoy
mnt
192.168.0.42
eth0
lo
sockets
iptables
routes
:8080/tcp
pid
Kubernetes Pods
nginx
nginx
mnt
uts
user
ipc
net
proxy
envoy
mnt
192.168.0.42
eth0
lo
sockets
iptables
routes
:8080/tcp
pid
Sidecar Injection
uts
user
ipc
net
192.168.0.42
eth0
lo
sockets
iptables
routes
pid
Sidecar Injection
uts
user
ipc
net
192.168.0.42
eth0
lo
sockets
iptables
routes
docker.io/istio/proxyv2
/istio-iptables -p 15001 -u 1337 ...
pid
mnt
pid
Sidecar Injection
nginx
nginx
mnt
uts
user
ipc
net
docker.io/istio/proxyv2
envoy
mnt
192.168.0.42
eth0
lo
sockets
iptables
routes
:15001/tcp
Networks, Linux, Containers, Pods
Networks, Linux, Containers, Pods
Networks, Linux, Containers, Pods
foofoobarfoo
ContainerPort
foofoobarfoo
ContainerPort
foofoobarfoo
Cluster IP
ContainerPort
Port
foofoobarfoo
kube-proxy kube-proxy
Cluster IP
ContainerPort
Port
etcd
iptables
foofoobarfoo
kube-proxy kube-proxy
Cluster IP
iptables
TargetPort
ContainerPort
Port
etcd
foofoobarfoo
kube-proxy kube-proxy
Cluster IP
iptables
TargetPort
ContainerPort
Port
etcd
ipset
Thanks!
@mt165
Slides
Videos
Demo code
mt165.co.uk

More Related Content

PDF
Software Networking and Interfaces on Linux
PDF
Istio - The life of a packet
PDF
Matt Turner: Istio, The Packet's-Eye View (DevSecOps - London Gathering, Janu...
PDF
The Life of a Packet through Istio - DevExperience Romania, April 2019
PDF
The life of a packet through Istio - QCon London 2019
PDF
The life of a packet through Istio
PDF
LF_OVS_17_OVN and Containers - An update.
PDF
LF_OVS_17_OVS-DPDK Installation and Gotchas
Software Networking and Interfaces on Linux
Istio - The life of a packet
Matt Turner: Istio, The Packet's-Eye View (DevSecOps - London Gathering, Janu...
The Life of a Packet through Istio - DevExperience Romania, April 2019
The life of a packet through Istio - QCon London 2019
The life of a packet through Istio
LF_OVS_17_OVN and Containers - An update.
LF_OVS_17_OVS-DPDK Installation and Gotchas

What's hot (17)

PDF
LF_OVS_17_OVS/OVS-DPDK connection tracking for Mobile usecases
PDF
Offloading TC Rules on OVS Internal Ports
PDF
Nxll16 basic asa v8.2
PDF
Quality of Service Ingress Rate Limiting and OVS Hardware Offloads
PDF
Nxll09 access list
PDF
Nxll12 zone based firewall
PDF
LF_OVS_17_OVS-DPDK: Embracing your NUMA nodes.
PDF
Ubuntu: Setup development environment for ruby on rails
PDF
Eincop Netwax Lab: EIGRP ii
PDF
Docker-OVS
PPTX
Neutron Deep Dive
PDF
Eincop Netwax Lab: Access List ii
PDF
Eincop Netwax Lab: EIGRP iii
PPTX
Reference CNF development journey and outcomes
PDF
Nxll23 i pv6
PDF
Nxll25 hsrp with failover
LF_OVS_17_OVS/OVS-DPDK connection tracking for Mobile usecases
Offloading TC Rules on OVS Internal Ports
Nxll16 basic asa v8.2
Quality of Service Ingress Rate Limiting and OVS Hardware Offloads
Nxll09 access list
Nxll12 zone based firewall
LF_OVS_17_OVS-DPDK: Embracing your NUMA nodes.
Ubuntu: Setup development environment for ruby on rails
Eincop Netwax Lab: EIGRP ii
Docker-OVS
Neutron Deep Dive
Eincop Netwax Lab: Access List ii
Eincop Netwax Lab: EIGRP iii
Reference CNF development journey and outcomes
Nxll23 i pv6
Nxll25 hsrp with failover
Ad

Similar to Networks, Linux, Containers, Pods (20)

PDF
PDF
Understanding docker networking
PDF
WebRTC 101 - How to get started building your first WebRTC application
DOCX
Useful Linux commands
PDF
Cncf k8s_network_part1
PPT
Linux networking
PDF
Virtual IoT Meetup: Connecting Sensor Networks
PDF
BGP Prime
PPTX
103 Basic network concepts
PDF
Kamery, światło, akcja!
ODP
Networking
PPTX
IoT with openHAB on pcDuino3B
PDF
Zenoh: The Genesis
PDF
Chap 18 net
PDF
High-performance packet filtering with Pflua (FOSDEM 2015)
PDF
Howto ethereal-wireshark-trace en
PDF
HTTP and 5G (fixed1)
PPTX
Building IoT infrastructure on edge with .net, Raspberry PI and ESP32 to conn...
PDF
Handy Networking Tools and How to Use Them
TXT
Dp lan wnt6-x86_1112_vista-7-x86
Understanding docker networking
WebRTC 101 - How to get started building your first WebRTC application
Useful Linux commands
Cncf k8s_network_part1
Linux networking
Virtual IoT Meetup: Connecting Sensor Networks
BGP Prime
103 Basic network concepts
Kamery, światło, akcja!
Networking
IoT with openHAB on pcDuino3B
Zenoh: The Genesis
Chap 18 net
High-performance packet filtering with Pflua (FOSDEM 2015)
Howto ethereal-wireshark-trace en
HTTP and 5G (fixed1)
Building IoT infrastructure on edge with .net, Raspberry PI and ESP32 to conn...
Handy Networking Tools and How to Use Them
Dp lan wnt6-x86_1112_vista-7-x86
Ad

More from Matt Turner (19)

PDF
The Life of a Packet through Istio III
PDF
Automated Cloud-Native Incident Response with Kubernetes and Service Mesh
PDF
apiserver-Only "Clusters" for fun and profit
PDF
Istio + SPIRE for cross-domain traffic trust in hybrid-cloud scenarios
PDF
Why Is Istio That Shape?
PDF
Dynamically Testing Individual Microservice Releases In Production
PDF
Gateway APIs, Envoy Gateway, and API Gateways
PDF
The Life of a Packet III - Service Mesh London
PDF
Cloud-Native Progressive Delivery
PDF
An Introduction to Bazel
PDF
What is a Service Mesh and what can it do for your Microservices
PDF
Debugging an RBAC Problem in Istio
PDF
Running Resillient Workloads with Istio - KubeCon China 2019
PDF
Running Resillient Workloads with Istio - OpenInfra Days 2019
PDF
Do You Need a Service Mesh? @ London Devops, January 2019
PDF
Istio, The Packet's-Eye View - KubeCon NA 2018
PDF
Bash is Testing
PDF
Fluency
PDF
An Introduction to User Space Filesystem Development
The Life of a Packet through Istio III
Automated Cloud-Native Incident Response with Kubernetes and Service Mesh
apiserver-Only "Clusters" for fun and profit
Istio + SPIRE for cross-domain traffic trust in hybrid-cloud scenarios
Why Is Istio That Shape?
Dynamically Testing Individual Microservice Releases In Production
Gateway APIs, Envoy Gateway, and API Gateways
The Life of a Packet III - Service Mesh London
Cloud-Native Progressive Delivery
An Introduction to Bazel
What is a Service Mesh and what can it do for your Microservices
Debugging an RBAC Problem in Istio
Running Resillient Workloads with Istio - KubeCon China 2019
Running Resillient Workloads with Istio - OpenInfra Days 2019
Do You Need a Service Mesh? @ London Devops, January 2019
Istio, The Packet's-Eye View - KubeCon NA 2018
Bash is Testing
Fluency
An Introduction to User Space Filesystem Development

Recently uploaded (20)

PPT
What is a Computer? Input Devices /output devices
PDF
DP Operators-handbook-extract for the Mautical Institute
PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
STKI Israel Market Study 2025 version august
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PPTX
observCloud-Native Containerability and monitoring.pptx
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
Web App vs Mobile App What Should You Build First.pdf
PDF
Architecture types and enterprise applications.pdf
PDF
project resource management chapter-09.pdf
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
August Patch Tuesday
PDF
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
PDF
WOOl fibre morphology and structure.pdf for textiles
What is a Computer? Input Devices /output devices
DP Operators-handbook-extract for the Mautical Institute
cloud_computing_Infrastucture_as_cloud_p
STKI Israel Market Study 2025 version august
A comparative study of natural language inference in Swahili using monolingua...
NewMind AI Weekly Chronicles - August'25-Week II
observCloud-Native Containerability and monitoring.pptx
gpt5_lecture_notes_comprehensive_20250812015547.pdf
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
Univ-Connecticut-ChatGPT-Presentaion.pdf
Web App vs Mobile App What Should You Build First.pdf
Architecture types and enterprise applications.pdf
project resource management chapter-09.pdf
NewMind AI Weekly Chronicles – August ’25 Week III
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
August Patch Tuesday
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
WOOl fibre morphology and structure.pdf for textiles

Networks, Linux, Containers, Pods