From: Madhuri Venkatesh Subject: Unable to assign DomU ip-address from config file or disable dhcp Date: Thu, 5 Feb 2009 18:28:44 +0530 Message-ID: <55e362b20902050458s5f5b5822l54571308ef2a01c9@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0492504426==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0492504426== Content-Type: multipart/alternative; boundary=001636456fd6deb2ea04622b76f9 --001636456fd6deb2ea04622b76f9 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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. --001636456fd6deb2ea04622b76f9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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=3D" parameter in the config file.

my config file r= eads:
kernel =3D "/boot/vmlinuz-2.6.21-2950.fc8xen"
ramdisk=3D"/boot/initrd-2.6.21-2950.fc8xen-no= -scsi.img"
memory =3D 428
name =3D "fedora1.fc8"
vif =3D [ 'mac=3D= 00:16:3e:00:00:03,ip=3D192.168.2.105' ]
dhcp =3D "off"
= netmask =3D "255.255.255.0"
gateway =3D "192.168.2.102&qu= ot;
disk =3D ['file:/xen/fedora1/fedora.fc8.img,sda1,w', 'fi= le:/xen/fedora1/fedora.swap,sda2,w']
root =3D "/dev/sda1 ro"
vfb =3D [ 'type=3Dvnc ,vncdisplay= =3D12' ]

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

ive tried :
extra =3D "eth0 =3D192.168.= 2.105,255.255.255.0"
in the config file and that does not seem to improve the situation either.<= /div>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.
--001636456fd6deb2ea04622b76f9-- --===============0492504426== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0492504426==--