2011-03-11 14:01:08

by MONAKHOV Alexey

[permalink] [raw]
Subject: question about setting up mesh network

Hi guys,

I have several questions about 802.11s, 802.11n and mesh networks in Linux (2.6.37.1 kernel)
with these devices
alix3d2 device (http://pcengines.ch/alix3d2.htm) with this card (http://pcengines.ch/dnma92.htm Atheros AR9220 chipset).
and I am trying to configure mesh netwroks with these commands

iw dev wlan0 interface add mesh_iface type mp mesh_id mesh_id
iwconfig mesh_iface essid monaale_mesh
ifconfig mesh_iface 192.168.3.80
ifconfig mesh_iface up

1.
I am using node with 2 wi-fi interfaces - my question is how to make a bridge with these 2 interfaces? Now I set 1 channel for one interface and 2 channel for the other one and traffic goes from one interface to other without any bridge - why?

2.
I can see that olsrd daemon is running, my question is how can I enable 802.11s routing ? (kernel was compiled with CONFIG_MAC80211_MESH=y option)

3.
how to be sure that mesh is operationg in 802.11n mode? now the speed is 54 Mb\sec but accoring to iwconfig command I can see wlan1 IEEE 802.11abgn interface enabled.

4.
how can I determine my neighbors IP addresses. i.e. I get a list of nearest nodes with
iw dev mesh station dump command, abd how determine IP of MAC? ( without arp cache because it is empty).
also do you know if it is possible to determine MAC (or IP) address of the neighbor from which IP package came to my node (not the source IP by my 1-hop neighbor who forwarded package to me). As I understand there is no such information in the IP or layer2 header.

thanks in advance,
Alexey.


2011-03-14 14:32:13

by Arend van Spriel

[permalink] [raw]
Subject: Re: question about setting up mesh network

On Mon, 14 Mar 2011 13:45:16 +0100, MONAKHOV Alexey
<[email protected]> wrote:

> Hi Arend,
>
> I have some questions about mesh set up. I posted these questions to
> mail list, but nobody answered me,
> so, if you do not mind - may I ask you directly -
>

Sorry, but I can not help you there. Mesh networking is not a topic I am
familiar with so either you picked the wrong guy or you were assuming the
brcm80211 (which we are maintaining) does support mesh networking. You're
best bet is still the linux wireless list, which I cc'ed here.

>
> thanks in advance,
> Alexey.
>

Gr. AvS
--
"The most merciful thing in the world, I think, is the inability of the
human
mind to correlate all its contents." - "The Call of Cthulhu"


2011-03-14 15:31:20

by Mohammed Shafi

[permalink] [raw]
Subject: Re: question about setting up mesh network

On Fri, Mar 11, 2011 at 7:24 PM, MONAKHOV Alexey
<[email protected]> wrote:
> Hi guys,
>
> I have several questions about 802.11s, 802.11n and mesh networks in Linux (2.6.37.1 kernel)
> with these devices
> alix3d2 device (http://pcengines.ch/alix3d2.htm) with this card (http://pcengines.ch/dnma92.htm ?Atheros AR9220 ?chipset).
> and I am trying to configure mesh netwroks with these commands
>
> ?iw dev wlan0 interface add mesh_iface type mp mesh_id mesh_id
> ?iwconfig mesh_iface essid monaale_mesh
> ?ifconfig mesh_iface 192.168.3.80
> ?ifconfig mesh_iface up
>
> 1.
> I am using node with 2 wi-fi interfaces - my question is how to make a bridge with these 2 interfaces? Now I set 1 channel for one interface and 2 channel for the other one and traffic goes from one interface to other without any bridge - why?
>
> 2.
> I can see that olsrd daemon is running, my question is how can I enable 802.11s routing ? (kernel was compiled with CONFIG_MAC80211_MESH=y option)
>
> 3.
> how to be sure that mesh is operationg in 802.11n mode? now the speed is 54 Mb\sec but accoring to iwconfig command I can see wlan1 IEEE 802.11abgn interface enabled.

802.11n is not supported for mesh mode. iw dev wlan0 link will be more
accurate. I don't know about other things as I am not familiar with
mesh.

>
> 4.
> how can I determine my neighbors IP addresses. i.e. I ?get a list of nearest nodes with
> iw dev mesh station dump command, abd how determine IP of MAC? ( without arp cache because it is empty).
> also do you know if it is possible to determine MAC (or IP) address of the neighbor from which IP package came to my node (not the source IP by my 1-hop neighbor who forwarded package to me). As I understand there is no such information in the IP or layer2 header.
>
> thanks in advance,
> Alexey.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to [email protected]
> More majordomo info at ?http://vger.kernel.org/majordomo-info.html
>