protocol ospf ospf_ipv4 { ipv4 { import all; import keep filtered; import limit 200 action block; import filter { if (net ~ [ 0.0.0.0/0 ]) then { reject; } else { igp_metric = ospf_metric1; accept; } }; export filter { if (proto = "kernel_grt_ipv4" || proto = "direct1" || source = RTS_DEVICE) then { accept; } else reject; }; }; area 0.0.0.0 { interface "gre1" { stub; }; interface "gre2" { stub; }; include "/etc/bird.lag-*.conf"; }; area 4.8.8.4 { interface "enp1s0" { cost 1; }; interface "enp3s0.50" { cost 1; }; }; };