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] unable to assign ip from config file

To: Devdutt Patnaik <xendevid@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] unable to assign ip from config file
From: Madhuri Venkatesh <madhureev@xxxxxxxxx>
Date: Sat, 7 Feb 2009 20:12:21 +0530
Cc:
Delivery-date: Sat, 07 Feb 2009 06:43:05 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=VO/XEKI95sGN2PzXYYTU+kLMXxM+5ZcpXHV1KEEea2E=; b=chFHmhvXnm3QIYxzfK+2NWGEPned+VLTqquwDwsJtcbv4NZJ2hUyxvTucRoYtuQIgd Bw1OEPRy+UR0p0RMzGCM/NAdDHk+wkFye0rw+5A9IdYDYZVeqjVhH9lJDpV+2de9jkrq vy5o01B6g/NVs/8O2erkt/YWef/aYesR+gZaw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=QU8HiG6naFUYS1kY5xyAtF9GguimLOk07fLD81hdSfc3jQkC3jL9HFw3VHjgBegKeR sHhP6T3Jrx8+sr+QoJmTvKleYuoA0Mf9otvV1ZkQCDlOjDNf3kPI8OQ9yRMpzXsAE+6w r0iRpdjnOqEX4z4dAdOxTjfGGBYlFGyomz6bo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <15184ca00902062328t2def5094if9170f5c12b9da7f@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: <55e362b20902040826oe203208tf001ae824a640c87@xxxxxxxxxxxxxx> <15184ca00902062328t2def5094if9170f5c12b9da7f@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
hi,
 The situation has it that i need to boot-up around anywhere between 1-10 images, and i need to know the ip address of each one of them to communicate with them later, so i thought my best bet would be to assign the ip in the config file(passing a parameter to the config script)..,my other option is to use dhcp and later determine the ip which does not seem easy going by the threads in this forum...if there is an easy way to do this id be happy with the xen-assigned dhcp address.Please tell me if there is a good way to do this,
Thanks

On Sat, Feb 7, 2009 at 12:58 PM, Devdutt Patnaik <xendevid@xxxxxxxxx> wrote:
The way I would try it is to simply set dhcp="off" here and setup the eth0 config in ifcfg-eth0 in /etc/...
 
-Devdutt.

On Wed, Feb 4, 2009 at 11:26 AM, Madhuri Venkatesh <madhureev@xxxxxxxxx> wrote:

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

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.Help!

--
Madhuri Venkatesh
Fourth Year Undergraduate Student,Computer Science and Engineering,RVCE,Bangalore.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users




--
Madhuri Venkatesh
Fourth Year Undergraduate Student,Computer Science and Engineering,RVCE,Bangalore.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>