Problem in DHCP Server no free leases Error

Rajiv Rajaian rajiv.grid at gmail.com
Mon May 19 14:29:17 UTC 2008


Hi
I have configured my dhcp server in my host (g40.grid ) . Here's my
dhcpd.conf file


[root at 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 configuration I ve started my dhcp server successfully ..
Also my IP Address of my host is 10.2.0.40

Now I have configured my client machine (g152.grid) for network which
is connected with  LAN

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

While restarting network in client machine using service network
restart Im getting the following error in  /var/log/messages of my
dhcp server machine

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


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


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


More information about the dhcp-users mailing list