diff options
author | Susant Sahani <susant@redhat.com> | 2014-07-10 23:09:58 +0530 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-07-14 11:39:20 +0200 |
commit | 5d8e593dce074bff966fc0a46579c61b4f3bc33a (patch) | |
tree | 6e43e5a00d743b152da56080011f8333453325d4 /man/systemd.network.xml | |
parent | 5bdd314cd9954b605542571490738326f007c46c (diff) |
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]
Diffstat (limited to 'man/systemd.network.xml')
-rw-r--r-- | man/systemd.network.xml | 6 |
1 files changed, 6 insertions, 0 deletions
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.</para> </listitem> </varlistentry> + <varlistentry> + <term><varname>Metric=</varname></term> + <listitem> + <para>The metric of the route. An unsigned integer</para> + </listitem> + </varlistentry> </variablelist> </refsect1> |