Slow response from DHCP server (Redhat Enterprice Linux 5 with ISC DHCPd)

I experience my DHCP server uses quite long time to respons to my DHCP request. Sometimes up to 20-30 seconds. I've been reading about DNS/Reverse, so I included "ddns-updates off;" in the dhcp zone file. This did not help.

I'm experiencing the same delay connecting with SSH. Dont know if this is related, but it seems logic to me it is.

Any ideas?
erikleirdalAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

aamodtCommented:
Your firewall ? is it large? sometimes if it is, the computer/server have problems looking up the rules and takes time before it comes down to the rule  regarding SSH/dhcp.

It might be the problem after experience.


Regards Aamodt
0
erikleirdalAuthor Commented:
Tnx,
There is no firewall. I've also removed the ACL for the moment to be truly sure everything is open. I really suspect somthing at the server, but I'm not able to pinpoint what it is.. :)
0
fosiul01Commented:
same delay connecting with SSH. :
There could be a reason.., ssh hang for long if it does not get a dns server address.

Where is the dns server ???

is dhcp sending dns address properly ??
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

erikleirdalAuthor Commented:
this is a local network only with private IP's. I dont really care about DNS so I prefer to "turn it off"...

or do I need to build the DNS host files to get around this issue?
0
fosiul01Commented:
I actually dont use linux base dhcp server that much......

but about your SSH delay ... i know this is because of dns problem(if this the one i am thinking)

you can try to add this config in sshd daemon

UseDNS no

then restart ssdh daemon  

try to connect via ssh  .. see if its solved that issue...



0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
fosiul01Commented:
try to configure  dns host on the same dhcp server , it might fix the issue.. it could be the delay for some sort of dns query .....



0
erikleirdalAuthor Commented:
I'm currently installing DNS deamon, so I will see how it goes.. :) tnx so far! :)
0
fosiul01Commented:
but your UseDNS no  in sshd_config

did not make any differences ???
0
erikleirdalAuthor Commented:
yes it helped :-) tnx alot.. that points me to DNS also for DHCP ;-)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.