OpenWrt Forum Archive

Topic: how to configure dhcp server on Openwrt

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

Hi,

Can anybody gudie how to configure the DHCP server on LAN interface of the OpenWrt. How to restart the DHCP server with out rebooting the device

With Regards,
Reddy

The latest release does not have dnsmasq.conf file. dhcp settings are saved in /etc/config/dhcp file.
By using uci or modifying the dhcp file, how can I assign static/fixed  ip addresses to host in latest release ?
The dnsmasq or dhcp link do not hvae the info .
thanks,

Is /etc/config/luci_hosts what you are looking for?

Example /etc/config/luci_hosts

config 'host'
        option 'hostname' 'router'
        option 'ipaddr' '192.168.1.1'

(Last edited by Yanira on 15 Nov 2008, 18:27)

The discussion might have continued from here.