How to make the secondary interface as a default network in OpenShift Virtualization VM?

Solution Verified - Updated -

Issue

  • The OpenShift Virtual Machine, which has two network interfaces consisting of a default pod interface and an additional bridge interface, cannot be reached from other networks in the environment.
  • The virtual machine can ping the bridge network gateway and is accessible from the servers within that network but not from any other network.
  • External traffic from the VM is routed through pod network instead of OVN secondary network. How to mark OVN secondary network as default route?

Environment

  • Red Hat OpenShift Virtualization 4.13, 4.14, 4.15, 4.16.
    • OpenShift Virtualization 4.13, 4.14, 4.15, 4.16.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content