Configure bonding on a baremetal cluster
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.