WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] domU static IP

Hi,

The problem seems to have been resolved by following the instructions given in comment#3 of the bugzilla discussion below:

http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=471#c3

Basically, I modified the ifcfg-eth0 file to add a function that reads /proc/cmdline and sets the parameters to eth0 interface. This is fantastic!! Thanks for everyone who responded to my question.

Thanks,
Vishi

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:
Hi,

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?

Thanks,
Viswanath



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

"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:
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=471


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
information.
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
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>