]> git.ipfire.org Git - thirdparty/systemd.git/blame - network/80-vm-vt.network
sysusers: add support for a --image= switch
[thirdparty/systemd.git] / network / 80-vm-vt.network
CommitLineData
affb59e6
MAL
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]
14Name=vt-*
15Driver=tun
16
17[Network]
18# Default to using a /28 prefix, giving up to 13 addresses per VM.
19Address=0.0.0.0/28
20LinkLocalAddressing=yes
21DHCPServer=yes
22IPMasquerade=yes
23LLDP=yes
24EmitLLDP=customer-bridge