]> git.puffer.fish Git - matthieu/frr.git/commit
ospfd: do not generate type 4 LSA from NSSA ABR
authorckishimo <carles.kishimoto@gmail.com>
Thu, 17 Sep 2020 09:51:26 +0000 (02:51 -0700)
committerckishimo <carles.kishimoto@gmail.com>
Thu, 17 Sep 2020 14:44:14 +0000 (07:44 -0700)
commit8273ee44487f1262291b48a92a37aa3bcf4abb2a
treee208e37eefcbab04efe7e480ecbc801ee22a4d74
parent32e3ca2bccc3bbef1a95ba57a73fdd39ad7f13b1
ospfd: do not generate type 4 LSA from NSSA ABR

In a topology like R1 -- R2 -- R5, with R2 being NSSA ABR and R5 being
ASBR redistributing external routes, the ABR R2 will translate type-7
LSA into type-5 and advertise to the backbone. In the current implementation
R2 is also advertising a type-4 LSA when there is no need.

RFC 3101: "...NSSA's border routers never originate Type-4 summary-LSAs
for the NSSA's AS boundary routers, since Type-7 AS-external-LSAs are
never flooded beyond the NSSA's border..."

With this PR a type-4 LSA will not be advertised

Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
ospfd/ospf_abr.c