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: XEN Mailing List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] XCP assigning VMs static IPs before they're started
From: Kurt Buff <kurt.buff@xxxxxxxxx>
Date: Mon, 4 Apr 2011 16:10:00 -0700
Delivery-date: Mon, 04 Apr 2011 16:11:38 -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:content-type:content-transfer-encoding; bh=YS+dEq4LXP+G1VKNO8JDhEX2ITD4phjikVqNA4TS9kY=; b=tTO22qKjvi4qWkgmPQMPfPf+JFbIN40N44AE0tCCcL/L/lYfodPACPu2Ep5GjpdCpN +UUvt5YjbEuRelslgXfPF7rVx2vesyNeCYkRYd1ScCY7CIXPlBfmj8b50JLWgtDKin1A zT3xQxrGdCEjglYiquK6n79ZiyvBxkOz4BmMc=
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 :content-type:content-transfer-encoding; b=OPzBBl6jcNIstDpQeuksYw1IYGm1CX/1FJHx04e3zJirh0nhwnrPB3AQf2b39CL8Lc eUNwRj559dR0R9RekDlFLXTMx7oSqHQkuuC5o6XmXEJpq8iEMY2aEuQmoaDsyCGiFT7t MQpC9DHCM3J8ZE4aACwYHsxgwEcaYde6BpXm8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BANLkTikf1y82KFSyCbVCSg9_fsHkJkN1dQ@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> <BANLkTikf1y82KFSyCbVCSg9_fsHkJkN1dQ@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Just a thought - and maybe an irrelevant one...

Can you set the MAC address for the VM, and put a reservation in your
DHCP server?

Kurt

On Mon, Apr 4, 2011 at 15:56, Dustin Marquess <dmarquess@xxxxxxxxx> wrote:
> 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
>

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

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