udev: String substitutions can be done in ENV, too
[systemd_ALT.git] / network / 80-vm-vt.network
blob7979871e2c053b23a775866bb581f12b6fc2ab31
1 # SPDX-License-Identifier: MIT-0
3 # This config file is installed as part of systemd.
4 # It may be freely copied and edited (following the MIT No Attribution license).
6 # To make local modifications, one of the following methods may be used:
7 # 1. add a drop-in file that extends this file by creating the
8 #    /etc/systemd/network/80-vm-vt.network.d/ directory and creating a
9 #    new .conf file there.
10 # 2. copy this file into /etc/systemd/network or one of the other paths checked
11 #    by systemd-networkd and edit it there.
12 # This file should not be edited in place, because it'll be overwritten on upgrades.
14 # This network file matches vt-* TUN/TAP devices and applies a similar
15 # configuration as ve-* to provide NAT/DHCP to VMs.
17 [Match]
18 Name=vt-*
19 Driver=tun
21 [Network]
22 # Default to using a /28 prefix, giving up to 13 addresses per VM.
23 Address=0.0.0.0/28
24 LinkLocalAddressing=yes
25 DHCPServer=yes
26 IPMasquerade=both
27 LLDP=yes
28 EmitLLDP=customer-bridge
29 IPv6SendRA=yes