Re: [lwip-users] multiple netifs in no_sys environment

2019-06-07 Thread steffen.storck
} if(addr^netif->ip_addr.addr) { for(uint32_t i=0; iip_addr.addr)) return ptr; } } return netif; } - -Ursprüngliche Nachricht- Von: lwip-users Im Auftrag von Sergio R. Caprile Gesendet: Montag, 29. April 2019 14:59 An: lwip-users@nongnu.org Betreff: Re: [lwip-users] multiple netifs in no_sys

Re: [lwip-users] multiple netifs in no_sys environment

2019-04-29 Thread Sergio R. Caprile
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

[lwip-users] multiple netifs in no_sys environment

2019-04-23 Thread steffen_storck
Hello I am new to the lwip stack and I need your help for a little exotic problem: My pc has the ip address 192.168.24.100 and wants to send to 172.20.0.30 which is not in the same network. I added the default gateway to the pc 192.168.24.40 which is the ip address of an Infineon chip with the