]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: add example for IPv6 Prefix Delegation
authorfrederik <frederik.schwan@linux.com>
Fri, 9 Aug 2019 10:09:26 +0000 (12:09 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 10 Aug 2019 21:22:12 +0000 (06:22 +0900)
man/systemd.network.xml

index cdcca4aca802be3f62c9f013bfcb1d8bed17ec3a..accc824e4d77428cd18f8fb37f429f48a4d67615 100644 (file)
@@ -2206,6 +2206,27 @@ DHCP=yes</programlisting>
       <literal>en</literal> (i.e. ethernet interfaces).</para>
     </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>