From 5d8e593dce074bff966fc0a46579c61b4f3bc33a Mon Sep 17 00:00:00 2001 From: Susant Sahani Date: Thu, 10 Jul 2014 23:09:58 +0530 Subject: networkd: make metric of routes configurable Now route metric can be configuted via conf file: example conf: [Match] Name=em1 [Route] Gateway=192.168.1.12 Metric=10 Test: ip route output default via 192.168.1.12 dev em1 metric 10 [tomegun: squash TODO update and reword man page a bit] --- man/systemd.network.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'man') diff --git a/man/systemd.network.xml b/man/systemd.network.xml index c13085c056..738977ee8d 100644 --- a/man/systemd.network.xml +++ b/man/systemd.network.xml @@ -389,6 +389,12 @@ prefixlength. If ommitted, a full-length host route is assumed. + + Metric= + + The metric of the route. An unsigned integer + + -- cgit v1.2.3-54-g00ecf