[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 184
  • Last Modified:

IP Address

Hi,
Is an IP address released each time a machine is shut down and restarted? How does a static or dynamic address play into the equation? Thank you,
D
0
dingo11
Asked:
dingo11
  • 2
1 Solution
 
scraig84Commented:
With a static address, there is no concept of release and renew as it is just on the machine you put it on.  If you are asking if another machine can use that IP address while one is off, the answer is yes - but that is a very bad practice and often will have consequences.

With a dynamic address, the DHCP server has a lease period, and will not give an address out to another machine for the duration of the lease.  When a computer is shut off, the DHCP is not contacted.  However, when a machine is turned back on, it will contact the DHCP server to make sure it is there and verify the lease.  Depending on the client, it may just go ahead and renew the lease at this point.  Otherwise, it will typically wait until 1/2 of the lease duration has expired, and go ahead and try to renew the lease at that point.  If it is unsuccessful, it will wait until 3/4 of the lease has expired, then 7/8 and so on.  If the machine does not successfully renew the lease before it expires (if it shut off for example), the lease is terminated and the address goes back to the available pool to be handed out again, and it is likely the machine will get a new IP address when it is turned back on.

Hope that helps.
0
 
scraig84Commented:
Here is a good resource also:

http://www.dhcp-handbook.com/dhcp_faq.html
0
 
dingo11Author Commented:
Thanks, sorry about taking a while I had an some urgent matters pop up. Have a great day,
d
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now