public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Antonio Quartulli <ordex@autistici.org>
To: The list for a Better Approach To Mobile Ad-hoc Networking
	<b.a.t.m.a.n@lists.open-mesh.org>
Subject: Re: [B.A.T.M.A.N.] batman-adv: ap mode with isolation enabled
Date: Fri, 12 Oct 2012 15:04:57 +0200	[thread overview]
Message-ID: <20121012130457.GA4566@ritirata.org> (raw)
In-Reply-To: <5078131D.9070508@altermundi.net>

[-- Attachment #1: Type: text/plain, Size: 2778 bytes --]

On Fri, Oct 12, 2012 at 09:54:53AM -0300, NicoEchániz wrote:
> On 10/12/12 04:15, Antonio Quartulli wrote:
> > On Fri, Oct 12, 2012 at 02:15:39 -0300, NicoEchániz wrote:
> >>
> >> Is the setup clear enough now? or am I missing the point as to what is
> >> unclear? Please ask whatever needs to be clarified.
> >>
> > 
> > Hello Nicolás,
> > 
> > I think I got your point. First, you are talking about the "normal" AP isolation
> > feature that you can enable in hostapd, right? Because in batman-adv we have our
> > own (Distributed) AP-isolation but it has different effects and behaviours.
> 
> exactly, it is the "normal" AP isolation feature.
> 
> 
> > The behaviour is correct: OGMs are broadcast packets. In infrastructure mode,
> > whatever broadcast packet a station sends gets to the AP which will re-broadcast
> > it again. In this way every station gets it and from the batman-adv point of
> > view it is like the packet was received directly from the other sta (the MAC
> > addresses in the packet say so). Therefore you must enable ap-isolation in
> > hostapd if you want batman-adv to behave as you expect.
> 
> Does this mean that with isolation turned off stations will try to
> communincate directly if they can? Say, if we have two stations that are
> far from the AP but very near each other, will they actually send
> (unicast) packets to each other without going through the AP at all? If
> so, activating isolation might be eliminating real possible paths, all
> for the sake of sane originator tables.

First, this is not related to batman-adv. We are discussing something "below"
the batman-adv layer. In infrastructure mode unicast packet from station A to
station B will pass through the AP. This behaviour has been changed by 802.11e
and (T)DLS (you can have a look at the 802.11 standard if you want more details
about that). But, again, this is not related to batman-adv.

If you use infrastructure mode without AP isolation, batman-adv will consider
all the other STAs as direct neighbours. But, due to infrastructure mode,
packets from STA1 to STA2 will always pass through the AP. This is also why I
would suggest to keep AP-isolation ON if you want to run batman-adv on the
stations and on the AP, but then it depends on what you want to get.

> 
> 
> I believe our mixed setup is not standard practice, that's why I wanted
> to share this real-world results.

not standard, but common (there are many -closed- drivers that work better in
infrastructure than adhoc mode. but this is normally used in PtP links only due
to asymmetry problems on the link (see 802.11 standard for more :-))

Cheers!


-- 
Antonio Quartulli

..each of us alone is worth nothing..
Ernesto "Che" Guevara

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2012-10-12 13:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-12  4:13 [B.A.T.M.A.N.] batman-adv: ap mode with isolation enabled Nicolás Echániz
2012-10-12  4:29 ` Marek Lindner
2012-10-12  5:15   ` NicoEchániz
2012-10-12  7:15     ` Antonio Quartulli
2012-10-12 10:18       ` Marek Lindner
2012-10-12 12:54         ` NicoEchániz
2012-10-12 12:54       ` NicoEchániz
2012-10-12 13:04         ` Antonio Quartulli [this message]
2012-10-13 10:27           ` NicoEchániz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121012130457.GA4566@ritirata.org \
    --to=ordex@autistici.org \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox