Replies: 4 comments 7 replies
-
@phsm I do agree with you that routing subnets to a VM would be very welcome and useful, but as. you noticed it's not that easy. At the moment @alexandremattioli is working on more IPv6 support for VPCs with dynamic routing functionality. This can be very easily expanded to individual VMs. That's not much different from allowing a VR to route a subnet, in the end they are both VMs on the hypervisor. I wouldn't know what the exact state of the work is, but I think that any help here would be much appreciated! |
Beta Was this translation helpful? Give feedback.
-
@wido @phsm For shared networks, there is a change in 4.19.1.0 (#9289) which allows operators to create a shared network with other cidr than /64
|
Beta Was this translation helpful? Give feedback.
-
Indeed, the current work allows for BGP only in Isolated networks and VPCs with basic ASN management in the Zone level. We have a few enhancements in mind for future iterations:
|
Beta Was this translation helpful? Give feedback.
-
Justification
Cloudstack is used a lot in hosting industry, meaning that each VM often belongs to a different tenant (VPS).
According to recommendations, an end-user assignment should not be less than /64.
Evidently, some big services apply rate-limits to their API calls per /64 subnet, and not per an individual IP address.
It makes sense as an end user can just use 2^64 IPv6 addresses from their provider-allocated subnet to overcome an individual IP address rate-limits.
What is the current state of IPv6 in Cloudstack
Cloudstack Advanced zone with security groups uses a /64 subnet per shared network.
Each instance is supposed to obtain an automatic EUI-64 IPv6 address via SLAAC.
Additional IPv6 addresses can be assigned to vNIC using
addIpToNic
API call. They're also get allowed in the VM ipset on a hypervisor.However, only individual IP addresses can be added this way. Adding a prefix is not supported.
Proposal
What if it was allowed to pass an arbitrary IPv6 prefix to
addIpToNic
?This way an IPv6 subnet would be added to the ipset on the hypervisor so the VM instance is actually allowed to send traffic from it.
However, there will be two things that a Cloudstack administrator must have solved outside of Cloudstack:
Your thoughts on this? I know @wido is an IPv6 enthusiast, his input will be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions