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

Re: [Xen-users] set static ip in config file


  • To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
  • From: ma qiang <maqiang1984@xxxxxxxxx>
  • Date: Mon, 1 Feb 2010 16:10:13 +0800
  • Cc:
  • Delivery-date: Mon, 01 Feb 2010 00:10:50 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=NoyvURrZTmhjWGlfrZiI5j+BAbdNcXKsPQ/2LiJoVAgN9+w1TWsdfP8RdjKQZEqXNN UrXH/TLolNjN9DnF0sr2Juv4g24KCq0epuL3a/TVTeFkQQakUBuYWmrXlRt9CvGnf0m9 FvozHh0Q7Qr866IYhffeS51kV8jEOYR7BMUSM=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

hi,
Thanks very much.
I have many VMs to deploy and have to set static ip for each VM. So I
want to try some methods.
Can you send me some cases such as deploying custom bridge+iptables script?

Best Wishes
Qiang Ma

On Mon, Feb 1, 2010 at 4:01 PM, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
> On Mon, Feb 1, 2010 at 2:40 PM, ma qiang <maqiang1984@xxxxxxxxx> wrote:
>> I set static ip==192.168.1.100 in vif, but the centos in domU still
>> use the dhcp.  To be noted here, I can set static ip in centos when I
>> connect to the console of domU.
>>
>> Who can tell me why and how to set static ip in config file.
>> Thanks a lot.
>
> Short answer: that's the way it works.
> There are cases when setting IP in domU config file can be used (for
> example when deploying custom bridge+iptables script), but that's
> kinda complicated. The short version is that using the default setup
> the setting is not used and has no effect on actual domU IP address.
>
> --
> Fajar
>

_______________________________________________
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®.