This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-users] domU static IP


Thanks for a very quick response.

I know my way around Linux a little bit but never compiled my own kernel :-(. Is there any place where I can get a xen domU pre-compiled kernel with that flag enabled and use it in my CentOS?


On Thu, 2009-09-03 at 08:32 -0700, Grant McWilliams wrote:

On Thu, Sep 3, 2009 at 7:36 AM, Viswanath Durbha <Durbha.Viswanath@xxxxxxxxxxxxx> wrote:

I'm trying to setup xen on a server with bridge networking. I have RedHat as my dom0. I have two Ubuntu instances and one CentOS instance as domU's. All of them (dom0 and domU) use static ip addresses.

The configuration files for domU's specify in the vif line what ip address to be assigned to that particular domU. It works fine for my ubuntu domU's. But it does not work for my CentOS domU.

Can someone help me figure out what's going on? Also, what is the  best way to configure domU with static ip?


I had the same problem. Your CentOS kernel needs to be recompiled...
An update on the website about this:

"The kernel has to be compiled with CONFIG_IP_PNP to enable the
automatic network settings.

Then IP, Netmask, Gateway, … will set from config-file (as long, there
is no extra setting in domU's /etc/network/interfaces for eth0)

grep IP_PNP /boot/config-2.6.-xen" shows you if it is set." - xen mailing list

Related (old) bug report:

Grant McWilliams

This e-mail and any files transmitted with it are for the sole use of
the intended recipient(s) and may contain confidential and privileged
If you are not the intended recipient, please contact the sender by
reply e-mail and destroy all copies of the original message.
Any unauthorized review, use, disclosure, dissemination, forwarding,
printing or copying of this email or any action taken in reliance on this
e-mail is strictly prohibited and may be unlawful.

Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>