Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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.