23.03.2017 Views

wilamowski-b-m-irwin-j-d-industrial-communication-systems-2011

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

6LoWPAN: IP for Wireless Sensor Networks and Smart Cooperating Objects 51-9<br />

The mesh frame includes address information in addition to the MAC and PHY layers address information.<br />

This is required because in multi-hop network topologies, every forwarding node of a mesh frame has to<br />

adapt the source and destination addresses in the link layer. The overall originator address and the overall<br />

final destination address are given by the mesh frame address field and stay unchanged. Before transmitting,<br />

the forwarding node analyzes the mesh final destination address field to determine the overall<br />

destination. If the node itself is not the final destination, the Hops Left field is reduced. If the result is zero,<br />

the packet is discarded. Otherwise, the node invokes the link layer routing table to retrieve the next node<br />

toward the final destination. This address of the next hop is put into the link layer address field. The source<br />

address in the link layer is changed to the address of the current node and the packet is transmitted.<br />

The mesh frame type can be used by routing protocols to be developed in particular by the IETF<br />

ROLL working group. Later on (cf. Section 51.5.6), applicability of the mesh header and, thus, routing<br />

strategies of IP packets in 6LoWPAN networks are discussed.<br />

51.5.4 Broadcast and Multicast Address Mapping<br />

As IPv6 makes extensive use of multicast messaging, 6LoWPAN specifies an additional compressed<br />

multicast mapping as well. There are no multicast concepts defined in IEEE 802.15.4 natively. IPv6 multicasts<br />

must be carried by 802.15.4 link layer broadcast messages, if no routing on IP layer is available.<br />

The broadcast message includes a specific PAN-ID. Thus, the messages are forwarded by the routers to<br />

the PAN in question only. IEEE 802.15.4 defines 0xFFFF as 16 bit short address for broadcast messaging.<br />

In addition to this broadcast mapping of multicast messages, for mesh-enabled networks, support<br />

of further address transformations are possible. Like all IPv6 addresses, the multicast addresses have a<br />

size of 128 bit (16 octets). For 6LoWPAN messaging, these addresses are converted to 16 bit addresses<br />

to allow integration into the short address scheme of IEEE 802.15.4 (cf. Figure 51.7). Each of these 16 bit<br />

addresses starts with the predefined 3 bit preamble (100, should be common for all multicast addresses<br />

in 6LoWPANs), followed by the last 5 bits of the 15th octet of the IPv6 multicast address. The last 8 bits<br />

of the mapped address are copied from the 16th octet of the 128 bit address. The full specification of<br />

a multicast mesh routing algorithm is out of scope of the 6LoWPAN specification. Nevertheless, such<br />

a specification is a vital requirement to avoid flooding low-power WSNs with multicasts mapped on<br />

broadcasts (cf. broadcast storm) and will be focused in particular by the ROLL working group.<br />

51.5.5 Header Compression<br />

The transport-specific IPv6 addresses, which are used in 6LoWPAN networks, can be generated by the<br />

EUI-64 link layer identifier that is unique for every device. Hence, the additional addressing information<br />

in the IP layer are redundant. Thus, 6LoWPAN provides header compression schemes for address<br />

information and additional fields like length indications to avoid redundant data in the different layers.<br />

All header fields, which are already present in the 802.15.4 fields, are elided in further headers, which<br />

is a key design decision in 6LoWPAN. Basically, the header compression is applied without assuming<br />

context information for the payload or additional information about the frame (stateless header compression).<br />

A full compressed 6LoWPAN header compliant with RFC4944 has a size of only 2 octets in<br />

IPv6 128 bit<br />

Octet 1–14 Octet 15 Octet 16<br />

...<br />

Mapped 16 bit multicast<br />

1 0 0<br />

FIGURE 51.7<br />

Derive 16 bit short address for multicast addressing.<br />

© <strong>2011</strong> by Taylor and Francis Group, LLC

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!