Mesh Network FAQ: Difference between revisions
mNo edit summary |
|||
(22 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
{{OLPC}} |
|||
<noinclude>{{Translations}}</noinclude> |
|||
These are questions about the [[Networking|Mesh Network]] used by the XO laptop. A related page is [[Mesh Network Details]]. |
|||
===How many servers per school?=== |
===How many servers per school?=== |
||
Line 15: | Line 20: | ||
::Yet another alternative would be to run daemons attached to the mesh interface, such as [http://www.cozybit.com/projects/lsmesh http://www.cozybit.com/projects/lsmesh] |
::Yet another alternative would be to run daemons attached to the mesh interface, such as [http://www.cozybit.com/projects/lsmesh http://www.cozybit.com/projects/lsmesh] |
||
:This is now answered by the [[Mesh_Network_Details#OLPC-Mesh_Association_Algorithm | Mesh Network Details]] |
|||
::The mesh channel selection algorithm needs to be debated. A proposal is below--[[User:Wad|Wad]] |
|||
====Mesh channel selection algorithm==== |
|||
The device will scan for activity on all three channels being proposed for OLPC meshes (1, 6, and 11) before making any decision. |
|||
# If there is only activity on a single channel, it will be selected. |
|||
# If there is activity on multiple channels, the active channel with the least activity will be selected. |
|||
# If all channels show the same activity, then channel 11 will be selected. |
|||
This algorithm should be modified to take the number of hops to a gateway on a particular mesh into account. |
|||
===How can we determine whether a channel has other active mesh users?=== |
===How can we determine whether a channel has other active mesh users?=== |
||
Line 36: | Line 31: | ||
:Is there an answer ? |
:Is there an answer ? |
||
:Is the XO-1 Laptop Mesh antenna limited to aprox 24 connections before bad collisions, similar to regular WiFi technology ? --[[User:IainD|iainD]] 21:28, 16 January 2008 (EST) |
|||
===Will physically adjacent laptops be on the same mesh ?=== |
===Will physically adjacent laptops be on the same mesh ?=== |
||
Line 43: | Line 39: | ||
:One of the roles of the [[School server]] will be to bridge between mesh clouds running on different channels. How do you decide what mesh (channel) to join was a previous question. |
:One of the roles of the [[School server]] will be to bridge between mesh clouds running on different channels. How do you decide what mesh (channel) to join was a previous question. |
||
===What about |
===What about Wi-Fi encryption ?=== |
||
Does the mesh part of the firmware use the same encryption settings as the b interface? Do we care about making a 'private mesh' with WPA-PSK or WEP or something like that? |
Does the mesh part of the firmware use the same encryption settings as the b interface? Do we care about making a 'private mesh' with WPA-PSK or WEP or something like that? |
||
Line 49: | Line 45: | ||
:Yes, the mesh uses the same encryption. |
:Yes, the mesh uses the same encryption. |
||
:Down the road, we care, and will probably use WPA-PSK.-- |
:Down the road, we care, and will probably use WPA-PSK.--Michalis |
||
::I will argue that link layer encryption is the wrong place to protect secrets. If an application handles private or sensitive data, it should apply encryption at that time (e.g. HTTPS). My concern is the management overhead of the authentication server for WPA-PSK. The ability of devices other than XO laptops to join the school network will be supported. --[[User:Wad|Wad]] 00:21, 22 February 2007 (EST) |
::I will argue that link layer encryption is the wrong place to protect secrets. If an application handles private or sensitive data, it should apply encryption at that time (e.g. HTTPS). My concern is the management overhead of the authentication server for WPA-PSK. The ability of devices other than XO laptops to join the school network will be supported. --[[User:Wad|Wad]] 00:21, 22 February 2007 (EST) |
||
---- |
|||
I read here which WPA(PSK) can work for mesh network but it is a several days that i am trying to configure the PWA(PSK) for mesh network in OpenWrt, i did not get result, and also gave a message that shows " WPA(PSK) does not support ad-hoc network. if some one know that how can apply the WPA(PSK) on ad-hoc network please inform me, my E-mail: salimsaay@gmail.com |
|||
===How are school servers (network gateways) discovered?=== |
===How are school servers (network gateways) discovered?=== |
||
Line 57: | Line 56: | ||
Will servers send out some sort of announcements to allow the laptops to find them automatically, or must we cache a DNS name or IP address for the server? |
Will servers send out some sort of announcements to allow the laptops to find them automatically, or must we cache a DNS name or IP address for the server? |
||
:They will act as gateways and respond to RREQs for a reserved anycast address.-- |
:They will act as gateways and respond to RREQs for a reserved anycast address.--Michalis |
||
:This is two different questions. At the layer 2 networking level, the laptop is looking for a default gateway. This will be supplied by a mesh network configuration server running on all school servers, which responds to a request for a particular anycast address with its IP address. The laptop will then use DHCP to request an IP address, netmask, domain name servers, and default domain. |
|||
:At the services level, each laptop will be associated with a particular school server that contains a student's journal and backups, through a mechanism which is still being defined.--[[User:Wad|Wad]] |
|||
===How does an XO-1.5 connect to an XO-1 ?=== |
|||
: See [[Ad hoc networking]]. The XO-1.5 does not support the same mesh networking protocols as the XO-1, but they can still collaborate in the 'under-a-tree scenario' by means of [[Ad hoc networking]]. |
|||
[[Category:Network]] |
|||
:This is two different questions. At the networking level, the laptop is looking for a default gateway. This should be supplied either by the anycast mechanism or by DHCP (discussion?). At the server level, it is still unclear how a laptop will be associated with the school server that contains a student's journal and backups. |
|||
[[Category:OLPC FAQ]] |
|||
--[[User:Wad|Wad]] 00:21, 22 February 2007 (EST) |
Latest revision as of 18:50, 5 December 2011
These are questions about the Mesh Network used by the XO laptop. A related page is Mesh Network Details.
How many servers per school?
How will the school servers in one school be connected, and how many users each are they expected to support?
- The ratio of students to school servers is currently planned to be no more than 100:1. The interconnection between servers will be best possible: Cat3/5 or powerline is strongly recommended, with a fallback to wireless if necessary.
- Each server will support at least two WiFi access points (the Marvell modules), with up to five or six access points possible. The optimum deployment scenario probably provides two or three meshes per school (on channels 11, 1, and 6). Each server provides access points on two or more meshes (i.e. there are multiple servers/access points on each mesh.)
How is the mesh channel for a laptop to join chosen?
- You have to spend some time on every channel and estimate how heavy the traffic is from the RREQ and RREP packets.
- This is tricky, as these packets are not sent to the host. One way to determine this indirectly is to examine the forwarding table: when RREQs are received, reverse routes are created. Alternatively, one could monitor the forwarding statistics of the mesh interface (ethtool -S msh0). These are all "passive" detection methods: will not work if all the hosts in the mesh are silent.
- Yet another alternative would be to run daemons attached to the mesh interface, such as http://www.cozybit.com/projects/lsmesh
- This is now answered by the Mesh Network Details
How can we determine whether a channel has other active mesh users?
- There are no beacons currently (although they are in the implementation plan) so you really have to listen for mesh traffic.
How many radios can one mesh channel support?
How will a laptop decide to join another mesh channel if the current one gets too busy?
- Is there an answer ?
- Is the XO-1 Laptop Mesh antenna limited to aprox 24 connections before bad collisions, similar to regular WiFi technology ? --iainD 21:28, 16 January 2008 (EST)
Will physically adjacent laptops be on the same mesh ?
Is it possible that two children sitting next to one another are on different channels and therefore cannot "see" each other on the net?
- One of the roles of the School server will be to bridge between mesh clouds running on different channels. How do you decide what mesh (channel) to join was a previous question.
What about Wi-Fi encryption ?
Does the mesh part of the firmware use the same encryption settings as the b interface? Do we care about making a 'private mesh' with WPA-PSK or WEP or something like that?
- Yes, the mesh uses the same encryption.
- Down the road, we care, and will probably use WPA-PSK.--Michalis
- I will argue that link layer encryption is the wrong place to protect secrets. If an application handles private or sensitive data, it should apply encryption at that time (e.g. HTTPS). My concern is the management overhead of the authentication server for WPA-PSK. The ability of devices other than XO laptops to join the school network will be supported. --Wad 00:21, 22 February 2007 (EST)
I read here which WPA(PSK) can work for mesh network but it is a several days that i am trying to configure the PWA(PSK) for mesh network in OpenWrt, i did not get result, and also gave a message that shows " WPA(PSK) does not support ad-hoc network. if some one know that how can apply the WPA(PSK) on ad-hoc network please inform me, my E-mail: salimsaay@gmail.com
How are school servers (network gateways) discovered?
Will servers send out some sort of announcements to allow the laptops to find them automatically, or must we cache a DNS name or IP address for the server?
- They will act as gateways and respond to RREQs for a reserved anycast address.--Michalis
- This is two different questions. At the layer 2 networking level, the laptop is looking for a default gateway. This will be supplied by a mesh network configuration server running on all school servers, which responds to a request for a particular anycast address with its IP address. The laptop will then use DHCP to request an IP address, netmask, domain name servers, and default domain.
- At the services level, each laptop will be associated with a particular school server that contains a student's journal and backups, through a mechanism which is still being defined.--Wad
How does an XO-1.5 connect to an XO-1 ?
- See Ad hoc networking. The XO-1.5 does not support the same mesh networking protocols as the XO-1, but they can still collaborate in the 'under-a-tree scenario' by means of Ad hoc networking.