networkd: support 6rd tunnel netdev setup.

This commit is contained in:
David Anderson
2018-11-09 17:56:33 -08:00
parent b0395ac5cd
commit d067cab35c
4 changed files with 75 additions and 0 deletions
+20
View File
@@ -911,6 +911,14 @@
<para>Accepts the same key as <literal>[FooOverUDP]</literal></para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>IPv6RapidDeploymentPrefix=</varname></term>
<listitem>
<para>Reconfigure the tunnel for <ulink url="https://tools.ietf.org/html/rfc5569">IPv6 Rapid
Deployment</ulink>, also known as 6rd. The value is an ISP-specific IPv6 prefix with a non-zero length. Only
applicable to SIT tunnels.</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
@@ -1519,6 +1527,18 @@ Local=10.65.223.238
Remote=10.65.223.239</programlisting>
</example>
<example>
<title>/etc/systemd/network/25-6rd.netdev</title>
<programlisting>[NetDev]
Name=6rd-tun
Kind=sit
MTUBytes=1480
[Tunnel]
Local=10.65.223.238
IPv6RapidDeploymentPrefix=2602::/24</programlisting>
</example>
<example>
<title>/etc/systemd/network/25-gre.netdev</title>
<programlisting>[NetDev]