lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Problem using 2 Netifs


From: Simon Goldschmidt
Subject: Re: [lwip-users] Problem using 2 Netifs
Date: Mon, 25 Jun 2012 09:55:52 +0200

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



reply via email to

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