Re: [Autoconf] aspects of multi-hop wireless communication

"Teco Boot" <teco@inf-net.nl> Sat, 20 December 2008 09:31 UTC

Return-Path: <autoconf-bounces@ietf.org>
X-Original-To: autoconf-archive@megatron.ietf.org
Delivered-To: ietfarch-autoconf-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EF6BA3A6838; Sat, 20 Dec 2008 01:31:24 -0800 (PST)
X-Original-To: autoconf@core3.amsl.com
Delivered-To: autoconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 52A333A6838 for <autoconf@core3.amsl.com>; Sat, 20 Dec 2008 01:31:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.4
X-Spam-Level:
X-Spam-Status: No, score=-1.4 tagged_above=-999 required=5 tests=[AWL=0.046, BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, J_CHICKENPOX_21=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 076O3xRJdDTI for <autoconf@core3.amsl.com>; Sat, 20 Dec 2008 01:31:23 -0800 (PST)
Received: from hpsmtp-eml19.kpnxchange.com (hpsmtp-eml19.KPNXCHANGE.COM [213.75.38.84]) by core3.amsl.com (Postfix) with ESMTP id 3AFB43A6802 for <autoconf@ietf.org>; Sat, 20 Dec 2008 01:31:22 -0800 (PST)
Received: from cpsmtp-eml109.kpnxchange.com ([213.75.84.109]) by hpsmtp-eml19.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Sat, 20 Dec 2008 10:31:13 +0100
Received: from M90Teco ([86.83.9.22]) by cpsmtp-eml109.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Sat, 20 Dec 2008 10:31:13 +0100
From: Teco Boot <teco@inf-net.nl>
To: 'Alexandru Petrescu' <alexandru.petrescu@gmail.com>
References: <be8c8d780812190119r200efceawef79c63766ea1a3f@mail.gmail.com> <494B8E7C.7000505@gmail.com> <be8c8d780812190504x98496egc37c25b21a799ceb@mail.gmail.com> <494BB75E.4050206@gmail.com> <ABE739C5ADAC9A41ACCC72DF366B719D016C3E14@GLKMS2100.GREENLNK.NET> <be8c8d780812190721r7ea9c43aif8aff7c83f44f43@mail.gmail.com> <494BC360.1000109@gmail.com> <be8c8d780812190810y4d891c44tfbec9cce43c3cee9@mail.gmail.com> <494BC927.1020400@gmail.com> <494BCCCC.6050206@earthlink.net> <494BCFEF.2010100@gmail.com> <494BD45A.2090106@earthlink.net> <494BE0D8.4070509@gmail.com> <00ae01c96208$aa2ebd20$fe8c3760$@nl> <494BEAB1.3040700@gmail.com> <00af01c96211$e2c97770$a85c6650$@nl> <494BFE4B.9000601@gmail.com>
In-Reply-To: <494BFE4B.9000601@gmail.com>
Date: Sat, 20 Dec 2008 10:31:08 +0100
Message-ID: <000001c96285$b050af60$10f20e20$@nl>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: AcliFQaFXlQDMQ9lQg6OmkggcxFpIQAa8elw
Content-Language: nl
X-OriginalArrivalTime: 20 Dec 2008 09:31:13.0266 (UTC) FILETIME=[B3279D20:01C96285]
Cc: autoconf@ietf.org
Subject: Re: [Autoconf] aspects of multi-hop wireless communication
X-BeenThere: autoconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Ad-Hoc Network Autoconfiguration WG discussion list <autoconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/autoconf>, <mailto:autoconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/autoconf>
List-Post: <mailto:autoconf@ietf.org>
List-Help: <mailto:autoconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/autoconf>, <mailto:autoconf-request@ietf.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: autoconf-bounces@ietf.org
Errors-To: autoconf-bounces@ietf.org

|> Try it, and you will see it will fail.
|> OK, you can modify the code if you have a C compiler nearby, and some
|> sources to modify.
|
|I'm not meaning to modify any code.  It's existing software doing
|bridging between two interfaces as it always did.

No, you are prohibited to add a 802.11 IBSS interface to a bridge.

OK, you can do it without warnings, but the 802.11 mechanisms will not
operate as they should. There are problems with address fields, the NIC
cannot send CTS or ACK to the sender, because the transmitter MAC address is
missing in the RTS or DATA MAC header.
You could disable RTS-CTS and send unicast frames until retry limit, but is
this the behavior that you suggest?


|> But that is no longer wifi.
|
|Well, it's two 802.11a/b interfaces, running as before.  I could put
|both interfaces in ad-hoc mode with iwconfig.  There's probably a
|misunderstanding between what the IEEE standard documents mean by
|"ad-hoc" and what iwconfig and related implementations mean by "ad-hoc"
|but I'm sure it works, by experience.

I am not aware with problems with iwconfig. It should configure the NIC in
IBSS mode. 


|Or I could set up both to act as access points, it's the same.  (the
|only visible difference  between AP mode and ad-hoc modes in
|implementation is the MAC address of the essid... in AP mode it's the
|real MAC address of the interface doing AP, in ad-hoc mode it's some
|random 48bit).  The resolution between this 48bit number and essid ascii
|name is done by 802.11 link-layer exchanges (probe req/reply IIRC).

There are lots of other differences between IBSS and BSS.

On (R1, R2, A):
What if A is STA and R1 and R2 are APs? Assume APs cannot communicate with
each other (no DS). Assume some kind of disaster.

One could deploy dense APs and a (to be standardized) form of mesh MANET
protocol. This could be disaster^2! 
(think of beacon-rain and probe-response-storms, and melt downs due to
collisions)


|> You could enable routing, and you are done!
|
|Why doing routing when I could do bridging, simpler, widely available
|software.

Try and you will see lots of shortcomings with bridging and 802.11 IBSS.
I am not saying it cannot be solved at a shim layer, but please accept this
is not supported by current wifi standards.

And provide evidence if I am wrong. I will ask errata on the IEEE 802
standards if you come up with it.


|> Play a little with it, and check your (false) assumptions.
|
|I'm not sure which assumption you think I made false?  The fact that I
|could build a bridge with brctl and two wifi interfaces?

I explained above your assumption is false. I analyzed your suggestions
before and my conclusion 802.1D bridging is indeed not allowed with 802.11
IBSS.


By the way, there is code around that improves 802.11 IBSS mode, so bridging
is allowed. Ask Ronald In't Velt for details. This could be very useful if
you want to connect a 802.11 IBSS bridge to a router (split devices) or just
connect a couple of hosts to an ad hoc bridge.


Teco.


_______________________________________________
Autoconf mailing list
Autoconf@ietf.org
https://www.ietf.org/mailman/listinfo/autoconf