Changing the mac address in a libvirt xml config file breaks network connectivity for the guest

Posted by foob on Server Fault See other posts from Server Fault or by foob
Published on 2013-04-24T22:09:34Z Indexed on 2013/10/29 3:58 UTC
Read the original article Hit count: 443

I'm using Xen with libvirt and trying to set it up on a bridged interface. I am able to install an OS and everything works as I would expect. If I save the xml output from "virsh dumpxml guest", edit the mac address for the interface, and then define the domU with this new xml file I find that traffic is no longer forwarded from the vif0.0 interface to br0. The ifcfg-eth0 file on the guest was automatically updated to reflect the new mac address and the ifconfig output looks the same. Does anyone know why this is happening or how to properly change the mac address for a libvirt configuration?

© Server Fault or respective owner

Related posts about networking

Related posts about virtualization