|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] XCP assigning VMs static IPs before they're started
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
|
|
|
|
|