Attach the default NIC to a bridge while using OVN Kubernetes
Issue
Given a node with a single NIC, we want to use this NIC for both management of the node and to connect VMs hosted on this node to outside networks.
While typically, this could be done by connecting the port to a Linux bridge, and moving the original IP configuration of the NIC onto the bridge, this is not possible on OpenShift when OVN Kubernetes is used as the default CNI.
This article describes the problem, offers a few known workarounds, and suggests a long-term solution.
Environment
- OpenShift Container Platform 4.11
- OpenShift Virtualization 4.11
An OpenShift cluster with one or more nodes, where each node has only a single usable NIC that's currently used for management traffic and by OVN Kubernetes (the default CNI in 4.11).
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.