[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] XCP assigning VMs static IPs before they're started

  • To: Chris Dickson <chrisd1100@xxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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.


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=',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



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.