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

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Unable to assign DomU ip-address from config file or disable dhcp
From: Madhuri Venkatesh <madhureev@xxxxxxxxx>
Date: Thu, 5 Feb 2009 18:28:44 +0530
Delivery-date: Thu, 05 Feb 2009 04:59:14 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=kfUNTdRJUztTnse+yYzQ7G9Cyf+Uca+a5HoiGNdVUD4=; b=pSqzHSpE8HPpsKaD5WysZiXFZ0qwnmEA7t9xgGCUFJkRTxJpG4ZQhZKd8qBpvpI9vN coc/PyO6AkULCc8X+l+BjE1mcxWW/lyDNQbYzXxAcpVo1yRIDL/oHyTKjCDdlBzRjvyd Zo8O42LYNfyDGsks/aGXBx9CplJa4eH5WUNvw=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Unable to assign DomU ip-address from config file or disable dhcp, Madhuri Venkatesh <=