Linux Networking Refresh: Network Namespaces
In a previous tutorial we talked about network routing. Now we are going to discuss Linux network namespaces. We will start with two namespaces that can’t even ping themselves, connect them with a virtual cable, replace that cable with a bridge, give the host a leg on that bridge, and then work our way outward - routing, forwarding, NAT, route specificity, and finally port forwarding back in. Everything is done by hand with ip and iptables to exercise the concepts.