luci-mod-network with multiple dnsmasq sections (static lease and dhcp leases separated for each section)
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 7.9k
- Forks
- 2.9k
- Avg merge
- 4d 17h
- Merged PRs (30d)
- 28
Description
Is there an existing issue for this?
- 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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in the LuCI network configuration UI using the listed lan/guest interfaces and separate landns/guestdns instances. Trace how the static lease and DHCP lease lists are selected for each dnsmasq section. Done means each instance shows and manages only its own static leases and DHCP leases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100