Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Possible Duplicate:
1 Year DHCP Lease

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

IPv4 Address. . . . . . . . . . . : 10.61.145.37(Preferred) .
Subnet Mask . . . . . . . . . . . : 255.255.254.0.
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

2 Answers 2

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.