-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
IPv6 Host-Only Networks (VirtualBox) #6342
Conversation
VirtualBox has a bug where the IPv6 route is lost on every other configuration of a host-only network. This is also triggered when a VM is booted. To fix this, we test the route-ability of all IPv6 networks, and reconfigure if necessary. This is very fast but we still only do this if we have any IPv6 networks.
elsif ip.ipv6? | ||
execute("hostonlyif", "ipconfig", name, | ||
"--ipv6", options[:adapter_ip], | ||
"--netmasklengthv6", options[:netmask].to_s) |
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.
Should we else
raise here in case of shenanigans? Or can we trust this as an invariant of IPAddr
?
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.
I'll add it to version 5, the old versions can be more wild west.
IPv6 Host-Only Networks (VirtualBox)
This adds support for IPv6 host-only networks.
We need this in Otto.
Example:
config.vm.network "private_network", ip: "fde4:8dba:82e1::c4"