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

To: Viswanath Durbha <Durbha.Viswanath@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] domU static IP
From: Grant McWilliams <grantmasterflash@xxxxxxxxx>
Date: Thu, 3 Sep 2009 08:32:15 -0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 03 Sep 2009 08:33:25 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=cKQIq91YE4rtDMPpb1Z4PS0a/Ik04I+8K6WyO/67XZg=; b=Ypt9TXFhFMJ+95fmaFOEuJTlwlj7bmA2eFYoH1yfox3dbbd+KgUKwsiNYGGLGLSi/S Q0/wk/ofOS0X+3mrwqKNDZTYG/q9NnNL7DwWWLpL63cTo4mRq7ArBDxkCsdUSE9GUjxw Ks8qMTzqa+qehB3CQMX8ra91HjU1C+V/sMQJU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=K8kK1PKoKy69/9rNHekG08U94Lwx5SJ+8izZH6dAL2nG67/qQJCDlVF1bXW6/uv/bu 4NzI71Ev67qXT71iZ+wWVFUMffKF3B1F2SqJhqWuqJ0Nih85WtHIw4FQHNAc3tpVly30 fbrU/fgrU8s9FrWerwmAv7Uwa5fzOiz5BUW34=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1251988561.10967.16.camel@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <1251988561.10967.16.camel@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

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
Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>