OpenWrt Forum Archive

Topic: How to turn DHCP off

The content of this topic has been archived on 19 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

I have a WRT and an ASUS router on my network and also a windows server that is running DHCP. I would like to turn off (or perhaps delay the response of) the hardware devices. How can I do this?

Currently sometimes the windows box's dhcp server is faster, sometimes the hardware box's and this causes addressing problems.

The routers are in default setup, basically only the ip address was changed. They are both running Kamikaze 7.07.

Thanks in advance.

Set "option ignore 1" in /etc/config/dhcp under the interface(s) for which you wish to disable the DHCP server.

/etc/init.d/dnsmasq stop
/etc/init.d/dnsmasq disable

True, but that will also disable the local DNS cache, which he might not want to do.

The discussion might have continued from here.