Setup dhcpd without gateway on purpose
Posted
by
MBober
on Server Fault
See other posts from Server Fault
or by MBober
Published on 2011-11-15T07:56:24Z
Indexed on
2011/11/15
9:56 UTC
Read the original article
Hit count: 343
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.
© Server Fault or respective owner