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

[Xen-devel] Unable to assign DomU ip-address from config file or disable dhcp


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Madhuri Venkatesh <madhureev@xxxxxxxxx>
  • Date: Thu, 5 Feb 2009 18:28:44 +0530
  • Delivery-date: Thu, 05 Feb 2009 04:59:14 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=CxyjWdaYA2p6HuGpf322DHO2M2gVaoZy/2yFa4wNF8kU/z7no+F7Nf1lwuuWGSWZe/ Npam3kYWBdPF/YZpxzIu8eX1vdsWQHnGd/PIFN3FRGk4j63DnqRdQfCK+wT2lCtc3Abm cL3zWb8nkZ99AJg7abltf8DwASroDI0Cdk4AA=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi,
im using a fedoraCore 8 domU and fedoraCore 8 as my dom0 on xen3.1.0-13.

i want to manually assign an ip to the domUs,and i tried using the "ip=" parameter in the config file.

my config file reads:
kernel = "/boot/vmlinuz-2.6.21-2950.fc8xen"
ramdisk="/boot/initrd-2.6.21-2950.fc8xen-no-scsi.img"
memory = 428
name = "fedora1.fc8"
vif = [ 'mac=00:16:3e:00:00:03,ip=192.168.2.105' ]
dhcp = "off"
netmask = "255.255.255.0"
gateway = "192.168.2.102"
disk = ['file:/xen/fedora1/fedora.fc8.img,sda1,w', 'file:/xen/fedora1/fedora.swap,sda2,w']
root = "/dev/sda1 ro"
vfb = [ 'type=vnc ,vncdisplay=12' ]

but the domU does not get the ip, it gets a xen- assigned dhcp ip-address.

ive tried :
extra = "eth0 =192.168.2.105,255.255.255.0"
in the config file and that does not seem to improve the situation either.
Is there any work-around so i can assign domU ip from the config file?
--
Madhuri Venkatesh
Fourth Year Undergraduate Student,Computer Science and Engineering,RVCE,Bangalore.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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