1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125
|
<pre>Internet Engineering Task Force (IETF) A. Brandt
Request for Comments: 7733 Sigma Designs
Category: Standards Track E. Baccelli
ISSN: 2070-1721 INRIA
R. Cragie
ARM Ltd.
P. van der Stok
Consultant
February 2016
<span class="h1">Applicability Statement: The Use of the Routing Protocol</span>
<span class="h1">for Low-Power and Lossy Networks (RPL) Protocol Suite</span>
<span class="h1">in Home Automation and Building Control</span>
Abstract
The purpose of this document is to provide guidance in the selection
and use of protocols from the Routing Protocol for Low-Power and
Lossy Networks (RPL) protocol suite to implement the features
required for control in building and home environments.
Status of This Memo
This is an Internet Standards Track document.
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Further information on
Internet Standards is available in <a href="./rfc5741#section-2">Section 2 of RFC 5741</a>.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
<a href="http://www.rfc-editor.org/info/rfc7733">http://www.rfc-editor.org/info/rfc7733</a>.
<span class="grey">Brandt, et al. Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc7733">RFC 7733</a> RPL in Home and Building February 2016</span>
Copyright Notice
Copyright (c) 2016 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and the IETF Trust's Legal
Provisions Relating to IETF Documents
(<a href="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</a>) 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.
<span class="grey">Brandt, et al. Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc7733">RFC 7733</a> RPL in Home and Building February 2016</span>
Table of Contents
<a href="#section-1">1</a>. Introduction ....................................................<a href="#page-4">4</a>
<a href="#section-1.1">1.1</a>. Relationship to Other Documents ............................<a href="#page-5">5</a>
<a href="#section-1.2">1.2</a>. Terminology ................................................<a href="#page-6">6</a>
<a href="#section-1.3">1.3</a>. Required Reading ...........................................<a href="#page-6">6</a>
<a href="#section-1.4">1.4</a>. Requirements That Are Out of Scope .........................<a href="#page-6">6</a>
<a href="#section-2">2</a>. Deployment Scenario .............................................<a href="#page-6">6</a>
<a href="#section-2.1">2.1</a>. Network Topologies .........................................<a href="#page-7">7</a>
<a href="#section-2.2">2.2</a>. Traffic Characteristics ....................................<a href="#page-8">8</a>
<a href="#section-2.2.1">2.2.1</a>. General .............................................<a href="#page-9">9</a>
<a href="#section-2.2.2">2.2.2</a>. Source-Sink (SS) Communication Paradigm ............<a href="#page-10">10</a>
2.2.3. Publish-Subscribe (PS, or Pub/Sub)
Communication Paradigm .............................<a href="#page-10">10</a>
<a href="#section-2.2.4">2.2.4</a>. Peer-to-Peer (P2P) Communication Paradigm ..........<a href="#page-10">10</a>
<a href="#section-2.2.5">2.2.5</a>. Peer-to-Multipeer (P2MP) Communication Paradigm ....<a href="#page-11">11</a>
<a href="#section-2.2.6">2.2.6</a>. Additional Considerations: Duocast and N-Cast ......<a href="#page-11">11</a>
<a href="#section-2.2.7">2.2.7</a>. RPL Applicability per Communication Paradigm .......<a href="#page-11">11</a>
<a href="#section-2.3">2.3</a>. Layer 2 Applicability .....................................<a href="#page-13">13</a>
<a href="#section-3">3</a>. Using RPL to Meet Functional Requirements ......................<a href="#page-13">13</a>
<a href="#section-4">4</a>. RPL Profile ....................................................<a href="#page-14">14</a>
<a href="#section-4.1">4.1</a>. RPL Features ..............................................<a href="#page-14">14</a>
<a href="#section-4.1.1">4.1.1</a>. RPL Instances ......................................<a href="#page-15">15</a>
<a href="#section-4.1.2">4.1.2</a>. Storing vs. Non-Storing Mode .......................<a href="#page-15">15</a>
<a href="#section-4.1.3">4.1.3</a>. DAO Policy .........................................<a href="#page-15">15</a>
<a href="#section-4.1.4">4.1.4</a>. Path Metrics .......................................<a href="#page-15">15</a>
<a href="#section-4.1.5">4.1.5</a>. Objective Function .................................<a href="#page-16">16</a>
<a href="#section-4.1.6">4.1.6</a>. DODAG Repair .......................................<a href="#page-16">16</a>
<a href="#section-4.1.7">4.1.7</a>. Multicast ..........................................<a href="#page-16">16</a>
<a href="#section-4.1.8">4.1.8</a>. Security ...........................................<a href="#page-17">17</a>
<a href="#section-4.1.9">4.1.9</a>. P2P Communications .................................<a href="#page-21">21</a>
<a href="#section-4.1.10">4.1.10</a>. IPv6 Address Configuration ........................<a href="#page-21">21</a>
<a href="#section-4.2">4.2</a>. Layer 2 Features ..........................................<a href="#page-21">21</a>
<a href="#section-4.2.1">4.2.1</a>. Specifics about Layer 2 ............................<a href="#page-21">21</a>
<a href="#section-4.2.2">4.2.2</a>. Services Provided at Layer 2 .......................<a href="#page-21">21</a>
4.2.3. IPv6 over Low-Power Wireless Personal Area
Network (6LoWPAN) Options Assumed ..................<a href="#page-21">21</a>
<a href="#section-4.2.4">4.2.4</a>. Mesh Link Establishment (MLE) and Other Things .....<a href="#page-21">21</a>
<a href="#section-4.3">4.3</a>. Recommended Configuration Defaults and Ranges .............<a href="#page-21">21</a>
<a href="#section-4.3.1">4.3.1</a>. Trickle Parameters .................................<a href="#page-22">22</a>
<a href="#section-4.3.2">4.3.2</a>. Other Parameters ...................................<a href="#page-22">22</a>
<a href="#section-5">5</a>. MPL Profile ....................................................<a href="#page-23">23</a>
<a href="#section-5.1">5.1</a>. Recommended Configuration Defaults and Ranges .............<a href="#page-23">23</a>
<a href="#section-5.1.1">5.1.1</a>. Real-Time Optimizations ............................<a href="#page-23">23</a>
<a href="#section-5.1.2">5.1.2</a>. Trickle Parameters .................................<a href="#page-23">23</a>
<a href="#section-5.1.3">5.1.3</a>. Other Parameters ...................................<a href="#page-24">24</a>
<a href="#section-6">6</a>. Manageability Considerations ...................................<a href="#page-25">25</a>
<span class="grey">Brandt, et al. Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc7733">RFC 7733</a> RPL in Home and Building February 2016</span>
<a href="#section-7">7</a>. Security Considerations ........................................<a href="#page-25">25</a>
<a href="#section-7.1">7.1</a>. Security Considerations during Initial Deployment .........<a href="#page-26">26</a>
<a href="#section-7.2">7.2</a>. Security Considerations during Incremental Deployment .....<a href="#page-27">27</a>
<a href="#section-7.3">7.3</a>. Security Considerations for P2P Implementations ...........<a href="#page-27">27</a>
<a href="#section-7.4">7.4</a>. MPL Routing ...............................................<a href="#page-27">27</a>
<a href="#section-7.5">7.5</a>. RPL Security Features .....................................<a href="#page-27">27</a>
<a href="#section-8">8</a>. Other Related Protocols ........................................<a href="#page-28">28</a>
<a href="#section-9">9</a>. References .....................................................<a href="#page-28">28</a>
<a href="#section-9.1">9.1</a>. Normative References ......................................<a href="#page-28">28</a>
<a href="#section-9.2">9.2</a>. Informative References ....................................<a href="#page-32">32</a>
<a href="#appendix-A">Appendix A</a>. RPL Shortcomings in Home and Building Deployments .....<a href="#page-35">35</a>
<a href="#appendix-A.1">A.1</a>. Risk of Undesirable Long P2P Routes ........................<a href="#page-35">35</a>
<a href="#appendix-A.1.1">A.1.1</a>. Traffic Concentration at the Root ......................<a href="#page-35">35</a>
<a href="#appendix-A.1.2">A.1.2</a>. Excessive Battery Consumption in Source Nodes ..........<a href="#page-35">35</a>
<a href="#appendix-A.2">A.2</a>. Risk of Delayed Route Repair ...............................<a href="#page-35">35</a>
<a href="#appendix-A.2.1">A.2.1</a>. Broken Service .........................................<a href="#page-36">36</a>
<a href="#appendix-B">Appendix B</a>. Communication Failures ................................<a href="#page-36">36</a>
Acknowledgements ..................................................<a href="#page-38">38</a>
Authors' Addresses ................................................<a href="#page-38">38</a>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
The primary purpose of this document is to give guidance in the use
of the Routing Protocol for Low-Power and Lossy Networks (RPL)
protocol suite in two application domains:
o Home automation
o Building automation
The guidance is based on the features required by the requirements
documents "Home Automation Routing Requirements in Low-Power and
Lossy Networks" [<a href="./rfc5826" title=""Home Automation Routing Requirements in Low-Power and Lossy Networks"">RFC5826</a>] and "Building Automation Routing
Requirements in Low-Power and Lossy Networks" [<a href="./rfc5867" title=""Building Automation Routing Requirements in Low-Power and Lossy Networks"">RFC5867</a>],
respectively. The Advanced Metering Infrastructure is also
considered where appropriate. The applicability domains distinguish
themselves in the way they are operated, their performance
requirements, and the most likely network structures. An abstract
set of distinct communication paradigms is then used to frame the
applicability domains.
<span class="grey">Brandt, et al. Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc7733">RFC 7733</a> RPL in Home and Building February 2016</span>
Home automation and building automation application domains share a
substantial number of properties:
o In both domains, the network can be disconnected from the ISP and
must still continue to provide control to the occupants of the
home or building. Routing needs to be possible independent of the
existence of a border router.
o Both domains are subject to unreliable links but require instant
and very reliable reactions. This has an impact on routing
because of timeliness and multipath routing.
The differences between the two application domains mostly appear in
commissioning, maintenance, and the user interface, which do not
typically affect routing. Therefore, the focus of this applicability
document is on reliability, timeliness, and local routing.
It should be noted that adherence to the guidance in this document
does not necessarily guarantee fully interoperable solutions in home
automation networks and building control networks and that additional
rigorous and managed programs will be needed to ensure
interoperability.
<span class="h3"><a class="selflink" id="section-1.1" href="#section-1.1">1.1</a>. Relationship to Other Documents</span>
The Routing Over Low power and Lossy networks (ROLL) working group
has specified a set of routing protocols for Low-Power and Lossy
Networks (LLNs) [<a href="./rfc6550" title=""RPL: IPv6 Routing Protocol for Low-Power and Lossy Networks"">RFC6550</a>]. This applicability text describes a
subset of those protocols and the conditions under which the subset
is appropriate, and it provides recommendations and requirements for
the accompanying parameter value ranges.
In addition, [<a href="./rfc6997" title=""Reactive Discovery of Point-to-Point Routes in Low-Power and Lossy Networks"">RFC6997</a>] was written specifically as an extension to
core RPL [<a href="./rfc6550" title=""RPL: IPv6 Routing Protocol for Low-Power and Lossy Networks"">RFC6550</a>] and provides a solution for reactive discovery of
point-to-point routes in LLNs. The present applicability document
provides recommendations and requirements for the accompanying
parameter value ranges.
[<a id="ref-RFC7416">RFC7416</a>] describes a common set of security threats. The
applicability statements provided in <a href="#section-4.1.8.2.2">Section 4.1.8.2.2</a> of this
document complement [<a href="./rfc7416" title=""A Security Threat Analysis for the Routing Protocol for Low-Power and Lossy Networks (RPLs)"">RFC7416</a>] by describing preferred security
settings and solutions within the applicability statement conditions.
This applicability statement recommends lighter-weight security
solutions appropriate for home and building environments and
indicates why these solutions are appropriate.
<span class="grey">Brandt, et al. Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc7733">RFC 7733</a> RPL in Home and Building February 2016</span>
<span class="h3"><a class="selflink" id="section-1.2" href="#section-1.2">1.2</a>. Terminology</span>
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 [<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>].
Additionally, this document uses terminology from [<a href="./rfc6997" title=""Reactive Discovery of Point-to-Point Routes in Low-Power and Lossy Networks"">RFC6997</a>],
[<a href="./rfc7731" title=""Multicast Protocol for Low-Power and Lossy Networks (MPL)"">RFC7731</a>], [<a href="./rfc7102" title=""Terms Used in Routing for Low-Power and Lossy Networks"">RFC7102</a>], [<a href="#ref-IEEE802.15.4">IEEE802.15.4</a>], and [<a href="./rfc6550" title=""RPL: IPv6 Routing Protocol for Low-Power and Lossy Networks"">RFC6550</a>].
<span class="h3"><a class="selflink" id="section-1.3" href="#section-1.3">1.3</a>. Required Reading</span>
Applicable requirements are described in [<a href="./rfc5826" title=""Home Automation Routing Requirements in Low-Power and Lossy Networks"">RFC5826</a>] and [<a href="./rfc5867" title=""Building Automation Routing Requirements in Low-Power and Lossy Networks"">RFC5867</a>]. A
survey of the application field is described in [<a href="#ref-BC-Survey">BC-Survey</a>].
<span class="h3"><a class="selflink" id="section-1.4" href="#section-1.4">1.4</a>. Requirements That Are Out of Scope</span>
The considered network diameter is limited to a maximum diameter of
10 hops and a typical diameter of five hops; this captures the most
common cases in home automation and building control networks.
This document does not consider the applicability of RPL-related
specifications for urban and industrial applications [<a href="./rfc5548" title=""Routing Requirements for Urban Low-Power and Lossy Networks"">RFC5548</a>]
[<a href="./rfc5673" title=""Industrial Routing Requirements in Low-Power and Lossy Networks"">RFC5673</a>], which may exhibit significantly larger network diameters.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Deployment Scenario</span>
The use of communications networks in buildings is essential to
satisfy energy-saving regulations. Environmental conditions of
buildings can be adapted to suit the comfort of the individuals
present inside. Consequently, when no one is present, energy
consumption can be reduced. Cost is the main driving factor behind
deployment of wireless networking in buildings, especially in the
case of retrofitting, where wireless connectivity saves costs
incurred due to cabling and building modifications.
A typical home automation network is comprised of less than
100 nodes. Large building deployments may span 10,000 nodes, but to
ensure uninterrupted service of light and air conditioning systems in
individual zones of the building, nodes are typically organized in
subnetworks. Each subnetwork in a building automation deployment
typically contains tens to hundreds of nodes and, for critical
operations, may operate independently from the other subnetworks.
The main purpose of the home or building automation network is to
provide control over light and heating/cooling resources. User
intervention via wall controllers is combined with movement, light
and temperature sensors to enable automatic adjustment of window
blinds, reduction of room temperature, etc. In general, the sensors
<span class="grey">Brandt, et al. Standards Track [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc7733">RFC 7733</a> RPL in Home and Building February 2016</span>
and actuators in a home or building typically have fixed physical
locations and will remain in the same home or building automation
network.
People expect an immediate and reliable response to their presence or
actions. For example, a light not switching on after entry into a
room may lead to confusion and a profound dissatisfaction with the
lighting product.
Monitoring of functional correctness is at least as important as
timely responses. Devices typically communicate their status
regularly and send alarm messages to notify users or implementers
that a malfunction of controlled equipment or a controlled network
has occurred.
In building control, the infrastructure of the building management
network can be shared with security/access, Internet Protocol (IP)
telephony, and fire/alarm networks. This approach has a positive
impact on the operation and cost of the network; however, care should
be taken to ensure that the availability of the building management
network does not become compromised beyond the ability of critical
functions to perform adequately.
In homes, the entertainment network for audio/video streaming and
gaming has different requirements, where the most important
requirement is the need for high bandwidth not typically needed for
home or building control. It is therefore expected that the
entertainment network in the home will mostly be separate from the
control network, as this will also lessen the impact on the
availability of the control network.
<span class="h3"><a class="selflink" id="section-2.1" href="#section-2.1">2.1</a>. Network Topologies</span>
In general, the home automation network or building control network
consists of wired and wireless subnetworks. In large buildings in
particular, the wireless subnetworks can be connected to an IP
backbone network where all infrastructure services (e.g., Domain Name
System (DNS), automation servers) are located.
<span class="grey">Brandt, et al. Standards Track [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc7733">RFC 7733</a> RPL in Home and Building February 2016</span>
The wireless subnetwork can be configured according to any of the
following topologies:
o A stand-alone network of 10-100 nodes without a border router.
This typically occurs in the home with a stand-alone control
network, in low-cost buildings, and during installation of
high-end control systems in buildings.
o A connected network with one border router. This configuration
will happen in homes where home appliances are controlled from
outside the home, possibly via a smart phone, and in many building
control scenarios.
o A connected network with multiple border routers. This will
typically happen in installations of large buildings.
Many of the nodes are battery powered and may be sleeping nodes that
wake up according to clock signals or external events.
In a building control network, for a large installation with multiple
border routers, subnetworks often overlap both geographically and
from a wireless coverage perspective. Due to two purposes of the
network -- (i) direct control and (ii) monitoring -- there may exist
two types of routing topologies in a given subnetwork:
(i) a tree-shaped collection of routes spanning from a central
building controller via the border router, on to destination nodes in
the subnetwork, and (ii) a flat, undirected collection of
intra-network routes between functionally related nodes in the
subnetwork.
The majority of nodes in home and building automation networks are
typically Class 0 devices [<a href="./rfc7228" title=""Terminology for Constrained-Node Networks"">RFC7228</a>], such as individual wall
switches. Only a few nodes (such as multi-purpose remote controls)
are more expensive Class 1 devices, which can afford more memory
capacity.
<span class="h3"><a class="selflink" id="section-2.2" href="#section-2.2">2.2</a>. Traffic Characteristics</span>
Traffic may enter the network originating from a central controller,
or it may originate from an intra-network node. The majority of
traffic is of a lightweight point-to-point control style, e.g.,
Put-Ack or Get-Response. There are, however, exceptions. Bulk data
transfer is used for firmware updates and logging, where firmware
updates enter the network and logs leave the network. Group
communication is used for service discovery or to control groups of
nodes, such as light fixtures.
<span class="grey">Brandt, et al. Standards Track [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc7733">RFC 7733</a> RPL in Home and Building February 2016</span>
Often, there is a direct physical relationship between a controlling
sensor and the controlled equipment. For example, the temperature
sensor and room controller are located in the same room, sharing the
same climate conditions. Consequently, the bulk of senders and
receivers are separated by a distance that allows one-hop direct path
communication. A graph of the communication will show several fully
connected subsets of nodes. However, due to interference, multipath
fading, reflection, and other transmission mechanisms, the one-hop
direct path may be temporarily disconnected. For reliability
purposes, it is therefore essential that alternative n-hop
communication routes exist for quick error recovery. (See <a href="#appendix-B">Appendix B</a>
for motivation.)
Looking over time periods of a day, the networks are very lightly
loaded. However, bursts of traffic can be generated by, for example,
incessant pushing of the button of a remote control, the occurrence
of a defect, and other unforeseen events. Under those conditions,
the timeliness must nevertheless be maintained. Therefore, measures
are necessary to remove any unnecessary traffic. Short routes are
preferred. Long multi-hop routes via the border router should be
avoided whenever possible.
Group communication is essential for lighting control. For example,
once the presence of a person is detected in a given room, lighting
control applies to that room only, and no other lights should be
dimmed or switched on/off. In many cases, this means that a
multicast message with a one-hop and two-hop radius would suffice to
control the required lights. The same argument holds for Heating,
Ventilating, and Air Conditioning (HVAC) and other climate-control
devices. To reduce network load, it is advisable that messages to
the lights in a room are not distributed any further in the mesh than
necessary, based on intended receivers.
[<a id="ref-Office-Light">Office-Light</a>] provides an example of an office space, and
[<a href="#ref-OccuSwitch">OccuSwitch</a>] describes the current use of wireless lighting control
products.
<span class="h4"><a class="selflink" id="section-2.2.1" href="#section-2.2.1">2.2.1</a>. General</span>
Although air conditioning and other environmental-control
applications may accept response delays of tens of seconds or longer,
alarm and light control applications may be regarded as soft
real-time systems. A slight delay is acceptable, but the perceived
quality of service degrades significantly if response times exceed
250 ms. If the light does not turn on at short notice, a user may
activate the controls again, thus causing a sequence of commands such
as Light{on,off,on,off,...} or Volume{up,up,up,up,up,...}. In
<span class="grey">Brandt, et al. Standards Track [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc7733">RFC 7733</a> RPL in Home and Building February 2016</span>
addition, the repetitive sending of commands creates an unnecessary
loading of the network, which in turn increases the poor
responsiveness of the network.
<span class="h4"><a class="selflink" id="section-2.2.2" href="#section-2.2.2">2.2.2</a>. Source-Sink (SS) Communication Paradigm</span>
This paradigm translates to many sources sending messages to the same
sink, sometimes reachable via the border router. As such,
Source-Sink (SS) traffic can be present in home and building
networks. The traffic may be generated by environmental sensors
(often present in a wireless subnetwork) that push periodic readings
to a central server. The readings may be used for pure logging or,
more often, processed to adjust light, heating, and ventilation.
Alarm sensors may also generate SS-style traffic. The central server
in a home automation network will be connected mostly to a wired
network segment of the home network, although it is likely that cloud
services will also be used. The central server in a building
automation network may be connected to a backbone or placed outside
the building.
With regard to message latency, most SS transmissions can tolerate
worst-case delays measured in tens of seconds. Fire detectors,
however, represent an exception; for example, special provisions with
respect to the location of the fire detectors and smoke dampers need
to be put in place to meet stringent delay requirements that are
measured in seconds.
<span class="h4"><a class="selflink" id="section-2.2.3" href="#section-2.2.3">2.2.3</a>. Publish-Subscribe (PS, or Pub/Sub) Communication Paradigm</span>
This paradigm translates to a number of devices expressing their
interest in a service provided by a server device. For example, a
server device can be a sensor delivering temperature readings on the
basis of delivery criteria, like changes in acquisition value or age
of the latest acquisition. In building automation networks, this
paradigm may be closely related to the SS paradigm, given that
servers, which are connected to the backbone or outside the building,
can subscribe to data collectors that are present at strategic places
in the building automation network. The use of PS will probably
differ significantly from installation to installation.
<span class="h4"><a class="selflink" id="section-2.2.4" href="#section-2.2.4">2.2.4</a>. Peer-to-Peer (P2P) Communication Paradigm</span>
This paradigm translates to a device transferring data to another
device often connected to the same subnetwork. Peer-to-Peer (P2P)
traffic is a common traffic type in home automation networks. Most
building automation networks rely on P2P traffic as described in the
next paragraph. Other building automation networks rely on P2P
control traffic between controls and a local controller box for
<span class="grey">Brandt, et al. Standards Track [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc7733">RFC 7733</a> RPL in Home and Building February 2016</span>
advanced group control. A local controller box can be further
connected to service control boxes, thus generating more SS or PS
traffic.
P2P traffic is typically generated by remote controls and wall
controllers that push Control Messages directly to light or heat
sources. P2P traffic has a stringent requirement for low latency,
since P2P traffic often carries application messages that are invoked
by humans. As mentioned in <a href="#section-2.2.1">Section 2.2.1</a>, application messages
should be delivered within a few hundred milliseconds, even when
connections fail momentarily.
<span class="h4"><a class="selflink" id="section-2.2.5" href="#section-2.2.5">2.2.5</a>. Peer-to-Multipeer (P2MP) Communication Paradigm</span>
This paradigm translates to a device sending a message as many times
as there are destination devices. Peer-to-Multipeer (P2MP) traffic
is common in home and building automation networks. Often, a
thermostat in a living room responds to temperature changes by
sending temperature acquisitions to several fans and valves
consecutively. This paradigm is also closely related to the PS
paradigm in the case where a single server device has multiple
subscribers.
<span class="h4"><a class="selflink" id="section-2.2.6" href="#section-2.2.6">2.2.6</a>. Additional Considerations: Duocast and N-Cast</span>
This paradigm translates to a device sending a message to many
destinations in one network transfer invocation. Multicast is well
suited for lighting where a presence sensor sends a presence message
to a set of lighting devices. Multicast increases the probability
that the message is delivered within strict time constraints. The
recommended multicast algorithm (e.g., [<a href="./rfc7731" title=""Multicast Protocol for Low-Power and Lossy Networks (MPL)"">RFC7731</a>]) provides a
mechanism for delivering messages to all intended destinations.
<span class="h4"><a class="selflink" id="section-2.2.7" href="#section-2.2.7">2.2.7</a>. RPL Applicability per Communication Paradigm</span>
In the case of the SS paradigm applied to a wireless subnetwork to a
server reachable via a border router, the use of RPL [<a href="./rfc6550" title=""RPL: IPv6 Routing Protocol for Low-Power and Lossy Networks"">RFC6550</a>] in
non-storing mode is appropriate. Given the low resources of the
devices, source routing will be used from the border router to the
destination in the wireless subnetwork for messages generated outside
the mesh network. No specific timing constraints are associated with
the SS-type messages, so network repair does not violate the
operational constraints. When no SS traffic takes place, it is good
practice to load only RPL code that enables the P2P mode of operation
[<a href="./rfc6997" title=""Reactive Discovery of Point-to-Point Routes in Low-Power and Lossy Networks"">RFC6997</a>] to reduce the code size and satisfy memory requirements.
<span class="grey">Brandt, et al. Standards Track [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc7733">RFC 7733</a> RPL in Home and Building February 2016</span>
To assure responsiveness, P2P-RPL [<a href="./rfc6997" title=""Reactive Discovery of Point-to-Point Routes in Low-Power and Lossy Networks"">RFC6997</a>] is required for all P2P
and P2MP traffic taking place between nodes within a wireless
subnetwork (excluding the border router). Source and destination
devices are typically physically close, based on room layout.
Consequently, most P2P and P2MP traffic is one-hop or two-hop
traffic. <a href="#appendix-A">Appendix A</a> identifies shortcomings of using RPL for this
type of communication; these shortcomings are counteracted through
the use of P2P-RPL. <a href="#appendix-B">Appendix B</a> explains why reliability measures
such as multipath routing are necessary even when one-hop
communication dominates.
Examples of additional advantages of P2P-RPL for home and building
automation networks are as follows:
o Individual wall switches are typically inexpensive Class 0 devices
[<a href="./rfc7228" title=""Terminology for Constrained-Node Networks"">RFC7228</a>] with extremely low memory capacities. Multi-purpose
remote controls for use in a home environment typically have more
memory, but such devices are asleep when there is no user
activity. P2P-RPL reactive discovery allows a node to wake up and
find new routes within a few seconds, while memory-constrained
nodes only have to keep routes to relevant targets.
o The reactive discovery features of P2P-RPL ensure that commands
are normally delivered within the 250 ms time window. When
connectivity needs to be restored, discovery is typically
completed within seconds. In most cases, an alternative route (a
route that was discovered earlier) will work and route rediscovery
is not necessary.
o Broadcast storms typically associated with route discovery for the
Ad hoc On-Demand Distance Vector (AODV) [<a href="./rfc3561" title=""Ad hoc On-Demand Distance Vector (AODV) Routing"">RFC3561</a>] are less
disruptive for P2P-RPL. P2P-RPL has a "Stop" bit, which is set by
the target of a route discovery to notify all other nodes that no
more Destination-Oriented Directed Acyclic Graph (DODAG)
Information Object (DIO) messages should be forwarded for this
temporary DAG. Something that looks like a broadcast storm may
happen when no target is responding; however, in this case, the
Trickle suppression mechanism kicks in, limiting the number of DIO
forwards in dense networks.
Due to the limited memory of the majority of devices, P2P-RPL SHOULD
be deployed with source routing in non-storing mode, as explained in
<a href="#section-4.1.2">Section 4.1.2</a>.
<span class="grey">Brandt, et al. Standards Track [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc7733">RFC 7733</a> RPL in Home and Building February 2016</span>
Multicast with the Multicast Protocol for Low-Power and Lossy
Networks (MPL) [<a href="./rfc7731" title=""Multicast Protocol for Low-Power and Lossy Networks (MPL)"">RFC7731</a>] is preferably deployed for N-cast over the
wireless network. Configuration constraints that are necessary to
meet reliability and timeliness with MPL are discussed in
<a href="#section-4.1.7">Section 4.1.7</a>.
<span class="h3"><a class="selflink" id="section-2.3" href="#section-2.3">2.3</a>. Layer 2 Applicability</span>
This document applies to [<a href="#ref-IEEE802.15.4">IEEE802.15.4</a>] and [<a href="#ref-G.9959" title=""Short range narrow-band digital radiocommunication transceivers - PHY, MAC, SAR and LLC layer specifications"">G.9959</a>], which are
adapted to IPv6 by the adaptation layers [<a href="./rfc4944" title=""Transmission of IPv6 Packets over IEEE 802.15.4 Networks"">RFC4944</a>] and [<a href="./rfc7428" title=""Transmission of IPv6 Packets over ITU-T G.9959 Networks"">RFC7428</a>].
Other Layer 2 technologies, accompanied by an "IP-over-Foo"
specification, are also relevant, provided there is no frame size
issue and there are link-layer acknowledgements.
The above-mentioned adaptation layers leverage on the compression
capabilities of [<a href="./rfc6554" title=""An IPv6 Routing Header for Source Routes with the Routing Protocol for Low-Power and Lossy Networks (RPL)"">RFC6554</a>] and [<a href="./rfc6282" title=""Compression Format for IPv6 Datagrams over IEEE 802.15.4-Based Networks"">RFC6282</a>]. Header compression allows
small IP packets to fit into a single Layer 2 frame, even when source
routing is used. A network diameter limited to five hops helps to
achieve this, even while using source routing.
Dropped packets are often experienced in the targeted environments.
Internet Control Message Protocol (ICMP), User Datagram Protocol
(UDP), and even Transmission Control Protocol (TCP) flows may benefit
from link-layer unicast acknowledgements and retransmissions.
Link-layer unicast acknowledgements SHOULD be enabled when
[<a href="#ref-IEEE802.15.4">IEEE802.15.4</a>] or [<a href="#ref-G.9959" title=""Short range narrow-band digital radiocommunication transceivers - PHY, MAC, SAR and LLC layer specifications"">G.9959</a>] is used with RPL and P2P-RPL.
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Using RPL to Meet Functional Requirements</span>
Several features required by [<a href="./rfc5826" title=""Home Automation Routing Requirements in Low-Power and Lossy Networks"">RFC5826</a>] and [<a href="./rfc5867" title=""Building Automation Routing Requirements in Low-Power and Lossy Networks"">RFC5867</a>] challenge the
P2P paths provided by RPL. <a href="#appendix-A">Appendix A</a> reviews these challenges. In
some cases, a node may need to spontaneously initiate the discovery
of a path towards a desired destination that is neither the root of a
DAG nor a destination originating Destination Advertisement Object
(DAO) signaling. Furthermore, P2P paths provided by RPL are not
satisfactory in all cases because they involve too many intermediate
nodes before reaching the destination.
P2P-RPL [<a href="./rfc6997" title=""Reactive Discovery of Point-to-Point Routes in Low-Power and Lossy Networks"">RFC6997</a>] SHOULD be used in home automation and building
control networks, as traffic of a point-to-point style is substantial
and route repair needs to be completed within seconds. P2P-RPL
provides a reactive mechanism for quick, efficient, and root-
independent route discovery/repair. The use of P2P-RPL furthermore
allows data traffic to avoid having to go through a central region
around the root of the tree and drastically reduces path length
[<a href="#ref-SOFT11" title=""The P2P-RPL Routing Protocol for IPv6 Sensor Networks: Testbed Experiments"">SOFT11</a>] [<a href="#ref-INTEROP12">INTEROP12</a>]. These characteristics are desirable in home
and building automation networks because they substantially decrease
unnecessary network congestion around the root of the tree.
<span class="grey">Brandt, et al. Standards Track [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc7733">RFC 7733</a> RPL in Home and Building February 2016</span>
When more reliability is required, P2P-RPL enables the establishment
of multiple independent paths. For one-hop destinations, this means
that one one-hop communication and a second two-hop communication
take place via a neighboring node. Such a pair of redundant
communication paths can be achieved by using MPL, where the source is
an MPL Forwarder while a second MPL Forwarder is one hop away from
both the source and the destination node. When the source multicasts
the message, it may be received by both the destination and the
second MPL Forwarder. The second MPL Forwarder forwards the message
to the destination, thus providing two routes from sender to
destination.
To provide more reliability with multiple paths, P2P-RPL can maintain
two independent P2P source routes per destination, at the source.
Good practice is to use the paths alternately to assess their
existence. When one P2P path has failed (possibly only temporarily),
as described in <a href="#appendix-B">Appendix B</a>, the alternative P2P path can be used
without discarding the failed path. The failed P2P path, unless
proven to work again, can be safely discarded after a timeout
(typically 15 minutes). A new route discovery is done when the
number of P2P paths is exhausted due to persistent link failures.
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. RPL Profile</span>
P2P-RPL SHOULD be used in home automation and building control
networks. Its reactive discovery allows for low application response
times, even when on-the-fly route repair is needed. Non-storing mode
SHOULD be used to reduce memory consumption in repeaters with
constrained memory when source routing is used.
<span class="h3"><a class="selflink" id="section-4.1" href="#section-4.1">4.1</a>. RPL Features</span>
An important constraint on the application of RPL is the presence of
sleeping nodes.
For example, in a stand-alone network, the master node (or
coordinator) providing the logical Layer 2 identifier and unique node
identifiers to connected nodes may be a remote control that returns
to sleep once new nodes have been added. Due to the absence of the
border router, there may be no global routable prefixes at all.
Likewise, there may be no authoritative always-on root node, since
there is no border router to host this function.
In a network with a border router and many sleeping nodes, there may
be battery-powered sensors and wall controllers configured to contact
other nodes in response to events and then return to sleep. Such
nodes may never detect the announcement of new prefixes via
multicast.
<span class="grey">Brandt, et al. Standards Track [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc7733">RFC 7733</a> RPL in Home and Building February 2016</span>
In each of the above-mentioned constrained deployments, a link-layer
node (e.g., coordinator or master) SHOULD assume the role of an
authoritative root node, transmitting unicast Router Advertisement
(RA) messages with a Unique Local Address (ULA) prefix information
option to nodes during the joining process to prepare the nodes for a
later operational phase, where a border router is added.
A border router SHOULD be designed to be aware of sleeping nodes in
order to support the distribution of updated global prefixes to such
sleeping nodes.
<span class="h4"><a class="selflink" id="section-4.1.1" href="#section-4.1.1">4.1.1</a>. RPL Instances</span>
When operating P2P-RPL on a stand-alone basis, there is no
authoritative root node maintaining a permanent RPL DODAG. A node
MUST be able to join at least one RPL Instance, as a new, temporary
instance is created during each P2P-RPL route discovery operation. A
node MAY be designed to join multiple RPL Instances.
<span class="h4"><a class="selflink" id="section-4.1.2" href="#section-4.1.2">4.1.2</a>. Storing vs. Non-Storing Mode</span>
Non-storing mode MUST be used to cope with the extremely constrained
memory of a majority of nodes in the network (such as individual
light switches).
<span class="h4"><a class="selflink" id="section-4.1.3" href="#section-4.1.3">4.1.3</a>. DAO Policy</span>
Nodes send DAO messages to establish downward paths from the root to
themselves. In order to minimize the power consumption overhead
associated with path discovery, DAO messages are not acknowledged in
networks composed of battery-operated field devices. The DAO
messages build up a source route because the nodes MUST be in
non-storing mode.
If devices in LLNs participate in multiple RPL Instances and DODAGs,
both the RPLInstance ID and the DODAGID SHOULD be included in
the DAO.
<span class="h4"><a class="selflink" id="section-4.1.4" href="#section-4.1.4">4.1.4</a>. Path Metrics</span>
Expected Transmission Count (ETX) is the RECOMMENDED metric.
[<a href="./rfc6551" title=""Routing Metrics Used for Path Calculation in Low-Power and Lossy Networks"">RFC6551</a>] provides other options.
Packets from asymmetric and/or unstable links SHOULD be deleted at
Layer 2.
<span class="grey">Brandt, et al. Standards Track [Page 15]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-16" ></span>
<span class="grey"><a href="./rfc7733">RFC 7733</a> RPL in Home and Building February 2016</span>
<span class="h4"><a class="selflink" id="section-4.1.5" href="#section-4.1.5">4.1.5</a>. Objective Function</span>
Objective Function Zero (OF0) [<a href="./rfc6552" title=""Objective Function Zero for the Routing Protocol for Low-Power and Lossy Networks (RPL)"">RFC6552</a>] MUST be the Objective
Function. Other Objective Functions MAY be used when dictated by
circumstances.
<span class="h4"><a class="selflink" id="section-4.1.6" href="#section-4.1.6">4.1.6</a>. DODAG Repair</span>
Since P2P-RPL only creates DODAGs on a temporary basis during route
repair or route discovery, there is no need to repair DODAGs.
For SS traffic, local repair is sufficient. The accompanying process
is known as "poisoning" and is described in <a href="./rfc6550#section-8.2.2.5">Section 8.2.2.5 of
[RFC6550]</a>. Given that the majority of nodes in the building do not
physically move around, creating new DODAGs should not happen
frequently.
<span class="h4"><a class="selflink" id="section-4.1.7" href="#section-4.1.7">4.1.7</a>. Multicast</span>
Commercial lighting deployments may have a need for multicast to
distribute commands to a group of lights in a timely fashion.
Several mechanisms exist for achieving such functionality; [<a href="./rfc7731" title=""Multicast Protocol for Low-Power and Lossy Networks (MPL)"">RFC7731</a>]
is the RECOMMENDED protocol for home and building deployments. This
section relies heavily on the conclusions of [<a href="#ref-RT-MPL" title=""Real-Time multicast for wireless mesh networks using MPL"">RT-MPL</a>].
At reception of a packet, the MPL Forwarder starts a series of
consecutive Trickle timer intervals, where the first interval has a
minimum size of Imin. Each consecutive interval is twice as long as
the former, with a maximum value of Imax. There is a maximum number
of intervals given by max_expiration. For each interval of length I,
a time t is randomly chosen in the period [I/2, I]. For a given
packet, p, MPL counts the number of times it receives p during the
period [0, t] in a counter c. At time t, MPL rebroadcasts p when
c < k, where k is a predefined constant with a value k > 0.
The density of forwarders and the frequency of message generation are
important aspects to obtain timeliness during control operations.
A high frequency of message generation can be expected when a
remote-control button is incessantly pressed or when alarm situations
arise.
Guaranteeing timeliness is intimately related to the density of the
MPL routers. In ideal circumstances, the message is propagated as a
single wave through the network, such that the maximum delay is
related to the number of hops times the smallest repetition interval
of MPL. Each forwarder that receives the message passes the message
on to the next hop by repeating the message. When several copies of
a message reach the forwarder, it is specified that the copy need not
<span class="grey">Brandt, et al. Standards Track [Page 16]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-17" ></span>
<span class="grey"><a href="./rfc7733">RFC 7733</a> RPL in Home and Building February 2016</span>
be repeated. Repetition of the message can be inhibited by a small
value of k. To assure timeliness, the chosen value of k should be
high enough to make sure that messages are repeated at the first
arrival of the message in the forwarder. However, a network that is
too dense leads to a saturation of the medium that can only be
prevented by selecting a low value of k. Consequently, timeliness is
assured by choosing a relatively high value of k but assuring at the
same time a low enough density of forwarders to reduce the risk of
medium saturation. Depending on the reliability of the network
links, it is advisable to configure the density of the network such
that at least two forwarders per hop repeat messages to the same set
of destinations.
There are no rules about selecting forwarders for MPL. In buildings
with central management tools, the forwarders can be selected, but at
the time of this writing it is not possible to automatically
configure the forwarder topology in the home.
<span class="h4"><a class="selflink" id="section-4.1.8" href="#section-4.1.8">4.1.8</a>. Security</span>
RPL MAY use unsecured RPL messages to reduce message size. If there
is a single node that uses unsecured RPL messages, link-layer
security MUST be used on all nodes. Therefore, all RPL messages MUST
be secured using:
o RPL message security, or
o Link-layer security, or
o Both RPL message security and link-layer security
A symmetric key is used to secure a RPL message using either RPL
message security or link-layer security. The symmetric key MUST be
distributed or established in a secure fashion. There may be more
than one symmetric key in use by any node at any one time. The same
symmetric key MUST NOT be used for both RPL message security and
link-layer security between two peer nodes.
<span class="grey">Brandt, et al. Standards Track [Page 17]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-18" ></span>
<span class="grey"><a href="./rfc7733">RFC 7733</a> RPL in Home and Building February 2016</span>
<span class="h5"><a class="selflink" id="section-4.1.8.1" href="#section-4.1.8.1">4.1.8.1</a>. Symmetric Key Distribution</span>
The scope of symmetric key distribution MUST be no greater than the
network itself, i.e., a group key. This document describes what
needs to be implemented to meet this requirement. The scope of
symmetric key distribution MAY be smaller than the network -- for
example:
o A pairwise symmetric key between two peers.
o A group key shared between a subset of nodes in the network.
<span class="h5"><a class="selflink" id="section-4.1.8.2" href="#section-4.1.8.2">4.1.8.2</a>. Symmetric Key Distribution Mechanism</span>
The authentication mechanism as described in Section 6.9 of
[<a href="#ref-ZigBeeIP">ZigBeeIP</a>] SHALL be used to securely distribute a network-wide
symmetric key.
The purpose of the authentication procedure is to provide mutual
authentication resulting in:
o Preventing untrusted nodes without appropriate credentials from
joining the trusted network.
o Preventing trusted nodes with appropriate credentials from joining
an untrusted network.
There is an Authentication Server, which is responsible for
authenticating the nodes on the network. If the authentication is
successful, the Authentication Server sends the network security
material to the joining node through the Protocol for Carrying
Authentication for Network Access (PANA) [<a href="./rfc5191" title=""Protocol for Carrying Authentication for Network Access (PANA)"">RFC5191</a>] [<a href="./rfc6345" title=""Protocol for Carrying Authentication for Network Access (PANA) Relay Element"">RFC6345</a>]. The
joining node becomes a full participating node in the network and is
able to apply Layer 2 security to RPL messages using the distributed
network key.
The joining node does not initially have access to the network
security material. Therefore, it is not able to apply Layer 2
security to the packets exchanged during the authentication process.
The enforcement point rules at the edge of the network ensure that
the packets involved in PANA authentication are processed even though
they are unsecured at the Medium Access Control (MAC) layer. The
rules also ensure that any other incoming traffic that is not secured
at the MAC layer is discarded and is not forwarded.
<span class="grey">Brandt, et al. Standards Track [Page 18]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-19" ></span>
<span class="grey"><a href="./rfc7733">RFC 7733</a> RPL in Home and Building February 2016</span>
<span class="h6"><a class="selflink" id="section-4.1.8.2.1" href="#section-4.1.8.2.1">4.1.8.2.1</a>. Authentication Stack</span>
Authentication can be viewed as a protocol stack as a layer
encapsulates the layers above it.
o Transport Layer Security (TLS) [<a href="./rfc5246" title=""The Transport Layer Security (TLS) Protocol Version 1.2"">RFC5246</a>] MUST be used at the
highest layer of the authentication stack and carries the
authentication exchange. There is one cipher suite based on a
Pre-Shared Key (PSK) [<a href="./rfc6655" title=""AES-CCM Cipher Suites for Transport Layer Security (TLS)"">RFC6655</a>] and one cipher suite based on
Elliptic Curve Cryptography (ECC) [<a href="./rfc7251" title=""AES-CCM Elliptic Curve Cryptography (ECC) Cipher Suites for TLS"">RFC7251</a>].
o Extensible Authentication Protocol-TLS (EAP-TLS) [<a href="./rfc5216" title=""The EAP-TLS Authentication Protocol"">RFC5216</a>] MUST be
used at the next layer to carry the TLS records for the
authentication protocol.
o EAP [<a href="./rfc3748" title=""Extensible Authentication Protocol (EAP)"">RFC3748</a>] MUST be used to provide the mechanisms for mutual
authentication. EAP requires a way to transport EAP packets
between the joining node and the node on which the Authentication
Server resides. These nodes are not necessarily in radio range of
each other, so it is necessary to have multi-hop support in the
EAP transport method. PANA [<a href="./rfc5191" title=""Protocol for Carrying Authentication for Network Access (PANA)"">RFC5191</a>] [<a href="./rfc6345" title=""Protocol for Carrying Authentication for Network Access (PANA) Relay Element"">RFC6345</a>], which operates
over UDP, MUST be used for this purpose. [<a href="./rfc3748" title=""Extensible Authentication Protocol (EAP)"">RFC3748</a>] specifies the
derivation of a session key using the EAP key hierarchy; only the
EAP Master Session Key shall be derived, as [<a href="./rfc5191" title=""Protocol for Carrying Authentication for Network Access (PANA)"">RFC5191</a>] specifies
that it is used to set up keys for PANA authentication and
encryption.
o PANA [<a href="./rfc5191" title=""Protocol for Carrying Authentication for Network Access (PANA)"">RFC5191</a>] and a PANA relay [<a href="./rfc6345" title=""Protocol for Carrying Authentication for Network Access (PANA) Relay Element"">RFC6345</a>] MUST be used at the next
layer:
* The joining node MUST act as the PANA Client (PaC).
* The parent edge router node MUST act as a PANA Relay Element
(PRE) according to [<a href="./rfc6345" title=""Protocol for Carrying Authentication for Network Access (PANA) Relay Element"">RFC6345</a>], unless it is also the
Authentication Server. All routers at the edge of the network
MUST be capable of functioning in the PRE role.
* The Authentication Server node MUST act as the PANA
Authentication Agent (PAA). The Authentication Server MUST be
able to handle packets relayed according to [<a href="./rfc6345" title=""Protocol for Carrying Authentication for Network Access (PANA) Relay Element"">RFC6345</a>].
This network authentication process uses link-local IPv6 addresses
for transport between the new node and its parent. If the parent is
not the Authentication Server, it MUST then relay packets from the
joining node to the Authentication Server and vice versa, using the
PANA relay mechanism [<a href="./rfc6345" title=""Protocol for Carrying Authentication for Network Access (PANA) Relay Element"">RFC6345</a>]. The joining node MUST use a
link-local address based on its EUI-64 as the source address for
initial PANA authentication message exchanges.
<span class="grey">Brandt, et al. Standards Track [Page 19]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-20" ></span>
<span class="grey"><a href="./rfc7733">RFC 7733</a> RPL in Home and Building February 2016</span>
<span class="h6"><a class="selflink" id="section-4.1.8.2.2" href="#section-4.1.8.2.2">4.1.8.2.2</a>. Applicability Statements</span>
The following applicability statements describe the relationship
between the various specifications.
<span class="h6"><a class="selflink" id="section-4.1.8.2.2.1" href="#section-4.1.8.2.2.1">4.1.8.2.2.1</a>. Applicability Statement for PSK TLS</span>
[<a id="ref-RFC6655">RFC6655</a>] contains Authenticated Encryption with Associated Data
(AEAD) TLS cipher suites that are very similar to [<a href="./rfc5487" title=""Pre-Shared Key Cipher Suites for TLS with SHA-256/384 and AES Galois Counter Mode"">RFC5487</a>], whose
AEAD part is detailed in [<a href="./rfc5116" title=""An Interface and Algorithms for Authenticated Encryption"">RFC5116</a>]. [<a href="./rfc5487" title=""Pre-Shared Key Cipher Suites for TLS with SHA-256/384 and AES Galois Counter Mode"">RFC5487</a>] references both
[<a href="./rfc5288" title=""AES Galois Counter Mode (GCM) Cipher Suites for TLS"">RFC5288</a>] and the original PSK cipher suite document [<a href="./rfc4279" title=""Pre-Shared Key Ciphersuites for Transport Layer Security (TLS)"">RFC4279</a>], which
references <a href="./rfc2246">RFC 2246</a>, which was eventually replaced by [<a href="./rfc5246" title=""The Transport Layer Security (TLS) Protocol Version 1.2"">RFC5246</a>],
which defines the TLS 1.2 messages.
<span class="h6"><a class="selflink" id="section-4.1.8.2.2.2" href="#section-4.1.8.2.2.2">4.1.8.2.2.2</a>. Applicability Statement for ECC TLS</span>
[<a id="ref-RFC7251">RFC7251</a>] contains AEAD TLS cipher suites that are very similar to
[<a href="./rfc5289" title=""TLS Elliptic Curve Cipher Suites with SHA-256/384 and AES Galois Counter Mode (GCM)"">RFC5289</a>], whose AEAD part is detailed in [<a href="./rfc5116" title=""An Interface and Algorithms for Authenticated Encryption"">RFC5116</a>]. [<a href="./rfc5289" title=""TLS Elliptic Curve Cipher Suites with SHA-256/384 and AES Galois Counter Mode (GCM)"">RFC5289</a>]
references the original ECC cipher suite document [<a href="./rfc4492" title=""Elliptic Curve Cryptography (ECC) Cipher Suites for Transport Layer Security (TLS)"">RFC4492</a>], which
references <a href="./rfc2246">RFC 2246</a>, which was eventually replaced by [<a href="./rfc5246" title=""The Transport Layer Security (TLS) Protocol Version 1.2"">RFC5246</a>],
which defines the TLS 1.2 messages.
<span class="h6"><a class="selflink" id="section-4.1.8.2.2.3" href="#section-4.1.8.2.2.3">4.1.8.2.2.3</a>. Applicability Statement for EAP-TLS and PANA</span>
[<a id="ref-RFC5216">RFC5216</a>] specifies how [<a href="./rfc3748" title=""Extensible Authentication Protocol (EAP)"">RFC3748</a>] is used to package [<a href="./rfc5246" title=""The Transport Layer Security (TLS) Protocol Version 1.2"">RFC5246</a>] TLS
records into EAP packets. [<a href="./rfc5191" title=""Protocol for Carrying Authentication for Network Access (PANA)"">RFC5191</a>] provides transportation for the
EAP packets and the network-wide key carried in an encrypted
Attribute-Value Pair (AVP) as specified in [<a href="./rfc6786" title=""Encrypting the Protocol for Carrying Authentication for Network Access (PANA) Attribute-Value Pairs"">RFC6786</a>]. The proposed
Pseudorandom Function (PRF) and authentication (AUTH) hashes based on
SHA-256 are represented as specified in [<a href="./rfc7296" title=""Internet Key Exchange Protocol Version 2 (IKEv2)"">RFC7296</a>] and detailed in
[<a href="./rfc4868" title=""Using HMAC-SHA-256, HMAC-SHA-384, and HMAC-SHA-512 with IPsec"">RFC4868</a>].
<span class="h6"><a class="selflink" id="section-4.1.8.2.3" href="#section-4.1.8.2.3">4.1.8.2.3</a>. Security Using RPL Message Security</span>
If RPL is used with secured messages [<a href="./rfc6550" title=""RPL: IPv6 Routing Protocol for Low-Power and Lossy Networks"">RFC6550</a>], the following RPL
security parameter values SHOULD be used:
o Counter is Time (T) flag = 0: Do not use the timestamp in the
Counter field. Counters based on timestamps are typically more
applicable to industrial networks, where strict timing
synchronization between nodes is often implemented. Home and
building networks typically do not implement such strict timing
synchronization; therefore, a monotonically increasing counter is
more appropriate.
o Algorithm = 0: Use Counter with the Cipher Block Chaining Message
Authentication Code (CBC-MAC Mode) (CCM) with AES-128. This is
the only assigned mode at present.
<span class="grey">Brandt, et al. Standards Track [Page 20]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-21" ></span>
<span class="grey"><a href="./rfc7733">RFC 7733</a> RPL in Home and Building February 2016</span>
o Key Identifier Mode (KIM) = 10: Use a group key, Key Source
present, and Key Index present. Given the relatively confined
perimeter of a home or building network, a group key is usually
sufficient to protect RPL messages sent between nodes. The use of
the Key Source field allows multiple group keys to be used within
the network.
o Security Level (LVL) = 0: Use MAC-32. This is recommended, as
integrity protection for RPL messages is the basic requirement.
Encryption is unlikely to be necessary, given the relatively
non-confidential nature of RPL message payloads.
<span class="h4"><a class="selflink" id="section-4.1.9" href="#section-4.1.9">4.1.9</a>. P2P Communications</span>
[<a id="ref-RFC6997">RFC6997</a>] MUST be used to accommodate P2P traffic, which is typically
substantial in home and building automation networks.
<span class="h4"><a class="selflink" id="section-4.1.10" href="#section-4.1.10">4.1.10</a>. IPv6 Address Configuration</span>
Assigned IP addresses MUST be routable and unique within the routing
domain [<a href="./rfc5889" title=""IP Addressing Model in Ad Hoc Networks"">RFC5889</a>].
<span class="h3"><a class="selflink" id="section-4.2" href="#section-4.2">4.2</a>. Layer 2 Features</span>
No particular requirements exist for Layer 2, except for those cited
in the "IP-over-Foo" RFCs (see <a href="#section-2.3">Section 2.3</a>).
<span class="h4"><a class="selflink" id="section-4.2.1" href="#section-4.2.1">4.2.1</a>. Specifics about Layer 2</span>
Not applicable
<span class="h4"><a class="selflink" id="section-4.2.2" href="#section-4.2.2">4.2.2</a>. Services Provided at Layer 2</span>
Not applicable
<span class="h4"><a class="selflink" id="section-4.2.3" href="#section-4.2.3">4.2.3</a>. IPv6 over Low-Power Wireless Personal Area Network (6LoWPAN)</span>
<span class="h4"> Options Assumed</span>
Not applicable
<span class="h4"><a class="selflink" id="section-4.2.4" href="#section-4.2.4">4.2.4</a>. Mesh Link Establishment (MLE) and Other Things</span>
Not applicable
<span class="h3"><a class="selflink" id="section-4.3" href="#section-4.3">4.3</a>. Recommended Configuration Defaults and Ranges</span>
The following sections describe the recommended parameter values for
P2P-RPL and Trickle.
<span class="grey">Brandt, et al. Standards Track [Page 21]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-22" ></span>
<span class="grey"><a href="./rfc7733">RFC 7733</a> RPL in Home and Building February 2016</span>
<span class="h4"><a class="selflink" id="section-4.3.1" href="#section-4.3.1">4.3.1</a>. Trickle Parameters</span>
Trickle is used to distribute network parameter values to all nodes
without stringent time restrictions. The recommended Trickle
parameter values are:
o DIOIntervalMin 4, which translates to 16 ms
o DIOIntervalDoublings 14
o DIORedundancyConstant 1
When a node sends a changed DIO, this is an inconsistency and forces
the receiving node to respond within Imin. So, when something
happens that affects the DIO, the change is ideally communicated to a
node that is n hops away, within n times Imin. Often, depending on
the node density, packets are lost or are not sent, leading to larger
delays.
In general, we can expect DIO changes to propagate within 1 to
3 seconds within the envisaged networks.
When nothing happens, the DIO sending interval increases to
4.37 minutes, thus drastically reducing the network load. When a
node does not receive DIO messages for more than 10 minutes, it can
safely conclude that the connection with other nodes has been lost.
<span class="h4"><a class="selflink" id="section-4.3.2" href="#section-4.3.2">4.3.2</a>. Other Parameters</span>
This section discusses the P2P-RPL parameters.
P2P-RPL [<a href="./rfc6997" title=""Reactive Discovery of Point-to-Point Routes in Low-Power and Lossy Networks"">RFC6997</a>] provides the features requested by [<a href="./rfc5826" title=""Home Automation Routing Requirements in Low-Power and Lossy Networks"">RFC5826</a>] and
[<a href="./rfc5867" title=""Building Automation Routing Requirements in Low-Power and Lossy Networks"">RFC5867</a>]. P2P-RPL uses a subset of the frame formats and features
defined for RPL [<a href="./rfc6550" title=""RPL: IPv6 Routing Protocol for Low-Power and Lossy Networks"">RFC6550</a>] but may be combined with RPL frame flows in
advanced deployments.
The recommended parameter values for P2P-RPL are:
o MinHopRankIncrease 1
o MaxRankIncrease 0
o MaxRank 6
o Objective Function: OF0
<span class="grey">Brandt, et al. Standards Track [Page 22]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-23" ></span>
<span class="grey"><a href="./rfc7733">RFC 7733</a> RPL in Home and Building February 2016</span>
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. MPL Profile</span>
MPL is used to distribute values to groups of devices. Using MPL,
based on the Trickle algorithm, timeliness should also be guaranteed.
A deadline of 200 ms needs to be met when human action is followed by
an immediately observable action such as switching on lights. The
deadline needs to be met in a building where the number of hops from
seed to destination varies between 1 and 10.
<span class="h3"><a class="selflink" id="section-5.1" href="#section-5.1">5.1</a>. Recommended Configuration Defaults and Ranges</span>
<span class="h4"><a class="selflink" id="section-5.1.1" href="#section-5.1.1">5.1.1</a>. Real-Time Optimizations</span>
When the network is heavily loaded, MAC delays contribute
significantly to the end-to-end delays when MPL intervals between 10
and 100 ms are used to meet the 200 ms deadline. It is possible to
set the number of buffers in the MAC to 1 and set the number of
back-off repetitions to 1. The number of MPL repetitions compensates
for the reduced probability of transmission per MAC invocation
[<a href="#ref-RT-MPL" title=""Real-Time multicast for wireless mesh networks using MPL"">RT-MPL</a>].
In addition, end-to-end delays and message losses are reduced by
adding a real-time layer between MPL and MAC to throw away the
earliest messages (exploiting the MPL message numbering) and favor
the most recent ones.
<span class="h4"><a class="selflink" id="section-5.1.2" href="#section-5.1.2">5.1.2</a>. Trickle Parameters</span>
This section proposes values for the Trickle parameters used by MPL
for the distribution of packets that need to meet a 200 ms deadline.
The probability of meeting the deadline is increased by (1) choosing
a small Imin value, (2) reducing the number of MPL intervals, thus
reducing the load, and (3) reducing the number of MPL Forwarders to
also reduce the load.
The consequence of this approach is that the value of k can be larger
than 1 because network load reduction is already guaranteed by the
network configuration.
<span class="grey">Brandt, et al. Standards Track [Page 23]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-24" ></span>
<span class="grey"><a href="./rfc7733">RFC 7733</a> RPL in Home and Building February 2016</span>
Under the condition that the density of MPL repeaters can be limited,
it is possible to choose low MPL repeat intervals (Imin) connected to
k values such that k > 1. The minimum value of k is related to:
o The value of Imin. The length of Imin determines the number of
packets that can be received within the listening period of Imin.
o The number of repeaters receiving the broadcast message from the
same forwarder or seed. These repeaters repeat within the same
Imin interval, thus increasing the c counter.
Within the first MPL interval, a limited number, q, of messages can
be transmitted. Assuming a 3 ms transmission interval, q is given by
q = Imin / 3. Assuming that at most q message copies can reach a
given forwarder within the first repeat interval of length Imin, the
related MPL parameter values are suggested in the following sections.
<span class="h5"><a class="selflink" id="section-5.1.2.1" href="#section-5.1.2.1">5.1.2.1</a>. Imin</span>
The recommended value is Imin = 10 to 50 ms.
When the chosen Imin value is much smaller, the interference between
the copies leads to significant losses, given that q is much smaller
than the number of repeated packets. With much larger intervals, the
probability that the deadline will be met decreases with increasing
hop count.
<span class="h5"><a class="selflink" id="section-5.1.2.2" href="#section-5.1.2.2">5.1.2.2</a>. Imax</span>
The recommended value is Imax = 100 to 400 ms.
The value of Imax is less important than the value of max_expiration.
Given an Imin value of 10 ms, the third MPL interval has a value of
10 * 2 * 2 = 40 ms. When Imin has a value of 40 ms, the third
interval has a value of 160 ms. Given that more than three intervals
are unnecessary, Imax does not contribute much to performance.
<span class="h4"><a class="selflink" id="section-5.1.3" href="#section-5.1.3">5.1.3</a>. Other Parameters</span>
Other parameters are the k parameter and the max_expiration
parameter.
k > q (see condition above). Under this condition, and for a small
Imin value, a value of k = 2 or k = 3 is usually sufficient to
minimize the losses of packets in the first repeat interval.
max_expiration = 2 - 4. Higher values lead to more network load
while generating copies that will probably not meet their deadline.
<span class="grey">Brandt, et al. Standards Track [Page 24]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-25" ></span>
<span class="grey"><a href="./rfc7733">RFC 7733</a> RPL in Home and Building February 2016</span>
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Manageability Considerations</span>
At this time, it is not clear how homenets will be managed.
Consequently, it is not clear which tools will be used and which
parameters must be visible for management.
In building control, management is mandatory. It is expected that
installations will be managed using the set of currently available
tools (including IETF tools like Management Information Base (MIB)
modules, Network Configuration Protocol (NETCONF) modules, Dynamic
Host Configuration Protocol (DHCP), and others), with large
differences between the ways an installation is managed.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Security Considerations</span>
This section refers to the security considerations of [<a href="./rfc6997" title=""Reactive Discovery of Point-to-Point Routes in Low-Power and Lossy Networks"">RFC6997</a>],
[<a href="./rfc6550" title=""RPL: IPv6 Routing Protocol for Low-Power and Lossy Networks"">RFC6550</a>], and [<a href="./rfc7731" title=""Multicast Protocol for Low-Power and Lossy Networks (MPL)"">RFC7731</a>], as well as some attacks and countermeasures
as discussed in Sections <a href="#section-6">6</a> and <a href="#section-7">7</a>, respectively, of [<a href="./rfc7416" title=""A Security Threat Analysis for the Routing Protocol for Low-Power and Lossy Networks (RPLs)"">RFC7416</a>].
Communications network security is based on providing integrity
protection and encryption to messages. This can be applied at
various layers in the network protocol stack, based on using various
credentials and a network identity.
The credentials that are relevant in the case of RPL are (i) the
credential used at the link layer in the case where link-layer
security is applied (see <a href="#section-7.1">Section 7.1</a>) or (ii) the credential used for
securing RPL messages. In both cases, the assumption is that the
credential is a shared key. Therefore, there MUST be a mechanism in
place that allows secure distribution of a shared key and
configuration of a network identity. Both MAY be done using
(i) pre-installation using an out-of-band method, (ii) secure
delivery when a device is introduced into the network, or
(iii) secure delivery by a trusted neighboring device, as described
in <a href="#section-4.1.8.1">Section 4.1.8.1</a>. The shared key MUST be stored in a secure
fashion that will make it difficult to be read by an unauthorized
party.
This document mandates that a Layer 2 mechanism be used during
initial and incremental deployment. Please see the following
sections.
<span class="grey">Brandt, et al. Standards Track [Page 25]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-26" ></span>
<span class="grey"><a href="./rfc7733">RFC 7733</a> RPL in Home and Building February 2016</span>
<span class="h3"><a class="selflink" id="section-7.1" href="#section-7.1">7.1</a>. Security Considerations during Initial Deployment</span>
Wireless mesh networks are typically secured at the link layer in
order to prevent unauthorized parties from accessing the information
exchanged over the links. It is a basic practice to create a network
of nodes that share the same keys for link-layer security and exclude
nodes sending unsecured messages. With per-message data origin
authentication, it is possible to prevent unauthorized nodes from
joining the mesh.
At initial deployment, the network is secured by consecutively
securing nodes at the link layer, thus building a network of secured
nodes. <a href="#section-4.1.8.2">Section 4.1.8.2</a> describes a mechanism for building a network
of secured nodes.
This document does not specify a multicast security solution.
Networks deployed with this specification will depend upon Layer 2
security to prevent outsiders from sending multicast traffic. It is
recognized that this does not protect this control traffic from
impersonation by already-trusted devices. This is an area for a
future specification.
For building control, an installer will use an installation tool that
establishes a secure communication path with the joining node. It is
recognized that the recommendations for initial deployment as
discussed in this section do not cover all building requirements,
such as selecting -- independent of network topology -- the node to
be secured.
It is expected that a set of protocol combinations will evolve within
currently existing alliances of building control manufacturers. Each
set satisfies the installation requirements of installers, operators,
and manufacturers of building control networks in a given
installation context, e.g., lighting deployment in offices, HVAC
installation, incremental addition of equipment in homes, and others.
In the home, nodes can be visually inspected by the home owner.
Also, a simple procedure, e.g., pushing buttons simultaneously on an
already-secured device and an unsecured joining device, is usually
sufficient to ensure that the unsecured joining device is
authenticated securely, configured securely, and paired
appropriately.
This recommendation is in line with the countermeasures described in
<a href="./rfc7416#section-7.1">Section 7.1 of [RFC7416]</a>.
<span class="grey">Brandt, et al. Standards Track [Page 26]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-27" ></span>
<span class="grey"><a href="./rfc7733">RFC 7733</a> RPL in Home and Building February 2016</span>
<span class="h3"><a class="selflink" id="section-7.2" href="#section-7.2">7.2</a>. Security Considerations during Incremental Deployment</span>
Once a network is operational, new nodes need to be added, or nodes
fail and need to be replaced. When a new node needs to be added to
the network, the new node is added to the network via an assisting
node in the manner described in <a href="#section-7.1">Section 7.1</a>.
On detection of a compromised node, all trusted nodes need to have
their symmetric keys that are known to be shared with the compromised
node rekeyed, and the trusted network is built up as described in
<a href="#section-7.1">Section 7.1</a>.
<span class="h3"><a class="selflink" id="section-7.3" href="#section-7.3">7.3</a>. Security Considerations for P2P Implementations</span>
Refer to the security considerations of [<a href="./rfc6997" title=""Reactive Discovery of Point-to-Point Routes in Low-Power and Lossy Networks"">RFC6997</a>].
<span class="h3"><a class="selflink" id="section-7.4" href="#section-7.4">7.4</a>. MPL Routing</span>
The routing of MPL is determined by the enabling of the interfaces
for specified multicast addresses. The specification of these
addresses can be done via a Constrained Application Protocol (CoAP)
application as specified in [<a href="./rfc7390" title=""Group Communication for the Constrained Application Protocol (CoAP)"">RFC7390</a>]. An alternative is the
creation of an MPL MIB and the use of the Simple Network Management
Protocol (SNMPv3) [<a href="./rfc3411" title=""An Architecture for Describing Simple Network Management Protocol (SNMP) Management Frameworks"">RFC3411</a>] or equivalent techniques to specify the
multicast addresses in the MIB. For secure dissemination of MPL
packets, Layer 2 security SHOULD be used, and the configuration of
multicast addresses as described in this section MUST be secure.
<span class="h3"><a class="selflink" id="section-7.5" href="#section-7.5">7.5</a>. RPL Security Features</span>
This section refers to the structure of <a href="#section-8">Section 8</a> ("RPL Security
Features") of [<a href="./rfc7416" title=""A Security Threat Analysis for the Routing Protocol for Low-Power and Lossy Networks (RPLs)"">RFC7416</a>]. [<a href="./rfc7416" title=""A Security Threat Analysis for the Routing Protocol for Low-Power and Lossy Networks (RPLs)"">RFC7416</a>] provides a thorough analysis of
security threats and proposed countermeasures relevant to RPL
and MPL.
In accordance with <a href="#section-8.1">Section 8.1</a> ("Confidentiality Features") of
[<a href="./rfc7416" title=""A Security Threat Analysis for the Routing Protocol for Low-Power and Lossy Networks (RPLs)"">RFC7416</a>], RPL message security implements payload protection, as
explained in <a href="#section-7">Section 7</a> of this document. The attributes for key
length and lifetime of the keys depend on operational conditions,
maintenance, and installation procedures.
Sections <a href="#section-7.1">7.1</a> and <a href="#section-7.2">7.2</a> of this document recommend link-layer security
to assure integrity in accordance with <a href="#section-8.2">Section 8.2</a> ("Integrity
Features") of [<a href="./rfc7416" title=""A Security Threat Analysis for the Routing Protocol for Low-Power and Lossy Networks (RPLs)"">RFC7416</a>].
The provision of multiple paths recommended in <a href="#section-8.3">Section 8.3</a>
("Availability Features") of [<a href="./rfc7416" title=""A Security Threat Analysis for the Routing Protocol for Low-Power and Lossy Networks (RPLs)"">RFC7416</a>] is also recommended from a
reliability point of view. Randomly choosing paths MAY be supported.
<span class="grey">Brandt, et al. Standards Track [Page 27]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-28" ></span>
<span class="grey"><a href="./rfc7733">RFC 7733</a> RPL in Home and Building February 2016</span>
A mechanism for key management, as discussed in <a href="#section-8.4">Section 8.4</a> ("Key
Management") of [<a href="./rfc7416" title=""A Security Threat Analysis for the Routing Protocol for Low-Power and Lossy Networks (RPLs)"">RFC7416</a>], is provided in <a href="#section-4.1.8.2">Section 4.1.8.2</a> of this
document.
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. Other Related Protocols</span>
Application and transport protocols used in home and building
automation domains are expected to mostly consist of CoAP over UDP,
or equivalents. Typically, UDP is used for IP transport to keep down
the application response time and bandwidth overhead. CoAP is used
at the application layer to reduce memory footprint and bandwidth
requirements.
<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a>. References</span>
<span class="h3"><a class="selflink" id="section-9.1" href="#section-9.1">9.1</a>. Normative References</span>
[<a id="ref-RFC2119">RFC2119</a>] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>,
DOI 10.17487/RFC2119, March 1997,
<<a href="http://www.rfc-editor.org/info/rfc2119">http://www.rfc-editor.org/info/rfc2119</a>>.
[<a id="ref-RFC3748">RFC3748</a>] Aboba, B., Blunk, L., Vollbrecht, J., Carlson, J., and H.
Levkowetz, Ed., "Extensible Authentication Protocol
(EAP)", <a href="./rfc3748">RFC 3748</a>, DOI 10.17487/RFC3748, June 2004,
<<a href="http://www.rfc-editor.org/info/rfc3748">http://www.rfc-editor.org/info/rfc3748</a>>.
[<a id="ref-RFC4279">RFC4279</a>] Eronen, P., Ed., and H. Tschofenig, Ed., "Pre-Shared Key
Ciphersuites for Transport Layer Security (TLS)",
<a href="./rfc4279">RFC 4279</a>, DOI 10.17487/RFC4279, December 2005,
<<a href="http://www.rfc-editor.org/info/rfc4279">http://www.rfc-editor.org/info/rfc4279</a>>.
[<a id="ref-RFC4492">RFC4492</a>] Blake-Wilson, S., Bolyard, N., Gupta, V., Hawk, C., and B.
Moeller, "Elliptic Curve Cryptography (ECC) Cipher Suites
for Transport Layer Security (TLS)", <a href="./rfc4492">RFC 4492</a>,
DOI 10.17487/RFC4492, May 2006,
<<a href="http://www.rfc-editor.org/info/rfc4492">http://www.rfc-editor.org/info/rfc4492</a>>.
[<a id="ref-RFC4868">RFC4868</a>] Kelly, S. and S. Frankel, "Using HMAC-SHA-256,
HMAC-SHA-384, and HMAC-SHA-512 with IPsec", <a href="./rfc4868">RFC 4868</a>,
DOI 10.17487/RFC4868, May 2007,
<<a href="http://www.rfc-editor.org/info/rfc4868">http://www.rfc-editor.org/info/rfc4868</a>>.
[<a id="ref-RFC4944">RFC4944</a>] Montenegro, G., Kushalnagar, N., Hui, J., and D. Culler,
"Transmission of IPv6 Packets over IEEE 802.15.4
Networks", <a href="./rfc4944">RFC 4944</a>, DOI 10.17487/RFC4944, September 2007,
<<a href="http://www.rfc-editor.org/info/rfc4944">http://www.rfc-editor.org/info/rfc4944</a>>.
<span class="grey">Brandt, et al. Standards Track [Page 28]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-29" ></span>
<span class="grey"><a href="./rfc7733">RFC 7733</a> RPL in Home and Building February 2016</span>
[<a id="ref-RFC5116">RFC5116</a>] McGrew, D., "An Interface and Algorithms for Authenticated
Encryption", <a href="./rfc5116">RFC 5116</a>, DOI 10.17487/RFC5116, January 2008,
<<a href="http://www.rfc-editor.org/info/rfc5116">http://www.rfc-editor.org/info/rfc5116</a>>.
[<a id="ref-RFC5191">RFC5191</a>] Forsberg, D., Ohba, Y., Ed., Patil, B., Tschofenig, H.,
and A. Yegin, "Protocol for Carrying Authentication for
Network Access (PANA)", <a href="./rfc5191">RFC 5191</a>, DOI 10.17487/RFC5191,
May 2008, <<a href="http://www.rfc-editor.org/info/rfc5191">http://www.rfc-editor.org/info/rfc5191</a>>.
[<a id="ref-RFC5216">RFC5216</a>] Simon, D., Aboba, B., and R. Hurst, "The EAP-TLS
Authentication Protocol", <a href="./rfc5216">RFC 5216</a>, DOI 10.17487/RFC5216,
March 2008, <<a href="http://www.rfc-editor.org/info/rfc5216">http://www.rfc-editor.org/info/rfc5216</a>>.
[<a id="ref-RFC5246">RFC5246</a>] Dierks, T. and E. Rescorla, "The Transport Layer Security
(TLS) Protocol Version 1.2", <a href="./rfc5246">RFC 5246</a>,
DOI 10.17487/RFC5246, August 2008,
<<a href="http://www.rfc-editor.org/info/rfc5246">http://www.rfc-editor.org/info/rfc5246</a>>.
[<a id="ref-RFC5288">RFC5288</a>] Salowey, J., Choudhury, A., and D. McGrew, "AES Galois
Counter Mode (GCM) Cipher Suites for TLS", <a href="./rfc5288">RFC 5288</a>,
DOI 10.17487/RFC5288, August 2008,
<<a href="http://www.rfc-editor.org/info/rfc5288">http://www.rfc-editor.org/info/rfc5288</a>>.
[<a id="ref-RFC5289">RFC5289</a>] Rescorla, E., "TLS Elliptic Curve Cipher Suites with
SHA-256/384 and AES Galois Counter Mode (GCM)", <a href="./rfc5289">RFC 5289</a>,
DOI 10.17487/RFC5289, August 2008,
<<a href="http://www.rfc-editor.org/info/rfc5289">http://www.rfc-editor.org/info/rfc5289</a>>.
[<a id="ref-RFC5487">RFC5487</a>] Badra, M., "Pre-Shared Key Cipher Suites for TLS with
SHA-256/384 and AES Galois Counter Mode", <a href="./rfc5487">RFC 5487</a>,
DOI 10.17487/RFC5487, March 2009,
<<a href="http://www.rfc-editor.org/info/rfc5487">http://www.rfc-editor.org/info/rfc5487</a>>.
[<a id="ref-RFC5548">RFC5548</a>] Dohler, M., Ed., Watteyne, T., Ed., Winter, T., Ed., and
D. Barthel, Ed., "Routing Requirements for Urban Low-Power
and Lossy Networks", <a href="./rfc5548">RFC 5548</a>, DOI 10.17487/RFC5548,
May 2009, <<a href="http://www.rfc-editor.org/info/rfc5548">http://www.rfc-editor.org/info/rfc5548</a>>.
[<a id="ref-RFC5673">RFC5673</a>] Pister, K., Ed., Thubert, P., Ed., Dwars, S., and T.
Phinney, "Industrial Routing Requirements in Low-Power and
Lossy Networks", <a href="./rfc5673">RFC 5673</a>, DOI 10.17487/RFC5673,
October 2009, <<a href="http://www.rfc-editor.org/info/rfc5673">http://www.rfc-editor.org/info/rfc5673</a>>.
[<a id="ref-RFC5826">RFC5826</a>] Brandt, A., Buron, J., and G. Porcu, "Home Automation
Routing Requirements in Low-Power and Lossy Networks",
<a href="./rfc5826">RFC 5826</a>, DOI 10.17487/RFC5826, April 2010,
<<a href="http://www.rfc-editor.org/info/rfc5826">http://www.rfc-editor.org/info/rfc5826</a>>.
<span class="grey">Brandt, et al. Standards Track [Page 29]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-30" ></span>
<span class="grey"><a href="./rfc7733">RFC 7733</a> RPL in Home and Building February 2016</span>
[<a id="ref-RFC5867">RFC5867</a>] Martocci, J., Ed., De Mil, P., Riou, N., and W. Vermeylen,
"Building Automation Routing Requirements in Low-Power and
Lossy Networks", <a href="./rfc5867">RFC 5867</a>, DOI 10.17487/RFC5867,
June 2010, <<a href="http://www.rfc-editor.org/info/rfc5867">http://www.rfc-editor.org/info/rfc5867</a>>.
[<a id="ref-RFC6282">RFC6282</a>] Hui, J., Ed., and P. Thubert, "Compression Format for IPv6
Datagrams over IEEE 802.15.4-Based Networks", <a href="./rfc6282">RFC 6282</a>,
DOI 10.17487/RFC6282, September 2011,
<<a href="http://www.rfc-editor.org/info/rfc6282">http://www.rfc-editor.org/info/rfc6282</a>>.
[<a id="ref-RFC6345">RFC6345</a>] Duffy, P., Chakrabarti, S., Cragie, R., Ohba, Y., Ed., and
A. Yegin, "Protocol for Carrying Authentication for
Network Access (PANA) Relay Element", <a href="./rfc6345">RFC 6345</a>,
DOI 10.17487/RFC6345, August 2011,
<<a href="http://www.rfc-editor.org/info/rfc6345">http://www.rfc-editor.org/info/rfc6345</a>>.
[<a id="ref-RFC6550">RFC6550</a>] Winter, T., Ed., Thubert, P., Ed., Brandt, A., Hui, J.,
Kelsey, R., Levis, P., Pister, K., Struik, R., Vasseur,
JP., and R. Alexander, "RPL: IPv6 Routing Protocol for
Low-Power and Lossy Networks", <a href="./rfc6550">RFC 6550</a>,
DOI 10.17487/RFC6550, March 2012,
<<a href="http://www.rfc-editor.org/info/rfc6550">http://www.rfc-editor.org/info/rfc6550</a>>.
[<a id="ref-RFC6551">RFC6551</a>] Vasseur, JP., Ed., Kim, M., Ed., Pister, K., Dejean, N.,
and D. Barthel, "Routing Metrics Used for Path Calculation
in Low-Power and Lossy Networks", <a href="./rfc6551">RFC 6551</a>,
DOI 10.17487/RFC6551, March 2012,
<<a href="http://www.rfc-editor.org/info/rfc6551">http://www.rfc-editor.org/info/rfc6551</a>>.
[<a id="ref-RFC6554">RFC6554</a>] Hui, J., Vasseur, JP., Culler, D., and V. Manral, "An IPv6
Routing Header for Source Routes with the Routing Protocol
for Low-Power and Lossy Networks (RPL)", <a href="./rfc6554">RFC 6554</a>,
DOI 10.17487/RFC6554, March 2012,
<<a href="http://www.rfc-editor.org/info/rfc6554">http://www.rfc-editor.org/info/rfc6554</a>>.
[<a id="ref-RFC6655">RFC6655</a>] McGrew, D. and D. Bailey, "AES-CCM Cipher Suites for
Transport Layer Security (TLS)", <a href="./rfc6655">RFC 6655</a>,
DOI 10.17487/RFC6655, July 2012,
<<a href="http://www.rfc-editor.org/info/rfc6655">http://www.rfc-editor.org/info/rfc6655</a>>.
[<a id="ref-RFC6786">RFC6786</a>] Yegin, A. and R. Cragie, "Encrypting the Protocol for
Carrying Authentication for Network Access (PANA)
Attribute-Value Pairs", <a href="./rfc6786">RFC 6786</a>, DOI 10.17487/RFC6786,
November 2012, <<a href="http://www.rfc-editor.org/info/rfc6786">http://www.rfc-editor.org/info/rfc6786</a>>.
<span class="grey">Brandt, et al. Standards Track [Page 30]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-31" ></span>
<span class="grey"><a href="./rfc7733">RFC 7733</a> RPL in Home and Building February 2016</span>
[<a id="ref-RFC6997">RFC6997</a>] Goyal, M., Ed., Baccelli, E., Philipp, M., Brandt, A., and
J. Martocci, "Reactive Discovery of Point-to-Point Routes
in Low-Power and Lossy Networks", <a href="./rfc6997">RFC 6997</a>,
DOI 10.17487/RFC6997, August 2013,
<<a href="http://www.rfc-editor.org/info/rfc6997">http://www.rfc-editor.org/info/rfc6997</a>>.
[<a id="ref-RFC6998">RFC6998</a>] Goyal, M., Ed., Baccelli, E., Brandt, A., and J. Martocci,
"A Mechanism to Measure the Routing Metrics along a
Point-to-Point Route in a Low-Power and Lossy Network",
<a href="./rfc6998">RFC 6998</a>, DOI 10.17487/RFC6998, August 2013,
<<a href="http://www.rfc-editor.org/info/rfc6998">http://www.rfc-editor.org/info/rfc6998</a>>.
[<a id="ref-RFC7102">RFC7102</a>] Vasseur, JP., "Terms Used in Routing for Low-Power and
Lossy Networks", <a href="./rfc7102">RFC 7102</a>, DOI 10.17487/RFC7102,
January 2014, <<a href="http://www.rfc-editor.org/info/rfc7102">http://www.rfc-editor.org/info/rfc7102</a>>.
[<a id="ref-RFC7251">RFC7251</a>] McGrew, D., Bailey, D., Campagna, M., and R. Dugal,
"AES-CCM Elliptic Curve Cryptography (ECC) Cipher Suites
for TLS", <a href="./rfc7251">RFC 7251</a>, DOI 10.17487/RFC7251, June 2014,
<<a href="http://www.rfc-editor.org/info/rfc7251">http://www.rfc-editor.org/info/rfc7251</a>>.
[<a id="ref-RFC7296">RFC7296</a>] Kaufman, C., Hoffman, P., Nir, Y., Eronen, P., and T.
Kivinen, "Internet Key Exchange Protocol Version 2
(IKEv2)", STD 79, <a href="./rfc7296">RFC 7296</a>, DOI 10.17487/RFC7296,
October 2014, <<a href="http://www.rfc-editor.org/info/rfc7296">http://www.rfc-editor.org/info/rfc7296</a>>.
[<a id="ref-RFC7416">RFC7416</a>] Tsao, T., Alexander, R., Dohler, M., Daza, V., Lozano, A.,
and M. Richardson, Ed., "A Security Threat Analysis for
the Routing Protocol for Low-Power and Lossy Networks
(RPLs)", <a href="./rfc7416">RFC 7416</a>, DOI 10.17487/RFC7416, January 2015,
<<a href="http://www.rfc-editor.org/info/rfc7416">http://www.rfc-editor.org/info/rfc7416</a>>.
[<a id="ref-RFC7731">RFC7731</a>] Hui, J. and R. Kelsey, "Multicast Protocol for Low-Power
and Lossy Networks (MPL)", <a href="./rfc7731">RFC 7731</a>, DOI 10.17487/RFC7731,
February 2016, <<a href="http://www.rfc-editor.org/info/rfc7731">http://www.rfc-editor.org/info/rfc7731</a>>.
<span class="grey">Brandt, et al. Standards Track [Page 31]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-32" ></span>
<span class="grey"><a href="./rfc7733">RFC 7733</a> RPL in Home and Building February 2016</span>
[<a id="ref-IEEE802.15.4">IEEE802.15.4</a>]
IEEE, "IEEE Standard for Local and metropolitan area
networks--Part 15.4: Low-Rate Wireless Personal Area
Networks (LR-WPANs)", IEEE 802.15.4,
DOI 10.1109/ieeestd.2011.6012487,
<<a href="http://ieeexplore.ieee.org/servlet/opac?punumber=6012485">http://ieeexplore.ieee.org/servlet/</a>
<a href="http://ieeexplore.ieee.org/servlet/opac?punumber=6012485">opac?punumber=6012485</a>>.
[<a id="ref-G.9959">G.9959</a>] International Telecommunication Union, "Short range
narrow-band digital radiocommunication transceivers - PHY,
MAC, SAR and LLC layer specifications", ITU-T
Recommendation G.9959, January 2015,
<<a href="http://www.itu.int/rec/T-REC-G.9959">http://www.itu.int/rec/T-REC-G.9959</a>>.
<span class="h3"><a class="selflink" id="section-9.2" href="#section-9.2">9.2</a>. Informative References</span>
[<a id="ref-RFC3411">RFC3411</a>] Harrington, D., Presuhn, R., and B. Wijnen, "An
Architecture for Describing Simple Network Management
Protocol (SNMP) Management Frameworks", STD 62, <a href="./rfc3411">RFC 3411</a>,
DOI 10.17487/RFC3411, December 2002,
<<a href="http://www.rfc-editor.org/info/rfc3411">http://www.rfc-editor.org/info/rfc3411</a>>.
[<a id="ref-RFC3561">RFC3561</a>] Perkins, C., Belding-Royer, E., and S. Das, "Ad hoc
On-Demand Distance Vector (AODV) Routing", <a href="./rfc3561">RFC 3561</a>,
DOI 10.17487/RFC3561, July 2003,
<<a href="http://www.rfc-editor.org/info/rfc3561">http://www.rfc-editor.org/info/rfc3561</a>>.
[<a id="ref-RFC5889">RFC5889</a>] Baccelli, E., Ed., and M. Townsley, Ed., "IP Addressing
Model in Ad Hoc Networks", <a href="./rfc5889">RFC 5889</a>, DOI 10.17487/RFC5889,
September 2010, <<a href="http://www.rfc-editor.org/info/rfc5889">http://www.rfc-editor.org/info/rfc5889</a>>.
[<a id="ref-RFC6552">RFC6552</a>] Thubert, P., Ed., "Objective Function Zero for the Routing
Protocol for Low-Power and Lossy Networks (RPL)",
<a href="./rfc6552">RFC 6552</a>, DOI 10.17487/RFC6552, March 2012,
<<a href="http://www.rfc-editor.org/info/rfc6552">http://www.rfc-editor.org/info/rfc6552</a>>.
[<a id="ref-RFC7228">RFC7228</a>] Bormann, C., Ersue, M., and A. Keranen, "Terminology for
Constrained-Node Networks", <a href="./rfc7228">RFC 7228</a>,
DOI 10.17487/RFC7228, May 2014,
<<a href="http://www.rfc-editor.org/info/rfc7228">http://www.rfc-editor.org/info/rfc7228</a>>.
[<a id="ref-RFC7390">RFC7390</a>] Rahman, A., Ed., and E. Dijk, Ed., "Group Communication
for the Constrained Application Protocol (CoAP)",
<a href="./rfc7390">RFC 7390</a>, DOI 10.17487/RFC7390, October 2014,
<<a href="http://www.rfc-editor.org/info/rfc7390">http://www.rfc-editor.org/info/rfc7390</a>>.
<span class="grey">Brandt, et al. Standards Track [Page 32]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-33" ></span>
<span class="grey"><a href="./rfc7733">RFC 7733</a> RPL in Home and Building February 2016</span>
[<a id="ref-RFC7428">RFC7428</a>] Brandt, A. and J. Buron, "Transmission of IPv6 Packets
over ITU-T G.9959 Networks", <a href="./rfc7428">RFC 7428</a>,
DOI 10.17487/RFC7428, February 2015,
<<a href="http://www.rfc-editor.org/info/rfc7428">http://www.rfc-editor.org/info/rfc7428</a>>.
[<a id="ref-SOFT11">SOFT11</a>] Baccelli, E., Philipp, M., and M. Goyal, "The P2P-RPL
Routing Protocol for IPv6 Sensor Networks: Testbed
Experiments", Proceedings of the 19th Annual Conference on
Software Telecommunications and Computer Networks, Split,
Croatia, September 2011.
[<a id="ref-INTEROP12">INTEROP12</a>]
Philipp, M., Baccelli, E., Brandt, A., Valev, H., and J.
Buron, "Report on P2P-RPL Interoperability Testing", INRIA
Research Report RR-7864, January 2012.
[<a id="ref-RT-MPL">RT-MPL</a>] van der Stok, P., "Real-Time multicast for wireless mesh
networks using MPL", White paper, April 2014,
<<a href="http://www.vanderstok.org/papers/Real-time-MPL.pdf">http://www.vanderstok.org/papers/Real-time-MPL.pdf</a>>.
[<a id="ref-OccuSwitch">OccuSwitch</a>]
Philips lighting Electronics, "OccuSwitch Wireless
(brochure)", May 2012,
<<a href="http://www.philipslightingcontrols.com/assets/cms/uploads/files/osw/MK_OSWNETBROC_5.pdf">http://www.philipslightingcontrols.com/assets/</a>
<a href="http://www.philipslightingcontrols.com/assets/cms/uploads/files/osw/MK_OSWNETBROC_5.pdf">cms/uploads/files/osw/MK_OSWNETBROC_5.pdf</a>>.
[<a id="ref-Office-Light">Office-Light</a>]
Clanton and Associates, Inc., "Wireless Lighting Control -
A Life Cycle Cost Evaluation of Multiple Lighting Control
Strategies", February 2014, <<a href="http://www.daintree.net/wp-content/uploads/2014/02/clanton_lighting_control_report_0411.pdf">http://www.daintree.net/</a>
<a href="http://www.daintree.net/wp-content/uploads/2014/02/clanton_lighting_control_report_0411.pdf">wp-content/uploads/2014/02/</a>
<a href="http://www.daintree.net/wp-content/uploads/2014/02/clanton_lighting_control_report_0411.pdf">clanton_lighting_control_report_0411.pdf</a>>.
[<a id="ref-RTN2011">RTN2011</a>] Holtman, K. and P. van der Stok, "Real-time routing for
low-latency 802.15.4 control networks", 23rd Euromicro
Conference on Real-Time Systems, Porto, Portugal,
July 2011.
[<a id="ref-MEAS">MEAS</a>] Holtman, K., "Connectivity loss in large scale
IEEE 802.15.4 network", Private Communication,
November 2013.
<span class="grey">Brandt, et al. Standards Track [Page 33]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-34" ></span>
<span class="grey"><a href="./rfc7733">RFC 7733</a> RPL in Home and Building February 2016</span>
[<a id="ref-BC-Survey">BC-Survey</a>]
Kastner, W., Neugschwandtner, G., Soucek, S., and H.
Newmann, "Communication Systems for Building Automation
and Control", Proceedings of the IEEE, Vol. 93, No. 6,
DOI 10.1109/JPROC.2005.849726, June 2005.
[<a id="ref-ZigBeeIP">ZigBeeIP</a>]
ZigBee Alliance, "ZigBee IP specification", ZigBee
document 095023r34, March 2014, <<a href="http://www.zigbee.org/">http://www.zigbee.org/</a>>.
<span class="grey">Brandt, et al. Standards Track [Page 34]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-35" ></span>
<span class="grey"><a href="./rfc7733">RFC 7733</a> RPL in Home and Building February 2016</span>
<span class="h2"><a class="selflink" id="appendix-A" href="#appendix-A">Appendix A</a>. RPL Shortcomings in Home and Building Deployments</span>
<span class="h3"><a class="selflink" id="appendix-A.1" href="#appendix-A.1">A.1</a>. Risk of Undesirable Long P2P Routes</span>
The DAG, being a tree structure, is formed from a root. If nodes
residing in different branches need to communicate internally, DAG
mechanisms provided in RPL [<a href="./rfc6550" title=""RPL: IPv6 Routing Protocol for Low-Power and Lossy Networks"">RFC6550</a>] will propagate traffic towards
the root, potentially all the way to the root, and down along another
branch [<a href="./rfc6998" title=""A Mechanism to Measure the Routing Metrics along a Point-to-Point Route in a Low-Power and Lossy Network"">RFC6998</a>]. In a typical example, two nodes could reach each
other via only two router nodes, but in some unfortunate cases, RPL
may send traffic three hops up and three hops down again. This leads
to several undesirable phenomena, as described in the following
sections.
<span class="h4"><a class="selflink" id="appendix-A.1.1" href="#appendix-A.1.1">A.1.1</a>. Traffic Concentration at the Root</span>
If many P2P data flows have to move up towards the root to get down
again in another branch, there is an increased risk of congestion the
nearer to the root of the DAG the data flows. Due to the broadcast
nature of radio frequency (RF) systems, any child node of the root is
not only directing RF power downwards in its sub-tree but just as
much upwards towards the root, potentially jamming other MP2P traffic
leaving the tree or preventing the root of the DAG from sending P2MP
traffic into the DAG because the listen-before-talk link-layer
protection kicks in.
<span class="h4"><a class="selflink" id="appendix-A.1.2" href="#appendix-A.1.2">A.1.2</a>. Excessive Battery Consumption in Source Nodes</span>
Battery-powered nodes originating P2P traffic depend on the route
length. Long routes cause source nodes to stay awake for longer
periods before returning to sleep. Thus, a longer route translates
proportionally (more or less) into higher battery consumption.
<span class="h3"><a class="selflink" id="appendix-A.2" href="#appendix-A.2">A.2</a>. Risk of Delayed Route Repair</span>
The RPL DAG mechanism uses DIO and DAO messages to monitor the health
of the DAG. On rare occasions, changed radio conditions may render
routes unusable just after a destination node has returned a DAO
indicating that the destination is reachable. Given enough time, the
next Trickle timer-controlled DIO/DAO update will eventually repair
the broken routes; however, this may not occur in a timely manner
appropriate to the application. In an apparently stable DAG,
Trickle timer dynamics may reduce the update rate to a few times
every hour. If a user issues an actuator command, e.g., light on in
the time interval between the time that the last DAO message was
issued the destination module and the time that one of the parents
sends the next DIO, the destination cannot be reached. There is no
<span class="grey">Brandt, et al. Standards Track [Page 35]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-36" ></span>
<span class="grey"><a href="./rfc7733">RFC 7733</a> RPL in Home and Building February 2016</span>
mechanism in RPL to initiate the restoration of connectivity in a
reactive fashion. The consequence is a broken service in home and
building applications.
<span class="h4"><a class="selflink" id="appendix-A.2.1" href="#appendix-A.2.1">A.2.1</a>. Broken Service</span>
Experience from the telecom industry shows that if the voice delay
exceeds 250 ms, users start getting confused, frustrated, and/or
annoyed. In the same way, if the light does not turn on within the
same period of time, a home control user will activate the controls
again, causing a sequence of commands such as
Light{on,off,off,on,off,...} or Volume{up,up,up,up,up,...}. Whether
the outcome is nothing or some unintended response, this is
unacceptable. A controlling system must be able to restore
connectivity to recover from the error situation. Waiting for an
unknown period of time is not an option. Although this issue was
identified during the P2P analysis, it applies just as well to
application scenarios where an IP application outside the LLN
controls actuators, lights, etc.
<span class="h2"><a class="selflink" id="appendix-B" href="#appendix-B">Appendix B</a>. Communication Failures</span>
Measurements of connectivity between neighboring nodes are discussed
in [<a href="#ref-RTN2011" title=""Real-time routing for low-latency 802.15.4 control networks"">RTN2011</a>] and [<a href="#ref-MEAS" title="a few nodes furthest away from the sender had a high probability of message reception">MEAS</a>].
The work is motivated by the measurements in literature that affirm
that the range of an antenna is not circle symmetric but that the
signal strength of a given level follows an intricate pattern around
the antenna, and there may be holes within the area delineated by a
polar plot. It is reported that communication is not symmetric:
reception of messages from node A by node B does not imply reception
of messages from node B by node A. The quality of the signal
fluctuates over time, and also the height of the antenna within a
room can have consequences for the range. As a function of the
distance from the source, three regions are generally recognized:
(1) a clear region with excellent signal quality, (2) a region with
fluctuating signal quality, and (3) a region without reception.
Installation of meshes with neighbors in the clear region is not
sufficient, as described below.
<span class="grey">Brandt, et al. Standards Track [Page 36]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-37" ></span>
<span class="grey"><a href="./rfc7733">RFC 7733</a> RPL in Home and Building February 2016</span>
[<a id="ref-RTN2011">RTN2011</a>] extends existing work by:
o Observations over periods of at least a week,
o Testing links that are in the clear region,
o Observation in an office building during working hours, and
o Concentrating on one-hop and two-hop routes.
Eight nodes were distributed over a surface of 30 square meters. All
nodes are at a one-hop distance from each other, and all are situated
in each other's clear region. Each node sends messages to each of
its neighbors and repeats the message until it arrives. The latency
of the message was measured over periods of at least a week. It was
noticed that latencies longer than a second occurred without any
apparent reason, but only during working days and never during the
weekends. Bad periods could last for minutes. By sending messages
via two paths -- (1) a one-hop path directly and (2) a two-hop path
via a randomly chosen neighbor -- the probability of delays larger
than 100 ms decreased significantly.
The conclusion is that even for one-hop communication between
not-too-distant "line of sight" nodes, there are periods of low
reception in which communication deadlines of 200 ms are exceeded.
It pays to send a second message over a two-hop path to increase the
reliability of timely message transfer.
[<a id="ref-MEAS">MEAS</a>] confirms that temporary bad reception by close neighbors can
occur within other types of areas. Nodes were installed on the
ceiling in a grid with a distance of 30-50 cm between them.
Two hundred nodes were distributed over an area of 10 m x 5 m. It
clearly transpired that with increasing distance the probability of
reception decreased. At the same time, a few nodes furthest away
from the sender had a high probability of message reception, while
some close neighbors of the sender did not receive messages. The
patterns of nodes experiencing good reception evolved over time.
The conclusion here is that even for direct neighbors reception can
temporarily be bad for periods of several minutes. For reliable and
timely communication, it is imperative to have at least two
communication paths available (e.g., two-hop paths next to the
one-hop path for direct neighbors).
<span class="grey">Brandt, et al. Standards Track [Page 37]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-38" ></span>
<span class="grey"><a href="./rfc7733">RFC 7733</a> RPL in Home and Building February 2016</span>
Acknowledgements
This document reflects discussions and remarks from several
individuals, including (in alphabetical order) Stephen Farrell, Mukul
Goyal, Sandeep Kumar, Jerry Martocci, Catherine Meadows, Yoshihiro
Ohba, Charles Perkins, Yvonne-Anne Pignolet, Michael Richardson, Ines
Robles, Zach Shelby, and Meral Sherazipour.
Authors' Addresses
Anders Brandt
Sigma Designs
Email: anders_Brandt@sigmadesigns.com
Emmanuel Baccelli
INRIA
Email: Emmanuel.Baccelli@inria.fr
Robert Cragie
ARM Ltd.
110 Fulbourn Road
Cambridge CB1 9NJ
United Kingdom
Email: robert.cragie@arm.com
Peter van der Stok
Consultant
Email: consultancy@vanderstok.org
Brandt, et al. Standards Track [Page 38]
</pre>
|