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] Automatically provisioning IP addresses on a new VM

To: "Andrew White" <admin@xxxxxxxxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Automatically provisioning IP addresses on a new VM
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Sat, 20 Nov 2010 15:53:21 +1100
Cc:
Delivery-date: Fri, 19 Nov 2010 20:54:45 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTinibYH-UF0txZgkXTmALRQaSvTV60PRkHM0BnFV@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTinibYH-UF0txZgkXTmALRQaSvTV60PRkHM0BnFV@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcuIbSeKeadzz2iFS0+loeS3hrQGUgAAWgaw
Thread-topic: [Xen-users] Automatically provisioning IP addresses on a new VM
> Hi all,
> 
> I was wondering if anyone could point me in the right direction.
> 
> I know there are plenty of VPS hosting companies out there who use Xen
who
> provide you with a VPS "available in 5 minutes" - meaning you can SSH
or RDP
> to it in 5 minutes.
> 
> Obviously there must be some type of mechanism that allows them to
> automatically assign an IP to a HVM based VM. Some type of mechanism
to
> automatically provision this in all flavours of Linux they offer,
along with
> Win2k3 and Win2k8.
> 
> Can anyone point me to a way of doing this? I've been looking through
the API
> docs, but all metrics are read only.
> 

Further to my last email, DHCP in Dom0 could also do this easily. And
Dom0 anti-spoofing could ensure that if you change the IP address
manually the worst thing that would happen is that your DomU just
wouldn't have network connectivity anymore.

There probably aren't many situations where DHCP wouldn't be the right
solution.

James


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