Problem in DHCP Server no free leases Error

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


Hi

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)




On 5/20/08, Simon Hobson <dhcp1 at thehobsons.co.uk> 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