AdGuardHome icon indicating copy to clipboard operation
AdGuardHome copied to clipboard

dhcp offer ip by client id in dhcpv4

Open nmreadelf opened this issue 2 years ago • 4 comments

I have configured a virtual machine that utilizes the host network on my physical machine. Upon examination, I discovered that the AdGuard Home server being hosted offers IP addresses based on the MAC address of the physical host machine rather than the virtual machine itself. Specifically, the actual MAC address of the virtual machine is present in the client-id field of DHCP requests. For proper functionality, the DHCP server should be offering IP addresses based on the client-id field, which contains the MAC address of the virtual machine. This would allow the DHCP server to correctly identify the virtual machine and provide it an IP address accordingly. The current behavior indicates a misconfiguration, where the DHCP server is assigning IP addresses using the physical host's MAC address instead of the virtual machine client's MAC address contained in the DHCP request.

resolve #6135

nmreadelf avatar Aug 17 '23 02:08 nmreadelf

Hi @nmreadelf, sorry for the late reply and thanks for the contribution.

As far as I know, RFC-4361 Section 6.1, which updates the referenced RFC-2132, actually forbids using the hardware address in option 61 alone. However, a cursory internet search indicated that this feature may be somewhat useful, so could you please file a "feature request" issue so that we can see if it's actually the case?

EugeneOne1 avatar Aug 23 '23 10:08 EugeneOne1

Hi @nmreadelf, sorry for the late reply and thanks for the contribution.

As far as I'm know, RFC-4361 Section 6.1, which updates the referenced RFC-2132, actually forbids using the hardware address in option 61 alone. However, a cursory internet search indicated that this feature may be somewhat useful, so could you please file a "feature request" issue so that we can see if it's actually the case?

relate #6135

nmreadelf avatar Aug 25 '23 03:08 nmreadelf

@EugeneOne1 @ainar-g hello, i resolve merge conflicts, can you make approve again?

nmreadelf avatar Oct 07 '23 23:10 nmreadelf

@EugeneOne1 @ainar-g hello, Could you please assist in merging this pull request? It has been open for close to a year.

nmreadelf avatar Jun 29 '24 08:06 nmreadelf