[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

Thanks,
Viswanath


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
/etc/sysconfig/networ-scripts/ifcfg-eth0.



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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.