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: Yamini L <lpyamini@xxxxxxxxx>
Subject: Re: [Xen-users] clarification regarding xen networking
From: Todd Deshane <todd.deshane@xxxxxxx>
Date: Tue, 15 Feb 2011 14:51:08 +0000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 15 Feb 2011 06:53:00 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=G4m+SPr1CGcpcUfg2Ry4NfogIItXNE1gh+eHoKbBnjk=; b=xm4OxWvcp6hQl/IdXuylKaEmNBupdTk24ipqMJDIb5ioIqysSKN32Zl9XEPQbIyiiD q/DTckBSFvrKovLe+0ww0JyMApmvwgkhVQoGfXaKByCsTMcGngpgKKJnakBg2FAZnndE DvGrHWdejGjAWvBZrxBQXXzZtk8tClrDqw0ms=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=s67r8hJdfEEK1nN7ASWSiF2iNqj39ctBkX+8W+B7dnnWhLuLFbHrtds4ILIXPBSArz y/NWktwQ3ctqvIaULt2ihJjzA/VHCxYSMeG6LmBIKByy+AuXwHARGvOFXJ2UXsurQIrd GpXiXDs2zEaBYvhl4MvmJZcJwjmE9xHTTXTvs=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTimS87WPATN16ZnbKvFqOy3XDgiuitGrJH=An64J@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> <AANLkTimS87WPATN16ZnbKvFqOy3XDgiuitGrJH=An64J@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, Feb 15, 2011 at 2:44 PM, Yamini L <lpyamini@xxxxxxxxx> wrote:
> Yeah, the xen virtual machine's /etc/sysconfig/network-scripts/ifcfg-eth0
> (has these contents)
>
>
> DEVICE=eth0
> BOOTPRO=dhcp
> ONBOOT=yes
> HWADDR=mac address
>
>
> So, i should modify the script inside xen vm(dom U) or in the host OS ??
>

You could that is one approach.

> 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 ??
>

Yes.  Search google for centos static ip. It is very common.

> 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