summaryrefslogtreecommitdiff
path: root/doc/bird.sgml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/bird.sgml')
-rw-r--r--doc/bird.sgml12
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/bird.sgml b/doc/bird.sgml
index 4024f137..20738be3 100644
--- a/doc/bird.sgml
+++ b/doc/bird.sgml
@@ -1618,7 +1618,7 @@ kernel table.
<p>Because the kernel protocol is partially integrated with the
connected routing table, there are two limitations - it is not
possible to connect more kernel protocols to the same routing table
-and changing route attributes (even the kernel ones) in an export
+and changing route destination/gateway in an export
filter of a kernel protocol does not work. Both limitations can be
overcome using another routing table and the pipe protocol.
@@ -1653,6 +1653,16 @@ are translated to appropriate system (and OS-specific) route attributes.
We support these attributes:
<descrip>
+ <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.