Home > Workload Solutions > Container Platforms > Red Hat OpenShift Container Platform > Archive > Implementation Guide—Red Hat OpenShift Container Platform 4.6 on Dell Infrastructure > Defining the cluster CNI
By default, the network options are in the install-config.yaml file. See Preparing and running the Ansible playbooksPreparing and running the Ansible playbooks.
The following code shows CNI information in the sample install-config.yaml file:
networking:
clusterNetworks:
- cidr: 10.128.0.0/14
hostPrefix: 23
networkType: OpenShiftSDN
serviceNetwork:
- 172.30.0.0/16
The following table defines the variables:
CNI value |
Definition |
Cidr |
Range of IP addresses for pods running in the OpenShift Container Platform cluster. |
hostPrefix |
Number of IP addresses assigned in each compute node. The value 23 means that there is a limit of 512 IP addresses in each compute node. |
networkType |
Default CNI driver for the OpenShift Container Platform cluster, which is OpenShiftSDN in this example. |
serviceNetwork |
Range of IP addresses for services created in the OpenShift Container Platform cluster. |
Ignition configuration files are created from the information that you define in the install-config.yaml file by using the openshift-install binary file. Creating ignition files is described as a play in the Ansible playbooks. For the steps to perform the task, see this GitHub file.