Linux Namespace&bridge Popular Romance Linux interface type
BR0 eth0: an interface
Veth: A pair of interfaces, similar to a network cable, one end has an address, the other end connected to another,
Linux 2 namespace connectivity
The different namespace are isolated. Want them to pass, need to use network cable to connect up (veth type mouth, one to ns1, the other end to NS2)
Linux 3 Namespace connectivity
2 NS Even universal Veth say, 3 NS Even the general Veth looks troublesome. with Br0
Same host, communication between different BR
BR Communication between different hosts
1,开启转发2,开启iptables forward链. echo 1 > /proc/sys/net/ipv4/ip_forwardiptables -P FORWARD ACCEPT
Docker0 Default Bridge Forwarding posture
One namespace per container
Reference: http://blog.daocloud.io/docker-bridge/
Kubernetes Network Fundamentals
One namespace per pod
Inter-container communication
Pod communication between the same host
Inter-host pod communication
[Svc]linux bridge&docker0&k8s pod network model Popular Romance