Client take long time to receive IP from DHCP server

uknet80
uknet80 used Ask the Experts™
on
I am trying to configure DHCP server on Linux.

If I connect laptop to our existing DHCP server which runs on MikroTik, it takes less that 5 second to get IP address.  But when I switch the cable back to my Linux DHCP server it takes almost 1 minute 15 seconds for client to get IP address. Both client and Linux DHCP server runs on single switch, no router in between.
And if I connect laptop for the first time, it will get 169… rang, I have to type ipconfig /renew. To get IP address, or restart DHCP server.

Any Idea why it takes that long?

Thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
ICT Infranstructure Manager
Commented:
have you tried

ipconfig /flushdns
ipconfig / registerdns

and

netsh int ip reset c:\resetlog.txt

and also

netsh firewall reset

JAN MA CCNA

Author

Commented:
Why do I have to do all that, this only happens with Linux DHCP server. If I connect it back to MikroTik DHCP server it will get IP address right away without having to type the commands you mentioned above.  I mean It gets IP address from Linux server but takes a log time?

Author

Commented:
it was gateway,
thanks

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial