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
|
|
|
#
|
2024-04-23 19:51:07 +08:00
|
|
|
# To make local modifications, use "networkctl edit". See networkctl(1) for details.
|
2022-01-11 17:52:35 +01:00
|
|
|
# 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-*
|
|
|
|
|
|
2025-02-07 18:08:51 +01:00
|
|
|
[Link]
|
|
|
|
|
RequiredForOnline=no
|
|
|
|
|
|
2014-05-17 21:32:13 +02:00
|
|
|
[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
|
2025-02-07 18:08:51 +01:00
|
|
|
|
|
|
|
|
[DHCPServer]
|
2025-06-14 03:46:17 +09:00
|
|
|
PersistLeases=runtime
|
2025-10-13 11:42:25 +02:00
|
|
|
LocalLeaseDomain=_dhcp
|