Custom DHCP range with Drop-in gateway

Hi!

I have configured the “Drop-in gateway” option on my Opal, but I need to modify the DHCP range. By default, it starts at 2 and has a limit of 252. I want it to start at 100, with a limit of 100 as well, because I have some devices with static IPs and I want to avoid IP conflicts. I tried editing the /etc/config/dhcp file via SSH (and also via the LuCI interface), but after rebooting the GL.iNet device, the configuration is lost. Is there any way to make this change persistent?

Thanks!

Hi,

Please try modifying the following:

uci set edgerouter.wandhcp.start='100'
uci set edgerouter.wandhcp.end='200'

uci commit edgerouter
reboot

It works. Thank you so much!

1 Like