AdguardTeam / AdguardTeam/AdGuardHome

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

Abierto
#6,135 0 comentarios 2 reacciones 0 asignados Ver en GitHub
feature request
Lenguaje dominante
TypeScript
Estrellas
36.9k
Forks
2.5k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### 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_

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.