Problem in DHCP Server no free leases Error

Rajiv Rajaian rajiv.grid at gmail.com
Tue May 20 10:27:36 UTC 2008


Hi Simon

Here is my /etc/dhcpd.conf file contents


# Sample dhcpd.conf
#
# Sample configuration file for ISC dhcpd
#

ddns-update-style ad-hoc;

# option definitions common to all supported networks...
#option domain-name "virtualnode03.grid";

# Your name servers. You can normally find these in
# your /etc/resolv.conf file. These will be distributed to all DHCP
# clients.
#option domain-name-servers 10.2.0.43;

default-lease-time 600;
max-lease-time 7200;

lease-file-name "/var/lib/dhcp/dhcpd.leases";

# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;

# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;

# Configuration for an internal subnet.
subnet 10.2.0.0 netmask 255.255.255.0 {

                 range dynamic-bootp 10.2.0.110 10.2.0.220;
 #option domain-name-servers 10.2.0.43;
 #option domain-name "virtualnode03.grid";
 option routers 10.2.0.40;
 option broadcast-address 10.2.0.255;
 default-lease-time 600;
 max-lease-time 7200;
}

Also my ifconfig looks like this

[root at g40 ~]# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:0F:FE:3B:10:18
         inet addr:10.2.0.40  Bcast:10.2.0.255  Mask:255.255.255.0
         inet6 addr: fe80::20f:feff:fe3b:1018/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:369 errors:0 dropped:0 overruns:0 frame:0
         TX packets:1416 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:33241 (32.4 KiB)  TX bytes:82265 (80.3 KiB)



In /etc/dhcpd.conf  I haven't configured the option
domain-name-servers . Is this must for dhcp server configuration??


Please help me to sort out this issue.. Still Im getting the same no
free leases error.. What is the root cause for this no free leases


More information about the dhcp-users mailing list