Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-31-2008, 01:29 AM   #1
Registered: Nov 2007
Posts: 41

Rep: Reputation: 15
Unhappy DHCP lease same IP

Hi all,

I have a DHCP server installed under open suse Linux.i setup that for renew the Clients IP addresses for every 24 hours.but it is leasing the same IP to the client.i typed ipconfig/release & ipconfig/renew on one of the windows machine.but DHCP gives the same IP.i need to prevent this there any configuration change i have to do in the dhcpd.conf file.

Old 01-31-2008, 03:06 AM   #2
Senior Member
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
1. you need to flush your dhcp client cache.
2. make sure you have enough ip addresses that you
can allocate to your dhcp client.
3. check the man page for the dhcp config file
and look for hints about the lease time.

also check how dhcpd recycles/reassigns
ip addresses in the man page.

in rhel4:

man dhcpd.conf
Old 01-31-2008, 03:22 AM   #3
Registered: Nov 2007
Location: /dev/volcano
Posts: 70

Rep: Reputation: 15
i'm not pro of dhcp, but i just think that the assigning IP algorithm is deterministic. So if you've got only one client it will always assign it the first IP available?

just tell me if i'm wrong


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
DHCP lease unavailable bwilliam79 Linux - Networking 9 01-31-2008 05:37 AM
Force DHCP To Refuse Clients A DHCP Lease Depending On Client MAC Address blackfish Linux - Server 3 08-17-2007 12:54 AM
Requesting a new DHCP lease raypen Linux - Networking 2 06-07-2006 09:19 PM
DHCP Lease Delete! kofi Linux - Networking 2 07-29-2004 07:00 PM
dhcp - get new IP when lease renewed chrisnewey Linux - Networking 0 03-30-2004 05:41 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:24 AM.

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