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

Reply via email to