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] clarification regarding xen networking

To: Bastian Mäuser <mephisto@xxxxxxxxx>
Subject: Re: [Xen-users] clarification regarding xen networking
From: Yamini L <lpyamini@xxxxxxxxx>
Date: Tue, 15 Feb 2011 18:54:12 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 15 Feb 2011 05:25:35 -0800
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; bh=P6sRinsNrRPZbKoCPfXq4cRK4IQFT9csP7W2idbsOGw=; b=F7odSHIpuZ+82mafZiVLM172hpbniwjAGqfgBHEvx9/VNeHkp+V7S052UAjegWQKc7 gaUx55d2db/zP1izCDeyZE0AbeSy+1DiaIXBPgQ3zYg5hsaFr5p/8ZNASVfQd+SWVA+U RL8hEac/3gbLTtFIidIuvY1qW/Gu7ZwVoYxTk=
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; b=HC5peqnwexCfg0s2eQmvruPRL2bN/zjMJrWXKYorUmftEIVzpbGx9VoZa5KC7xCKoI fnfIpuLPjkZFtiw7GwcRatv12gSsIxuo8FPP0LO8mvRyRk86dGp08EcUHdKHg3CDiiti yGkywSa1GuRJN2GkiDR7b88qNkmyjMEtd43Aw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4D5A782A.6050200@xxxxxxxxx>
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: <AANLkTimN1M61+cSekCCBfvbX_aE4Vxdd7F89N6Y=xJJy@xxxxxxxxxxxxxx> <4D5A782A.6050200@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

Thanks for the reply..

I want to set a static ip for the vm..I wan to install a software and that i  have to base it on this ip..

If my ip keeps on changing, it would be difficult to run my applications.

I am a newbie to xen, so  can u please tel me how to set my ip statically for my vm??

I tried editing the /etc/hosts file of the vm..but there was no route for this ip (as some other ip gt configured for the vm)..

supposing if i want my vm's ip to be some 172.16.10.59, how do i do that??



On Tue, Feb 15, 2011 at 6:27 PM, Bastian Mäuser <mephisto@xxxxxxxxx> wrote:
Hi there,

if you want to set the IP from the "outside" you could run a dhcp somewhere on the bridge (in dom0) / or on the network, that has a static assignment for the mac= value..

otherweise configure ip's statically..

so long

Am 15.02.2011 13:19, schrieb Yamini L:
Hi all,

Initially i tried to boot a xen virtual machine with network configuration  vif = {bridge = xenbr0]..

When the vm is running, some IP s ramdomly assigned to it..

Supposing if i want to set a static ip for the vm (if i give vif ' [ip = 10.1.3.4, ]' ), will this do??

Or should i have make any other modifications ??

Thank u all..


_______________________________________________ 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