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: Todd Deshane <todd.deshane@xxxxxxx>
Subject: Re: [Xen-users] clarification regarding xen networking
From: Yamini L <lpyamini@xxxxxxxxx>
Date: Tue, 15 Feb 2011 20:14:27 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 15 Feb 2011 06:46:37 -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=7WBhHFUX9YIrG42cBfBLFY/c3PdDkh/necdQAy/dZak=; b=BetZ7uK9wN5qC+BNcpZtewaQ+SDJL5KBCmW1NXGDJlTRcGebqDDVDiLss1302iVFxY /7YZstzCuxEJ96wH9xD61KQiyAUTV1GnueeEmE6wNKO6QBJap3hEXcI8WBjIKQBSFAgl K+BSjv2Fm5WL4emSeUswZH+vhvAahnMWigmR4=
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=QD+1zVvJEcXKTd0Re/I1BpWIQwZvo+cCPMqdVUJ+B8fNn/BS7uNvPT58/xRKYzMA4t 9l+X18AhBwlRSeiQYJj9whT72dzhQKgFOm8rwYpGKQCet+V+3ccigRgmYDIvmW23bZW2 DeL6rD6kmjH+a/Uj2cRBWWagsXBeLRHBAgbIk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTi=rO=-45o90GD-1SnuqDwC6E9+BA2=Xb5WgQ+Lk@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: <AANLkTimN1M61+cSekCCBfvbX_aE4Vxdd7F89N6Y=xJJy@xxxxxxxxxxxxxx> <AANLkTimSJmp2EAqUb+1=o8QtFQ000+c=ZYo0KEiPf8f+@xxxxxxxxxxxxxx> <AANLkTimH+-2Mc6jnHuVBaY54hgmJtJ7GV=-Y=4bZsy4w@xxxxxxxxxxxxxx> <AANLkTimmadDvLs87C6-ZHj-hJgbv6ufzz0+tEhzkPVGV@xxxxxxxxxxxxxx> <AANLkTi=rO=-45o90GD-1SnuqDwC6E9+BA2=Xb5WgQ+Lk@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Yeah, the xen virtual machine's /etc/sysconfig/network-scripts/ifcfg-eth0 (has these contents)


DEVICE=eth0
BOOTPRO=dhcp
>HWADDR=mac address


So, i should modify the script inside xen vm(dom U) or in the host OS ??

Also, can i set my ip here (statically) without including the above code in the script??  i mean rather than specifying inthe xen configuration file, can i set my static ip directly here ??

On Tue, Feb 15, 2011 at 7:53 PM, Todd Deshane <todd.deshane@xxxxxxx> wrote:
On Tue, Feb 15, 2011 at 2:08 PM, Yamini L <lpyamini@xxxxxxxxx> wrote:
>
>
> ---------- Forwarded message ----------
> From: Yamini L <lpyamini@xxxxxxxxx>
> Date: Tue, Feb 15, 2011 at 7:38 PM
> Subject: Re: [Xen-users] clarification regarding xen networking
> To: Todd Deshane <todd.deshane@xxxxxxx>
>
>
> Hi
> Thanks for the quick response..
> I am using centos 5.5 xen kernel and could find that my IP_PNP option is
> not..
>
> Instead of recompiling the kernel , how do i cahnge that script file (can u
> please tell the location of the script file shown in the link??)
>

Are you referring to this script:
/etc/sysconfig/network-scripts/ifcfg-eth0

>
> On Tue, Feb 15, 2011 at 7:02 PM, Todd Deshane <todd.deshane@xxxxxxx> wrote:
>>
>> On Tue, Feb 15, 2011 at 12:19 PM, Yamini L <lpyamini@xxxxxxxxx> wrote:
>> > 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 ??
>> >
>>
>> See here:
>> http://xen.1045712.n5.nabble.com/domU-static-IP-td2607079.html
>
>
>
> _______________________________________________
> 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