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