diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2012-03-23 01:17:02 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2012-03-23 17:22:13 +0100 |
commit | 9ba2798c65c02254ec000ab03a76fbbaae1ddc97 (patch) | |
tree | 51f2a88061dd0f4adc122a122370658b4a557e18 /doc/bird.sgml | |
parent | 72aed1a00ba9e18116d6fd907f7e1a36d0a0a583 (diff) |
Adds krt_metric linux route attribute.
Diffstat (limited to 'doc/bird.sgml')
-rw-r--r-- | doc/bird.sgml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/bird.sgml b/doc/bird.sgml index 5f478066..5244fc39 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -1653,12 +1653,16 @@ are translated to appropriate system (and OS-specific) route attributes. We support these attributes: <descrip> - <tag>int <cf/krt_source/</tag> The source of the imported + <tag>int <cf/krt_source/</tag> The original source of the imported kernel route. The value is system-dependent. On Linux, it is a value of the protocol field of the route. See /etc/iproute2/rt_protos for common values. On BSD, it is based on STATIC and PROTOx flags. The attribute is read-only. + <tag>int <cf/krt_metric/</tag> The kernel metric of + the route. When multiple same routes are in a kernel routing + table, the Linux kernel chooses one with lower metric. + <tag>ip <cf/krt_prefsrc/</tag> (Linux) The preferred source address. Used in source address selection for outgoing packets. Have to be one of IP addresses of the router. |