Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
From: David Lang <david@lang.hm>
To: dpreed@reed.com
Cc: "cerowrt-devel@lists.bufferbloat.net"
	<cerowrt-devel@lists.bufferbloat.net>
Subject: Re: [Cerowrt-devel] Recording RF management info _and_ associated traffic?
Date: Sun, 25 Jan 2015 19:32:27 -0800 (PST)	[thread overview]
Message-ID: <alpine.DEB.2.02.1501251920280.19609@nftneq.ynat.uz> (raw)
In-Reply-To: <1422242279.46066942@apps.rackspace.com>

On Sun, 25 Jan 2015, dpreed@reed.com wrote:

> Looking up an address in a routing table is o(1) if the routing table is a 
> hash table.  That's much more efficient than a TCAM.  My simple example just 
> requires a delete/insert at each node's route lookup table.
> 
> My point was about collections of WLAN's bridged together.  Look at what 
> happens (at the packet/radio layer) when a new node joins a bridged set of 
> WLANs using STP.  It is not exactly simple to rebuild the Ethernet layer's 
> bridge routing tables in a complex network.

How would it be any easier to rebuild the routing table? (even ignoring the 
question of what the devices use as their gateway)

> And the limit of 4096 entries in many inexpensive switches is not a trivial 
> limit.

Getting similar number of ports that all can be routed is significantly more 
expensive. Yes, the mid-range switches can run layer 3 routing, but they are far 
less efficient at doing so than they are at switching.

> Routers used to be memory-starved (a small number of KB of RAM was the norm). 
> Perhaps the thinking then (back before 2000) has not been revised, even though 
> the hardware is a lot more capacious.

well, you do have to remember that most of the routing protocols were designed 
in the days of those limits.

> Remember, the Ethernet layer in WLANs is implemented by microcontrollers, 
> typically not very capable ones, plus TCAMs which are pretty limited in their 
> flexibility.
> 
> While it is tempting to use the "pre-packaged, proprietary" Ethernet switch 
> functionality, routing gets you out of the binary blobs, and let's you be a 
> lot smarter and more scalable.

how do I run my own software on a HP switch to eliminate the binary blobs? How 
do I get similar performance on something with a dozen or more ports? From a 
theoretical point of view, you are absolutly correct, but there isn't an open 
equivalent available. This is even before you start talking about what's coded 
into the ASICs on the higher end switches, which while they are limited in what 
they can do, within those limits they will massivly outperform the other 
options.

>  Given that it does NOT cost more to do routing 
> at the IP layer, building complex Ethernet bridging is not obviously a win.

Ok, if it's not more expensive to do this. Exactly how would I set this up? 
remember that I have no ability to make any changes to the clients (iphones, 
android, Linux, Windows, Macs) I can't have them all running a routing protocol 
to have them figure out what gateway to use as they move from AP to AP.

not using 'cheap' commodity switches would make it more expensive (in my case we 
invested in buying a bunch of HP switches a couple years ago)

David Lang

  reply	other threads:[~2015-01-26  3:32 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-14  2:20 Richard Smith
2015-01-20 16:59 ` Rich Brown
2015-01-21 23:40   ` Richard Smith
2015-01-21 23:58     ` David Lang
2015-01-22  9:04       ` Richard Smith
2015-01-22  9:18         ` David Lang
2015-01-22 18:19           ` Richard Smith
2015-01-22 22:09             ` David Lang
2015-01-22 22:55               ` Roman Toledo Casabona
2015-01-24 14:59             ` dpreed
2015-01-24 15:30               ` Kelvin Edmison
2015-01-25  4:35               ` David Lang
2015-01-25  5:02                 ` Dave Taht
2015-01-25  5:04                   ` Dave Taht
2015-01-25  6:44                   ` David Lang
2015-01-25  7:06                     ` David Lang
     [not found]                     ` <CAA93jw64KjW-JjLxB3i_ZK348NCyJYSQACFO34MaUsBBWyZ+pA@mail.gmail.com>
2015-01-25  7:59                       ` Dave Taht
2015-01-25  9:39                       ` David Lang
2015-01-25 15:03                         ` Chuck Anderson
2015-01-25 20:17                 ` dpreed
2015-01-25 23:21                   ` Aaron Wood
2015-01-25 23:57                   ` David Lang
2015-01-26  1:51                     ` dpreed
2015-01-26  2:09                       ` David Lang
2015-01-26  4:33                         ` Valdis.Kletnieks
2015-01-26  4:44                           ` David Lang
2015-01-27  0:14                             ` dpreed
2015-01-27  0:23                               ` David Lang
2015-01-26  2:19                       ` Dave Taht
2015-01-26  2:43                         ` David Lang
2015-01-26  2:58                           ` Dave Taht
2015-01-26  3:17                             ` dpreed
2015-01-26  3:32                               ` David Lang [this message]
2015-01-26  3:45                               ` Dave Taht
2015-01-27  0:12                                 ` dpreed
2015-01-27  0:31                                   ` David Lang
2015-01-27  0:36                                   ` Dave Taht
2015-01-26  3:19                             ` David Lang
2015-01-26  4:25                     ` Valdis.Kletnieks
2015-01-26  4:39                       ` David Lang
2015-01-26 16:42                         ` Valdis.Kletnieks
2015-01-25  8:07             ` Outback Dingo
2015-01-30 16:14               ` Richard Smith

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=alpine.DEB.2.02.1501251920280.19609@nftneq.ynat.uz \
    --to=david@lang.hm \
    --cc=cerowrt-devel@lists.bufferbloat.net \
    --cc=dpreed@reed.com \
    /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