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

I was able to assign the IP address to domU by modifying the ifcfg-eth0 file. But I was just wondering what is this the best practice? How about environments where servers are frequently brought up and down to scale an application? Isn't it better to write down IP addresses in the configuration once and then not worry about editing ifcfg-eth0 everytime?

Please share your thoughts.


On Fri, 2009-09-04 at 05:12 +0700, Fajar A. Nugraha wrote:
On Thu, Sep 3, 2009 at 9:36 PM, Viswanath
Durbha<Durbha.Viswanath@xxxxxxxxxxxxx> wrote:
> 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?

You should use the normal method of whatever OS in domU to configure
IP address. For Centos it would be

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>