Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows DHCP and Cisco Relay Agent (Wrong Scope)

Status
Not open for further replies.

mdfi13

MIS
May 24, 2005
38
US
I have a Windows 2003 server box with DHCP running on it. Within DHCP, there are 2 network scope. One scope is local to the DHCP server and the other is for a remote site. I set up the relay agent on the Cisco router to grab DHCP information from my lone DHCP server.

At the remote site, machines are grabbing information fine from the DHCP server. My issue is when someone from that remote site travels to the location where the other scope is and the DHCP server resides, they keep grabbing information for the remote scope.

Any idea why this happens?
 
Hmm. I think this has to do with the DHCP lease.
When the computer is at the remote site it recieves a lease from the server.
When the computer reboots in the new site it checks with that server to reconfirm (re-allocate) that same lease. So it gets the same information as from remote site.
So to fix that you may want to make the lease duration shorter. Or else /release /renew everytime.
 
I have tried the /release /renew, but it renews to the wrong scope everytime. I will set the lease to a shorter time and see if that works.
 
The other thing would be to delete the lease manualy from the DHCP mmc.
 
I did that and it worked, but I wanted to prevent from doing that if I have to. I set my lease to 12 hours instead of 8 days.

Do you see any reason why 12 hours would not be a good thing?
 
lease duration is really depending on how many user supported and dhcp IP poor. for large enterrpise, 2 hours is very normal.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top