Problem in DHCP Server no free leases Error

Rajiv Rajaian rajiv.grid at gmail.com
Tue May 20 06:50:19 UTC 2008


Hi Peterson

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


Thanks in Advance
Rajiv
CARE,MIT,
Anna univ


On 5/19/08, Jonathan Petersson <jpetersson at garnser.se> wrote:
> I've stumbled upon this when the recipient server is on the wrong VLAN.
>
>
> On Mon, May 19, 2008 at 8:29 AM, Rajiv Rajaian <rajiv.grid at gmail.com> wrote:
>
> > 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