WIZnet Developer Forum

DHCP Issue - Declining Lease

Hello,

I’m having a problem with a bunch of WIZ550S2E boards. When I set them to use DHCP they acknowledge the lease and then immediately decline it then use the IP they had when plugged into the previous router. Here are the logs from my DHCP server (a Linux box running DNS Masq)

Feb 10 15:00:21 host01 dnsmasq-dhcp[1386]: DHCPDISCOVER(br0) 00:08:dc:1e:80:92
Feb 10 15:00:21 host01 dnsmasq-dhcp[1386]: DHCPOFFER(br0) 10.1.1.190 00:08:dc:1e:80:92
Feb 10 15:00:27 host01 dnsmasq-dhcp[1386]: DHCPREQUEST(br0) 10.1.1.190 00:08:dc:1e:80:92
Feb 10 15:00:27 host01 dnsmasq-dhcp[1386]: DHCPACK(br0) 10.1.1.190 00:08:dc:1e:80:92 WIZnet1E8092
Feb 10 15:00:27 host01 dnsmasq-dhcp[1386]: DHCPDECLINE(br0) 10.1.1.190 00:08:dc:1e:80:92
Feb 10 15:00:32 host01 dnsmasq-dhcp[1386]: DHCPDISCOVER(br0) 00:08:dc:1e:80:92
Feb 10 15:00:32 host01 dnsmasq-dhcp[1386]: DHCPOFFER(br0) 10.1.1.191 00:08:dc:1e:80:92
Feb 10 15:00:38 host01 dnsmasq-dhcp[1386]: DHCPREQUEST(br0) 10.1.1.191 00:08:dc:1e:80:92
Feb 10 15:00:38 host01 dnsmasq-dhcp[1386]: DHCPACK(br0) 10.1.1.191 00:08:dc:1e:80:92 WIZnet1E8092
Feb 10 15:00:38 host01 dnsmasq-dhcp[1386]: DHCPDECLINE(br0) 10.1.1.191 00:08:dc:1e:80:92
Feb 10 15:00:43 host01 dnsmasq-dhcp[1386]: DHCPDISCOVER(br0) 00:08:dc:1e:80:92
Feb 10 15:00:43 host01 dnsmasq-dhcp[1386]: DHCPOFFER(br0) 10.1.1.192 00:08:dc:1e:80:92
Feb 10 15:00:49 host01 dnsmasq-dhcp[1386]: DHCPREQUEST(br0) 10.1.1.192 00:08:dc:1e:80:92
Feb 10 15:00:49 host01 dnsmasq-dhcp[1386]: DHCPACK(br0) 10.1.1.192 00:08:dc:1e:80:92 WIZnet1E8092
Feb 10 15:00:49 host01 dnsmasq-dhcp[1386]: DHCPDECLINE(br0) 10.1.1.192 00:08:dc:1e:80:92
Feb 10 15:00:54 host01 dnsmasq-dhcp[1386]: DHCPDISCOVER(br0) 00:08:dc:1e:80:92
Feb 10 15:00:54 host01 dnsmasq-dhcp[1386]: DHCPOFFER(br0) 10.1.1.193 00:08:dc:1e:80:92
Feb 10 15:01:00 host01 dnsmasq-dhcp[1386]: DHCPREQUEST(br0) 10.1.1.193 00:08:dc:1e:80:92
Feb 10 15:01:00 host01 dnsmasq-dhcp[1386]: DHCPACK(br0) 10.1.1.193 00:08:dc:1e:80:92 WIZnet1E8092
Feb 10 15:01:00 host01 dnsmasq-dhcp[1386]: DHCPDECLINE(br0) 10.1.1.193 00:08:dc:1e:80:92
Feb 10 15:01:05 host01 dnsmasq-dhcp[1386]: DHCPDISCOVER(br0) 00:08:dc:1e:80:92
Feb 10 15:01:05 host01 dnsmasq-dhcp[1386]: DHCPOFFER(br0) 10.1.1.194 00:08:dc:1e:80:92
Feb 10 15:01:11 host01 dnsmasq-dhcp[1386]: DHCPREQUEST(br0) 10.1.1.194 00:08:dc:1e:80:92
Feb 10 15:01:11 host01 dnsmasq-dhcp[1386]: DHCPACK(br0) 10.1.1.194 00:08:dc:1e:80:92 WIZnet1E8092
Feb 10 15:01:11 host01 dnsmasq-dhcp[1386]: DHCPDECLINE(br0) 10.1.1.194 00:08:dc:1e:80:92
Feb 10 15:01:16 host01 dnsmasq-dhcp[1386]: DHCPDISCOVER(br0) 00:08:dc:1e:80:92
Feb 10 15:01:16 host01 dnsmasq-dhcp[1386]: DHCPOFFER(br0) 10.1.1.195 00:08:dc:1e:80:92

Hello, ctassell

Can you give image of packet capture by wireshark?

Copyright © 2017 WIZnet Co., Ltd. All Rights Reserved.