AdguardTeam / AdguardTeam/AdGuardHome

Multiple Interfaces, different subnets and static leases

未關閉
#7,506 2 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
TypeScript
星號
36.9k
分支
2.5k
PR 合併指標
30 天內沒有已合併 PR

描述

### Prerequisites

- [X] I have checked the [Wiki](https://github.com/AdguardTeam/AdGuardHome/wiki) and [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a) and found no answer

- [X] I have searched other issues and found no duplicates

- [X] I want to report a bug and not [ask a question or ask for help](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a)

- [X] I have set up AdGuard Home correctly and [configured clients to use it](https://github.com/AdguardTeam/AdGuardHome/wiki/Clients). (Use the [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a) for help with installing and configuring clients.)

### Platform (OS and CPU architecture)

AMD64 (aka x86_64 via Proxmox) and Mediatek/ARM Openwrt

### Installation

Custom package (OpenWrt, HomeAssistant, etc; please mention in the description)

### Setup

On a router, DHCP is handled by AdGuard Home

### AdGuard Home version

v0.107.55

### Action

Try to enter a static lease on two different interfaces using two different subnets for the DHCP range

### Expected result

Once the interfaces have had their subnet/ip ranges defined, the addition of a static lease to an interface should validate the subnet/ip address for the selected interface in the drop down list.

### Actual result

The static lease entry form validates the subnet details against the details as shown in the upper IPv4 pane, even if those subnet details are different to the those which were saved for the selected interface in the drop down list. It appears the IPv4 pane under the drop box for the DHCP interfaces displays the last saved details in the pane, NOT the details associated with the interface in the drop down. As a result to enter a static lease in a different subnet, you have to select the different interface, re-enter and re-save the details and then add the static lease which then validates against the correct subnet/range in the pane.

### Additional information and/or screenshots

I have reproduced this on an Openwrt router running AGH directly (mulitple interfaces like br-lan, br-iot, etc) and on a Proxmox LXC container running multiple nics/virtual nics (bridges)

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。