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
|
<pre>Network Working Group E. Baccelli
Request for Comments: 5449 P. Jacquet
Category: Experimental INRIA
D. Nguyen
CRC
T. Clausen
LIX, Ecole Polytechnique
February 2009
<span class="h1">OSPF Multipoint Relay (MPR) Extension for Ad Hoc Networks</span>
Status of This Memo
This memo defines an Experimental Protocol for the Internet
community. It does not specify an Internet standard of any kind.
Discussion and suggestions for improvement are requested.
Distribution of this memo is unlimited.
Copyright Notice
Copyright (c) 2009 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/</a>
<a href="http://trustee.ietf.org/license-info">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.
Abstract
This document specifies an OSPFv3 interface type tailored for mobile
ad hoc networks. This interface type is derived from the broadcast
interface type, and is denoted the "OSPFv3 MANET interface type".
<span class="grey">Baccelli, et al. Experimental [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc5449">RFC 5449</a> OSPF MPR Extension for MANET February 2009</span>
Table of Contents
<a href="#section-1">1</a>. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-2">2</a>. Terminology . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-3">3</a>. Applicability Statement . . . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-3.1">3.1</a>. MANET Characteristics . . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-3.2">3.2</a>. OSPFv3 MANET Interface Characteristics . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-4">4</a>. Protocol Overview and Functioning . . . . . . . . . . . . . . <a href="#page-6">6</a>
<a href="#section-4.1">4.1</a>. Efficient Flooding Using MPRs . . . . . . . . . . . . . . <a href="#page-6">6</a>
<a href="#section-4.2">4.2</a>. MPR Topology-Reduction . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
<a href="#section-4.3">4.3</a>. Multicast Transmissions of Protocol Packets . . . . . . . <a href="#page-7">7</a>
<a href="#section-4.4">4.4</a>. MPR Adjacency-Reduction . . . . . . . . . . . . . . . . . <a href="#page-7">7</a>
<a href="#section-5">5</a>. Protocol Details . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-7">7</a>
<a href="#section-5.1">5.1</a>. Data Structures . . . . . . . . . . . . . . . . . . . . . <a href="#page-7">7</a>
<a href="#section-5.1.1">5.1.1</a>. N(i): Symmetric 1-Hop Neighbor Set . . . . . . . . . . <a href="#page-7">7</a>
<a href="#section-5.1.2">5.1.2</a>. N2(i): Symmetric Strict 2-Hop Neighbor Set . . . . . . <a href="#page-8">8</a>
<a href="#section-5.1.3">5.1.3</a>. Flooding-MPR Set . . . . . . . . . . . . . . . . . . . <a href="#page-8">8</a>
<a href="#section-5.1.4">5.1.4</a>. Flooding-MPR-Selector Set . . . . . . . . . . . . . . <a href="#page-9">9</a>
<a href="#section-5.1.5">5.1.5</a>. Path-MPR Set . . . . . . . . . . . . . . . . . . . . . <a href="#page-9">9</a>
<a href="#section-5.1.6">5.1.6</a>. Path-MPR-Selector Set . . . . . . . . . . . . . . . . <a href="#page-10">10</a>
<a href="#section-5.1.7">5.1.7</a>. MPR Set . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-10">10</a>
<a href="#section-5.1.8">5.1.8</a>. MPR-Selector Set . . . . . . . . . . . . . . . . . . . <a href="#page-10">10</a>
<a href="#section-5.2">5.2</a>. Hello Protocol . . . . . . . . . . . . . . . . . . . . . . <a href="#page-10">10</a>
<a href="#section-5.2.1">5.2.1</a>. Flooding-MPR Selection . . . . . . . . . . . . . . . . <a href="#page-11">11</a>
<a href="#section-5.2.2">5.2.2</a>. Flooding-MPR Selection Signaling - FMPR TLV . . . . . <a href="#page-11">11</a>
<a href="#section-5.2.3">5.2.3</a>. Neighbor Ordering . . . . . . . . . . . . . . . . . . <a href="#page-12">12</a>
<a href="#section-5.2.4">5.2.4</a>. Metric Signaling - METRIC-MPR TLV and PMPR TLV . . . . <a href="#page-12">12</a>
<a href="#section-5.2.5">5.2.5</a>. Path-MPR Selection . . . . . . . . . . . . . . . . . . <a href="#page-12">12</a>
<a href="#section-5.2.6">5.2.6</a>. Path-MPR Selection Signaling - PMPR TLV . . . . . . . <a href="#page-12">12</a>
<a href="#section-5.2.7">5.2.7</a>. Hello Packet Processing . . . . . . . . . . . . . . . <a href="#page-13">13</a>
<a href="#section-5.3">5.3</a>. Adjacencies . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-13">13</a>
<a href="#section-5.3.1">5.3.1</a>. Packets over 2-Way Links . . . . . . . . . . . . . . . <a href="#page-14">14</a>
<a href="#section-5.3.2">5.3.2</a>. Adjacency Conservation . . . . . . . . . . . . . . . . <a href="#page-14">14</a>
<a href="#section-5.4">5.4</a>. Link State Advertisements . . . . . . . . . . . . . . . . <a href="#page-14">14</a>
<a href="#section-5.4.1">5.4.1</a>. LSA Flooding . . . . . . . . . . . . . . . . . . . . . <a href="#page-15">15</a>
<a href="#section-5.4.2">5.4.2</a>. Link State Acknowledgments . . . . . . . . . . . . . . <a href="#page-17">17</a>
<a href="#section-5.5">5.5</a>. Hybrid Routers . . . . . . . . . . . . . . . . . . . . . . <a href="#page-18">18</a>
<a href="#section-5.6">5.6</a>. Synch Routers . . . . . . . . . . . . . . . . . . . . . . <a href="#page-18">18</a>
<a href="#section-5.7">5.7</a>. Routing Table Computation . . . . . . . . . . . . . . . . <a href="#page-18">18</a>
<a href="#section-6">6</a>. Packet Formats . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-19">19</a>
<a href="#section-6.1">6.1</a>. Flooding-MPR TLV . . . . . . . . . . . . . . . . . . . . <a href="#page-19">19</a>
<a href="#section-6.2">6.2</a>. Metric-MPR TLV . . . . . . . . . . . . . . . . . . . . . . <a href="#page-19">19</a>
<a href="#section-6.3">6.3</a>. Path-MPR TLV . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-22">22</a>
<a href="#section-7">7</a>. Security Considerations . . . . . . . . . . . . . . . . . . . <a href="#page-24">24</a>
<a href="#section-8">8</a>. IANA Considerations . . . . . . . . . . . . . . . . . . . . . <a href="#page-25">25</a>
<a href="#section-9">9</a>. References . . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-26">26</a>
<a href="#section-9.1">9.1</a>. Normative References . . . . . . . . . . . . . . . . . . . <a href="#page-26">26</a>
<a href="#section-9.2">9.2</a>. Informative References . . . . . . . . . . . . . . . . . . <a href="#page-26">26</a>
<span class="grey">Baccelli, et al. Experimental [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc5449">RFC 5449</a> OSPF MPR Extension for MANET February 2009</span>
<a href="#appendix-A">Appendix A</a>. Flooding-MPR Selection Heuristic . . . . . . . . . . <a href="#page-28">28</a>
<a href="#appendix-B">Appendix B</a>. Path-MPR Selection Heuristic . . . . . . . . . . . . <a href="#page-29">29</a>
<a href="#appendix-C">Appendix C</a>. Contributors . . . . . . . . . . . . . . . . . . . . <a href="#page-30">30</a>
<a href="#appendix-D">Appendix D</a>. Acknowledgments . . . . . . . . . . . . . . . . . . . <a href="#page-30">30</a>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
This document specifies an extension of OSPFv3 [<a href="./rfc5340" title=""OSPF for IPv6"">RFC5340</a>] that is
adapted to mobile ad hoc networks (MANETs) [<a href="./rfc2501" title=""Mobile Ad hoc Networking (MANET): Routing Protocol Performance Issues and Evaluation Considerations"">RFC2501</a>] and based on
mechanisms providing:
Flooding-reduction: only a subset of all routers will be involved in
(re)transmissions during a flooding operation.
Topology-reduction: only a subset of links are advertised, hence
both the number and the size of Link State Advertisements (LSAs)
are decreased.
Adjacency-reduction: adjacencies are brought up only with a subset
of neighbors for lower database synchronization overhead.
These mechanisms are based on multipoint relays (MPR), a technique
developed in the Optimized Link State Routing Protocol (OLSR)
[<a href="./rfc3626" title=""Optimized Link State Routing Protocol (OLSR)"">RFC3626</a>].
The extension specified in this document integrates into the OSPF
framework by defining the OSPFv3 MANET interface type. While this
extension enables OSPFv3 to function efficiently on mobile ad hoc
networks, operation of OSPFv3 on other types of interfaces or
networks, or in areas without OSPFv3 MANET interfaces, remains
unaltered.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Terminology</span>
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "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>].
This document uses OSPF terminology as defined in [<a href="./rfc2328" title=""OSPF Version 2"">RFC2328</a>] and
[<a href="./rfc5340" title=""OSPF for IPv6"">RFC5340</a>], and Link-Local Signaling (LLS) terminology as defined in
[<a href="./rfc4813" title=""OSPF Link-Local Signaling"">RFC4813</a>]; it introduces the following terminology to the OSPF
nomenclature:
OSPFv3 MANET interface - the OSPFv3 interface type for MANETs, as
specified in this document.
<span class="grey">Baccelli, et al. Experimental [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc5449">RFC 5449</a> OSPF MPR Extension for MANET February 2009</span>
Additionally, the following terms are used in this document:
MANET router - a router that has only OSPFv3 MANET interfaces.
Wired router - a router that has only OSPFv3 interface of types
other than OSPFv3 MANET interfaces.
Hybrid router - a router that has OSPFv3 interfaces of several
types, including at least one of the OSPFv3 MANET interface type.
Neighbor - a router, reachable through an OSPFv3 interface (of any
type).
MANET neighbor - a neighbor, reachable through an OSPFv3 MANET
interface.
Symmetric 1-hop neighbor - a neighbor, in a state greater than or
equal to 2-Way (through an interface of any type).
Symmetric strict 2-hop neighbor - a symmetric 1-hop neighbor of a
symmetric 1-hop neighbor, which is not itself a symmetric 1-hop
neighbor of the considered router.
Symmetric strict 2-hop neighborhood - the set formed by all the
symmetric strict 2-hop neighbors of the considered router.
Synch router - a router that brings up adjacencies with all of its
MANET neighbors.
Flooding-MPR - a router that is selected by its symmetric 1-hop
neighbor, router X, to retransmit all broadcast protocol packets
that it receives from router X, provided that the broadcast
protocol packet is not a duplicate and that the Hop Limit field of
the protocol packet is greater than one.
Path-MPR - a router that is selected by a symmetric 1-hop neighbor,
X, as being on the shortest path from a router in the symmetric
strict 2-hop neighborhood of router X to router X.
Multipoint relay (MPR) - a router that is selected by its symmetric
1-hop neighbor as either a Flooding-MPR, a Path-MPR, or both.
Flooding-MPR-selector - a router that has selected its symmetric
1-hop neighbor, router X, as one of its Flooding-MPRs is a
Flooding-MPR-selector of router X.
<span class="grey">Baccelli, et al. Experimental [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc5449">RFC 5449</a> OSPF MPR Extension for MANET February 2009</span>
Path-MPR-selector - a router that has selected its symmetric 1-hop
neighbor, router X, as one of its Path-MPRs is a Path-MPR selector
of router X.
MPR-selector - a router that has selected its symmetric 1-hop
neighbor, router X, as either one of its Flooding-MPRs, one of its
Path-MPRs, or both is an MPR-selector of router X.
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Applicability Statement</span>
The OSPFv3 MANET interface type, defined in this specification,
allows OSPFv3 to be deployed within an area where parts of that area
are a mobile ad hoc network (MANET) with moderate mobility
properties.
<span class="h3"><a class="selflink" id="section-3.1" href="#section-3.1">3.1</a>. MANET Characteristics</span>
MANETs [<a href="./rfc2501" title=""Mobile Ad hoc Networking (MANET): Routing Protocol Performance Issues and Evaluation Considerations"">RFC2501</a>] are networks in which a dynamic network topology is
a frequently expected condition, often due to router mobility and/or
to varying quality of wireless links -- the latter of which also
generally entails bandwidth scarcity and interference issues between
neighbors.
Moreover, MANETs often exhibit "semi-broadcast" properties, i.e., a
router R that makes a transmission within a MANET can only assume
that transmission to be received by a subset of the total number of
routers within that MANET. Further, if two routers, R1 and R2, each
make a transmission, neither of these transmissions is guaranteed to
be received by the same subset of routers within the MANET -- even if
R1 and R2 can mutually receive transmissions from each other.
These characteristics are incompatible with several OSPFv3
mechanisms, including, but not limited to, existing mechanisms for
control-traffic reduction, such as flooding-reduction, topology-
reduction, and adjacency-reduction (e.g., Designated Router).
<span class="h3"><a class="selflink" id="section-3.2" href="#section-3.2">3.2</a>. OSPFv3 MANET Interface Characteristics</span>
An interface of the OSPFv3 MANET interface type is the point of
attachment of an OSPFv3 router to a network that may have MANET
characteristics. That is, an interface of the OSPFv3 MANET interface
type is able to accommodate the MANET characteristics described in
<a href="#section-3.1">Section 3.1</a>. An OSPFv3 MANET interface type is not prescribing a set
of behaviors or expectations that the network is required to satisfy.
Rather, it is describing operating conditions under which protocols
on an interface towards that network must be able to function (i.e.,
the protocols are required to be able to operate correctly when faced
with the characteristics described in <a href="#section-3.1">Section 3.1</a>). As such, the
<span class="grey">Baccelli, et al. Experimental [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc5449">RFC 5449</a> OSPF MPR Extension for MANET February 2009</span>
OSPFv3 MANET interface type is a generalization of other OSPFv3
interface types; for example, a protocol operating correctly over an
OSPFv3 MANET interface would also operate correctly over an OSPFv3
broadcast interface (whereas the inverse would not necessarily be
true).
Efficient OSPFv3 operation over MANETs relies on control-traffic
reduction and on using mechanisms appropriate for semi-broadcast.
The OSPFv3 MANET interface type, defined in this document, allows
networks with MANET characteristics into the OSPFv3 framework by
integrating mechanisms (flooding-reduction, topology-reduction, and
adjacency-reduction) derived from solutions standardized by the MANET
working group.
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Protocol Overview and Functioning</span>
The OSPFv3 MANET interface type, defined in this specification, makes
use of flooding-reduction, topology-reduction, and adjacency-
reduction, all based on MPR, a technique derived from [<a href="./rfc3626" title=""Optimized Link State Routing Protocol (OLSR)"">RFC3626</a>], as
standardized in the MANET working group. Multicast transmissions of
protocol packets are used when possible.
<span class="h3"><a class="selflink" id="section-4.1" href="#section-4.1">4.1</a>. Efficient Flooding Using MPRs</span>
OSPFv3 MANET interfaces use a flooding-reduction mechanism, denoted
MPR flooding [<a href="#ref-MPR" title=""Multipoint Relaying for Flooding Broadcast Messages in Mobile Wireless Networks"">MPR</a>], whereby only a subset of MANET neighbors (those
selected as Flooding-MPR) participate in a flooding operation. This
reduces the number of (re)transmissions necessary for a flooding
operation [<a href="#ref-MPR-analysis" title=""Analysis of MPR Selection in the OLSR Protocol"">MPR-analysis</a>], while retaining resilience against
transmission errors (inherent when using wireless links) and against
obsolete two-hop neighbor information (e.g., as caused by router
mobility) [<a href="#ref-MPR-robustness" title=""On the Robustness and Stability of Connected Dominated Sets"">MPR-robustness</a>].
<span class="h3"><a class="selflink" id="section-4.2" href="#section-4.2">4.2</a>. MPR Topology-Reduction</span>
OSPFv3 MANET interfaces use a topology-reduction mechanism, denoted
MPR topology-reduction, whereby only necessary links to MANET
neighbors (those identified by Path-MPR selection as belonging to
shortest paths) are included in LSAs. Routers in a MANET
periodically generate and flood Router-LSAs describing their
selection of such links to their Path-MPRs. Such links are reported
as point-to-point links. This reduces the size of LSAs originated by
routers on a MANET [<a href="#ref-MPR-topology" title=""Partial Topology in an MPR-based Solution for Wireless OSPF on Mobile Ad Hoc Networks"">MPR-topology</a>], while retaining classic OSPF
properties: optimal paths using synchronized adjacencies (if
synchronized paths are preferred over non-synchronized paths of equal
cost).
<span class="grey">Baccelli, et al. Experimental [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc5449">RFC 5449</a> OSPF MPR Extension for MANET February 2009</span>
<span class="h3"><a class="selflink" id="section-4.3" href="#section-4.3">4.3</a>. Multicast Transmissions of Protocol Packets</span>
OSPFv3 MANET interfaces employ multicast transmissions when possible,
thereby taking advantage of inherent broadcast capabilities of the
medium, if present (with wireless interfaces, this can often be the
case [<a href="./rfc2501" title=""Mobile Ad hoc Networking (MANET): Routing Protocol Performance Issues and Evaluation Considerations"">RFC2501</a>]). In particular, LSA acknowledgments are sent via
multicast over these interfaces, and retransmissions over the same
interfaces are considered as implicit acknowledgments. Jitter
management, such as delaying packet (re)transmission, can be employed
in order to allow several packets to be bundled into a single
transmission, which may avoid superfluous retransmissions due to
packet collisions [<a href="./rfc5148" title=""Jitter Considerations in Mobile Ad Hoc Networks (MANETs)"">RFC5148</a>].
<span class="h3"><a class="selflink" id="section-4.4" href="#section-4.4">4.4</a>. MPR Adjacency-Reduction</span>
Adjacencies over OSPFv3 MANET interfaces are required to be formed
only with a subset of the neighbors of that OSPFv3 MANET interface.
No Designated Router or Backup Designated Router are elected on an
OSPFv3 MANET interface. Rather, adjacencies are brought up over an
OSPFv3 MANET interface only with MPRs and MPR selectors. Only a
small subset of routers in the MANET (called Synch routers) are
required to bring up adjacencies with all their MANET neighbors.
This reduces the amount of control traffic needed for database
synchronization, while ensuring that LSAs still describe only
synchronized adjacencies.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Protocol Details</span>
This section complements [<a href="./rfc5340" title=""OSPF for IPv6"">RFC5340</a>] and specifies the information that
must be maintained, processed, and transmitted by routers that
operate one or more OSPFv3 MANET interfaces.
<span class="h3"><a class="selflink" id="section-5.1" href="#section-5.1">5.1</a>. Data Structures</span>
In addition to the values used in [<a href="./rfc5340" title=""OSPF for IPv6"">RFC5340</a>], the Type field in the
interface data structure can take a new value, "MANET". Furthermore,
and in addition to the protocol structures defined by [<a href="./rfc5340" title=""OSPF for IPv6"">RFC5340</a>],
routers that operate one or more MANET interfaces make use of the
data structures described below.
<span class="h4"><a class="selflink" id="section-5.1.1" href="#section-5.1.1">5.1.1</a>. N(i): Symmetric 1-Hop Neighbor Set</span>
The Symmetric 1-hop Neighbor set N(i) records router IDs of the set
of symmetric 1-hop neighbors of the router on interface i. More
precisely, N(i) records tuples of the form:
<span class="grey">Baccelli, et al. Experimental [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc5449">RFC 5449</a> OSPF MPR Extension for MANET February 2009</span>
(1_HOP_SYM_id, 1_HOP_SYM_time)
where:
1_HOP_SYM_id: is the router ID of the symmetric 1-hop neighbor of
this router over interface i.
1_HOP_SYM_time: specifies the time at which the tuple expires and
MUST be removed from the set.
For convenience throughout this document, N will denote the union of
all N(i) sets for all MANET interfaces on the router.
<span class="h4"><a class="selflink" id="section-5.1.2" href="#section-5.1.2">5.1.2</a>. N2(i): Symmetric Strict 2-Hop Neighbor Set</span>
The Symmetric strict 2-hop Neighbor set N2(i) records links between
routers in N(i) and their symmetric 1-hop neighbors, excluding:
(i) the router performing the computation, and
(ii) all routers in N(i).
More precisely, N2(i) records tuples of the form:
(2_HOP_SYM_id, 1_HOP_SYM_id, 2_HOP_SYM_time)
where:
2_HOP_SYM_id: is the router ID of a symmetric strict 2-hop neighbor.
1_HOP_SYM_id: is the router ID of the symmetric 1-hop neighbor of
this router through which the symmetric strict 2-hop neighbor can
be reached.
2_HOP_SYM_time: specifies the time at which the tuple expires and
MUST be removed from the set.
For convenience throughout this document, N2 will denote the union of
all N2(i) sets for all MANET interfaces on the router.
<span class="h4"><a class="selflink" id="section-5.1.3" href="#section-5.1.3">5.1.3</a>. Flooding-MPR Set</span>
The Flooding-MPR set on interface i records router IDs of a subset of
the routers listed in N(i), selected such that, through this subset,
each router listed in N2(i) is reachable in 2 hops by this router.
There is one Flooding-MPR set per MANET interface. More precisely,
the Flooding-MPR set records tuples of the form:
<span class="grey">Baccelli, et al. Experimental [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc5449">RFC 5449</a> OSPF MPR Extension for MANET February 2009</span>
(Flooding_MPR_id, Flooding_MPR_time)
where:
Flooding_MPR_id: is the router ID of the symmetric 1-hop neighbor of
this router that is selected as Flooding-MPR.
Flooding_MPR_time: specifies the time at which the tuple expires and
MUST be removed from the set.
Flooding-MPR selection is detailed in <a href="#section-5.2.1">Section 5.2.1</a>.
<span class="h4"><a class="selflink" id="section-5.1.4" href="#section-5.1.4">5.1.4</a>. Flooding-MPR-Selector Set</span>
The Flooding-MPR-selector set on interface i records router IDs of
the set of symmetric 1-hop neighbors of this router on interface i
that have selected this router as their Flooding-MPR. There is one
Flooding-MPR-selector set per MANET interface. More precisely, the
Flooding-MPR-selector set records tuples of the form:
(Flooding_MPR_SELECTOR_id, Flooding_MPR_SELECTOR_time)
where:
Flooding_MPR_SELECTOR_id: is the router ID of the symmetric 1-hop
neighbor of this router, that has selected this router as its
Flooding-MPR.
Flooding_MPR_SELECTOR_time: specifies the time at which the tuple
expires and MUST be removed from the set.
Flooding-MPR selection is detailed in <a href="#section-5.2.1">Section 5.2.1</a>.
<span class="h4"><a class="selflink" id="section-5.1.5" href="#section-5.1.5">5.1.5</a>. Path-MPR Set</span>
The Path-MPR set records router IDs of routers in N that provide
shortest paths from routers in N2 to this router. There is one Path-
MPR set per router. More precisely, the Path-MPR set records tuples
of the form:
(Path_MPR_id, Path_MPR_time)
where:
Path_MPR_id: is the router ID of the symmetric 1-hop neighbor of
this router, selected as Path-MPR.
<span class="grey">Baccelli, et al. Experimental [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc5449">RFC 5449</a> OSPF MPR Extension for MANET February 2009</span>
Path_MPR_time: specifies the time at which the tuple expires and
MUST be removed from the set.
Path-MPR selection is detailed in <a href="#section-5.2.5">Section 5.2.5</a>.
<span class="h4"><a class="selflink" id="section-5.1.6" href="#section-5.1.6">5.1.6</a>. Path-MPR-Selector Set</span>
The Path-MPR-selector set records router IDs of the set of symmetric
1-hop neighbors over any MANET interface that have selected this
router as their Path-MPR. There is one Path-MPR-selector set per
router. More precisely, the Path-MPR-selector set records tuples of
the form:
(Path_MPR_SELECTOR_id, Path_MPR_SELECTOR_time)
where:
Path_MPR_SELECTOR_id: is the router ID of the symmetric 1-hop
neighbor of this router that has selected this router as its Path-
MPR.
Path_MPR_SELECTOR_time: specifies the time at which the tuple
expires and MUST be removed from the set.
Path-MPR selection is detailed in <a href="#section-5.2.5">Section 5.2.5</a>.
<span class="h4"><a class="selflink" id="section-5.1.7" href="#section-5.1.7">5.1.7</a>. MPR Set</span>
The MPR set is the union of the Flooding-MPR set(s) and the Path-MPR
set. There is one MPR set per router.
<span class="h4"><a class="selflink" id="section-5.1.8" href="#section-5.1.8">5.1.8</a>. MPR-Selector Set</span>
The MPR-selector set is the union of the Flooding-MPR-selector set(s)
and the Path-MPR-selector set. There is one MPR-selector set per
router.
<span class="h3"><a class="selflink" id="section-5.2" href="#section-5.2">5.2</a>. Hello Protocol</span>
On OSPFv3 MANET interfaces, packets are sent, received, and processed
as defined in [<a href="./rfc5340" title=""OSPF for IPv6"">RFC5340</a>] and [<a href="./rfc2328" title=""OSPF Version 2"">RFC2328</a>], and augmented for MPR
selection as detailed in this section.
All additional signaling for OSPFv3 MANET interfaces is done through
inclusion of TLVs within an LLS block [<a href="./rfc4813" title=""OSPF Link-Local Signaling"">RFC4813</a>], which is appended to
Hello packets. If an LLS block is not already present, an LLS block
MUST be created and appended to the Hello packets.
<span class="grey">Baccelli, et al. Experimental [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc5449">RFC 5449</a> OSPF MPR Extension for MANET February 2009</span>
Hello packets sent over an OSPFv3 MANET interface MUST have the L bit
of the OSPF Options field set, as per [<a href="./rfc4813" title=""OSPF Link-Local Signaling"">RFC4813</a>], indicating the
presence of an LLS block.
This document defines and employs the following TLVs in Hello packets
sent over OSPFv3 MANET interfaces:
FMPR - signaling Flooding-MPR selection;
PMPR - signaling Path-MPR selection;
METRIC-MPR - signaling metrics.
The layout and internal structure of these TLVs is detailed in
<a href="#section-6">Section 6</a>.
<span class="h4"><a class="selflink" id="section-5.2.1" href="#section-5.2.1">5.2.1</a>. Flooding-MPR Selection</span>
The objective of Flooding-MPR selection is for a router to select a
subset of its neighbors such that a packet, retransmitted by these
selected neighbors, will be received by all routers 2 hops away.
This property is called the Flooding-MPR "coverage criterion". The
Flooding-MPR set of a router is computed such that, for each OSPFv3
MANET interface, it satisfies this criterion. The information
required to perform this calculation (i.e., link sensing and
neighborhood information) is acquired through periodic exchange of
OSPFv3 Hello packets.
Flooding-MPRs are computed by each router that operates at least one
OSPFv3 MANET interface. The smaller the Flooding-MPR set is, the
lower the overhead will be. However, while it is not essential that
the Flooding-MPR set is minimal, the "coverage criterion" MUST be
satisfied by the selected Flooding-MPR set.
The willingness of a neighbor router to act as Flooding-MPR MAY be
taken into consideration by a heuristic for Flooding-MPR selection.
An example heuristic that takes willingness into account is given in
<a href="#appendix-A">Appendix A</a>.
<span class="h4"><a class="selflink" id="section-5.2.2" href="#section-5.2.2">5.2.2</a>. Flooding-MPR Selection Signaling - FMPR TLV</span>
A router MUST signal its Flooding-MPRs set to its neighbors by
including an FMPR TLV in generated Hello packets. Inclusion of this
FMPR TLV signals the list of symmetric 1-hop neighbors that the
sending router has selected as Flooding-MPRs, as well as the
willingness of the sending router to be elected Flooding-MPR by other
routers. The FMPR TLV structure is detailed in <a href="#section-6.1">Section 6.1</a>.
<span class="grey">Baccelli, et al. Experimental [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc5449">RFC 5449</a> OSPF MPR Extension for MANET February 2009</span>
<span class="h4"><a class="selflink" id="section-5.2.3" href="#section-5.2.3">5.2.3</a>. Neighbor Ordering</span>
Neighbors listed in the Hello packets sent over OSPFv3 MANET
interfaces MUST be included in the order as given below:
1. symmetric 1-hop neighbors that are selected as Flooding-MPRs;
2. other symmetric 1-hop neighbors;
3. other 1-hop neighbors.
This ordering allows correct interpretation of an included FMPR TLV.
<span class="h4"><a class="selflink" id="section-5.2.4" href="#section-5.2.4">5.2.4</a>. Metric Signaling - METRIC-MPR TLV and PMPR TLV</span>
Hello packets sent over OSPFv3 MANET interfaces MUST advertise the
costs of links towards ALL the symmetric MANET neighbors of the
sending router. If the sending router has more than one OSPFv3 MANET
interface, links to ALL the symmetric MANET neighbors over ALL the
OSPFv3 MANET interfaces of that router MUST have their costs
advertised.
The costs of the links between the router and each of its MANET
neighbors on the OSPFv3 MANET interface over which the Hello packet
is sent MUST be signaled by including METRIC-MPR TLVs. The METRIC-
MPR TLV structure is detailed in <a href="#section-6.2">Section 6.2</a>.
Moreover, the lowest cost from each MANET neighbor towards the router
(regardless of over which interface) MUST be specified in the
included PMPR TLV. Note that the lowest cost can be over an
interface that is not an OSPFv3 MANET interface.
<span class="h4"><a class="selflink" id="section-5.2.5" href="#section-5.2.5">5.2.5</a>. Path-MPR Selection</span>
A router that has one or more OSPFv3 MANET interfaces MUST select a
Path-MPR set from among routers in N. Routers in the Path-MPR set of
a router are those that take part in the shortest (with respect to
the metrics used) path from routers in N2 to this router. A
heuristic for Path-MPR selection is given in <a href="#appendix-B">Appendix B</a>.
<span class="h4"><a class="selflink" id="section-5.2.6" href="#section-5.2.6">5.2.6</a>. Path-MPR Selection Signaling - PMPR TLV</span>
A router MUST signal its Path-MPR set to its neighbors by including a
PMPR TLV in generated Hello packets.
A PMPR TLV MUST contain a list of IDs of all symmetric 1-hop
neighbors of all OSPFv3 MANET interfaces of the router. These IDs
MUST be included in the PMPR TLV in the order as given below:
<span class="grey">Baccelli, et al. Experimental [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc5449">RFC 5449</a> OSPF MPR Extension for MANET February 2009</span>
1. Neighbors that are both adjacent AND selected as Path-MPR for any
OSPFv3 MANET interface of the router generating the Hello packet.
2. Neighbors that are adjacent over any OSPFv3 MANET interface of
the router generating the Hello packet.
3. Symmetric 1-hop neighbors on any OSPFv3 MANET interface of the
router generating the Hello packet that have not been previously
included in this PMPR TLV.
The list of neighbor IDs is followed by a list of costs for the links
from these neighbors to the router generating the Hello packet
containing this PMPR TLV, as detailed in <a href="#section-5.2.4">Section 5.2.4</a>. The PMPR TLV
structure is detailed in <a href="#section-6.3">Section 6.3</a>.
<span class="h4"><a class="selflink" id="section-5.2.7" href="#section-5.2.7">5.2.7</a>. Hello Packet Processing</span>
In addition to the processing specified in [<a href="./rfc5340" title=""OSPF for IPv6"">RFC5340</a>], N and N2 MUST
be updated when received Hello packets indicate changes to the
neighborhood of an OSPFv3 MANET interface i. In particular, if a
received Hello packet signals that a tuple in N (or N2) is to be
deleted, the deletion is done immediately, without waiting for the
tuple to expire. Note that N2 records not only 2-hop neighbors
listed in received Hellos but also 2-hop neighbors listed in the
appended PMPR TLVs.
The Flooding-MPR set MUST be recomputed when either of N(i) or N2(i)
has changed. The Path-MPR set MUST be recomputed when either of N or
N2 has changed. Moreover, the Path-MPR set MUST be recomputed if
appended LLS information signals change with respect to one or more
link costs.
The Flooding-MPR-selector set and the Path-MPR-selector set MUST be
updated upon receipt of a Hello packet containing LLS information
indicating changes in the list of neighbors that has selected the
router as MPR.
If a Hello with the S bit set is received on an OSPFv3 MANET
interface of a router, from a non-adjacent neighbor, the router MUST
transition this neighbor's state to ExStart.
<span class="h3"><a class="selflink" id="section-5.3" href="#section-5.3">5.3</a>. Adjacencies</span>
Adjacencies are brought up between OSPFv3 MANET interfaces as
described in [<a href="./rfc5340" title=""OSPF for IPv6"">RFC5340</a>] and [<a href="./rfc2328" title=""OSPF Version 2"">RFC2328</a>]. However, in order to reduce
the control-traffic overhead over the OSPFv3 MANET interfaces, a
router that has one or more such OSPFv3 MANET interfaces MAY bring up
adjacencies with only a subset of its MANET neighbors.
<span class="grey">Baccelli, et al. Experimental [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc5449">RFC 5449</a> OSPF MPR Extension for MANET February 2009</span>
Over an OSPFv3 MANET interface, a router MUST bring up adjacencies
with all MANET neighbors that are included in its MPR set and its
MPR-selector set; this ensures that, beyond the first hop, routes use
synchronized links (if synchronized paths are preferred over non-
synchronized paths of equal cost). A router MAY bring up adjacencies
with other MANET neighbors, at the expense of additional
synchronization overhead.
<span class="h4"><a class="selflink" id="section-5.3.1" href="#section-5.3.1">5.3.1</a>. Packets over 2-Way Links</span>
When a router does not form a full adjacency with a MANET neighbor,
the state of that neighbor does not progress beyond 2-Way (as defined
in [<a href="./rfc2328" title=""OSPF Version 2"">RFC2328</a>]). A router can send protocol packets, such as LSAs, to
a MANET neighbor in 2-Way state. Therefore, any packet received from
a symmetric MANET neighbor MUST be processed.
As with the OSPF broadcast interface [<a href="./rfc2328" title=""OSPF Version 2"">RFC2328</a>], the next hop in the
forwarding table MAY be a neighbor that is not adjacent. However,
when a data packet has travelled beyond its first hop, the MPR-
selection process guarantees that subsequent hops in the shortest
path tree (SPT) will be over adjacencies (if synchronized paths are
preferred over non-synchronized paths of equal cost).
<span class="h4"><a class="selflink" id="section-5.3.2" href="#section-5.3.2">5.3.2</a>. Adjacency Conservation</span>
Adjacencies are torn down according to [<a href="./rfc2328" title=""OSPF Version 2"">RFC2328</a>]. When the MPR set
or MPR-selector set is updated (due to changes in the neighborhood),
and when a neighbor was formerly, but is no longer, in the MPR set or
the MPR-selector set, then the adjacency with that neighbor is kept
unless the change causes the neighbor to cease being a symmetric
1-hop neighbor.
When a router receives Hello packets from a symmetric 1-hop neighbor
that ceases to list this router as being adjacent (see
<a href="#section-5.2.6">Section 5.2.6</a>), the state of that neighbor MUST be changed to:
1. 2-Way if the neighbor is not in the MPR set or MPR-selector set,
or
2. ExStart if either the neighbor is in the MPR set or MPR-selector
set, or the neighbor or the router itself is a Synch router.
<span class="h3"><a class="selflink" id="section-5.4" href="#section-5.4">5.4</a>. Link State Advertisements</span>
Routers generate Router-LSAs periodically, using the format specified
in [<a href="./rfc5340" title=""OSPF for IPv6"">RFC5340</a>] and [<a href="./rfc2328" title=""OSPF Version 2"">RFC2328</a>].
<span class="grey">Baccelli, et al. Experimental [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc5449">RFC 5449</a> OSPF MPR Extension for MANET February 2009</span>
Routers that have one or more OSPFv3 MANET interfaces MUST include
the following links in the Router-LSAs that they generate:
o links to all neighbors that are in the Path-MPR set, AND
o links to all neighbors that are in the Path-MPR-selector set.
Routers that have one or more OSPFv3 MANET interfaces MAY list other
links they have through those OSPFv3 MANET interfaces, at the expense
of larger LSAs.
In addition, routers that have one or more OSPFv3 MANET interfaces
MUST generate updated Router-LSAs when either of the following
occurs:
o a new adjacency has been brought up, reflecting a change in the
Path-MPR set;
o a new adjacency has been brought up, reflecting a change in the
Path-MPR-selector set;
o a formerly adjacent and advertised neighbor ceases to be adjacent;
o the cost of a link to (or from) an advertised neighbor has
changed.
<span class="h4"><a class="selflink" id="section-5.4.1" href="#section-5.4.1">5.4.1</a>. LSA Flooding</span>
An originated LSA is flooded, according to [<a href="./rfc5340" title=""OSPF for IPv6"">RFC5340</a>], out all
interfaces concerned by the scope of this LSA.
Link State Updates received on an interface of a type other than
OSPFv3 MANET interface are processed and flooded according to
[<a href="./rfc2328" title=""OSPF Version 2"">RFC2328</a>] and [<a href="./rfc5340" title=""OSPF for IPv6"">RFC5340</a>], over every interface. If a Link State
Update was received on an OSPFv3 MANET interface, it is processed as
follows:
1. Consistency checks are performed on the received packet according
to [<a href="./rfc2328" title=""OSPF Version 2"">RFC2328</a>] and [<a href="./rfc5340" title=""OSPF for IPv6"">RFC5340</a>], and the Link State Update packet is
thus associated with a particular neighbor and a particular area.
2. If the Link State Update was received from a router other than a
symmetric 1-hop neighbor, the Link State Update MUST be discarded
without further processing.
3. Otherwise, for each LSA contained in Link State Updates received
over an OSPFv3 MANET interface, the following steps replace steps
1 to 5 of <a href="./rfc2328#section-13.3">Section 13.3 of [RFC2328]</a>.
<span class="grey">Baccelli, et al. Experimental [Page 15]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-16" ></span>
<span class="grey"><a href="./rfc5449">RFC 5449</a> OSPF MPR Extension for MANET February 2009</span>
(1) If an LSA exists in the Link State Database, with the same
Link State ID, LS Type, and Advertising Router values as the
received LSA, and if the received LSA is not newer (see
<a href="./rfc2328#section-13.1">Section 13.1 of [RFC2328]</a>), then the received LSA MUST NOT
be processed, except for acknowledgment as described in
<a href="#section-5.4.2">Section 5.4.2</a>.
(2) Otherwise, the LSA MUST be attributed a scope according to
its type, as specified in <a href="./rfc5340#section-3.5">Section 3.5 of [RFC5340]</a>.
(3) If the scope of the LSA is link local or reserved, the LSA
MUST NOT be flooded on any interface.
(4) Otherwise:
+ If the scope of the LSA is the area, the LSA MUST be
flooded on all the OSPFv3 interfaces of the router in
that area, according to the default flooding algorithm
described in <a href="#section-5.4.1.1">Section 5.4.1.1</a>.
+ Otherwise, the LSA MUST be flooded on all the OSPFv3
interfaces of the router according to the default
flooding algorithm described in <a href="#section-5.4.1.1">Section 5.4.1.1</a>.
<span class="h5"><a class="selflink" id="section-5.4.1.1" href="#section-5.4.1.1">5.4.1.1</a>. Default LSA Flooding Algorithm</span>
The default LSA flooding algorithm is as follows:
1. The LSA MUST be installed in the Link State Database.
2. The Age of the LSA MUST be increased by InfTransDelay.
3. The LSA MUST be retransmitted over all OSPFv3 interfaces of types
other than OSPFv3 MANET interface.
4. If the sending OSPFv3 interface is a Flooding-MPR-selector of
this router, then the LSA MUST also be retransmitted over all
OSPFv3 MANET interfaces concerned by the scope, with the
multicast address all_SPF_Routers.
Note that MinLSArrival SHOULD be set to a value that is appropriate
to dynamic topologies: LSA updating may need to be more frequent in
MANET parts of an OSPF network than in other parts of an OSPF
network.
<span class="grey">Baccelli, et al. Experimental [Page 16]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-17" ></span>
<span class="grey"><a href="./rfc5449">RFC 5449</a> OSPF MPR Extension for MANET February 2009</span>
<span class="h4"><a class="selflink" id="section-5.4.2" href="#section-5.4.2">5.4.2</a>. Link State Acknowledgments</span>
When a router receives an LSA over an OSPFv3 MANET interface, the
router MUST proceed to acknowledge the LSA as follows:
1. If the LSA was not received from an adjacent neighbor, the router
MUST NOT acknowledge it.
2. Otherwise, if the LSA was received from an adjacent neighbor and
if the LSA is already in the Link State Database (i.e., the LSA
has already been received and processed), then the router MUST
send an acknowledgment for this LSA on all OSPFv3 MANET
interfaces to the multicast address all_SPF_Routers.
3. Otherwise, if the LSA is not already in the Link State Database:
1. If the router decides to retransmit the LSA (as part of the
flooding procedure), the router MUST NOT acknowledge it, as
this retransmission will be considered as an implicit
acknowledgment.
2. Otherwise, if the router decides to not retransmit the LSA
(as part of the flooding procedure), the router MUST send an
explicit acknowledgment for this LSA on all OSPFv3 MANET
interfaces to the multicast address all_SPF_Routers.
If a router sends an LSA on an OSPFv3 MANET interface, it expects
acknowledgments (explicit or implicit) from all adjacent neighbors.
In the case where the router did not generate, but simply relays, the
LSA, then the router MUST expect acknowledgments (explicit or
implicit) only from adjacent neighbors that have not previously
acknowledged this LSA. If a router detects that some adjacent
neighbor has not acknowledged the LSA, then that router MUST
retransmit the LSA.
If, due to the MPR flooding-reduction mechanism employed for LSA
flooding as described in <a href="#section-5.4.1">Section 5.4.1</a>, a router decides to not relay
an LSA, the router MUST still expect acknowledgments of this LSA
(explicit or implicit) from adjacent neighbors that have not
previously acknowledged this LSA. If a router detects that some
adjacent neighbor has not acknowledged the LSA, then the router MUST
retransmit the LSA.
Note that it may be beneficial to aggregate several acknowledgments
in the same transmission, taking advantage of native multicasting (if
available). A timer wait MAY thus be used before any acknowledgment
transmission.
<span class="grey">Baccelli, et al. Experimental [Page 17]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-18" ></span>
<span class="grey"><a href="./rfc5449">RFC 5449</a> OSPF MPR Extension for MANET February 2009</span>
Additionally, jitter [<a href="./rfc5148" title=""Jitter Considerations in Mobile Ad Hoc Networks (MANETs)"">RFC5148</a>] on packet (re)transmission MAY be used
in order to increase the opportunities to bundle several packets
together in each transmission.
<span class="h3"><a class="selflink" id="section-5.5" href="#section-5.5">5.5</a>. Hybrid Routers</span>
In addition to the operations described in <a href="#section-5.2">Section 5.2</a>, <a href="#section-5.3">Section 5.3</a>
and <a href="#section-5.4">Section 5.4</a>, Hybrid routers MUST:
o select ALL their MANET neighbors as Path-MPRs.
o list adjacencies over OSPFv3 interfaces of types other than OSPFv3
MANET interface, as specified in [<a href="./rfc5340" title=""OSPF for IPv6"">RFC5340</a>] and [<a href="./rfc2328" title=""OSPF Version 2"">RFC2328</a>], in
generated Router-LSAs.
<span class="h3"><a class="selflink" id="section-5.6" href="#section-5.6">5.6</a>. Synch Routers</span>
In a network with no Hybrid routers, at least one Synch router MUST
be selected. A Synch router MUST:
o set the S bit in the PMPR TLV appended to the Hello packets it
generates, AND
o become adjacent with ALL MANET neighbors.
A proposed heuristic for selection of Sync routers is as follows:
o A router that has a MANET interface and an ID that is higher than
the ID of all of its current neighbors, and whose ID is higher
than any other ID present in Router-LSAs currently in its Link
State Database selects itself as Synch router.
Other heuristics are possible; however, any heuristic for selecting
Synch routers MUST ensure the presence of at least one Synch or
Hybrid router in the network.
<span class="h3"><a class="selflink" id="section-5.7" href="#section-5.7">5.7</a>. Routing Table Computation</span>
When routing table (re)computation occurs, in addition to the
processing of the Link State Database defined in [<a href="./rfc5340" title=""OSPF for IPv6"">RFC5340</a>] and
[<a href="./rfc2328" title=""OSPF Version 2"">RFC2328</a>], routers that have one or more MANET interfaces MUST take
into account links between themselves and MANET neighbors that are in
state 2-Way or higher (as data and protocol packets may be sent,
received, and processed over these links too). Thus, the
connectivity matrix used to compute routes MUST reflect links between
the root and all its neighbors in state 2-Way and higher, as well as
links described in the Link State Database.
<span class="grey">Baccelli, et al. Experimental [Page 18]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-19" ></span>
<span class="grey"><a href="./rfc5449">RFC 5449</a> OSPF MPR Extension for MANET February 2009</span>
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Packet Formats</span>
OSPFv3 packets are as defined by [<a href="./rfc5340" title=""OSPF for IPv6"">RFC5340</a>] and [<a href="./rfc2328" title=""OSPF Version 2"">RFC2328</a>]. Additional
LLS signaling [<a href="./rfc4813" title=""OSPF Link-Local Signaling"">RFC4813</a>] is used in Hello packets sent over OSPFv3
MANET interfaces, as detailed in this section.
This specification uses network byte order (most significant octet
first) for all fields.
<span class="h3"><a class="selflink" id="section-6.1" href="#section-6.1">6.1</a>. Flooding-MPR TLV</span>
A TLV of Type FMPR is defined for signaling Flooding-MPR selection,
shown in Figure 1.
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type=FMPR | Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Willingness | # Sym. Neigh. | # Flood MPR | Reserved |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 1: Flooding-MPR TLV (FMPR)
where:
Willingness - is an 8-bit unsigned integer field that specifies the
willingness of the router to flood link-state information on
behalf of other routers. It can be set to any integer value from
1 to 6. By default, a router SHOULD advertise a willingness of
WILL_DEFAULT = 3.
# Sym. Neigh. - is an 8-bit unsigned integer field that specifies
the number of symmetric 1-hop neighbors. These symmetric 1-hop
neighbors are listed first among the neighbors in a Hello packet.
# Flood MPR - is an 8-bit unsigned integer field that specifies the
number of neighbors selected as Flooding-MPR. These Flooding-MPRs
are listed first among the symmetric 1-hop neighbors.
Reserved - is an 8-bit field that SHOULD be cleared ('0') on
transmission and SHOULD be ignored on reception.
<span class="h3"><a class="selflink" id="section-6.2" href="#section-6.2">6.2</a>. Metric-MPR TLV</span>
A TLV of Type METRIC-MPR is defined for signaling costs of links to
neighbors, shown in Figure 2.
<span class="grey">Baccelli, et al. Experimental [Page 19]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-20" ></span>
<span class="grey"><a href="./rfc5449">RFC 5449</a> OSPF MPR Extension for MANET February 2009</span>
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type=METRIC-MPR | Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Reserved |U|R| Cost 0 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Cost 1 | Cost 2 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
: :
: :
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Cost n | Padding |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 2: Metric TLV (METRIC-MPR)
where:
Reserved - is a 14-bit field that SHOULD be cleared ('0') on
transmission and SHOULD be ignored on reception.
R - is a binary flag, cleared ('0') if the costs advertised in the
TLV are direct (i.e., the costs of the links from the router to
the neighbors), or set ('1') if the costs advertised are reverse
(i.e., the costs of the links from the neighbors to the router).
By default, R is cleared ('0').
U - is a binary flag, cleared ('0') if the cost for each link from
the sending router and to each advertised neighbor is explicitly
included (shown in Figure 3), or set ('1') if a single metric
value is included that applies to all links (shown in Figure 4).
Cost n - is an 8-bit unsigned integer field that specifies the cost
of the link, in the direction specified by the R flag, between
this router and the neighbor listed at the n-th position in the
Hello packet when counting from the beginning of the Hello packet
and with the first neighbor being at position 0.
Padding - is a 16-bit field that SHOULD be cleared ('0') on
transmission and SHOULD be ignored on reception. Padding is
included in order that the TLV is 32-bit aligned. Padding MUST be
included when the TLV contains an even number of Cost fields and
MUST NOT be included otherwise.
<span class="grey">Baccelli, et al. Experimental [Page 20]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-21" ></span>
<span class="grey"><a href="./rfc5449">RFC 5449</a> OSPF MPR Extension for MANET February 2009</span>
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type=METRIC-MPR | Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Reserved |0|R| Cost 0 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Cost 1 | Cost 2 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 3: Metric Advertisement TLV (METRIC-MPR) example with explicit
individual link costs (U=0) and an odd number of Costs (and, hence,
no padding).
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type=METRIC-MPR | Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Reserved |1|R| Cost |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 4: Metric Advertisement TLV (METRIC-MPR) example with a single
and uniform link cost (U=1) (and, hence, no padding).
<span class="grey">Baccelli, et al. Experimental [Page 21]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-22" ></span>
<span class="grey"><a href="./rfc5449">RFC 5449</a> OSPF MPR Extension for MANET February 2009</span>
<span class="h3"><a class="selflink" id="section-6.3" href="#section-6.3">6.3</a>. Path-MPR TLV</span>
A TLV of Type PMPR is defined for signaling Path-MPR selection, shown
in Figure 1, as well as the link cost associated with these Path-
MPRs.
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type=PMPR | Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| # Sym Neigh | # Adj. Neigh | # Path-MPR | Reserved |U|S|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Neighbor ID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Neighbor ID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
: :
: :
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Cost 0 | Cost 1 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
: :
: :
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Cost n | Padding |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 5: Path-MPR TLV (PMPR)
# Sym Neigh. - is an 8-bit unsigned integer field that specifies the
number of symmetric 1-hop MANET neighbors of all OSPFv3 MANET
interfaces of the router, listed in the PMPR TLV.
# Adj. Neigh. - is an 8-bit unsigned integer field that specifies
the number of adjacent neighbors. These adjacent neighbors are
listed first among the symmetric 1-hop MANET neighbors of all
OSPFv3 MANET interfaces of the router in the PMPR TLV.
# Path-MPR - is an 8-bit unsigned integer field that specifies the
number of MANET neighbors selected as Path-MPR. These Path-MPRs
are listed first among the adjacent MANET neighbors in the PMPR
TLV.
Reserved - is a 6-bit field that SHOULD be cleared ('0') on
transmission and SHOULD be ignored on reception.
<span class="grey">Baccelli, et al. Experimental [Page 22]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-23" ></span>
<span class="grey"><a href="./rfc5449">RFC 5449</a> OSPF MPR Extension for MANET February 2009</span>
U - is a binary flag, cleared ('0') if the cost for each link from
each advertised neighbor in the PMPR TLV and to the sending router
is explicitly included (as shown in Figure 6), or set ('1') if a
single metric value is included that applies to all links (as
shown in Figure 7).
S - is a binary flag, cleared ('0') if the router brings up
adjacencies only with neighbors in its MPR set and MPR-selector
set, as per <a href="#section-5.3">Section 5.3</a>, or set ('1') if the router brings up
adjacencies with all MANET neighbors as a Synch router, as per
<a href="#section-5.6">Section 5.6</a>.
Neighbor ID - is a 32-bit field that specifies the router ID of a
symmetric 1-hop neighbor of an OSPFv3 MANET interface of the
router.
Cost n - is a 16-bit unsigned integer field that specifies the cost
of the link in the direction from the n-th listed advertised
neighbor in the PMPR TLV and towards this router. A default value
of 0xFFFF (i.e., infinity) MUST be advertised unless information
received via Hello packets from the neighbor specifies otherwise,
in which case the received information MUST be advertised. If a
neighbor is reachable via more than one interface, the cost
advertised MUST be the minimum of the costs by which that neighbor
can be reached.
Padding - is a 16-bit field that SHOULD be cleared ('0') on
transmission and SHOULD be ignored on reception. Padding is
included in order that the PMPR TLV is 32-bit aligned. Padding
MUST be included when the TLV contains an odd number of Cost
fields and MUST NOT be included otherwise.
<span class="grey">Baccelli, et al. Experimental [Page 23]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-24" ></span>
<span class="grey"><a href="./rfc5449">RFC 5449</a> OSPF MPR Extension for MANET February 2009</span>
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type=PMPR | Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| # Sym Neigh | # Adj. Neigh | # Path-MPR | Reserved |0|S|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Neighbor ID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Neighbor ID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
: :
: :
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Cost 1 | Cost 2 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
: ....... :
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Cost n-1 | Cost n |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 6: Path-MPR TLV (PMPR) with explicit individual link costs
(U=0) and an even number of Cost fields (hence, no padding).
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type=PMPR | Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| # Sym Neigh | # Adj. Neigh | # Path-MPR | Reserved |1|S|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Neighbor ID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Neighbor ID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Cost | Padding |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 7: Path-MPR TLV (PMPR) with a single and uniform link cost
(U=1) (hence, padding included).
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Security Considerations</span>
[<a id="ref-RFC4593">RFC4593</a>] describes generic threats to routing protocols, whose
applicability to OSPFv3 [<a href="./rfc5340" title=""OSPF for IPv6"">RFC5340</a>] is not altered by the presence of
OSPFv3 MANET interfaces. As such, the OSPFv3 MANET interface type
does not introduce new security threats to [<a href="./rfc5340" title=""OSPF for IPv6"">RFC5340</a>].
<span class="grey">Baccelli, et al. Experimental [Page 24]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-25" ></span>
<span class="grey"><a href="./rfc5449">RFC 5449</a> OSPF MPR Extension for MANET February 2009</span>
However, the use of a wireless medium and the lack of infrastructure,
as enabled by the use of the OSPFv3 MANET interface type, may render
some of the attacks described in [<a href="./rfc4593" title=""Generic Threats to Routing Protocols"">RFC4593</a>] easier to undertake.
For example, control-traffic sniffing and control-traffic analysis
are simpler tasks with wireless than with wires, as it is sufficient
to be somewhere within radio range in order to "listen" to wireless
traffic. Inconspicuous wiretapping of the right cable(s) is not
necessary.
In a similar fashion, physical signal interference is also a simpler
task with wireless than with wires, as it is sufficient to emit from
somewhere within radio range in order to be able to disrupt the
communication medium. No complex wire connection is required.
Other types of interference (including not forwarding packets),
spoofing, and different types of falsification or overloading (as
described in [<a href="./rfc4593" title=""Generic Threats to Routing Protocols"">RFC4593</a>]) are also threats to which routers using
OSPFv3 MANET interfaces may be subject. In these cases, the lack of
predetermined infrastructure or authority, enabled by the use of
OSPFv3 MANET interfaces, may facilitate such attacks by making it
easier to forge legitimacy.
Moreover, the consequence zone of a given threat, and its consequence
period (as defined in [<a href="./rfc4593" title=""Generic Threats to Routing Protocols"">RFC4593</a>]), may also be slightly altered over
the wireless medium, compared to the same threat over wired networks.
Indeed, mobility and the fact that radio range spans "further" than a
mere cable may expand the consequence zone in some cases; meanwhile,
the more dynamic nature of MANET topologies may decrease the
consequence period, as harmful information (or lack of information)
will tend to be replaced quicker by legitimate information.
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. IANA Considerations</span>
This document defines three LLS TLVs, for which type values have been
allocated from the LLS TLV type registry defined in [<a href="./rfc4813" title=""OSPF Link-Local Signaling"">RFC4813</a>].
+------------+------------+--------------+
| Mnemonic | Type Value | Name |
+------------+------------+--------------+
| FMPR | 3 | Flooding-MPR |
| METRIC-MPR | 4 | Metric-MPR |
| PMPR | 5 | Path-MPR |
+------------+------------+--------------+
Table 1: LLS TLV Type Assignments
<span class="grey">Baccelli, et al. Experimental [Page 25]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-26" ></span>
<span class="grey"><a href="./rfc5449">RFC 5449</a> OSPF MPR Extension for MANET February 2009</span>
<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>, March 1997.
[<a id="ref-RFC2328">RFC2328</a>] Moy, J., "OSPF Version 2", STD 54, <a href="./rfc2328">RFC 2328</a>,
April 1998.
[<a id="ref-RFC4813">RFC4813</a>] Friedman, B., Nguyen, L., Roy, A., Yeung, D., and
A. Zinin, "OSPF Link-Local Signaling", <a href="./rfc4813">RFC 4813</a>,
March 2007.
[<a id="ref-RFC5340">RFC5340</a>] Coltun, R., Ferguson, D., Moy, J., and A. Lindem,
"OSPF for IPv6", <a href="./rfc5340">RFC 5340</a>, July 2008.
<span class="h3"><a class="selflink" id="section-9.2" href="#section-9.2">9.2</a>. Informative References</span>
[<a id="ref-MPR">MPR</a>] Qayyum, A., Viennot, L., and A. Laouiti,
"Multipoint Relaying for Flooding Broadcast
Messages in Mobile Wireless Networks", Proceedings
of HICSS , 2002.
[<a id="ref-MPR-analysis">MPR-analysis</a>] Ngyuen, D. and P. Minet, "Analysis of MPR Selection
in the OLSR Protocol", 2nd Int. Workshop on
Performance Analysis and Enhancement of
Wireless Networks, 2007.
[<a id="ref-MPR-robustness">MPR-robustness</a>] Adjih, C., Baccelli, E., Clausen, T., and P.
Jacquet, "On the Robustness and Stability of
Connected Dominated Sets", INRIA Research
Report RR-5609, 2005.
[<a id="ref-MPR-topology">MPR-topology</a>] Baccelli, E., Clausen, T., and P. Jacquet, "Partial
Topology in an MPR-based Solution for Wireless OSPF
on Mobile Ad Hoc Networks", INRIA Research
Report RR-5619, 2005.
[<a id="ref-RFC2501">RFC2501</a>] Corson, S. and J. Macker, "Mobile Ad hoc Networking
(MANET): Routing Protocol Performance Issues and
Evaluation Considerations", <a href="./rfc2501">RFC 2501</a>,
February 1999.
[<a id="ref-RFC3626">RFC3626</a>] Clausen, T. and P. Jacquet, "Optimized Link State
Routing Protocol (OLSR)", <a href="./rfc3626">RFC 3626</a>, October 2003.
<span class="grey">Baccelli, et al. Experimental [Page 26]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-27" ></span>
<span class="grey"><a href="./rfc5449">RFC 5449</a> OSPF MPR Extension for MANET February 2009</span>
[<a id="ref-RFC4593">RFC4593</a>] Barbir, A., Murphy, S., and Y. Yang, "Generic
Threats to Routing Protocols", <a href="./rfc4593">RFC 4593</a>,
October 2006.
[<a id="ref-RFC5148">RFC5148</a>] Clausen, T., Dearlove, C., and B. Adamson, "Jitter
Considerations in Mobile Ad Hoc Networks (MANETs)",
<a href="./rfc5148">RFC 5148</a>, February 2008.
<span class="grey">Baccelli, et al. Experimental [Page 27]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-28" ></span>
<span class="grey"><a href="./rfc5449">RFC 5449</a> OSPF MPR Extension for MANET February 2009</span>
<span class="h2"><a class="selflink" id="appendix-A" href="#appendix-A">Appendix A</a>. Flooding-MPR Selection Heuristic</span>
The following specifies a proposed heuristic for selection of
Flooding-MPRs on interface i. It constructs a Flooding-MPR set that
enables a router to reach routers in the 2-hop neighborhood through
relaying by one Flooding-MPR router.
The following terminology will be used in describing the heuristics:
D(Y) is the degree of a 1-hop neighbor, router Y (where Y is a member
of N(i), defined as the number of neighbors of router Y, EXCLUDING
all the members of N(i) and EXCLUDING the router performing the
computation. The proposed heuristic can then be described as
follows. Begin with an empty Flooding-MPR set. Then:
1. Calculate D(Y), where Y is a member of N(i), for all routers in
N(i).
2. Add to the Flooding-MPR set those routers in N(i) that are the
only routers to provide reachability to a router in N2(i). For
example, if router B in N2(i) can be reached only through a
router A in N(i), then add router A to the Flooding-MPR set.
Remove the routers from N2(i) that are now covered by a router in
the Flooding-MPR set.
3. While there exist routers in N2(i) that are not covered by at
least one router in the Flooding-MPR set:
1. For each router in N(i), calculate the reachability, i.e.,
the number of routers in N2(i) that are not yet covered by at
least one router in the Flooding-MPR set, and that are
reachable through this 1-hop neighbor;
2. Select as a Flooding-MPR the neighbor with the highest
willingness among the routers in N(i) with non-zero
reachability. In case of a tie among routers with the same
willingness, select the router that provides reachability to
the maximum number of routers in N2(i). In case of another
tie between routers also providing the same amount of
reachability, select as Flooding-MPR the router whose D(Y) is
greater. Remove the routers from N2(i) that are now covered
by a router in the Flooding-MPR set.
4. As an optimization, consider in increasing order of willingness
each router Y in the Flooding-MPR set: if all routers in N2(i)
are still covered by at least one router in the Flooding-MPR set
when excluding router Y, then router Y MAY be removed from the
Flooding-MPR set.
<span class="grey">Baccelli, et al. Experimental [Page 28]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-29" ></span>
<span class="grey"><a href="./rfc5449">RFC 5449</a> OSPF MPR Extension for MANET February 2009</span>
Other algorithms, as well as improvements over this algorithm, are
possible. Different routers may use different algorithms
independently. However, the algorithm used MUST provide the router
with a Flooding-MPR set that fulfills the flooding coverage
criterion, i.e., it MUST select a Flooding-MPR set such that any
2-hop neighbor is covered by at least one Flooding-MPR router.
<span class="h2"><a class="selflink" id="appendix-B" href="#appendix-B">Appendix B</a>. Path-MPR Selection Heuristic</span>
The following specifies a proposed heuristic for calculating a Path-
MPR set that enables a router to reach routers in the 2-hop
neighborhood through shortest paths via routers in its Path-MPR set.
The following terminology will be used for describing this heuristic:
A - The router performing the Path-MPR set calculation.
B, C, D, .... - Other routers in the network.
cost(A,B) - The cost of the path through the direct link, from A to
B.
dist(C,A) - The cost of the shortest path from C to A.
A cost matrix is populated with the values of the costs of links
originating from router A (available locally) and with values listed
in Hello packets received from neighbor routers. More precisely, the
cost matrix is populated as follows:
1. The coefficients of the cost matrix are set by default to 0xFFFF
(maximal value, i.e., infinity).
2. The coefficient cost(A,B) of the cost matrix for a link from
router A to a neighbor B (the direct cost for this link) is set
to the minimum cost over all interfaces that feature router B as
a symmetric 1-hop neighbor. The reverse cost for this link,
cost(B,A), is set at the value received in Hello packets from
router B. If router B is reachable through several interfaces at
the same time, cost(B,A) is set as the minimum cost advertised by
router B for its links towards router A.
3. The coefficients of the cost matrix concerning the link between
two neighbors of A, routers C and B, are populated at the
reception of their Hello packets. The cost(B,C) is set to the
value advertised by the Hello packets from B, and, respectively,
the cost(C,B) is set to the value advertised in Hello packets
from C.
<span class="grey">Baccelli, et al. Experimental [Page 29]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-30" ></span>
<span class="grey"><a href="./rfc5449">RFC 5449</a> OSPF MPR Extension for MANET February 2009</span>
4. The coefficients cost(B,C) of the cost matrix for a link that
connects a neighbor B to a 2-hop neighbor C are obtained via the
Hello packets received from router B. In this case, cost(B,C)
and cost(C,B) are respectively set to the values advertised by
router B for the direct cost and reverse cost for node C.
Once the cost matrix is populated, the proposed heuristic can then be
described as follows. Begin with an empty Path-MPR set. Then:
1. Using the cost matrix and the Dijkstra algorithm, compute the
router distance vector, i.e., the shortest distance for each pair
(X,A) where X is in N or N2 minimizing the sum of the cost of the
path between X and A.
2. Compute N' as the subset of N made of the elements X such that
cost(X,A)=dist(X,A).
3. Compute N2' as the subset of N and N2 made of the elements Y that
do not belong to N' and such that there exist X in N' such
cost(Y,X)+cost(X,A)=dist(Y,A).
4. Compute the MPR selection algorithm presented in <a href="#appendix-A">Appendix A</a> with
N' instead of N(i) and N2' instead of N2(i). The resulting MPR
set is the Path-MPR set.
Other algorithms, as well as improvements over this algorithm, are
possible. Different routers may use different algorithms
independently. However, the algorithm used MUST provide the router
with a Path-MPR set that fulfills the path coverage criterion, i.e.,
it MUST select a Path-MPR set such that for any element of N or N2
that is not in the Path-MPR set, there exists a shortest path that
goes from this element to the router through a neighbor selected as
Path-MPR (unless the shortest path is only one hop).
<span class="h2"><a class="selflink" id="appendix-C" href="#appendix-C">Appendix C</a>. Contributors</span>
The authors would like to thank Cedric Adjih, Acee Lindem, Padma
Pillay-Esnault, and Laurent Viennot for their contributions to this
document.
<span class="h2"><a class="selflink" id="appendix-D" href="#appendix-D">Appendix D</a>. Acknowledgments</span>
The authors would like to thank Juan Antonio Cordero Fuertes, Ulrich
Herberg, and Richard Ogier for reviewing this document.
<span class="grey">Baccelli, et al. Experimental [Page 30]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-31" ></span>
<span class="grey"><a href="./rfc5449">RFC 5449</a> OSPF MPR Extension for MANET February 2009</span>
Authors' Addresses
Emmanuel Baccelli
INRIA
Phone: +33 1 69 33 55 11
EMail: Emmanuel.Baccelli@inria.fr
URI: <a href="http://www.emmanuelbaccelli.org/">http://www.emmanuelbaccelli.org/</a>
Philippe Jacquet
INRIA
Phone: +33 1 3963 5263
EMail: Philippe.Jacquet@inria.fr
Dang-Quan Nguyen
CRC
Phone: +1-613-949-8216
EMail: dang.nguyen@crc.ca
Thomas Heide Clausen
LIX, Ecole Polytechnique
Phone: +33 6 6058 9349
EMail: T.Clausen@computer.org
URI: <a href="http://www.thomasclausen.org/">http://www.thomasclausen.org/</a>
Baccelli, et al. Experimental [Page 31]
</pre>
|