+ All Categories
Home > Documents > Route-Over Forwarding Techniques in a 6LoWPAN...Mesh routing (Mesh under) ability Route-over The...

Route-Over Forwarding Techniques in a 6LoWPAN...Mesh routing (Mesh under) ability Route-over The...

Date post: 25-Sep-2020
Category:
Upload: others
View: 5 times
Download: 0 times
Share this document with a friend
24
Route-Over Forwarding Techniques in a 6LoWPAN Andreas Weigel, Martin Ringwelski , Volker Turau, Andreas Timm-Giel MONAMI September 24 th , 2013 TUHH TUHH Institutes of Telematics and of Communication Networks Institutes of Telematics and of Communication Networks Hamburg University of Technology Hamburg University of Technology
Transcript
Page 1: Route-Over Forwarding Techniques in a 6LoWPAN...Mesh routing (Mesh under) ability Route-over The base specification document is RFC 4944 Martin Ringwelski et al. Route-Over Forwarding

Route-Over Forwarding Techniques in a6LoWPAN

Andreas Weigel, Martin Ringwelski, Volker Turau, Andreas Timm-Giel

MONAMISeptember 24th, 2013

TUHHTUHHInstitutes of Telematics and of Communication NetworksInstitutes of Telematics and of Communication NetworksHamburg University of TechnologyHamburg University of Technology

Page 2: Route-Over Forwarding Techniques in a 6LoWPAN...Mesh routing (Mesh under) ability Route-over The base specification document is RFC 4944 Martin Ringwelski et al. Route-Over Forwarding

IntroductionIntroduction

IPv6 over low power WPAN (6LoWPAN)

Vision: Internet of ThingsEvery device should have its own IP address and should be directlyaccessible through the Internet.

� IPv6 supports approximately 3.4 · 1038 addresses, but:� 802.15.4 supports frames up to 127 byte� IPv6 requires a MTU of at least 1280 byte!

� Solution for using IPv6 on 802.15.4 is 6LoWPAN:� Intermediate layer for header compression,� Packet fragmentation and� Mesh routing (Mesh under) ability

� Route-over

The base specification document is RFC 4944

Martin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPANMartin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPAN 22

Page 3: Route-Over Forwarding Techniques in a 6LoWPAN...Mesh routing (Mesh under) ability Route-over The base specification document is RFC 4944 Martin Ringwelski et al. Route-Over Forwarding

IntroductionIntroduction

IPv6 over low power WPAN (6LoWPAN)

Vision: Internet of ThingsEvery device should have its own IP address and should be directlyaccessible through the Internet.

� IPv6 supports approximately 3.4 · 1038 addresses, but:� 802.15.4 supports frames up to 127 byte� IPv6 requires a MTU of at least 1280 byte!

� Solution for using IPv6 on 802.15.4 is 6LoWPAN:� Intermediate layer for header compression,� Packet fragmentation and� Mesh routing (Mesh under) ability� Route-over

The base specification document is RFC 4944

Martin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPANMartin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPAN 22

Page 4: Route-Over Forwarding Techniques in a 6LoWPAN...Mesh routing (Mesh under) ability Route-over The base specification document is RFC 4944 Martin Ringwelski et al. Route-Over Forwarding

IntroductionIntroduction

Motivation

� Fragmentation can cause trouble!One lost fragment results in a lost datagram

� Big packets needed by:� Smart Metering� Firmware Updates� ...� If it is possible, people will use it

� Compare different forwarding techniques

� introduce enhancements

Martin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPANMartin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPAN 33

Page 5: Route-Over Forwarding Techniques in a 6LoWPAN...Mesh routing (Mesh under) ability Route-over The base specification document is RFC 4944 Martin Ringwelski et al. Route-Over Forwarding

IntroductionIntroduction

Motivation

� Fragmentation can cause trouble!One lost fragment results in a lost datagram

� Big packets needed by:� Smart Metering� Firmware Updates� ...� If it is possible, people will use it

� Compare different forwarding techniques

� introduce enhancements

Martin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPANMartin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPAN 33

Page 6: Route-Over Forwarding Techniques in a 6LoWPAN...Mesh routing (Mesh under) ability Route-over The base specification document is RFC 4944 Martin Ringwelski et al. Route-Over Forwarding

Forwarding TechniquesForwarding Techniques

Route-Over Forwarding Strategies

Assembly:� On each hop: Wait for every fragment

� Reassemble datagram and send to IP Layer

� IP Layer sends datagram back to 6LoWPAN

� 6LoWPAN recreates fragments

Direct:� On each hop: Look into the first fragment

� If not for this node lookup route

� Directly send to next Hop

� Safe routing information for next fragment

Martin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPANMartin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPAN 44

Page 7: Route-Over Forwarding Techniques in a 6LoWPAN...Mesh routing (Mesh under) ability Route-over The base specification document is RFC 4944 Martin Ringwelski et al. Route-Over Forwarding

Forwarding TechniquesForwarding Techniques

Problems

Assembly:

� Needs a big bufferA node needs a buffer for every incoming datagram

� Does not allow pipelining

Direct:

� Can lead to heavy lossesA node tries to forward a frame while the next is being send

Martin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPANMartin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPAN 55

Page 8: Route-Over Forwarding Techniques in a 6LoWPAN...Mesh routing (Mesh under) ability Route-over The base specification document is RFC 4944 Martin Ringwelski et al. Route-Over Forwarding

Forwarding TechniquesForwarding Techniques

Enhanced Modes

Direct-RR:� sending rate of the queue is restricted

� Inter frame delay (between 15 and 21 ms)

Direct-ARR:� Similar to Direct-RR

� Adaptive delay (EWMA filter on last delay)

Retry Control:� Progress-based Retry Control (PRC)

� Later Fragments of a datagram get increased number of maximum retries

Martin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPANMartin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPAN 66

Page 9: Route-Over Forwarding Techniques in a 6LoWPAN...Mesh routing (Mesh under) ability Route-over The base specification document is RFC 4944 Martin Ringwelski et al. Route-Over Forwarding

MethodologyMethodology

CometOS

� A Component-based, extensible, tiny Operating System forwireless sensor networks

� Developed at the Institute of Telematics (TUHH)

� Code written in C++

� One implementation for OMNeT++ and hardware

� Own implementation of the 6LoWPAN stack

Martin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPANMartin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPAN 77

Page 10: Route-Over Forwarding Techniques in a 6LoWPAN...Mesh routing (Mesh under) ability Route-over The base specification document is RFC 4944 Martin Ringwelski et al. Route-Over Forwarding

MethodologyMethodology

Topologies

0 1 2 3 4 5 6 7 8 9

Chain-Network

0 1

100200

300

400

500600

700

101

201

301

401

501

601

701

Star-Network

0 1 7

100

200

101

202

107

207

LongY-Network

0 21FD 21FE

21FC

21FF

2201

2204

2205

2214

2217

2203

2219

2206

221A

RealSim

Edges represent static routes, the dark gray node is the sink.

Martin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPANMartin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPAN 88

Page 11: Route-Over Forwarding Techniques in a 6LoWPAN...Mesh routing (Mesh under) ability Route-over The base specification document is RFC 4944 Martin Ringwelski et al. Route-Over Forwarding

MethodologyMethodology

Settings

� Static Routing

� All implementations use same amount of RAM

� Perfect Links in the Chain- and Star-Network

� UDP Packets

� Sending Rate for each Node: 37.5 Bytes

� Simulation:� payload [Byte] = 50, 100, 200, 400, 800, 1200� 2000 Packets, 5 runs

� Testbed:� 48 000 Bytes in� payload [Byte] = 100, 400, 1200

Martin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPANMartin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPAN 99

Page 12: Route-Over Forwarding Techniques in a 6LoWPAN...Mesh routing (Mesh under) ability Route-over The base specification document is RFC 4944 Martin Ringwelski et al. Route-Over Forwarding

EvaluationEvaluation

Chain-Network - PRR 0 1 2 3 4 5 6 7 8 9

0 200 400 600 800 1,000 1,20070

80

90

100

Payload [Byte]

PR

R[%

]

AssemblyDirect

Direct-RRDirect-ARR

Martin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPANMartin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPAN 1010

Page 13: Route-Over Forwarding Techniques in a 6LoWPAN...Mesh routing (Mesh under) ability Route-over The base specification document is RFC 4944 Martin Ringwelski et al. Route-Over Forwarding

EvaluationEvaluation

Chain-Network - Latency 0 1 2 3 4 5 6 7 8 9

Assembly Mode

0

0.5

1

1 2 3 4 5 6 7 8 9

500

1,000

1,500

Hops

Late

ncy

[ms]

Direct-RR Mode

0

0.5

1

1 2 3 4 5 6 7 8 9

500

1,000

1,500

Hops

Late

ncy

[ms]

Direct Mode

0

0.5

1

PR

R

1 2 3 4 5 6 7 8 9

500

1,000

1,500

Hops

Direct-ARR Mode

0

0.5

1

PR

R

1 2 3 4 5 6 7 8 9

500

1,000

1,500

Hops

Per hop latency and PRR for 1200 Byte Payload

Martin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPANMartin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPAN 1111

Page 14: Route-Over Forwarding Techniques in a 6LoWPAN...Mesh routing (Mesh under) ability Route-over The base specification document is RFC 4944 Martin Ringwelski et al. Route-Over Forwarding

EvaluationEvaluation

Star-Network PRR 0 1

100200

300

400

500600

700

101

201

301

401

501

601

701

0 200 400 600 800 1,000 1,20080

85

90

95

Payload [Byte]

PR

R[%

]

AssemblyDirect

Direct-RRDirect-ARR

Direct-ARR-PRC

Martin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPANMartin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPAN 1212

Page 15: Route-Over Forwarding Techniques in a 6LoWPAN...Mesh routing (Mesh under) ability Route-over The base specification document is RFC 4944 Martin Ringwelski et al. Route-Over Forwarding

EvaluationEvaluation

LongY-Network - PRR 0 1 7

100

200

101

202

107

207

0 200 400 600 800 1,000 1,20050

60

70

80

90

100

Payload [Byte]

PR

R[%

]

AssemblyDirect

Direct-RRDirect-ARR

Martin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPANMartin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPAN 1313

Page 16: Route-Over Forwarding Techniques in a 6LoWPAN...Mesh routing (Mesh under) ability Route-over The base specification document is RFC 4944 Martin Ringwelski et al. Route-Over Forwarding

EvaluationEvaluation

LongY-Network - Latency 0 1 7

100

200

101

202

107

207

Assembly Mode

0

0.5

1

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

1,000

2,000

Hops

Late

ncy

[ms]

Direct-RR Mode

0

0.5

1

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

1,000

2,000

Hops

Late

ncy

[ms]

Direct Mode

0

0.5

1

PR

R

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

1,000

2,000

Hops

Direct-ARR Mode

0

0.5

1

PR

R

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

1,000

2,000

Hops

Per hop latency and PRR for 1200 Byte Payload

Martin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPANMartin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPAN 1414

Page 17: Route-Over Forwarding Techniques in a 6LoWPAN...Mesh routing (Mesh under) ability Route-over The base specification document is RFC 4944 Martin Ringwelski et al. Route-Over Forwarding

EvaluationEvaluation

RealSim-Network - PRR0 21FD 21FE

21FC

21FF

2201

2204

2205

2214

2217

2203

2219

2206

221A

0 200 400 600 800 1,000 1,20020

40

60

80

100

Payload [Byte]

PR

R[%

]

AssemblyDirect

Direct-RRDirect-ARR

Martin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPANMartin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPAN 1515

Page 18: Route-Over Forwarding Techniques in a 6LoWPAN...Mesh routing (Mesh under) ability Route-over The base specification document is RFC 4944 Martin Ringwelski et al. Route-Over Forwarding

EvaluationEvaluation

Testbed - PRR0 21FD 21FE

21FC

21FF

2201

2204

2205

2214

2217

2203

2219

2206

221A

0 200 400 600 800 1,000 1,20020

40

60

80

100

Payload [Byte]

PR

R[%

]

AssemblyDirect

Direct-RRDirect-ARR

Martin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPANMartin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPAN 1616

Page 19: Route-Over Forwarding Techniques in a 6LoWPAN...Mesh routing (Mesh under) ability Route-over The base specification document is RFC 4944 Martin Ringwelski et al. Route-Over Forwarding

EvaluationEvaluation

RealSim-Network - Latency0 21FD 21FE

21FC

21FF

2201

2204

2205

2214

2217

2203

2219

2206

221A

Assembly Mode

0

0.5

1

1 2 3 4 5 6 7

1,000

2,000

3,000

4,000

Hops

Late

ncy

[ms]

Direct-RR Mode

0

0.5

1

1 2 3 4 5 6 7

1,000

2,000

3,000

4,000

Hops

Late

ncy

[ms]

Direct Mode

0

0.5

1

PR

R

1 2 3 4 5 6 7

1,000

2,000

3,000

4,000

Hops

Direct-ARR Mode

0

0.5

1

PR

R

1 2 3 4 5 6 7

1,000

2,000

3,000

4,000

Hops

Per hop latency and PRR for 1200 Byte Payload

Martin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPANMartin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPAN 1717

Page 20: Route-Over Forwarding Techniques in a 6LoWPAN...Mesh routing (Mesh under) ability Route-over The base specification document is RFC 4944 Martin Ringwelski et al. Route-Over Forwarding

Conclusion and OutlookConclusion and Outlook

Conclusion

� 6LoWPAN enables 802.15.4 nodes to use IPv6

� Different forwarding strategies for fragments

� Significant difference between Direct and Assembly Mode

� Rate Restriction provides better PRR

� Direct-ARR scales best, but may increase latency for small hopdistances

� Retry Control has very limited impact

Martin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPANMartin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPAN 1818

Page 21: Route-Over Forwarding Techniques in a 6LoWPAN...Mesh routing (Mesh under) ability Route-over The base specification document is RFC 4944 Martin Ringwelski et al. Route-Over Forwarding

Conclusion and OutlookConclusion and Outlook

Outlook

� Compare selective retry control with flat increased retries

� Implement a Hop-based Retry Control

� Implement a fragment recovery mechanism

� Evaluate different settings of the MAC configuration

Martin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPANMartin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPAN 1919

Page 22: Route-Over Forwarding Techniques in a 6LoWPAN...Mesh routing (Mesh under) ability Route-over The base specification document is RFC 4944 Martin Ringwelski et al. Route-Over Forwarding

Route-Over Forwarding Techniques in a6LoWPAN

Andreas Weigel, Martin Ringwelski, Volker Turau, Andreas Timm-Giel

MONAMISeptember 24th, 2013

Martin RingwelskiResearch Assistant

Phone +49 / (0)40 428 78 3387

e-Mail [email protected]

http://www.ti5.tu-harburg.de/staff/ringwelski

TUHHTUHHInstitutes of Telematics and of Communication NetworksInstitutes of Telematics and of Communication NetworksHamburg University of TechnologyHamburg University of Technology

Page 23: Route-Over Forwarding Techniques in a 6LoWPAN...Mesh routing (Mesh under) ability Route-over The base specification document is RFC 4944 Martin Ringwelski et al. Route-Over Forwarding

Appendix

Martin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPANMartin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPAN 2121

Page 24: Route-Over Forwarding Techniques in a 6LoWPAN...Mesh routing (Mesh under) ability Route-over The base specification document is RFC 4944 Martin Ringwelski et al. Route-Over Forwarding

Packet Fragmentation� Header with 4 for first and 5 byte for following fragments� Allowed fragmented datagram size of up to 2048 byte� Header inherits size and tag of the IP datagram� Position of the fragment in the datagram is in header⇒ Fragments do not need to arrive in order, butone lost fragment results in a lost datagram

IPv6 + UDP (48 Byte) Data Payload (100 Byte)

6loWPAN Header Compression (25 Byte)

6loWPAN Packet Fragmentation

Martin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPANMartin Ringwelski et al. Route-Over Forwarding Techniques in a 6LoWPAN 2222


Recommended