dhcp offer ip by client id in dhcpv4
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
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?
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
61alone. 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
@EugeneOne1 @ainar-g hello, i resolve merge conflicts, can you make approve again?
@EugeneOne1 @ainar-g hello, Could you please assist in merging this pull request? It has been open for close to a year.