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] XCP assigning VMs static IPs before they're started

To: Chris Dickson <chrisd1100@xxxxxxxxx>
Subject: Re: [Xen-users] XCP assigning VMs static IPs before they're started
From: Dustin Marquess <dmarquess@xxxxxxxxx>
Date: Mon, 4 Apr 2011 15:56:44 -0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 04 Apr 2011 15:58:59 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=LZiqsln8pP1DbwuK/YG41b5pBp7oMOpHn3qbQeXUW5w=; b=Ua9MA2wb/636xsp43pem9XhDUwDIz3Miq+jmg2VpWwMdeGubAljM+JCyf+rdagFQz8 J01u5BcKISyT105TC5GVr/Lep8rT36pthwZXBeRhoYP0uNad8GDsJsF3obm+5mINUHgH /AohjL37ZXkLAIXUq8UnD4vec/xVHQRthiM74=
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 :cc:content-type:content-transfer-encoding; b=VhTddqDyMpbsn+gKipGUnETSzh5V3IT0OBDiE0lEGE9pM1CWALKzbTNOCXtBhzQmPj S/8uD799NiKXDRZO+d3u27nrCS4qGV78nG4F3LbQWrKFhzHlBb7ybE9jtgTAOn6VoSXO 0M9kzML4ZkZN8Ltjd0Iy6wnzsUbthqqFEKvVk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BANLkTinQmwG97fO=2OT7pOQ3nHwug83mpw@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: <BANLkTinQmwG97fO=2OT7pOQ3nHwug83mpw@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Since you're using bridging, XCP doesn't assign IPs, period.  The only
thing it could possibly do with the IP is to firewall it to make sure
the VM isn't trying to use a different IP.

Maybe you're talking about passing the IP as a boot argument that the
network scripts pickup?  In that case, you'd want to add it to the
PV_args setting.

-Dustin

On Mon, Apr 4, 2011 at 11:43 AM, Chris Dickson <chrisd1100@xxxxxxxxx> wrote:
> Hello,
> I'm trying to figure out how to give a VM a static IP before it's been
> started and without having to modify any of the VM's network startup
> scripts. In looking at XenServer examples people recommend doing something
> like this in the configuration file:
> vif=['ip=192.168.0.100',bridge=xenbr0]
> That doesn't seem to be an option in XCP with the CLI with xe vif-create.
> What am I missing here? Any help is appreciated. Maybe this is a networking
> question non-specific to Xen and I don't realize it. I'm using 0.5.
> Also, if anyone can point me to some good documentation/tutorials on XCP
> networking that would be great. So far I've looked through all the stuff
> in http://www.xen.org/files/XenCloud/ and http://wiki.xensource.com/xenwiki/XenNetworking.
> Thanks,
> Chris
> _______________________________________________
> 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>