AdguardTeam / AdguardTeam/AdGuardHome

allocate IP address based on the MAC address in the client identifier.

Aperta
#6,135 0 commenti 2 reazioni 0 assegnatari Vedi su GitHub
feature request
Lingua principale
TypeScript
Stelle
36.9k
Fork
2.5k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Prerequisites

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

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

- [X] I want to request a feature or enhancement and not ask a question

### The problem

I want to allocate IP addresses based on the MAC address in the client identifier when the DHCP server assigns addresses.
The situation I encountered is:
- A virtual machine in Hyper-V uses host networking mode to connect to the network.
- the host uses wireless to connect to the AP.

When the virtual machine sends a DHCP request, after going through the Hyper-V bridge, the source MAC address of the DHCP request becomes the host's wireless NIC MAC address. At the same time, because I assigned a static IP to the host's MAC address, the virtual machine obtained the same IP as the host through DHCP, causing an IP conflict. Through packet capturing I found that the client id in the DHCP request (with default dhcp client program configuration) is the MAC address of the virtual machine.

### Proposed solution

allocate IP address based on the MAC address in the client identifier.

### Alternatives considered and additional information

_No response_

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.