summaryrefslogtreecommitdiff
path: root/redhat/frr.spec.in
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2020-06-22 16:23:24 +0300
committerDonatas Abraitis <donatas.abraitis@gmail.com>2020-06-23 16:45:39 +0300
commit7ca4ef12b841f32f9eaf11e21f5abda7623f6bbb (patch)
treeaa3bc9d949f3907003be957180e447bd53426003 /redhat/frr.spec.in
parente28f42625e8e2ff618fc45c43a513fcb40ed6d58 (diff)
bgpd: Do not treat the route as martian for static BGP routes
If we have something like: ``` ip route 1.1.1.0/24 Null0 ! router bgp 100 no bgp ebgp-requires-policy neighbor 192.168.0.2 remote-as 200 ! address-family ipv4 unicast network 1.1.1.0/24 redistribute connected exit-address-family ! line vty ! ``` 1.1.1.0/24 is not advertised due to martian nexthop (0.0.0.0). It starts working only when we use `redistribute static`. By checking if it's a BGP static route we able to announce 1.1.1.0/24 with `network 1.1.1.0/24` without redistribute even when `bgp import-check` is enabled. Disabling `bgp import-check` works as well, but it's enabled by default since 7.4. Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'redhat/frr.spec.in')
0 files changed, 0 insertions, 0 deletions