]> git.puffer.fish Git - matthieu/frr.git/commit
ospf6d: always generate default route for stubs
authorRafael Zalamena <rzalamena@opensourcerouting.org>
Tue, 20 Jul 2021 12:43:03 +0000 (09:43 -0300)
committerRafael Zalamena <rzalamena@opensourcerouting.org>
Tue, 20 Jul 2021 12:43:03 +0000 (09:43 -0300)
commit80d1eb49b1b3986c86956b5ce473731b793bbf8b
treebd84228a7f9bcfe9e8ed2806d3e0a0711be26393
parentfb8e437bcd53b123f1edc5ee86a163b9ff36aa07
ospf6d: always generate default route for stubs

In RFC 2328 OSPF Version 2, Section 12.4.3.1 "Originating summary-LSAs
into stub areas" mentions that the stub areas should not import external
routes and instead should generate a 'default summary-LSA' set to
default destination.

> In a stub area, instead of importing external routes
> each area border router originates a "default summary-
> LSA" into the area. The Link State ID for the default
> summary-LSA is set to DefaultDestination, and the metric
> set to the (per-area) configurable parameter
> StubDefaultCost.  Note that StubDefaultCost need not be
> configured identically in all of the stub area's area
> border routers.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
ospf6d/ospf6_abr.c