Blog

2018
August
23

IPv6-based Thread networks in an IPv4-based enterprise network

By Thread Group

When defining requirements for building automation, network designers want to make sure that their solution of choice operates well within the existing network. At the same time, they need assurance that the solution is both future proof and scalable. This is also true for developers defining smart products for the home.

Thread is based on existing and widely deployed standards, like IPv6, and has been specifically designed for technologies that provide long-term deployment. Due to its extremely large addressing space, IPv6 allows every single device to have its own unique address which has not been possible before.

IPv6 is the successor to IPv4, the "legacy" internet protocol. IPv4 is known for its xxx.xxx.xxx.xxx addressing structure, where xxx can be a number between 1 and 255. With IPv4, approximately 4 billion unique addresses are possible, which is not nearly enough to cover every device on the planet.

It has been clear for a long time that IPv4 no longer provides the addressable space that is required by the modern internet, and with more and more devices (including non-traditional computing equipment and connected "things") connecting to the internet, this problem has become increasingly critical. In several regions around the world, IPv4 addresses are no longer being provided as is shown on the below graph, which includes APNIC, LACNIC and ARIN, organizations that represent the Asia-Pacific, Latin-American and North-American regions for IP-address assignment.

To overcome the limitations of IPv4, local networks (including enterprise networks) use a technology called NAT (Network Address Translation) to act as an agent between the local network and the public Internet. NAT-functionality is included in a single device such as a router, allowing one IPv4 address to represent a larger group of computers to the outside network.

However, this form of address translation has a number of limitations which do not solve all the issues that arise due to IPv4's limited addressing-range. This is why IPv6 was developed.

IPv6 allows for 340,282,366,920,938,000,000,000,000,000,000,000,000 IP addresses, enough for every molecule in our solar system. On top of this extended addressing space, IPv6 adds several other benefits while fixing some shortcoming of IPv4. It has more efficient forwarding so it does not have to fragment packets (which slows down the network), has built-in Quality-of-Service allowing delay-sensitive packets to get priority in the data transfer, and includes automatic address configuration by default eliminating complicated manual address assignment. And its improved header structure results in less processing overhead.

More and more Internet Service Providers and enterprise networks are being upgraded to support IPv6. For these networks, Thread can be integrated simply without the need for any address translation. For networks that still run on the legacy IPv4 protocol, some adaptations are needed. Luckily, much of this is handled by the Thread Border Router(s) which is the wireless access point that connects the Thread network to the enterprise network and thus also the cloud.

Let's look into this in a bit more detail.

Thread defines an IPv6 transport over an IEEE 802.15.4 data-link layer. A 6LoWPAN adaptation layer in between implements IPv6 header compression for maximizing efficiency. In the context of the OSI layers, only the network layer is affected in a situation where IPv4 networks are being used, as all of the other layers are fully transparent to the existing network.


A Thread Border Router is a simple device that connects the Thread wireless network to the rest of the enterprise network. Unlike "gateways" found in many wireless solutions, it is fully transparent to the transport and application protocols that reside above. As a result, applications can communicate securely from end-to-end without any application-layer translation. Furthermore, since Border Routers do not maintain any application-layer state, there can be multiple Border Routers in a network, eliminating a "single point of failure" in the event one of them malfunctions.

The Border Router enables every Thread device to directly connect to global cloud services, both when enterprise networks run IPv6 and IPv4, or IPv4 only.


Home Network



Enterprise Network


So how can a Thread network connect to an IPv4 network?

A Thread Border Router typically handles all the requirements that are needed. A Border Router is not necessary to form a local Thread mesh-network. It is required to connect a Thread network to the outside world via the local home or enterprise network and the cloud.

Most Border Routers implement NAT64 communication between IPv6-based Thread devices and IPv4 networks. NAT64 is the mechanism that translates IPv6 packets to IPv4 and vice versa. The Border Router functions as an IPv4 host on the wide-area network, capable of obtaining an IPv4 interface and router address. It will acquire an address using DHCP from its IPv4 address pool. The Border Router may also implement Port Control Protocol (PCP) to control how incoming IPv4 packets are translated and forwarded and support static mappings.

In an enterprise network it is not necessary to first connect to the internet to set up the NAT table entries in order for the cloud service to connect back to the device (as is a typical characteristic of NAT64 in non-enterprise situations.) This is because service discovery can be used. The Border Router will report on what is available within its local network and the IPv4 address that can be used from its NAT64 entry.

Optionally, Thread Border Routers use DHCPv6. If they do, DNS64 must be included. Because they support the DNS Long-Live Queries, the Router is capable of locating public IPv4 services and therefore it can connect to devices on the local IPv4 network as well as the global internet.

An example of a Thread Border Router that includes all the necessary functionality is the D-Link DSH-G300-TBR, a home automation gateway used for applications such as intelligent lighting, indoor positioning and asset tracking.

In conclusion, most of the IPv4 to IPv6 (and vice versa) translations are often handled by the Thread Border Router, with minimal changes needed to the existing network. This means that Thread can be immediately implemented in current working situations, offering all of its benefits in terms of security and direct addressability, while ensuring that the Thread network is future proof when the time comes for a partial or full transition to IPv6.

Suggested reading:

For more information on the workings of a Thread Border Router, including all its mandatory and optional services, we suggest you review the following documents published by Thread Group:

Thread Border Routers - Overview
(Particularly p. 10 and p. 21)
https://www.threadgroup.org/Portals/0/documents/support/BorderRouterWhitePaper_657_2.pdf

Thread Border Routers - Best Practices
(Particularly p. 14-16 - This document also includes a list to the mentioned RFC-standards from the Internet Engineering Task Force)
https://www.threadgroup.org/Portals/0/documents/support/ThreadBorderRouterBestPractices_2530_1.pdf

OpenThread Border Router Reference
https://github.com/openthread/borderrouter/

UPCOMING EVENTS


2024
April
23-25

Thread Group Members Meeting

Toronto, Canada

Press Releases

2022
July
18

Thread Group Opens Access to Third Evolution of its Wireless Networking Protocol, Enabling Matter, Improving Seamless Connectivity in Smart Homes and Buildings

The Thread Group, an industry alliance enabling IoT convergence, and addressing challenges around secu...

2022
June
13

Thread Group Establishes New Marketing Chapter in China

The Thread Group, an industry alliance addressing IoT convergence, and challenges around security, energy footprint, and architecture at the network layer, today announced the addition of a Regional Marketing Working Group in China to educate...

2021
November
03

Amazon Joins Thread Group Board of Directors

The Thread Group, an industry alliance addressing IoT convergence, and challenges around security, energy footprint, and architecture at the network layer, today announced the addition of Amazon to its Board of Directors. Amazon’s increased backing of Thread Group further demonstrates its commitment to Matter, over both Thread and Wi-Fi, and to supporting a broad range of smart home protocols, which benefits both device makers and their customers.

Interest Sign-Up Form

Thank you for your interest in Thread!
Please provide your contact information below and we will keep you informed about our activities.


* Required fields
This email will be used for all email list subscriptions & all other Thread Group automated communications.

Interest Sign-Up Form

Thank you for your interest in Thread!

Please provide your contact information below and we will keep you informed about our activities.


* Required fields
This email will be used for all email list subscriptions & all other Thread Group automated communications.

NEWSLETTERS

In The News

2024
January
10

Thread Border Router Fix Should Improve Smart Home Networking

By: Apple Insider

Read More

2024
January
09

Thread Group Unveils Credential Sharing Feature to Propel Smart Home Interoperability

SamMobile

Read More

2024
January
08

Thread Group to Fix Smart Home Protocol's Biggest Problem

Thurrott

Read More

PAST EVENTS

  • CES 2024 January 9-12, 2024  Las Vegas, Nevada  
  • Thread Group Members Meeting Oct 23-26, 2023 Budapest, Hungary 
  • Thread Group Members Meeting April 25-27, 2023 Philadelphia, Pennsylvania 
  • CES 2023 January 5-8, 2023 Las Vegas, Nevada 
  • Thread Group Members Meeting OCTOBER 25-17, 2022 Málaga, Spain 
  • Light+Building 2022 OCTOBER 2-6, 2022 Frankfurt, Germany 
  • WEBINAR: Thread 1.3.0  SEPTEMBER 29, 2022 Watch Webinar, View Presentation 
  • Thread Group Members Meeting APRIL 26-28, 2022 Charlotte, North Carolina
  • Thread Group Members Meeting OCTOBER 5-7, 2021 Virtual
  • Thread Group Members Meeting APRIL 20-22, 2021 Virtual
  • Thread Group Members Meeting NOVEMBER 3-5, 2020 Virtual
  • Works With By Silicon Labs SEPTEMBER 9-10, 2020 Virtual Conference Endorsed by Thread Group Read More
  • WEBINAR: How to Keep Your Solar Plant Safe With Google's Full-wireless OpenThread System SEPTEMBER 3, 2020 View Presentation 
  • IoT World US AUGUST 11-13 2020 Virtual Event Endorsed by Thread Group
  • WEBINAR: IoT Convergence With Thread And Project CHIP  APRIL 21, 2020 Listen to Webinar, View Presentation 
  • Thread Technology Day NOVEMBER 22 2019 Taipei, Taiwan View Presentations 
  • Smart Home Summit NOVEMBER 20-21 2019 San Francisco, California View Presentation 
  • Thread Group Members Meeting NOVEMBER 5-7 2019 Zug, Switzerland, Hosted at Siemens 
  • Arm TechCon OCTOBER 8-9 2019 San Jose, California, Thread Endorsed Learn More
  • WEBINAR: New Membership Tier, IPR Considerations And Certification
    MAY 30, 2019 View Webinar
  • Internet of Things World
    MAY 13-16, 2019 Santa Clara, California Thread Endorsed  
  • WEBINAR: Dotdot + Thread: Learn About The Specification And Streamlined Certification Programs
    JANUARY 30, 2019 View Webinar
  • Connections Summit At CES
    JANUARY 8, 2019 Las Vegas, Nevada
  • Wireless Congress
    NOVEMBER 14-15, 2018 Munich, Germany
  • Arm TechCon
    OCTOBER 16-18, 2018 San Jose, California
  • Thread Group Members Meeting
    OCTOBER 16-18, 2018 Munich, Germany
  • Particle Webinar: Going Beyond The Connected Home
    OCTOBER 11, 2018 View Webinar
  • Spectra
    OCTOBER 3, 2018 San Francisco, California
  • Thread Group Members Meeting
    JUNE 26-28, 2018 Austin, Texas
  • Thread Webinar: Developing IoT Devices With Thread
    JUNE 20, 2018 View Webinar
  • Connections
    MAY 22-24, 2018 San Francisco, California
  • Light + Building
    MARCH 18-23, 2018 Frankfurt, Germany
  • Smart Energy Summit
    FEBRUARY 19-21, 2018 Austin, Texas
  • Strategies In Light
    FEBRUARY 13-15, 2018 Long Beach, California
  • Digital Experience! @ CES 2018
    JANUARY 8, 2018 Las Vegas, Nevada
  • Thread Group Members Meeting
    NOVEMBER 15-17, 2017 Lisbon, Portugal
  • Thread + One IoT Stakeholders Summit
    SEPTEMBER 14, 2017 Munich, Germany
  • Thread Group Technology Workshop
    SEPTEMBER 14, 2017 Munich, Germany
  • Thread Group Members Meeting
    JUNE 27-29, 2017 Vancouver, Canada
  • Connected Plus
    JUNE 20-21, 2017 Vancouver, Canada
  • CONNECTIONS 2017
    Speakers Panel: Connected CE Strategies: Building Product Ecosystems
    MAY 23-25, 2017 San Francisco, California
  • IoT World Speakers Panel: Understanding The Complexity And Interoperability Of IoT Platforms
    MAY 16-18, 2017 Santa Clara, California
  • CABA Forum
    APRIL 26-28, 2017 Santa Clara, California
  • Thread Technology Workshop
    MARCH 27, 2017 Mountain View, California
  • Thread Group All Members Meeting
    FEBRUARY 14-16, 2017 Atlanta, Georgia
  • CONNECTIONS Summit At CES
    JANUARY 5, 2016 Las Vegas, Nevada
  • CES 2017
    JANUARY 5-8, 2016 Las Vegas, Nevada
  • Strategies In Light Europe
    NOVEMBER 23-24, 2016 London, UK
  • Internet Of Things World
    NOVEMBER 21-22, 2016 Dublin, Ireland
  • Thread Group All Members Meeting
    NOVEMBER 15-17, 2016 Lisbon, Portugal
  • Wireless Congress
    NOVEMBER 9-10, 2016 Munich, Germany
  • Electronica
    NOVEMBER 8-11, 2016 Munich, Germany
  • CONNECTIONS Europe
    NOVEMBER 2-3, 2016 Amsterdam, Netherlands
  • Smart Home Summit
    NOVEMBER 1-2, 2016 Palo Alto, California
  • Thread Group Webinar
    JUNE 28, 2016, 2016 Online
  • Smart Home World
    JUNE 21-22, 2016 London, UK
  • Computex CPX Conference
    MAY 31-JUNE 4, 2016 Taipei, Taiwan
  • Connected Conference
    MAY 25-27, 2016 Paris, France
  • Connections
    MAY 24-26, 2016 San Francisco, California
  • CES Asia
    MAY 11-13, 2016 Shanghai, China
  • Informa IoT World 2016
    MAY 10-12, 2016 Santa Clara, California
  • Thread Group Open House
    MAY 10, 2016 Shanghai, China
  • SMAHome
    APRIL 21-22, 2016 San Francisco, California
  • IoT West 2016
    APRIL 19-21, 2016 Taipei, Taiwan
  • Thread Group All Members Meeting
    MARCH 22-24, 2016 Redwood City, California
  • Wearable Tech Show 2016
    MARCH 15, 2016 London, UK
  • Strategies In Light
    MARCH 1-3, 2016 Santa Clara, California
  • CES
    JANUARY 6-9, 2016 Las Vegas, Nevada
  • Thread Group All Members Meeting
    NOVEMBER 18-19, 2015 Evian Resort, France
  • Cedia
    OCTOBER 16, 2015 Dallas, Texas
  • Internet Of Things World Europe
    OCTOBER 5-7, 2015 Berlin, Germany
  • Thread Open House
    OCTOBER 5, 2015 Berlin, Germany
  • Connected + Conference & Exhibition
    SEPTEMBER 28-29, 2015 Toronto, Canada
  • IoT Security 2015
    SEPTEMBER 22-23, 2015 Boston, Massachusetts
  • Thread Group All Members Meeting
    JULY 23-24, 2015 Austin, Texas
  • O'Reilly Solid, Platforms, Devices And Interoperability In The Smart Home
    JUNE 25, 2015 San Francisco, California
  • Pepcom! Digital Experience
    JUNE 18, 2015 New York City, New York
  • IoT Silicon Valley Meetup
    JUNE 18, 2015 Mountain View, California
  • Connections, Innovative Partnerships: The Connected Home Panel
    MAY 19, 2015 San Francisco, California
  • Internet Of Things World 2015
    MAY 13, 2015 San Francisco, California
  • Mobile World Congress
    MARCH 5, 2015 Barcelona, Spain
  • Stack Tutorials & First All Members Meeting
    FEBRUARY 9-11, 2015 San Jose, California
  • Thread Group Information Event
    SEPTEMBER 30, 2014 Google Campus, Mountain View, California
Important! The license does not include the website domain. Please register the domain and re-validate your license.