This commit is contained in:
2023-12-20 11:05:50 +01:00
parent d9066e6a6a
commit 93619aed60
+1 -1
View File
@@ -100,7 +100,7 @@ NetworkManager also supports other types like `wifi`, `vpn`, `bridge`, `vlan`, e
Static routes can be added with the `additional_config` key in the connection settings.
Depending on the IP version there is a `ipv4` or `ipv6` subkey which then can contain many `routes` + number keys. So the first route is `routes1`, the second `routes2`, etc.
The minimal entry for `routesX` is the network and then, separated with a comma, the next hop IP. The optinal third entry is the metric.
The minimal entry for `routesX` is the network and then, separated with a comma, the next hop IP. The optional third entry is the metric.
For each route you may also add a option key `routesX_options`, where multiple options in the form `name=value` can be added, again comma separated.
An example: