network: tunnel: support to set an address assigned on underlying interface as local address

Closes #18732.
This commit is contained in:
Yu Watanabe
2021-12-12 13:42:45 +09:00
parent 6d1b59cec4
commit 2be25d7557
4 changed files with 154 additions and 26 deletions
+7 -2
View File
@@ -1148,8 +1148,13 @@
<varlistentry>
<term><varname>Local=</varname></term>
<listitem>
<para>A static local address for tunneled packets. It must be an address on another interface of
this host, or the special value <literal>any</literal>.</para>
<para>A static local address for tunneled packets. It must be an address on another interface
of this host, or one of the special values <literal>any</literal>,
<literal>ipv4_link_local</literal>, <literal>ipv6_link_local</literal>,
<literal>dhcp4</literal>, <literal>dhcp6</literal>, and <literal>slaac</literal>. If one
of the special values except for <literal>any</literal> is specified, an address which
matches the corresponding type on the underlying interface will be used. Defaults to
<literal>any</literal>.</para>
</listitem>
</varlistentry>
<varlistentry>