Il 08/11/2017 18:20, Gisle Vanem ha scritto:
Giuseppe Modugno wrote:

So I have an Ethernet interface with two IP and MAC addresses. It seems it works, except for one thing. I tested connectivity by running "ping 192.168.1.156" command from a shell on the same computer. No reply! The ARP table is ok (192.168.1.156 is associated to 01.02.03.04.05.06 MAC address). It seems no packets are detected from lwip.

Besides the fix mentioned by Joel, you can turn off
checksumming in LwIP by something like:

  #if (LWIP_DEBUG > 0)
    #define CHECKSUM_CHECK_IP       0
    #define CHECKSUM_CHECK_TCP      0
    #define CHECKSUM_CHECK_UDP      0
    #define CHECKSUM_CHECK_ICMP     0
    #define CHECKSUM_CHECK_ICMP6    0
    ...
  #endif
Yes, this trick works.

_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to