[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] multiple netifs in no_sys environment
From: |
Sergio R. Caprile |
Subject: |
Re: [lwip-users] multiple netifs in no_sys environment |
Date: |
Mon, 29 Apr 2019 09:58:42 -0300 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Thunderbird/60.6.0 |
The lwIP stack will not work as a router unless you actually write the
routing code yourself. Since in your scenario the non-local address is
the device netif address, that should work. If it were some other host
in that very same network (172...) connected to the lwIP device, it
would not (unless you write the code).
How to do it: you just setup two netifs. I would set the 192... to
default. Try the echo server and it should work.