lwip-devel
[Top][All Lists]
Advanced

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

Re: [lwip-devel] [bug #54914] lwIP-> connection failed from different ne


From: address@hidden
Subject: Re: [lwip-devel] [bug #54914] lwIP-> connection failed from different network
Date: Mon, 5 Nov 2018 21:30:06 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Have you read Jens' reply??? (wrong list etc.)

Simon


On 04.11.2018 10:26, AJEESH SAHADEVAN wrote:
Hi,

The issue has been resolved by upgrading new lwiP stack. But did some tweak in ip_route function to achieve.

    /* is the netif up, does it have a link and a valid address? */
    if (netif_is_up(netif) && netif_is_link_up(netif) && !ip4_addr_isany_val(*netif_ip4_addr(netif))) {
      /* network mask matches? */
return netif;
   #ifdef __NETMASK_COMPARE__  
 if (ip4_addr_netcmp(dest, netif_ip4_addr(netif), netif_ip4_netmask(netif))) {
        /* return netif on which to forward IP packet */
        return netif;
      }
#endif

Could you please suggest any better way for this ?

On Thu, Nov 1, 2018 at 1:03 AM AJEESH SAHADEVAN <address@hidden> wrote:
Hi,

More details attached


On Wed, Oct 31, 2018 at 11:00 PM AJEESH SAHADEVAN <address@hidden> wrote:
Hi

Attached router configurations also.

On Wed, Oct 31, 2018 at 2:00 PM AJEESH SAHADEVAN <address@hidden> wrote:
Hi,

The situation recreated , 
Now we are using one CISCO router.

1. LAPTOP is connected to CISCO router WAN port and  and lwIP device connected to LAN port of the router.

NCS(lwIP device) details
10.236.155.24
255.255.255.224
10.236.155.1

LAPTOP
10.236.26.180
255.255.255.192
10.236.26.129

In the above situation another one ethernet to serial module is working. But lwIP device not working.


2. LAPTOP is connected to CISCO router LAN port and  and lwIP device connected to WAN port of the router.
   Now the lwIP device is working fine

On Wed, Oct 31, 2018 at 1:46 AM Simon Goldschmidt <address@hidden> wrote:
Follow-up Comment #7, bug #54914 (project lwip):

Hmm, ok, if it's really like that, it can't work...

Now I'm confused :-/

    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?54914>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/



reply via email to

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