Solved

DHCP query relating to leases

Posted on 2008-10-04
7
175 Views
Last Modified: 2012-06-21
Hi

I have a query with DHCP that I was hoping someone could help me with.

Let's say I have a subnet of 192.168.10.1/24.

DHCP is configured to lease addresses from 192.168.10.10 - 192.168.10.20. The rest are static. The lease time is 7 days.

On Monday, I build 11 new machines that use up all the DHCP addresses.

I then take them offline and store them somewhere.

On Tuesday, if I place a new DHCP client enabled machine on the network, will it pick up an IP address from DHCP, or do I have to wait 6 days? Bearing in mind that the original 11 machines are offline, but still within their lease time.

Cheers
0
Comment
Question by:kam_uk
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 8

Expert Comment

by:Milan_Ojh
ID: 22640080
Hi i will suggest you to hav a link of below mentioned link it may help you a lot in left side your screen you will find Lease Process .

http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/cnet/cncb_dhc_fioy.mspx?mfr=true

Thanks
0
 
LVL 58

Accepted Solution

by:
tigermatt earned 200 total points
ID: 22640196
Hi there,

When DHCP leases addresses, it essentially removes those IP Addresses from the pool of available addresses which can be leased out, for the duration of the lease. Only when the lease time expires, and the client computer the lease was for has not returned to renew the lease, will the address be placed back into the pool of addresses available for leasing.

So, in your case, all the addresses from the pool have been leased for 7 days, so you would need to wait 6 days (or manually delete the leases in the DHCP console) before these leases are released and made available for other clients to make use of, again.

-tigermatt
0
 
LVL 70

Assisted Solution

by:KCTS
KCTS earned 50 total points
ID: 22640459
Yes you would, until the lease expires. the IP cannot be given to another computer.
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 3

Author Comment

by:kam_uk
ID: 22640531
Hi

Thanks...so, just to confirm, the DHCP server doesn't check to see if the original 11 machines are still connected? It will reserve their IP addresses regardless?
0
 
LVL 3

Author Comment

by:kam_uk
ID: 22640553
..and if we do intend to take the machines off the network, we should do an ip/release?
0
 
LVL 58

Expert Comment

by:tigermatt
ID: 22640619
kam_uk,

That is correct. The DHCP Server has no idea that the machines have left the network, because a machine will not automatically release an IP address before it is switched off.

You can either ipconfig /release the machine before you take it off the network, or delete the IP lease from the Address Leases section on the DHCP Server. Only when an IP is not listed in Address Leases can it then be placed back into the pool of addresses for leasing again.

Of course, the other option is just to ensure your IP pool is large enough to have plenty of surplus addresses.

-tigermatt
0
 
LVL 70

Expert Comment

by:KCTS
ID: 22640665
No DHCP does not - and cannot check that the machines are still connected, until the lease runs out, their IP addresses cannot be assigned to another machine.

Yes you could to an ipconfig /release, bit if you have a big enough pool of addresses, it does not matter

The other alternative is to reduce the lease period so that the leases become available more quickly.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

If your system is showing symptoms of browser hijacks or 'google search redirects' check out my other article (http://rdsrc.us/u3GP7A) first and run the tool TDSSKiller (http://rdsrc.us/GDBBs4) to get rid of the infection. Once done, and if the …
Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
This video discusses moving either the default database or any database to a new volume.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now