Skip to content

Add BIRD OSPF default route origination support.#3594

Draft
jbemmel wants to merge 1 commit into
ipspace:devfrom
jbemmel:bird-ospf-default
Draft

Add BIRD OSPF default route origination support.#3594
jbemmel wants to merge 1 commit into
ipspace:devfrom
jbemmel:bird-ospf-default

Conversation

@jbemmel

@jbemmel jbemmel commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

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.

@ipspace ipspace left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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>
@jbemmel jbemmel marked this pull request as draft July 8, 2026 14:27
@jbemmel jbemmel force-pushed the bird-ospf-default branch from c0bba52 to 2a11c0b Compare July 8, 2026 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants