On 9/17/24 10:07 AM, Alvin Starr via Users wrote:
On 2024-09-17 08:05, bd730c5053df9efb via Users wrote:
> Hi all!
>
> I have a question about networking and haven't been able to find it online. I
need to replicate a server installation in a host to be able to test a procedure but the
host is on the same network as the servers so I am not being able to create an isolated
network on the host because there is an interface in the same range of ip adresses. Is
there any way to create this isolated virtual network without it conflicting with the
hosts network?
>
>
my quick guess is that you have created a copy of the VM with identical
MAC addresses for the NIC.
Each NIC on your network needs to have a unique MAC address.
There are a few tools to generate random MAC addresses.
Grab one of these and then just change the mac address in the clone VM.
If that is the problem (it wasn't clear from the original message
exactly what the problem was), then it can be solved by simply editing
the config of the guest (with "virsh edit $guestname") and removing the
<mac address='blah'/> element from the <interface>. As soon as you
save
that config, libvirt will see that there is no MAC address, and
automatically generate a random address within 52:54:00:*.