KRT: Error sending route 192.168.x.x/32 to kernel: File exists

Victor Sudakov vas at sibptus.ru
Wed Jan 20 06:00:34 CET 2021


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


-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49 at fidonet http://vas.tomsk.ru/


More information about the Bird-users mailing list