80-container-ve.network 678 B

1234567891011121314151617181920212223
  1. # This file is part of systemd.
  2. #
  3. # systemd is free software; you can redistribute it and/or modify it
  4. # under the terms of the GNU Lesser General Public License as published by
  5. # the Free Software Foundation; either version 2.1 of the License, or
  6. # (at your option) any later version.
  7. # This network file matches the host-side of the virtual Ethernet link
  8. # created by systemd-nspawn's --network-veth switch. See systemd-nspawn(1) for
  9. # details.
  10. [Match]
  11. Name=ve-*
  12. Driver=veth
  13. [Network]
  14. # Default to using a /28 prefix, giving up to 13 addresses per container.
  15. Address=0.0.0.0/28
  16. LinkLocalAddressing=yes
  17. DHCPServer=yes
  18. IPMasquerade=yes
  19. LLDP=yes
  20. EmitLLDP=customer-bridge