Skip to content

Commit e75bd2c

Browse files
committed
OCPBUGS#55102: Include reserved HCP CIDR ranges
1 parent 8362c24 commit e75bd2c

File tree

2 files changed

+25
-4
lines changed

2 files changed

+25
-4
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
:_mod-docs-content-type: ASSEMBLY
2+
[id="hcp-cidr-ranges"]
3+
include::_attributes/common-attributes.adoc[]
4+
= CIDR ranges for {hcp}
5+
:context: hcp-cidr-ranges
6+
7+
toc::[]
8+
9+
For deploying {hcp} on {product-title}, consider the following required Classless Inter-Domain Routing (CIDR) subnet ranges:
10+
11+
* `v4InternalSubnet`: 100.65.0.0/16 (OVN-Kubernetes)
12+
* `clusterNetwork`: 10.132.0.0/14 (pod network)
13+
* `serviceNetwork`: 172.31.0.0/16
14+
15+
To know {product-title} CIDR range definitions, see xref:../../networking/cidr-range-definitions.adoc#cidr-range-definitions[CIDR range definitions].

networking/cidr-range-definitions.adoc

+10-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ endif::openshift-dedicated,openshift-rosa[]
99

1010
toc::[]
1111

12-
If your cluster uses OVN-Kubernetes, you must specify non-overlapping ranges for Classless Inter-Domain Routing (CIDR) subnet ranges.
12+
If your cluster uses OVN-Kubernetes, you must specify non-overlapping ranges for Classless Inter-Domain Routing (CIDR) subnet ranges.
1313

1414
[IMPORTANT]
1515
====
@@ -18,9 +18,9 @@ For {product-title} 4.17 and later versions, clusters use `169.254.0.0/17` for I
1818

1919
The following subnet types and are mandatory for a cluster that uses OVN-Kubernetes:
2020

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.
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.
2222
* 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.
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.
2424
2525
[NOTE]
2626
====
@@ -45,6 +45,12 @@ OVN-Kubernetes, the default network provider in {product-title} 4.14 and later v
4545
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.
4646
====
4747

48+
For {hcp} on {product-title}, consider the following required CIDR ranges:
49+
50+
* `v4InternalSubnet`: 100.65.0.0/16 (OVN-Kubernetes)
51+
* `clusterNetwork`: 10.132.0.0/14 (pod network)
52+
* `serviceNetwork`: 172.31.0.0/16
53+
4854
ifndef::openshift-rosa,openshift-dedicated[]
4955
[role="_additional-resources"]
5056
.Additional resources
@@ -121,4 +127,4 @@ endif::openshift-rosa,openshift-dedicated[]
121127
122128
ifdef::openshift-enterprise[]
123129
For example, if the host prefix is set to `/23`, each machine is assigned a `/23` subnet from the pod CIDR address range. The default is `/23`, allowing 510 cluster nodes, and 510 pod IP addresses per node.
124-
endif::openshift-enterprise[]
130+
endif::openshift-enterprise[]

0 commit comments

Comments
 (0)