From Fedora Project Wiki
Dynamic routing
OSPF for IPv4 example (BIRD)
router id 15; protocol direct { interface "*"; } protocol static { route 10.9.5.0/24 via "eth2"; } protocol kernel { persist; # Don't remove routes on bird shutdown scan time 20; # Scan kernel routing table every 20 seconds export all; # Default is export none } protocol device { scan time 10; # Scan interfaces every 10 seconds } protocol ospf { export filter { if source ~ [RTS_DEVICE, RTS_STATIC, RTS_STATIC_DEVICE] then { ospf_metric1 = 100; accept; } reject; }; area 0.0.0.0 { networks { 10.0.0.0/24; }; interface "eth1" { }; }; }