Skip to content

Feature request: luci-mod-network should support dhcp_option_force #8031

Description

@dotsam

What would you like to see in luci?

Commit openwrt/openwrt@d0f6a51 added support for setting dnsmasq dhcp-option-force= options using the a dhcp_option_force UCI list, which works exactly the same as the dhcp_option list.

I believe that adding support for this to LuCI should be as simple as adding a new DynamicList below the existing one here:

ss.taboption('advanced', form.DynamicList, 'dhcp_option', _('DHCP-Options'), _('Define additional DHCP options, for example "<code>6,192.168.2.1,192.168.2.2</code>" which advertises different DNS servers to clients.'));

The dnsmasq man page describes the dhcp-option-force option as such:

This works in exactly the same way as --dhcp-option except that the option will always be sent, even if the client does not ask for it in the parameter request list. This is sometimes needed, for example when sending options to PXELinux.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions