If you have been working with container virtualization and orchestration software like Docker and Kubernetes, then you probably have heard of network namespace.
Recently, I started exploring the Linux ip command. In this post, I will show you how to use the command to connect processes in two different network namespaces, on different subnets, over a pair of veth interfaces.
About Network Namespace
Container runtime uses the namespace kernel feature to partition system resources to achieve a form of process isolation, such that changes to the resources in one namespace do not affect that in other namespaces. Example of such resources include process IDs, hostnames, user IDs, file names, and network interfaces.

#namespaces #network #containers #linux #ip

Create Your Own Network Namespace
1.45 GEEK