LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-11-2013, 05:37 AM   #1
vp0619520
Member
 
Registered: Jan 2012
Posts: 55

Rep: Reputation: Disabled
question about DHCP


Hi team,I just encounter a problem of DHCP.Here is the question:


I have a DHCP server in the env,and I set a subnet which contain 200 IPs in the DHCP configure file.The lease time is 1 hour.There are 180 vms using the dhcp server.By some mistakes,the DHCP server is down and out of service with two hours,so the vms can not renew the lease .At this moment ,the DHCP has been recoverd,what confuse me is that if I create 10 new vms in this DHCP env,whether these new VMS will occupy those IPS which have been assigned to those previous 180 VMS or the new vm will be assigned a new IP of the rest of twenty.
Any help is appreciate.
 
Old 01-11-2013, 06:19 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
I believe this is technically at the discrepancy of the server itself, and different servers might take a different approach. However, in my experience as the DHCP server knows that there is a lease out for a given address it will not give it out again if it can find another address.
 
Old 01-11-2013, 08:59 AM   #3
vp0619520
Member
 
Registered: Jan 2012
Posts: 55

Original Poster
Rep: Reputation: Disabled
Thanks a million.I will take a look at the RFC of dhcp to find some clue.
 
Old 01-11-2013, 09:14 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
The more I think about it, the less sense it makes to reallocate it. A client that is still online will not constantly confirm it still wants the lease. I think RFC on that says that will renew the lease halfway through the lease duration. So outside of that, there'll be no communication between the original client and the server, so might as well not be there...
 
Old 01-11-2013, 11:57 AM   #5
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
Classic reason, tho', for having more than one DHCP server in-tandem on more than one box.
 
Old 01-11-2013, 02:34 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Quote:
Originally Posted by sundialsvcs View Post
Classic reason, tho', for having more than one DHCP server in-tandem on more than one box.
how so?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCP question drManhattan Red Hat 9 10-07-2011 08:35 AM
DHCP question wabob Slackware 2 05-02-2007 02:02 PM
DHCP Question Clowncar Linux - Networking 2 10-16-2006 06:47 AM
A DHCP question johnjoe Linux - Networking 1 07-21-2006 08:41 AM
DHCP question slinkyredfoot Linux - Networking 4 09-08-2003 03:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration