2

I've got a problem with GNOME Boxes:

I've 2 machines, cloned 1 from other, with CentOS. Both machines get same IP address on GNOME Boxes, so when I boot the 2nd, the 1st gets disconnected from network, and vice versa. This is not acceptable behaviour, and I've been struggling to find out why does this happen for quite some time.

Roman Riabenko
  • 2,145
  • 3
  • 15
  • 39
Mikhail Krutov
  • 1,014
  • 2
  • 11
  • 22
  • What version of GNOME Boxes was that? The current version (at least 3.38.1) assigns a different MAC address by default when cloning a virtual machine. – Roman Riabenko Nov 08 '20 at 19:37

1 Answers1

3

What I've found out is that Gnome Boxes & Libvirt save mac-address for machines in config located here:

/home/$USER/.config/libvirt/qemu  

So, to fix the issue, both machines must have different Mac-addresses, which can be fixed only by editing those files. Didn't find any relevant option in Gnome Boxes GUI.

Mikhail Krutov
  • 1,014
  • 2
  • 11
  • 22
  • It should be also possible to change `` value in GNOME Boxes (at least in version 3.38.1) in the VM's properties → system → edit XML. – Roman Riabenko Nov 08 '20 at 19:48