KRT: Error sending route 192.168.x.x/32 to kernel: File exists
Bernd Naumann
bena at spreadshirt.net
Wed Jan 20 10:09:19 CET 2021
Hi Viktor,
It's just a guess, but maybe re-enable `protocol direct` and add
`interface "*";` so all device routes are known to bird?
And also adding `interface "lo0" { stub yes; };` to OSPF?
Good luck,
Bernd
On 20.01.21 06:00, Victor Sudakov wrote:
> Dear Colleagues,
>
> My system is full of the following messages:
>
> bird[59366]: KRT: Error sending route 192.168.246.1/32 to kernel: File exists
> bird[59366]: KRT: Error sending route 2001:470:ecba:2::1/128 to kernel: File exists
> bird[57195]: KRT: Error sending route 2001:470:ecba:4::1/128 to kernel: File exists
> vas bird[57195]: KRT: Error sending route 192.168.170.0/24 to kernel: Address already in use
>
> (as you see, these are not only host routes, but network routes as well).
>
> They seem harmless but clog the log. Why is Bird trying to install those
> routes? Is there an extraneous export or import statement somewhere? Or
> should I just quelch those warnings and forget?
>
> Here is my config with comments removed (bird2 2.0.7_1, FreeBSD 12.2),
> and the kernel IPv4 route table below it.
>
>
> log syslog all;
>
> router id 192.168.246.1;
>
> protocol device {
> scan time 10;
> }
>
> protocol direct {
> disabled;
> ipv4;
> ipv6;
> }
>
> protocol kernel kernel4 {
> ipv4 { export all; };
> }
>
> protocol kernel kernel6 {
> ipv6 { export all; };
> }
>
> protocol static {
> ipv4;
> }
>
> protocol ospf v2 ospf4 {
> ipv4 { import all; export all;};
> area 0 {
> interface "re*" {
> cost 10;
> };
> interface "bridge*" {
> cost 10;
> };
> };
> }
> protocol ospf v3 ospf6 {
> ipv6 { import all; export all;};
> area 0 {
> interface "re*" {
> cost 10;
> };
> interface "bridge*" {
> cost 10;
> };
> };
> }
>
> $ netstat -rn -finet
> Routing tables
>
> Internet:
> Destination Gateway Flags Netif Expire
> default 192.168.170.1 UG1 re1
> 127.0.0.1 link#3 UH lo0
> 192.168.89.0/27 192.168.170.1 UG1 re1
> 192.168.170.0/24 link#2 U re1
> 192.168.170.5 link#2 UHS lo0
> 192.168.246.0/24 link#4 U bridge0
> 192.168.246.1 link#4 UHS lo0
>
>
More information about the Bird-users
mailing list