Hello everybody!
Recently, I needed to configure DHCP relay on several OpenWrt routers. It was necessary for working DHCP server over the IPSEC.
I have found that dnsmasq has an option for this: —dhcp-relay=<local address>,<server address>[,<interface]. Then I tried to find UCI options for dnsmasq dhcp-relay, but my search has not been successful. https://wiki.openwrt.org/doc/uci/dhcp and /etc/init.d/dnsmasq didn’t contain information about that.
I had to write a patch for /etc/init.d/dnsmasq which reads /etc/config/dhcp, and started dnsmasq with dhcp-relay parameter if this option is enabled in config file.
Is there anyone who else need this feature? Shall I offer this patch to the OpenWrt developers?