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.you...@gmail.com>
Sent: Monday, March 17, 2025 7:15 AM
To: users <users@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.
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/BI7VY57FVVJWJVQXXI2SS772U5CW63OR/

Reply via email to