You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You must specify non-overlapping ranges for the following CIDR ranges.
12
+
If your cluster uses OVN-Kubernetes, you must specify non-overlapping ranges for Classless Inter-Domain Routing (CIDR) subnet ranges.
13
+
14
+
[IMPORTANT]
15
+
====
16
+
For {product-title} 4.17 and later versions, clusters use `169.254.0.0/17` for IPv4 and `fd69::/112` for IPv6 as the default masquerade subnet. These ranges should also be avoided by users. For upgraded clusters, there is no change to the default masquerade subnet.
17
+
====
18
+
19
+
The following subnet types and are mandatory for a cluster that uses OVN-Kubernetes:
20
+
21
+
* Join: Uses a join switch to connect gateway routers to distributed routers. A join switch reduces the number of IP addresses for a distributed router. For a cluster that uses the OVN-Kubernetes plugin, an IP address from a dedicated subnet is assigned to any logical port that attaches to the join switch.
22
+
* Masquerade: Prevents collisions for identical source and destination IP addresses that are sent from a node as hairpin traffic to the same node after a load balancer makes a routing decision.
23
+
* Transit: A transit switch is a type of distributed switch that spans across all nodes in the cluster. A transit switch routes traffic between different zones. For a cluster that uses the OVN-Kubernetes plugin, an IP address from a dedicated subnet is assigned to any logical port that attaches to the transit switch.
13
24
14
25
[NOTE]
15
26
====
16
-
Machine CIDR ranges cannot be changed after creating your cluster.
27
+
You can change the join, masquerade, and transit CIDR ranges for your cluster as a post-installation task.
17
28
====
18
29
19
30
ifdef::openshift-rosa,openshift-dedicated[]
20
31
When specifying subnet CIDR ranges, ensure that the subnet CIDR range is within the defined Machine CIDR. You must verify that the subnet CIDR ranges allow for enough IP addresses for all intended workloads depending on which platform the cluster is hosted.
21
32
endif::[]
22
33
34
+
OVN-Kubernetes, the default network provider in {product-title} 4.14 and later versions, internally uses the following IP address subnet ranges:
35
+
36
+
* `V4JoinSubnet`: `100.64.0.0/16`
37
+
* `V6JoinSubnet`: `fd98::/64`
38
+
* `V4TransitSwitchSubnet`: `100.88.0.0/16`
39
+
* `V6TransitSwitchSubnet`: `fd97::/64`
40
+
* `defaultV4MasqueradeSubnet`: `169.254.0.0/17`
41
+
* `defaultV6MasqueradeSubnet`: `fd69::/112`
42
+
23
43
[IMPORTANT]
24
44
====
25
-
OVN-Kubernetes, the default network provider in {product-title} 4.14 and later versions, uses the following IP address ranges internally: `100.64.0.0/16`, `169.254.169.0/29`, `100.88.0.0/16`, `fd98::/64`, `fd69::/125`, and `fd97::/64`. If your cluster uses OVN-Kubernetes, do not include any of these IP address ranges in any other CIDR definitions in your cluster or infrastructure.
26
-
27
-
For {product-title} 4.17 and later versions, clusters use `169.254.0.0/17` for IPv4 and `fd69::/112` for IPv6 as the default masquerade subnet. These ranges should also be avoided by users. For upgraded clusters, there is no change to the default masquerade subnet.
45
+
The previous list includes join, transit, and masquerade IPv4 and IPv6 address subnets. If your cluster uses OVN-Kubernetes, do not include any of these IP address subnet ranges in any other CIDR definitions in your cluster or infrastructure.
28
46
====
29
47
48
+
ifndef::openshift-rosa,openshift-dedicated[]
49
+
[role="_additional-resources"]
50
+
.Additional resources
51
+
52
+
* For more information about configuring join subnets or transit subnets, see xref:../networking/ovn_kubernetes_network_provider/configure-ovn-kubernetes-subnets.adoc#configure-ovn-kubernetes-subnets[Configuring OVN-Kubernetes internal IP address subnets].
53
+
endif::[]
54
+
30
55
[id="machine-cidr-description"]
31
56
== Machine CIDR
57
+
32
58
In the Machine classless inter-domain routing (CIDR) field, you must specify the IP address range for machines or cluster nodes.
59
+
60
+
[NOTE]
61
+
====
62
+
Machine CIDR ranges cannot be changed after creating your cluster.
63
+
====
64
+
33
65
ifdef::openshift-rosa,openshift-dedicated[]
34
66
This range must encompass all CIDR address ranges for your virtual private cloud (VPC) subnets. Subnets must be contiguous. A minimum IP address range of 128 addresses, using the subnet prefix `/25`, is supported for single availability zone deployments. A minimum address range of 256 addresses, using the subnet prefix `/24`, is supported for deployments that use multiple availability zones.
35
67
endif::openshift-rosa,openshift-dedicated[]
@@ -43,6 +75,14 @@ When using {hcp-title}, the static IP address `172.20.0.1` is reserved for the i
0 commit comments