Re: Cloning bridged VMs : VirtualBox vs. KVM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, 2021-03-26 at 07:30 +0100, Nicolas Kovacs wrote:
> Le 26/03/2021 à 03:09, Jyrki Tikka a écrit :
> > Both virt-manager and virt-clone prevent you from doing this. However,
> > you can change the created random MAC using virsh edit on the cloned
> > domain.
> 
> Do you mean that I can use virsh edit to define an identical MAC address for
> the original VM and the clone?

That's exactly what I mean. Just look up the original MAC address and
use it in the interface section of the XML definition

    <interface type='bridge'>                                                                            
      <mac address='52:54:00:ba:de:91'/>                                                                 
      <source bridge='br0'/>                                                                             
      <model type='rtl8139'/>                                                                            
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>                        
    </interface>                                                                                        

<(*) Jyrki

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux