DHCP client does not perform IPv4 duplicate address detection
name: Bug report
about: Create a report to help us improve
Describe the bug DHCP client not sending GARP to resolve the IP address offered from server to identify the same IP already there in the same network or not.
To Reproduce Steps to reproduce the behavior:
- Configure DHCP server(dhcpd) on Device-1 and Wan-0 interface.
- Assign the lease range as 10.0.1.11 to 10.0.1.12.
- In the same L2 network configure Device-2 with static IP address as 10.0.1.11.
- Start the DHCP client(dhclient) on Device-3 which is also part of same L2 network where Device-1 and Device-2 reside.
- Device-1 may offer 10.0.1.11 address for Device-3. This is redundant IP in the same L2 network.
Expected behavior The Device-3 should send GARP packet to know whether the same IP address already there in network or not. If it is present send the DHCP decline message to DHCP server.
Environment:
- ISC DHCP version: 4.4.1
- OS: GNU/Linu
- features: dhclient and dhcpd
Some initial questions
- Are you sure your feature is not already implemented in the latest ISC DHCP version? Yes
- Are you sure your requrested feature is not already impemented in Kea? Perhaps it's a good time to consider migration? Yes
- Are you sure what you would like to do is not possible using some other mechanisms? Yes
- Have you discussed your idea on dhcp-users and/or dhcp-workers mailing lists? No