Cluster-wide configuration of masquerade network binding subnet for OpenShift Virtualization
Issue
-
OpenShift Virtualization connects virtual machines to the Pod network through a NAT, where the IP of the VM is by default
10.0.2.2/24
. This may be a problem in environments where10.0.2.0/24
is already used for another service. -
This subnet can be changed on VM object by setting
vmNetworkCIDR
. However, this breaks the UI flow.
Environment
OpenShift Virtualization
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.