Configure bonding on a baremetal cluster

Solution Verified - Updated -

Issue

  • The baremetal host has two physical interfaces: eno1 and eno2.
  • These are configured as bond0 using the following MachineConfig:
yaml
apiVersion: machineconfiguration.openshift.io/v1
kind: MachineConfig
metadata:
  labels:
    machineconfiguration.openshift.io/role: worker
  name: 99-openshift-machineconfig-worker-kargs
spec:
  kernelArguments:
    - bond=bond0:eno1,eno2:mode=active-backup:primary=eno1 ip=bond0:dhcp

Problem:
The br-ex interface is not bridged on this bond. Instead it is bridged on the eno1 interface.

  • How can we properly configure bonding and have br-ex bridged to this bond?

Environment

  • Red Hat Openshift (OCP) 4.9 Bare Metal

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