Link to home
Start Free TrialLog in
Avatar of tiras gans
tiras gansFlag for United States of America

asked on

Multiple BAD_ADDRESS in DHCP showed up again

What is the reason for multiple BAD_ADDRESS in DHCP?  Description - This address is already in use.  I deleted them already few days back.  They came back for some reason.  About eight of them.
And it seems they show up after a an abrupt power outage we had.  Not sure if related.

Server 2016 Domain Controller.
ASKER CERTIFIED SOLUTION
Avatar of Cliff Galiher
Cliff Galiher
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
They came back for some reason.  About eight of them.

Are those addresses all in sequence, or are they random?
Avatar of tiras gans

ASKER

Thanks Cliff.  I guess I need to find those devices.  Let me think how...

Somewhat in sequence but not really.  
.100
.105
.106
.117
.118
.120
.123
.124
If you ping those addresses, do you get a response?

Note that a lack of a response on a given address doesn't necessarily mean that address isn't in use, as there could be a device there with a firewall that blocks ICMP traffic. If you do get a response, though, the address is unquestionably in use by something.
Yes, they are all pingable.  3 of them I can even resolve a hostname with ping -a ipdaddress
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I'll try thanks John!
Enable conflict detection with this PowerShell. Most of the times I see BAD_ADRESS it is because of static addresses in a range
Set-DhcpServerSetting -ConflictDetectionAttemps 2

Open in new window

Delete the existing ones with this PowerShell
$DHCPBadReservations = Get-DhcpServerv4Scope -ComputerName $DHCPServer | Get-DhcpServerv4Lease -ComputerName $DHCPServer | Where-Object -FilterScript {$_.HostName -eq 'BAD_ADDRESS'}
$DHCPBadReservations | Remove-DhcpServerv4Reservation -ComputerName $DHCPServer

Open in new window

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Serialband, will arp show multiple systems matching MAC addresses or only the first to answer?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks. I did not think that would work as I never used it for that. I learned something new today!  :-)
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That much I could figure out!  :-)
@Tiras25 - Thank you and I was happy to help.