Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 192.168.3.1 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 192.168.3.1 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

1 Answer 1

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

 
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.