# Babel does not have the concept of stub areas. Instead, we should use Bird's # "direct" protocol to read prefixes attached to interfaces and send them across # the network. protocol direct { ipv4 { import where net ~ [ 172.20.0.0/14+, 172.31.0.0/16+, 10.0.0.0/8+ ]; export where net ~ [ 172.20.0.0/14+, 172.31.0.0/16+, 10.0.0.0/8+ ]; }; ipv6 { import where net ~ [ fd00::/8+ ]; export where net ~ [ fd00::/8+ ]; }; interface "igp-dummy*"; {% if not (shared_net|default(false)) %} interface "host0"; interface "host0*"; {% endif %} interface "ztwfugvwdo"; {% if not (shared_net|default(false)) %} interface "en*"; interface "br*"; interface "int-*"; interface "bond*"; interface "eth*"; {% endif %} }; protocol babel int_babel { randomize router id on; ipv4 { import where source != RTS_BGP && (is_self_net() || is_my_anycast_v4()); export where source != RTS_BGP && (is_self_net() || is_my_anycast_v4()); }; ipv6 { import where source != RTS_BGP && (is_self_net_v6() || is_my_anycast_v6()); export where source != RTS_BGP && (is_self_net_v6() || is_my_anycast_v6()); }; interface "intbr0" { type wired; }; interface "ztwfugvwdo" { type tunnel; }; {% if not (shared_net|default(false)) %} interface "host0*" { type wired; }; interface "host0" { type wired; }; interface "en*" { type wired; }; interface "br*" { type wired; }; {% endif %} interface "int-*" { type tunnel; }; {% if not (shared_net|default(false)) %} interface "bond*" { type wired; }; interface "wl*" { type wireless; }; {% endif %} };