LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-08-2019, 07:25 AM   #1
Reprovo
Member
 
Registered: Jul 2013
Posts: 59

Rep: Reputation: Disabled
isc-dhcp-V3.1-ESV - Randomly stops giving leases.


Hi. I have a server running zeroshell linux giving out DHCP on two VLANs, 8 and 10.

The issue is that the server randomly stops giving out leases randomly, could be every couple of hours, could be half an hour.

I have to restart the dhcp service for leases to start being provided and at the moment have a script restarting the service every 2 hours.

I cannot see any errors in the DCHP log and the leases file only ever has a handful of leases active when DHCP stops.

Would appreciate any assistance as to what might be causing this.

The service itself is running when the issue occurs. It's not an issue with the service stopping.

Running a tcpdump, I can just see discovery packets being sent and no ack from the server. Starts working as soon as i stop/start DHCP.


Code:
dhcpd.conf

authoritative;
ddns-update-style interim;
ignore client-updates;
subnet 192.168.8.0 netmask 255.255.255.224 {
  option routers 192.168.8.1;
  option subnet-mask 255.255.255.224;
  option domain-name-servers 192.168.8.1, 8.8.8.8, 8.8.4.4;
  default-lease-time 28800;
  max-lease-time 43200;
  range 192.168.8.15 192.168.8.30;
}
subnet 10.1.0.0 netmask 255.255.255.0 {
  option routers 10.1.0.1;
  option subnet-mask 255.255.255.0;
  option domain-name-servers 10.1.0.1, 8.8.8.8, 8.8.4.4;
  default-lease-time 28800;
  max-lease-time 43200;
  range 10.1.0.50 10.1.0.150;
 
  


Reply

Tags
dhcp, isc, leases



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
reason for multiple dhclient leases in /var/lib/dhclient/dhclient.leases psycroptic Linux - Networking 1 04-23-2014 09:24 AM
[SOLVED] Question regarding migrating the dhcpd.leases file for ISC-DHCP-SERVER Sniperm4n Linux - Server 1 05-22-2013 03:41 PM
Delete leases from dhcpd.leases when remove a subnet from dhcpd.conf phongnh Linux - Server 2 10-12-2010 04:49 AM
Wrote 0 leases to leases file - DHCP server lionel.rpm Linux - Server 3 07-22-2009 06:05 PM
LXer: The ESV and My iPod Classic LXer Syndicated Linux News 0 10-08-2008 02:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration