File: rfc9131.html

package info (click to toggle)
doc-rfc 20230121-1
  • links: PTS, VCS
  • area: non-free
  • in suites: bookworm, forky, sid, trixie
  • size: 1,609,944 kB
file content (2319 lines) | stat: -rw-r--r-- 130,623 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
<!DOCTYPE html>
<html lang="en" class="RFC">
<head>
<meta charset="utf-8">
<meta content="Common,Latin" name="scripts">
<meta content="initial-scale=1.0" name="viewport">
<title>RFC 9131: Gratuitous Neighbor Discovery: Creating Neighbor Cache Entries on First‑Hop Routers</title>
<meta content="Jen Linkova" name="author">
<meta content="
       
                    Neighbor Discovery (RFC 4861) is used by IPv6 nodes to determine the link-layer addresses of neighboring nodes as well as to discover and maintain reachability information. This document updates RFC 4861 to allow routers to proactively create a Neighbor Cache entry when a new IPv6 address is assigned to a node. It also updates RFC 4861 and recommends that nodes send unsolicited Neighbor Advertisements upon assigning a new IPv6 address. These changes will minimize the delay and packet loss when a node initiates connections to an off-link destination from a new IPv6 address. 
       
    " name="description">
<meta content="xml2rfc 3.10.0" name="generator">
<meta content="IPv6" name="keyword">
<meta content="SLAAC" name="keyword">
<meta content="stateless address autoconfiguration" name="keyword">
<meta content="neighbor advertisement" name="keyword">
<meta content="9131" name="rfc.number">
<!-- Generator version information:
  xml2rfc 3.10.0
    Python 3.6.10
    appdirs 1.4.4
    ConfigArgParse 1.2.3
    google-i18n-address 2.3.5
    html5lib 1.0.1
    intervaltree 3.0.2
    Jinja2 2.11.2
    kitchen 1.2.6
    lxml 4.4.2
    pycairo 1.19.0
    pycountry 19.8.18
    pyflakes 2.1.1
    PyYAML 5.3.1
    requests 2.22.0
    setuptools 40.6.2
    six 1.14.0
    WeasyPrint 51
-->
<link href="rfc9131.xml" rel="alternate" type="application/rfc+xml">
<link href="#copyright" rel="license">
<style type="text/css">/*

  NOTE: Changes at the bottom of this file overrides some earlier settings.

  Once the style has stabilized and has been adopted as an official RFC style,
  this can be consolidated so that style settings occur only in one place, but
  for now the contents of this file consists first of the initial CSS work as
  provided to the RFC Formatter (xml2rfc) work, followed by itemized and
  commented changes found necssary during the development of the v3
  formatters.

*/

/* fonts */
@import url('https://fonts.googleapis.com/css?family=Noto+Sans'); /* Sans-serif */
@import url('https://fonts.googleapis.com/css?family=Noto+Serif'); /* Serif (print) */
@import url('https://fonts.googleapis.com/css?family=Roboto+Mono'); /* Monospace */

@viewport {
  zoom: 1.0;
  width: extend-to-zoom;
}
@-ms-viewport {
  width: extend-to-zoom;
  zoom: 1.0;
}
/* general and mobile first */
html {
}
body {
  max-width: 90%;
  margin: 1.5em auto;
  color: #222;
  background-color: #fff;
  font-size: 14px;
  font-family: 'Noto Sans', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
}
.ears {
  display: none;
}

/* headings */
#title, h1, h2, h3, h4, h5, h6 {
  margin: 1em 0 0.5em;
  font-weight: bold;
  line-height: 1.3;
}
#title {
  clear: both;
  border-bottom: 1px solid #ddd;
  margin: 0 0 0.5em 0;
  padding: 1em 0 0.5em;
}
.author {
  padding-bottom: 4px;
}
h1 {
  font-size: 26px;
  margin: 1em 0;
}
h2 {
  font-size: 22px;
  margin-top: -20px;  /* provide offset for in-page anchors */
  padding-top: 33px;
}
h3 {
  font-size: 18px;
  margin-top: -36px;  /* provide offset for in-page anchors */
  padding-top: 42px;
}
h4 {
  font-size: 16px;
  margin-top: -36px;  /* provide offset for in-page anchors */
  padding-top: 42px;
}
h5, h6 {
  font-size: 14px;
}
#n-copyright-notice {
  border-bottom: 1px solid #ddd;
  padding-bottom: 1em;
  margin-bottom: 1em;
}
/* general structure */
p {
  padding: 0;
  margin: 0 0 1em 0;
  text-align: left;
}
div, span {
  position: relative;
}
div {
  margin: 0;
}
.alignRight.art-text {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 3px;
  padding: 1em 1em 0;
  margin-bottom: 1.5em;
}
.alignRight.art-text pre {
  padding: 0;
}
.alignRight {
  margin: 1em 0;
}
.alignRight > *:first-child {
  border: none;
  margin: 0;
  float: right;
  clear: both;
}
.alignRight > *:nth-child(2) {
  clear: both;
  display: block;
  border: none;
}
svg {
  display: block;
}
.alignCenter.art-text {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 3px;
  padding: 1em 1em 0;
  margin-bottom: 1.5em;
}
.alignCenter.art-text pre {
  padding: 0;
}
.alignCenter {
  margin: 1em 0;
}
.alignCenter > *:first-child {
  border: none;
  /* this isn't optimal, but it's an existence proof.  PrinceXML doesn't
     support flexbox yet.
  */
  display: table;
  margin: 0 auto;
}

/* lists */
ol, ul {
  padding: 0;
  margin: 0 0 1em 2em;
}
ol ol, ul ul, ol ul, ul ol {
  margin-left: 1em;
}
li {
  margin: 0 0 0.25em 0;
}
.ulCompact li {
  margin: 0;
}
ul.empty, .ulEmpty {
  list-style-type: none;
}
ul.empty li, .ulEmpty li {
  margin-top: 0.5em;
}
ul.ulBare, li.ulBare {
  margin-left: 0em !important;
}
ul.compact, .ulCompact,
ol.compact, .olCompact {
  line-height: 100%;
  margin: 0 0 0 2em;
}

/* definition lists */
dl {
}
dl > dt {
  float: left;
  margin-right: 1em;
}
/* 
dl.nohang > dt {
  float: none;
}
*/
dl > dd {
  margin-bottom: .8em;
  min-height: 1.3em;
}
dl.compact > dd, .dlCompact > dd {
  margin-bottom: 0em;
}
dl > dd > dl {
  margin-top: 0.5em;
  margin-bottom: 0em;
}

/* links */
a {
  text-decoration: none;
}
a[href] {
  color: #22e; /* Arlen: WCAG 2019 */
}
a[href]:hover {
  background-color: #f2f2f2;
}
figcaption a[href],
a[href].selfRef {
  color: #222;
}
/* XXX probably not this:
a.selfRef:hover {
  background-color: transparent;
  cursor: default;
} */

/* Figures */
tt, code, pre, code {
  background-color: #f9f9f9;
  font-family: 'Roboto Mono', monospace;
}
pre {
  border: 1px solid #eee;
  margin: 0;
  padding: 1em;
}
img {
  max-width: 100%;
}
figure {
  margin: 0;
}
figure blockquote {
  margin: 0.8em 0.4em 0.4em;
}
figcaption {
  font-style: italic;
  margin: 0 0 1em 0;
}
@media screen {
  pre {
    overflow-x: auto;
    max-width: 100%;
    max-width: calc(100% - 22px);
  }
}

/* aside, blockquote */
aside, blockquote {
  margin-left: 0;
  padding: 1.2em 2em;
}
blockquote {
  background-color: #f9f9f9;
  color: #111; /* Arlen: WCAG 2019 */
  border: 1px solid #ddd;
  border-radius: 3px;
  margin: 1em 0;
}
cite {
  display: block;
  text-align: right;
  font-style: italic;
}

/* tables */
table {
  width: 100%;
  margin: 0 0 1em;
  border-collapse: collapse;
  border: 1px solid #eee;
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.5em 0.75em;
}
th {
  text-align: left;
  background-color: #e9e9e9;
}
tr:nth-child(2n+1) > td {
  background-color: #f5f5f5;
}
table caption {
  font-style: italic;
  margin: 0;
  padding: 0;
  text-align: left;
}
table p {
  /* XXX to avoid bottom margin on table row signifiers. If paragraphs should
     be allowed within tables more generally, it would be far better to select on a class. */
  margin: 0;
}

/* pilcrow */
a.pilcrow {
  color: #666; /* Arlen: AHDJ 2019 */
  text-decoration: none;
  visibility: hidden;
  user-select: none;
  -ms-user-select: none;
  -o-user-select:none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
@media screen {
  aside:hover > a.pilcrow,
  p:hover > a.pilcrow,
  blockquote:hover > a.pilcrow,
  div:hover > a.pilcrow,
  li:hover > a.pilcrow,
  pre:hover > a.pilcrow {
    visibility: visible;
  }
  a.pilcrow:hover {
    background-color: transparent;
  }
}

/* misc */
hr {
  border: 0;
  border-top: 1px solid #eee;
}
.bcp14 {
  font-variant: small-caps;
}

.role {
  font-variant: all-small-caps;
}

/* info block */
#identifiers {
  margin: 0;
  font-size: 0.9em;
}
#identifiers dt {
  width: 3em;
  clear: left;
}
#identifiers dd {
  float: left;
  margin-bottom: 0;
}
/* Fix PDF info block run off issue */
@media print {
  #identifiers dd {
    float: none;
  }
}
#identifiers .authors .author {
  display: inline-block;
  margin-right: 1.5em;
}
#identifiers .authors .org {
  font-style: italic;
}

/* The prepared/rendered info at the very bottom of the page */
.docInfo {
  color: #666; /* Arlen: WCAG 2019 */
  font-size: 0.9em;
  font-style: italic;
  margin-top: 2em;
}
.docInfo .prepared {
  float: left;
}
.docInfo .prepared {
  float: right;
}

/* table of contents */
#toc  {
  padding: 0.75em 0 2em 0;
  margin-bottom: 1em;
}
nav.toc ul {
  margin: 0 0.5em 0 0;
  padding: 0;
  list-style: none;
}
nav.toc li {
  line-height: 1.3em;
  margin: 0.75em 0;
  padding-left: 1.2em;
  text-indent: -1.2em;
}
/* references */
.references dt {
  text-align: right;
  font-weight: bold;
  min-width: 7em;
}
.references dd {
  margin-left: 8em;
  overflow: auto;
}

.refInstance {
  margin-bottom: 1.25em;
}

.references .ascii {
  margin-bottom: 0.25em;
}

/* index */
.index ul {
  margin: 0 0 0 1em;
  padding: 0;
  list-style: none;
}
.index ul ul {
  margin: 0;
}
.index li {
  margin: 0;
  text-indent: -2em;
  padding-left: 2em;
  padding-bottom: 5px;
}
.indexIndex {
  margin: 0.5em 0 1em;
}
.index a {
  font-weight: 700;
}
/* make the index two-column on all but the smallest screens */
@media (min-width: 600px) {
  .index ul {
    -moz-column-count: 2;
    -moz-column-gap: 20px;
  }
  .index ul ul {
    -moz-column-count: 1;
    -moz-column-gap: 0;
  }
}

/* authors */
address.vcard {
  font-style: normal;
  margin: 1em 0;
}

address.vcard .nameRole {
  font-weight: 700;
  margin-left: 0;
}
address.vcard .label {
  font-family: "Noto Sans",Arial,Helvetica,sans-serif;
  margin: 0.5em 0;
}
address.vcard .type {
  display: none;
}
.alternative-contact {
  margin: 1.5em 0 1em;
}
hr.addr {
  border-top: 1px dashed;
  margin: 0;
  color: #ddd;
  max-width: calc(100% - 16px);
}

/* temporary notes */
.rfcEditorRemove::before {
  position: absolute;
  top: 0.2em;
  right: 0.2em;
  padding: 0.2em;
  content: "The RFC Editor will remove this note";
  color: #9e2a00; /* Arlen: WCAG 2019 */
  background-color: #ffd; /* Arlen: WCAG 2019 */
}
.rfcEditorRemove {
  position: relative;
  padding-top: 1.8em;
  background-color: #ffd; /* Arlen: WCAG 2019 */
  border-radius: 3px;
}
.cref {
  background-color: #ffd; /* Arlen: WCAG 2019 */
  padding: 2px 4px;
}
.crefSource {
  font-style: italic;
}
/* alternative layout for smaller screens */
@media screen and (max-width: 1023px) {
  body {
    padding-top: 2em;
  }
  #title {
    padding: 1em 0;
  }
  h1 {
    font-size: 24px;
  }
  h2 {
    font-size: 20px;
    margin-top: -18px;  /* provide offset for in-page anchors */
    padding-top: 38px;
  }
  #identifiers dd {
    max-width: 60%;
  }
  #toc {
    position: fixed;
    z-index: 2;
    top: 0;
    right: 0;
    padding: 0;
    margin: 0;
    background-color: inherit;
    border-bottom: 1px solid #ccc;
  }
  #toc h2 {
    margin: -1px 0 0 0;
    padding: 4px 0 4px 6px;
    padding-right: 1em;
    min-width: 190px;
    font-size: 1.1em;
    text-align: right;
    background-color: #444;
    color: white;
    cursor: pointer;
  }
  #toc h2::before { /* css hamburger */
    float: right;
    position: relative;
    width: 1em;
    height: 1px;
    left: -164px;
    margin: 6px 0 0 0;
    background: white none repeat scroll 0 0;
    box-shadow: 0 4px 0 0 white, 0 8px 0 0 white;
    content: "";
  }
  #toc nav {
    display: none;
    padding: 0.5em 1em 1em;
    overflow: auto;
    height: calc(100vh - 48px);
    border-left: 1px solid #ddd;
  }
}

/* alternative layout for wide screens */
@media screen and (min-width: 1024px) {
  body {
    max-width: 724px;
    margin: 42px auto;
    padding-left: 1.5em;
    padding-right: 29em;
  }
  #toc {
    position: fixed;
    top: 42px;
    right: 42px;
    width: 25%;
    margin: 0;
    padding: 0 1em;
    z-index: 1;
  }
  #toc h2 {
    border-top: none;
    border-bottom: 1px solid #ddd;
    font-size: 1em;
    font-weight: normal;
    margin: 0;
    padding: 0.25em 1em 1em 0;
  }
  #toc nav {
    display: block;
    height: calc(90vh - 84px);
    bottom: 0;
    padding: 0.5em 0 0;
    overflow: auto;
  }
  img { /* future proofing */
    max-width: 100%;
    height: auto;
  }
}

/* pagination */
@media print {
  body {

    width: 100%;
  }
  p {
    orphans: 3;
    widows: 3;
  }
  #n-copyright-notice {
    border-bottom: none;
  }
  #toc, #n-introduction {
    page-break-before: always;
  }
  #toc {
    border-top: none;
    padding-top: 0;
  }
  figure, pre {
    page-break-inside: avoid;
  }
  figure {
    overflow: scroll;
  }
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
  h2+*, h3+*, h4+*, h5+*, h6+* {
    page-break-before: avoid;
  }
  pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 10pt;
  }
  table {
    border: 1px solid #ddd;
  }
  td {
    border-top: 1px solid #ddd;
  }
}

/* This is commented out here, as the string-set: doesn't
   pass W3C validation currently */
/*
.ears thead .left {
  string-set: ears-top-left content();
}

.ears thead .center {
  string-set: ears-top-center content();
}

.ears thead .right {
  string-set: ears-top-right content();
}

.ears tfoot .left {
  string-set: ears-bottom-left content();
}

.ears tfoot .center {
  string-set: ears-bottom-center content();
}

.ears tfoot .right {
  string-set: ears-bottom-right content();
}
*/

@page :first {
  padding-top: 0;
  @top-left {
    content: normal;
    border: none;
  }
  @top-center {
    content: normal;
    border: none;
  }
  @top-right {
    content: normal;
    border: none;
  }
}

@page {
  size: A4;
  margin-bottom: 45mm;
  padding-top: 20px;
  /* The follwing is commented out here, but set appropriately by in code, as
     the content depends on the document */
  /*
  @top-left {
    content: 'Internet-Draft';
    vertical-align: bottom;
    border-bottom: solid 1px #ccc;
  }
  @top-left {
    content: string(ears-top-left);
    vertical-align: bottom;
    border-bottom: solid 1px #ccc;
  }
  @top-center {
    content: string(ears-top-center);
    vertical-align: bottom;
    border-bottom: solid 1px #ccc;
  }
  @top-right {
    content: string(ears-top-right);
    vertical-align: bottom;
    border-bottom: solid 1px #ccc;
  }
  @bottom-left {
    content: string(ears-bottom-left);
    vertical-align: top;
    border-top: solid 1px #ccc;
  }
  @bottom-center {
    content: string(ears-bottom-center);
    vertical-align: top;
    border-top: solid 1px #ccc;
  }
  @bottom-right {
      content: '[Page ' counter(page) ']';
      vertical-align: top;
      border-top: solid 1px #ccc;
  }
  */

}

/* Changes introduced to fix issues found during implementation */
/* Make sure links are clickable even if overlapped by following H* */
a {
  z-index: 2;
}
/* Separate body from document info even without intervening H1 */
section {
  clear: both;
}


/* Top align author divs, to avoid names without organization dropping level with org names */
.author {
  vertical-align: top;
}

/* Leave room in document info to show Internet-Draft on one line */
#identifiers dt {
  width: 8em;
}

/* Don't waste quite as much whitespace between label and value in doc info */
#identifiers dd {
  margin-left: 1em;
}

/* Give floating toc a background color (needed when it's a div inside section */
#toc {
  background-color: white;
}

/* Make the collapsed ToC header render white on gray also when it's a link */
@media screen and (max-width: 1023px) {
  #toc h2 a,
  #toc h2 a:link,
  #toc h2 a:focus,
  #toc h2 a:hover,
  #toc a.toplink,
  #toc a.toplink:hover {
    color: white;
    background-color: #444;
    text-decoration: none;
  }
}

/* Give the bottom of the ToC some whitespace */
@media screen and (min-width: 1024px) {
  #toc {
    padding: 0 0 1em 1em;
  }
}

/* Style section numbers with more space between number and title */
.section-number {
  padding-right: 0.5em;
}

/* prevent monospace from becoming overly large */
tt, code, pre, code {
  font-size: 95%;
}

/* Fix the height/width aspect for ascii art*/
pre.sourcecode,
.art-text pre {
  line-height: 1.12;
}


/* Add styling for a link in the ToC that points to the top of the document */
a.toplink {
  float: right;
  margin-right: 0.5em;
}

/* Fix the dl styling to match the RFC 7992 attributes */
dl > dt,
dl.dlParallel > dt {
  float: left;
  margin-right: 1em;
}
dl.dlNewline > dt {
  float: none;
}

/* Provide styling for table cell text alignment */
table td.text-left,
table th.text-left {
  text-align: left;
}
table td.text-center,
table th.text-center {
  text-align: center;
}
table td.text-right,
table th.text-right {
  text-align: right;
}

/* Make the alternative author contact informatio look less like just another
   author, and group it closer with the primary author contact information */
.alternative-contact {
  margin: 0.5em 0 0.25em 0;
}
address .non-ascii {
  margin: 0 0 0 2em;
}

/* With it being possible to set tables with alignment
  left, center, and right, { width: 100%; } does not make sense */
table {
  width: auto;
}

/* Avoid reference text that sits in a block with very wide left margin,
   because of a long floating dt label.*/
.references dd {
  overflow: visible;
}

/* Control caption placement */
caption {
  caption-side: bottom;
}

/* Limit the width of the author address vcard, so names in right-to-left
   script don't end up on the other side of the page. */

address.vcard {
  max-width: 30em;
  margin-right: auto;
}

/* For address alignment dependent on LTR or RTL scripts */
address div.left {
  text-align: left;
}
address div.right {
  text-align: right;
}

/* Provide table alignment support.  We can't use the alignX classes above
   since they do unwanted things with caption and other styling. */
table.right {
 margin-left: auto;
 margin-right: 0;
}
table.center {
 margin-left: auto;
 margin-right: auto;
}
table.left {
 margin-left: 0;
 margin-right: auto;
}

/* Give the table caption label the same styling as the figcaption */
caption a[href] {
  color: #222;
}

@media print {
  .toplink {
    display: none;
  }

  /* avoid overwriting the top border line with the ToC header */
  #toc {
    padding-top: 1px;
  }

  /* Avoid page breaks inside dl and author address entries */
  .vcard {
    page-break-inside: avoid;
  }

}
/* Tweak the bcp14 keyword presentation */
.bcp14 {
  font-variant: small-caps;
  font-weight: bold;
  font-size: 0.9em;
}
/* Tweak the invisible space above H* in order not to overlay links in text above */
 h2 {
  margin-top: -18px;  /* provide offset for in-page anchors */
  padding-top: 31px;
 }
 h3 {
  margin-top: -18px;  /* provide offset for in-page anchors */
  padding-top: 24px;
 }
 h4 {
  margin-top: -18px;  /* provide offset for in-page anchors */
  padding-top: 24px;
 }
/* Float artwork pilcrow to the right */
@media screen {
  .artwork a.pilcrow {
    display: block;
    line-height: 0.7;
    margin-top: 0.15em;
  }
}
/* Make pilcrows on dd visible */
@media screen {
  dd:hover > a.pilcrow {
    visibility: visible;
  }
}
/* Make the placement of figcaption match that of a table's caption
   by removing the figure's added bottom margin */
.alignLeft.art-text,
.alignCenter.art-text,
.alignRight.art-text {
   margin-bottom: 0;
}
.alignLeft,
.alignCenter,
.alignRight {
  margin: 1em 0 0 0;
}
/* In print, the pilcrow won't show on hover, so prevent it from taking up space,
   possibly even requiring a new line */
@media print {
  a.pilcrow {
    display: none;
  }
}
/* Styling for the external metadata */
div#external-metadata {
  background-color: #eee;
  padding: 0.5em;
  margin-bottom: 0.5em;
  display: none;
}
div#internal-metadata {
  padding: 0.5em;                       /* to match the external-metadata padding */
}
/* Styling for title RFC Number */
h1#rfcnum {
  clear: both;
  margin: 0 0 -1em;
  padding: 1em 0 0 0;
}
/* Make .olPercent look the same as <ol><li> */
dl.olPercent > dd {
  margin-bottom: 0.25em;
  min-height: initial;
}
/* Give aside some styling to set it apart */
aside {
  border-left: 1px solid #ddd;
  margin: 1em 0 1em 2em;
  padding: 0.2em 2em;
}
aside > dl,
aside > ol,
aside > ul,
aside > table,
aside > p {
  margin-bottom: 0.5em;
}
/* Additional page break settings */
@media print {
  figcaption, table caption {
    page-break-before: avoid;
  }
}
/* Font size adjustments for print */
@media print {
  body  { font-size: 10pt;      line-height: normal; max-width: 96%; }
  h1    { font-size: 1.72em;    padding-top: 1.5em; } /* 1*1.2*1.2*1.2 */
  h2    { font-size: 1.44em;    padding-top: 1.5em; } /* 1*1.2*1.2 */
  h3    { font-size: 1.2em;     padding-top: 1.5em; } /* 1*1.2 */
  h4    { font-size: 1em;       padding-top: 1.5em; }
  h5, h6 { font-size: 1em;      margin: initial; padding: 0.5em 0 0.3em; }
}
/* Sourcecode margin in print, when there's no pilcrow */
@media print {
  .artwork,
  .sourcecode {
    margin-bottom: 1em;
  }
}
/* Avoid narrow tables forcing too narrow table captions, which may render badly */
table {
  min-width: 20em;
}
/* ol type a */
ol.type-a { list-style-type: lower-alpha; }
ol.type-A { list-style-type: upper-alpha; }
ol.type-i { list-style-type: lower-roman; }
ol.type-I { list-style-type: lower-roman; }
/* Apply the print table and row borders in general, on request from the RPC,
and increase the contrast between border and odd row background sligthtly */
table {
  border: 1px solid #ddd;
}
td {
  border-top: 1px solid #ddd;
}
tr:nth-child(2n+1) > td {
  background-color: #f8f8f8;
}
/* Use style rules to govern display of the TOC. */
@media screen and (max-width: 1023px) {
  #toc nav { display: none; }
  #toc.active nav { display: block; }
}
/* Add support for keepWithNext */
.keepWithNext {
  break-after: avoid-page;
  break-after: avoid-page;
}
/* Add support for keepWithPrevious */
.keepWithPrevious {
  break-before: avoid-page;
}
/* Change the approach to avoiding breaks inside artwork etc. */
figure, pre, table, .artwork, .sourcecode  {
  break-before: auto;
  break-after: auto;
}
/* Avoid breaks between <dt> and <dd> */
dl {
  break-before: auto;
  break-inside: auto;
}
dt {
  break-before: auto;
  break-after: avoid-page;
}
dd {
  break-before: avoid-page;
  break-after: auto;
  orphans: 3;
  widows: 3
}
span.break, dd.break {
  margin-bottom: 0;
  min-height: 0;
  break-before: auto;
  break-inside: auto;
  break-after: auto;
}
/* Undo break-before ToC */
@media print {
  #toc {
    break-before: auto;
  }
}
/* Text in compact lists should not get extra bottim margin space,
   since that would makes the list not compact */
ul.compact p, .ulCompact p,
ol.compact p, .olCompact p {
 margin: 0;
}
/* But the list as a whole needs the extra space at the end */
section ul.compact,
section .ulCompact,
section ol.compact,
section .olCompact {
  margin-bottom: 1em;                    /* same as p not within ul.compact etc. */
}
/* The tt and code background above interferes with for instance table cell
   backgrounds.  Changed to something a bit more selective. */
tt, code {
  background-color: transparent;
}
p tt, p code, li tt, li code {
  background-color: #f8f8f8;
}
/* Tweak the pre margin -- 0px doesn't come out well */
pre {
   margin-top: 0.5px;
}
/* Tweak the comact list text */
ul.compact, .ulCompact,
ol.compact, .olCompact,
dl.compact, .dlCompact {
  line-height: normal;
}
/* Don't add top margin for nested lists */
li > ul, li > ol, li > dl,
dd > ul, dd > ol, dd > dl,
dl > dd > dl {
  margin-top: initial;
}
/* Elements that should not be rendered on the same line as a <dt> */
/* This should match the element list in writer.text.TextWriter.render_dl() */
dd > div.artwork:first-child,
dd > aside:first-child,
dd > figure:first-child,
dd > ol:first-child,
dd > div:first-child > pre.sourcecode,
dd > table:first-child,
dd > ul:first-child {
  clear: left;
}
/* fix for weird browser behaviour when <dd/> is empty */
dt+dd:empty::before{
  content: "\00a0";
}
/* Make paragraph spacing inside <li> smaller than in body text, to fit better within the list */
li > p {
  margin-bottom: 0.5em
}
/* Don't let p margin spill out from inside list items */
li > p:last-of-type {
  margin-bottom: 0;
}
</style>
<link href="rfc-local.css" rel="stylesheet" type="text/css">
<link href="https://dx.doi.org/10.17487/rfc9131" rel="alternate">
  <link href="urn:issn:2070-1721" rel="alternate">
  <link href="https://datatracker.ietf.org/doc/draft-ietf-6man-grand-07" rel="prev">
  </head>
<body>
<script src="https://www.rfc-editor.org/js/metadata.min.js"></script>
<table class="ears">
<thead><tr>
<td class="left">RFC 9131</td>
<td class="center">Gratuitous ND</td>
<td class="right">October 2021</td>
</tr></thead>
<tfoot><tr>
<td class="left">Linkova</td>
<td class="center">Standards Track</td>
<td class="right">[Page]</td>
</tr></tfoot>
</table>
<div id="external-metadata" class="document-information"></div>
<div id="internal-metadata" class="document-information">
<dl id="identifiers">
<dt class="label-stream">Stream:</dt>
<dd class="stream">Internet Engineering Task Force (IETF)</dd>
<dt class="label-rfc">RFC:</dt>
<dd class="rfc"><a href="https://www.rfc-editor.org/rfc/rfc9131" class="eref">9131</a></dd>
<dt class="label-updates">Updates:</dt>
<dd class="updates">
<a href="https://www.rfc-editor.org/rfc/rfc4861" class="eref">4861</a> </dd>
<dt class="label-category">Category:</dt>
<dd class="category">Standards Track</dd>
<dt class="label-published">Published:</dt>
<dd class="published">
<time datetime="2021-10" class="published">October 2021</time>
    </dd>
<dt class="label-issn">ISSN:</dt>
<dd class="issn">2070-1721</dd>
<dt class="label-authors">Author:</dt>
<dd class="authors">
<div class="author">
      <div class="author-name">J. Linkova</div>
<div class="org">Google</div>
</div>
</dd>
</dl>
</div>
<h1 id="rfcnum">RFC 9131</h1>
<h1 id="title">Gratuitous Neighbor Discovery: Creating Neighbor Cache Entries on First‑Hop Routers</h1>
<section id="section-abstract">
      <h2 id="abstract"><a href="#abstract" class="selfRef">Abstract</a></h2>
<p id="section-abstract-1">
                    Neighbor Discovery (RFC 4861) is used by IPv6 nodes to determine the link-layer addresses of neighboring nodes as well as to discover and maintain reachability information. This document updates RFC 4861 to allow routers to proactively create a Neighbor Cache entry when a new IPv6 address is assigned to a node. It also updates RFC 4861 and recommends that nodes send unsolicited Neighbor Advertisements upon assigning a new IPv6 address. These changes will minimize the delay and packet loss when a node initiates connections to an off-link destination from a new IPv6 address.<a href="#section-abstract-1" class="pilcrow">¶</a></p>
</section>
<div id="status-of-memo">
<section id="section-boilerplate.1">
        <h2 id="name-status-of-this-memo">
<a href="#name-status-of-this-memo" class="section-name selfRef">Status of This Memo</a>
        </h2>
<p id="section-boilerplate.1-1">
            This is an Internet Standards Track document.<a href="#section-boilerplate.1-1" class="pilcrow">¶</a></p>
<p id="section-boilerplate.1-2">
            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 7841.<a href="#section-boilerplate.1-2" class="pilcrow">¶</a></p>
<p id="section-boilerplate.1-3">
            Information about the current status of this document, any
            errata, and how to provide feedback on it may be obtained at
            <span><a href="https://www.rfc-editor.org/info/rfc9131">https://www.rfc-editor.org/info/rfc9131</a></span>.<a href="#section-boilerplate.1-3" class="pilcrow">¶</a></p>
</section>
</div>
<div id="copyright">
<section id="section-boilerplate.2">
        <h2 id="name-copyright-notice">
<a href="#name-copyright-notice" class="section-name selfRef">Copyright Notice</a>
        </h2>
<p id="section-boilerplate.2-1">
            Copyright (c) 2021 IETF Trust and the persons identified as the
            document authors. All rights reserved.<a href="#section-boilerplate.2-1" class="pilcrow">¶</a></p>
<p id="section-boilerplate.2-2">
            This document is subject to BCP 78 and the IETF Trust's Legal
            Provisions Relating to IETF Documents
            (<span><a href="https://trustee.ietf.org/license-info">https://trustee.ietf.org/license-info</a></span>) 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.<a href="#section-boilerplate.2-2" class="pilcrow">¶</a></p>
</section>
</div>
<div id="toc">
<section id="section-toc.1">
        <a href="#" onclick="scroll(0,0)" class="toplink">▲</a><h2 id="name-table-of-contents">
<a href="#name-table-of-contents" class="section-name selfRef">Table of Contents</a>
        </h2>
<nav class="toc"><ul class="compact toc ulBare ulEmpty">
<li class="compact toc ulBare ulEmpty" id="section-toc.1-1.1">
            <p id="section-toc.1-1.1.1" class="keepWithNext"><a href="#section-1" class="xref">1</a>.  <a href="#name-introduction" class="xref">Introduction</a></p>
<ul class="compact toc ulBare ulEmpty">
<li class="compact toc ulBare ulEmpty" id="section-toc.1-1.1.2.1">
                <p id="section-toc.1-1.1.2.1.1" class="keepWithNext"><a href="#section-1.1" class="xref">1.1</a>.  <a href="#name-requirements-language" class="xref">Requirements Language</a></p>
</li>
              <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.1.2.2">
                <p id="section-toc.1-1.1.2.2.1" class="keepWithNext"><a href="#section-1.2" class="xref">1.2</a>.  <a href="#name-terminology" class="xref">Terminology</a></p>
</li>
            </ul>
</li>
          <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.2">
            <p id="section-toc.1-1.2.1"><a href="#section-2" class="xref">2</a>.  <a href="#name-problem-statement" class="xref">Problem Statement</a></p>
</li>
          <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.3">
            <p id="section-toc.1-1.3.1"><a href="#section-3" class="xref">3</a>.  <a href="#name-solution-requirements" class="xref">Solution Requirements</a></p>
</li>
          <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.4">
            <p id="section-toc.1-1.4.1"><a href="#section-4" class="xref">4</a>.  <a href="#name-changes-to-neighbor-discove" class="xref">Changes to Neighbor Discovery</a></p>
<ul class="compact toc ulBare ulEmpty">
<li class="compact toc ulBare ulEmpty" id="section-toc.1-1.4.2.1">
                <p id="section-toc.1-1.4.2.1.1"><a href="#section-4.1" class="xref">4.1</a>.  <a href="#name-nodes-sending-gratuitous-ne" class="xref">Nodes Sending Gratuitous Neighbor Advertisements</a></p>
</li>
              <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.4.2.2">
                <p id="section-toc.1-1.4.2.2.1"><a href="#section-4.2" class="xref">4.2</a>.  <a href="#name-routers-creating-cache-entr" class="xref">Routers Creating Cache Entries upon Receiving Unsolicited Neighbor Advertisements</a></p>
</li>
            </ul>
</li>
          <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.5">
            <p id="section-toc.1-1.5.1"><a href="#section-5" class="xref">5</a>.  <a href="#name-avoiding-disruption" class="xref">Avoiding Disruption</a></p>
<ul class="compact toc ulBare ulEmpty">
<li class="compact toc ulBare ulEmpty" id="section-toc.1-1.5.2.1">
                <p id="section-toc.1-1.5.2.1.1"><a href="#section-5.1" class="xref">5.1</a>.  <a href="#name-neighbor-cache-entry-exists" class="xref">Neighbor Cache Entry Exists in Any State Other Than INCOMPLETE</a></p>
</li>
              <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.5.2.2">
                <p id="section-toc.1-1.5.2.2.1"><a href="#section-5.2" class="xref">5.2</a>.  <a href="#name-neighbor-cache-entry-is-in-" class="xref">Neighbor Cache Entry Is in INCOMPLETE State</a></p>
</li>
              <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.5.2.3">
                <p id="section-toc.1-1.5.2.3.1"><a href="#section-5.3" class="xref">5.3</a>.  <a href="#name-neighbor-cache-entry-does-n" class="xref">Neighbor Cache Entry Does Not Exist</a></p>
<ul class="compact toc ulBare ulEmpty">
<li class="compact toc ulBare ulEmpty" id="section-toc.1-1.5.2.3.2.1">
                    <p id="section-toc.1-1.5.2.3.2.1.1"><a href="#section-5.3.1" class="xref">5.3.1</a>.  <a href="#name-the-rightful-owner-is-not-s" class="xref">The Rightful Owner Is Not Sending Packets from the Address</a></p>
</li>
                  <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.5.2.3.2.2">
                    <p id="section-toc.1-1.5.2.3.2.2.1"><a href="#section-5.3.2" class="xref">5.3.2</a>.  <a href="#name-the-rightful-owner-has-star" class="xref">The Rightful Owner Has Started Sending Packets from the Address</a></p>
</li>
                </ul>
</li>
            </ul>
</li>
          <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.6">
            <p id="section-toc.1-1.6.1"><a href="#section-6" class="xref">6</a>.  <a href="#name-modifications-to-rfc-mandat" class="xref">Modifications to RFC-Mandated Behavior</a></p>
<ul class="compact toc ulBare ulEmpty">
<li class="compact toc ulBare ulEmpty" id="section-toc.1-1.6.2.1">
                <p id="section-toc.1-1.6.2.1.1"><a href="#section-6.1" class="xref">6.1</a>.  <a href="#name-modification-to-rfc-4861-ne" class="xref">Modification to RFC 4861 (Neighbor Discovery for IP version 6 (IPv6))</a></p>
<ul class="compact toc ulBare ulEmpty">
<li class="compact toc ulBare ulEmpty" id="section-toc.1-1.6.2.1.2.1">
                    <p id="section-toc.1-1.6.2.1.2.1.1"><a href="#section-6.1.1" class="xref">6.1.1</a>.  <a href="#name-modification-to-section-725" class="xref">Modification to Section 7.2.5 of RFC 4861</a></p>
</li>
                  <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.6.2.1.2.2">
                    <p id="section-toc.1-1.6.2.1.2.2.1"><a href="#section-6.1.2" class="xref">6.1.2</a>.  <a href="#name-modification-to-section-726" class="xref">Modification to Section 7.2.6 of RFC 4861</a></p>
</li>
                </ul>
</li>
            </ul>
</li>
          <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.7">
            <p id="section-toc.1-1.7.1"><a href="#section-7" class="xref">7</a>.  <a href="#name-solution-limitations" class="xref">Solution Limitations</a></p>
</li>
          <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.8">
            <p id="section-toc.1-1.8.1"><a href="#section-8" class="xref">8</a>.  <a href="#name-solutions-considered-but-di" class="xref">Solutions Considered but Discarded</a></p>
<ul class="compact toc ulBare ulEmpty">
<li class="compact toc ulBare ulEmpty" id="section-toc.1-1.8.2.1">
                <p id="section-toc.1-1.8.2.1.1"><a href="#section-8.1" class="xref">8.1</a>.  <a href="#name-do-nothing" class="xref">Do Nothing</a></p>
</li>
              <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.8.2.2">
                <p id="section-toc.1-1.8.2.2.1"><a href="#section-8.2" class="xref">8.2</a>.  <a href="#name-change-to-the-registration-" class="xref">Change to the Registration-Based Neighbor Discovery</a></p>
</li>
              <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.8.2.3">
                <p id="section-toc.1-1.8.2.3.1"><a href="#section-8.3" class="xref">8.3</a>.  <a href="#name-host-sending-ns-to-the-rout" class="xref">Host Sending NS to the Router Address from Its GUA</a></p>
</li>
              <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.8.2.4">
                <p id="section-toc.1-1.8.2.4.1"><a href="#section-8.4" class="xref">8.4</a>.  <a href="#name-host-sending-router-solicit" class="xref">Host Sending Router Solicitation from Its GUA</a></p>
</li>
              <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.8.2.5">
                <p id="section-toc.1-1.8.2.5.1"><a href="#section-8.5" class="xref">8.5</a>.  <a href="#name-routers-populating-their-ca" class="xref">Routers Populating Their Caches by Gleaning from Neighbor Discovery Packets</a></p>
</li>
              <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.8.2.6">
                <p id="section-toc.1-1.8.2.6.1"><a href="#section-8.6" class="xref">8.6</a>.  <a href="#name-initiating-host-to-router-c" class="xref">Initiating Host-to-Router Communication</a></p>
</li>
              <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.8.2.7">
                <p id="section-toc.1-1.8.2.7.1"><a href="#section-8.7" class="xref">8.7</a>.  <a href="#name-making-the-probing-logic-on" class="xref">Making the Probing Logic on Hosts More Robust</a></p>
</li>
              <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.8.2.8">
                <p id="section-toc.1-1.8.2.8.1"><a href="#section-8.8" class="xref">8.8</a>.  <a href="#name-increasing-the-buffer-size-" class="xref">Increasing the Buffer Size on Routers</a></p>
</li>
              <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.8.2.9">
                <p id="section-toc.1-1.8.2.9.1"><a href="#section-8.9" class="xref">8.9</a>.  <a href="#name-transit-data-plane-traffic-" class="xref">Transit Data Plane Traffic from a New Address to Trigger Address Resolution</a></p>
</li>
            </ul>
</li>
          <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.9">
            <p id="section-toc.1-1.9.1"><a href="#section-9" class="xref">9</a>.  <a href="#name-iana-considerations" class="xref">IANA Considerations</a></p>
</li>
          <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.10">
            <p id="section-toc.1-1.10.1"><a href="#section-10" class="xref">10</a>. <a href="#name-security-considerations" class="xref">Security Considerations</a></p>
</li>
          <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.11">
            <p id="section-toc.1-1.11.1"><a href="#section-11" class="xref">11</a>. <a href="#name-references" class="xref">References</a></p>
<ul class="compact toc ulBare ulEmpty">
<li class="compact toc ulBare ulEmpty" id="section-toc.1-1.11.2.1">
                <p id="section-toc.1-1.11.2.1.1"><a href="#section-11.1" class="xref">11.1</a>.  <a href="#name-normative-references" class="xref">Normative References</a></p>
</li>
              <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.11.2.2">
                <p id="section-toc.1-1.11.2.2.1"><a href="#section-11.2" class="xref">11.2</a>.  <a href="#name-informative-references" class="xref">Informative References</a></p>
</li>
            </ul>
</li>
          <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.12">
            <p id="section-toc.1-1.12.1"><a href="#appendix-A" class="xref"></a><a href="#name-acknowledgements" class="xref">Acknowledgements</a></p>
</li>
          <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.13">
            <p id="section-toc.1-1.13.1"><a href="#appendix-B" class="xref"></a><a href="#name-authors-address" class="xref">Author's Address</a></p>
</li>
        </ul>
</nav>
</section>
</div>
<div id="Introduction">
<section id="section-1">
      <h2 id="name-introduction">
<a href="#section-1" class="section-number selfRef">1. </a><a href="#name-introduction" class="section-name selfRef">Introduction</a>
      </h2>
<p id="section-1-1">
                          The Neighbor Discovery state machine defined in  <span>[<a href="#RFC4861" class="xref">RFC4861</a>]</span> assumes that communications between IPv6 nodes are, in most cases, bidirectional and if a node A is trying to communicate to its neighbor, node B, the return traffic flows could be expected.  So, when node A starts the address resolution process, the target node B would also create an entry containing A's IPv6 and link-layer addresses in its Neighbor Cache. That entry will be used for sending the return traffic to A.<a href="#section-1-1" class="pilcrow">¶</a></p>
<p id="section-1-2">
                          In particular, <span><a href="https://www.rfc-editor.org/rfc/rfc4861#section-7.2.5" class="relref">Section 7.2.5</a> of [<a href="#RFC4861" class="xref">RFC4861</a>]</span> states:<a href="#section-1-2" class="pilcrow">¶</a></p>
<blockquote id="section-1-3">When a valid Neighbor Advertisement is received (either solicited or unsolicited), the Neighbor Cache is searched for the target's entry.
                          If no entry exists, the advertisement <span class="bcp14">SHOULD</span> be silently discarded.
   There is no need to create an entry if none exists, since the recipient has apparently not initiated any communication with the target.<a href="#section-1-3" class="pilcrow">¶</a>
</blockquote>
<p id="section-1-4">
                                  While this approach is perfectly suitable for host-to-host on-link communications, it does not work so well when a host sends traffic to off-link destinations.
                                  After joining the network and receiving a Router Advertisement, the host populates its Neighbor Cache with the default router IPv6 and link-layer addresses and is able to send traffic to off-link destinations.
                                  At the same time, the router does not have any cache entries for the host global addresses yet and only starts address resolution upon receiving the first packet of the return traffic flow.
                                  While waiting for the resolution to complete, routers only keep a very small number of packets in the queue, as recommended in <span><a href="https://www.rfc-editor.org/rfc/rfc4861#section-7.2.2" class="relref">Section 7.2.2</a> of [<a href="#RFC4861" class="xref">RFC4861</a>]</span>.
Any additional packets arriving before the resolution process finishes are likely to result in dropped packets.
                                          It can cause packet loss and performance degradation that can be visible to users.<a href="#section-1-4" class="pilcrow">¶</a></p>
<p id="section-1-5">
This document updates the Neighbor Discovery protocol <span>[<a href="#RFC4861" class="xref">RFC4861</a>]</span> to avoid packet loss in the scenario described above.
<a href="#changes" class="xref">Section 4</a> discusses the changes and analyzes the potential impact, while normative changes to <span>[<a href="#RFC4861" class="xref">RFC4861</a>]</span> are specified in <a href="#RFC_UPD" class="xref">Section 6</a>.<a href="#section-1-5" class="pilcrow">¶</a></p>
<section id="section-1.1">
        <h3 id="name-requirements-language">
<a href="#section-1.1" class="section-number selfRef">1.1. </a><a href="#name-requirements-language" class="section-name selfRef">Requirements Language</a>
        </h3>
<p id="section-1.1-1">The key words "<span class="bcp14">MUST</span>", "<span class="bcp14">MUST NOT</span>",
       "<span class="bcp14">REQUIRED</span>", "<span class="bcp14">SHALL</span>",
       "<span class="bcp14">SHALL NOT</span>", "<span class="bcp14">SHOULD</span>",
       "<span class="bcp14">SHOULD NOT</span>",
       "<span class="bcp14">RECOMMENDED</span>", "<span class="bcp14">NOT RECOMMENDED</span>",
       "<span class="bcp14">MAY</span>", and "<span class="bcp14">OPTIONAL</span>" in this document
       are to be interpreted as described in BCP 14
       <span>[<a href="#RFC2119" class="xref">RFC2119</a>]</span> <span>[<a href="#RFC8174" class="xref">RFC8174</a>]</span> when, and only
       when, they appear in all capitals, as shown here.<a href="#section-1.1-1" class="pilcrow">¶</a></p>
</section>
<section id="section-1.2">
        <h3 id="name-terminology">
<a href="#section-1.2" class="section-number selfRef">1.2. </a><a href="#name-terminology" class="section-name selfRef">Terminology</a>
        </h3>
<span class="break"></span><dl class="dlParallel" id="section-1.2-1">
          <dt id="section-1.2-1.1">Node:</dt>
          <dd style="margin-left: 1.5em" id="section-1.2-1.2">A device that implements IP <span>[<a href="#RFC4861" class="xref">RFC4861</a>]</span>.<a href="#section-1.2-1.2" class="pilcrow">¶</a>
</dd>
          <dd class="break"></dd>
<dt id="section-1.2-1.3">Host:</dt>
          <dd style="margin-left: 1.5em" id="section-1.2-1.4">Any node that is not a router <span>[<a href="#RFC4861" class="xref">RFC4861</a>]</span>.<a href="#section-1.2-1.4" class="pilcrow">¶</a>
</dd>
          <dd class="break"></dd>
<dt id="section-1.2-1.5">ND:</dt>
          <dd style="margin-left: 1.5em" id="section-1.2-1.6">Neighbor Discovery <span>[<a href="#RFC4861" class="xref">RFC4861</a>]</span>.<a href="#section-1.2-1.6" class="pilcrow">¶</a>
</dd>
          <dd class="break"></dd>
<dt id="section-1.2-1.7">NC:</dt>
          <dd style="margin-left: 1.5em" id="section-1.2-1.8">Neighbor Cache <span>[<a href="#RFC4861" class="xref">RFC4861</a>]</span>. The Neighbor Cache entry can be in one of five states, as described in <span><a href="https://www.rfc-editor.org/rfc/rfc4861#section-7.3.2" class="relref">Section 7.3.2</a> of [<a href="#RFC4861" class="xref">RFC4861</a>]</span>: INCOMPLETE, REACHABLE, STALE, DELAY, or PROBE.<a href="#section-1.2-1.8" class="pilcrow">¶</a>
</dd>
          <dd class="break"></dd>
<dt id="section-1.2-1.9">SLAAC:</dt>
          <dd style="margin-left: 1.5em" id="section-1.2-1.10">IPv6 Stateless Address Autoconfiguration <span>[<a href="#RFC4862" class="xref">RFC4862</a>]</span>.<a href="#section-1.2-1.10" class="pilcrow">¶</a>
</dd>
          <dd class="break"></dd>
<dt id="section-1.2-1.11">NS:</dt>
          <dd style="margin-left: 1.5em" id="section-1.2-1.12">Neighbor Solicitation <span>[<a href="#RFC4861" class="xref">RFC4861</a>]</span>.<a href="#section-1.2-1.12" class="pilcrow">¶</a>
</dd>
          <dd class="break"></dd>
<dt id="section-1.2-1.13">NA:</dt>
          <dd style="margin-left: 1.5em" id="section-1.2-1.14">Neighbor Advertisement <span>[<a href="#RFC4861" class="xref">RFC4861</a>]</span>.<a href="#section-1.2-1.14" class="pilcrow">¶</a>
</dd>
          <dd class="break"></dd>
<dt id="section-1.2-1.15">RS:</dt>
          <dd style="margin-left: 1.5em" id="section-1.2-1.16">Router Solicitation <span>[<a href="#RFC4861" class="xref">RFC4861</a>]</span>.<a href="#section-1.2-1.16" class="pilcrow">¶</a>
</dd>
          <dd class="break"></dd>
<dt id="section-1.2-1.17">RA:</dt>
          <dd style="margin-left: 1.5em" id="section-1.2-1.18">Router Advertisement  <span>[<a href="#RFC4861" class="xref">RFC4861</a>]</span>.<a href="#section-1.2-1.18" class="pilcrow">¶</a>
</dd>
          <dd class="break"></dd>
<dt id="section-1.2-1.19">SLLAO:</dt>
          <dd style="margin-left: 1.5em" id="section-1.2-1.20">Source Link-Layer Address Option. An option in the ND packets containing the link-layer address of the sender of the packet <span>[<a href="#RFC4861" class="xref">RFC4861</a>]</span>.<a href="#section-1.2-1.20" class="pilcrow">¶</a>
</dd>
          <dd class="break"></dd>
<dt id="section-1.2-1.21">TLLAO:</dt>
          <dd style="margin-left: 1.5em" id="section-1.2-1.22">Target Link-Layer Address Option. An option in the ND packets containing the link-layer address of the target <span>[<a href="#RFC4861" class="xref">RFC4861</a>]</span>.<a href="#section-1.2-1.22" class="pilcrow">¶</a>
</dd>
          <dd class="break"></dd>
<dt id="section-1.2-1.23">GUA:</dt>
          <dd style="margin-left: 1.5em" id="section-1.2-1.24">Global Unicast Address <span>[<a href="#RFC4291" class="xref">RFC4291</a>]</span>.<a href="#section-1.2-1.24" class="pilcrow">¶</a>
</dd>
          <dd class="break"></dd>
<dt id="section-1.2-1.25">DAD:</dt>
          <dd style="margin-left: 1.5em" id="section-1.2-1.26">Duplicate Address Detection <span>[<a href="#RFC4862" class="xref">RFC4862</a>]</span>.<a href="#section-1.2-1.26" class="pilcrow">¶</a>
</dd>
          <dd class="break"></dd>
<dt id="section-1.2-1.27">Preferred Address:</dt>
          <dd style="margin-left: 1.5em" id="section-1.2-1.28">An address assigned to an interface whose uniqueness has been verified using DAD and whose use by upper-layer protocols is unrestricted <span>[<a href="#RFC4862" class="xref">RFC4862</a>]</span>. Preferred addresses may be used as the source address of packets sent from the interface.<a href="#section-1.2-1.28" class="pilcrow">¶</a>
</dd>
          <dd class="break"></dd>
<dt id="section-1.2-1.29">Optimistic DAD:</dt>
          <dd style="margin-left: 1.5em" id="section-1.2-1.30">A modification of DAD <span>[<a href="#RFC4429" class="xref">RFC4429</a>]</span>.<a href="#section-1.2-1.30" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
</dl>
</section>
</section>
</div>
<section id="section-2">
      <h2 id="name-problem-statement">
<a href="#section-2" class="section-number selfRef">2. </a><a href="#name-problem-statement" class="section-name selfRef">Problem Statement</a>
      </h2>
<p id="section-2-1">
                 The most typical scenario when the problem described in this document may arise is a host joining the network, forming a new address, and
 using that address for accessing the Internet:<a href="#section-2-1" class="pilcrow">¶</a></p>
<ol start="1" type="1" class="normal type-1" id="section-2-2">
<li id="section-2-2.1">
                                          A host joins the network and receives a Router Advertisement (RA) packet from the first-hop router (either a periodic unsolicited RA or a response to a Router Solicitation sent by the host).
                                                  The RA contains information the host needs to perform SLAAC and to configure its network stack.
                                                  The RA is sent from the router's link-local address to a link-local destination address and may contain the link-layer address of the router.
                                                  As a result, the host can populate its Neighbor Cache with the router's link-local and link-layer addresses.<a href="#section-2-2.1" class="pilcrow">¶</a>
</li>
        <li id="section-2-2.2">
                                          The host starts opening connections to off-link destinations.
                                          A very common use case is a mobile device sending probes to detect Internet connectivity
and/or the presence of a captive portal on the network.
                                                  To speed up that process, many implementations use Optimistic DAD, which allows them to send probes before the DAD process is completed.
                                                          At that moment, the device's Neighbor Cache contains all information required to send those probes (such as the default router link-local and link-layer addresses).
                                                  The router's Neighbor Cache, however, might contain an entry for the device's link-local
address (if the device has been performing address resolution for the router's link-local address), but there are no entries for any of the device's global addresses.<a href="#section-2-2.2" class="pilcrow">¶</a>
</li>
        <li id="section-2-2.3">
                                          Return traffic is received by the first-hop router.
                As the router does not have any cache entry for the host's global address yet, the router starts the Neighbor Discovery process by creating an INCOMPLETE cache entry and then sending a Neighbor Solicitation to the solicited-node multicast address (<span><a href="https://www.rfc-editor.org/rfc/rfc4861#section-7.3.2" class="relref">Section 7.3.2</a> of [<a href="#RFC4861" class="xref">RFC4861</a>]</span>).
                As per <span><a href="https://www.rfc-editor.org/rfc/rfc4861#section-7.2.2" class="relref">Section 7.2.2</a> of [<a href="#RFC4861" class="xref">RFC4861</a>]</span>,
 routers <span class="bcp14">MUST</span> buffer at least one data packet and <span class="bcp14">MAY</span> buffer more, while resolving the packet destination address.
                        However, most router implementations limit the buffer size to a few packets only, and some implementations are known to buffer just one packet.
So, any subsequent packets arriving before the address resolution process is completed cause packet loss by replacing older packets in the buffer.<a href="#section-2-2.3" class="pilcrow">¶</a>
</li>
        <li id="section-2-2.4">
                                        If the host sends multiple probes in parallel, in the worst case, it would consider all but one of them failed.
                                        That leads to user-visible delay in connecting to the network, especially if the host implements some form of backoff mechanism and does not retransmit the probes as soon as possible.<a href="#section-2-2.4" class="pilcrow">¶</a>
</li>
      </ol>
<p id="section-2-3">
                                  This scenario illustrates the problem occurring when the device connects to the network for the first time or after an inactivity period long enough for the device's address to be removed from the router's Neighbor Cache.
                                  However, the same sequence of events happens when the host starts using a new global address previously unseen by the router, such as a new privacy address <span>[<a href="#RFC8981" class="xref">RFC8981</a>]</span> or if the router's Neighbor Cache has been flushed.<a href="#section-2-3" class="pilcrow">¶</a></p>
<p id="section-2-4">
                          While in dual-stack networks this problem might be hidden by Happy Eyeballs <span>[<a href="#RFC8305" class="xref">RFC8305</a>]</span>, it manifests quite clearly in IPv6-only environments, especially wireless environments, leading to poor user experience and contributing to a negative perception of IPv6-only solutions as unstable and non-deployable.<a href="#section-2-4" class="pilcrow">¶</a></p>
</section>
<section id="section-3">
      <h2 id="name-solution-requirements">
<a href="#section-3" class="section-number selfRef">3. </a><a href="#name-solution-requirements" class="section-name selfRef">Solution Requirements</a>
      </h2>
<p id="section-3-1">
                It would be highly desirable to improve the Neighbor Discovery mechanics so routers have a usable cache entry for a host address by the time the router receives the first packet for that address.
                 In particular:<a href="#section-3-1" class="pilcrow">¶</a></p>
<ul class="normal">
<li class="normal" id="section-3-2.1">
                                 If the router does not have a Neighbor Cache entry for the address, a STALE entry needs to be created proactively, prior to arrival of the first packet intended for that address.<a href="#section-3-2.1" class="pilcrow">¶</a>
</li>
        <li class="normal" id="section-3-2.2">
                                 The solution needs to work for Optimistic Addresses as well.
                                 Devices implementing Optimistic DAD usually attempt to minimize the delay in connecting to the network and therefore are more likely to be affected by the problem described in this document.<a href="#section-3-2.2" class="pilcrow">¶</a>
</li>
        <li class="normal" id="section-3-2.3">
                                 In the case of duplicate addresses present in the network, the solution should not override the existing entry.<a href="#section-3-2.3" class="pilcrow">¶</a>
</li>
        <li class="normal" id="section-3-2.4">
                                 In topologies with multiple first-hop routers, the cache needs to be updated on all of them, as traffic might be asymmetric: outgoing flows leaving the network via one router while the return traffic enters the segment via another one.<a href="#section-3-2.4" class="pilcrow">¶</a>
</li>
      </ul>
<p id="section-3-3">
                        In addition, the solution must not exacerbate issues described in <span>[<a href="#RFC6583" class="xref">RFC6583</a>]</span> and needs to be compatible with the recommendations provided in <span>[<a href="#RFC6583" class="xref">RFC6583</a>]</span>.<a href="#section-3-3" class="pilcrow">¶</a></p>
</section>
<div id="changes">
<section id="section-4">
      <h2 id="name-changes-to-neighbor-discove">
<a href="#section-4" class="section-number selfRef">4. </a><a href="#name-changes-to-neighbor-discove" class="section-name selfRef">Changes to Neighbor Discovery</a>
      </h2>
<p id="section-4-1">
                      The following changes are required to minimize the delay in creating new entries in a router's Neighbor Cache:<a href="#section-4-1" class="pilcrow">¶</a></p>
<ul class="normal">
<li class="normal" id="section-4-2.1">
                                     A node sends unsolicited NAs upon assigning a new IPv6 address to its interface.<a href="#section-4-2.1" class="pilcrow">¶</a>
</li>
        <li class="normal" id="section-4-2.2">
                                     A router creates a new cache entry upon receiving an unsolicited NA from a host.<a href="#section-4-2.2" class="pilcrow">¶</a>
</li>
      </ul>
<p id="section-4-3">
                      The following sections discuss these changes in more detail.
    Normative changes are specified in <a href="#RFC_UPD" class="xref">Section 6</a>.<a href="#section-4-3" class="pilcrow">¶</a></p>
<div id="hosts">
<section id="section-4.1">
        <h3 id="name-nodes-sending-gratuitous-ne">
<a href="#section-4.1" class="section-number selfRef">4.1. </a><a href="#name-nodes-sending-gratuitous-ne" class="section-name selfRef">Nodes Sending Gratuitous Neighbor Advertisements</a>
        </h3>
<p id="section-4.1-1">
                              <span><a href="https://www.rfc-editor.org/rfc/rfc4861#section-7.2.6" class="relref">Section 7.2.6</a> of [<a href="#RFC4861" class="xref">RFC4861</a>]</span> discusses using unsolicited Neighbor 
                              Advertisements to inform node neighbors of the new link-layer address quickly. 
                              The same mechanism could be used to notify the node neighbors about the new network-layer
                              address as well: the node can send unsolicited Neighbor Advertisements upon assigning a new IPv6 address to its interface.<a href="#section-4.1-1" class="pilcrow">¶</a></p>
<p id="section-4.1-2">
                              To minimize potential disruption in the case of duplicate addresses, the node should not set the Override flag for a preferred address and must not set the Override flag if the address is in the Optimistic state <span>[<a href="#RFC4429" class="xref">RFC4429</a>]</span>.<a href="#section-4.1-2" class="pilcrow">¶</a></p>
<p id="section-4.1-3">
                              As the main purpose of sending unsolicited NAs upon configuring a new address is to proactively create a Neighbor Cache entry on the first-hop routers, the gratuitous NAs are sent to the all-routers multicast address (ff02::2). Limiting the recipients to routers only would help reduce the multicast noise level. 
                              If the link-layer devices are performing Multicast Listener Discovery (MLD) snooping <span>[<a href="#RFC4541" class="xref">RFC4541</a>]</span>, then those unsolicited NAs will only be sent to routers on the given network segment/link, instead of being flooded to all nodes.<a href="#section-4.1-3" class="pilcrow">¶</a></p>
<p id="section-4.1-4">
                              It should be noted that the mechanism discussed here does not cause any significant increase in multicast traffic.
                              The additional multicast unsolicited NAs would proactively create a STALE cache entry on the router, as discussed below.
                              When the router receives the return traffic flows, it does not need to send multicast NSes to the solicited-node multicast address but would send unicast NSes instead.
                              Therefore, this procedure would only produce an increase in the overall amount of multicast traffic if no return traffic arrives for the address that sent the unsolicited NA or if the router does not create a STALE entry upon receiving such an NA. The increase would be negligible, as that additional traffic is a few orders of magnitude less than the usual level of Neighbor Discovery multicast traffic.<a href="#section-4.1-4" class="pilcrow">¶</a></p>
</section>
</div>
<section id="section-4.2">
        <h3 id="name-routers-creating-cache-entr">
<a href="#section-4.2" class="section-number selfRef">4.2. </a><a href="#name-routers-creating-cache-entr" class="section-name selfRef">Routers Creating Cache Entries upon Receiving Unsolicited Neighbor Advertisements</a>
        </h3>
<p id="section-4.2-1">
                              <span><a href="https://www.rfc-editor.org/rfc/rfc4861#section-7.2.5" class="relref">Section 7.2.5</a> of [<a href="#RFC4861" class="xref">RFC4861</a>]</span> states:<a href="#section-4.2-1" class="pilcrow">¶</a></p>
<blockquote id="section-4.2-2">When a valid Neighbor Advertisement is received (either solicited or
   unsolicited), the Neighbor Cache is searched for the target's entry.
   If no entry exists, the advertisement <span class="bcp14">SHOULD</span> be silently discarded.
   There is no need to create an entry if none exists, since the
   recipient has apparently not initiated any communication with the
   target.<a href="#section-4.2-2" class="pilcrow">¶</a>
</blockquote>
<p id="section-4.2-3">
                              The reasoning behind dropping unsolicited Neighbor Advertisements ("the
   recipient has apparently not initiated any communication with the
   target") is valid for on-link host-to-host communication but, as discussed in <a href="#Introduction" class="xref">Section 1</a>, 
   it does not really apply to the scenario when the host is announcing its address to routers.
   Therefore, it would be beneficial to allow routers to create new entries upon receiving an unsolicited Neighbor Advertisement.<a href="#section-4.2-3" class="pilcrow">¶</a></p>
<p id="section-4.2-4">
                                      This document updates <span>[<a href="#RFC4861" class="xref">RFC4861</a>]</span> so that routers create a new Neighbor Cache entry upon receiving an unsolicited Neighbor Advertisement for an address that does not already have a Neighbor Cache entry.
                                              These changes do not modify the router behavior specified in <span>[<a href="#RFC4861" class="xref">RFC4861</a>]</span> for the scenario when the corresponding Neighbor Cache entry already exists.<a href="#section-4.2-4" class="pilcrow">¶</a></p>
<p id="section-4.2-5">
The next section analyzes various scenarios of duplicate addresses and discusses the potential impact of creating a STALE entry for a duplicate IPv6 address.<a href="#section-4.2-5" class="pilcrow">¶</a></p>
</section>
</section>
</div>
<div id="avoid_dis">
<section id="section-5">
      <h2 id="name-avoiding-disruption">
<a href="#section-5" class="section-number selfRef">5. </a><a href="#name-avoiding-disruption" class="section-name selfRef">Avoiding Disruption</a>
      </h2>
<p id="section-5-1">
                                    If nodes following the recommendations in this document are using the DAD mechanism defined in <span>[<a href="#RFC4862" class="xref">RFC4862</a>]</span>, they would send unsolicited NAs as soon as the address changes state from tentative to preferred (after its uniqueness has been verified).
                                            However, nodes willing to minimize network stack configuration delays might be using Optimistic Addresses, which means there is a possibility of the address not being unique on the link.
                                            <span><a href="https://www.rfc-editor.org/rfc/rfc4429#section-2.2" class="relref">Section 2.2</a> of [<a href="#RFC4429" class="xref">RFC4429</a>]</span> discusses measures to ensure that ND packets from the Optimistic Address do not override any existing Neighbor Cache entries, as it would cause interruption of the rightful address owner's traffic in the case of an address conflict.
                                                    Nodes that are willing to speed up their network stack configuration are most likely to be affected by the problem outlined in this document; therefore, it seems reasonable for such hosts to advertise their Optimistic Addresses by sending unsolicited NAs. 
                                                    The main question to consider is the potential risk of overriding the cache entry for the rightful address owner if the Optimistic Address happens to be a duplicate.<a href="#section-5-1" class="pilcrow">¶</a></p>
<p id="section-5-2">
                                    The following sections discuss the address collision scenario when a node sends an unsolicited NA for an address in the Optimistic state, while another node (the rightful owner) already has the same address assigned.
                                    This document uses the term "the rightful owner", as the same terminology is used in <span>[<a href="#RFC4429" class="xref">RFC4429</a>]</span>.
The analysis assumes that the host performs DAD, as <span><a href="https://www.rfc-editor.org/rfc/rfc4862#section-5.4" class="relref">Section 5.4</a> of [<a href="#RFC4862" class="xref">RFC4862</a>]</span> requires that DAD <span class="bcp14">MUST</span> be performed on all unicast
   addresses prior to assigning them to an interface.<a href="#section-5-2" class="pilcrow">¶</a></p>
<div id="avoid_dis_exists">
<section id="section-5.1">
        <h3 id="name-neighbor-cache-entry-exists">
<a href="#section-5.1" class="section-number selfRef">5.1. </a><a href="#name-neighbor-cache-entry-exists" class="section-name selfRef">Neighbor Cache Entry Exists in Any State Other Than INCOMPLETE</a>
        </h3>
<p id="section-5.1-1">
                            If the router's Neighbor Cache entry for the target address already exists in any state other than INCOMPLETE, then as per <span><a href="https://www.rfc-editor.org/rfc/rfc4861#section-7.2.5" class="relref">Section 7.2.5</a> of [<a href="#RFC4861" class="xref">RFC4861</a>]</span>, an unsolicited NA with the Override flag cleared would change the entry state from REACHABLE to STALE but would not update the entry in any other way. Therefore, even if the host sends an unsolicited NA from its Optimistic Address, the router's cache entry would not be updated with the new link-layer address, and no impact on the traffic for the rightful address owner is expected.<a href="#section-5.1-1" class="pilcrow">¶</a></p>
<p id="section-5.1-2">
The return traffic intended for the host with the Optimistic Address would be sent to the rightful owner. However, this is unavoidable with or without the unsolicited NA mechanism.<a href="#section-5.1-2" class="pilcrow">¶</a></p>
</section>
</div>
<div id="avoid_dis_inc">
<section id="section-5.2">
        <h3 id="name-neighbor-cache-entry-is-in-">
<a href="#section-5.2" class="section-number selfRef">5.2. </a><a href="#name-neighbor-cache-entry-is-in-" class="section-name selfRef">Neighbor Cache Entry Is in INCOMPLETE State</a>
        </h3>
<p id="section-5.2-1">
                            Another corner case is the INCOMPLETE cache entry for the address.<a href="#section-5.2-1" class="pilcrow">¶</a></p>
<ol start="1" type="1" class="normal type-1" id="section-5.2-2">
<li id="section-5.2-2.1">
The router receives a packet for the rightful owner of the address.<a href="#section-5.2-2.1" class="pilcrow">¶</a>
</li>
          <li id="section-5.2-2.2">
The router starts the address resolution process by creating an INCOMPLETE entry and sends the multicast NS.<a href="#section-5.2-2.2" class="pilcrow">¶</a>
</li>
          <li id="section-5.2-2.3">
More packets arrive at the router for the address in question.<a href="#section-5.2-2.3" class="pilcrow">¶</a>
</li>
          <li id="section-5.2-2.4">
The host configures an Optimistic Address and sends an unsolicited NA.<a href="#section-5.2-2.4" class="pilcrow">¶</a>
</li>
          <li id="section-5.2-2.5">
The router creates a STALE entry and sends the buffered packet(s) to the host (while at least some of those packets are actually intended for the rightful owner).<a href="#section-5.2-2.5" class="pilcrow">¶</a>
</li>
          <li id="section-5.2-2.6">
As the STALE entry was used to send packets, the router changes the entry state to DELAY and waits up to DELAY_FIRST_PROBE_TIME (5 seconds) <span>[<a href="#RFC4861" class="xref">RFC4861</a>]</span> before sending a unicast NS.<a href="#section-5.2-2.6" class="pilcrow">¶</a>
</li>
          <li id="section-5.2-2.7">
The rightful owner responds to the multicast NS sent at Step 2 with a solicited NA with the Override flag set.<a href="#section-5.2-2.7" class="pilcrow">¶</a>
</li>
          <li id="section-5.2-2.8">
The router updates the entry with the TLLAO supplied (the rightful owner's link-layer address) and sets the entry state to REACHABLE (as the NA has the Solicited flag set).<a href="#section-5.2-2.8" class="pilcrow">¶</a>
</li>
        </ol>
<p id="section-5.2-3">
As a result, some packets (packets in the buffer at Step 6 and all packets arriving between Step 6 and Step 8) are delivered to the host with the Optimistic Address, while some of them, if not all, are intended for the rightful owner. 
Without the unsolicited NA, one or more packets that are in the buffer at Step 8 (usually just one packet, but some routers may buffer a few) would have been delivered to the rightful owner and the rest of the packets would have been dropped.
However, the probability of such a scenario is rather low, as it would require the following 
things to happen almost simultaneously (within tens of milliseconds in most cases):<a href="#section-5.2-3" class="pilcrow">¶</a></p>
<ul class="normal">
<li class="normal" id="section-5.2-4.1">
                                                                            One host starts using a new IPv6 address and sending traffic without sending an unsolicited NA first.<a href="#section-5.2-4.1" class="pilcrow">¶</a>
</li>
          <li class="normal" id="section-5.2-4.2">
                                                                            Another host configures the same IPv6 address in Optimistic mode before the router completes the address resolution process for the rightful owner.<a href="#section-5.2-4.2" class="pilcrow">¶</a>
</li>
        </ul>
<p id="section-5.2-5">
It should be noted that in this scenario the rightful owner does not send any unsolicited NAs before sending packets. If the rightful owner implements the functionality described in this document and sends unsolicited NAs upon configuring its address, then the router creates a STALE entry for the address, causing all packets to be delivered to the rightful owner (see <a href="#avoid_dis_exists" class="xref">Section 5.1</a>). The rightful owner would experience no disruption but might receive some packets intended for the host with an Optimistic Address.<a href="#section-5.2-5" class="pilcrow">¶</a></p>
<p id="section-5.2-6">
This section focuses on the scenario when the solicited NA from the rightful owner arrives after the unsolicited one sent from the Optimistic Address (Step 7 and Step 4, respectively).
If the solicited NA arrives first, it changes the NC entry state from INCOMPLETE to REACHABLE. As discussed in <a href="#avoid_dis_exists" class="xref">Section 5.1</a>, there will be no disruption for the rightful owner if the router already has a REACHABLE entry for the address when an unsolicited NA is received.<a href="#section-5.2-6" class="pilcrow">¶</a></p>
</section>
</div>
<div id="avoid_dis_nonexists">
<section id="section-5.3">
        <h3 id="name-neighbor-cache-entry-does-n">
<a href="#section-5.3" class="section-number selfRef">5.3. </a><a href="#name-neighbor-cache-entry-does-n" class="section-name selfRef">Neighbor Cache Entry Does Not Exist</a>
        </h3>
<p id="section-5.3-1">
                                            There are two distinct scenarios that can lead to the situation when the router does not have an NC entry for the IPv6 address:<a href="#section-5.3-1" class="pilcrow">¶</a></p>
<ol start="1" type="1" class="normal type-1" id="section-5.3-2">
<li id="section-5.3-2.1">
                                                            The rightful owner of the address has not been using it for off-link communication recently or has never used it at all.<a href="#section-5.3-2.1" class="pilcrow">¶</a>
</li>
          <li id="section-5.3-2.2">
                                                            The rightful owner just started sending packets from that address, but the router has not received any return traffic yet.<a href="#section-5.3-2.2" class="pilcrow">¶</a>
</li>
        </ol>
<p id="section-5.3-3">
                                            The impact on the rightful owner's traffic flows would be different in those cases.<a href="#section-5.3-3" class="pilcrow">¶</a></p>
<section id="section-5.3.1">
          <h4 id="name-the-rightful-owner-is-not-s">
<a href="#section-5.3.1" class="section-number selfRef">5.3.1. </a><a href="#name-the-rightful-owner-is-not-s" class="section-name selfRef">The Rightful Owner Is Not Sending Packets from the Address</a>
          </h4>
<p id="section-5.3.1-1">
                                                    In this scenario, the following events are expected to happen:<a href="#section-5.3.1-1" class="pilcrow">¶</a></p>
<ol start="1" type="1" class="normal type-1" id="section-5.3.1-2">
<li id="section-5.3.1-2.1">
                                                                    The host configures the address and sets its state to Optimistic.<a href="#section-5.3.1-2.1" class="pilcrow">¶</a>
</li>
            <li id="section-5.3.1-2.2">
                                                                    The host sends an unsolicited NA with the Override flag set to zero and starts sending traffic from the Optimistic Address.<a href="#section-5.3.1-2.2" class="pilcrow">¶</a>
</li>
            <li id="section-5.3.1-2.3">
                                                                    The router creates a STALE entry for the address and the host link-layer address.<a href="#section-5.3.1-2.3" class="pilcrow">¶</a>
</li>
            <li id="section-5.3.1-2.4">
                                                                    The host starts DAD and detects the address duplication.<a href="#section-5.3.1-2.4" class="pilcrow">¶</a>
</li>
            <li id="section-5.3.1-2.5">
                                                                    The router receives the return traffic for the duplicate address. As the NC entry is STALE, it sends traffic using that entry, changes it to DELAY, and waits up to DELAY_FIRST_PROBE_TIME seconds <span>[<a href="#RFC4861" class="xref">RFC4861</a>]</span>.<a href="#section-5.3.1-2.5" class="pilcrow">¶</a>
</li>
            <li id="section-5.3.1-2.6">
                                                                            The router changes the NC entry state to PROBE and sends up to MAX_UNICAST_SOLICIT unicast NSes <span>[<a href="#RFC4861" class="xref">RFC4861</a>]</span> separated by RetransTimer milliseconds <span>[<a href="#RFC4861" class="xref">RFC4861</a>]</span> to the host link-layer address.<a href="#section-5.3.1-2.6" class="pilcrow">¶</a>
</li>
            <li id="section-5.3.1-2.7">
                                                                    As the host has already detected the address conflict, it does not respond to the unicast NSes. (It is unlikely that the host has not completed the DAD process at this stage, as DELAY_FIRST_PROBE_TIME (5 seconds) is much higher than the DAD duration (DupAddrDetectTransmits*RetransTimer*1000 + MAX_RTR_SOLICITATION_DELAY seconds) (<span><a href="https://www.rfc-editor.org/rfc/rfc4862#section-5.4" class="relref">Section 5.4</a> of [<a href="#RFC4862" class="xref">RFC4862</a>]</span>).) The default value for the DAD process would be 1*1*1000 + 1 = 2 seconds <span>[<a href="#RFC4861" class="xref">RFC4861</a>]</span>. 
If the host has completed DAD but did not detect the address conflict, then there are two hosts with the same address in the preferred state and disruption is inevitable anyway.<a href="#section-5.3.1-2.7" class="pilcrow">¶</a>
</li>
            <li id="section-5.3.1-2.8">
                                                                   As the router receives no response for the unicast NSes, it deletes the NC entry.<a href="#section-5.3.1-2.8" class="pilcrow">¶</a>
</li>
            <li id="section-5.3.1-2.9">
                                                                    If return packets for communication initiated at Step 2 are still arriving, the router buffers a small number of those packets and starts the address resolution process again by sending a multicast NS to the solicited-node multicast address. The rightful owner responds, and the router's NC entry is updated with the rightful owner's link-local address. The buffered packet or packets are sent to that address. Any packets still arriving after the address resolution process has completed are sent to the rightful address owner as well.<a href="#section-5.3.1-2.9" class="pilcrow">¶</a>
</li>
          </ol>
<p id="section-5.3.1-3">
                                                    The rightful owner is not experiencing any disruption, as it does not send any traffic.
It would only start receiving packets intended for another host after Step 8 is completed and only if return packets for the communication initiated at Step 2 are still arriving.<a href="#section-5.3.1-3" class="pilcrow">¶</a></p>
<p id="section-5.3.1-4">

                                                    However, the same behavior would be observed if the changes specified in this document are not implemented.
                                                    If the host starts sending packets from its Optimistic Address but then detects that the address is a duplicate, the first return packet would trigger the address resolution process and would be buffered until the resolution is completed.

The buffered packet(s) and any packets still arriving after the address is resolved would be forwarded to the rightful owner of the address.
So, the rightful owner might still receive one or more packets from the flows intended for another host.
Therefore, it's safe to conclude that the changes specified in this document do not introduce any disruption for the rightful owner of the duplicated address.<a href="#section-5.3.1-4" class="pilcrow">¶</a></p>
</section>
<div id="dis_start">
<section id="section-5.3.2">
          <h4 id="name-the-rightful-owner-has-star">
<a href="#section-5.3.2" class="section-number selfRef">5.3.2. </a><a href="#name-the-rightful-owner-has-star" class="section-name selfRef">The Rightful Owner Has Started Sending Packets from the Address</a>
          </h4>
<p id="section-5.3.2-1">
                                            In this scenario, the following events are happening:<a href="#section-5.3.2-1" class="pilcrow">¶</a></p>
<ol start="1" type="1" class="normal type-1" id="section-5.3.2-2">
<li id="section-5.3.2-2.1">
                                                            The rightful owner starts sending traffic from the address (e.g., the address has just been configured or has not been recently used).<a href="#section-5.3.2-2.1" class="pilcrow">¶</a>
</li>
            <li id="section-5.3.2-2.2">
                                                                    The host configures the address and sets its state to Optimistic.<a href="#section-5.3.2-2.2" class="pilcrow">¶</a>
</li>
            <li id="section-5.3.2-2.3">
                                                                    The host sends an unsolicited NA with the Override flag set to zero and starts sending traffic from the Optimistic Address.<a href="#section-5.3.2-2.3" class="pilcrow">¶</a>
</li>
            <li id="section-5.3.2-2.4">
                                                                    The router creates a STALE entry for the address and the host link-layer address.<a href="#section-5.3.2-2.4" class="pilcrow">¶</a>
</li>
            <li id="section-5.3.2-2.5">
                                                                    The host starts DAD and detects the address duplication.<a href="#section-5.3.2-2.5" class="pilcrow">¶</a>
</li>
            <li id="section-5.3.2-2.6">
                                                                    The router receives the return traffic for the IPv6 address in question. Some flows are intended for the rightful owner of the duplicate address, while some are for the new host. As the NC entry is STALE, it sends traffic using that entry, changes it to DELAY, and waits up to DELAY_FIRST_PROBE_TIME seconds <span>[<a href="#RFC4861" class="xref">RFC4861</a>]</span>.<a href="#section-5.3.2-2.6" class="pilcrow">¶</a>
</li>
            <li id="section-5.3.2-2.7">
                                                                            The router changes the NC entry state to PROBE and sends up to MAX_UNICAST_SOLICIT unicast NSes <span>[<a href="#RFC4861" class="xref">RFC4861</a>]</span> separated by RetransTimer milliseconds <span>[<a href="#RFC4861" class="xref">RFC4861</a>]</span> to the host link-layer address.<a href="#section-5.3.2-2.7" class="pilcrow">¶</a>
</li>
            <li id="section-5.3.2-2.8">
                                                                    As the host has already detected the address conflict, it does not respond to the unicast NSes.<a href="#section-5.3.2-2.8" class="pilcrow">¶</a>
</li>
            <li id="section-5.3.2-2.9">
                                                                   As the router receives no response for the unicast NSes, it deletes the NC entry.<a href="#section-5.3.2-2.9" class="pilcrow">¶</a>
</li>
            <li id="section-5.3.2-2.10">
                                                                    The next packet recreates the entry and triggers the resolution process. The router buffers the packet and sends a multicast NS to the solicited-node multicast address. The rightful owner responds, and the router's NC entry is updated with the rightful owner's link-local address.<a href="#section-5.3.2-2.10" class="pilcrow">¶</a>
</li>
          </ol>
<p id="section-5.3.2-3">
                                                    As a result, the traffic for the address of the rightful owner would be sent to the host with the duplicate address instead.  The duration of the disruption can be estimated as DELAY_FIRST_PROBE_TIME*1000 + (MAX_UNICAST_SOLICIT - 1)*RetransTimer milliseconds.
                                                    As per the constants defined in <span><a href="https://www.rfc-editor.org/rfc/rfc4861#section-10" class="relref">Section 10</a> of [<a href="#RFC4861" class="xref">RFC4861</a>]</span>, this interval is equal to 5*1000 + (3 - 1)*1000 = 7000 milliseconds, or 7 seconds.<a href="#section-5.3.2-3" class="pilcrow">¶</a></p>
<p id="section-5.3.2-4">
                                                            However, it should be noted that the probability of such a scenario is rather low. Similar to the scenario discussed in <a href="#avoid_dis_inc" class="xref">Section 5.2</a>, it would require the following things to happen almost simultaneously (within tens of milliseconds in most cases):<a href="#section-5.3.2-4" class="pilcrow">¶</a></p>
<ul class="normal">
<li class="normal" id="section-5.3.2-5.1">
                                                                            One host starts using a new IPv6 address and sending traffic without sending an unsolicited NA first.<a href="#section-5.3.2-5.1" class="pilcrow">¶</a>
</li>
            <li class="normal" id="section-5.3.2-5.2">
                                                                            Another host configures the same IPv6 address in Optimistic mode before the router receives the return traffic for the first host.<a href="#section-5.3.2-5.2" class="pilcrow">¶</a>
</li>
          </ul>
<p id="section-5.3.2-6">
As discussed in <a href="#avoid_dis_inc" class="xref">Section 5.2</a>, the disruption for the rightful owner can easily be prevented if that node implements the mechanism described in this document. Sending unsolicited NAs before initiating off-link communication would create a STALE entry in the router's NC and prevent any traffic to that address from being sent to the host with the Optimistic Address (see <a href="#avoid_dis_exists" class="xref">Section 5.1</a>).<a href="#section-5.3.2-6" class="pilcrow">¶</a></p>
</section>
</div>
</section>
</div>
</section>
</div>
<div id="RFC_UPD">
<section id="section-6">
      <h2 id="name-modifications-to-rfc-mandat">
<a href="#section-6" class="section-number selfRef">6. </a><a href="#name-modifications-to-rfc-mandat" class="section-name selfRef">Modifications to RFC-Mandated Behavior</a>
      </h2>
<p id="section-6-1">
                            All normative text in this memo is contained in this section.<a href="#section-6-1" class="pilcrow">¶</a></p>
<section id="section-6.1">
        <h3 id="name-modification-to-rfc-4861-ne">
<a href="#section-6.1" class="section-number selfRef">6.1. </a><a href="#name-modification-to-rfc-4861-ne" class="section-name selfRef">Modification to RFC 4861 (Neighbor Discovery for IP version 6 (IPv6))</a>
        </h3>
<section id="section-6.1.1">
          <h4 id="name-modification-to-section-725">
<a href="#section-6.1.1" class="section-number selfRef">6.1.1. </a><a href="#name-modification-to-section-725" class="section-name selfRef">Modification to Section 7.2.5 of RFC 4861</a>
          </h4>
<p id="section-6.1.1-1">
                              This document makes the following changes to <span><a href="https://www.rfc-editor.org/rfc/rfc4861#section-7.2.5" class="relref">Section 7.2.5</a> of [<a href="#RFC4861" class="xref">RFC4861</a>]</span>:<a href="#section-6.1.1-1" class="pilcrow">¶</a></p>
<p id="section-6.1.1-2">The text in RFC 4861 is as follows:<a href="#section-6.1.1-2" class="pilcrow">¶</a></p>
<blockquote id="section-6.1.1-3">When a valid Neighbor Advertisement is received (either solicited or
   unsolicited), the Neighbor Cache is searched for the target's entry.
   If no entry exists, the advertisement <span class="bcp14">SHOULD</span> be silently discarded.
   There is no need to create an entry if none exists, since the
   recipient has apparently not initiated any communication with the
   target.<a href="#section-6.1.1-3" class="pilcrow">¶</a>
</blockquote>
<p id="section-6.1.1-4">This document updates the text as follows:<a href="#section-6.1.1-4" class="pilcrow">¶</a></p>
<blockquote id="section-6.1.1-5">
            <p id="section-6.1.1-5.1">When a valid Neighbor Advertisement is received (either solicited or
   unsolicited), the Neighbor Cache is searched for the target's entry.
   If no entry exists:<a href="#section-6.1.1-5.1" class="pilcrow">¶</a></p>
<ul class="normal">
<li class="normal" id="section-6.1.1-5.2.1"> Hosts <span class="bcp14">SHOULD</span>  silently discard the advertisement.
   There is no need to create an entry if none exists, since the
   recipient has apparently not initiated any communication with the target.<a href="#section-6.1.1-5.2.1" class="pilcrow">¶</a>
</li>
              <li class="normal" id="section-6.1.1-5.2.2"> Routers <span class="bcp14">SHOULD</span> create a new entry for the target address with the link-layer address set to the Target Link-Layer Address Option (if supplied). The entry's reachability state <span class="bcp14">MUST</span> be set to STALE. If the received Neighbor Advertisement does not contain the Target Link-Layer Address Option, the advertisement <span class="bcp14">SHOULD</span> be silently discarded.<a href="#section-6.1.1-5.2.2" class="pilcrow">¶</a>
</li>
            </ul>
</blockquote>
</section>
<div id="UPD726">
<section id="section-6.1.2">
          <h4 id="name-modification-to-section-726">
<a href="#section-6.1.2" class="section-number selfRef">6.1.2. </a><a href="#name-modification-to-section-726" class="section-name selfRef">Modification to Section 7.2.6 of RFC 4861</a>
          </h4>
<p id="section-6.1.2-1">
                              This document makes the following changes to <span><a href="https://www.rfc-editor.org/rfc/rfc4861#section-7.2.6" class="relref">Section 7.2.6</a> of [<a href="#RFC4861" class="xref">RFC4861</a>]</span>:<a href="#section-6.1.2-1" class="pilcrow">¶</a></p>
<p id="section-6.1.2-2">The text in RFC 4861 is as follows:<a href="#section-6.1.2-2" class="pilcrow">¶</a></p>
<blockquote id="section-6.1.2-3">Also, a node belonging to an anycast address <span class="bcp14">MAY</span> multicast
   unsolicited Neighbor Advertisements for the anycast address when the
   node's link-layer address changes.<a href="#section-6.1.2-3" class="pilcrow">¶</a>
</blockquote>
<p id="section-6.1.2-4">This document updates the text as follows:<a href="#section-6.1.2-4" class="pilcrow">¶</a></p>
<blockquote id="section-6.1.2-5">
            <p id="section-6.1.2-5.1">Also, a node belonging to an anycast address <span class="bcp14">MAY</span> multicast
   unsolicited Neighbor Advertisements for the anycast address when the
   node's link-layer address changes.<a href="#section-6.1.2-5.1" class="pilcrow">¶</a></p>
<p id="section-6.1.2-5.2">A node may also wish to notify its first-hop routers when it configures a new global IPv6 address so the routers can proactively populate their Neighbor Caches with the corresponding entries. In such cases, a node <span class="bcp14">SHOULD</span> send up to MAX_NEIGHBOR_ADVERTISEMENT
   Neighbor Advertisement messages. If the address is preferred, then the Override flag <span class="bcp14">SHOULD NOT</span> be set. If the address is in the Optimistic state, then the  Override flag <span class="bcp14">MUST NOT</span> be set. The destination address <span class="bcp14">SHOULD</span> be set to the all-routers multicast address. These advertisements <span class="bcp14">MUST</span> be separated by at
   least RetransTimer seconds. The first advertisement <span class="bcp14">SHOULD</span> be sent as soon as one of the
      following events happens:<a href="#section-6.1.2-5.2" class="pilcrow">¶</a></p>
<span class="break"></span><dl class="dlParallel" id="section-6.1.2-5.3">
              <dt id="section-6.1.2-5.3.1">If Optimistic DAD <span>[<a href="#RFC4429" class="xref">RFC4429</a>]</span> is used:</dt>
              <dd style="margin-left: 1.5em" id="section-6.1.2-5.3.2">A new Optimistic Address is assigned
                                              to the node interface.<a href="#section-6.1.2-5.3.2" class="pilcrow">¶</a>
</dd>
              <dd class="break"></dd>
<dt id="section-6.1.2-5.3.3">If Optimistic DAD is not used:</dt>
              <dd style="margin-left: 1.5em" id="section-6.1.2-5.3.4">An address changes the state from
         tentative to preferred.<a href="#section-6.1.2-5.3.4" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
</dl>
</blockquote>
</section>
</div>
</section>
</section>
</div>
<section id="section-7">
      <h2 id="name-solution-limitations">
<a href="#section-7" class="section-number selfRef">7. </a><a href="#name-solution-limitations" class="section-name selfRef">Solution Limitations</a>
      </h2>
<p id="section-7-1">
                              The solution described in this document provides some improvement for a node configuring a new IPv6 address and starting to send traffic from it.
                              However, that approach does not completely eliminate the scenario when a router receives some transit traffic for an address without the corresponding Neighbor Cache entry.
                              For example:<a href="#section-7-1" class="pilcrow">¶</a></p>
<ul class="normal">
<li class="normal" id="section-7-2.1">If the host starts using an already-configured IPv6 address after a long period of inactivity, the router might not have the NC entry for that address anymore, as old/expired entries are deleted.<a href="#section-7-2.1" class="pilcrow">¶</a>
</li>
        <li class="normal" id="section-7-2.2">Clearing the router's Neighbor Cache would trigger packet loss for all actively used addresses removed from the cache.<a href="#section-7-2.2" class="pilcrow">¶</a>
</li>
      </ul>
</section>
<div id="others">
<section id="section-8">
      <h2 id="name-solutions-considered-but-di">
<a href="#section-8" class="section-number selfRef">8. </a><a href="#name-solutions-considered-but-di" class="section-name selfRef">Solutions Considered but Discarded</a>
      </h2>
<p id="section-8-1">
                      There are other possible approaches to address the problem. For example:<a href="#section-8-1" class="pilcrow">¶</a></p>
<ul class="normal">
<li class="normal" id="section-8-2.1">
                                      Just do nothing.<a href="#section-8-2.1" class="pilcrow">¶</a>
</li>
        <li class="normal" id="section-8-2.2">
                                      Migrate from the "reactive" Neighbor Discovery <span>[<a href="#RFC4861" class="xref">RFC4861</a>]</span> to the registration-based mechanisms <span>[<a href="#RFC8505" class="xref">RFC8505</a>]</span>.<a href="#section-8-2.2" class="pilcrow">¶</a>
</li>
        <li class="normal" id="section-8-2.3">
                                     Create new entries in the router's Neighbor Cache by gleaning from Neighbor Discovery DAD messages.<a href="#section-8-2.3" class="pilcrow">¶</a>
</li>
        <li class="normal" id="section-8-2.4">
                                      Initiate bidirectional communication from the host to the router using the host GUA.<a href="#section-8-2.4" class="pilcrow">¶</a>
</li>
        <li class="normal" id="section-8-2.5">
                                      Make the probing logic on hosts more robust.<a href="#section-8-2.5" class="pilcrow">¶</a>
</li>
        <li class="normal" id="section-8-2.6">
                                      Increase the buffer size on routers.<a href="#section-8-2.6" class="pilcrow">¶</a>
</li>
        <li class="normal" id="section-8-2.7">
                                      Transit data plane traffic from an unknown address (an address without the corresponding Neighbor Cache entry) to trigger an address resolution process on the router.<a href="#section-8-2.7" class="pilcrow">¶</a>
</li>
      </ul>
<p id="section-8-3">
                      It should be noted that some of those options are already implemented by some vendors. The following sections discuss those approaches and the reasons they were discarded.<a href="#section-8-3" class="pilcrow">¶</a></p>
<section id="section-8.1">
        <h3 id="name-do-nothing">
<a href="#section-8.1" class="section-number selfRef">8.1. </a><a href="#name-do-nothing" class="section-name selfRef">Do Nothing</a>
        </h3>
<p id="section-8.1-1">
                              One of the possible approaches might be to declare that everything is working as intended and let the upper-layer protocols deal with packet loss. The obvious drawbacks include:<a href="#section-8.1-1" class="pilcrow">¶</a></p>
<ul class="normal">
<li class="normal" id="section-8.1-2.1">
                                                      Unhappy users.<a href="#section-8.1-2.1" class="pilcrow">¶</a>
</li>
          <li class="normal" id="section-8.1-2.2">
                                                      Many support tickets.<a href="#section-8.1-2.2" class="pilcrow">¶</a>
</li>
          <li class="normal" id="section-8.1-2.3">
                                                      More resistance to deploying IPv6 and IPv6-only networks.<a href="#section-8.1-2.3" class="pilcrow">¶</a>
</li>
        </ul>
</section>
<section id="section-8.2">
        <h3 id="name-change-to-the-registration-">
<a href="#section-8.2" class="section-number selfRef">8.2. </a><a href="#name-change-to-the-registration-" class="section-name selfRef">Change to the Registration-Based Neighbor Discovery</a>
        </h3>
<p id="section-8.2-1">
                                      The most radical approach would be to move away from the reactive ND as defined in <span>[<a href="#RFC4861" class="xref">RFC4861</a>]</span> and expand the registration-based ND <span>[<a href="#RFC6775" class="xref">RFC6775</a>]</span> <span>[<a href="#RFC8505" class="xref">RFC8505</a>]</span> used in IPv6 over Low-Power Wireless Personal Area Networks (6LoWPANs) to the rest of the IPv6 deployments.
                                              This option requires some investigation and discussion.
                                              However, significant changes to the existing IPv6 implementations would be needed, so an unclear adoption timeline makes this approach less preferable than the approach specified in this document.<a href="#section-8.2-1" class="pilcrow">¶</a></p>
</section>
<section id="section-8.3">
        <h3 id="name-host-sending-ns-to-the-rout">
<a href="#section-8.3" class="section-number selfRef">8.3. </a><a href="#name-host-sending-ns-to-the-rout" class="section-name selfRef">Host Sending NS to the Router Address from Its GUA</a>
        </h3>
<p id="section-8.3-1">
                              The host could force the creation of a STALE entry for its GUA in the router's Neighbor Cache by sending the following Neighbor Solicitation message:<a href="#section-8.3-1" class="pilcrow">¶</a></p>
<ul class="normal">
<li class="normal" id="section-8.3-2.1">
                                              The NS source address is the host GUA.<a href="#section-8.3-2.1" class="pilcrow">¶</a>
</li>
          <li class="normal" id="section-8.3-2.2">
                                                      The destination address is the default router IPv6 address.<a href="#section-8.3-2.2" class="pilcrow">¶</a>
</li>
          <li class="normal" id="section-8.3-2.3">
                                              The Source Link-Layer Address Option contains the host link-layer address.<a href="#section-8.3-2.3" class="pilcrow">¶</a>
</li>
          <li class="normal" id="section-8.3-2.4">
                                              The target address is the host's default router address (the default router address the host received in the RA).<a href="#section-8.3-2.4" class="pilcrow">¶</a>
</li>
        </ul>
<p id="section-8.3-3">
                              The main disadvantages of this approach are as follows:<a href="#section-8.3-3" class="pilcrow">¶</a></p>
<ul class="normal">
<li class="normal" id="section-8.3-4.1">
                                              It would not work for Optimistic Addresses, as <span><a href="https://www.rfc-editor.org/rfc/rfc4429#section-2.2" class="relref">Section 2.2</a> of [<a href="#RFC4429" class="xref">RFC4429</a>]</span> explicitly prohibits sending Neighbor Solicitations from an Optimistic Address.<a href="#section-8.3-4.1" class="pilcrow">¶</a>
</li>
          <li class="normal" id="section-8.3-4.2">
                                              If first-hop redundancy is deployed in the network, the NS would reach the active router only, so all backup routers (or all active routers except one) would not get their Neighbor Cache updated.<a href="#section-8.3-4.2" class="pilcrow">¶</a>
</li>
          <li class="normal" id="section-8.3-4.3">
                                                      Some wireless devices are known to alter ND packets and perform various nonobvious forms of ND proxy actions.
                                                     In some cases, unsolicited NAs might not even reach the routers.<a href="#section-8.3-4.3" class="pilcrow">¶</a>
</li>
        </ul>
</section>
<section id="section-8.4">
        <h3 id="name-host-sending-router-solicit">
<a href="#section-8.4" class="section-number selfRef">8.4. </a><a href="#name-host-sending-router-solicit" class="section-name selfRef">Host Sending Router Solicitation from Its GUA</a>
        </h3>
<p id="section-8.4-1">
                                      The host could send a Router Solicitation message to the all-routers multicast address, using its GUA as a source.
                                      If the host link-layer address is included in the Source Link-Layer Address Option, the router would create a STALE entry for the host GUA as per <span><a href="https://www.rfc-editor.org/rfc/rfc4861#section-6.2.6" class="relref">Section 6.2.6</a> of [<a href="#RFC4861" class="xref">RFC4861</a>]</span>.
                                      However, this approach cannot be used if the GUA is in the Optimistic state: <span><a href="https://www.rfc-editor.org/rfc/rfc4429#section-2.2" class="relref">Section 2.2</a> of [<a href="#RFC4429" class="xref">RFC4429</a>]</span>  explicitly prohibits using an Optimistic Address as the source address of a Router Solicitation with a SLLAO, as it might cause disruption for the rightful owner of the address in the case of a collision.
                                      So, for the Optimistic Addresses, the host can send an RS without a SLLAO included.
                                      In that case, the router may respond with either a multicast or unicast RA (only the latter would create a cache entry).<a href="#section-8.4-1" class="pilcrow">¶</a></p>
<p id="section-8.4-2">
                              This approach has the following drawbacks:<a href="#section-8.4-2" class="pilcrow">¶</a></p>
<ul class="normal">
<li class="normal" id="section-8.4-3.1">
                                                      If the address is in the Optimistic state, the RS cannot contain a SLLAO. As a result, the router would only create a cache entry if solicited RAs are sent as unicast.
                                                      Routers sending solicited RAs as multicast would not create a new cache entry, as they do not need to send a unicast packet back to the host.<a href="#section-8.4-3.1" class="pilcrow">¶</a>
</li>
          <li class="normal" id="section-8.4-3.2">
                                                      There might be a random delay between receiving an RS and sending a unicast RA back (and creating a cache entry), which might undermine the idea of creating the cache entry proactively.<a href="#section-8.4-3.2" class="pilcrow">¶</a>
</li>
          <li class="normal" id="section-8.4-3.3">
                                                      Some wireless devices are known to intercept ND packets and perform various nonobvious forms of ND proxy actions. In some cases, the RS might not even reach the routers.<a href="#section-8.4-3.3" class="pilcrow">¶</a>
</li>
        </ul>
</section>
<section id="section-8.5">
        <h3 id="name-routers-populating-their-ca">
<a href="#section-8.5" class="section-number selfRef">8.5. </a><a href="#name-routers-populating-their-ca" class="section-name selfRef">Routers Populating Their Caches by Gleaning from Neighbor Discovery Packets</a>
        </h3>
<p id="section-8.5-1">
                               Routers may be able to learn about new addresses by gleaning from the DAD Neighbor Solicitation messages.
                               The router could listen to all solicited-node multicast address groups and, upon receiving a Neighbor Solicitation from the unspecified address, search its Neighbor Cache for the solicitation's target address.
                               If no entry exists, the router may create an entry, set its reachability state to INCOMPLETE, and start the address resolution process for that entry.<a href="#section-8.5-1" class="pilcrow">¶</a></p>
<p id="section-8.5-2">
                              The same solution was proposed in <span>[<a href="#I-D.halpern-6man-nd-pre-resolve-addr" class="xref">ND-ADDR-RES</a>]</span>. Some routing vendors already support such optimization. However, this approach has a number of drawbacks and therefore should not be used as the only solution:<a href="#section-8.5-2" class="pilcrow">¶</a></p>
<ul class="normal">
<li class="normal" id="section-8.5-3.1">
                                                      Routers need to receive all multicast Neighbor Discovery packets; this might negatively impact a router's CPU.<a href="#section-8.5-3.1" class="pilcrow">¶</a>
</li>
          <li class="normal" id="section-8.5-3.2">
                                                      If the router starts the address resolution process as soon as it receives the DAD Neighbor Solicitation, the host might still be performing DAD and the target address might be tentative.
                                                      In that case, the host <span class="bcp14">SHOULD</span> silently ignore the received Neighbor Solicitation from the router as per <span><a href="https://www.rfc-editor.org/rfc/rfc4862#section-5.4.3" class="relref">Section 5.4.3</a> of [<a href="#RFC4862" class="xref">RFC4862</a>]</span>. 
                                                      As a result, the router might not be able to complete the address resolution process before the return traffic arrives.<a href="#section-8.5-3.2" class="pilcrow">¶</a>
</li>
        </ul>
</section>
<section id="section-8.6">
        <h3 id="name-initiating-host-to-router-c">
<a href="#section-8.6" class="section-number selfRef">8.6. </a><a href="#name-initiating-host-to-router-c" class="section-name selfRef">Initiating Host-to-Router Communication</a>
        </h3>
<p id="section-8.6-1">
                              The host may force the router to start address resolution by sending a data packet such as ping or traceroute to its default router link-local address, using the GUA as a source address.  
                              As the RTT to the default router is lower than the RTT to any off-link destinations, it's quite likely that the router would start the Neighbor Discovery process for the host GUA before the first packet of the returning traffic arrives.<a href="#section-8.6-1" class="pilcrow">¶</a></p>
<p id="section-8.6-2"> This approach has the following drawbacks:<a href="#section-8.6-2" class="pilcrow">¶</a></p>
<ul class="normal">
<li class="normal" id="section-8.6-3.1">
                                                      Data packets to the router's link-local address could be blocked by a security policy or control plane protection mechanism.<a href="#section-8.6-3.1" class="pilcrow">¶</a>
</li>
          <li class="normal" id="section-8.6-3.2">
                                                      It introduces an additional overhead for the router's control plane (in addition to processing ND packets, the data packet needs to be processed as well).<a href="#section-8.6-3.2" class="pilcrow">¶</a>
</li>
          <li class="normal" id="section-8.6-3.3">
                                                      Unless the data packet is sent to the all-routers ff02::2 multicast address, if the network provides a first-hop redundancy, then only the active router would create a new cache entry.<a href="#section-8.6-3.3" class="pilcrow">¶</a>
</li>
        </ul>
</section>
<section id="section-8.7">
        <h3 id="name-making-the-probing-logic-on">
<a href="#section-8.7" class="section-number selfRef">8.7. </a><a href="#name-making-the-probing-logic-on" class="section-name selfRef">Making the Probing Logic on Hosts More Robust</a>
        </h3>
<p id="section-8.7-1">
                                      Theoretically, the probing logic on hosts might be modified to better deal with initial packet loss. For example, only one probe can be sent, or probe retransmit intervals can be reduced. However, this approach has a number of drawbacks:<a href="#section-8.7-1" class="pilcrow">¶</a></p>
<ul class="normal">
<li class="normal" id="section-8.7-2.1">It would require updating all possible applications that perform probing, while the solution described in this document is implemented at the operating-system level.<a href="#section-8.7-2.1" class="pilcrow">¶</a>
</li>
          <li class="normal" id="section-8.7-2.2">
            <p id="section-8.7-2.2.1">Some implementations need to send multiple probes. Examples include but are not limited to:<a href="#section-8.7-2.2.1" class="pilcrow">¶</a></p>
<ul class="normal">
<li class="normal" id="section-8.7-2.2.2.1">Sending AAAA and A record DNS probes in parallel.<a href="#section-8.7-2.2.2.1" class="pilcrow">¶</a>
</li>
              <li class="normal" id="section-8.7-2.2.2.2">Detecting captive portals, which often requires sending multiple packets.<a href="#section-8.7-2.2.2.2" class="pilcrow">¶</a>
</li>
            </ul>
</li>
          <li class="normal" id="section-8.7-2.3">
            <p id="section-8.7-2.3.1">While it would increase the probability that the probing will complete successfully, there are multiple cases when packet loss would still occur:<a href="#section-8.7-2.3.1" class="pilcrow">¶</a></p>
<ul class="normal">
<li class="normal" id="section-8.7-2.3.2.1"> The probe response consists of multiple packets, so all but the first one are dropped.<a href="#section-8.7-2.3.2.1" class="pilcrow">¶</a>
</li>
              <li class="normal" id="section-8.7-2.3.2.2"> There are multiple applications on the same host sending traffic, and return packets arrive simultaneously.<a href="#section-8.7-2.3.2.2" class="pilcrow">¶</a>
</li>
              <li class="normal" id="section-8.7-2.3.2.3"> There are multiple first-hop routers in the network. The first probe packet creates the NC entry on one of them. The subsequent return traffic flows might cross other routers and still experience the issue.<a href="#section-8.7-2.3.2.3" class="pilcrow">¶</a>
</li>
            </ul>
</li>
          <li class="normal" id="section-8.7-2.4">
                                    Reducing the probe retransmit interval unnecessarily increases network utilization and might cause network congestion.<a href="#section-8.7-2.4" class="pilcrow">¶</a>
</li>
        </ul>
</section>
<section id="section-8.8">
        <h3 id="name-increasing-the-buffer-size-">
<a href="#section-8.8" class="section-number selfRef">8.8. </a><a href="#name-increasing-the-buffer-size-" class="section-name selfRef">Increasing the Buffer Size on Routers</a>
        </h3>
<p id="section-8.8-1">
                                              Increasing the buffer size and buffering more packets would exacerbate issues described in <span>[<a href="#RFC6583" class="xref">RFC6583</a>]</span> and make the router more vulnerable to ND-based denial-of-service attacks.<a href="#section-8.8-1" class="pilcrow">¶</a></p>
</section>
<section id="section-8.9">
        <h3 id="name-transit-data-plane-traffic-">
<a href="#section-8.9" class="section-number selfRef">8.9. </a><a href="#name-transit-data-plane-traffic-" class="section-name selfRef">Transit Data Plane Traffic from a New Address to Trigger Address Resolution</a>
        </h3>
<p id="section-8.9-1">
                              When a router receives a transit packet sourced by an on-link neighbor node, it might check for the presence of a Neighbor Cache entry for the packet source address and, if the entry does not exist, start the address resolution process.
                              This approach does ensure that a Neighbor Cache entry is proactively created every time a new, previously unseen GUA is used for sending off-link traffic.
However, this approach has a number of limitations. In particular:<a href="#section-8.9-1" class="pilcrow">¶</a></p>
<ul class="normal">
<li class="normal" id="section-8.9-2.1">If traffic flows are asymmetrical, the return traffic might not transit the same router as the original traffic that triggered the address resolution process.
So, the Neighbor Cache entry is created on the "wrong" router, not the one that actually needs the Neighbor Cache entry for the host address.<a href="#section-8.9-2.1" class="pilcrow">¶</a>
</li>
          <li class="normal" id="section-8.9-2.2">
        The functionality needs to be limited to explicitly configured networks/interfaces, as the router needs to distinguish between on-link addresses (addresses for which the router needs to have Neighbor Cache entries) and the rest of the address space. 
        The proactive address resolution process must only be triggered by packets from the prefixes known to be on-link. Otherwise, traffic from spoofed source addresses or any transit traffic could lead to Neighbor Cache exhaustion.<a href="#section-8.9-2.2" class="pilcrow">¶</a>
</li>
          <li class="normal" id="section-8.9-2.3">
Implementing such functionality is much more complicated than all other solutions, as it would involve complex interactions between the data plane and the control plane.<a href="#section-8.9-2.3" class="pilcrow">¶</a>
</li>
        </ul>
</section>
</section>
</div>
<div id="IANA">
<section id="section-9">
      <h2 id="name-iana-considerations">
<a href="#section-9" class="section-number selfRef">9. </a><a href="#name-iana-considerations" class="section-name selfRef">IANA Considerations</a>
      </h2>
<p id="section-9-1">
      This document has no IANA actions.<a href="#section-9-1" class="pilcrow">¶</a></p>
</section>
</div>
<div id="Security">
<section id="section-10">
      <h2 id="name-security-considerations">
<a href="#section-10" class="section-number selfRef">10. </a><a href="#name-security-considerations" class="section-name selfRef">Security Considerations</a>
      </h2>
<p id="section-10-1">
                    One of the potential attack vectors to consider is cache spoofing, where the attacker might try to install a cache entry for the victim's IPv6 address and the attacker's link-layer address. However, it should be noted that this document does not propose any changes for the scenario when the Neighbor Cache for a given IPv6 address already exists.
                    Therefore, there are no new vectors for an attacker to override an existing cache entry.<a href="#section-10-1" class="pilcrow">¶</a></p>
<p id="section-10-2">
<a href="#avoid_dis" class="xref">Section 5</a> describes some corner cases when a host with a duplicate Optimistic Address might get some packets intended for the rightful owner of the address. However, such scenarios do not introduce any new attack vectors: even without the changes discussed in this document, an attacker can easily override the router's Neighbor Cache and redirect the traffic by sending NAs with the Solicited flag set.
As discussed in <a href="#dis_start" class="xref">Section 5.3.2</a>, the worst-case scenario might cause a disruption for up to 7 seconds. Because this scenario is highly unlikely, this risk of disruption is considered acceptable. More importantly, for all cases described in <a href="#avoid_dis" class="xref">Section 5</a>, the rightful owner can prevent disruption caused by an accidental address duplication just by implementing the mechanism described in this document. If the rightful owner sends unsolicited NAs before using the address, the STALE entry would be created on the router's NC, and any subsequent unsolicited NAs sent from the host with an Optimistic Address would not override the NC entry.<a href="#section-10-2" class="pilcrow">¶</a></p>
<p id="section-10-3">
                    A malicious host could attempt to exhaust the Neighbor Cache on the router by creating a large number of STALE entries. However, this attack vector is not new, and the mechanism specified in this document does not increase the risk of such an attack: the attacker could do it, for example, by sending an NS or RS packet with a SLLAO included. All recommendations from <span>[<a href="#RFC6583" class="xref">RFC6583</a>]</span> still apply.<a href="#section-10-3" class="pilcrow">¶</a></p>
<p id="section-10-4">
                    Announcing a new address to the all-routers multicast address may inform an on-link attacker about IPv6 addresses assigned to the host. However, hiding information about the specific IPv6 address should not be considered a security measure, as such information is usually disclosed via DAD to all nodes anyway if MLD snooping is not enabled. Network administrators can also mitigate this issue by enabling MLD snooping on the link-layer devices to prevent IPv6 link-local multicast packets from being flooded to all on-link nodes. 
                            If peer-to-peer on-link communications are not desirable for a given network segment, they should be prevented by proper Layer 2 security mechanisms. Therefore, the risk of allowing hosts to send unsolicited Neighbor Advertisements to the all-routers multicast address is low.<a href="#section-10-4" class="pilcrow">¶</a></p>
<p id="section-10-5">
                    It should be noted that the mechanism discussed in this document allows hosts to proactively inform their routers about global IPv6 addresses existing on-link. Routers could use that information to distinguish between used and unused addresses to mitigate Neighbor Cache exhaustion DoS attacks as described in <span><a href="https://www.rfc-editor.org/rfc/rfc3756#section-4.3.2" class="relref">Section 4.3.2</a> of [<a href="#RFC3756" class="xref">RFC3756</a>]</span> and in <span>[<a href="#RFC6583" class="xref">RFC6583</a>]</span>.<a href="#section-10-5" class="pilcrow">¶</a></p>
</section>
</div>
<section id="section-11">
      <h2 id="name-references">
<a href="#section-11" class="section-number selfRef">11. </a><a href="#name-references" class="section-name selfRef">References</a>
      </h2>
<section id="section-11.1">
        <h3 id="name-normative-references">
<a href="#section-11.1" class="section-number selfRef">11.1. </a><a href="#name-normative-references" class="section-name selfRef">Normative References</a>
        </h3>
<dl class="references">
<dt id="RFC2119">[RFC2119]</dt>
        <dd>
<span class="refAuthor">Bradner, S.</span>, <span class="refTitle">"Key words for use in RFCs to Indicate Requirement Levels"</span>, <span class="seriesInfo">BCP 14</span>, <span class="seriesInfo">RFC 2119</span>, <span class="seriesInfo">DOI 10.17487/RFC2119</span>, <time datetime="1997-03" class="refDate">March 1997</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc2119">https://www.rfc-editor.org/info/rfc2119</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC4291">[RFC4291]</dt>
        <dd>
<span class="refAuthor">Hinden, R.</span> and <span class="refAuthor">S. Deering</span>, <span class="refTitle">"IP Version 6 Addressing Architecture"</span>, <span class="seriesInfo">RFC 4291</span>, <span class="seriesInfo">DOI 10.17487/RFC4291</span>, <time datetime="2006-02" class="refDate">February 2006</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc4291">https://www.rfc-editor.org/info/rfc4291</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC4429">[RFC4429]</dt>
        <dd>
<span class="refAuthor">Moore, N.</span>, <span class="refTitle">"Optimistic Duplicate Address Detection (DAD) for IPv6"</span>, <span class="seriesInfo">RFC 4429</span>, <span class="seriesInfo">DOI 10.17487/RFC4429</span>, <time datetime="2006-04" class="refDate">April 2006</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc4429">https://www.rfc-editor.org/info/rfc4429</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC4861">[RFC4861]</dt>
        <dd>
<span class="refAuthor">Narten, T.</span>, <span class="refAuthor">Nordmark, E.</span>, <span class="refAuthor">Simpson, W.</span>, and <span class="refAuthor">H. Soliman</span>, <span class="refTitle">"Neighbor Discovery for IP version 6 (IPv6)"</span>, <span class="seriesInfo">RFC 4861</span>, <span class="seriesInfo">DOI 10.17487/RFC4861</span>, <time datetime="2007-09" class="refDate">September 2007</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc4861">https://www.rfc-editor.org/info/rfc4861</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC4862">[RFC4862]</dt>
        <dd>
<span class="refAuthor">Thomson, S.</span>, <span class="refAuthor">Narten, T.</span>, and <span class="refAuthor">T. Jinmei</span>, <span class="refTitle">"IPv6 Stateless Address Autoconfiguration"</span>, <span class="seriesInfo">RFC 4862</span>, <span class="seriesInfo">DOI 10.17487/RFC4862</span>, <time datetime="2007-09" class="refDate">September 2007</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc4862">https://www.rfc-editor.org/info/rfc4862</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC8174">[RFC8174]</dt>
      <dd>
<span class="refAuthor">Leiba, B.</span>, <span class="refTitle">"Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words"</span>, <span class="seriesInfo">BCP 14</span>, <span class="seriesInfo">RFC 8174</span>, <span class="seriesInfo">DOI 10.17487/RFC8174</span>, <time datetime="2017-05" class="refDate">May 2017</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc8174">https://www.rfc-editor.org/info/rfc8174</a>&gt;</span>. </dd>
<dd class="break"></dd>
</dl>
</section>
<section id="section-11.2">
        <h3 id="name-informative-references">
<a href="#section-11.2" class="section-number selfRef">11.2. </a><a href="#name-informative-references" class="section-name selfRef">Informative References</a>
        </h3>
<dl class="references">
<dt id="I-D.halpern-6man-nd-pre-resolve-addr">[ND-ADDR-RES]</dt>
        <dd>
<span class="refAuthor">Chen, I.</span> and <span class="refAuthor">J. Halpern</span>, <span class="refTitle">"Triggering ND Address Resolution on Receiving DAD-NS"</span>, <span class="refContent">Work in Progress</span>, <span class="seriesInfo">Internet-Draft, draft-halpern-6man-nd-pre-resolve-addr-00</span>, <time datetime="2014-01-10" class="refDate">10 January 2014</time>, <span>&lt;<a href="https://datatracker.ietf.org/doc/html/draft-halpern-6man-nd-pre-resolve-addr-00">https://datatracker.ietf.org/doc/html/draft-halpern-6man-nd-pre-resolve-addr-00</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC3756">[RFC3756]</dt>
        <dd>
<span class="refAuthor">Nikander, P., Ed.</span>, <span class="refAuthor">Kempf, J.</span>, and <span class="refAuthor">E. Nordmark</span>, <span class="refTitle">"IPv6 Neighbor Discovery (ND) Trust Models and Threats"</span>, <span class="seriesInfo">RFC 3756</span>, <span class="seriesInfo">DOI 10.17487/RFC3756</span>, <time datetime="2004-05" class="refDate">May 2004</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc3756">https://www.rfc-editor.org/info/rfc3756</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC4541">[RFC4541]</dt>
        <dd>
<span class="refAuthor">Christensen, M.</span>, <span class="refAuthor">Kimball, K.</span>, and <span class="refAuthor">F. Solensky</span>, <span class="refTitle">"Considerations for Internet Group Management Protocol (IGMP) and Multicast Listener Discovery (MLD) Snooping Switches"</span>, <span class="seriesInfo">RFC 4541</span>, <span class="seriesInfo">DOI 10.17487/RFC4541</span>, <time datetime="2006-05" class="refDate">May 2006</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc4541">https://www.rfc-editor.org/info/rfc4541</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC6583">[RFC6583]</dt>
        <dd>
<span class="refAuthor">Gashinsky, I.</span>, <span class="refAuthor">Jaeggli, J.</span>, and <span class="refAuthor">W. Kumari</span>, <span class="refTitle">"Operational Neighbor Discovery Problems"</span>, <span class="seriesInfo">RFC 6583</span>, <span class="seriesInfo">DOI 10.17487/RFC6583</span>, <time datetime="2012-03" class="refDate">March 2012</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc6583">https://www.rfc-editor.org/info/rfc6583</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC6775">[RFC6775]</dt>
        <dd>
<span class="refAuthor">Shelby, Z., Ed.</span>, <span class="refAuthor">Chakrabarti, S.</span>, <span class="refAuthor">Nordmark, E.</span>, and <span class="refAuthor">C. Bormann</span>, <span class="refTitle">"Neighbor Discovery Optimization for IPv6 over Low-Power Wireless Personal Area Networks (6LoWPANs)"</span>, <span class="seriesInfo">RFC 6775</span>, <span class="seriesInfo">DOI 10.17487/RFC6775</span>, <time datetime="2012-11" class="refDate">November 2012</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc6775">https://www.rfc-editor.org/info/rfc6775</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC8305">[RFC8305]</dt>
        <dd>
<span class="refAuthor">Schinazi, D.</span> and <span class="refAuthor">T. Pauly</span>, <span class="refTitle">"Happy Eyeballs Version 2: Better Connectivity Using Concurrency"</span>, <span class="seriesInfo">RFC 8305</span>, <span class="seriesInfo">DOI 10.17487/RFC8305</span>, <time datetime="2017-12" class="refDate">December 2017</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc8305">https://www.rfc-editor.org/info/rfc8305</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC8505">[RFC8505]</dt>
        <dd>
<span class="refAuthor">Thubert, P., Ed.</span>, <span class="refAuthor">Nordmark, E.</span>, <span class="refAuthor">Chakrabarti, S.</span>, and <span class="refAuthor">C. Perkins</span>, <span class="refTitle">"Registration Extensions for IPv6 over Low-Power Wireless Personal Area Network (6LoWPAN) Neighbor Discovery"</span>, <span class="seriesInfo">RFC 8505</span>, <span class="seriesInfo">DOI 10.17487/RFC8505</span>, <time datetime="2018-11" class="refDate">November 2018</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc8505">https://www.rfc-editor.org/info/rfc8505</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC8981">[RFC8981]</dt>
      <dd>
<span class="refAuthor">Gont, F.</span>, <span class="refAuthor">Krishnan, S.</span>, <span class="refAuthor">Narten, T.</span>, and <span class="refAuthor">R. Draves</span>, <span class="refTitle">"Temporary Address Extensions for Stateless Address Autoconfiguration in IPv6"</span>, <span class="seriesInfo">RFC 8981</span>, <span class="seriesInfo">DOI 10.17487/RFC8981</span>, <time datetime="2021-02" class="refDate">February 2021</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc8981">https://www.rfc-editor.org/info/rfc8981</a>&gt;</span>. </dd>
<dd class="break"></dd>
</dl>
</section>
</section>
<div id="Acknowledgements">
<section id="appendix-A">
      <h2 id="name-acknowledgements">
<a href="#name-acknowledgements" class="section-name selfRef">Acknowledgements</a>
      </h2>
<p id="appendix-A-1">
                    Thanks to the following people (in alphabetical order) for their
                            comments, review, and feedback: <span class="contact-name">Mikael Abrahamsson</span>, <span class="contact-name">Stewart Bryant</span>, <span class="contact-name">Lorenzo Colitti</span>, <span class="contact-name">Roman Danyliw</span>, <span class="contact-name">Owen DeLong</span>, <span class="contact-name">Martin Duke</span>, <span class="contact-name">Igor Gashinsky</span>, <span class="contact-name">Carles Gomez</span>, <span class="contact-name">Fernando Gont</span>, <span class="contact-name">Tatuya Jinmei</span>, <span class="contact-name">Benjamin Kaduk</span>, <span class="contact-name">Scott Kelly</span>, <span class="contact-name">Erik Kline</span>, <span class="contact-name">Warren Kumari</span>, <span class="contact-name">Barry Leiba</span>, <span class="contact-name">Jordi Palet Martinez</span>, <span class="contact-name">Erik Nordmark</span>, <span class="contact-name">Michael Richardson</span>, <span class="contact-name">Dan Romascanu</span>, <span class="contact-name">Zaheduzzaman Sarker</span>, <span class="contact-name">Michael Scharf</span>, <span class="contact-name">John Scudder</span>, <span class="contact-name">Mark Smith</span>, <span class="contact-name">Dave Thaler</span>, <span class="contact-name">Pascal Thubert</span>, <span class="contact-name">Loganaden Velvindron</span>, and <span class="contact-name">Éric Vyncke</span>.<a href="#appendix-A-1" class="pilcrow">¶</a></p>
</section>
</div>
<div id="authors-addresses">
<section id="appendix-B">
      <h2 id="name-authors-address">
<a href="#name-authors-address" class="section-name selfRef">Author's Address</a>
      </h2>
<address class="vcard">
        <div dir="auto" class="left"><span class="fn nameRole">Jen Linkova</span></div>
<div dir="auto" class="left"><span class="org">Google</span></div>
<div dir="auto" class="left"><span class="street-address">1 Darling Island Rd</span></div>
<div dir="auto" class="left">
<span class="locality">Pyrmont</span> <span class="region">NSW</span> <span class="postal-code">2009</span>
</div>
<div dir="auto" class="left"><span class="country-name">Australia</span></div>
<div class="email">
<span>Email:</span>
<a href="mailto:furry@google.com" class="email">furry@google.com</a>
</div>
</address>
</section>
</div>
<script>const toc = document.getElementById("toc");
toc.querySelector("h2").addEventListener("click", e => {
  toc.classList.toggle("active");
});
toc.querySelector("nav").addEventListener("click", e => {
  toc.classList.remove("active");
});
</script>
</body>
</html>