man: add example for IPv6 Prefix Delegation

This commit is contained in:
frederik 2019-08-09 12:09:26 +02:00 committed by Yu Watanabe
parent 3619634ca5
commit 4c94a4c2d6
1 changed files with 21 additions and 0 deletions

View 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>