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 a machine that is connected to a network that assigns IPs automatically via DHCP, for some reason, I needed to have a static IP on that machine... I gave it an IP within the range of the DHCP... Is there's any problem in that?? Will the DHCP server consider it taken somehow automatically or I should do something manually?? And will it give that IP to other machine?? [EDIT: how can I make the DHCP server avoid using that static IP when the machine is down and not using the IP??]

share|improve this question

1 Answer 1

up vote 8 down vote accepted

Depends on the DHCP server. Some will ping IP addresses to make sure they're empty before handing them out, some will monitor ARP requests to see what's active and flag IPs as occupied if it sees traffic, some will just pass out addresses regardless of what's on 'em.

It depends on your DHCP server, really.

A better solution, if possible, is to set a DHCP reservation for that IP address. Even if the device that needs the static address can't do DCHP, the DHCP server will not pass out that address so it should be safe to use, and the MAC address in the reservation should act as documentation of a sort.

share|improve this answer
    
and how can I set a reservation?? does it depends on the server?? –  amyassin Aug 9 '11 at 1:03
2  
@amyassin Yes, each DCHP server has its own way of making them. My home internet router can do reservations, as can the MS DHCP servers at work. They all pretty much have a way, but the method depends on which server it is. –  sysadmin1138 Aug 9 '11 at 1:40

Your Answer

 
discard

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

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