There is no obvious problems for 2 netif for lwIP. In my environment: one is LAN, another is PPP device.
On Mon, Jun 25, 2012 at 3:55 PM, Simon Goldschmidt <[email protected]> wrote: > Fred39 wrote: > > Ok i found the problem, both netifs had similar ip configuration "same > > subnet" which was the problem thus the packets where send to the first > netif > > in the list :) > > > > Is this behaviour specified somewhere ? > > Yes, this is intended behaviour specified in IPv4 routing. I don't > remember the RFC, though, but simple IPv4 routing is based on destination > address only, not on source address. As such, if you have 2 netifs on the > same subnet, the simple routing algorithm will always send packets to the > first match, which is what you observed. > > Simon > -- > Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir > belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de > > _______________________________________________ > lwip-users mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/lwip-users >
_______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
