Menu Close
11.5.5. Preparing the network environment on RHV
Configure three static IP addresses for the OpenShift Container Platform cluster and create DNS entries using two of these addresses.
Procedure
Reserve three static IP addresses
- On the network where you plan to install OpenShift Container Platform, identify three static IP addresses that are outside the DHCP lease pool.
Connect to a host on this network and verify that each of the IP addresses is not in use. For example, use Address Resolution Protocol (ARP) to check that none of the IP addresses have entries:
$ arp 10.35.1.19
Example output
10.35.1.19 (10.35.1.19) -- no entry
- Reserve three static IP addresses following the standard practices for your network environment.
- Record these IP addresses for future reference.
Create DNS entries for the OpenShift Container Platform REST API and apps domain names using this format:
api.<cluster-name>.<base-domain> <ip-address> 1 *.apps.<cluster-name>.<base-domain> <ip-address> 2
For example:
api.my-cluster.virtlab.example.com 10.35.1.19 *.apps.my-cluster.virtlab.example.com 10.35.1.20
注記The third static IP address does not require a DNS entry. The OpenShift Container Platform cluster uses that address for its internal DNS service.