Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
iproute2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
iproute2
Commits
599fc319
Commit
599fc319
authored
Mar 24, 2015
by
Vadim Kochan
Committed by
Stephen Hemminger
Mar 24, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
man ip-netns: Fix syntax in default ns process, indent's
Signed-off-by:
Vadim Kochan
<
vadim4j@gmail.com
>
parent
d5910297
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
man/man8/ip-netns.8
man/man8/ip-netns.8
+13
-5
No files found.
man/man8/ip-netns.8
View file @
599fc319
...
@@ -46,7 +46,7 @@ ip-netns \- process network namespace management
...
@@ -46,7 +46,7 @@ ip-netns \- process network namespace management
A network namespace is logically another copy of the network stack,
A network namespace is logically another copy of the network stack,
with its own routes, firewall rules, and network devices.
with its own routes, firewall rules, and network devices.
By default
process inher
its network namespace from its parent. Initially all
By default
a process inherits
its network namespace from its parent. Initially all
the processes share the same default network namespace from the init process.
the processes share the same default network namespace from the init process.
By convention a named network namespace is an object at
By convention a named network namespace is an object at
...
@@ -103,10 +103,18 @@ option was specified then all the network namespace names will be removed.
...
@@ -103,10 +103,18 @@ option was specified then all the network namespace names will be removed.
It is possible to lose the physical device when it was moved to netns and
It is possible to lose the physical device when it was moved to netns and
then this netns was deleted with a running process:
then this netns was deleted with a running process:
$ ip netns add net0
.RS 10
$ ip link set dev eth0 netns net0
$ ip netns add net0
$ ip netns exec net0 SOME_PROCESS_IN_BACKGROUND
.RE
$ ip netns del net0
.RS 10
$ ip link set dev eth0 netns net0
.RE
.RS 10
$ ip netns exec net0 SOME_PROCESS_IN_BACKGROUND
.RE
.RS 10
$ ip netns del net0
.RE
and eth0 will appear in the default netns only after SOME_PROCESS_IN_BACKGROUND
and eth0 will appear in the default netns only after SOME_PROCESS_IN_BACKGROUND
will exit or will be killed. To prevent this the processes running in net0
will exit or will be killed. To prevent this the processes running in net0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment