mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-24 21:34:08 +03:00
man: add an example to configure default route on device with table
Prompted by #19911.
This commit is contained in:
parent
c35949a51c
commit
21d03e6c63
@ -461,8 +461,17 @@
|
||||
<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>
|
||||
This is equivalent to e.g. the following,
|
||||
<programlisting>ip route add default dev veth99</programlisting>
|
||||
or,
|
||||
<programlisting>[Route]
|
||||
Gateway=0.0.0.0</programlisting></para>
|
||||
<para>Currently, there are no way to specify e.g., the table for the route configured by
|
||||
this setting. To configure the default route with such an additional property, please use
|
||||
the following instead:
|
||||
<programlisting>[Route]
|
||||
Gateway=0.0.0.0
|
||||
Table=1234</programlisting></para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
|
Loading…
Reference in New Issue
Block a user