1# SPDX-License-Identifier: CC0-1.0
2#
3# This config file is installed as part of systemd.
4# It may be freely copied and edited (following the Creative Commons Zero v1.0 Universal License).
5#
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.
13
14# This network file matches vt-* TUN/TAP devices and applies a similar
15# configuration as ve-* to provide NAT/DHCP to VMs.
16
17[Match]
18Name=vt-*
19Driver=tun
20
21[Network]
22# Default to using a /28 prefix, giving up to 13 addresses per VM.
23Address=0.0.0.0/28
24LinkLocalAddressing=yes
25DHCPServer=yes
26IPMasquerade=both
27LLDP=yes
28EmitLLDP=customer-bridge
29IPv6SendRA=yes
30