[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: XEN Mailing List <xen-users@xxxxxxxxxxxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

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