From 9ba2798c65c02254ec000ab03a76fbbaae1ddc97 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Fri, 23 Mar 2012 01:17:02 +0100 Subject: Adds krt_metric linux route attribute. --- doc/bird.sgml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'doc/bird.sgml') 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: - int The source of the imported + int 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. + int The kernel metric of + the route. When multiple same routes are in a kernel routing + table, the Linux kernel chooses one with lower metric. + ip (Linux) The preferred source address. Used in source address selection for outgoing packets. Have to be one of IP addresses of the router. -- cgit v1.2.3