Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gateways: fix olsrd->babel soft migration #1124

Merged
merged 1 commit into from
Dec 16, 2024
Merged

Conversation

spolack
Copy link
Member

@spolack spolack commented Dec 15, 2024

This involves few changes:

  • Move IPv4 Static default route into bird, thus delete it from main network config
  • Fix OLSR messing with policy routing (by setting its priorities super high)
  • Remove OLSR dyngw which doesnt work with our policy routing approach and create a static default route HNA instead.

@PolynomialDivision
Copy link
Contributor

Did you have a look at the gateways?

root@saarbruecker-gw:~# ip rule show
0:	from all lookup local
32766:	from all lookup main
32767:	from all lookup default
33100:	from all lookup babel-ff
33101:	from all lookup olsr-ff
33200:	from all lookup babel-default
34000:	from all lookup olsr-ff
34020:	from all lookup 224
34030:	from all lookup olsr-default

What is 224?

@spolack
Copy link
Member Author

spolack commented Dec 16, 2024

Thats olsr messing with route polcies.

option RtTableTunnelPriority '34020'

What you've shown is the desired state, rules in 340x0 are never hit.

@PolynomialDivision
Copy link
Contributor

Thats olsr messing with route polcies.

Argh. I'm happy to remove olsr in near future completely. ;) Do we need olsr backwards compatibility on the gateways? Legacy nodes are not using the gateways as tunnels?

This involves few changes:
* Move IPv4 Static default route into bird, thus delete it from main
  network config
* Fix OLSR messing with policy routing (by setting its priorities
  super high)
* Remove OLSR dyngw which doesnt work with our policy routing approach
  and create a static default route HNA instead.
@PolynomialDivision PolynomialDivision merged commit d5eb13d into main Dec 16, 2024
11 checks passed
@PolynomialDivision PolynomialDivision deleted the fixgwolsrbabel branch December 16, 2024 19:03
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