Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-29-2006, 01:54 AM
|
#1
|
Member
Registered: Jan 2006
Location: Macomb, IL
Distribution: Slackware 13.1
Posts: 152
Rep:
|
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?
|
|
|
04-29-2006, 03:29 AM
|
#2
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
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
|
|
|
04-29-2006, 01:46 PM
|
#3
|
Member
Registered: Jan 2006
Location: Macomb, IL
Distribution: Slackware 13.1
Posts: 152
Original Poster
Rep:
|
Thanks for the suggestion. I will give it a try.
|
|
|
04-29-2006, 02:38 PM
|
#4
|
Member
Registered: Jan 2006
Location: Macomb, IL
Distribution: Slackware 13.1
Posts: 152
Original Poster
Rep:
|
Does anyone have and example dnsmasq.conf that I can look at that is configured for dns and dhcp.
|
|
|
04-29-2006, 02:47 PM
|
#5
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
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
|
|
|
04-29-2006, 05:51 PM
|
#6
|
Member
Registered: Jan 2006
Location: Macomb, IL
Distribution: Slackware 13.1
Posts: 152
Original Poster
Rep:
|
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.
|
|
|
04-29-2006, 10:41 PM
|
#7
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 09:41 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|