Add possibility to edit router/gateway directly in the web page /cgi-bin/dhcp.cgi


When I use keepalived and want DHCP to work, in theory I could in /var/ipfire/dhcp/dhcpd.conf use

include "/var/ipfire/dhcp/dhcpd.conf.local";

And then in dhcpd.conf.local have something like

subnet netmask #GREEN
        option routers;

But if I do that DHCP hungs. So now have edited “option routers” in /var/ipfire/dhcp/dhcpd.conf instead.

See Keepalived & DHCP fail-over issues

We are able to edit most options from WEBGU, but not “option routers”, not even via “Additional DHCP options”.

Could we also have the option to edit “option routers” in WEBGUI?

I have created two bug reports for this.

First one for “If I include “/var/ipfire/dhcp/dhcpd.conf.local” in /var/ipfire/dhcp/dhcpd.conf, DHCP stops working”:

But I also think we should be able to edit the routers in WEBGUI, so I also created the bug report for “Add option to edit “option routers” in WEBGUI”