0

Running on Ubuntu 18.04. Here is an example via command-line:

sudo ip netns add testBB
sudo ip netns list
sudo ip netns exec testBB ip link set vnet4 netns testBB
sudo ip netns exec testBB ip link set eno3.50 netns testBB
sudo ip netns exec testBB ip link set vnet4 up
sudo ip netns exec testBB ip link set eno3.50 up

But this is not permanent. I would like to set up above configuration in /etc/netplan/eno3.yaml.

How can I do that?

0

Netplan does not have any support for network namespaces at this time. You would need to manage this elsewhere on the system, not as part of netplan yaml.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.