nixos-module/container/bird: learn but don't redistribute direct routes now that ospf has stub ifaces
This commit is contained in:
parent
bab496141b
commit
dc8fd55a7c
|
@ -130,7 +130,9 @@ in
|
|||
# OSPFv2 for site-local IPv4
|
||||
protocol ospf v2 ZW4 {
|
||||
ipv4 {
|
||||
export where net != 0.0.0.0/0 && source != RTS_BGP;
|
||||
export where net != 0.0.0.0/0
|
||||
&& source != RTS_BGP
|
||||
&& source != RTS_DIRECT;
|
||||
};
|
||||
area 0 {
|
||||
${builtins.concatStringsSep "\n" (
|
||||
|
@ -245,7 +247,9 @@ in
|
|||
# OSPFv3 for site-local IPv6
|
||||
protocol ospf v3 ZW6 {
|
||||
ipv6 {
|
||||
export where net != ::/0 && source != RTS_BGP;
|
||||
export where net != ::/0
|
||||
&& source != RTS_BGP
|
||||
&& source != RTS_DIRECT;
|
||||
};
|
||||
area 0 {
|
||||
${builtins.concatStringsSep "\n" (
|
||||
|
|
Loading…
Reference in New Issue