Firmware Version: LEDE Reboot 17.01.5 r3919-38e704be71 / LuCI lede-17.01 branch (git-18.180.55366-b78664c)
DHCP Server Configuration:
uci set dhcp.lan.interface="lan"
uci set dhcp.lan.ra="server"
uci set dhcp.lan.dhcpv4="server"
uci set dhcp.lan.start="1"
uci set dhcp.lan.limit="250"
uci set dhcp.lan.leasetime="120"
uci add_list dhcp.lan.dhcp_option="3,192.168.1.1"
uci add_list dhcp.lan.dhcp_option="6,8.8.8.8"
uci add_list dhcp.lan.dhcp_option="6,8.8.4.4"
uci add_list dhcp.lan.dhcp_option="42,192.168.1.100"
uci show dhcp.lan.interface
uci show dhcp.lan.ra
uci show dhcp.lan.dhcpv4
uci show dhcp.lan.start
uci show dhcp.lan.limit
uci show dhcp.lan.leasetime
uci show dhcp.lan.dhcp_option
DHCP Client Address Reservation:
uci add dhcp host
uci set dhcp.@host[-1].name="EndianEFW"
uci set dhcp.@host[-1].dns="1"
uci set dhcp.@host[-1].mac="08:00:27:F3:9C:74"
uci set dhcp.@host[-1].ip="192.168.1.29"
Save DHCP Configuration:
uci commit dhcp