DHCPv6 options for MQTT client configuration
draft-nalluri-dhc-dhcpv6-mqtt-config-options-00

Document Type Active Internet-Draft (individual)
Last updated 2017-10-20
Stream (None)
Intended RFC status (None)
Formats plain text pdf html bibtex
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
DHC working group                                             S. Nalluri
Internet-Draft                                                  Ericsson
Intended status: Standards Track                        October 20, 2017
Expires: April 23, 2018

              DHCPv6 options for MQTT client configuration
            draft-nalluri-dhc-dhcpv6-mqtt-config-options-00

Abstract

   This document defines Dynamic Host Configuration Protocol and Dynamic
   Host Configuration Protocol version 6 (DHCPv6) Options for MQTT
   client configuration information, which are used to carry Uniform
   Resource Locater of MQTT broker and MQTT topic prefix that should be
   used as prefix for any topic published by MQTT client.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at http://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on April 23, 2018.

Copyright Notice

   Copyright (c) 2017 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (http://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Nalluri                  Expires April 23, 2018                 [Page 1]
Internet-Draft           DHCPv6 Options for MQTT            October 2017

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  MQTT client configuration through DHCP  . . . . . . . . . . .   3
     2.1.  DHCPv6 option for MQTT broker URI . . . . . . . . . . . .   3
     2.2.  DHCPv6 option for MQTT topic prefix . . . . . . . . . . .   4
     2.3.  DHCPv4 option for MQTT broker URI . . . . . . . . . . . .   4
     2.4.  DHCPv4 option for MQTT topic prefix . . . . . . . . . . .   5
   3.  Appearance of Option  . . . . . . . . . . . . . . . . . . . .   5
     3.1.  Appearance of options in DHCPv6 control messages  . . . .   5
     3.2.  Appearance of options in DHCPv4 control messages  . . . .   6
   4.  Configuration Guidelines for the Server . . . . . . . . . . .   6
   5.  DHCPv4/DHCPv6 Client Behavior . . . . . . . . . . . . . . . .   6
   6.  Relay agent Behavior  . . . . . . . . . . . . . . . . . . . .   7
   7.  Security Considerations . . . . . . . . . . . . . . . . . . .   7
   8.  Acknowledgement . . . . . . . . . . . . . . . . . . . . . . .   8
   9.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   8
   10. References  . . . . . . . . . . . . . . . . . . . . . . . . .   8
     10.1.  Normative References . . . . . . . . . . . . . . . . . .   8
     10.2.  Informative References . . . . . . . . . . . . . . . . .   9
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .   9

1.  Introduction

   The Message Queue Telemetry Transport (MQTT) protocol is a light-
   weight IoT protocol, based on the publish/subscribe communication
   model.  MQTT clients, that can be publishers or subscribers,
   communicate with each other via a broker.  The broker hosts a set of
   "topics" and clients can publish and subscribe to these topics.  All
   data published to a topic is delivered to all clients who are
   subscribed to the same topic.  In communications network using MQTT
   clients commonly use a preconfigured address information, such as
   Uniform Resource Identifier (URI), to register with a MQTT broker.
   The URI might be configured by a user or an operator through a local
   device interface.  Alternatively, the URI might be provided as a
   hardcoded value by manufacturer of the MQTT client device.

   Hard coding configuration by device manufacturer forces device
   operator to use same configuration as hard coded.  It is possible
   that reachability information of MQTT broker that is hard coded may
   be outdated and MQTT broker reachability might fail during first use
   of device.  In such cases connectivity with MQTT broker is possible
   only through device software upgrade.

   Subscribers who are interested in specific data of a specific topic
   registers the topic with the MQTT broker.  MQTT clients acting as
Show full document text