Skip to content

Commit eca7c58

Browse files
authored
IPv6 corrections (#628)
* Update unsupported features list in ipv6.rst Remove the security group from IPv6 limitations * Update IPv6 support information in documentation Clarified IPv6 support details for shared networks, including deployment models and limitations. * IPv6 page formatting * Update IPv6 Shared Network documentation with address assignment and routing details * Update IPv6 support * Clarify that IPv6 Start IP and End IP are optional parameters * IPv6: fix heading level for IPv6 Address Assignment and Routing section Use the subsection (#) underline instead of the page-title (=) underline so the section nests correctly under 'Shared network' instead of rendering as a top-level sibling that detaches the following sections.
1 parent d140a8b commit eca7c58

1 file changed

Lines changed: 59 additions & 7 deletions

File tree

source/plugins/ipv6.rst

Lines changed: 59 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,65 @@ CloudStack has limited IPv6 support. It supports IPv6 for shared and isolated ne
2020

2121
Shared network
2222
--------------
23-
With IPv6 support, Instances in shared networks can obtain both IPv4 and IPv6 addresses from the DHCP
24-
server. You can deploy Instances either in a IPv6 or IPv4 network, or in a
25-
dual network environment. If IPv6 network is used, the Instance generates a
26-
link-local IPv6 address by itself, and receives a stateful IPv6 address
27-
from the DHCPv6 server.
23+
When IPv6 is enabled, Instances deployed in a Shared Network can obtain both IPv4 and IPv6 addresses.
24+
CloudStack supports the following deployment models:
25+
26+
- IPv4-only networks
27+
- Dual-stack networks (IPv4 + IPv6)
28+
29+
In an IPv6-enabled network:
30+
31+
- The Instance automatically generates a link-local IPv6 address.
32+
- A stateful IPv6 address is assigned through a DHCPv6 server when configured.
33+
34+
.. note::
35+
IPv6-only Shared Networks are not supported when using the Virtual Router
36+
provider. In such environments, IPv6 must be deployed in a dual-stack
37+
configuration.
38+
39+
IPv6 Address Assignment and Routing
40+
###################################
41+
42+
In Shared Networks, IPv6 address assignment and routing are provided by the upstream network infrastructure, not by the CloudStack Virtual Router.
43+
44+
When IPv6 is enabled on a Shared Network:
45+
46+
- Instances automatically generate a link-local IPv6 address.
47+
- IPv6 global or ULA addresses are typically assigned via:
48+
49+
- SLAAC (Router Advertisements) from the upstream router, or
50+
- An external DHCPv6 server (if present in the upstream network).
51+
52+
- CloudStack does not provide DHCPv6 services in Shared Networks via the Virtual Router.
53+
54+
SLAAC-based IPv6 Address Allocation in Shared Networks
55+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
56+
57+
In shared networks with IPv6 enabled:
58+
59+
- CloudStack allocates instance NICs with SLAAC-based IPv6 addresses calculated from the IPv6 CIDR and the MAC address of the NIC.
60+
- This calculated SLAAC address matches the IPv6 address that the guest OS automatically assigns to the instance.
61+
- When creating or configuring IPv6 ranges for shared networks, the **IPv6 Start IP** and **IPv6 End IP** parameters are optional in both the UI and API (e.g., ``createVlanIpRange``) and are **not used** for SLAAC-based address allocation in shared networks.
62+
- If provided, these parameters should be filled with dummy IP addresses within the same IPv6 subnet (for example, any two valid addresses from your IPv6 CIDR).
63+
- These optional parameters are reserved for potential future use.
64+
65+
Important Notes
66+
~~~~~~~~~~~~~~~
67+
68+
- In Shared Networks, the Virtual Router does not act as the IPv6 gateway.
69+
- IPv6 default routing is determined entirely by upstream infrastructure.
70+
- CloudStack does not control IPv6 Router Advertisements in Shared Networks.
71+
- IPv6-only Shared Networks using the Virtual Router provider are not supported.
72+
73+
Operational Implications
74+
~~~~~~~~~~~~~~~~~~~~~~~~
75+
76+
For IPv6 to function correctly in a Shared Network:
77+
78+
- The upstream network must advertise the IPv6 prefix using Router Advertisements (SLAAC), or
79+
- An external DHCPv6 server must be present.
80+
- The upstream router must provide the IPv6 default gateway.
81+
- CloudStack will not automatically generate or manage IPv6 gateway functionality in this mode.
2882

2983
IPv6 is supported only on KVM and XenServer hypervisors. The IPv6
3084
support is only an experimental feature.
@@ -92,8 +146,6 @@ Limitations
92146

93147
The following are not yet supported:
94148

95-
#. Security groups
96-
97149
#. User Data and metadata
98150

99151
#. Passwords

0 commit comments

Comments
 (0)