It means your computer is also running a DHCP client, the DHCP Inform is
for client ip 192.168.1.11 which I assume is your computer?
So that request has nothing to do with your lwip device and there's
nothing wrong with this? Or what exactly is the problem?
And in general it's much easier to analyze if you attach the wireshark
capture instead of screenshots of the wireshark capture (or both if you
insist)
I also assume you solved the problem with your driver that truncates
your DHCP Requests? Would you care to reply on that thread?
Best regards
Jens
On 2020-01-04 00:30, samyuktar wrote:
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
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users