Virgilio Pavel wrote:
Hello all!
Bellow is a part of my bird.conf:
# Static routes (again, there can be multiple instances, so that you # can disable/enable various groups of static routes on the fly). protocol static partial_20 { import all; # disabled; # Disable by default # table testable; # Connect to a non-default table # preference 1000; # Default preference of routes debug { states, routes, filters, interfaces, events, packets }; debug all; route 0.0.0.0/0 <http://0.0.0.0/0> via 192.168.100.1; route 186.232.229.0/24 <http://186.232.229.0/24> via 192.168.100.10; # route 62.168.0.0/25 <http://62.168.0.0/25> reject; # route 10.0.0.0/8 <http://10.0.0.0/8> reject; # route 10.1.1.0:255.255.255.0 via 192.168.100.10; # route 10.2.0.0/24 <http://10.2.0.0/24> via "arc0"; }
How can I export a route to my neighbor? You can configure some king of IGP (OSPF, for example) using the same BIRD table (default table, in case of your config). If nexthops are valid (e.g. are reachable via directly connected interfaces) routes should be propagated to all [configured] neighbors.
[]'s Virgilio Pavel