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.

I have computer which acts as dhcp server. I want to ask that if i restart that server then will the other user be able to access internet while that is restarting

share|improve this question

2 Answers 2

up vote 3 down vote accepted

The other systems should be fine during the restart, unless their DHCP leases expire. A system which has a lease expire will be down until it gets a new IP, either through DHCP or through manual settings. Depending on how long your leases are set, this may or may not be a likely occurrence.

Note that this is assuming that your DHCP box is just that, and not also a gateway or something else.

share|improve this answer
2  
Exactly, in addition to the "as long as it's not a gateway" disclaimer the something else would be as long as it's not also your DNS server. –  Dave Holland Dec 15 '09 at 4:36
    
Good caveat Dave:) –  phoebus Dec 15 '09 at 4:37
    
u r right , i was thinking of using it as DNS server as well or AD DS was saying that DNS server should be on same computer . what should i do –  John Dec 15 '09 at 4:45
    
They will start to try an renew their leases when they are half way to the expiration point, but they will be fine until they expire, and since the leases are likely at least 24h, it should not be an issue for a reboot. Leases are often persistent through reboots, so only machines that do not have an active lease are likely to have an issue (say, a new laptop plugging in). –  Ronald Pottol Dec 15 '09 at 6:03
    
BUt what if same server is DNS server too –  John Dec 15 '09 at 9:46

Yes, the Internet will still work for users who already have a valid DHCP lease (thus an IP address).

BTW, Users who don't already have a DHCP Lease (thus no IP address), will have to wait for the server to finish starting before getting on the Internet.

The DHCP lease length will play part into this since your client computers won't normally try to renew their lease until half way into the lease's time length. For this reason I set my DHCP leases to 7 days or 24 hours, depending on the network design.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.