summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorSusant Sahani <ssahani@vmware.com>2021-01-19 12:58:53 +0100
committerLuca Boccassi <luca.boccassi@gmail.com>2021-01-19 17:37:46 +0100
commitc038ce4606f93d9e58147f87703125270fb744e2 (patch)
tree32afe8a588f31619472bd93c86bddefcacc7677b /man
parentMerge pull request #18181 from poettering/sysext (diff)
downloadsystemd-c038ce4606f93d9e58147f87703125270fb744e2.tar.xz
systemd-c038ce4606f93d9e58147f87703125270fb744e2.zip
network: add support to RoutingPolicyRule lookup table name
Diffstat (limited to 'man')
-rw-r--r--man/networkd.conf.xml8
-rw-r--r--man/systemd.network.xml15
2 files changed, 16 insertions, 7 deletions
diff --git a/man/networkd.conf.xml b/man/networkd.conf.xml
index 65aecb6256..78b46ad505 100644
--- a/man/networkd.conf.xml
+++ b/man/networkd.conf.xml
@@ -70,6 +70,14 @@
is false. Defaults to yes.</para></listitem>
</varlistentry>
+ <varlistentry>
+ <term><varname>RouteTable=</varname></term>
+ <listitem><para>Specifies the route table name. Takes a route name and table number separated with a colon.
+ (<literal><replaceable>name</replaceable>:<replaceable>integer</replaceable></literal>. The route table number
+ must be an integer in the range 1..4294967295. This setting can be specified multiple times. If an empty string
+ is specified, then all options specified earlier are cleared. Defaults to unset.</para></listitem>
+ </varlistentry>
+
</variablelist>
</refsect1>
diff --git a/man/systemd.network.xml b/man/systemd.network.xml
index 8b7c9ff32a..0d9f1dce0d 100644
--- a/man/systemd.network.xml
+++ b/man/systemd.network.xml
@@ -1200,8 +1200,9 @@ IPv6Token=prefixstable:2002:da8:1::</programlisting></para>
<varlistentry>
<term><varname>Table=</varname></term>
<listitem>
- <para>Specifies the routing table identifier to lookup if the rule selector matches. Takes
- one of <literal>default</literal>, <literal>main</literal>, and <literal>local</literal>,
+ <para>Specifies the routing table identifier to lookup if the rule selector matches. Takes one of predefined names
+ <literal>default</literal>, <literal>main</literal>, and <literal>local</literal>, and names defined in <varname>RouteTable=</varname>
+ in <citerefentry><refentrytitle>networkd.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
or a number between 1 and 4294967295. Defaults to <literal>main</literal>.</para>
</listitem>
</varlistentry>
@@ -1409,11 +1410,11 @@ IPv6Token=prefixstable:2002:da8:1::</programlisting></para>
<varlistentry>
<term><varname>Table=</varname></term>
<listitem>
- <para>The table identifier for the route. Takes <literal>default</literal>,
- <literal>main</literal>, <literal>local</literal> or a number between 1 and 4294967295.
- The table can be retrieved using <command>ip route show table <replaceable>num</replaceable></command>.
- If unset and <varname>Type=</varname> is <literal>local</literal>, <literal>broadcast</literal>,
- <literal>anycast</literal>, or <literal>nat</literal>, then <literal>local</literal> is used.
+ <para>The table identifier for the route. Takes one of predefined names <literal>default</literal>, <literal>main</literal>,
+ and <literal>local</literal>, and names defined in <varname>RouteTable=</varname> in <citerefentry><refentrytitle>networkd.conf</refentrytitle>
+ <manvolnum>5</manvolnum></citerefentry>, or a number between 1 and 4294967295. The table can be retrieved using
+ <command>ip route show table <replaceable>num</replaceable></command>. If unset and <varname>Type=</varname> is <literal>local</literal>,
+ <literal>broadcast</literal>, <literal>anycast</literal>, or <literal>nat</literal>, then <literal>local</literal> is used.
In other cases, defaults to <literal>main</literal>.
</para>
</listitem>