<?xml version="1.0" encoding="US-ASCII"?>
<!DOCTYPE rfc SYSTEM 'rfc2629.dtd'[
<!ENTITY RFC2119 PUBLIC "" "http://xml.resource.org/public/rfc/bibxml/reference.RFC.2119.xml">
<!ENTITY RFC3376 PUBLIC "" "http://xml.resource.org/public/rfc/bibxml/reference.RFC.3376.xml">
<!ENTITY RFC3810 PUBLIC "" "http://xml.resource.org/public/rfc/bibxml/reference.RFC.3810.xml">
<!ENTITY RFC4291 PUBLIC "" "http://xml.resource.org/public/rfc/bibxml/reference.RFC.4291.xml">
<!ENTITY RFC4944 PUBLIC "" "http://xml.resource.org/public/rfc/bibxml/reference.RFC.4944.xml">
<!ENTITY RFC3973 PUBLIC "" "http://xml.resource.org/public/rfc/bibxml/reference.RFC.3973.xml">
<!ENTITY RFC4601 PUBLIC "" "http://xml.resource.org/public/rfc/bibxml/reference.RFC.4601.xml">
<!ENTITY RFC4007 PUBLIC "" "http://xml.resource.org/public/rfc/bibxml/reference.RFC.4007.xml">
<!ENTITY RFC5416 PUBLIC "" "http://xml.resource.org/public/rfc/bibxml/reference.RFC.5416.xml">
<!ENTITY I-D.ietf-6lo-lowpanz SYSTEM "http://xml.resource.org/public/rfc/bibxml3/reference.I-D.ietf-6lo-lowpanz.xml">
<!ENTITY I-D.ietf-6lo-btle SYSTEM "http://xml.resource.org/public/rfc/bibxml3/reference.I-D.ietf-6lo-btle.xml">
<!ENTITY I-D.ietf-roll-trickle-mcast SYSTEM "http://xml.resource.org/public/rfc/bibxml3/reference.I-D.ietf-roll-trickle-mcast.xml">
<!ENTITY I-D.ietf-6man-multicast-scopes SYSTEM "http://xml.resource.org/public/rfc/bibxml3/reference.I-D.ietf-6man-multicast-scopes.xml">
]>

<?rfc toc="yes" tocompact="yes" tocdepth="3" tocindent="yes" symrefs="yes" sortrefs="no" comments="yes" inline="yes" compact="yes" subcompact="no"?>
<?rfc symrefs="yes"?>
<rfc category="info" docName="draft-vanderstok-roll-admin-local-policy-00"
     ipr="trust200902">
  <front>
    <title abbrev="MPL admin-local policy">
    MPL forwarder policy for multicast with admin-local scope
    </title>

    
    <author fullname="Peter van der Stok" initials="P." surname="van der Stok">
      <organization>Consultant</organization>

      <address>
        <email>consultancy@vanderstok.org</email>
      </address>
    </author>

    <date day="14" month="February" year="2014"/>

    <area>Routing</area>

    <workgroup>roll</workgroup>

    <keyword>routing</keyword>

    <keyword>MPL</keyword>

    <keyword>multicast policy</keyword>

    <keyword>IP networks</keyword>

    <abstract>
      <t>The purpose of this document is to specify a policy for the routing of mmulticast messages with admin-local scope.</t>
    </abstract>
  </front>

  <middle>
    <section anchor="intro" title="Introduction">

      <t>Multicast scopes are defined in <xref target="RFC4291"/>. The <xref target="I-D.ietf-6man-multicast-scopes"/> extends the scope definition with the text: 
</t><t>
"Interface-Local, Link-Local, and Realm-Local scope
         boundaries are automatically derived from physical
         connectivity or other, non-multicast related configuration. Global scope has no boundary.  The boundaries of all other non-reserved scopes of Admin-Local or larger are
         administratively configured." 
</t><t>
The admin-local scope with value 4 must be administratively configured. This draft shows how the policy that specifies the admin-local scope can be automated.
</t>
<t>Scope 3 multicast address is currently used by MPL to distribute the multicast message to all receivers and forwarders within a mesh network. The multicast distribution is limited to a mesh network with a common
layer-2. For example, the LoWPAN is defined by the IEEE 802.15.4 layer-2 mesh network, composed of all connected nodes sharing the same PANID <xref target="RFC4944"/>. 
</t><t>
In current and projected deployments, the multicast message needs to be distributed outside the single mesh over a multi-link network. For example, distribution is wanted over two meshes with an edge router each, where the two edge routers are connected with an ethernet link. Another example of a multi-link network is: one edge router with two interfaces where each interface is connected to a different mesh. A message with a scope 4 multicast address can be distributed over this multi-link networks. The boundary of the scope 4 is administratively configured. 
</t>
 <t>The purpose of this document is to specify an automated policy for the admin-local scope. This draft specifies conditions under which multicast packets arriving over a given interface of a router are forwarded over other interfaces of the same router. The concept of mesh network is mapped to various lowpan networks.</t>

 	<section title="Terminology">
        <t>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
        "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
        document are to be interpreted as described in <xref target="RFC2119"/>.</t>
	<t>Additionally, this document uses terminology 
	<xref target="I-D.ietf-roll-trickle-mcast"/>.
	</t>
      </section>


      <section title="Required Reading">
        <t>Admin-local multicast scope is defined in <xref target="I-D.ietf-6man-multicast-scopes"/>. MPL is described in <xref target="I-D.ietf-roll-trickle-mcast"/></t>
      </section>

      
    </section>

    <section anchor="link" title="Network identifier">
      <t>Links have the concept of channel associated with a communication frequency. For some link technologies, several networks can coexist using the same channel. For these link technologies, a network identifier exists. The network identifier is determined by the link technology specification. When no network identifier exists for a given link, the network identifier has the value "undefined".
</t>
      <section title="IEEE 802.15.4">
        <t> 
IPv6 over IEEE 802.15.4 is described in <xref target="RFC4944"/>. A LoWPAN is composed of the nodes connected by an IEEE 802.15.4  mesh sharing the same PANID. The PANID identifies a network in the IEEE 802.15.4 mesh. Several networks with different PANIDs can coexist on the same channel <xref target="IEEE802.15.4"/>. The PANID of an interface is defined when the interface is switched on. The value of the network identifier of a IEEE 802.15.4 link is the value of the PANID.</t>
      </section>

<section title="IEEE 802.11">
        <t> 
IP over IEEE 802.11 is described in <xref target="RFC5416"/>. The SSID identifies a network in the IEEE 802.11 link. Several networks with different SSIDs can coexist on the same channel <xref target="IEEE802.11"/>. The SSID of an interface is defined when the interface is switched on. The value of the network identifier of a IEEE 802.11 link is the value of the SSID.</t>
      </section>

<section title="ITU-T G.9959">
<t>
IPv6 over ITU-T G.9959 is specified in <xref target="I-D.ietf-6lo-lowpanz"/>. The HomeID identifies a network of connected nodes <xref target="G.9959"/>. Several HomeIDs can coexist within communication range, but nodes adhering to a network with a given HomeID cannot communicate with nodes adhering to a network with a different HomeID. The value of the network identifier of a G.9959 link is the value of the HomeID.
</t>
</section>

<section title="BLUETOOTH Low Energy">
<t>
IPv6 over BLUETOOTH low energy (btle) is specified in <xref target="I-D.ietf-6lo-btle"/>. The medium is specified in <xref target="btle"/>.
</t><t>
BTLE does know the concept of multiple networks in one channel.
</t>
</section>

</section>

<section anchor="policy" title="Admin-Local policy">
<t>
The section starts with specifying what multicast packets arriving over a link are legal. It continues with the forwarding of the legal packets over the interfaces for packets with multicast destination addresses with Admin -local scope 4.
</t><t>
The admin-local policy is specified as function of the state of a destination link and the multicast packet. The state of the packet is determined by the presence of the MPL option and the destination Multicast address. The state of the interface is determined by the subscribed multicast addresses and the value of the PROACTIVE_FORWARDING parameter of the interface.
</t>

<section anchor="legal" title="Legal incoming packets">
<t>
A packet created in a source (seed) is legal when it conforms to the conditions described in section 9.1 of <xref target="I-D.ietf-roll-trickle-mcast"/>.
</t><t>
A packet received over a given link with a multicast destination address, is legal when:
<list style="symbols">
<t>The packet carries the MPL option and the incoming interface is subscribed to the destination multicast address.</t>
<t>The packet does not carry the MPL option and the interface has expressed interest to receive packets with the specified multicast address via MLD <xref target="RFC3810"/> or via IGMP <xref target="RFC3376"/>. Packet was sent on according to PIM-DM <xref target="RFC3973"/> or according to PIM-SM <xref target="RFC4601"/>. The packet forwarded with unicast has been decapsulated.</t>
</list>
</t><t>
Illegal packets are discarded.

</t>
</section>

<section anchor="forward" title="Forwarding legal packets">
<t>
A legal packet that arrived over a link is associated with a network identifier with a value copied from the network identifier of the interface of the incoming link . A packet that is created locally has a network identifier with value "any".
</t><t>
Two types of legal packets are considered: (1) packets which carry the MPL option, and (2) packets which do NOT carry the MPL option.
</t>

<section anchor="MPL_option" title="Packet with MPL option">
<t>
The packet is forwarded over the link of an interface according to the Trickle algorithm, when:
<list style="symbols">
<t>The packet with a multicast address with scope 2 (link-local) is not forwarded.</t>
<t>Packet with a multicast scope of 5 or higher is out of scope.</t>
<t> The packet with MPL option and a Multicast address MC4 with a scope value of 4, is transmitted over all interfaces that are subscribed to the same multicast address MC4, and have PROACTIVE_FORWARDING set to true.</t> 
<t> The packet with MPL option and a Multicast address MC3 with a scope value of 3, is transmitted over all interfaces that are subscribed to the same multicast address MC3, have PROACTIVE_FORWARDING set to true, and the network identifier of the packet is identical to the network-identifier of the interface, or the network identifier of the packet is "any". </t>
</list>
</t>
</section>

<section anchor="no_option" title="Packet without MPL option">
<t>
The legal packet without MPL option is handled according to the following rules:
<list style="symbols">
<t>The packet with a multicast address with scope 2 (link-local) or scope 3( Realm-local) is not forwarded.</t>
<t>Packet with a multicast scope of 5 or higher is out of scope.</t>
<t> The packet with a multicast address MC4 with scope 4 is encapsulated with a header carrying the MPL option, and is forwarded according to the Trickle algorithm, over all interfaces that are subscribed to multicast address MC4, and have PROACTIVE_FORWARDING set to true.</t>
</list>
</t>
</section>
</section>

	</section>      
         


    <section title="Security Considerations">
      <t>Refer to the security considerations of <xref target="I-D.ietf-roll-trickle-mcast"/>.
</t>

      
    </section>

    <section title="IANA Considerations">
      <t> No considerations for IANA are formulated in this document. </t>
    </section>

    <section title="Acknowledgements">
      <t>This document reflects discussions and remarks from several
      individuals including (in alphabetical order): </t>
    </section>

	

  </middle>

  <back>
    <references title="Normative References">
	&RFC2119;
	&RFC3810;
	&RFC4291;
	&RFC4944;
	&RFC3376;
	&RFC4007;
	&RFC5416;
	&I-D.ietf-6lo-lowpanz;
	&I-D.ietf-roll-trickle-mcast;
	&I-D.ietf-6man-multicast-scopes;
	&I-D.ietf-6lo-btle;
	

      <reference anchor="IEEE802.15.4" target="IEEE Standard 802.15.4">
        <front>
          <title>IEEE 802.15.4 - Standard for Local and metropolitan area
          networks -- Part 15.4: Low-Rate Wireless Personal Area
          Networks</title>

          <author fullname="IEEE Computer Society" initials="" surname="">
            <organization/>
          </author>

          <date/>
        </front>
      </reference>

<reference anchor="IEEE802.11" target="IEEE Standard 802.11">
        <front>
          <title>IEEE 802.11 - Telecommunications and information exchange between systems Local and metropolitan area networks -- Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications </title>

          <author fullname="IEEE Computer Society" initials="" surname="">
            <organization/>
          </author>

          <date/>
        </front>
      </reference>


      <reference anchor="G.9959" target="ITU-T G.9959">
        <front>
          <title>ITU-T G.9959 Short range narrow-band digital
          radiocommunication transceivers - PHY and MAC layer
          specifications</title>

          <author fullname="ITU-T SG 15" initials="" surname="">
            <organization/>
          </author>

          <date/>
        </front>
      </reference>


      <reference anchor="btle" target="BLUETOOTH low energy">
        <front>
          <title>BLUETOOTH Specification
              Version 4.0</title>
          <author fullname="BLUETOOTH Special Interest Group" initials="" surname="">
            <organization/>
          </author>

          <date/>
        </front>
      </reference>


      
    </references>

    <references title="Informative References">
      &RFC3973;
	&RFC4601;



    </references>

    
  </back>
</rfc>

