Re: [B.A.T.M.A.N.] DAT issue

Antonio Quartulli
2013-08-07T09:09:41Z

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

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,

--
Antonio Quartulli

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

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