README 536 B

12345678910111213141516171819
  1. # ifupdown-netns
  2. Some simple scripts to simplify configuring network namespaces on Debian-like
  3. systems. Copy them into the corresponding directories under `/etc/network`.
  4. To configure an interface in a namespace:
  5. ```
  6. auto eth1
  7. iface eth1 inet manual
  8. netns myns
  9. ```
  10. On invocation of `ifup` it will create the necessary directories under
  11. `/etc/netns/` and an empty `/etc/netns/<namespace>/network/interfaces` file if
  12. it doesn't already exist.
  13. If it does and the interface is configured it will invoke `ifup` inside the
  14. namespace.