commit:     407f763feb33955ddd4a2ef3219960270a8e43bf
Author:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 25 03:24:21 2020 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu Mar 11 16:53:33 2021 +0000
URL:        https://gitweb.gentoo.org/proj/netifrc.git/commit/?id=407f763f

net.example: Add example for network namespace support

Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 doc/net.example.Linux.in | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/doc/net.example.Linux.in b/doc/net.example.Linux.in
index 2dc05c1..427b2da 100644
--- a/doc/net.example.Linux.in
+++ b/doc/net.example.Linux.in
@@ -1333,6 +1333,15 @@
 # Wireguard can also be configured by passing explicit settings
 #wireguard_wg0="private-key /path/to/whatever listen-port 1234 peer ABCDEF= 
endpoint 1.2.3.4:2468"
 
+# Network namespace support 
+# If an interface is configured with a network namespace, it will be moved
+# in to that namespace before being started. This does not have any 
functionality
+# to move interfaces out of network namespaces. The next time the interfaces is
+# started, it will simply start the interface inside the namespace.
+#
+# Note that not all functionality has been updated to work with network 
namespace
+#netns_eth0="mynetns"
+
 ##############################################################################
 # ADVANCED CONFIGURATION
 #

Reply via email to