Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
1 Year DHCP Lease

I'm reviewing Azure web role logs and there's output from ipconfig /all

IPv4 Address. . . . . . . . . . . : .
Subnet Mask . . . . . . . . . . . :
Lease Obtained. . . . . . . . . . : Monday, September 24, 2012 12:26:00 PM.
Lease Expires . . . . . . . . . . : Thursday, October 31, 2148 6:55:12 PM.

you see, the lease expires in year 2148 but my VM will likely not run for more than one month - when I deploy the new version of my code I first deploy it to new VMs, then switch traffic, then release the new VMs. In general such usage pattern is normal - VMs typically live from several dozen minutes to several weeks on Azure.

I suspect the lease that long will cause problems on the internal Azure network sooner or later.

Is such long DHCP lease okay or is it likely a misconfiguration?

share|improve this question

marked as duplicate by dunxd, Brent Pabst, mulaz, Ward, Magellan Oct 17 '12 at 16:18

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

You may want to take a look at this similar thread, as well. It's not definitely a misconfiguration (as apparently some guy in that thread wanted to do this on purpose), but it's definitely a bad a idea. – HopelessN00b Sep 25 '12 at 12:16
up vote 3 down vote accepted

I actually contacted Azure support and they say this is by design so that when a VM is restarted it retains it IP address and lease termination is handled elsewhere.

share|improve this answer

This is definitely a misconfiguration. "normal" DHCP Lease time is usually a day but at most a week. The way your DHCP works is almost static leases and your pool will run full in a not to long time.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.