Hi,
ovirt 4.4 on centos 8.
We have changed the network card of a hypervisor which uses bonding
interface.
The bonding interface still uses the old MAC address of the former slave
interface.
We tried to modify it via CLI but it didn't work, as soon as the node
(hypervisor) is activated, the old MAC is reestablished.
it seems to be backed up somewhere.
Should we reinstall the host?
Regards.
Show replies by date
Hi,
Connected to host, simply remove the connection. Let’s assume the old and the new
interface have the same device name, for example, eno2:
nmcli con del eno2
And then add the new interface to the bond:
nmcli connection add type ethernet \
slave-type bond \
con-name eno2 \
ifname eno2 \
802-3-ethernet.auto-negotiate yes \
master bond0
Change the con-name and ifname accordingly to your device name.
Marcos
From: wodel youchi <wodel.youchi(a)gmail.com>
Sent: Monday, March 17, 2025 7:15 AM
To: users <users(a)ovirt.org>
Subject: [External] : [ovirt-users] How to modify the MAC address of a bonding interface
after changing the nic card
Hi,
ovirt 4.4 on centos 8.
We have changed the network card of a hypervisor which uses bonding interface.
The bonding interface still uses the old MAC address of the former slave interface.
We tried to modify it via CLI but it didn't work, as soon as the node (hypervisor) is
activated, the old MAC is reestablished.
it seems to be backed up somewhere.
Should we reinstall the host?
Regards.