Problem in DHCP Server no free leases Error

Rajiv Rajaian rajiv.grid at
Tue May 20 07:21:44 UTC 2008


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;

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.

# 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 netmask {

                  range dynamic-bootp;
  #option domain-name-servers;
  #option domain-name "virtualnode03.grid";
  option routers;
  option broadcast-address;
  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:  Bcast:  Mask:
          inet6 addr: fe80::20f:feff:fe3b:1018/64 Scope:Link
          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)

On 5/20/08, Simon Hobson <dhcp1 at> wrote:
> Rajiv Rajaian wrote:
> > I have configured my server and client through same switch.. Only my
> > server (g40.grid) and client machine g152.grid are connectd in this
> > switch. Still Im getting the same error .. Please help me to configure
> > DHCP server with linux... or any proper documentation to configure the
> > same
> >
>  The documentation is all in the man pages - start with 'man dhcpd.conf'.
>  Can you post the full config, what you have already posted doesn't look
> complete.

More information about the dhcp-users mailing list