[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] clarification regarding xen networking


  • To: Yamini L <lpyamini@xxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

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