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] virtual machines, DHCP, and ssh?

To: Tom Horsley <tom.horsley@xxxxxxx>
Subject: Re: [Xen-users] virtual machines, DHCP, and ssh?
From: lsc@xxxxxxxxxxxxxxxxxx
Date: Fri, 8 Feb 2008 09:59:26 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 18 Feb 2008 09:31:18 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080208173615.084849c1@zooty>
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: <20080208173615.084849c1@zooty>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.2i
On Fri, Feb 08, 2008 at 05:36:15PM -0500, Tom Horsley wrote:
> I'd love to setup DHCP on the Xen host and just allocate
> whatever IP is available to whatever new VM was just booted,
> but with different VMs reusing the same IP addrs, everyone's
> ssh clients will constantly be honking at them about the
> host keys changing.

you should access your servers by name, not by IP, and your servers, when they 
come up, should dynamically setup A and PTR records.  You can do this with 
rc scripts within your DomU and nsupdate, but the DHCP folks have 
alrealdy set you up, I believe you want to look up the ddns-update* 
directives in dhcpd.conf.  It's been a while since I've messed with it, but
here is a guide that looks pretty good:

http://www.cameratim.com/computing/linux/using-bind-as-a-local-dns-server

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

<Prev in Thread] Current Thread [Next in Thread>