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

[Xen-users] Problem in DHCP Server with XEN no free leases Error

To: xen-users <Xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Problem in DHCP Server with XEN no free leases Error
From: "Rajiv Rajaian" <rajiv.grid@xxxxxxxxx>
Date: Mon, 19 May 2008 14:23:05 +0000
Delivery-date: Mon, 19 May 2008 07:23:38 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=8C8Y5KQvIlxWSlA4/SsS2k5MDrBjyDV/ecAx6+Kp1Eo=; b=NxsLOPR1GTI0AsSFeXG8lTVZxsV5h/aGq+pyNSoLceAFhnUZm8k1c6mHnUszfm7zqNTpWAFntccfZX/sIOyPWNrBhnWd+cHMOspOyWTO2CQm2zgVVw31LGYwmNdJ7/ft9wcSqg0LlVVqkElgxOZyNCgygyqcfPuoMDNlXAwWrPU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=PDwZEGQMNDvaccLm9fj5xxowO1cjf2ZNd0Ya1MEsbV0uTV1UdltimiYTVvQuq0g4RY7jooFrahimZkBdP6denRC7JC+4tUfZdymQDy3tV3ZNUhK2r18xz+3jggQuv4Ppv5FThXfALwW4R5pHYZEAEgLnTE9cqXG5qRfS81h/vhc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi I have installed Xen 3.0.4 in Scientific linux Os.. Now I want to
configure dhcp server.
I have configured my dhcp server in my host (g40.grid ) . Here's my
dhcpd.conf file


[root@g40 ~]# cat /etc/dhcpd.conf
ddns-update-style ad-hoc;
default-lease-time 600;
max-lease-time 7200;
lease-file-name "/var/lib/dhcp/dhcpd.leases";
authoritative;
log-facility local7;
# Configuration for an internal subnet.
subnet 10.2.0.0 netmask 255.255.255.0 {

        pool {
                  range 10.2.0.120 10.2.0.150;
 }

  option routers 10.2.0.40;
  option broadcast-address 10.2.0.255;
  default-lease-time 600;
  max-lease-time 7200;
}
}

With this i ve started my dhcp server successfully .. Also my IP
Address of dom0 is 10.2.0.40

Now I ve created on vm with FC4 image and with the following config file

[root@g40 ~]# cat /opt/VIRTUALCLUSTER/WORKING.CLUSTERSCRIPTS/g152node
kernel = "/boot/vmlinuz-2.6-xen"
memory = 256
extra = "fastboot"
ramdisk = "/boot/initrd-2.6.16.33-xen.img"
disk = ['phy:vg/g152node,sda6,w','phy:vg/g152swap,sda7,w',
'phy:vg/modules,sda5,r']
name = "g152.grid"
root = "/dev/sda6 ro"
vif=['bridge=xenbr0']
dhcp="dhcp"
eth0="on"

While starting my guest domain Im getting the following error message
in /var/log/messages of Dom0

May 19 19:50:22 g40 dhcpd: DHCPDISCOVER from 00:16:3e:53:a3:a1 via
eth0: network 10.2.0.0/24: no free leases
May 19 19:51:02 g40 last message repeated 4 times


Here's my guest domains network config file contents

[root@g152 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
ONBOOT=yes
TYPE=Ethernet
DEVICE=eth0
BOOTPROTO=dhcp




Is there any thing wrong with my configuration . Or anything else I ve
to configure more..
Please help me to configure this ..


Thanks /Regards
Rajiv
Project Associate ,
CARE, MIT,
Anna university

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Problem in DHCP Server with XEN no free leases Error, Rajiv Rajaian <=