Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
From: David Lang <david@lang.hm>
To: <cerowrt-devel@lists.bufferbloat.net>
Subject: Re: [Cerowrt-devel] treating 2.4ghz as -legacy?
Date: Wed, 18 Dec 2013 11:24:14 -0800	[thread overview]
Message-ID: <4400ed3b15245d06d0bf73d22f7a7692@lang.hm> (raw)
In-Reply-To: <874n66yqcs.fsf@toke.dk>

 On Wed, 18 Dec 2013 18:18:59 +0000, Toke Høiland-Jørgensen wrote:
> Michael Richardson <mcr@sandelman.ca> writes:
>
>> As for having identical ESSID on the same layer-2... I think that
>> perhaps cerowrt/openwrt/homenet should consider a wireless AP
>> discovery attribute in the routing protocol, and given that, run GRE
>> over IPv6 ULA between APs.
>
> I was thinking something like that would be neat. I seem to recall 
> that
> the homenet effort at IETF is in the process of specifying 
> standard(s)
> for how multiple routes that get plugged into each other in random
> fashions should auto-configure themselves. In the meantime, perhaps a
> poor-mans version could be to have cero check, when the wan interface
> comes up, whether the upstream router is also running cero, and if so
> setup the appropriate GRE tunnels and, basically, turn off all other
> functionality.
>
> Some sort of negotiation would be needed, but a lua script running in
> the (upstream) web configuration (or even an inetd-powered pipe to a
> shell script) could work I guess. This could be authenticated by a
> shared secret (which the cero firmware would ship with), to prevent 
> the
> most obvious abuse.
>
> Any reason why the above wouldn't work?

 doing a lot of GRE tunnels could be a lot of overhead.

 What I would like is something that would be easier to scale (I run the 
 wireless network for the Southern California Linux Expo and so I am a 
 bit biased towards figuring out the large scale problem)

 What I do there is to have all the APs on the same ESSID, but them have 
 them all bridge the wireless to the wired network (a different VLAN for 
 2.4 and 5) and then the wireless VLANs get run through a router to 
 connect them to the wired networks.

 I don't do IP management (DHCP in my case) on the individual APs, I do 
 it on the box that is the router/firewall to the rest of the networks.

 in this sort of system, what we would need is a system that would do 
 something along the lines of:

 APs report signal strength of stations they hear to a central location 
 (probably via UDP so that the messages can't queue and be stale when 
 they arrive, but also allowing use of multicast MAC to turn this into a 
 multicast)

 some process decides what the 'best' AP to respond would be and records 
 it in some sort of database (not SQL, possibly memcache)

 when an AP gets a connection request, it checks the client against the 
 database, if it doesn't respond, doesn't have any info on the client, or 
 says that this AP is the best AP, allow the connection


 now, there is a race condition here that APs could be checking as the 
 data is changing, but since the client will retry a couple of times, 
 this should give time for the data to stabilize.



 If there is no central system, this gets a little uglier. By using 
 multicast (either explicitly or by turning the UDP unicast address into 
 a MAC multicast address) the data can be sent to all the APs and they 
 can do their own calculations. The problem would be that this would 
 increase the risk of running into race conditions.

 David Lang

  reply	other threads:[~2013-12-18 19:24 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-16 19:46 Dave Taht
2013-12-16 20:19 ` Sebastian Moeller
2013-12-16 20:25 ` Toke Høiland-Jørgensen
2013-12-16 20:48 ` Kelvin Edmison
2013-12-16 21:28 ` David Lang
2013-12-16 22:06   ` Fred Stratton
2013-12-17 17:54     ` Michael Richardson
2013-12-17 18:51       ` Jim Gettys
2013-12-17 22:25         ` dpreed
2013-12-17 22:32           ` Jim Gettys
2013-12-17 23:43             ` Stephen Hemminger
2013-12-18  1:33               ` Theodore Ts'o
2013-12-18  3:04                 ` David Lang
2013-12-18  5:05                   ` Theodore Ts'o
2013-12-18  5:49                     ` David Lang
2013-12-18 14:17                 ` Chuck Anderson
2013-12-18 15:19               ` dpreed
2013-12-18 16:54                 ` Michael Richardson
2013-12-18 18:18                   ` Toke Høiland-Jørgensen
2013-12-18 19:24                     ` David Lang [this message]
2013-12-18 20:07                       ` Michael Richardson
2013-12-18 20:14                         ` David Lang
2013-12-19  9:31                           ` Toke Høiland-Jørgensen
2013-12-19 14:32                             ` Michael Richardson
2013-12-19 20:05                             ` David Lang
2013-12-19 21:01                               ` Chuck Anderson
2013-12-20  0:50                 ` Theodore Ts'o
2013-12-20  5:18                   ` dpreed
2013-12-18 14:06           ` Michael Richardson
2013-12-27 23:56 ` Maciej Soltysiak

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

  List information: https://lists.bufferbloat.net/postorius/lists/cerowrt-devel.lists.bufferbloat.net/

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

  git send-email \
    --in-reply-to=4400ed3b15245d06d0bf73d22f7a7692@lang.hm \
    --to=david@lang.hm \
    --cc=cerowrt-devel@lists.bufferbloat.net \
    /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