Re: [6lowpan] Slight problem with format document

Mario Mao <mariomao@gmail.com> Thu, 18 January 2007 09:42 UTC

Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1H7Tn0-0001a6-EK; Thu, 18 Jan 2007 04:42:34 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1H7Tmy-0001Zy-CA for 6lowpan@lists.ietf.org; Thu, 18 Jan 2007 04:42:32 -0500
Received: from py-out-1112.google.com ([64.233.166.179]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1H7Tmw-00037Y-T8 for 6lowpan@lists.ietf.org; Thu, 18 Jan 2007 04:42:32 -0500
Received: by py-out-1112.google.com with SMTP id f31so66834pyh for <6lowpan@lists.ietf.org>; Thu, 18 Jan 2007 01:42:30 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:to:cc:references:subject:date:mime-version:content-type:content-transfer-encoding:x-priority:x-msmail-priority:x-mailer:x-mimeole:from; b=C9QSi9JOphQXtwaLBOq6EfvUpUHcPotaMzSyirr9GEHyDEGMbC0/2p9T5YzMXeJELrFib3MKSUPx483KKcd0yjoeP0gmsAySMYySCHvfGG8g2fKUd9MRK8Xr8WK5gKWoTAoyA7y59Q6ULCw9wFx8cU77E1zu/Ebihltoi12XUmA=
Received: by 10.35.134.19 with SMTP id l19mr1226143pyn.1169113350231; Thu, 18 Jan 2007 01:42:30 -0800 (PST)
Received: from Maoer ( [211.144.102.58]) by mx.google.com with ESMTP id 38sm498038nzf.2007.01.18.01.42.23; Thu, 18 Jan 2007 01:42:29 -0800 (PST)
Message-ID: <003301c73ae5$46b4e310$7fc0a8c0@netlab.cs.ecnu.edu.cn>
To: Daniel Park <soohongp@gmail.com>
References: <20070118070728.17982.qmail@web81914.mail.mud.yahoo.com> <001b01c73ad5$7585da60$7fc0a8c0@netlab.cs.ecnu.edu.cn> <f7c7d76e0701180005t4c9de465jf37fe7bcadab6098@mail.gmail.com>
Subject: Re: [6lowpan] Slight problem with format document
Date: Thu, 18 Jan 2007 17:44:27 +0800
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1807
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1896
From: Mario Mao <mariomao@gmail.com>
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 2086112c730e13d5955355df27e3074b
Cc: 6lowpan <6lowpan@lists.ietf.org>
X-BeenThere: 6lowpan@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Working group discussion for IPv6 over LowPan networks <6lowpan.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/6lowpan>, <mailto:6lowpan-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/6lowpan>
List-Post: <mailto:6lowpan@ietf.org>
List-Help: <mailto:6lowpan-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/6lowpan>, <mailto:6lowpan-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0672984389=="
Errors-To: 6lowpan-bounces@ietf.org

To Daniel:

Thanks for you tips.

However, I believe the compression issue is not just for implementation. Thinking about the reason why we need to build IPv6 upper  lowpan node, there is high possibility of global scope cummnication. In this scenario, and considering the format defination, the class [1] and [4] could appear at the same time.

For example, one remote controll center want to access an lowpan node, they would use IPv6 global address to communicate. When the IP packet reach to 6lowpan gateway, this routing node would redeliever it to the internal lowpan node. Now, the adaptation layer of the gateway should use class [1] and [4] for destination address compression and class [1] and [3] for source address. That's also the scenario of my assumption [1].

Is it better to clarify all possible situation? 

To Gabriel:

I think the tiny literal change would work, thanks. 

Regards,

Mario

----- Original Message ----- 
From: "Daniel Park" <soohongp@gmail.com>
To: "Mario Mao" <mariomao@gmail.com>
Cc: "gabriel montenegro" <gabriel_montenegro_2000@yahoo.com>; "Geoff Mulligan" <geoff@mulligan.com>; "6lowpan" <6lowpan@lists.ietf.org>
Sent: Thursday, January 18, 2007 4:05 PM
Subject: Re: [6lowpan] Slight problem with format document


> It seems a bit implementation issue. Our format document defines four classes:
> 
> [1] Prefix In-line IID In-line
> [2] Prefix In-line IID compressed
> [3] Prefix compressed IID In-line
> [4] Prefix compressed IID compressed
> 
> Most assumtion in our scenario as of today is [4]. It means IPv6
> source and destination belong to link-local scope. In your assumtion,
> perhaps, [1] and [2] are appropriate. In that sense, 6lowpan
> adoptation layer seems not meaningful. Also, 6lowpan header
> compression is only applied for 802.15.4 link due to the tiny
> bandwidth.
> 
> Daniel
> 
> On 1/18/07, Mario Mao <mariomao@gmail.com> wrote:
> >
> > I agree with gabriel, there is no interference between header compression
> > and ICMP. However, I believe two points should be noted which may cause
> > information loss.
> >
> > 1. If the processing node is lowpan gateway/router and the sent packet comes
> > from Internet but not originates by the gateway/router itself, the IID of IP
> > source address shouldn't be compressed.
> > 2. If the IP destination isn't an "on-link" node (that means the destination
> > is more than one hop away from source node), the IID of IP destination
> > address shouldn't be compressed.
> >
> > In a word, 6lowpan node could only compress the IID that derives from IEEE
> > 802.15.4 MAC address. I think that point should be emphasized in draft,
> > isn't it?
> >
> > Regards,
> >
> > Mario
> >
> >
> > ----- Original Message -----
> > From: gabriel montenegro
> > To: Geoff Mulligan ; 6lowpan
> > Sent: Thursday, January 18, 2007 3:07 PM
> > Subject: Re: [6lowpan] Slight problem with format document
> >
> >
> > Is this even necessary to be said? ICMP msgs will never be sent by
> > intermediate nodes
> > in a lowpan mesh, but only by the IPv6 end nodes as part of normal IPv6
> > processing.
> > This processing takes place after the lowpan layer delivers packets to the
> > IPv6 stack. So by the time the IPv6 stack gets the packet, it will have been
> > decompressed. This is the same for lowpan header compression or any other
> > type
> > of header compression.
> >
> > So I wonder if the text below is needed. It would be needed if the entity
> > sending
> > back ICMP messages was the lowpan layer. Yes, it would see compressed
> > headers.
> > But the entity is the IPv6 stack, which does not see those compressed
> > headers.
> >
> > Comments? Am I missing something?
> >
> > -gabriel
> >
> > ----- Original Message ----
> > From: Geoff Mulligan <geoff@mulligan.com>
> > To: 6lowpan <6lowpan@lists.ietf.org>
> > Sent: Wednesday, January 17, 2007 10:36:52 PM
> > Subject: [6lowpan] Slight problem with format document
> >
> > While reviewing the format document I realized that we didn't describe
> > handling of ICMPv6 error messages.  Since the 6lowpan headers may be
> > compressed it is necessary to uncompress the original IP and transport
> > headers before sending the ICMP error message.
> >
> > Here is my proposed text for a new section 12...
> >
> > 12. Handling ICMPv6 messages
> >
> > ICMPv6 (RFC2463) is used to report errors and carry IP layer information
> > and functions such as diagnostics.  There are two groups of ICMPv6
> > messages: error messages and informational messages. Each message
> > consists of a type field (if the high order bit is 0 it is an error
> > message), a code and checksum field.  These fields are followed by the
> > ICMPv6 message body.  For ICMPv6 error messages (Type <128) the message
> > body shall contain as much of the original (offending) IP message
> > without exceeded the minimum IPv6 MTU.
> >
> > As described in the preceding section (Header Compression), the original
> > IPv6 and Transport (TCP or UDP) headers may be compressed via HC1 and
> > HC2 encoding.  So that the destination node of an ICMPv6 error message
> > can properly process the message the source node must decompress the
> > IPv6 and transport headers before sending the ICMPv6 message.  This is
> > necessary because the original MAC addresses and the HC1 and HC2
> > encoding headers will be lost and the recipient would have no ability to
> > reconstruct the original message nor compute the proper checksum.
> >
> > The ICMPv6 message itself is carried inside and IPv6 packet and this
> > packet may be transmitted over the 6LoWPAN network utilizing header
> > compression.  ICMPv6 messages that are larger than the available payload
> > of the 6LoWPAN network will need to be fragmented. Assuming the maximum
> > frame overhead, maximum link layer security and including a 6LoWPAN Mesh
> > Header, Fragmentation Header and Dispatch Header, sending the
> > uncompressed IPv6 and transport headers should still allow for 25 octets
> > of the original packet payload.  Packets using short addresses, no
> > security, and just a 6LoWPAN Dispatch header will be able to carry 61
> > octets of the original packet.
> >
> >
> >
> >
> > _______________________________________________
> > 6lowpan mailing list
> > 6lowpan@ietf.org
> > https://www1.ietf.org/mailman/listinfo/6lowpan
> >
> >
> >
> > ________________________________
> >
> >
> > _______________________________________________
> > 6lowpan mailing list
> > 6lowpan@ietf.org
> > https://www1.ietf.org/mailman/listinfo/6lowpan
> >
> >
> >
> > _______________________________________________
> > 6lowpan mailing list
> > 6lowpan@ietf.org
> > https://www1.ietf.org/mailman/listinfo/6lowpan
> >
> >
> >
> 
> 
> -- 
> 
> 
> Daniel (Soohong Daniel Park)
> Mobile Convergence Laboratory, SAMSUNG Electronics.
_______________________________________________
6lowpan mailing list
6lowpan@ietf.org
https://www1.ietf.org/mailman/listinfo/6lowpan