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
|