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

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


  • To: xen-users <Xen-users@xxxxxxxxxxxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

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