Why is my LwIP ping test for Stm32f767zi giving me a different IP in response?
Configuration:
Stm32F767zi board is connected to laptop via LAN connection and no other network is connected.
Step1: The IP address , netmask and gateway are same from the ipconfig

Step2: Then I have configured the Cubemx based on it
cubemx config
Issue:
I have configured the LwIP stack and is calling MX_LWIP_Process(); in the while loop, which is sufficient for me to get a ping back.
Source code:
Source code
Debugger output:(It verifies that the essential function is being executed)
Debugger output
Cmd output for Ping:
(The response to ping is from a different IP address, and why is that?)

Is everything correct in this scenario? Or is there something essential,that I am missing here.
I am following the feedback from this question post from myself.
And I am attaching a file that I have referred along below.
