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

Re: [Xen-users] guest ip from DHCP


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Arpan Jindal" <jindalarpan@xxxxxxxxx>
  • Date: Wed, 23 Apr 2008 12:02:30 +0530
  • Delivery-date: Tue, 22 Apr 2008 23:33:08 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=vpTvXucnV2Vi78OkM0z+DoijYIjFhFwB8yXm0z8dAUjHmWxLcJNq73wAiXI92AfXsxDaCR8xsdW8ixQcFBYzulHp3EqgeBhlXf90tyxM+qdQxeq2ZsGhgyePoFE/ICvqlzTPN7UblzcKaYKO0GwoFsaRIZyO6zKQiAprcyGa4U0=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi All
the problem here is when i choose for DHCP ip for other systems like windows and all othere ip remains the same for month together but when i am setting dhcp for virtual machines ip doesnt remain same for more than 2 days for some of the virtual machines.
 
thanks


 
On 4/22/08, Nico Kadel-Garcia <nkadel@xxxxxxxxx> wrote:
Jeff Lane wrote:
On Mon, Apr 21, 2008 at 2:49 PM, Arpan Jindal <jindalarpan@xxxxxxxxx> wrote:

 
I am facing issue related ot ip of guest machine.
when i boot the guest machine with the following configuration for ip
vif = [ 'type=ioemu, mac=00:16:3e:2a:4b:a0, bridge=xenbr0' ]
 then to ip address changes after some time. Is there any other variable
need to be added so that ip address remains the same for guest os while
getting ip from DHCP server.
   


Could you not just configure your DHCP server to pass the same IP
every time based on the MAC address of the ethernet device in your
DomU?
 
That's what I use. It's quite effecitve, as well.


That, or set your DHCP TTL to something outrageous, or just use static
IP addresses for your guests...

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
 


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