Solved: DHCP server not sending DHCPACK

Post Reply
mister_v
Posts: 139
Joined: Sat Jun 20, 2009 5:42 pm

Solved: DHCP server not sending DHCPACK

Post by mister_v »

Hello,

I have a problem with my DHCP server.
My Pc doesn't get a ip-address.

I already restarted the DHCP-service (even restarted the entire server)
I did some investigation:

Code: Select all

sudo dhclient -v eth0
Internet Systems Consortium DHCP Client 4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/1c:6f:xx:xx:xx:0a
Sending on   LPF/eth0/1c:6f:xx:xx:xx:0a
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPOFFER of 192.168.1.84 from 192.168.1.252
DHCPREQUEST of 192.168.1.84 on eth0 to 255.255.255.255 port 67
DHCPREQUEST of 192.168.1.84 on eth0 to 255.255.255.255 port 67
DHCPREQUEST of 192.168.1.84 on eth0 to 255.255.255.255 port 67
So the server is working and offering and IP-address,
my client is requesting it, but no OK from the server to use it!

What is going wrong?
Please help me.
Last edited by mister_v on Fri Mar 08, 2013 12:40 pm, edited 1 time in total.
mister_v
Posts: 139
Joined: Sat Jun 20, 2009 5:42 pm

Re: DHCP server not sending DHCPACK

Post by mister_v »

Finally figured it out.

After checking the /var/lib/dhcp/dhcpd.leases file on the server,
I noticed that the /var partition was full.
dhcpd-deamon couldn't write to the file,
so it could not give the OK.

Liberated some space, all works fine.
Post Reply