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] guest ip from DHCP

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] guest ip from DHCP
From: "Arpan Jindal" <jindalarpan@xxxxxxxxx>
Date: Wed, 23 Apr 2008 12:02:30 +0530
Delivery-date: Tue, 22 Apr 2008 23:33:08 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=cMZtWiVjjvHjrzW4BW+RECR7R7VxsDfnNE0Zt6PjF5U=; b=P8Vgto3oa+zm/dZKtdbKA0aCoTw/0h3Ts1OyRdNmFqFYjHA++ZRwCte4YcLQsZnS/lTkwdf2u6jZkqDR7HlZIZWyEtd4QLYSD9jBoUgwWi4bS7tAUsmZFqq/M0/BgWeMBskzqMU1PGQxQQZqnwD3lxH3EHlKxayk0lZ88tpjAtA=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <480D9925.4020406@xxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <b2d4ab9d0804180209h6be0c65ej7d070a4f6f261c0b@xxxxxxxxxxxxxx> <b2d4ab9d0804211149i16b5ba1ci6738a7b36c1102e8@xxxxxxxxxxxxxx> <6025df6b0804211220k1d6e6bc3k56226e85fd51e7b2@xxxxxxxxxxxxxx> <480D9925.4020406@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>