Ubuntu Pastebin

Paste from jdstrand at Thu, 25 Aug 2016 15:46:19 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
       For applications that are aware of network namespaces, the convention is
       to look for global network configuration files first in /etc/netns/NAME/
       then in /etc/.  For example, if you want a different version of
       /etc/resolv.conf for a network namespace used to isolate your vpn you
       would name it /etc/netns/myvpn/resolv.conf.

       ip netns exec automates handling of this configuration, file convention
       for network namespace unaware applications, by creating a mount namespace
       and bind mounting all of the per network namespace configure files into
       their traditional location in /etc.
Download as text