I am using an ENC28J60 with a CC1352p1 and LWIP to set up a networking stack. I am trying to assign my device an IP address using the DHCP protocol. I'm able to send a DHCP DISCOVER message from my device (client with MAC address 74:69:69:2d:30:31) to the DHCP server (which is running on my PC with MAC address b0:0c:d1:4c:15:5f):
DHCP DISCOVER: DHCP Discover <http://lwip.100.n7.nabble.com/file/t2316/Screen_Shot_2020-01-03_at_3.png> I then get a DHCP OFFER from the server: It has the SRC MAC address of my computer, DST MAC of my device, and assigns an IP of 192.168.1.100 to my device. I can confirm that the device actually sees the OFFER packet as I can see the contents of the packet in the code when I debug. DHCP offer: <http://lwip.100.n7.nabble.com/file/t2316/Screen_Shot_2020-01-03_at_4.png> I can then see in Wireshark, a DHCP Inform. I assumed this meant that it was requesting more information, but I thought DHCP Inform is supposed to come from the client to server - in this case, from the device to my computer! According to Wireshark though, the DHCP Inform is being broadcasted from the server, i.e. my computer. DHCP Inform : <http://lwip.100.n7.nabble.com/file/t2316/Screen_Shot_2020-01-03_at_4.png> Any ideas what could be going wrong? -- Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html _______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users