summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-05-15 22:46:25 +0200
committerGitHub <noreply@github.com>2019-05-15 22:46:25 +0200
commit05dc2132e047380eecc50ff3f1ed742722cc6a1e (patch)
treea38b14696c2847c6032665941bdcb0ce9a0f07d1 /man
parent80a8a7fb20093e545911cea460bbee0427720f77 (diff)
parent2b00dff809ab69a0944d94d2fc6408365a1b33a6 (diff)
downloadsystemd-05dc2132e047380eecc50ff3f1ed742722cc6a1e.tar.gz
Merge pull request #12496 from yuwata/network-on-device-default-route
network: add DefaultRouteOnDevice= setting in [Network] section
Diffstat (limited to 'man')
-rw-r--r--man/systemd.network.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/man/systemd.network.xml b/man/systemd.network.xml
index 2ce7c7096e..dd0535a06e 100644
--- a/man/systemd.network.xml
+++ b/man/systemd.network.xml
@@ -348,6 +348,15 @@
</listitem>
</varlistentry>
<varlistentry>
+ <term><varname>DefaultRouteOnDevice=</varname></term>
+ <listitem>
+ <para>Takes a boolean. If set to true, sets up the default route bound to the interface.
+ Defaults to false. This is useful when creating routes on point-to-point interfaces.
+ This is equivalent to e.g. the following.
+ <programlisting>ip route add default dev veth99</programlisting></para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
<term><varname>IPv6Token=</varname></term>
<listitem>
<para>An IPv6 address with the top 64 bits unset. When set, indicates the