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-container-vz.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 the bridge interface created by systemd-nspawn's
15# --network-zone= switch. See systemd-nspawn(1) for details.
16
17[Match]
18Name=vz-*
19Driver=bridge
20
21[Network]
22# Default to using a /24 prefix, giving up to 253 addresses per virtual network.
23Address=0.0.0.0/24
24LinkLocalAddressing=yes
25DHCPServer=yes
26IPMasquerade=both
27LLDP=yes
28EmitLLDP=customer-bridge
29IPv6SendRA=yes
30