Re: [6lowpan] Whiteboards
Alexandru Petrescu <alexandru.petrescu@gmail.com> Thu, 17 December 2009 22:27 UTC
Return-Path: <alexandru.petrescu@gmail.com>
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 B3BB53A6857 for <6lowpan@core3.amsl.com>; Thu, 17 Dec 2009 14:27:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.747
X-Spam-Level:
X-Spam-Status: No, score=-1.747 tagged_above=-999 required=5 tests=[AWL=0.502, BAYES_00=-2.599, HELO_EQ_FR=0.35]
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 r2zmuA0Btf9j for <6lowpan@core3.amsl.com>; Thu, 17 Dec 2009 14:27:53 -0800 (PST)
Received: from smtp5-g21.free.fr (smtp5-g21.free.fr [212.27.42.5]) by core3.amsl.com (Postfix) with ESMTP id CB3F63A68EC for <6lowpan@ietf.org>; Thu, 17 Dec 2009 14:27:51 -0800 (PST)
Received: from smtp5-g21.free.fr (localhost [127.0.0.1]) by smtp5-g21.free.fr (Postfix) with ESMTP id 32248D48136; Thu, 17 Dec 2009 23:27:31 +0100 (CET)
Received: from [127.0.0.1] (bur91-3-82-239-213-32.fbx.proxad.net [82.239.213.32]) by smtp5-g21.free.fr (Postfix) with ESMTP id D1282D48037; Thu, 17 Dec 2009 23:27:28 +0100 (CET)
Message-ID: <4B2AB04B.2060807@gmail.com>
Date: Thu, 17 Dec 2009 23:27:23 +0100
From: Alexandru Petrescu <alexandru.petrescu@gmail.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Colin O'Flynn <coflynn@newae.com>
References: <4B0F9D66.2020706@jennic.com> <4B294D7A.1040801@gmail.com> <010601ca7eaa$5df9ea00$19edbe00$@com> <4B2A7B3F.4070609@gmail.com> <001e01ca7f50$db358730$91a09590$@com>
In-Reply-To: <001e01ca7f50$db358730$91a09590$@com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Antivirus: avast! (VPS 091217-0, 17/12/2009), Outbound message
X-Antivirus-Status: Clean
Cc: 6lowpan@ietf.org, daniel.gavelle@jennic.com
Subject: Re: [6lowpan] Whiteboards
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/mail-archive/web/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>
X-List-Received-Date: Thu, 17 Dec 2009 22:27:55 -0000
Colin O'Flynn a écrit : > Hello, > >> What would it be used for and how? > > The initial version of 6lowpan-nd added this idea in. See > http://tools.ietf.org/html/draft-hui-6lowpan-nd-00 > >> You mean the "EUI-64 Identifier"? (it's not an address, >> it's an >> identifier). Is there such a thing as a 64bit MAC > > The 802.15.4 Address (aka: MAC address) is guaranteed to be unique by IEEE > 802.15.4-2006, at least everywhere within the PAN. > > Nodes can use either 64-bit or 16-bit addressing. Ok, and these are their MAC addresses. > When nodes power up they > are preprogrammed with a 64-bit IEEE MAC address they use to communicate. > They then may be assigned a shorter 16-bit address, which they can use to > save some bytes. Ok - for this assignment, I don't think ND nor DHCP is necessary. Let other MAC-based mechanism assign MAC addresses. > However the 64-bit address still remains valid, and the > node can be addresses by it. Well this is wonderful. It's a great help for forming IP addresses and ensure their uniqueness on the link and further. > Nor do you need to do this 16-bit addressing. You can keep just using 64-bit > addressing and skip assigning 16-bit addresses. > > The idea is almost very node in the world could be programmed with a > different 64-bit MAC address. Hence you could bring two nodes together and > be sure there was no address collision. But with 16-bit MAC addressing you > are much more likely to get a collision, hence why the 16-bit addresses are > assigned dynamically by the network. WEll, I agree, but who is the network who assigns these 16-bit addresses? I guess it is a MAC-based mechanism(?) I don't think IP mechanisms are needed to assign 16-bit MAC addresses. I mean I have never seen an IP-based mechanism which assigns MAC addresses to nodes. The closest I could think of is PPPv6, but that is "negotiation" of an Interface ID, and not assignment of an IP address. PPP negotiates an Interface ID, and then each node self-forms an IPv6 address from that IID. The IPv6 address is not delivered to the end node by some server. > The network assures no two nodes are > assigned the same 16-bit address. Do you call "network" some MAC-based and MAC-specific mechanism? I call network an IP network. BEcause a network covers several types of MACs whereas the "network" term used above seems to be a 802.15.4-only weave of threads, if I can say so. > >> Sounds as forming an IPv6 link-local address in order to >> do DHCP dance >> prior to obtain a global IPv6 address. > > Basically yes! The node has to do this anyway, as a node using 6LoWPAN will > bring up minimum of two valid unicast addresses: > > Link-local based on 64-bit 802.15.4 Address > Global based on 64-bit 802.15.4 Address > > If the node can use short addressing, you add two more: > > Link-local based on 16-bit 802.15.4 Address > Global based on 16-bit 802.15.4 Address > >> Sorry can't follow this. Which prefix? Which PAN-ID? > > I mean when the node joins a network, it knows that network's PAN-ID. I suspect we have a terminology issue on the use of the term network... > Let's > say it's running on 0xBAAD. From the RS/RA it also knows the prefix, or > maybe even DHCP tells the node. Ok, only the RA tells the prefix, DHCP doesn't, not currently. > Say it's dead:beef:cafe:0::/64 . Hence if > the node is assigned the following address: > > Dead:Beef:cafe:0:b8ad:00ff:fe00:0005 > > > The node can derive that that address becomes 6LoWPAN compressible if it has > the 802.15.4 short address '5'. Sorry, which address becomes compressible? The IPv6 address? Or the MAC address? I am very reluctant to accept that an IP address is compressible. Compress it and you no longer talk to anyone on the Internet. DO you care connecting this to the Internet? Could I ping a 6lowpan node without relying on converting various addresses? The dumb network? Can I traceroute through a 6lowpan please (increasing packet size, getting ICMP errors, etc.)? Or will I see a 6lowpan subnet as some completely invisible network, no traceroute, not Path MTU discovery, no reuse of routing protocols, all within one single hop... >> Do IP nodes care whether their MAC address (the short MAC address >> included) is unique? > > Well they have to be, as specified by IEEE 802.15.4. Well, up to now, I haven't seen anywhere IP to care or to try to make some MAC address unique... If 802.15.4 wants their MAC addresses unique, then let 802.15.4 define uniqueness mechanisms for MAC addresses. All IP can do is - at most - signal to the user that some MAC address is _probably_ (not even sure) not unique... and refuse to configure an IP address based on it. But IP can't try to form a unique _MAC_ address. > How you decide they are > unique is part of the discussion. I think IP shouldn't ever decide whether some MAC address is unique or not. It could signal this to an operator, some risk of collision. But it shouldn't make strong statements about uniqueness of some MAC addresses. Simply it can't know and that is good. Keep layers separated. > Sure you could run a full 802.15.4 MAC, > followed by a full 6LoWPAN layer, followed by a full IPv6 stack. It would > work and make a nice block diagram for a paper. Hmm... I sense the ironic referral to diagram on paper. But I think more of the interface between ip6_output, dev_xmit and ndev_t struct... it's there it stays there don't change it. > But you'd be wasting tons of code space and transmission time. Hmm... or you could try to cross between layers... danger danger danger... many times danger.... don't do that... it's a slippery slope, people have tried it (cross-layer designs, link-layer indicators for fast handovers, more), it's a rathole, what else can I say... >> 6LoWPAN deal with - is it IP? Is it MAC? > > Both isn't it? I mean I think the whole point is that you need to 'break' > the nice clean divisions between layers when it comes to constrained > devices. After all: > "Transmission of IPv6 Packets over IEEE 802.15.4 Networks" Right. I am not sure DHCP mechanism assigning a MAC address should be part of this. Sorry, my statements may read too strong, and I may need to read more than write... but the compressible IP addresses make not much sense to me, sorry. Yours, Alex > > Regards, > > -Colin > > > -----Original Message----- > From: Alexandru Petrescu [mailto:alexandru.petrescu@gmail.com] > Sent: December 17, 2009 6:41 PM > To: Colin O'Flynn > Cc: 'Alexandru Petrescu'; daniel.gavelle@jennic.com; 6lowpan@ietf.org > Subject: Re: [6lowpan] Whiteboards > > Colin O'Flynn a écrit : >> Hello, >> >>> Excuse me, sorry, but are the other non-16bit addresses (48bit) >>> ever assigned by DHCP? >> There's at least two options I know of for this: >> >> #1 Add another 6lowpan-nd specific extension to DHCPv6 to add a >> simple link-layer address option > > Hmm... makes some sense, what would it look like? (rfc4944 defines such > an option for ND). > > What would it be used for and how? > >> #2 Nodes could assign their own short addresses. Nodes power on and >> autoconfigure a IPv6 address based on the 64-bit MAC address. > > You mean the "EUI-64 Identifier"? (it's not an address, it's an > identifier). Is there such a thing as a 64bit MAC address? > >> With this they then do the DHCP dance, and get another address. > > Sounds as forming an IPv6 link-local address in order to do DHCP dance > prior to obtain a global IPv6 address. (yes, in IPv4 one could say that > the node uses its MAC address while doing the DHCP initial dance and the > unspecified IPv4 address 0.0.0.0, but in IPv6 the unspecified addresses > (search " :: " in rfc3315) are not used DHCPv6 in the initial DHCPv6 > dance, but the link-local addresses are). > > Forming an IPv6 link-local address based on the 16bit short MAC address > - ok, using on RFC4944. And then do DAD on this IPv6 link-local > address, because the EUI-64 identifier based on the 16bit short MAC > address is not guaranteed global, has that g bit unset. > >> Nodes check if this address can be used to assign their own short >> address. > > Yes, usually they do DAD to make sure their IPv6 link-local address is > unique within that link. > > But don't rely on the IP address uniqueness to conclude that the MAC > address corresponding to that IP address is unique. > >> Aka: the IPv6 address it assigns matches the prefix, the PAN-ID, etc. >> > Sorry can't follow this. Which prefix? Which PAN-ID? > >> Thus nodes 'figure out' if a certain short address will make their >> IPv6 address compressible. > > Do IP nodes care whether their MAC address (the short MAC address > included) is unique? I don't think so. I think IP nodes care only > whether their IP address is unique. > > Also, it is completely unclear to me what kind of layer does 6LoWPAN > deal with - is it IP? Is it MAC? > > Alex > > >> Regards, >> >> -Colin >> >> >> >> -----Original Message----- From: 6lowpan-bounces@ietf.org >> [mailto:6lowpan-bounces@ietf.org] On Behalf Of Alexandru Petrescu >> Sent: December 16, 2009 9:14 PM To: daniel.gavelle@jennic.com Cc: >> 6lowpan@ietf.org Subject: Re: [6lowpan] Whiteboards >> >> Daniel Gavelle a écrit : >>> I agree with the recent proposal to remove the mandatory >>> requirement for a whiteboard and duplicate address detection. >>> >>> However, 16 bit 802.15.4 addresses are a very useful optimisation. >>> Assigning these in a standard way is important in the absence of a >>> whiteboard. One option may be to use DHCPv6. However, the DHCPv6 >>> packet sizes are quite large and so some sort of DHCPv6 message >>> compression would be useful. Extended LowPANs would also be useful >>> in some applications. >>> >>> If the whiteboard and DAD are removed, I would like the issues of >>> 16 bit address assignment and extended LowPANs >> Excuse me, sorry, but are the other non-16bit addresses (48bit) ever >> assigned by DHCP? >> >> I doubt IETF could spec a means to assign MAC addresses... >> >> Thanks, >> >> Alex >> >> >> to still be addressed by an RFC >>> within the IETF 6LowPAN group, rather than having several different >>> non interoperable implementations. >>> >>> >> _______________________________________________ 6lowpan mailing list >> 6lowpan@ietf.org https://www.ietf.org/mailman/listinfo/6lowpan >> >> > > > >
- [6lowpan] Whiteboards Daniel Gavelle
- Re: [6lowpan] Whiteboards Carles Gomez Montenegro
- Re: [6lowpan] Whiteboards Carsten Bormann
- Re: [6lowpan] Whiteboards Zach Shelby
- Re: [6lowpan] Whiteboards Alexandru Petrescu
- Re: [6lowpan] Whiteboards Colin O'Flynn
- Re: [6lowpan] Whiteboards Alexandru Petrescu
- Re: [6lowpan] Whiteboards Colin O'Flynn
- Re: [6lowpan] Whiteboards Alexandru Petrescu