]> git.ipfire.org Git - thirdparty/systemd.git/blob - network/80-vm-vt.network
sysusers: add support for a --image= switch
[thirdparty/systemd.git] / network / 80-vm-vt.network
1 # SPDX-License-Identifier: LGPL-2.1+
2 #
3 # This file is part of systemd.
4 #
5 # systemd is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU Lesser General Public License as published by
7 # the Free Software Foundation; either version 2.1 of the License, or
8 # (at your option) any later version.
9
10 # This network file matches vt-* TUN/TAP devices and applies a similar
11 # configuration as ve-* to provide NAT/DHCP to VMs.
12
13 [Match]
14 Name=vt-*
15 Driver=tun
16
17 [Network]
18 # Default to using a /28 prefix, giving up to 13 addresses per VM.
19 Address=0.0.0.0/28
20 LinkLocalAddressing=yes
21 DHCPServer=yes
22 IPMasquerade=yes
23 LLDP=yes
24 EmitLLDP=customer-bridge