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

Assign ipv6 and gw6 to vm via config #2199

Merged
merged 1 commit into from
Feb 19, 2024
Merged

Assign ipv6 and gw6 to vm via config #2199

merged 1 commit into from
Feb 19, 2024

Conversation

muhamadazmy
Copy link
Member

Description

Instead of relying on slaac to give ipv6 to VMs now it's done explicitly via cidata (cloud init data) provided to the vm

This means cloud-container now also disable router advertisment on interfaces.

This also mean ipv6 is not provided unless requested in the workload. This was a problem before because it was conflicting with other configurable routes for ipv6

Changes

  • Use recent cloud-container that auto disable router advertisement on all nics
  • Make sure that assigned IPv6 and gateway are passed to machine via cidata (cloud-init data)

Instead of relying on slaac to give ipv6 to VMs now it's done
explicitly via cidata (cloud init data) provided to the vm

This means cloud-container now also disable router advertisment on
interfaces.

This also mean ipv6 is not provided unless requested in the workload.
This was a problem before because it was conflicting with other
configurable routes for ipv6
Copy link
Contributor

@AbdelrahmanElawady AbdelrahmanElawady left a comment

Choose a reason for hiding this comment

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

looks good, just a question

pkg/network/ndmz/dualstack.go Show resolved Hide resolved
@muhamadazmy muhamadazmy merged commit 931cb64 into main Feb 19, 2024
24 checks passed
@muhamadazmy muhamadazmy deleted the ensure-ipv6-gw branch February 19, 2024 09:51
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