Multiple DHCP Options on GUI

Hi Team,

I extensively use DHCP Options for multiple purposes - option 150 for IP Phones, Option 43/62 for other uses.

I would like to propose adding this feature - to have the ability to add multiple DHCP options in the GUI (preferably in an advanced setting in the pool or some sort)

Thanks,
A

I am also waiting on this before I can upgrade several of my sites. I am told it will be forth coming… hopefully very soon.

Bumping this back up after a related discussion here:

DHCP Option 6 in Route 10 - Routers - Alta Labs

@Alta-Matt_v2 I launched this quite a while ago, I do have some networks that requires this, can this be implemented?

It is on the roadmap. I do not have an ETA at this time.

is there a method for CLI to be able to do this for now?

Excellent question, I’ll bring @Alta-Jeff in to answer that. Most likely there is and you would want to put it into a post-cfg.sh script. As the name suggests, it’s a script that runs after the configuration has been applied, which you would want or the custom commands that you run would get wiped on the next configuration change you do via an officially supported method, i.e. the cloud or local controller.

Just as an example, I do something like this in a post-cf.sh script for a couple of sites where it benefits some Yealink phones to be pushed over to vlan 200 with DHCP option 132.. Although the commands themselves could be entered in by themselves, the post-cfg.sh file helps keep them in place during a reboot or configuration refresh.

uci add_list dhcp.lan.dhcp_option='132,"200"'
uci commit dhcp
/etc/init.d/dnsmasq restart

We use openwrt’s dnsmasq, so this guide applies for custom options:

We still have these options in the near-term queue for development.