Skip to content

Commit 4e2d1e7

Browse files
authored
Merge pull request #44548 from sjhala-ccs/BZ2017421
BZ2017421: Adding more info about the IPv6 address and gateway IP
2 parents 5a7dab7 + aaddb58 commit 4e2d1e7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/virt-configuring-masquerade-mode-dual-stack.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
[id="virt-configuring-masquerade-mode-dual-stack_{context}"]
77
= Configuring masquerade mode with dual-stack (IPv4 and IPv6)
88

9-
You can configure a new virtual machine to use both IPv6 and IPv4 on the default pod network by using cloud-init.
9+
You can configure a new virtual machine (VM) to use both IPv6 and IPv4 on the default pod network by using cloud-init.
1010

11-
The IPv6 network address must be statically set to `fd10:0:2::2/120` with a default gateway of `fd10:0:2::1` in the virtual machine configuration. These are used by the virt-launcher pod to route IPv6 traffic to the virtual machine and are not used externally.
11+
The `Network.pod.vmIPv6NetworkCIDR` field in the virtual machine instance configuration determines the static IPv6 address of the VM and the gateway IP address. These are used by the virt-launcher pod to route IPv6 traffic to the virtual machine and are not used externally. The `Network.pod.vmIPv6NetworkCIDR` field specifies an IPv6 address block in Classless Inter-Domain Routing (CIDR) notation. The default value is `fd10:0:2::2/120`. You can edit this value based on your network requirements.
1212

1313
When the virtual machine is running, incoming and outgoing traffic for the virtual machine is routed to both the IPv4 address and the unique IPv6 address of the virt-launcher pod. The virt-launcher pod then routes the IPv4 traffic to the DHCP address of the virtual machine, and the IPv6 traffic to the statically set IPv6 address of the virtual machine.
1414

@@ -47,8 +47,8 @@ metadata:
4747
----
4848
<1> Connect using masquerade mode.
4949
<2> Allows incoming traffic on port 80 to the virtual machine.
50-
<3> You must use the IPv6 address `fd10:0:2::2/120`.
51-
<4> You must use the gateway `fd10:0:2::1`.
50+
<3> The static IPv6 address as determined by the `Network.pod.vmIPv6NetworkCIDR` field in the virtual machine instance configuration. The default value is `fd10:0:2::2/120`.
51+
<4> The gateway IP address as determined by the `Network.pod.vmIPv6NetworkCIDR` field in the virtual machine instance configuration. The default value is `fd10:0:2::1`.
5252

5353
. Create the virtual machine in the namespace:
5454
+

0 commit comments

Comments
 (0)