Debian Codegraph @

network/80-container-ve.network

raw
1 # SPDX-License-Identifier: MIT-0
2 #
3 # This config file is installed as part of systemd.
4 # It may be freely copied and edited (following the MIT No Attribution license).
5 #
6 # To make local modifications, use "networkctl edit". See networkctl(1) for details.
7 # This file should not be edited in place, because it'll be overwritten on upgrades.
8
9 # This .network file matches the host-side of the virtual Ethernet link
10 # created by systemd-nspawn's --network-veth switch. See systemd-nspawn(1) for
11 # details.
12
13 [Match]
14 Kind=veth
15 Name=ve-*
16
17 [Link]
18 RequiredForOnline=no
19
20 [Network]
21 # Default to using a /28 prefix, giving up to 13 addresses per container.
22 Address=0.0.0.0/28
23 LinkLocalAddressing=yes
24 DHCPServer=yes
25 IPMasquerade=both
26 LLDP=yes
27 EmitLLDP=customer-bridge
28 IPv6AcceptRA=no
29 IPv6SendRA=yes
30
31 [DHCPServer]
32 PersistLeases=runtime
33 LocalLeaseDomain=_dhcp