nixos-module/container/bird: don't redistribute bgp into ospf
This commit is contained in:
parent
bf0a185ed5
commit
20c8821823
|
@ -107,7 +107,7 @@ in
|
||||||
# OSPFv2 for site-local IPv4
|
# OSPFv2 for site-local IPv4
|
||||||
protocol ospf v2 ZW4 {
|
protocol ospf v2 ZW4 {
|
||||||
ipv4 {
|
ipv4 {
|
||||||
export where net != 0.0.0.0/0;
|
export where net != 0.0.0.0/0 && source != RTS_BGP;
|
||||||
};
|
};
|
||||||
area 0 {
|
area 0 {
|
||||||
${builtins.concatStringsSep "\n" (
|
${builtins.concatStringsSep "\n" (
|
||||||
|
@ -208,7 +208,7 @@ in
|
||||||
# OSPFv3 for site-local IPv6
|
# OSPFv3 for site-local IPv6
|
||||||
protocol ospf v3 ZW6 {
|
protocol ospf v3 ZW6 {
|
||||||
ipv6 {
|
ipv6 {
|
||||||
export where net != ::/0;
|
export where net != ::/0 && source != RTS_BGP;
|
||||||
};
|
};
|
||||||
area 0 {
|
area 0 {
|
||||||
${builtins.concatStringsSep "\n" (
|
${builtins.concatStringsSep "\n" (
|
||||||
|
|
Loading…
Reference in New Issue