1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/hcp-ts-subnet-cidr-format.adoc
2025-12-12 20:02:08 +00:00

38 lines
662 B
Plaintext

// Module included in the following assemblies:
//
// * hosted_control_planes/hcp-troubleshooting.adoc
:_mod-docs-content-type: PROCEDURE
[id="hcp-ts-subnet-cidr-format_{context}"]
= Ensuring a valid IPv4 CIDR format
If you do not specify subnets in a valid CIDR format, an error occurs.
.Procedure
* Ensure that the CIDR format follows the following format:
+
[source,text]
----
X.X.X.X/Y
----
+
where:
+
`X`:: is a value from `0` to `255`. The first octet must not be `0`.
`Y`:: is a value from `0` to `30`.
.Valid examples
[source,text]
----
100.99.0.0/16
192.168.1.0/24
----
.Invalid examples
[source,text]
----
100.99.0.0
256.1.1.0/16
0.99.0.0/16
----