Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Is it possible to use Static VIF names for virtual nics in Xen? Which don´t change on reboot of the VM?

share|improve this question

1 Answer 1

Yes, it's possible. Use vif=<nicname>, and maybe mac=<mac_address> in your *.cfg file.

vif  = [ 'bridge=xenbr0,vifname=resolver1.0,mac=00:16:3e:01:00:02', ]

There have to be similar option for libvirt and xend managed domUs.

share|improve this answer
Is this also possible with XenServer? I suppose yes, as they use exactly the same open source kernel, just add some GUI tools and some extras to it. But maybe someone can confirm this. Im fine with the auto generated MAC, I just want a specific VM not to change its vif device ID on each reboot which changes as each domain ID changes this is very annoying and I hate it as you cannot keep a specific VIF card and lose it all the time. – nibb11 Apr 3 '12 at 18:07

Your Answer


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.