LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-29-2006, 01:54 AM   #1
barn63
Member
 
Registered: Jan 2006
Location: Macomb, IL
Distribution: Slackware 13.1
Posts: 152

Rep: Reputation: 17
DHCPD is slow


I configured my DHCP server using DHCPD and it assings IPs and all the good stuff right but it takes 10 times longer then my windows dhcp server did. Has anyone else had this problem and is there anyway you can speed up how fast it assigns ip addresses?
 
Old 04-29-2006, 03:29 AM   #2
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
try using dnsmasq instead. It combines dns/dhcp server functions in one easy to use dameon and it is meant for speed with a small network (around 100 or less clients). To use it, install the dnsmasq slackware package, then make /etc/rc.d/rc.dnsmasq exacutable. The conf file is /etc/dnsmasq.conf. It is very well commented with many examples. Just set up your rules as you see fit.

regards,
...drkstr
 
Old 04-29-2006, 01:46 PM   #3
barn63
Member
 
Registered: Jan 2006
Location: Macomb, IL
Distribution: Slackware 13.1
Posts: 152

Original Poster
Rep: Reputation: 17
Thanks for the suggestion. I will give it a try.
 
Old 04-29-2006, 02:38 PM   #4
barn63
Member
 
Registered: Jan 2006
Location: Macomb, IL
Distribution: Slackware 13.1
Posts: 152

Original Poster
Rep: Reputation: 17
Does anyone have and example dnsmasq.conf that I can look at that is configured for dns and dhcp.
 
Old 04-29-2006, 02:47 PM   #5
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
it works out of the box, all I changed on mine was:

Code:
...

# If you want dnsmasq to listen for DHCP and DNS requests only on
# specified interfaces (and the loopback) give the name of the
# interface (eg eth0) here.
# Repeat the line for more than one interface.
interface=eth1
# Or you can specify which interface _not_ to listen on
#except-interface=

...

# Uncomment this to enable the integrated DHCP server, you need
# to supply the range of addresses available for lease and optionally
# a lease time. If you have more than one network, you will need to
# repeat this for each network on which you want to supply DHCP
# service.
dhcp-range=192.168.0.102,192.168.0.199,12h

...
All of the other default settings worked fine for me. You only need to change things if you want extra configuration on your network.

regards,
...drkstr
 
Old 04-29-2006, 05:51 PM   #6
barn63
Member
 
Registered: Jan 2006
Location: Macomb, IL
Distribution: Slackware 13.1
Posts: 152

Original Poster
Rep: Reputation: 17
So basically you just tell it to use the correct interface and tell it the range and lease time? What about the DNS stuff?

Awesome. That worked PERFECT. Thanks a millions....I woule be lost without this forum.

Last edited by barn63; 04-29-2006 at 05:58 PM.
 
Old 04-29-2006, 10:41 PM   #7
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
Read the comments in the dnsmasq.conf, it tells you everything it does by default and what to do to change the default.

regards,
...drkstr
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Suse 9.2 & SATA - Slow, Slow, Slow jess1975 SUSE / openSUSE 6 01-28-2007 01:17 PM
New Fedora Internet connection slow slow slow matrim Fedora 9 07-29-2005 02:39 PM
dhcpd subnet declaration problems in dhcpd.conf vcrispo Linux - Networking 6 07-15-2005 11:32 AM
DHCPD startup failure, mdk 9.2, dhcpd v3.0.1rc11 fuzzyworm Linux - Networking 1 02-14-2004 04:58 AM
dhcpd.master or dhcpd.conf rickg Linux - Networking 0 04-11-2002 04:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:41 PM.

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