IPv6 & Smart Cities · IPv6 & Smart Cities Intro & Context • Adevice is trying to...

Preview:

Citation preview

IPv6 & Smart Cities

June  2016  –  Joaquín  Cabezas  

IPv6 & Smart Cities

Adevice in a nutshell

IPv6 & Smart Cities

Intro & Context

• Adevice is trying to solve Cities’ problems

• We have partnered with Telefonica •  We forecast that IoT will rely on Telco infrastructure

• Some Cities’ problems needs lots of endpoints •  That’s where IPv6 began to be interesting for us

• Therefore we needed to pilot IPv6

IPv6 & Smart Cities

Main characters

Carlos  Pardo   Carlos  Ralli   Joaquín  Cabezas  (me)  

IPv6 & Smart Cities

Experience and Use Cases

Water  quality   Smart  Fountain   Smart  Metering  

IPv6 & Smart Cities

Experience and Use Cases

2-­‐3  enAAes  30  aCributes  Every  minute  

72  enAAes  15  aCributes  Every  hour  

300000  enAAes  4  aCributes  Every  day  

Water  quality   Smart  Fountain   Smart  Metering  

IPv6 & Smart Cities

IPv6 & Smart Cities

Example: Smart Fountain

•  Is it working properly? • Do I have to clean it? •  Is there any leak? • Am i using the pump too much?

IPv6 & Smart Cities

Question

Can we go native IPv6 for our Smart Fountain?

IPv6 & Smart Cities

Architecture

IPv6 & Smart Cities

Datacenter

•  IPv6 compatible datacenter from RedIRIS

• OpenStack based deployment (work in progress)

• Update maintenance scripts

• Convince lots of people to join our cause!!

IPv6 & Smart Cities

Mobile network

• Creation of an APN for the pilot

• Configuration of HLR – Home Location Register • Configuration of GGSN – Gateway GPRS Support Node

• Addressing & Routing on Mobile Network

• Connection to RIMA (Advanced IP Network Multi-service from Telefonica)

IPv6 & Smart Cities

Mobile Terminal

• OnePlus One with Cyanogen 12 • LG Nexus 5 with Android 5.0 • Samsung Galaxy Core LTE

• Configure APN and try to connect to ipv6.google.com

IPv6 & Smart Cities

After a few tries…

IPv6 & Smart Cities

Our own gateway

• Testing with IPv6-only local network: •  Update some scripts and commands (if6up, ping6…) •  Allow square brackets on address (http://[xxxxx])

• Testing with 3G modem: •  Test PDP Context (AT+CDGCONT=?) •  Configure CDGCONT and CGACT •  Update connect-chat script, ppp configuration…

• Update internal website

IPv6 & Smart Cities

3G Router

• Proroute GEM420 / Matrix Helios II • TP-Link Archer MR200 AC750 Wireless Dual Band 4G • MTX-3G-JAVA

IPv6 & Smart Cities

Bugs

IPv6 & Smart Cities

Bugs

• Matrix Helios II does not connect (it keeps reconnecting). Maybe due to a check on the IPv4 world or a watchdog.

We  have  been  working  together  to  fix  this.    Next  try  with:  HeliosII_0T001-­‐BUTE0.1011_06131503.bin  

IPv6 & Smart Cities

Bugs

Nov 2 23:03:37 zotac01 pppd[3796]: cif6addr: ioctl(SIOCDIFADDR): No such address  Nov 2 23:03:37 zotac01 pppd[3796]: sif6addr: ioctl(SIOCADDRT): File exists (line 2607)  Nov 2 23:03:37 zotac01 pppd[3796]: sif6addr failed  Nov 2 23:03:37 zotac01 pppd[3796]: sent [IPV6CP TermReq id=0x2 "Interface configuration failed"]  

• PPP package has a problem dealing with address assignment when we reconnect (typical scenario for mobile networks)

Reported,  trying  to  contact  with  some  of  the  developers.  Right  now  we  are  using  a  workaround  

IPv6 & Smart Cities

First try at our offices

IPv6 & Smart Cities

Deployment at the fountain

Devices   Infrastructure   PlaVorm   AplicaXon  

WiP   TesXng   TesXng   Idea  

hexaWAN Base Station comprises a 3G modem with an IPv6 SIM and a hexaWAN radio. This is where IPv6 starts at this demonstrator, using a Linux Stack. On the mobile network, an APN has been created for IPv6 compatibility.

Our devices are connected to a hexaWAN LPWAN Base Station. Currently this is not using IPv6, but it is Work In Progress, as we are using IEEE 802.15.4g standard, already 6LoWPAN compatible.

Both IDAS (Device Management) and ORION (Contex t Broker ) a re available at IPv6

We are using IPv4 for publishing dashboards thanks to the dual-stack availability. We use Open Source tools, like Bootstrap or freeboard.

IPv6 & Smart Cities

Dissemination

IPv6 & Smart Cities

Conclusions

• Pilot Phase I is completed. Connectivity is working • Still difficult to find fully compatible IPv6 ready devices •  Increasing interest from cities and governments…

• Now for the phase II •  6LoWPAN •  DHCPv6 – EAP/CoAP •  IPv6-only website •  Increase number of entities

IPv6 & Smart Cities

Contact and thanks!

Joaquín Cabezas

jcabezas@adevice.es

Web: http://www.adevice.es Email: info@adevice.es

Twitter: @adevice

Recommended