Rajiv Rajaian
2008-May-19 14:23 UTC
[Xen-users] Problem in DHCP Server with XEN no free leases Error
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@lists.xensource.com http://lists.xensource.com/xen-users