lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] win32 porting contrib: double IP address


From: Giuseppe Modugno
Subject: Re: [lwip-users] win32 porting contrib: double IP address
Date: Thu, 9 Nov 2017 10:42:05 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]