Re: [6lowpan] Compressing HC1 and HC2 into HC3
Jonathan Hui <jhui@archrock.com> Wed, 05 March 2008 07:59 UTC
Return-Path: <6lowpan-bounces@ietf.org>
X-Original-To: ietfarch-6lowpan-archive@core3.amsl.com
Delivered-To: ietfarch-6lowpan-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 799023A6C01; Tue, 4 Mar 2008 23:59:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.431
X-Spam-Level:
X-Spam-Status: No, score=-0.431 tagged_above=-999 required=5 tests=[AWL=-0.594, BAYES_00=-2.599, FH_RELAY_NODNS=1.451, HELO_MISMATCH_ORG=0.611, J_CHICKENPOX_21=0.6, RDNS_NONE=0.1]
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 mi96dYA0bs6o; Tue, 4 Mar 2008 23:59:26 -0800 (PST)
Received: from core3.amsl.com (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 77BA43A6DF5; Tue, 4 Mar 2008 23:59:26 -0800 (PST)
X-Original-To: 6lowpan@core3.amsl.com
Delivered-To: 6lowpan@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DCB7E3A6BAA for <6lowpan@core3.amsl.com>; Tue, 4 Mar 2008 23:59:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
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 B2o+EiVTLtnU for <6lowpan@core3.amsl.com>; Tue, 4 Mar 2008 23:59:24 -0800 (PST)
Received: from mail.sf.archrock.com (mail.sf.archrock.com [64.147.171.179]) by core3.amsl.com (Postfix) with ESMTP id 0475A3A6C01 for <6lowpan@ietf.org>; Tue, 4 Mar 2008 23:59:24 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.sf.archrock.com (Postfix) with ESMTP id 6BAFDA9347; Tue, 4 Mar 2008 23:59:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at
Received: from mail.sf.archrock.com ([127.0.0.1]) by localhost (mail.sf.archrock.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xTOOS-tFa+Cc; Tue, 4 Mar 2008 23:59:07 -0800 (PST)
Received: from [192.168.1.104] (adsl-71-142-65-177.dsl.pltn13.pacbell.net [71.142.65.177]) by mail.sf.archrock.com (Postfix) with ESMTP id 5BE9BA9345; Tue, 4 Mar 2008 23:59:07 -0800 (PST)
Message-ID: <47CE52C7.2060103@archrock.com>
Date: Tue, 04 Mar 2008 23:59:03 -0800
From: Jonathan Hui <jhui@archrock.com>
User-Agent: Thunderbird 2.0.0.12 (Windows/20080213)
MIME-Version: 1.0
To: "Pascal Thubert (pthubert)" <pthubert@cisco.com>
References: <7892795E1A87F04CADFCCF41FADD00FC054832F7@xmb-ams-337.emea.cisco.com>
In-Reply-To: <7892795E1A87F04CADFCCF41FADD00FC054832F7@xmb-ams-337.emea.cisco.com>
Cc: enns@stanfordalumni.org, 6lowpan <6lowpan@ietf.org>, Jay Werb <jwerb07@sensicast.com>
Subject: Re: [6lowpan] Compressing HC1 and HC2 into HC3
X-BeenThere: 6lowpan@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Working group discussion for IPv6 over LowPan networks <6lowpan.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/6lowpan>, <mailto:6lowpan-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/6lowpan>
List-Post: <mailto:6lowpan@ietf.org>
List-Help: <mailto:6lowpan-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/6lowpan>, <mailto:6lowpan-request@ietf.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: 6lowpan-bounces@ietf.org
Errors-To: 6lowpan-bounces@ietf.org
In your draft, you claim that 6LoWPAN nodes address each other and the backbone router using link-local addresses. If that occurs over multiple radio hops, that sounds like mesh under to me... In other words, you are assuming that an entire PAN functions as a single IP link (the IPv6 definition of a link). Am I missing something here? -- Jonathan Hui Pascal Thubert (pthubert) wrote: > Hi Jonathan: > > You are assuming explicitly that I am assuming implicitly... mesh > under... Hum. > > Please have a look at > http://www.ietf.org/internet-drafts/draft-thubert-lowpan-backbone-router > -00.txt and it should be apparent that I'm not. In particular the > backbone router is the device that will set and use the hop limit bit. > So will all those interconnecting devices used in pseudowire, split > bridges, IP Mobility, etc... if they are deployed in this space. > > What I'm really assuming is a gateway or an edge server on the link. > It's there in most architectures that I know of at this point that's why > I included it in the case we shoot for and saved 2 bits. Note that when > the ULA and global addresses are used on top of link local, it makes > sense that we define a mechanism to compress them as well. But this is > not what HC3 is about. > > The goal of my initial proposal is illustrative, to foster this very > discussion around the idea that we can shoot for a favorite case and > make an HC3 out of HC1 and HC2 for that case. Now, if we as a group > think that the GW assumption is not reasonable, then, fine, let us > affect 2 bits in HC3 to indicate whether the addresses are compressed. > > What do the others think? > > Pascal >> -----Original Message----- >> From: Jonathan Hui [mailto:jhui@archrock.com] >> Sent: mardi 4 mars 2008 18:05 >> To: Pascal Thubert (pthubert) >> Cc: 6lowpan; enns@stanfordalumni.org; Jay Werb >> Subject: Re: [6lowpan] Compressing HC1 and HC2 into HC3 >> >> >> Hi Pascal, >> >> Thanks for sharing your thoughts. >> >> By assuming the first 5 bits in HC1 are '1', you're staking a claim > that >> mesh-under link-local communication within a PAN is going to be most >> common case and the one we've "shot for". If link-local is all we focus >> on, then we are missing the point of IP. Frankly, I don't see much >> benefit of IP if communication is limited to the PAN. >> >> W.r.t mesh-under, there are efforts within the IETF that assume 6LoWPAN >> nodes will communicate via route-over using routable addresses (e.g. >> ROLL). This brings us back to a broader topic of route-under vs. >> mesh-under. While both will probably exist for some time, it raises the >> question of whether 6LoWPAN implementations can support one or do they >> have to support both. >> >> W.r.t compressing Hop Limit, I don't quite understand why you're using > a >> bit in HC3 to indicate where the message originated. If you're assuming >> link-local communication, then messages shouldn't be forwarded across >> links anyway. >> >> I do agree that there is work to do on compression and agree that there >> are cases where HC1 and HC2 are not sufficient. This is why I've been >> working, albeit slowly, on HC1g. >> >> -- >> Jonathan Hui >> >> >> Pascal Thubert (pthubert) wrote: >>> Dear 6LoWPANers, >>> >>> Though HC1 and HC2 provide us with the capability to express any >>> combination of compression, the most expected (or at least shot for) >>> case does not lead to a better compression of the HC headers > themselves. >>> Seems that we could define an HC3 that would compress the pair of HC1 >>> and HC2 for that best case. My proposal for doing this would be to: >>> >>> - define a new dispatch >>> | 01 000011 | LOWPAN_HC3 - LOWPAN_HC3 compressed IPv6 and >>> transport >>> >>> - define HC3 itself to: >>> >>> - implicitly say that the first 5 bits of HC1 are all ones >>> - carry HC1 bits 5 and 6 (Next Header) >>> - replace HC2 so bit 7 of HC1 is useless >>> - provide transport specific bits such as those defined for >>> HC-UDP, >>> then again assuming a predefined best case if room is missing >>> >>> An example of what the HC3 octet could be: >>> >>> bits 0 1 2-3 >>> 4-7 >>> >>> > +------------------+-------------+-----------------+-------------------- >>> ---------------------+ >>> | reserved | reserved | Next Header | > transport >>> specific control bits | >>> >>> > +------------------+-------------+-----------------+-------------------- >>> ---------------------+ >>> >>> Next header: as defined in HC1, bits 5 and 6 >>> >>> transport specific control bits for UDP: >>> bit 4 echoes HC-UDP bit 0 on UDP source port >>> bit 5 echoes HC-UDP bit 1 on UDP destination port >>> bit 6 echoes HC-UDP bit 2 on UDP length >>> bit 7 is reserved >>> >>> What do you think? >>> >>> Pascal >>> _______________________________________________ >>> 6lowpan mailing list >>> 6lowpan@ietf.org >>> https://www.ietf.org/mailman/listinfo/6lowpan _______________________________________________ 6lowpan mailing list 6lowpan@ietf.org https://www.ietf.org/mailman/listinfo/6lowpan
- Re: [6lowpan] Compressing HC1 and HC2 into HC3 Jonathan Hui
- [6lowpan] Compressing HC1 and HC2 into HC3 Pascal Thubert (pthubert)
- Re: [6lowpan] Compressing HC1 and HC2 into HC3 Jonathan Hui
- Re: [6lowpan] Compressing HC1 and HC2 into HC3 Pascal Thubert (pthubert)
- Re: [6lowpan] Compressing HC1 and HC2 into HC3 Jonathan Hui
- Re: [6lowpan] Compressing HC1 and HC2 into HC3 Jonathan Hui
- [6lowpan] Mesh Under vs. ND proxy (was: Compressi… Pascal Thubert (pthubert)
- Re: [6lowpan] Compressing HC1 and HC2 into HC3 Pascal Thubert (pthubert)
- Re: [6lowpan] Compressing HC1 and HC2 into HC3 Zach Shelby
- [6lowpan] The ISA backbone router (was: Compressi… Pascal Thubert (pthubert)
- Re: [6lowpan] Compressing HC1 and HC2 into HC3 Pascal Thubert (pthubert)
- Re: [6lowpan] Mesh Under vs. ND proxy Jonathan Hui
- Re: [6lowpan] Compressing HC1 and HC2 into HC3 Jonathan Hui
- Re: [6lowpan] Compressing HC1 and HC2 into HC3 Jonathan Hui
- Re: [6lowpan] Mesh Under vs. ND proxy Pascal Thubert (pthubert)
- Re: [6lowpan] Compressing HC1 and HC2 into HC3 Pascal Thubert (pthubert)
- Re: [6lowpan] Compressing HC1 and HC2 into HC3 Jonathan Hui
- Re: [6lowpan] Compressing HC1 and HC2 into HC3 Zach Shelby
- Re: [6lowpan] Compressing HC1 and HC2 into HC3 Jonathan Hui
- Re: [6lowpan] Compressing HC1 and HC2 into HC3 Pascal Thubert (pthubert)
- Re: [6lowpan] Compressing HC1 and HC2 into HC3 Jonathan Hui
- Re: [6lowpan] Compressing HC1 and HC2 into HC3 Pascal Thubert (pthubert)
- Re: [6lowpan] Compressing HC1 and HC2 into HC3 Jonathan Hui
- Re: [6lowpan] Compressing HC1 and HC2 into HC3 Pascal Thubert (pthubert)
- Re: [6lowpan] Compressing HC1 and HC2 into HC3 Jonathan Hui
- Re: [6lowpan] Compressing HC1 and HC2 into HC3 Pascal Thubert (pthubert)
- Re: [6lowpan] Compressing HC1 and HC2 into HC3 Pascal Thubert (pthubert)
- Re: [6lowpan] Compressing HC1 and HC2 into HC3 Jonathan Hui