From 6e75d0d27fe85f12a22928e5729465823704281e Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Mon, 19 Sep 2016 12:29:56 +0200 Subject: KRT: Add krt_scope attribute Add a new route attribute, krt_scope, to expose the Linux kernel route scope. Constants from /etc/iproute2/rt_scopes (prefixed by "ips_") are expected to be used with the attribute. Both import and export are supported. Also, the patch fixes device route export to the kernel, by setting link scope automatically. --- doc/bird.sgml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc/bird.sgml') diff --git a/doc/bird.sgml b/doc/bird.sgml index 9bd7df86..af5b7980 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -2443,6 +2443,15 @@ these attributes: int (Linux) The realm of the route. Can be used for traffic classification. + + int (Linux IPv4) + The scope of the route. Valid values are 0-254, although Linux kernel + may reject some values depending on route type and nexthop. It is + supposed to represent `indirectness' of the route, where nexthops of + routes are resolved through routes with a higher scope, but in current + kernels anything below

In Linux, there is also a plenty of obscure route attributes mostly focused -- cgit v1.2.3