From 5d1efadb0b9e7ba86398dfaa827d22533a8a20b5 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Thu, 19 Oct 2017 19:09:55 +0200 Subject: [PATCH] veth.4: SHow command used to move a veth device into another network namespace Reported-by: Tomas Pospisek Signed-off-by: Michael Kerrisk --- man4/veth.4 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/man4/veth.4 b/man4/veth.4 index 842318e31..da7610b1f 100644 --- a/man4/veth.4 +++ b/man4/veth.4 @@ -61,6 +61,15 @@ A particularly interesting use case is to place one end of a .B veth pair in one network namespace and the other end in another network namespace, thus allowing communication between network namespaces. +To do this, one first creates the +.B veth +device as above and then moves one side of the pair to the other namespace: +.PP +.in +4n +.EX +# ip link set netns +.EE +.in .PP .BR ethtool (8) can be used to find the peer of a