summaryrefslogtreecommitdiffstats
path: root/man/systemd.network.xml
diff options
context:
space:
mode:
authorfrederik <frederik.schwan@linux.com>2019-08-09 12:09:26 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-08-10 23:22:12 +0200
commit4c94a4c2d65b4951834595c409a72b089bfd349d (patch)
treefb814ba63f9fa09c3f6da2359c89a3d9f0c023a2 /man/systemd.network.xml
parentfirstboot: drop duplicate trailing whitespace from root pw question (diff)
downloadsystemd-4c94a4c2d65b4951834595c409a72b089bfd349d.tar.xz
systemd-4c94a4c2d65b4951834595c409a72b089bfd349d.zip
man: add example for IPv6 Prefix Delegation
Diffstat (limited to '')
-rw-r--r--man/systemd.network.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/man/systemd.network.xml b/man/systemd.network.xml
index cdcca4aca8..accc824e4d 100644
--- a/man/systemd.network.xml
+++ b/man/systemd.network.xml
@@ -2207,6 +2207,27 @@ DHCP=yes</programlisting>
</example>
<example>
+ <title>IPv6 Prefix Delegation</title>
+
+ <programlisting># /etc/systemd/network/55-ipv6-pd-upstream.network
+[Match]
+Name=enp1s0
+
+[Network]
+DHCP=ipv6</programlisting>
+
+ <programlisting># /etc/systemd/network/56-ipv6-pd-downstream.network
+[Match]
+Name=enp2s0
+
+[Network]
+IPv6PrefixDelegation=dhcpv6</programlisting>
+
+ <para>This will enable IPv6 PD on the interface enp1s0 as an upstream interface where the
+ DHCPv6 client is running and enp2s0 as a downstream interface where the prefix is delegated to.</para>
+ </example>
+
+ <example>
<title>A bridge with two enslaved links</title>
<programlisting># /etc/systemd/network/25-bridge-static.network