Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
    
Do you see anything in /var/log/messages about turning on/off the "learning mode" for the bridge on your Dom0? I guess this is the place where something goes wrong. –  Nils May 8 '13 at 7:53

1 Answer 1

udev manages devices and you changed the network device. so the kernel can't recognize it because the old mac address doesn't exist.

Remove the file /etc/udev/rules.d/70-persistent-net.rules then reboot.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.