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.] DAT issue
Date: Wed, 7 Aug 2013 14:05:27 +0200 [thread overview]
Message-ID: <20130807120527.GL2943@ritirata.org> (raw)
In-Reply-To: <52022858.3030105@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2952 bytes --]
On Wed, Aug 07, 2013 at 12:58:32PM +0200, Fernando Pizarro wrote:
> El 07/08/13 11:09, Antonio Quartulli escribió:
> > On Wed, Aug 07, 2013 at 10:58:13AM +0200, Fernando Pizarro wrote:
> >> Hi all!
> >>
> >> I'm playing with OpenWRT and BATMAN advance and I had configured one
> >> essid to serve dynamic vlans via freeradius reply attributes.
> >>
> >> I have a bridge (br0) with bat0, wireless and ethernet interface, and
> >> hostapd creates a new bridge by vlan (brvlanX) with vlanX and wlan1.X
> >> succefully. Br0 has configured a VLAN and IP to connect with every other
> >> nodes. There is the same explanation, but schematic:
> >>
> >> Wireless:
> >>
> >> phy0 -> wlan0 -> bat0
> >> phy1 -> wlan1 -> wlan1.1
> >> \ --> wlan1.N
> >>
> >> Hostapd bridge:
> >>
> >> wlan1 -> brvlan1 -> {wlan1.1; vlan1}
> >> \ --> brvlanN -> {wlan1.N; vlanN}
> >>
> >> Ethernet bridge:
> >>
> >> br0 -> {bat0; eth0; wlan1}
> >> \ --> br0.X == IP/NETMASK
> >>
> >> When I look at batman dat table there aren't any registry, but variuos
> >> stations are connected. Why is that? What's wrong in my config?
> >
> > Hello Fernando,
> >
> > I have to say that your setup is not the easiest I've ever seen :)
> > However, the initial version of DAT was not made to work with VLANs, but I'm not
> > entirely sure if this should lead to an empty table.
> >
> > First of all, where are all your clients connected? to wlan1?
> > Why did you put wlan1 into br0 and not wlan1.X?
> > When your clients are doing traffic, can you see ARP Req/Resp on wlan1 (which is
> > the interface in br0 that will inject then the data into bat0)?
> >
> > Cheers,
> >
> Hi Antonio, thanks for your answer.
>
> I explain a bit more my stage... I have a server with DHCP that is the
> default gateway of all BATMAN nodes and clients, and BATMAN gateways are
> connected to it fisically. For roamming, I won't have IPs of VLANs in
> BATMAN nodes and all default gateways of VLANs are configured in the FW.
>
if I understood correctly you have many nodes all connected with a cable to the
same GW? so all the nodes are in the same LAN?
> Clients connects to wlan1.X, but that interface is created by hostapd
> when radius allows access to the network of that client (default dynamic
> vlan behaviour). As hostapd creates this interface on demand and
> destroys it when is killed, I can't add wlan1.X to the bridge (br0).
> However, there is arp traffic on wlan1.
>
I guess the traffic you see on wlan1 is VLAN traffic which is going to be
delivered to any of your wlan1.x.
I have the feeling in this way none of the client is really bridged into
batman-adv because you bridged wlan1 but the clients are connected to wlan1.x.
can you please report what "batctl tl" is saying?
Cheers,
--
Antonio Quartulli
..each of us alone is worth nothing..
Ernesto "Che" Guevara
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2013-08-07 12:05 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-07 8:58 [B.A.T.M.A.N.] DAT issue Fernando Pizarro
2013-08-07 9:09 ` Antonio Quartulli
2013-08-07 10:58 ` Fernando Pizarro
2013-08-07 12:05 ` Antonio Quartulli [this message]
2013-08-07 15:53 ` Fernando Pizarro
2013-08-07 16:09 ` Antonio Quartulli
2013-08-07 17:07 ` Fernando Pizarro
2013-08-07 17:23 ` Marek Lindner
2013-08-14 10:05 ` Fernando Pizarro
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=20130807120527.GL2943@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