agdsn / hades

AG DSN Authentication and Authorization Infrastructure
MIT License
8 stars 3 forks source link

Create network namespaces with systemd #84

Closed sebschrader closed 5 years ago

sebschrader commented 5 years ago

systemd supports network namespaces with PrivateNetwork=yes and JoinsNamespaceOf=. With a little trick, the namespace created by systemd can be made available to ip netns (as shown in systemd/systemd#2741).

Each network namespace gets its own service unit and network configuration is handled by ifupdown instead of a custom script.