From: Yu Watanabe Date: Tue, 15 Jun 2021 07:05:08 +0000 (+0900) Subject: man: add an example to configure default route on device with table X-Git-Tag: v249-rc1~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21d03e6c631436bfe1f4577a7e3f027f817b8a7b;p=thirdparty%2Fsystemd.git man: add an example to configure default route on device with table Prompted by #19911. --- diff --git a/man/systemd.network.xml b/man/systemd.network.xml index b059ed07710..8d3d65024c8 100644 --- a/man/systemd.network.xml +++ b/man/systemd.network.xml @@ -461,8 +461,17 @@ 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. - ip route add default dev veth99 + This is equivalent to e.g. the following, + ip route add default dev veth99 + or, + [Route] +Gateway=0.0.0.0 + 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: + [Route] +Gateway=0.0.0.0 +Table=1234