From 21d03e6c631436bfe1f4577a7e3f027f817b8a7b Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Tue, 15 Jun 2021 16:05:08 +0900 Subject: [PATCH] man: add an example to configure default route on device with table Prompted by #19911. --- man/systemd.network.xml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/man/systemd.network.xml b/man/systemd.network.xml index b059ed0771..8d3d65024c 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