LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   DHCP lease same IP (https://www.linuxquestions.org/questions/linux-networking-3/dhcp-lease-same-ip-617577/)

prashanlk 01-31-2008 01:29 AM

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 happening.is there any configuration change i have to do in the dhcpd.conf file.

thanks

born4linux 01-31-2008 03:06 AM

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

KrahnacK 01-31-2008 03:22 AM

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


All times are GMT -5. The time now is 12:08 AM.