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

I'm trying to add interfaces to a DomU (either on the fly or after reboot) and the attach-interface script works just fine.

The problem is that when I reboot the DomU the interfaces added are "lost"....

Is there a way to save the interface configuration?

I tried adding vif=[''] line to the *.cfg file but with no success.

Can somebody give me a hint on what to do?

share|improve this question

Look for the xenstore:

" ... XenStore is used ... as a mechanism of creating and controlling Domain-U devices."

share|improve this answer

Thanks for the replies.

The problem was not in making the interface configuration persistant but rather in making the interface itself persistant when the DomU is rebooted after attaching it.

For the time being, I'm simply avoiding adding interfaces....


share|improve this answer

Not sure I really understand what your problem is.

Here is an example configuration which is currently functionnal for a Xen 3.2.1 on Debian Lenny but also works for Xen 4.0.

vif         = [ 'ip=188.165.xx.17,mac=00:16:3E:E4:F7:FA', ',mac=00:16:3E:E4:47:6A' ]

This is extremely useful in a network-route configuration as it is used for the routing taking place in the dom0.

If it's IP configuration for the domU itself, it has nothing to do with Xen. Just make the network configuration persistant in the domU.

share|improve this answer

Your Answer


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