From: Pavel Ĺ orejs Date: Fri, 6 Oct 2023 02:31:19 +0000 (+0200) Subject: KRT: Allow to learn routes with RTPROT_KERNEL X-Git-Tag: v2.14~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e83beb70bd14923cece5b35411606ade6fb8fbee;p=thirdparty%2Fbird.git KRT: Allow to learn routes with RTPROT_KERNEL The Kernel protocol, even with the option 'learn' enabled, ignores direct routes created by the OS kernel (on Linux these are routes with rtm_protocol == RTPROT_KERNEL). Implement optional behavior where both OS kernel and third-party routes are learned, it can be enabled by 'learn all' option. Minor changes by committer. --- diff --git a/doc/bird.sgml b/doc/bird.sgml index 5e795450d..d5bc8d570 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -3764,9 +3764,8 @@ on the Note that routes created by OS kernel itself, namely direct routes -representing IP subnets of associated interfaces, are not imported even with - to -generate these direct routes. +representing IP subnets of associated interfaces, are imported only with +If your OS supports only a single routing table, you can configure only one instance of the Kernel protocol. If it supports multiple tables (in order to @@ -3797,10 +3796,12 @@ channels. Time in seconds between two consecutive scans of the kernel routing table. -