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

Make IPv4 fips syncable on IPv6-only routers #128

Merged
merged 1 commit into from
Mar 5, 2025

Conversation

sebageek
Copy link
Collaborator

@sebageek sebageek commented Mar 4, 2025

Routers with an IPv6-only gateway can have IPv4 fips. Before this commit, we were passing the unused global ip mask to the StaticNat class, which required us to have an IPv4 gateway address. This is not needed and should make this kind of router syncable again.

I am not yet fully sure if IPv4 fips will work on this kind of router, but a sync error is definitely not the way to go there. Either we get this working or we forbid it in a precommit hook.

Routers with an IPv6-only gateway can have IPv4 fips. Before this
commit, we were passing the unused global ip mask to the StaticNat
class, which required us to have an IPv4 gateway address. This is not
needed and should make this kind of router syncable again.

I am not yet fully sure if IPv4 fips will work on this kind of router,
but a sync error is definitely not the way to go there. Either we get
this working or we forbid it in a precommit hook.
@sebageek sebageek merged commit 5cf1314 into stable/yoga-m3 Mar 5, 2025
1 check passed
@sebageek sebageek deleted the make-v6-gw-v4-fips-syncable branch March 5, 2025 11:38
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.

3 participants