2022-10-26 08:34:13 +02:00
# SPDX-License-Identifier: MIT-0
2017-11-18 18:18:16 +01:00
#
2022-01-11 17:52:35 +01:00
# This config file is installed as part of systemd.
2022-10-26 08:34:13 +02:00
# It may be freely copied and edited (following the MIT No Attribution license).
2014-05-17 21:32:13 +02:00
#
2022-01-11 17:52:35 +01:00
# To make local modifications, one of the following methods may be used:
# 1. add a drop-in file that extends this file by creating the
# /etc/systemd/network/80-container-ve.network.d/ directory and creating a
# new .conf file there.
2024-01-10 16:18:41 +01:00
# 2. copy this file into /etc/systemd/network/ or one of the other paths checked
2022-01-11 17:52:35 +01:00
# by systemd-networkd and edit it there.
# This file should not be edited in place, because it'll be overwritten on upgrades.
2014-05-17 21:32:13 +02:00
2024-01-10 16:18:41 +01:00
# This .network file matches the host-side of the virtual Ethernet link
2016-05-06 21:03:40 +02:00
# created by systemd-nspawn's --network-veth switch. See systemd-nspawn(1) for
# details.
2014-05-17 21:32:13 +02:00
[Match]
2023-11-08 22:59:33 +09:00
Kind = veth
2014-05-17 21:32:13 +02:00
Name = ve-*
[Network]
2015-01-13 18:23:53 +01:00
# Default to using a /28 prefix, giving up to 13 addresses per container.
2014-06-18 18:27:55 +02:00
Address = 0.0.0.0/28
2015-02-14 15:31:26 +01:00
LinkLocalAddressing = yes
2014-06-18 18:27:55 +02:00
DHCPServer = yes
2021-02-24 20:29:24 +09:00
IPMasquerade = both
2016-02-21 14:06:08 +01:00
LLDP = yes
2016-05-06 22:44:13 +02:00
EmitLLDP = customer-bridge
2023-11-02 13:29:45 +09:00
IPv6AcceptRA = no
2020-12-26 15:27:55 +01:00
IPv6SendRA = yes