Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

I have an XP machine with two network interfaces. One is connected to my company's network (and the Internet). The other is a very local network which connects some hardware with my PC. Both the hardware and my XP machine's second network interface obtain configuration from a dhcpd running on Ubuntu in a virtual machine on my XP machine.

I entered some dummy gateway in /etc/dhcp3/dhcpd.conf like which does not match any existing device just to get dhcpd started. The problem is that my XP machine now tries to route Internet traffic through in most of the cases which, of course, results in an error.

Is there any way to set up dhcpd in a way that the clients know that there is no gateway in this network?

By the way: setting the gateway manually in XP is off the table because this needs administrator privileges which I don't have.

share|improve this question
up vote 1 down vote accepted

Comment out "option routers XX.XX.XX.XX" in your dhcpd.conf. Check the dhcpd.conf man page grouping of hosts so you can do this selectively.

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.