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] Questions

2011-04-03 Thread Mitar
Hi! But is this really Bellman-Ford algorithm? Because Bellman-Ford is a single-source algorithm and Babel in fact computes (distributed) all-source algorithm? Or you see Babel as an Bellman-Ford run multiple times, for each source ones? Because it is not really that as it reuses data it has

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

Re: [Babel-users] Questions

2011-04-03 Thread Mitar
Hi! On Sun, Apr 3, 2011 at 8:29 PM, Juliusz Chroboczek j...@pps.jussieu.fr wrote: Because it is not really that as it reuses data it has about paths to other nodes. No, it doesn't. How not? If you have such topology: A -- B -- C When B runs its run then it learns the shortest path towards