-
Notifications
You must be signed in to change notification settings - Fork 1
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
Dualstack Support #202
base: master
Are you sure you want to change the base?
Dualstack Support #202
Conversation
Thanks for contributing a pull request to the metal-stack docs! A rendered preview of your changes will be available at: https://docs.metal-stack.io/previews/PR202/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for writing this up.
To me it seems like "One network per address family" is less complicated to implement and also clearer to use. With mixed networks we would need to iterate through the prefixes first to find out if the given network is "dual-typed". Then acquire IPs from both types, which is also not very clear from the user perspective because what if the user just wants IPv6 or just IPv4?
I am actually bias towards the mixed mode, but keep the ip allocation as it is, e.g. only return a single IPv4 address by default even for mixed networks, but add a extra flag --addressfamily which can be used to get a IPv6 address additionally. The difficulty with different networks per addressfamily is most probable when we want to create dual-stack kubernetes, and each and every machine needs to be attached to multiple networks which will then double the amount of VRFs on the switches to name one problem |
Co-authored-by: Gerrit <[email protected]>
Co-authored-by: Gerrit <[email protected]>
Co-authored-by: Gerrit <[email protected]>
For the "Network per Adress Family" approach I see these points:
Because of these points I favor the mixed mode. |
References metal-stack/releases#59.
Should be used as a base for discussion
consider https://www.ripe.net/publications/docs/ripe-690/