part vi integration into the internet dr. thomas watteyne
DESCRIPTION
Prof. Kristofer S.J. Pister’s team Berkeley Sensor and Actuator Center University of California, Berkeley. Part VI Integration into the Internet Dr. Thomas Watteyne. Prof. Kristofer S.J. Pister’s team Berkeley Sensor and Actuator Center University of California, Berkeley. Goal. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Part VI Integration into the Internet Dr. Thomas Watteyne](https://reader036.vdocument.in/reader036/viewer/2022062521/56816689550346895dda423e/html5/thumbnails/1.jpg)
Prof. Kristofer S.J. Pister’s teamBerkeley Sensor and Actuator Center
University of California, Berkeley
![Page 2: Part VI Integration into the Internet Dr. Thomas Watteyne](https://reader036.vdocument.in/reader036/viewer/2022062521/56816689550346895dda423e/html5/thumbnails/2.jpg)
Prof. Kristofer S.J. Pister’s teamBerkeley Sensor and Actuator Center
University of California, Berkeley
Part VIIntegration into the Internet
Dr. Thomas Watteyne
![Page 3: Part VI Integration into the Internet Dr. Thomas Watteyne](https://reader036.vdocument.in/reader036/viewer/2022062521/56816689550346895dda423e/html5/thumbnails/3.jpg)
3
Goal
• Integrate your sensor network with the Internet, so that:– Every mote is “just another host” on the Internet;– You can interact with your sensor network from
any computer on the Internet.
wsn.eecs.berkeley.edu
![Page 4: Part VI Integration into the Internet Dr. Thomas Watteyne](https://reader036.vdocument.in/reader036/viewer/2022062521/56816689550346895dda423e/html5/thumbnails/4.jpg)
4
Outline
• How do I build a bridge between my sensor network and the Internet?
• How can my laptop interact with an IPv6-ready WSN?
wsn.eecs.berkeley.edu
![Page 5: Part VI Integration into the Internet Dr. Thomas Watteyne](https://reader036.vdocument.in/reader036/viewer/2022062521/56816689550346895dda423e/html5/thumbnails/5.jpg)
5
Outline
• How do I build a bridge between my sensor network and the Internet?
• How can my laptop interact with an IPv6-ready WSN?
wsn.eecs.berkeley.edu
![Page 6: Part VI Integration into the Internet Dr. Thomas Watteyne](https://reader036.vdocument.in/reader036/viewer/2022062521/56816689550346895dda423e/html5/thumbnails/6.jpg)
6
Bridging Internet and motes
• Low-power Border Router is connected to:
– the Internet (e.g. Ethernet)– a mote
• Mote appears like a layer 2 interface:
– Configure mote’s IPv6 address– Activate IP forwarding– Bridging happens at layer 3
HTTP, XML, OpenADR
TCP, UDP
IPv6
Ethernet IEEE802.15.4e
CAT5 twisted pair IEEE802.15.4-2006
![Page 7: Part VI Integration into the Internet Dr. Thomas Watteyne](https://reader036.vdocument.in/reader036/viewer/2022062521/56816689550346895dda423e/html5/thumbnails/7.jpg)
9
Distributing IPv6 Prefix to motes
• Neighbor Discovery– RFC2461 (6LoWPAN-ND-11 draft, to some extent)
• Router Solicitation (ICMPv6 type 133)• Router Advertisement (ICMPv6 type 134)• Neighbor Solicitation (ICMPv6 type 135)• Neighbor Advertisement (ICMPv6 type 136)• Redirect Message (ICMPv6 type 137)
• Router Advertisement Options– Can contain 6LoPWAN IPHC-07 contexts– Can contain Prefix information
• Which can be used for Stateless Address Auto-configuration is bit “A” is set
• RADVD is the Linux tool to send Router Advertisements– apt-get install radvd– create /etc/radvd.conf– /etc/init.d/radvd start
interface tun0 { AdvSendAdvert on; MinRtrAdvInterval 10; MaxRtrAdvInterval 20; prefix 2001:470:1f05:dff::/64 { AdvOnLink off; AdvAutonomous on; AdvRouterAddr on; };};
![Page 8: Part VI Integration into the Internet Dr. Thomas Watteyne](https://reader036.vdocument.in/reader036/viewer/2022062521/56816689550346895dda423e/html5/thumbnails/8.jpg)
10
![Page 9: Part VI Integration into the Internet Dr. Thomas Watteyne](https://reader036.vdocument.in/reader036/viewer/2022062521/56816689550346895dda423e/html5/thumbnails/9.jpg)
11
![Page 10: Part VI Integration into the Internet Dr. Thomas Watteyne](https://reader036.vdocument.in/reader036/viewer/2022062521/56816689550346895dda423e/html5/thumbnails/10.jpg)
12 The OpenWSN topology
![Page 11: Part VI Integration into the Internet Dr. Thomas Watteyne](https://reader036.vdocument.in/reader036/viewer/2022062521/56816689550346895dda423e/html5/thumbnails/11.jpg)
13
Outline
• How do I build a bridge between my sensor network and the Internet?
• How can my laptop interact with an IPv6-ready WSN?
wsn.eecs.berkeley.edu
![Page 12: Part VI Integration into the Internet Dr. Thomas Watteyne](https://reader036.vdocument.in/reader036/viewer/2022062521/56816689550346895dda423e/html5/thumbnails/12.jpg)
15
Dual Stack
![Page 13: Part VI Integration into the Internet Dr. Thomas Watteyne](https://reader036.vdocument.in/reader036/viewer/2022062521/56816689550346895dda423e/html5/thumbnails/13.jpg)
16
Interacting with your IPv6-ready WSN
1. Point-to-point connectivity2. IPv6-in-IPv4 tunneling3. Native IPv64. IPv6-to-IPv4 proxying
![Page 14: Part VI Integration into the Internet Dr. Thomas Watteyne](https://reader036.vdocument.in/reader036/viewer/2022062521/56816689550346895dda423e/html5/thumbnails/14.jpg)
17
Interacting with your IPv6-ready WSN
1. point-to-point connectivity
2. IPv6-in-IPv4 tunneling 3. Native IPv6
4. IPv6-to-IPv4 proxying
![Page 15: Part VI Integration into the Internet Dr. Thomas Watteyne](https://reader036.vdocument.in/reader036/viewer/2022062521/56816689550346895dda423e/html5/thumbnails/15.jpg)
18
1. Point-to-Point Connectivity
serial
10’s meters indoors
• no infrastructure required• you need extra hardware• you need to be really close
![Page 16: Part VI Integration into the Internet Dr. Thomas Watteyne](https://reader036.vdocument.in/reader036/viewer/2022062521/56816689550346895dda423e/html5/thumbnails/16.jpg)
19
2. IPv6-in-IPv4 tunneling
IPv6
IPv4
you establish a tunnel
tunnel server(Hurricane
Electric)
• transparent for your application• you need to set up the tunnel
wsn.eecs.berkeley.edu
![Page 17: Part VI Integration into the Internet Dr. Thomas Watteyne](https://reader036.vdocument.in/reader036/viewer/2022062521/56816689550346895dda423e/html5/thumbnails/17.jpg)
22
IPv4
3. Native IPv6
IPv6
IPv6
tunnel server(Hurricane
Electric)
your router establishes the tunnel
(workshop configuration)
• the easiest solution for you• the hardest solution for your network admin
![Page 18: Part VI Integration into the Internet Dr. Thomas Watteyne](https://reader036.vdocument.in/reader036/viewer/2022062521/56816689550346895dda423e/html5/thumbnails/18.jpg)
23
IPv4
4. IPv6-to-IPv4 proxying
IPv6Proxy server
• you do not need an IPv46address
• no firewall issues• not transparent for the software• if you want to add traffic type,
you need to update the proxy
![Page 19: Part VI Integration into the Internet Dr. Thomas Watteyne](https://reader036.vdocument.in/reader036/viewer/2022062521/56816689550346895dda423e/html5/thumbnails/19.jpg)
Prof. Kristofer S.J. Pister’s teamBerkeley Sensor and Actuator Center
University of California, Berkeley