lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] ping my own device's ip always timeout


From: Sylvain Rochet
Subject: Re: [lwip-users] ping my own device's ip always timeout
Date: Thu, 13 Apr 2017 11:19:30 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

Hi,

On Thu, Apr 13, 2017 at 04:40:53PM +0800, Axel Lin wrote:
> Hi,
> After my device join an AP and get the ip (e.g. 192.168.0.102).
> My device can ping the gateway ip and other devices in the same network.
> Other devices can ping my test device running lwip.
> But if I try to ping my own ip (192.168.0.102), it always timeout.
> This seems strange.  is this a normal behavior in lwip?

Short answer:

/**
 * LWIP_NETIF_LOOPBACK==1: Support sending packets with a destination IP
 * address equal to the netif IP address, looping them back up the stack.
 */
#define LWIP_NETIF_LOOPBACK             1

Sylvain

Attachment: signature.asc
Description: Digital signature


reply via email to

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