summaryrefslogtreecommitdiff
path: root/doc/rfc/rfc7188.txt
blob: 258630b2670b903b7c7061d153d08ebd81b6921d (plain) (blame)
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
Internet Engineering Task Force (IETF)                       C. Dearlove
Request for Comments: 7188                               BAE Systems ATC
Updates: 6130, 7181                                           T. Clausen
Category: Standards Track                       LIX, Ecole Polytechnique
ISSN: 2070-1721                                               April 2014


      Optimized Link State Routing Protocol Version 2 (OLSRv2) and
      MANET Neighborhood Discovery Protocol (NHDP) Extension TLVs

Abstract

   This specification describes extensions to definitions of TLVs used
   by the Optimized Link State Routing Protocol version 2 (OLSRv2) and
   the MANET Neighborhood Discovery Protocol (NHDP) to increase their
   abilities to accommodate protocol extensions.  This document updates
   RFC 7181 (OLSRv2) and RFC 6130 (NHDP).

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 Section 2 of RFC 5741.

   Information about the current status of this document, any errata,
   and how to provide feedback on it may be obtained at
   http://www.rfc-editor.org/info/rfc7188.

Copyright Notice

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

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





Dearlove & Clausen           Standards Track                    [Page 1]
^L
RFC 7188             NHDP and OLSRv2 Extension TLVs           April 2014


Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
   2.  Terminology . . . . . . . . . . . . . . . . . . . . . . . . .   3
   3.  Applicability Statement . . . . . . . . . . . . . . . . . . .   3
   4.  TLV Values  . . . . . . . . . . . . . . . . . . . . . . . . .   4
     4.1.  Unrecognized TLV Values . . . . . . . . . . . . . . . . .   4
     4.2.  TLV Value Lengths . . . . . . . . . . . . . . . . . . . .   5
     4.3.  Undefined TLV Values  . . . . . . . . . . . . . . . . . .   5
       4.3.1.  NHDP TLVs: LOCAL_IF, LINK_STATUS, and OTHER_NEIGHB  .   6
       4.3.2.  OLSRv2 TLVs: MPR and NBR_ADDR_TYPE  . . . . . . . . .   6
       4.3.3.  Unspecified TLV Values  . . . . . . . . . . . . . . .   6
   5.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   7
     5.1.  LOCAL_IF Address Block TLVs . . . . . . . . . . . . . . .   7
       5.1.1.  New Registry  . . . . . . . . . . . . . . . . . . . .   7
       5.1.2.  Modification to Existing Registry . . . . . . . . . .   8
     5.2.  LINK_STATUS Address Block TLVs  . . . . . . . . . . . . .   8
       5.2.1.  New Registry  . . . . . . . . . . . . . . . . . . . .   8
       5.2.2.  Modification to Existing Registry . . . . . . . . . .   9
     5.3.  OTHER_NEIGHB Address Block TLVs . . . . . . . . . . . . .  10
       5.3.1.  Create New Registry . . . . . . . . . . . . . . . . .  10
       5.3.2.  Modification to Existing Registry . . . . . . . . . .  11
     5.4.  MPR Address Block TLVs  . . . . . . . . . . . . . . . . .  11
       5.4.1.  New Registry  . . . . . . . . . . . . . . . . . . . .  11
       5.4.2.  Modification to Existing Registry . . . . . . . . . .  12
     5.5.  NBR_ADDR_TYPE Address Block TLVs  . . . . . . . . . . . .  12
       5.5.1.  New Registry  . . . . . . . . . . . . . . . . . . . .  12
       5.5.2.  Modification to Existing Registry . . . . . . . . . .  13
   6.  Security Considerations . . . . . . . . . . . . . . . . . . .  14
   7.  Acknowledgments . . . . . . . . . . . . . . . . . . . . . . .  15
   8.  References  . . . . . . . . . . . . . . . . . . . . . . . . .  15
     8.1.  Normative References  . . . . . . . . . . . . . . . . . .  15
     8.2.  Informative References  . . . . . . . . . . . . . . . . .  15


















Dearlove & Clausen           Standards Track                    [Page 2]
^L
RFC 7188             NHDP and OLSRv2 Extension TLVs           April 2014


1.  Introduction

   The MANET Neighborhood Discovery Protocol (NHDP) [RFC6130] and the
   Optimized Link State Routing Protocol version 2 (OLSRv2) [RFC7181]
   are protocols for use in Mobile Ad Hoc Networks (MANETs) [RFC2501],
   based on the Generalized MANET Packet/Message Format [RFC5444].

   This document updates [RFC6130] and [RFC7181], specifically their use
   of TLV (Type-Length-Value) elements, to increase the extensibility of
   these protocols and to enable some improvements in their
   implementation.

   This specification reduces the latitude of implementations of
   [RFC6130] and [RFC7181] to consider some messages, which will not be
   created by implementations simply following those specifications, as
   a reason to consider the message as "badly formed", and thus as a
   reason to reject the message.  This gives greater latitude to the
   creation of extensions of these protocols, in particular extensions
   that will interoperate with unextended implementations of those
   protocols.  As part of that, it indicates how TLVs with unexpected
   value fields must be handled, and adds some additional options to
   those TLVs.

   Note that TLVs with unknown type or type extension are already
   specified as to be ignored by [RFC6130] and [RFC7181] and also are
   not a reason to reject a message.

2.  Terminology

   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
   [RFC2119].

   Additionally, this document uses the terminology of [RFC5444],
   [RFC6130], and [RFC7181].

3.  Applicability Statement

   This document updates the specification of the protocols described in
   [RFC6130] and [RFC7181].

   Specifically, this specification updates [RFC6130] and [RFC7181] in
   the following ways:

   o  Removes the latitude of rejecting a message with a TLV with a
      known type, but with an unexpected TLV Value field, for the TLV
      Types defined in [RFC6130] and [RFC7181].



Dearlove & Clausen           Standards Track                    [Page 3]
^L
RFC 7188             NHDP and OLSRv2 Extension TLVs           April 2014


   o  Specifies the handling of a TLV Value field with unexpected
      length.

   o  Sets up IANA registries for TLV Values for the Address Block TLVs:

      *  LOCAL_IF, defined in [RFC6130].

      *  LINK_STATUS, defined in [RFC6130].

      *  OTHER_NEIGHB, defined in [RFC6130].

      *  MPR, defined in [RFC7181], now considered as a bit field.

      *  NBR_ADDR_TYPE, defined in [RFC7181], now considered as a bit
         field.

   o  Defines a well-known TLV Value for "UNSPECIFIED" for the Address
      Block TLV Types LOCAL_IF, LINK_STATUS, and OTHER_NEIGHB, all
      defined in [RFC6130].

4.  TLV Values

   NHDP [RFC6130] and OLSRv2 [RFC7181] define a number of TLVs within
   the framework of [RFC5444].  These TLVs define the meaning of only
   some of the contents that can be found in a TLV Value field.  This
   limitation may be either defining only certain TLV Values or
   considering only some lengths of the TLV Value fields (or a single-
   value field in a multivalue Address-Block TLV).  This specification
   describes how NHDP [RFC6130] and OLSRv2 [RFC7181] are to handle TLVs
   with other TLV Value fields.

4.1.  Unrecognized TLV Values

   NHDP and OLSRv2 specify that, in addition to well-defined reasons (in
   the respective protocol specifications), an implementation of these
   protocols MAY recognize a message as "badly formed" and therefore
   "invalid for processing" for other reasons (Section 12.1 of [RFC6130]
   and Section 16.3.1 of [RFC7181]).  These sections could be
   interpreted as allowing rejection of a message because a TLV Value
   field is unrecognized.  This specification removes that latitude:

   o  An implementation MUST NOT reject a message because it contains an
      unrecognized TLV value.  Instead, any unrecognized TLV Value field
      MUST be processed or ignored by an unextended implementation of
      NHDP or OLSRv2, as described in the following sections.

   o  Hence, this specification removes the 7th, 10th, and 11th bullets
      in Section 12.1 of [RFC6130].



Dearlove & Clausen           Standards Track                    [Page 4]
^L
RFC 7188             NHDP and OLSRv2 Extension TLVs           April 2014


   It should be stressed that this is not a change to [RFC6130] or
   [RFC7181], except with regard to not allowing this to be a reason for
   rejection of a message.  [RFC6130] or [RFC7181] are specified in
   terms such as "if an address is associated with a value of LOST by a
   LINK_STATUS TLV".  Association with an unrecognized value has no
   effect on any implementation strictly following such a specification.

4.2.  TLV Value Lengths

   The TLVs specified in [RFC6130] and [RFC7181] may be either single-
   value or multivalue TLVs.  In either case, the length of each item of
   information encoded in the TLV Value field is the "single-length",
   defined and calculated as in Section 5.4.1 of [RFC5444].  All TLVs
   specified in [RFC6130] and [RFC7181] have a one- or two-octet single-
   length.  These are considered the expected single-lengths of such a
   received TLV.

   Other single-length TLV Value fields may be introduced by extensions
   to [RFC6130] and [RFC7181].  This document specifies how
   implementations of [RFC6130] and [RFC7181], or extensions thereof,
   MUST behave on receiving TLVs of the TLV types defined in [RFC6130]
   and [RFC7181], but with TLV Value fields with other single-length
   values.

   The following principles apply:

   o  If the received single-length is greater than the expected single-
      length, then the excess octets MUST be ignored.

   o  If the received single-length is less than the expected single-
      length, then the absent octets MUST be considered to have all bits
      cleared (0).

   Exception:

   o  A received CONT_SEQ_NUM with a single-length < 2 SHOULD be
      considered an error.

4.3.  Undefined TLV Values

   [RFC6130] and [RFC7181] define a number of TLVs, but for some of
   these TLVs they specify meanings for only some TLV Values.  This
   document establishes IANA registries for these TLV Values, with
   initial registrations reflecting those used by [RFC6130] and
   [RFC7181], and as specified in Section 4.3.3.

   There are different cases of TLV Values with different
   characteristics.  These cases are considered in this section.



Dearlove & Clausen           Standards Track                    [Page 5]
^L
RFC 7188             NHDP and OLSRv2 Extension TLVs           April 2014


4.3.1.  NHDP TLVs: LOCAL_IF, LINK_STATUS, and OTHER_NEIGHB

   For the Address-Block TLVs LOCAL_IF, LINK_STATUS, and OTHER_NEIGHB
   TLVs, defined in [RFC6130], only a limited number of values are
   specified for each.  These are converted, by this specification, into
   extensible registries with initial registrations for values defined
   and used by [RFC6130] -- see Section 5.

   An implementation of [RFC6130] that receives a LOCAL_IF, LINK_STATUS,
   or OTHER_NEIGHB TLV with any TLV Value other than the values that are
   defined in [RFC6130] MUST ignore that TLV Value, as well as any
   corresponding attribute association to the address.

4.3.2.  OLSRv2 TLVs: MPR and NBR_ADDR_TYPE

   The Address-Block TLVs MPR and NBR_ADDR_TYPE, defined in [RFC7181],
   are similar to those defined in [RFC6130] in having only limited
   values specified (1, 2, and 3): 1 and 2 represent the presence of two
   different attributes associated to an address, and 3 represents "both
   1 and 2".

   These TLV Value fields are, by this specification, converted to bit
   fields and MUST be interpreted as such.  As the existing definitions
   of values 1, 2, and 3 behave in that manner, it is likely that this
   will involve no change to an implementation, but any test of (for
   example) Value = 1 or Value = 3 MUST be converted to a test of (for
   example) Value bitand 1 = 1, where "bitand" denotes a bitwise AND
   operation.

   This specification creates registries for recording reservations of
   the individual bits in these bit fields, with initial registrations
   for values defined and used by [RFC7181] -- see Section 5.

   Other TLVs defined by [RFC7181] are not affected by this
   specification.

4.3.3.  Unspecified TLV Values

   The registries defined in Section 5 for the LOCAL_IF, LINK_STATUS,
   and OTHER_NEIGHB TLVs each include an additional TLV Value
   UNSPECIFIED.  This TLV Value represents a defined value that, like
   currently undefined TLV Values, indicates that no information is
   associated with this address; the defined value will always have this
   meaning.  Such a TLV Value may be used to enable the creation of more
   efficient multivalue Address Block TLVs or to simplify an
   implementation.





Dearlove & Clausen           Standards Track                    [Page 6]
^L
RFC 7188             NHDP and OLSRv2 Extension TLVs           April 2014


   The similar requirement for the MPR and NBR_ADDR_TYPES TLVs is
   already satisfied by the TLV Value zero, provided that each bit in
   the TLV Value is defined as set ('1') when indicating the presence of
   an attribute, or clear ('0') when indicating the absence of an
   attribute.  Therefore, this is required for registrations from the
   relevant registries; see Section 5.

   For the LINK_METRIC TLV, this is already possible by clearing the
   most significant bits (0 to 3) of the first octet of the TLV Value.
   It is RECOMMENDED that in this case the remaining bits of the TLV
   Value are either all clear ('0') or all set ('1').

5.  IANA Considerations

   IANA has completed the ten actions set out in the following sections.

5.1.  LOCAL_IF Address Block TLVs

5.1.1.  New Registry

   IANA has created a new sub-registry called "LOCAL_IF TLV Values"
   within the "Mobile Ad hoc NETwork (MANET) Parameters" registry.

   IANA has populated this registry as specified in Table 1.

   +---------+-------------+-------------------------------+-----------+
   | Value   | Name        | Description                   | Reference |
   +---------+-------------+-------------------------------+-----------+
   | 0       | THIS_IF     | The network address is        | RFC 7188  |
   |         |             | associated with this local    |           |
   |         |             | interface of the sending      |           |
   |         |             | router                        |           |
   |         |             |                               |           |
   | 1       | OTHER_IF    | The network address is        | RFC 7188  |
   |         |             | associated with another local |           |
   |         |             | interface of the sending      |           |
   |         |             | router                        |           |
   |         |             |                               |           |
   | 2-223   |             | Unassigned                    |           |
   |         |             |                               |           |
   | 224-254 |             | Reserved for Experimental Use | RFC 7188  |
   |         |             |                               |           |
   | 255     | UNSPECIFIED | No information about this     | RFC 7188  |
   |         |             | network address is provided   |           |
   +---------+-------------+-------------------------------+-----------+

                       Table 1: LOCAL_IF TLV Values




Dearlove & Clausen           Standards Track                    [Page 7]
^L
RFC 7188             NHDP and OLSRv2 Extension TLVs           April 2014


   New assignments are to be made by Expert Review [RFC5226].

   The Designated Experts are required to use the guidelines specified
   in [RFC6130] and [RFC7181].

5.1.2.  Modification to Existing Registry

   IANA maintains a sub-registry called "LOCAL_IF Address Block TLV Type
   Extensions" within the "Mobile Ad hoc NETwork (MANET) Parameters"
   registry.  This sub-registry already had an entry for value 0.  IANA
   has replaced the entry in the Description column for this value with
   the text "This value is to be interpreted according to the registry
   LOCAL_IF TLV Values".  The resulting table is as specified in
   Table 2.

   +-----------+-----------------------------------------+-------------+
   | Type      | Description                             | Reference   |
   | Extension |                                         |             |
   +-----------+-----------------------------------------+-------------+
   | 0         | This value is to be interpreted         | RFC 6130,   |
   |           | according to the registry LOCAL_IF TLV  | RFC 7188    |
   |           | Values                                  |             |
   |           |                                         |             |
   | 1-255     | Unassigned                              |             |
   +-----------+-----------------------------------------+-------------+

     Table 2: LOCAL_IF Address Block TLV Type Extensions Modifications

5.2.  LINK_STATUS Address Block TLVs

5.2.1.  New Registry

   IANA has created a new sub-registry called "LINK_STATUS TLV Values"
   within the "Mobile Ad hoc NETwork (MANET) Parameters" registry.

   IANA has populated this registry as specified in Table 3.















Dearlove & Clausen           Standards Track                    [Page 8]
^L
RFC 7188             NHDP and OLSRv2 Extension TLVs           April 2014


   +---------+-------------+-------------------------------+-----------+
   | Value   | Name        | Description                   | Reference |
   +---------+-------------+-------------------------------+-----------+
   | 0       | LOST        | The link on this interface    | RFC 7188  |
   |         |             | from the router with that     |           |
   |         |             | network address has been lost |           |
   |         |             |                               |           |
   | 1       | SYMMETRIC   | The link on this interface    | RFC 7188  |
   |         |             | from the router with that     |           |
   |         |             | network address has the       |           |
   |         |             | status of symmetric           |           |
   |         |             |                               |           |
   | 2       | HEARD       | The link on this interface    | RFC 7188  |
   |         |             | from the router with that     |           |
   |         |             | network address has the       |           |
   |         |             | status of heard               |           |
   |         |             |                               |           |
   | 3-223   |             | Unassigned                    |           |
   |         |             |                               |           |
   | 224-254 |             | Reserved for Experimental Use | RFC 7188  |
   |         |             |                               |           |
   | 255     | UNSPECIFIED | No information about this     | RFC 7188  |
   |         |             | network address is provided   |           |
   +---------+-------------+-------------------------------+-----------+

                      Table 3: LINK_STATUS TLV Values

   New assignments are to be made by Expert Review [RFC5226].

   The Designated Experts are required to use the guidelines specified
   in [RFC6130] and [RFC7181].

5.2.2.  Modification to Existing Registry

   IANA maintains a sub-registry called "LINK_STATUS Address Block TLV
   Type Extensions" within the "Mobile Ad hoc NETwork (MANET)
   Parameters" registry.  This sub-registry already had an entry for
   value 0.  IANA has replaced the entry in the Description column for
   this value with the text "This value is to be interpreted according
   to the registry LINK_STATUS TLV Values".  The resulting table is as
   specified in Table 4.










Dearlove & Clausen           Standards Track                    [Page 9]
^L
RFC 7188             NHDP and OLSRv2 Extension TLVs           April 2014


   +-----------+------------------------------------------+------------+
   | Type      | Description                              | Reference  |
   | Extension |                                          |            |
   +-----------+------------------------------------------+------------+
   | 0         | This value is to be interpreted          | RFC 6130,  |
   |           | according to the registry LINK_STATUS    | RFC 7188   |
   |           | TLV Values                               |            |
   |           |                                          |            |
   | 1-255     | Unassigned                               |            |
   +-----------+------------------------------------------+------------+

   Table 4: LINK_STATUS Address Block TLV Type Extensions Modifications

5.3.  OTHER_NEIGHB Address Block TLVs

5.3.1.  Create New Registry

   IANA has created a new sub-registry called "OTHER_NEIGHB TLV Values"
   within the "Mobile Ad hoc NETwork (MANET) Parameters" registry.

   IANA has populated this registry as specified in Table 5.

   +---------+-------------+-------------------------------+-----------+
   | Value   | Name        | Description                   | Reference |
   +---------+-------------+-------------------------------+-----------+
   | 0       | LOST        | The neighbor relationship     | RFC 7188  |
   |         |             | with the router with that     |           |
   |         |             | network address has been lost |           |
   |         |             |                               |           |
   | 1       | SYMMETRIC   | The neighbor relationship     | RFC 7188  |
   |         |             | with the router with that     |           |
   |         |             | network address is symmetric  |           |
   |         |             |                               |           |
   | 2-223   |             | Unassigned                    |           |
   |         |             |                               |           |
   | 224-254 |             | Reserved for Experimental Use | RFC 7188  |
   |         |             |                               |           |
   | 255     | UNSPECIFIED | No information about this     | RFC 7188  |
   |         |             | network address is provided   |           |
   +---------+-------------+-------------------------------+-----------+

              Table 5: OTHER_NEIGHB Address Block TLV Values

   New assignments are to be made by Expert Review [RFC5226].

   The Designated Experts are required to use the guidelines specified
   in [RFC6130] and [RFC7181].




Dearlove & Clausen           Standards Track                   [Page 10]
^L
RFC 7188             NHDP and OLSRv2 Extension TLVs           April 2014


5.3.2.  Modification to Existing Registry

   IANA maintains a sub-registry called "OTHER_NEIGHB Address Block TLV
   Type Extensions" within the "Mobile Ad hoc NETwork (MANET)
   Parameters" registry.  This sub-registry already had an entry for
   value 0.  IANA has replaced the entry in the Description column for
   this value with the text "This value is to be interpreted according
   to the registry OTHER_NEIGHB TLV Values".  The resulting table is as
   specified in Table 6.

   +-----------+------------------------------------------+------------+
   | Type      | Description                              | Reference  |
   | Extension |                                          |            |
   +-----------+------------------------------------------+------------+
   | 0         | This value is to be interpreted          | RFC 6130,  |
   |           | according to the registry OTHER_NEIGHB   | RFC 7188   |
   |           | TLV Values                               |            |
   |           |                                          |            |
   | 1-255     | Unassigned                               |            |
   +-----------+------------------------------------------+------------+

   Table 6: OTHER_NEIGHB Address Block TLV Type Extensions Modifications

5.4.  MPR Address Block TLVs

5.4.1.  New Registry

   IANA has created a new sub-registry called "MPR TLV Bit Values"
   within the "Mobile Ad hoc NETwork (MANET) Parameters" registry.

   IANA has populated this registry as specified in Table 7.

   +-----+-------+----------+------------------------------+-----------+
   | Bit | Value | Name     | Description                  | Reference |
   +-----+-------+----------+------------------------------+-----------+
   | 7   | 0x01  | Flooding | The neighbor with that       | RFC 7188  |
   |     |       |          | network address has been     |           |
   |     |       |          | selected as flooding MPR     |           |
   |     |       |          |                              |           |
   | 6   | 0x02  | Routing  | The neighbor with that       | RFC 7188  |
   |     |       |          | network address has been     |           |
   |     |       |          | selected as routing MPR      |           |
   |     |       |          |                              |           |
   | 0-5 |       |          | Unassigned                   |           |
   +-----+-------+----------+------------------------------+-----------+

                 Table 7: MPR Address Block TLV Bit Values




Dearlove & Clausen           Standards Track                   [Page 11]
^L
RFC 7188             NHDP and OLSRv2 Extension TLVs           April 2014


   New assignments are to be made by Expert Review [RFC5226].

   The Designated Experts are required to use the guidelines specified
   in [RFC6130] and [RFC7181].  Additionally, the Designated Experts are
   required to ensure that the following sense is preserved:

   o  For each bit in the field, a set bit (1) means that the address
      has the designated property, while an unset bit (0) means that no
      information about the designated property is provided.  In
      particular, an unset bit must not be used to convey any specific
      information about the designated property.

5.4.2.  Modification to Existing Registry

   IANA maintains a sub-registry called "MPR Address Block TLV Type
   Extensions" within the "Mobile Ad hoc NETwork (MANET) Parameters"
   registry.  This sub-registry already had an entry for value 0.  IANA
   has replaced the entry in the Description column for this value with
   the text "This value is to be interpreted according to the registry
   MPR TLV Bit Values".  The resulting table is as specified in Table 8.

   +-----------+-----------------------------------------+-------------+
   | Type      | Description                             | Reference   |
   | Extension |                                         |             |
   +-----------+-----------------------------------------+-------------+
   | 0         | This value is to be interpreted         | RFC 7181,   |
   |           | according to the registry MPR TLV Bit   | RFC 7188    |
   |           | Values                                  |             |
   |           |                                         |             |
   | 1-255     | Unassigned                              |             |
   +-----------+-----------------------------------------+-------------+

       Table 8: MPR Address Block TLV Type Extensions Modifications

5.5.  NBR_ADDR_TYPE Address Block TLVs

5.5.1.  New Registry

   IANA has created a new sub-registry called "NBR_ADDR_TYPE Address
   Block TLV Bit Values" within the "Mobile Ad hoc NETwork (MANET)
   Parameters" registry.

   IANA has populated this registry as specified in Table 9.








Dearlove & Clausen           Standards Track                   [Page 12]
^L
RFC 7188             NHDP and OLSRv2 Extension TLVs           April 2014


   +-----+-------+------------+----------------------------+-----------+
   | Bit | Value | Name       | Description                | Reference |
   +-----+-------+------------+----------------------------+-----------+
   | 7   | 0x01  | ORIGINATOR | The network address is an  | RFC 7188  |
   |     |       |            | originator address         |           |
   |     |       |            | reachable via the          |           |
   |     |       |            | originating router         |           |
   |     |       |            |                            |           |
   | 6   | 0x02  | ROUTABLE   | The network address is a   | RFC 7188  |
   |     |       |            | routable address reachable |           |
   |     |       |            | via the originating router |           |
   |     |       |            |                            |           |
   | 0-5 |       |            | Unassigned                 |           |
   +-----+-------+------------+----------------------------+-----------+

            Table 9: NBR_ADDR_TYPE Address Block TLV Bit Values

   New assignments are to be made by Expert Review [RFC5226].

   The Designated Experts are required to use the guidelines specified
   in [RFC6130] and [RFC7181].  Additionally, the Designated Experts are
   required to ensure that the following sense is preserved:

   o  For each bit in the field, a set bit (1) means that the address
      has the designated property, while an unset bit (0) means that no
      information about the designated property is provided.  In
      particular, an unset bit must not be used to convey any specific
      information about the designated property.

5.5.2.  Modification to Existing Registry

   IANA maintains a sub-registry called "NBR_ADDR_TYPE Address Block TLV
   Type Extensions" within the "Mobile Ad hoc NETwork (MANET)
   Parameters" registry.  This sub-registry already had an entry for
   value 0.  IANA has replaced the entry in the Description column for
   this value with the text "This value is to be interpreted according
   to the registry NBR_ADDR_TYPE TLV Bit Values".  The resulting table
   is as specified in Table 10.













Dearlove & Clausen           Standards Track                   [Page 13]
^L
RFC 7188             NHDP and OLSRv2 Extension TLVs           April 2014


   +-----------+-------------------------------------------+-----------+
   | Type      | Description                               | Reference |
   | Extension |                                           |           |
   +-----------+-------------------------------------------+-----------+
   | 0         | This value is to be interpreted according | RFC 7181, |
   |           | to the registry NBR_ADDR_TYPE Address     | RFC 7188  |
   |           | Block TLV Bit Values                      |           |
   |           |                                           |           |
   | 1-255     | Unassigned                                |           |
   +-----------+-------------------------------------------+-----------+

         Table 10: NBR_ADDR_TYPE Address Block TLV Type Extensions
                               Modifications

6.  Security Considerations

   The updates made to [RFC6130] and [RFC7181] have the following
   implications on the security considerations:

   o  Created IANA registries for retaining TLV values for TLVs, already
      defined in the already published specifications of the two
      protocols, and with initial registrations for the TLV values
      defined by these specifications.  This does not give rise to any
      additional security considerations.

   o  Enabled protocol extensions for registering TLV values in the
      created IANA registries.  Such extensions MUST specify appropriate
      security considerations.

   o  Created, in some registries, a registration for "UNSPECIFIED"
      values for more efficient use of multivalue Address Block TLVs.
      The interpretation of an address being associated with a TLV of a
      given type and with the value "UNSPECIFIED" is identical to that
      address not being associated with a TLV of that type.  Thus, this
      update does not give rise to any additional security
      considerations.

   o  Reduced the latitude of implementations of the two protocols to
      reject a message as "badly formed" due to the value field of a TLV
      being unexpected.  These protocols are specified in terms such as
      "if an address is associated with a value of LOST by a LINK_STATUS
      TLV".  Association with an unknown value (or a value newly defined
      to mean no link status information) has no effect on such a
      specification.  Thus, this update does not give rise to any
      additional security considerations.






Dearlove & Clausen           Standards Track                   [Page 14]
^L
RFC 7188             NHDP and OLSRv2 Extension TLVs           April 2014


   o  Did not introduce any opportunities for attacks on the protocols
      through signal modification that are not already present in the
      two protocols.

7.  Acknowledgments

   The authors would like to gratefully acknowledge the following people
   for intense technical discussions, early reviews, and comments on the
   specification (listed alphabetically): Ulrich Herberg (Fujitsu
   Laboratories of America) and Henning Rogge (Frauenhofer FKIE).

   The authors would also like to express their gratitude to Adrian
   Farrel for his assistance and contributions to the successful and
   timely completion of this specification.

8.  References

8.1.  Normative References

   [RFC2119]  Bradner, S., "Key words for use in RFCs to Indicate
              Requirement Levels", BCP 14, RFC 2119, March 1997.

   [RFC5444]  Clausen, T., Dearlove, C., Dean, J., and C. Adjih,
              "Generalized MANET Packet/Message Format", RFC 5444,
              February 2009.

   [RFC6130]  Clausen, T., Dean, J., and C. Dearlove, "Mobile Ad Hoc
              Network (MANET) Neighborhood Discovery Protocol (NHDP)",
              RFC 6130, April 2011.

   [RFC7181]  Clausen, T., Dearlove, C., Jacquet, P., and U. Herberg,
              "The Optimized Link State Routing Protocol Version 2", RFC
              7181, April 2014.

8.2.  Informative References

   [RFC2501]  Macker, J. and S. Corson, "Mobile Ad hoc Networking
              (MANET): Routing Protocol Performance Issues and
              Evaluation Considerations", RFC 2501, January 1999.

   [RFC5226]  Narten, T. and H. Alvestrand, "Guidelines for Writing an
              IANA Considerations Section in RFCs", BCP 26, RFC 5226,
              May 2008.








Dearlove & Clausen           Standards Track                   [Page 15]
^L
RFC 7188             NHDP and OLSRv2 Extension TLVs           April 2014


Authors' Addresses

   Christopher Dearlove
   BAE Systems Advanced Technology Centre
   West Hanningfield Road
   Great Baddow, Chelmsford
   United Kingdom

   Phone: +44 1245 242194
   EMail: chris.dearlove@baesystems.com
   URI:   http://www.baesystems.com/


   Thomas Heide Clausen
   LIX, Ecole Polytechnique

   Phone: +33 6 6058 9349
   EMail: T.Clausen@computer.org
   URI:   http://www.ThomasClausen.org/
































Dearlove & Clausen           Standards Track                   [Page 16]
^L