diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-05-14 16:43:14 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-05-15 12:44:30 +0900 |
commit | 5d5003ab355154fea5a332068e725fbbdf9385d3 (patch) | |
tree | b9e85711c3e9e02669fafc25ecc203e4e8c0d851 /man | |
parent | 807341ec99b946e2ec27f43d27b9ae345a137d4c (diff) | |
download | systemd-5d5003ab355154fea5a332068e725fbbdf9385d3.tar.gz |
network: add DefaultRouteOnDevice= setting in [Network] section
When enabled, then default route bound to the interface will be created.
This is useful when adding routes on point-to-point interfaces.
Closes #788.
Diffstat (limited to 'man')
-rw-r--r-- | man/systemd.network.xml | 9 |
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 |