man > network_namespaces(7)

network_namespaces(7)             Miscellaneous Information Manual             network_namespaces(7)

NAME
       network_namespaces - overview of Linux network namespaces

DESCRIPTION
       Network namespaces provide isolation of the system resources associated with networking: net‐
       work devices, IPv4 and IPv6 protocol stacks, IP routing tables, firewall rules, the /proc/net
       directory  (which is a symbolic link to /proc/pid/net), the /sys/class/net directory, various
       files under /proc/sys/net, port numbers (sockets), and so on.   In  addition,  network  name‐
       spaces isolate the UNIX domain abstract socket namespace (see unix(7)).

       A  physical  network  device can live in exactly one network namespace.  When a network name‐
       space is freed (i.e., when the last process in the namespace terminates), its  physical  net‐
       work  devices  are  moved  back to the initial network namespace (not to the namespace of the
       parent of the process).

       A virtual network (veth(4)) device pair provides a pipe-like abstraction that can be used  to
       create  tunnels  between network namespaces, and can be used to create a bridge to a physical
       network device in another namespace.  When a namespace is freed, the veth(4) devices that  it
       contains are destroyed.

       Use of network namespaces requires a kernel that is configured with the CONFIG_NET_NS option.

SEE ALSO
       nsenter(1),  unshare(1),  clone(2),  veth(4),  proc(5),  sysfs(5),  namespaces(7), user_name‐
       spaces(7), brctl(8), ip(8), ip-address(8), ip-link(8), ip-netns(8), iptables(8), ovs-vsctl(8)

Linux man-pages 6.7                          2023-10-31                        network_namespaces(7)

Generated by phpman v4.9.26-5-g7740029 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-24 16:08 @216.73.217.23
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!