Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

apparently someone on my LAN is running his own DHCP server (by mistake i assume) and broadcasting an address (yep it is prevents me to connect to the 'real' DHCP server ( how can i connect to my usual DHCP server? what commands shoul i use?

share|improve this question
up vote 4 down vote accepted

For example if the wrong dhcp server is you can configure your dhcp client addng this line to dhclient.conf :


reject ip-address; The reject statement causes the DHCP client to reject offers from servers who use the specified address as a server identifier. This can be used to avoid being configured by rogue or misconfigured DHCP servers, although it should be a last resort - better to track down the bad DHCP server and fix it.

share|improve this answer
+1, better immediate solution to the problem than me. – MDMarra Aug 16 '10 at 15:05
one other thing, how can i see all DHCP servers on my LAN (to find out if there are more rogue servers)? – Infestor_gfrbi Aug 16 '10 at 15:20
For windows there's a program called DHCP Explorer that can discover DHCP server on your subnet – aleroot Aug 16 '10 at 15:49

At the switch port level you can use DHCP snooping to ensure that only DHCP responses are received from trusted servers (this is a fairly basic feature on most non-consumer grade switches). The implementation of this will depend on your make and model of switches.

If your switches do not support this, you will need to trace down the DHCP server that is causing the issue and disable it. Since DHCP is a broadcast protocol, you are rather limited with how to manage it at any level higher than the switch ports.

share|improve this answer

Your Answer


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.