DHCP server offers duplicate ip addresses

Hello,

i have an issue with mikrotik dhcp-server. In functional network with 60 active leases here are two machines in network deployed from same debian image with identical hardware and different mac adresses (as many other devices in this network) and they are recieving same ipaddress from dhcp server.

Client1 - recieves ip 172.16.10.49 and keeps it

Client2 - recieves ip 172.16.10.49 and rejects because of conflict

  • if client2 gets adress first and client 1 connects to the network, client 1 keeps the ip and client2 drops address because of conflict.

mikrotik - routerOS 6.28
dhcp server has basic config on vlan interface, /24 network (nothing to mess up here)

ask for additional logs. thanks in advance

client2 output for: # sudo dhcpcd -d

info, eth0: dhcpcd 3.2.3 starting
info, eth0: hardware address = fc:aa:14:2e:0d:12
info, eth0: DUID = 00:01:00:01:18:26:40:77:50:e5:49:5f:4b:fb
info, eth0: broadcasting for a lease
debug, eth0: sending DHCP_DISCOVER with xid 0x35e8b65b
debug, eth0: waiting for 20 seconds
debug, eth0: got a packet with xid 0x35e8b65b
info, eth0: offered 172.16.10.49 from 172.16.10.1
debug, eth0: sending DHCP_REQUEST with xid 0x35e8b65b
debug, eth0: waiting for 20 seconds
debug, eth0: got a packet with xid 0x35e8b65b
info, eth0: checking 172.16.10.49 is available on attached networks
debug, eth0: sending ARP probe #1
debug, eth0: sending DHCP_DECLINE with xid 0x35e8b65b
info, eth0: sleeping for 10 seconds
info, eth0: broadcasting for a lease
debug, eth0: sending DHCP_DISCOVER with xid 0x11fafb46
debug, eth0: waiting for 20 seconds
debug, eth0: got a packet with xid 0x11fafb46
info, eth0: offered 172.16.10.49 from 172.16.10.1
debug, eth0: sending DHCP_REQUEST with xid 0x11fafb46
debug, eth0: waiting for 20 seconds
debug, eth0: got a packet with xid 0x11fafb46
info, eth0: checking 172.16.10.49 is available on attached networks
debug, eth0: sending ARP probe #1
debug, eth0: sending DHCP_DECLINE with xid 0x11fafb46
info, eth0: sleeping for 10 seconds

Problem solved. Just needed to update dhcp client - dhcpcd3 to dhcpcd5