summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-12-06 01:35:55 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-12-07 20:33:16 +0900
commite49bad0179cb670edeac12ef062887af0ac4c8c5 (patch)
tree3a2aad2367545af6964980ac6608d092448cb604 /network
parentdbdcaca3abbab0763f367f4e1a805323e4553b3a (diff)
downloadsystemd-e49bad0179cb670edeac12ef062887af0ac4c8c5.tar.gz
network: dhcp-pd: add 6rd support
Closes #19152.
Diffstat (limited to 'network')
-rw-r--r--network/80-6rd-tunnel.network18
-rw-r--r--network/meson.build3
2 files changed, 20 insertions, 1 deletions
diff --git a/network/80-6rd-tunnel.network b/network/80-6rd-tunnel.network
new file mode 100644
index 0000000000..2e479eb1ac
--- /dev/null
+++ b/network/80-6rd-tunnel.network
@@ -0,0 +1,18 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+#
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+
+# This network file matches 6rd-* SIT devices which is automatically created by
+# systemd-networkd when DHCPv4 6RD option is received.
+
+[Match]
+Name=6rd-*
+Type=sit
+
+[Network]
+DHCPPrefixDelegation=yes
diff --git a/network/meson.build b/network/meson.build
index ccfd79e8da..f4ae2194d0 100644
--- a/network/meson.build
+++ b/network/meson.build
@@ -1,7 +1,8 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
if conf.get('ENABLE_NETWORKD') == 1
- install_data('80-container-host0.network',
+ install_data('80-6rd-tunnel.network',
+ '80-container-host0.network',
'80-container-ve.network',
'80-container-vz.network',
'80-vm-vt.network',