summaryrefslogtreecommitdiff
path: root/man/networkd.conf.xml
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-04-11 21:33:51 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-04-13 12:22:42 +0900
commitd94dfe7053d49fa62c4bfc07b7f3fc2227c10aff (patch)
tree8e248de8d8d90f9889804615a602bcdca98d8e28 /man/networkd.conf.xml
parent6bfadad9bb6eaf614da92eba0a9b6243e8645018 (diff)
downloadsystemd-d94dfe7053d49fa62c4bfc07b7f3fc2227c10aff.tar.gz
network: introduce ManageForeignRoutingPolicyRules= boolean setting in networkd.conf
The commit 0b81225e5791f660506f7db0ab88078cf296b771 makes that networkd remove all foreign rules except those with "proto kernel". But, in some situation, people may want to manage routing policy rules with other tools, e.g. 'ip' command. To support such the situation, this introduce ManageForeignRoutingPolicyRules= boolean setting. Closes #19106.
Diffstat (limited to 'man/networkd.conf.xml')
-rw-r--r--man/networkd.conf.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/man/networkd.conf.xml b/man/networkd.conf.xml
index dcce2095ed..23422c6c94 100644
--- a/man/networkd.conf.xml
+++ b/man/networkd.conf.xml
@@ -63,6 +63,15 @@
</varlistentry>
<varlistentry>
+ <term><varname>ManageForeignRoutingPolicyRules=</varname></term>
+ <listitem><para>A boolean. When true, <command>systemd-networkd</command> will remove rules
+ that are not configured in .network files (except for rules with protocol
+ <literal>kernel</literal>). When false, it will not remove any foreign rules, keeping them even
+ if they are not configured in a .network file. Defaults to yes.
+ </para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><varname>ManageForeignRoutes=</varname></term>
<listitem><para>A boolean. When true, <command>systemd-networkd</command> will store any routes
configured by other tools in its memory. When false, <command>systemd-networkd</command> will