openwrt / openwrt/luci

luci-mod-network with multiple dnsmasq sections (static lease and dhcp leases separated for each section)

Open
#7,909 1 comment 2 reactions 0 assignees View on GitHub

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
  1. not possible to create static lease list one for each instance.
  2. I see only one dhcp leases list related to first instance.
Expected behaviour
  1. I should be able to add static lease separated for each instance.
  2. I should see separated dhcp leases one list for each instance,.
Steps to reproduce
  1. create interface lan with dhcp enable (ip 192.168.1.1).
  2. create interface guest with dhcp enable (ip 192.168.10.1).
  3. create "dhcp and dns" instance named "landns".
  4. create "dhcp and dns" instance named "guestdns"
  5. add one device on lan network.
  6. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.