๐ŸŽ New User? Get 20% off your first purchase with code NEWUSER20 ยท โšก Instant download ยท ๐Ÿ”’ Secure checkout Register Now โ†’
Menu

Categories

Linux Advanced

What is Network Namespace?

A Linux kernel feature that provides isolated network stacks with independent interfaces, routing tables, and firewall rules.

Network namespaces create completely separate networking environments within a single Linux host. Each namespace has its own network interfaces, IP addresses, routing table, firewall rules, and port space. Processes in different namespaces cannot see each other's network configuration. This is foundational to container networking โ€” Docker and Kubernetes use network namespaces to give each container its own network stack. Virtual Ethernet (veth) pairs connect namespaces, while bridge devices enable communication between them. Administrators can create and manage namespaces with ip netns commands.

Related Terms

Top/Htop
Interactive process viewers that display real-time system resource usage including CPU, memory, and running processes.
Systemctl
The primary command for managing systemd services, including starting, stopping, enabling, and checking service status.
Logrotate
A utility that manages automatic rotation, compression, and removal of log files to prevent disk space exhaustion.
LVM (Logical Volume Manager)
A storage management framework that provides flexible disk management through abstract layers of physical and logical volumes.
Chroot
A mechanism that changes the apparent root directory for a process and its children, creating an isolated filesystem view.
Iptables
The traditional Linux firewall tool that filters network packets using configurable chains of rules organized in tables.
View All Linux Terms โ†’