Hello Ondrej,
Here is the patch. It allows ti import 'onlink' non-neighbor routes from kernet table.
Thanks! It works fine. Currently I try to exchange routes between a Mikrotik Router board and a linux machine without using BIRD's filters. Is there a way to import a Linux routing table e.g. #230 for redistribution by BGP4 and importing routes coming via BGP4 to the Linux routing table e.g. #170 without using filters? With my current config the BIRD will try to write back the routes from linux table #230 to linux table #170, since I copy table amprnet to table hamnet: table hamnet; table amprnet; protocol kernel kern1 { table amprnet; learn; # Learn all alien routes from the kernel scan time 20; # Scan kernel routing table every 20 seconds export all; # Default is export none kernel table 230; # Kernel table to synchronize with (default: main) } protocol kernel kern2 { table hamnet; learn; # Learn all alien routes from the kernel scan time 20; # Scan kernel routing table every 20 seconds export all; kernel table 170; # Kernel table to synchronize with (default: main) } protocol device { scan time 10; # Scan interfaces every 10 seconds } protocol pipe pipe1 { table hamnet; peer table amprnet; } protocol bgp { table hamnet; local as 64620; neighbor 44.130.230.249 as 64626; export all; import all; next hop self; # Disable next hop processing and always advertise our local address as nexthop source address 44.130.230.250; # What local address we use for the TCP connection } I think this will be easy to solve with filters (if you can handle them :)). Tnx, Jann -- Jann Traschewski, Drosselstr.1, D-90513 Zirndorf, Germany Tel.: +49-911-696971, Mobile: +49-170-1045937, E-Mail: jann@gmx.de Ham: DG8NGN / DB0VOX, http://www.qsl.net/dg8ngn, ICQ UIN: 4130182