namespaces.7, network_namespaces.7: Move content from namespaces(7) to network_namespaces(7)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-12-08 10:23:09 +01:00
parent 9f7ce0c2e8
commit 2685b303e3
2 changed files with 31 additions and 33 deletions

View File

@ -365,31 +365,8 @@ option.
.\" ==================== Network namespaces ====================
.\"
.SS Network namespaces (CLONE_NEWNET)
Network namespaces provide isolation of the system resources associated
with networking: network devices, IPv4 and IPv6 protocol stacks,
IP routing tables, firewalls, the
.I /proc/net
directory, the
.I /sys/class/net
directory, port numbers (sockets), and so on.
A physical network device can live in exactly one
network namespace.
A virtual network
.RB ( veth (4))
device pair provides a pipe-like abstraction
.\" FIXME . Add pointer to veth(4) page when it is eventually completed
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.
.PP
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).
.PP
Use of network namespaces requires a kernel that is configured with the
.B CONFIG_NET_NS
option.
See
.BR network_namespaces (7).
.\"
.\" ==================== Mount namespaces ====================
.\"
@ -445,8 +422,8 @@ and
.BR cgroup_namespaces (7),
.BR cgroups (7),
.BR credentials (7),
.BR network_namespaces (7),
.BR pid_namespaces (7),
.BR user_namespaces (7),
.BR ip-netns (8),
.BR lsns (8),
.BR switch_root (8)

View File

@ -27,13 +27,34 @@
.SH NAME
network_namespaces \- overview of Linux network namespaces
.SH DESCRIPTION
/sys/class/net -- see sysfs(5)
/proc/net
/var/run/netns
.SH EXAMPLE
.\" FIXME: /sys/class/net -- see sysfs(5)
.\" FIXME : /proc/net
.\" FIXME : /var/run/netns
Network namespaces provide isolation of the system resources associated
with networking: network devices, IPv4 and IPv6 protocol stacks,
IP routing tables, firewalls, the
.I /proc/net
directory, the
.I /sys/class/net
directory, port numbers (sockets), and so on.
A physical network device can live in exactly one
network namespace.
A virtual network
.RB ( 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.
.PP
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).
.PP
Use of network namespaces requires a kernel that is configured with the
.B CONFIG_NET_NS
option.
.\" FIXME .SH EXAMPLE
.SH SEE ALSO
.BR nsenter (1),
.BR unshare (1),