2022-10-26 09:34:13 +03:00
# SPDX-License-Identifier: MIT-0
2017-11-18 20:18:16 +03:00
#
2022-01-11 19:52:35 +03:00
# This config file is installed as part of systemd.
2022-10-26 09:34:13 +03:00
# It may be freely copied and edited (following the MIT No Attribution license).
2014-05-17 23:32:13 +04:00
#
2022-01-11 19:52:35 +03: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.
# 2. copy this file into /etc/systemd/network or one of the other paths checked
# 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 23:32:13 +04:00
2016-05-06 22:03:40 +03:00
# This network file matches the host-side of the virtual Ethernet link
# created by systemd-nspawn's --network-veth switch. See systemd-nspawn(1) for
# details.
2014-05-17 23:32:13 +04:00
[Match]
2023-11-08 16:59:33 +03:00
Kind = veth
2014-05-17 23:32:13 +04:00
Name = ve-*
[Network]
2015-01-13 20:23:53 +03:00
# Default to using a /28 prefix, giving up to 13 addresses per container.
2014-06-18 20:27:55 +04:00
Address = 0.0.0.0/28
2015-02-14 17:31:26 +03:00
LinkLocalAddressing = yes
2014-06-18 20:27:55 +04:00
DHCPServer = yes
2021-02-24 14:29:24 +03:00
IPMasquerade = both
2016-02-21 16:06:08 +03:00
LLDP = yes
2016-05-06 23:44:13 +03:00
EmitLLDP = customer-bridge
2023-11-02 07:29:45 +03:00
IPv6AcceptRA = no
2020-12-26 17:27:55 +03:00
IPv6SendRA = yes