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

Antonio Quartulli ordex at autistici.org
Fri Mar 9 13:03:01 UTC 2012


On Fri, Mar 09, 2012 at 01:57:41PM +0100, Gabriel Kerneis wrote:
> 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
> > only by one interface) and you can't force an OGM to be broadcasted only over
> > one of them. I hope I correctly got your question.
> 
> 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 administator wants to dedicate the link l2 to the
> communication between B and C, for whatever reason.  It is fairly easy to set
> netfilter rules to that effect, for instance.

Thanks for the exhaustive explanation.

> 
> 1) Is it possible for the administrator of B to configure batman so that it
>    announces a route to A only over l1, and not l2?  Such that C will only ever
>    send packets for A over l1, and B never replies on l2 either.
> 

No, it is not possible. No filtering/manual selection is possible in batman-adv,
right now.

>    It looks like both l1 and l2 will end up as bonding alternates for C.

Yes.


Cheers,

-- 
Antonio Quartulli

..each of us alone is worth nothing..
Ernesto "Che" Guevara
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ml.ninux.org/pipermail/battlemesh/attachments/20120309/9b8a396d/attachment.pgp>


More information about the Battlemesh mailing list