๐ŸŽ 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

Sed
A stream editor for filtering and transforming text, commonly used for find-and-replace operations in files.
Top/Htop
Interactive process viewers that display real-time system resource usage including CPU, memory, and running processes.
Rsync
A fast, versatile file synchronization tool that efficiently transfers and syncs files between local and remote systems.
Sysfs (/sys)
A virtual filesystem that exports information about kernel subsystems, hardware devices, and device drivers in a structured hierarchy.
Daemon
A background process that runs continuously on a system, typically providing services like web serving or logging.
Logrotate
A utility that manages automatic rotation, compression, and removal of log files to prevent disk space exhaustion.
View All Linux Terms โ†’