Add route_metric option

To be able to keep different routes from several running l2tpns instances.
This commit is contained in:
Samuel Thibault 2025-03-29 15:02:59 +01:00
parent b793850d2f
commit 0845ec8a19
5 changed files with 21 additions and 2 deletions

View file

@ -238,6 +238,12 @@ otherwise the primary address of the machine.</p>
<code>/usr/share/iproute2/rt_protos</code>). This allows to separate
routes added by several l2tpns instances. The default is 42.</p>
</dd>
<dt><code>route_metric</code> (int)</dt>
<dd>
<p>Metric of the route. Routes with lower values are preferred. This
should not be changed during execution, since l2tpns would then not
recognize the routes it added itself. The default is 1.</p>
</dd>
<dt><code>ipv6_prefix</code> (ipv6 address)</dt>
<dd>
<p>Enable negotiation of IPv6. This forms the the first 64 bits of the