info > network_namespaces(7)

Not found locally for network_namespaces. Try Google search

πŸ”– NAME

network_namespaces - overview of Linux network namespaces

πŸš€ Quick Reference

Use CaseCommandDescription
🌐 Create new network namespaceip netns add <name>Create a named network namespace for isolation
▢️ Run command in namespaceip netns exec <name> <cmd>Execute command within a specific network namespace
πŸ”— Link veth pairip link add veth0 type veth peer name veth1Create virtual ethernet pair to connect namespaces
πŸ“¦ Move device to namespaceip link set <dev> netns <name>Assign a network device to a namespace
πŸ” List namespacesip netns listShow all network namespaces on the system

πŸ“– DESCRIPTION

Network namespaces provide isolation of the system resources associated with networking:

A physical network device can live in exactly one network namespace. When a network namespace is freed (i.e., when the last process in the namespace terminates), its physical network devices are moved back to the initial network namespace (not to 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

πŸ“„ COLOPHON

This page is part of release 5.10 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https://www.kernel.org/doc/man-pages/.

network_namespaces(7)
πŸ”– NAME πŸš€ Quick Reference πŸ“– DESCRIPTION πŸ“š SEE ALSO πŸ“„ COLOPHON

Generated by phpman v4.10.0-16-g1a0e228 Author: Che Dong Under GNU General Public License
2026-09-22 17:26 @216.73.217.0
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!