Add BIRD OSPF default route origination support.#3594
Draft
jbemmel wants to merge 1 commit into
Draft
Conversation
ipspace
requested changes
Jul 8, 2026
ipspace
left a comment
Owner
There was a problem hiding this comment.
Have to go through the OSPF template again, but it looks OK and if there are minor details, I can fix them before merging.
However, if you have to add a static route to generate the default, it would be really nice to make it a floating static route (low preference/high admin distance/whatever it's called), so that if we get a different default route from somewhere else, we prefer that one.
Also, you need the (floating) static default route only when ospf.default.always is True (https://netlab.tools/module/ospf/#specifying-external-default-route)
Export default routes via OSPF filters with E1/E2 metrics, use static routes for always-originate, and restrict conditional origination to BGP and static sources to avoid re-advertising OSPF-learned defaults. Co-authored-by: Cursor <cursoragent@cursor.com>
c0bba52 to
2a11c0b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Export default routes via OSPF filters with E1/E2 metrics, use static routes for always-originate, and restrict conditional origination to BGP and static sources to avoid re-advertising OSPF-learned defaults.