Thank you for the reply. I dont think that the issue is the gateway because I have a frdm k64 board which is being assigned ipv6 address. It pings perfectly fine.
I did change the mac address to what you have mentioned above. Below is the screen shot of my IPv6 neigbors.
As you can clearly see that my s32k148 node with IPv6 assigned but I cant see any physical address getting assigned. It still shows 00-00-00-00-00-00. More important when I used Wireshark to check the status of neighbor solicitation messages I am seeing this.
The checksum seems to be incorrect. I don't know whats wrong here.
The only thing I have added in this code is
Can you try to remove this setting? I believe this could be the issue.
Where have you set LWIP to 1? Have you used design studio to generate or have you wrote it by hand?
The IPv6 issue is solved there is a macro LWIP_CHECKSUM_CTRL_PER_NETIF in lwipopt.h. By default it is 1, now I have changed it to 0. Now, both link local Ipv6 address and IPv6 address achieved using SLAAC are working properly. The only problem I am facing now is that my IPv4 address is not working. KIndly help me out with this issue.
What do you mean by it's not working? you don't see the board on your network?
However, I believe this is a configuration issue. Are you using the example in design studio? I would suggest configuring the application from the interface, rather than investigating this.
By not working I mean I cant ping the board. There is a macro in lwipopt.h which is LWIP_CHECKSUM_CTRL_PER_NETIF. If it is set to 1 IPv4 address gets assigned and ping is working perfectly. If this macro is set to 0 IPv6 address gets assigned and ping works properly. But the only problem is that only one of IP (IPv4 or IPv6) are working at a single time.
In the last reply, I did disable the auto config. But nothing changed.
I have set #define LWIP_IPv6 to 1 in lwipopts.h by hand not by processor expert or something like that.