nixos-module/container/bird: don't redistribute bgp into ospf

legacy
Astro 2 years ago
parent bf0a185ed5
commit 20c8821823

@ -107,7 +107,7 @@ in
# OSPFv2 for site-local IPv4
protocol ospf v2 ZW4 {
ipv4 {
export where net != 0.0.0.0/0;
export where net != 0.0.0.0/0 && source != RTS_BGP;
};
area 0 {
${builtins.concatStringsSep "\n" (
@ -208,7 +208,7 @@ in
# OSPFv3 for site-local IPv6
protocol ospf v3 ZW6 {
ipv6 {
export where net != ::/0;
export where net != ::/0 && source != RTS_BGP;
};
area 0 {
${builtins.concatStringsSep "\n" (

Loading…
Cancel
Save