Re: [B.A.T.M.A.N.] [Battlemesh] Battlemesh v5 tests

2012-03-11 Thread Henning Rogge
I agree, whats the purpose of NOT having this information? Henning On Sat, Mar 10, 2012 at 17:20, Mitar mi...@tnode.com wrote: Hi! (In a pure mesh protocol, routers with multiple interfaces should probably appear as multiple nodes; Why? I think it is good that the routing protocol knows

Re: [B.A.T.M.A.N.] [Battlemesh] Battlemesh v5 tests

2012-03-10 Thread Mitar
Hi! (In a pure mesh protocol, routers with multiple interfaces should probably appear as multiple nodes; Why? I think it is good that the routing protocol knows that something (some interfaces) belongs together (node). Mitar

Re: [B.A.T.M.A.N.] [Battlemesh] Battlemesh v5 tests

2012-03-09 Thread Simon Wunderlich
Hey Gabriel, thanks for bringing the discussion to the batman ml and giving some constructive input. I've written this bonding/alternating feature some time ago, and we released it at WBMv3 together with this little documentation to be found in the wiki. Actually, I considered the feature

Re: [B.A.T.M.A.N.] [Battlemesh] Battlemesh v5 tests

2012-03-09 Thread Benjamin Henrion
On Fri, Mar 9, 2012 at 9:56 AM, Simon Wunderlich simon.wunderl...@s2003.tu-chemnitz.de wrote: Hey Gabriel, thanks for bringing the discussion to the batman ml and giving some constructive input. I've written this bonding/alternating feature some time ago, and we released it at WBMv3

Re: [B.A.T.M.A.N.] [Battlemesh] Battlemesh v5 tests

2012-03-09 Thread Marek Lindner
On Friday, March 09, 2012 17:17:47 Benjamin Henrion wrote: Maybe algorithm is a big word for a little feature like that. The bonding and interface alternating basically work in two steps: 1) detect that a neighbor is reachable via two different links 2) use the two different links for

Re: [B.A.T.M.A.N.] [Battlemesh] Battlemesh v5 tests

2012-03-09 Thread Benjamin Henrion
On Fri, Mar 9, 2012 at 10:42 AM, Marek Lindner lindner_ma...@yahoo.de wrote: On Friday, March 09, 2012 17:17:47 Benjamin Henrion wrote: Maybe algorithm is a big word for a little feature like that. The bonding and interface alternating basically work in two steps:  1) detect that a

Re: [B.A.T.M.A.N.] [Battlemesh] Battlemesh v5 tests

2012-03-09 Thread Marek Lindner
On Friday, March 09, 2012 17:56:17 Benjamin Henrion wrote: Since this question keeps coming up and also seems to be the reason for the confusion, let me make it clear once more: There is no special protocol treatment in any way. No added cost, no protocol change, no magic commandline

Re: [B.A.T.M.A.N.] [Battlemesh] Battlemesh v5 tests

2012-03-09 Thread Juliusz Chroboczek
So on which interface the packet is gonna be transmitted? Hopefully the optimum interface. There was a short productive phase when we managed to get Marek to shut up. Unfortunately, it looks like this phase is over. -- Juliusz

Re: [B.A.T.M.A.N.] [Battlemesh] Battlemesh v5 tests

2012-03-09 Thread Roger Baig Viñas
Hi, On 9 March 2012 11:26, Juliusz Chroboczek j...@pps.jussieu.fr wrote: So on which interface the packet is gonna be transmitted? Hopefully the optimum interface. There was a short productive phase when we managed to get Marek to shut up.  Unfortunately, it looks like this phase is over.

Re: [B.A.T.M.A.N.] [Battlemesh] Battlemesh v5 tests

2012-03-09 Thread Gabriel Kerneis
Hi Benjamin, On Fri, Mar 09, 2012 at 10:17:47AM +0100, Benjamin Henrion wrote: On Fri, Mar 9, 2012 at 9:56 AM, Simon Wunderlich Maybe algorithm is a big word for a little feature like that. The bonding and interface alternating basically work in two steps:  1) detect that a neighbor is

Re: [B.A.T.M.A.N.] [Battlemesh] Battlemesh v5 tests

2012-03-09 Thread Mitar
Hi! Just a note for those who do not know about the nice atmosphere of the WBM events: those who are fighting in this thread are in fact good friends and can have very very interesting discussions ;) Love-hate relationship. ;-) Mitar

Re: [B.A.T.M.A.N.] [Battlemesh] Battlemesh v5 tests

2012-03-09 Thread Gabriel Kerneis
Hey Simon, On Fri, Mar 09, 2012 at 09:56:36AM +0100, Simon Wunderlich wrote: 1) The detection part is batman-specific, we use the the PRIMARIES_FIRST_HOP flag to do that. As a reminder (that might be documented somewhere else): * OGMs from the primary interface are broadcasted on ALL

Re: [B.A.T.M.A.N.] [Battlemesh] Battlemesh v5 tests

2012-03-09 Thread Marek Lindner
On Friday, March 09, 2012 19:12:03 Gabriel Kerneis wrote: When we receive OGMs with PRIMARIES_FIRST_HOP flags on different interfaces, we know that it came from the same neighbor, just from different interfaces. We have two links to this neighbor. I think my primary misunderstanding comes

Re: [B.A.T.M.A.N.] [Battlemesh] Battlemesh v5 tests

2012-03-09 Thread Gabriel Kerneis
On Fri, Mar 09, 2012 at 07:26:54PM +0800, Marek Lindner wrote: The concept of a primary interface goes back into the early days of batman and primarily is an optimization to reduce overhead. At some point we realized that it is not necessary to flood the mesh with OGMs from each and every

Re: [B.A.T.M.A.N.] [Battlemesh] Battlemesh v5 tests

2012-03-09 Thread Antonio Quartulli
On Fri, Mar 09, 2012 at 01:04:55PM +0100, Gabriel Kerneis wrote: On Fri, Mar 09, 2012 at 07:26:54PM +0800, Marek Lindner wrote: The concept of a primary interface goes back into the early days of batman and primarily is an optimization to reduce overhead. At some point we realized that

Re: [B.A.T.M.A.N.] [Battlemesh] Battlemesh v5 tests

2012-03-09 Thread Gabriel Kerneis
Antonio, On Fri, Mar 09, 2012 at 01:39:06PM +0100, Antonio Quartulli wrote: Does that mean that it is impossible to announce a route on some interfaces only? It looks like a rather arbitrary limitation. OGMs are broadcasted over all the interfaces (there may be some neighs reachable

Re: [B.A.T.M.A.N.] [Battlemesh] Battlemesh v5 tests

2012-03-09 Thread andrew.lunn
My question is about some kind of policy routing (setup by the administrator, not guessed by batman). Consider the following topology: l0 l1 A B C l2 where --- is a single link (l0) and === are two links (l1 and l2). Now imagine that the

Re: [B.A.T.M.A.N.] [Battlemesh] Battlemesh v5 tests

2012-03-09 Thread Gabriel Kerneis
Andrew, On Fri, Mar 09, 2012 at 01:09:26PM +, andrew.l...@ascom.com wrote: Consider the following topology: l0 l1 A B C l2 where --- is a single link (l0) and === are two links (l1 and l2). Now imagine that the administator wants

Re: [B.A.T.M.A.N.] [Battlemesh] Battlemesh v5 tests

2012-03-09 Thread Gabriel Kerneis
Andrew, On Fri, Mar 09, 2012 at 01:09:26PM +, andrew.l...@ascom.com wrote: Remember that BATMAN is a Layer 2 mesh, not layer 3. Sorry, I just recalled what it implies. You can ignore my previous answer, I was focused on babel-like, layer 3 examples. -- Gabriel

Re: [B.A.T.M.A.N.] [Battlemesh] Battlemesh v5 tests

2012-03-09 Thread Andrew Lunn
On Fri, Mar 09, 2012 at 02:49:28PM +0100, Gabriel Kerneis wrote: Andrew, On Fri, Mar 09, 2012 at 01:09:26PM +, andrew.l...@ascom.com wrote: Remember that BATMAN is a Layer 2 mesh, not layer 3. Sorry, I just recalled what it implies. :-) You can ignore my previous answer, I was

Re: [B.A.T.M.A.N.] [Battlemesh] Battlemesh v5 tests

2012-03-09 Thread Juliusz Chroboczek
l0l1 A B -- C Example: \ / I want to restrict the link l1 to communication D -- E -- Fbetween A and C. (Nice frying-pan, isn’t it? ;-) I think that Andrew has answered your question. BATMAN is a pure mesh protocol; it

Re: [B.A.T.M.A.N.] [Battlemesh] Battlemesh v5 tests

2012-03-07 Thread Gabriel Kerneis
[CC: b.a.t.m.a.n@lists.open-mesh.org, see note 3 in particular] Antonio, On Wed, Mar 07, 2012 at 06:17:52PM +0100, Antonio Quartulli wrote: Technical details about what? Interface-alternating? It is there! Gabriel wrote the link. No. Please re-read my email carefuly. The wiki contains a