Re: [Babel-users] [Battlemesh] OLSR src IP bug

2011-04-04 Thread Markus Kittenberger
On Sun, Apr 3, 2011 at 8:50 PM, Juliusz Chroboczek j...@pps.jussieu.frwrote: other approach is (like babel) to rely on the somewhat unexpected/unexplainable differences in kernel for routes having a gateway, and hope they do what we want in all conditions,.. Hmm...

Re: [Babel-users] [Battlemesh] OLSR src IP bug

2011-04-03 Thread Juliusz Chroboczek
the olsrd messges itself where using correct src adress (ath:4) Ok. but the olsrd routes did not specify the src ip (so it`s up to the kernel to choose *G) Neither does Babel, and Babel did apparently not have this issue. Babel dumps routes in the kernel by specifying: - dest, plen; -

Re: [Babel-users] [Battlemesh] OLSR src IP bug

2011-04-03 Thread Juliusz Chroboczek
other approach is (like babel) to rely on the somewhat unexpected/unexplainable differences in kernel for routes having a gateway, and hope they do what we want in all conditions,.. Hmm... ip_rt_get_source(route.c) calls inet_select_addr with the gateway as second parameter. If the gateway is

Re: [Babel-users] [Battlemesh] OLSR src IP bug

2011-04-03 Thread Markus Kittenberger
On Sun, Apr 3, 2011 at 7:31 PM, Juliusz Chroboczek j...@pps.jussieu.frwrote: but the olsrd routes did not specify the src ip (so it`s up to the kernel to choose *G) Neither does Babel, and Babel did apparently not have this issue. but this saved bmx *G, see below what saved babel *G