luci
luci copied to clipboard
luci-mod-network with multiple dnsmasq sections (static lease and dhcp leases separated for each section)
Is there an existing issue for this?
- [x] I have searched among all existing issues (including closed issues)
screenshots or captures
Hello, luci-mod-network with multiple dnsmasq sections should handle correctly also static lease and dhcp leases separated for each section. At moment I can see the same static lease list on every section and one dhcp leases only on first dhcp instance.
Kind Regards Andrea
Actual behaviour
- not possible to create static lease list one for each instance.
- I see only one dhcp leases list related to first instance.
Expected behaviour
- I should be able to add static lease separated for each instance.
- I should see separated dhcp leases one list for each instance,.
Steps to reproduce
- create interface lan with dhcp enable (ip 192.168.1.1).
- create interface guest with dhcp enable (ip 192.168.10.1).
- create "dhcp and dns" instance named "landns".
- create "dhcp and dns" instance named "guestdns"
- add one device on lan network.
- add one device on guest network.
Additional Information
{
"kernel": "6.6.100",
"hostname": "minipc",
"system": "Intel(R) Core(TM) i3-N305",
"model": "MINIROUTE CM-R1",
"board_name": "default-string-default-string",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "24.10-SNAPSHOT",
"revision": "r29257-fb52b7e9d3",
"target": "x86/64",
"description": "OpenWrt 24.10-SNAPSHOT r29257-fb52b7e9d3",
"builddate": "1755463866"
}
}
What browsers do you see the problem on?
No response
Relevant log output
You're correct. There's a field called 'instance' - it could be fixed to bind that e.g. lease to that instance at creation time. Unbound leases apply across all dnsmasq 'instances'.