No DHCP offer with W5500 and nRF5340

Hello,

I'm working with a custom board, using an nRF5340 (NCS v2.7.0 but also tested with version 2.9.0) and a W5500. I'm trying to run the DHCPv4 client test just to verify that an ethernet connection can be obtained, but haven't been able to get it working (btw my prj.conf is unchanged from the test, aside from enabling the W5500 driver and some debug logs).

The logs show a "Link up" from the W5500 driver, followed by DHCP discover packets being sent at increasing intervals (I verified they are indeed being sent with Wireshark). But I don't see any offer being returned.

I tried setting a static IP address (CONFIG_NET_CONFIG_MY_IPV4_ADDR) and performing a simple SNTP sync to see if it was just a problem with the DHCP server, but that failed (couldn't resolve address). I also tried setting the DNS IP address (CONFIG_DNS_SERVER_IP_ADDRESSES=y, CONFIG_DNS_SERVER1), manually setting the gateway address (CONFIG_NET_CONFIG_MY_IPV4_GW), and different combinations of those configurations, all to no avail.

Since the packets are indeed getting sent, I was initially inclined to believe it's a network/router security configuration possibly blocking it, or maybe a subnet issue, but I'm not sure. I'm inexperienced with networking and the person who set everything up at my work no longer works here (it's a startup, so they have yet to be replaced). I also tried on my home network and saw the same result.

I'm now at a point where I have no clue what else to try or what the issue could be. I've posted to the Zephyr discord channel multiple times but never received a response. Any assistance and/or suggestions would be greatly appreciated. Thank you!

Related