summaryrefslogtreecommitdiff
path: root/doc/rfc/rfc878.txt
blob: 04afd4576e0af3722a5000b219ac3d57c0014d43 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
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
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
     Request for Comments: 878
     Obsoletes RFCs: 851, 802








                  The ARPANET 1822L Host Access Protocol



                                  RFC 878





                              Andrew G. Malis
                       ARPANET Mail: malis@bbn-unix





                         BBN Communications Corp.
                              50 Moulton St.
                           Cambridge, MA  02238





                               December 1983





     This RFC specifies the ARPANET 1822L Host Access Protocol,  which
     is  a successor to the existing 1822 Host Access Protocol.  1822L
     allows ARPANET hosts to use  logical  names  as  well  as  1822's
     physical port locations to address each other.









^L
^L

     1822L Host Access Protocol                          December 1983
     RFC 878



                             Table of Contents





     1   INTRODUCTION.......................................... 1

     2   THE ARPANET 1822L HOST ACCESS PROTOCOL................ 3
     2.1   Addresses and Names................................. 5
     2.2   Name Translations................................... 7
     2.2.1   Authorization and Effectiveness................... 7
     2.2.2   Translation Policies............................. 11
     2.2.3   Reporting Destination Host Downs................. 13
     2.2.4   1822L and 1822 Interoperability.................. 15
     2.3   Uncontrolled Packets............................... 16
     2.4   Establishing Host-IMP Communications............... 19
     2.5   Counting RFNMs When Using 1822L.................... 20
     2.6   1822L Name Server.................................. 23

     3   1822L LEADER FORMATS................................. 25
     3.1   Host-to-IMP 1822L Leader Format.................... 26
     3.2   IMP-to-Host 1822L Leader Format.................... 34

     4   REFERENCES........................................... 42

     A   1822L-IP ADDRESS MAPPINGS............................ 43























                                   - i -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



                                  FIGURES




     2.1  1822 Address Format.................................. 5
     2.2  1822L Name Format.................................... 6
     2.3  1822L Address Format................................. 6
     3.1  Host-to-IMP 1822L Leader Format..................... 27
     3.2  NDM Message Format.................................. 30
     3.3  IMP-to-Host 1822L Leader Format..................... 35
     3.4  Name Server Reply Format............................ 38
     A.1  1822 Class A Mapping................................ 44
     A.2  1822L Class A Mapping............................... 44
     A.3  1822L Class B Mapping............................... 45
     A.4  1822L Class C Mapping............................... 46


































                                  - ii -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



     1  INTRODUCTION


     This RFC specifies the ARPANET 1822L Host Access Protocol,  which

     will allow hosts to use logical addressing (i.e., host names that

     are independent of their physical location  on  the  ARPANET)  to

     communicate  with  each  other.  This new host access protocol is

     known as the ARPANET 1822L (for Logical)  Host  Access  Protocol,

     and  is  a  successor  to  the  current  ARPANET 1822 Host Access

     Protocol, which is described in  sections  3.3  and  3.4  of  BBN

     Report  1822  [1].   Although  the  1822L protocol uses different

     Host-IMP leaders than the 1822 protocol, the IMPs  will  continue

     to support the 1822 protocol, and hosts using either protocol can

     readily communicate with each other (the  IMPs  will  handle  the

     translation automatically).


     The RFC's terminology is consistent  with  that  used  in  Report

     1822, and any new terms will be defined when they are first used.

     Familiarity  with  Report  1822  (section  3  in  particular)  is

     assumed.   As could be expected, the RFC makes many references to

     Report 1822.  As a result, it uses, as a convenient abbreviation,

     "see 1822(x)" instead of "please refer to Report 1822, section x,

     for further details".


     This RFC updates, and obsoletes, RFC 851.  The changes from  that

     RFC are:




                                   - 1 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



     o Section 2.2.4 was rewritten for clarity.


     o Section 2.5 was expanded to  further  discuss  the  effects  of

       using 1822L names on host-to-host virtual circuits.


     o In section 3.2, the type 1  IMP-to-host  message  has  two  new

       subtypes,  the type 9 message has one new subtype, and the type

       15, subtype 4 message is no longer defined.


     o An appendix describing the  mapping  between  1822L  names  and

       internet (IP) addresses has been added.


     All of these changes to RFC 851 are marked by revision  bars  (as  |

     shown here) in the right margin.                                   |



























                                   - 2 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



     2  THE ARPANET 1822L HOST ACCESS PROTOCOL


     The ARPANET 1822L Host Access  Protocol  allows  a  host  to  use

     logical  addressing  to  communicate  with  other  hosts  on  the

     ARPANET.  Basically, logical addressing allows hosts to refer  to

     each  other  using  an  1822L  name  (see  section  2.1) which is

     independent of a host's physical location in  the  network.   IEN

     183  (also  published  as  BBN  Report 4473) [2] gives the use of

     logical  addressing  considerable   justification.    Among   the

     advantages it cites are:


     o The ability to refer to each host on  the  network  by  a  name

       independent of its location on the network.


     o Allowing different hosts to share  the  same  host  port  on  a

       time-division basis.


     o Allowing a host to use multi-homing (where a single  host  uses

       more than one port to communicate with the network).


     o Allowing several hosts that provide the same service  to  share

       the same name.


     The main differences between the 1822 and 1822L protocols are the

     format of the leaders that are used to introduce messages between

     a host and an IMP, and the specification in those leaders of  the

     source  and/or  destination  host(s).   Hosts  have the choice of



                                   - 3 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



     using the 1822 or the 1822L protocol.  When a host comes up on an

     IMP,  it  declares  itself to be an 1822 host or an 1822L host by

     the type of NOP message (see section  3.1)  it  uses.   Once  up,

     hosts  can  switch  from  one protocol to the other by issuing an

     appropriate NOP.  Hosts that do not use the 1822L  protocol  will

     still  be  addressable by and can communicate with hosts that do,

     and vice-versa.


     Another difference between the two protocols  is  that  the  1822

     leaders are symmetric, while the 1822L leaders are not.  The term

     symmetric means that in the 1822 protocol, the exact same  leader

     format  is used for messages in both directions between the hosts

     and IMPs.  For example, a leader sent from a host  over  a  cable

     that  was  looped  back onto itself (via a looping plug or faulty

     hardware) would arrive back at the host and appear to be a  legal

     message  from  a  real host (the destination host of the original

     message).  In contrast, the 1822L headers are not symmetric,  and

     a  host  can  detect  if  the  connection to its IMP is looped by

     receiving a message with the wrong leader  format.   This  allows

     the host to take appropriate action upon detection of the loop.












                                   - 4 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



     2.1  Addresses and Names


     The 1822 protocol defines one form of host specification, and the

     1822L  protocol  defines  two additional ways to identify network

     hosts.  These three forms are 1822 addresses,  1822L  names,  and

     1822L addresses.


     1822 addresses are  the  24-bit  host  addresses  found  in  1822

     leaders.  They have the following format:


            1              8 9                              24
           +----------------+---------------------------------+
           |                |                                 |
           |  Host number   |           IMP number            |
           |                |                                 |
           +----------------+---------------------------------+


                            1822 Address Format
                                Figure 2.1



     These fields are quite large, and the ARPANET will never use more

     than  a  fraction of the available address space.  1822 addresses

     are used in 1822 leaders only.


     1822L names are 16-bit unsigned numbers that serve as  a  logical

     identifier  for  one  or  more  hosts.   1822L  names have a much

     simpler format:








                                   - 5 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878





                     1                             16
                    +--------------------------------+
                    |                                |
                    |           1822L name           |
                    |                                |
                    +--------------------------------+


                             1822L Name Format
                                Figure 2.2



     The 1822L names are just 16-bit  unsigned  numbers,  except  that

     bits  1  and  2 are not both zeros (see below).  This allows over

     49,000 hosts to be specified.


     1822 addresses cannot be used in 1822L leaders, but there may  be

     a  requirement for an 1822L host to be able to address a specific

     physical host port or IMP fake host.  1822L  addresses  are  used

     for  this  function.   1822L addresses form a subset of the 1822L

     name space, and have both bits 1 and 2 off.


                    1   2  3          8 9             16
                  +---+---+------------+----------------+
                  |   |   |            |                |
                  | 0 | 0 |   host #   |   IMP number   |
                  |   |   |            |                |
                  +---+---+------------+----------------+


                           1822L Address Format
                                Figure 2.3







                                   - 6 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



     This format allows 1822L hosts to directly address hosts 0-63  at

     IMPs  1-255  (IMP  0 does not exist).  Note that the highest host

     numbers are reserved  for  addressing  the  IMP's  internal  fake

     hosts.   At  this  writing, the IMP has seven fake hosts, so host

     numbers 57-63 address the IMP fake hosts, while host numbers 0-56

     address  real  hosts  external  to the IMP.  As the number of IMP

     fake hosts changes, this boundary point will also change.




     2.2  Name Translations


     There are a number of factors that determine how an 1822L name is

     translated  by  the  IMP  into a physical address on the network.

     These factors include which translations are legal; in what order

     different  translations  for  the  same name should be attempted;

     which  legal  translations  shouldn't  be  attempted  because   a

     particular  host  port  is down; and the interoperability between

     1822  and  1822L  hosts.   These  issues  are  discussed  in  the

     following sections.




     2.2.1  Authorization and Effectiveness


     Every host on a C/30 IMP, regardless of whether it is  using  the

     1822  or  1822L  protocol  to access the network, can have one or

     more 1822L names (logical addresses).  Hosts using 1822L can then



                                   - 7 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



     use  these  names to address the hosts in the network independent

     of their  physical  locations.   Because  of  the  implementation

     constraints mentioned in the introduction, hosts on non-C/30 IMPs

     cannot be assigned 1822L names.  To circumvent this  restriction,

     however,  1822L  hosts can also use 1822L addresses to access all

     of the other hosts.


     At this point, several questions  arise:   How  are  these  names

     assigned,  how  do  they  become  known  to  the  IMPs  (so  that

     translations to physical addresses can be made), and how  do  the

     IMPs know which host is currently using a shared port?  To answer

     each question in order:


     Names are assigned by a central network administrator.  When each

     name  is  created, it is assigned to a host (or a group of hosts)

     at one or more specific host ports.  The host(s) are  allowed  to

     reside at those specific host ports, and nowhere else.  If a host

     moves, it will keep the same name, but the administrator  has  to

     update  the  central  database  to  reflect  the  new  host port.

     Changes to this database are  distributed  to  the  IMPs  by  the

     Network  Operations  Center  (NOC).  For a while, the host may be

     allowed to reside at either of (or both) the new and  old  ports.

     Once  the  correspondence  between  a  name and one or more hosts

     ports where it  may  be  used  has  been  made  official  by  the

     administrator,   that  name  is  said  to  be  authorized.  1822L



                                   - 8 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



     addresses, which actually  refer  to  physical  host  ports,  are

     always authorized in this sense.


     Once a host has been assigned one or more names, it  has  to  let

     the  IMPs  know  where it is and what name(s) it is using.  There

     are two cases to consider, one for 1822L hosts  and  another  for

     1822  hosts.   The following discussion only pertains to hosts on

     C/30 IMPs.


     When an IMP sees an 1822L host come up on a host  port,  the  IMP

     has  no way of knowing which host has just come up (several hosts

     may share the same port, or one host may prefer to  be  known  by

     different  names  at different times).  This requires the host to

     declare itself to the IMP before it can actually send and receive

     messages.   This  function  is  performed  by  a  new host-to-IMP

     message, the Name Declaration  Message  (NDM),  which  lists  the

     names  that  the  host would like to be known by.  The IMP checks

     its tables to see if each of the names is authorized,  and  sends

     an  NDM  Reply  to  the  host  saying  which  names were actually

     authorized and can now be used for sending and receiving messages

     (i.e.,  which  names  are  effective). A host can also use an NDM

     message to change its list of effective names (it can add to  and

     delete  from  the  list) at any time.  The only constraint on the

     host is that any names it wishes to use can become effective only

     if they are authorized.



                                   - 9 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



     In the second case, if a host comes up on a C/30  IMP  using  the

     1822 protocol, the IMP automatically makes the first name the IMP

     finds in its tables  for  that  host  become  effective  when  it

     receives the first 1822 NOP from the host.  Thus, even though the

     host is using the 1822 protocol, it can  still  receive  messages

     from  1822L  hosts  via  its  1822L name.  Of course, it can also

     receive messages from an 1822L host  via  its  1822L  address  as

     well.    (Remember,  the  distinction  between  1822L  names  and

     addresses is that the addresses correspond to physical  locations

     on   the   network,   while   the   names  are  strictly  logical

     identifiers).  The IMPs translate between the  different  leaders

     and send the proper leader in each case (see section 2.2.4).


     The third question above has by now already been answered.   When

     an  1822L  host comes up, it uses the NDM message to tell the IMP

     which host it is (which names it is known by).  Even if this is a

     shared port, the IMP knows which host is currently connected.


     Whenever a host goes down, its names  automatically  become  non-

     effective.   When it comes back up, it has to make them effective

     again.











                                  - 10 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



     2.2.2  Translation Policies


     Several hosts can share the same 1822L name.  If more than one of

     these  hosts  is  up  at the same time, any messages sent to that

     1822L name will be delivered to just one  of  the  hosts  sharing

     that  name,  and  a RFNM will be returned as usual.  However, the

     sending host will  not  receive  any  indication  of  which  host

     received  the  message,  and subsequent messages to that name are

     not guaranteed to be sent to the  same  host.   Typically,  hosts

     providing  exactly  the  same  service could share the same 1822L

     name in this manner.


     Similarly, when a host is multi-homed, the same  1822L  name  may

     refer  to  more  than  one  host  port (all connected to the same

     host).  If the host is up on only one of those ports,  that  port

     will be used for all messages addressed to the host.  However, if

     the host were up on more than one  port,  the  message  would  be

     delivered  over  just  one  of  those ports, and the subnet would

     choose which port to use.  This port selection could change  from

     message  to  message.   If  a  host wanted to insure that certain

     messages were delivered to it on specific ports,  these  messages

     could  use  either  the  port's 1822L address or a specific 1822L

     name that referred to that port alone.







                                  - 11 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



     Three different address selection policies are available for  the

     name mapping process.  When translated, each name uses one of the

     three policies  (the  policy  is  pre-determined  on  a  per-name

     basis).  The three policies are:


     o  Attempt each translation in the order in  which  the  physical

        addresses  are listed in the IMP's translation tables, to find

        the first reachable  physical  host  address.   This  list  is

        always  searched  from the top whenever an uncontrolled packet

        is to be sent or a new virtual circuit connection  has  to  be

        created  (see  section  2.5).   This is the most commonly used

        policy.


     o  Selection of the closest  physical  address,  which  uses  the

        IMP's   routing   tables   to  find  the  translation  to  the

        destination  IMP  with  the  least  delay  path  whenever   an

        uncontrolled  packet  is  to  be sent or a new virtual circuit

        connection has to be created.


     o  Use load leveling. This is similar to the second  policy,  but

        differs  in  that  searching  the  address  list  for  a valid

        translation starts at the address following where the previous

        translation search ended whenever an uncontrolled packet is to

        be sent or a new virtual circuit connection has to be created.

        This  attempts to spread out the load from any one IMP's hosts




                                  - 12 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



        to the various host ports associated with a  particular  name.

        Note  that this is NOT network-wide load leveling, which would

        require a distributed algorithm and tables.




     2.2.3  Reporting Destination Host Downs


     As was explained in report 1822, and  as  will  be  discussed  in

     greater detail in section 2.5, whenever regular messages are sent

     by a host, the IMP opens a virtual  circuit  connection  to  each

     destination  host  from  the source host.  A connection will stay

     open at least as long as there are  any  outstanding  (un-RFNMed)

     messages  using it and both the source and destination hosts stay

     up.


     However, the destination host may go down for some reason  during

     the  lifetime of a connection.  If the host goes down while there

     are no outstanding messages  to  it  in  the  network,  then  the

     connection  is  closed  and  no  other  action is taken until the

     source host submits the next message for  that  destination.   At

     that time, ONE of the following events will occur:

     A1.  If 1822 or an 1822L address is being  used  to  specify  the

          destination host, then the source host will receive a type 7

          (Destination Host Dead) message from the IMP.

     A2.  If an 1822L name is being used to  specify  the  destination




                                  - 13 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



          host,  and  the  name maps to only one authorized host port,

          then a type 7 message will also be sent to the source host.

     A3.  If an 1822L name is being used to  specify  the  destination

          host,  and  the  name  maps to more than one authorized host

          port, then the IMP attempts to open a connection to  another

          authorized  and  effective  host  port for that name.  If no

          such connection can be made, the host will receive a type 15

          (1822L  Name  or  Address  Error),  subtype  5 (no effective

          translations) message (see section 3.2).  Note that a type 7

          message  cannot be returned to the source host, since type 7

          messages refer to a particular destination  host  port,  and

          the name maps to more than one destination port.


     Things get a bit more complicated if there  are  any  outstanding

     messages  on  the connection when the destination host goes down.

     The connection will be closed, and  one  of  the  following  will

     occur:

     B1.  If 1822 or an 1822L address is being  used  to  specify  the

          destination host, then the source host will receive a type 7

          message for each outstanding message.

     B2.  If an 1822L name is being used to  specify  the  destination

          host, then the source host will receive a type 9 (Incomplete  |

          Transmission), subtype 6  (message  lost  due  to  logically  |

          addressed  host  going  down)  message  for each outstanding  |




                                  - 14 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



          message.  The next time  the  source  host  submits  another

          message   for  that  same  destination  name,  the  previous

          algorithm will be used (either step A2 or step A3).


     The above two algorithms also apply when a  host  stays  up,  but

     declares  the  destination  name for an existing connection to no

     longer be effective.  In this case, however, the type 7  messages

     above will be replaced by type 15, subtype 3 (name not effective)

     messages.


     Section 2.3 discusses how destination host downs are handled  for

     uncontrolled packets.




     2.2.4  1822L and 1822 Interoperability


     As  has  been  previously  stated,  1822  and  1822L  hosts   can

     intercommunicate,  and  the  IMPs  will  automatically handle any

     necessary leader and address format  conversions.   However,  not

     every   combination   of   1822   and  1822L  hosts  allows  full

     interoperability with regard to the use  of  1822L  names,  since

     1822 hosts are restricted to using physical addresses.


     There are two possible situations where any incompatibility could  |

     arise:                                                             |






                                  - 15 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



     o  An 1822 host sending a message to an  1822L  host:   The  1822  |

        host  specifies the destination host by its 1822 address.  The  |

        destination host will receive the message with an 1822L leader  |

        containing  the  1822L addresses of the source and destination  |

        hosts.                                                          |


     o  An 1822L host sending a message to an 1822  host:   The  1822L  |

        host  can  use  1822L  names  or addresses to specify both the  |

        source and  destination  hosts.   The  destination  host  will  |

        receive  the  message  with an 1822 leader containing the 1822  |

        address of the source host.                                     |




     2.3  Uncontrolled Packets


     Uncontrolled packets (see 1822(3.6)) present a unique problem for

     the  1822L protocol.  Uncontrolled packets use none of the normal

     ordering and error-control mechanisms in the IMP, and do not  use

     the  normal  virtual circuit connection facilities.  As a result,

     uncontrolled packets need to carry all  of  their  overhead  with

     them, including source and destination names.  If 1822L names are

     used when sending an uncontrolled packet, additional  information

     is  now required by the subnetwork when the packet is transferred

     to the destination IMP.  This means that less  host-to-host  data

     can  be  contained  in  the  packet than is possible between 1822




                                  - 16 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



     hosts.


     Uncontrolled packets that are sent between 1822 hosts may contain

     not  more  than  991 bits of data.  Uncontrolled packets that are

     sent to and/or from 1822L hosts are limited to 32 bits  less,  or

     not  more  than  959  bits.  Packets that exceed this length will

     result in an error indication to the host, and  the  packet  will

     not  be sent.  This error indication represents an enhancement to

     the previous level of service provided by the  IMP,  which  would

     simply   discard  an  overly  long  uncontrolled  packet  without

     notification.


     Other enhancements that  are  provided  for  uncontrolled  packet

     service  are  a  notification  to the host of any errors that are

     detected by the host's IMP when it receives the packet.   A  host

     will  be  notified if an uncontrolled packet contains an error in

     the 1822L  name  specification,  such  as  if  the  name  is  not

     authorized or effective, if the remote host is unreachable (which

     is indicated by none of its names being  effective),  if  network

     congestion control throttled the packet before it left the source

     IMP, or for any other reason the source IMP was not able to  send

     the packet on its way.


     In most cases, the host will not be notified if the  uncontrolled

     packet  was  lost  once  it  was  transmitted  by the source IMP.




                                  - 17 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



     However, the IMP will attempt to notify  the  source  host  if  a

     logically-addressed  uncontrolled packet was mistakenly sent to a

     host that the source IMP thought was effective, but which  turned

     out  to  be  dead  or non-effective at the destination IMP.  This

     non-delivery notice  is  sent  back  to  the  source  IMP  as  an

     uncontrolled  packet from the destination IMP, so the source host

     is not guaranteed to receive this indication.


     If the source IMP successfully receives the non-delivery  notice,

     then  the  source  host  will  receive  a  type 15 (1822L Name or

     Address Error), subtype 6 (down or non-effective  port)  message.

     If  the  packet  is  resubmitted or another packet is sent to the

     same destination name,  and  there  are  no  available  effective

     translations,  then  the  source  host  will  receive  a type 15,

     subtype 5 (no effective translations) message if the  destination

     name  has  more than one mapping; or will receive either a type 7

     (Destination Host Dead)  or  a  type  15,  subtype  3  (name  not

     effective)   message   if  the  destination  name  has  a  single

     translation.


     Those enhancements to the uncontrolled packet  service  that  are

     not  specific  to  logical  addressing will be available to hosts

     using 1822 as well as 1822L.  However, uncontrolled packets  must

     be  sent  using  1822L leaders in order to receive any indication

     that the packet was lost once it has left the source IMP.



                                  - 18 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



     2.4  Establishing Host-IMP Communications


     When a host comes up on an IMP, or after there has been  a  break

     in   the  communications  between  the  host  and  its  IMP  (see

     1822(3.2)), the orderly flow of messages between the host and the

     IMP  needs  to  be properly (re)established.  This allows the IMP

     and host to recover from most any failure  in  the  other  or  in

     their communications path, including a break in mid-message.


     The first messages that a host should send to its IMP  are  three

     NOP  messages.   Three  messages  are  required to insure that at

     least one message will be properly read by the IMP (the first NOP

     could be concatenated to a previous message if communications had

     been broken in mid-stream, and the third provides redundancy  for

     the   second).    These   NOPs   serve  several  functions:  they

     synchronize the IMP with the host, they tell  the  IMP  how  much

     padding  the  host  requires  between  the message leader and its

     body, and they also tell the IMP whether the host will  be  using

     1822 or 1822L leaders.


     Similarly, the IMP will send three  NOPs  to  the  host  when  it

     detects  that  the host has come up.  Actually, the IMP will send

     six NOPs, alternating three 1822  NOPs  with  three  1822L  NOPs.

     Thus, the host will see three NOPs no matter which protocol it is

     using.   The  NOPs  will  be  followed  by  two  Interface  Reset




                                  - 19 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



     messages,  one of each style.  If the IMP receives a NOP from the

     host while the above sequence is occurring,  the  IMP  will  only

     send  the  remainder  of  the NOPs and the Interface Reset in the

     proper style.  The 1822 NOPs will contain the 1822 address of the

     host interface, and the 1822L NOPs will contain the corresponding

     1822L address.


     Once the IMP  and  the  host  have  sent  each  other  the  above

     messages, regular communications can commence.  See 1822(3.2) for

     further details concerning the ready line,  host  tardiness,  and

     other issues.




     2.5  Counting RFNMs When Using 1822L


     When a host submits a regular message using an 1822  leader,  the

     IMP  checks  for  an  existing simplex virtual circuit connection

     (see 1822(3.1)) from the source host to the destination host.  If

     such  a  connection already exists, it is used.  Otherwise, a new

     connection from the source host port to the destination host port

     is  opened.   In either case, there may be at most eight messages

     outstanding on that connection  at  any  one  time.   If  a  host

     submits  a  ninth message on that connection before it receives a

     reply for the first message, then the host will be blocked  until

     the reply is sent for the first message.




                                  - 20 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



     Such connections can stay open for some time, but are  timed  out

     after  three minutes of no activity, or can be closed if there is

     contention for the connection blocks  in  either  the  source  or

     destination  IMP.   However, a connection will never be closed as

     long as there are any outstanding messages on it.  This allows  a

     source  host  to  count the number of replies it has received for

     messages to each destination host address in order to avoid being

     blocked   by  submitting  a  ninth  outstanding  message  on  any

     connection.


     When a host submits a regular message using an  1822L  leader,  a

     similar process occurs, except that in this case, connections are

     distinguished by the  source  port/source  name/destination  name

     combination.   When  the message is received from a host, the IMP

     first looks for an open connection for that same port and  source

     name/destination  name pair.  If such a connection is found, then

     it is used, and no further name translation  is  performed.   If,

     however,  no open connection was found, then the destination name

     is translated, and a connection opened to the physical host port.

     As  long  as there are any outstanding messages on the connection

     it will stay open, and it will have  the  same  restriction  that

     only  eight messages may be outstanding at any one time.  Thus, a

     source host can still count replies to avoid being  blocked,  but

     they must be counted on a source port and source name/destination




                                  - 21 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



     name pair basis, instead of just by source port  and  destination

     host address as before.


     Since connections are based on the source name  as  well  as  the

     destination  name,  this  implies that there may be more than one

     open connection from physical host port A to physical  host  port

     B,   which   would   allow   more  than  8  outstanding  messages

     simultaneously from the first to the second port.   However,  for

     this  to  occur, either the source or destination names, or both,

     must differ from one connection to the next.  For example, if the

     names  "543"  and  "677" both translate to physical port 3 on IMP

     51, then the host on that port could  open  four  connections  to

     itself  by  sending  messages  from "543" to "543", from "543" to

     "677", from "677" to "543", and from "677" to "677".


     As has already been stated,  the  destination  names  in  regular

     messages  are  only translated when connections are first opened.

     Once a connection is open, that connection, and  its  destination

     physical  host port, will continue to be used until it is closed.

     If, in the meantime, a "better" destination host  port  belonging

     to  the  same  destination name became available, it would not be

     used until the next time a  new  connection  is  opened  to  that

     destination name.







                                  - 22 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



     Also, the act of making an 1822L name be non-effective  will  not  |

     automatically cause any connections using that name to be closed.  |

     However, they will be closed  after  at  most  three  minutes  of  |

     inactivity.  A host can, if it wishes, make all of its names at a  |

     port be noneffective and close all of its connections to and from  |

     the port by flapping the host's ready line to that IMP port.       |




     2.6  1822L Name Server


     There may  be  times  when  a  host  wants  to  perform  its  own

     translations,  or  might need the full list of physical addresses

     to which a particular name maps.  For example, a connection-based

     host-to-host  protocol  may  require  that the same physical host

     port on a multi-homed host be used for all  messages  using  that

     host-to-host  connection, and the host does not wish to trust the

     IMP to always deliver messages using a destination  name  to  the

     same host port.


     In these cases, the host  can  submit  a  type  11  (Name  Server

     Request)  message to the IMP, which requests the IMP to translate

     the destination 1822L name and return a list of the addresses  to

     which  it maps.  The IMP will respond with a type 11 (Name Server

     Reply) message, which contains the selection policy  in  use  for

     that  name,  the  number of addresses to which the name maps, the




                                  - 23 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



     addresses  themselves,  and  for  each  address,  whether  it  is

     effective and its routing distance from the IMP.  See section 3.2

     for a complete description of the message's contents.


     Using this information, the source host could  make  an  informed

     decision  on which of the physical host ports corresponding to an

     1822L name to use and then send the messages to that port, rather

     than to the name.


     The IMP also supports a different type of name service.   A  host

     needs  to issue a Name Declaration Message to the IMP in order to

     make its names effective, but it may not wish to keep  its  names

     in  some table or file in the host.  In this case, it can ask the

     IMP to tell it which names it is authorized to use.


     In this case, the host submits a  type  12  (Port  List  Request)

     message to the IMP, and the IMP replies with a type 12 (Port List

     Reply) message.  It contains, for the host port  over  which  the

     IMP  received the request and sent the reply, the number of names

     that map to the port, the list of names, and whether or not  each

     name  is  effective.   The  host can then use this information in

     order  to  issue  the  Name  Declaration  Message.   Section  3.2

     contains a complete description of the reply's contents.








                                  - 24 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



     3  1822L LEADER FORMATS


     The following sections describe the formats of the  leaders  that

     precede  messages  between  an 1822L host and its IMP.  They were

     designed to be as compatible with the 1822 leaders  as  possible.

     The  second,  fifth,  and  sixth  words  are identical in the two

     leaders, and all  of  the  existing  functionality  of  the  1822

     leaders  has  been  retained.   In  the  first word, the 1822 New

     Format Flag is now also used to identify the two types  of  1822L

     leaders, and the Handling Type has been moved to the second byte.

     The third and fourth words contain  the  Source  and  Destination

     1822L Name, respectively.




























                                  - 25 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



     3.1  Host-to-IMP 1822L Leader Format




                    1      4 5      8 9             16
                   +--------+--------+----------------+
                   |        |  1822L |                |
                   | Unused |  H2I   | Handling Type  |
                   |        |  Flag  |                |
                   +--------+--------+----------------+
                    17    20 21 22 24 25            32
                   +--------+-+------+----------------+
                   |        |T|Leader|                |
                   | Unused |R|Flags |  Message Type  |
                   |        |C|      |                |
                   +--------+-+------+----------------+
                    33                              48
                   +----------------------------------+
                   |                                  |
                   |           Source Host            |
                   |                                  |
                   +----------------------------------+
                    49                              64
                   +----------------------------------+
                   |                                  |
                   |         Destination Host         |
                   |                                  |
                   +----------------------------------+
                    65                     76 77    80
                   +-------------------------+--------+
                   |                         |        |
                   |       Message ID        |Sub-type|
                   |                         |        |
                   +-------------------------+--------+
                    81                              96
                   +----------------------------------+
                   |                                  |
                   |              Unused              |
                   |                                  |
                   +----------------------------------+


                      Host-to-IMP 1822L Leader Format
                                Figure 3.1





                                  - 26 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



     Bits 1-4: Unused, must be set to zero.


     Bits 5-8: 1822L Host-to-IMP Flag:

          This field is set to decimal 13 (1101 in binary).


     Bits 9-16: Handling Type:

          This  field  is  bit-coded  to  indicate  the   transmission

          characteristics  of  the connection desired by the host. See

          1822(3.3).

          Bit 9: Priority Bit:

               Messages with this bit on will be treated  as  priority

               messages.

          Bits 10-16: Unused, must be zero.


     Bits 17-20: Unused, must be zero.


     Bit 21: Trace Bit:

          If equal to one, this message is designated for  tracing  as

          it proceeds through the network.  See 1822(5.5).


     Bits 22-24: Leader Flags:

          Bit 22: A flag available for use by  the  destination  host.

               See 1822(3.3) for a description of its use by the IMP's

               TTY Fake Host.

          Bits 23-24: Reserved for future use, must be zero.






                                  - 27 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



     Bits 25-32: Message Type:

          Type 0: Regular Message  -  All  host-to-host  communication

               occurs  via  regular  messages, which have several sub-

               types, found in bits 77-80.  These sub-types are:

               0: Standard - The IMP uses its full message  and  error

                    control facilities, and host blocking may occur.

               3: Uncontrolled  Packet  -  The  IMP  will  perform  no

                    message-control   functions   for   this  type  of

                    message, and network flow and  congestion  control

                    may  cause loss of the packet.  Also see 1822(3.6)

                    and section 2.3.

               1-2,4-15: Unassigned.

          Type 1: Error Without Message ID - See 1822(3.3).

          Type 2: Host Going Down - see 1822(3.3).

          Type 3: Name Declaration Message (NDM)  -  This  message  is

               used by the host to declare which of its 1822L names is

               or is not effective (see section 2.2.1), or to make all

               of  its  names non-effective.  The first 16 bits of the

               data portion of the NDM message, following  the  leader

               and  any  leader  padding, contains the number of 1822L

               names contained in the message.  This  is  followed  by

               the 1822L name entries, each 32 bits long, of which the

               first 16 bits is a 1822L name and the  second  16  bits

               contains  either  of  the  integers  zero or one.  Zero



                                  - 28 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



               indicates that the name should not  be  effective,  and

               one  indicates  that the name should be effective.  The

               IMP will reply with a NDM Reply  message  (see  section

               3.2)  indicating  which  of the names are now effective

               and which are not.  Pictorially, a NDM message has  the

               following   format  (including  the  leader,  which  is

               printed  in  hexadecimal,  and   without   any   leader

               padding):



































                                  - 29 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878





                 1             16 17            32 33            48
                +----------------+----------------+----------------+
                |                |                |                |
                |      0D00      |      0003      |      0000      |
                |                |                |                |
                +----------------+----------------+----------------+
                 49            64 65            80 81            96
                +----------------+----------------+----------------+
                |                |                |                |
                |      0000      |      0000      |      0000      |
                |                |                |                |
                +----------------+----------------+----------------+
                 97           112 113          128 129          144
                +----------------+----------------+----------------+
                |                |                |                |
                |  # of entries  |  1822L name #1 |     0 or 1     |
                |                |                |                |
                +----------------+----------------+----------------+
                145           160 161          176
                +----------------+----------------+
                |                |                |
                |  1822L name #2 |     0 or 1     |       etc.
                |                |                |
                +----------------+----------------+


                            NDM Message Format
                                Figure 3.2



               An  NDM  with  zero  entries  will  cause  all  current

               effective names for the host to become non-effective.

          Type 4: NOP - This allows the IMP to  know  which  style  of

               leader  the  host wishes to use.  A 1822L NOP signifies

               that the host wishes to use 1822L leaders, and an  1822

               NOP signifies that the host wishes to use 1822 leaders.

               All of the other remarks concerning the NOP message  in




                                  - 30 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



               1822(3.3)  still  hold.   The  host should always issue

               NOPs in groups of three to insure proper  reception  by

               the IMP.  Also see section 2.4 for a further discussion

               on the use of the NOP message.

          Type 8: Error with Message ID - see 1822(3.3).

          Type 11: Name Server Request - This allows the host  to  use

               the  IMP's  logical addressing tables as a name server.

               The destination name in the 1822L leader is translated,

               and  the  IMP replies with a Name Server Reply message,

               which lists the physical host addresses  to  which  the

               destination name maps.

          Type 12: Port List Request - This allows the  physical  host

               to  request the list of names that map to the host port

               over which this request was received by the  IMP.   The

               IMP replies with a Port List Reply message, which lists

               the names that map to the port.

          Types 5-7,9-10,13-255: Unassigned.


     Bits 33-48: Source Host:

          This field contains one of the  source  host's  1822L  names

          (or,  alternatively,  the 1822L address of the host port the

          message  is  being  sent   over).    This   field   is   not

          automatically filled in by the IMP, as in the 1822 protocol,

          because the host may be known by several names and may  wish




                                  - 31 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



          to use a particular name as the source of this message.  All

          messages from the same host need not use the  same  name  in

          this  field.   Each  source  name, when used, is checked for

          authorization, effectiveness, and actually belonging to this

          host.  Messages using names that do not satisfy all of these

          requirements will not be delivered, and will instead  result

          in  an  error  message being sent back into the source host.

          If the host places its 1822L  address  in  this  field,  the

          address is checked to insure that it actually represents the

          host port where the message originated.


     Bits 49-64: Destination Host:

          This field  contains  the  1822L  name  or  address  of  the

          destination  host.   If it contains a name, the name will be

          checked for effectiveness, with an error message returned to

          the source host if the name is not effective.


     Bits 65-76: Message ID:

          This is a host-specified identification used in all  type  0

          and  type  8  messages, and is also used in type 2 messages.

          When used in type 0 messages, bits 65-72 are also  known  as

          the  Link  Field,  and  should  contain  values specified in

          Assigned  Numbers  [3]  appropriate  for  the   host-to-host

          protocol being used.





                                  - 32 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



     Bits 77-80: Sub-type:

          This field is used as a modifier by message types 0,  2,  4,

          and 8.


     Bits 81-96: Unused, must be zero.










































                                  - 33 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



     3.2  IMP-to-Host 1822L Leader Format




                    1      4 5      8 9             16
                   +--------+--------+----------------+
                   |        |  1822L |                |
                   | Unused |  I2H   | Handling Type  |
                   |        |  Flag  |                |
                   +--------+--------+----------------+
                    17    20 21 22 24 25            32
                   +--------+-+------+----------------+
                   |        |T|Leader|                |
                   | Unused |R|Flags |  Message Type  |
                   |        |C|      |                |
                   +--------+-+------+----------------+
                    33                              48
                   +----------------------------------+
                   |                                  |
                   |           Source Host            |
                   |                                  |
                   +----------------------------------+
                    49                              64
                   +----------------------------------+
                   |                                  |
                   |         Destination Host         |
                   |                                  |
                   +----------------------------------+
                    65                     76 77    80
                   +-------------------------+--------+
                   |                         |        |
                   |       Message ID        |Sub-type|
                   |                         |        |
                   +-------------------------+--------+
                    81                              96
                   +----------------------------------+
                   |                                  |
                   |          Message Length          |
                   |                                  |
                   +----------------------------------+


                      IMP-to-Host 1822L Leader Format
                                Figure 3.3





                                  - 34 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



     Bits 1-4: Unused and set to zero.


     Bits 5-8: 1822L IMP-to-Host Flag:

          This field is set to decimal 14 (1110 in binary).


     Bits 9-16: Handling Type:

          This has the value assigned by the source host (see  section

          3.1).   This field is only used in message types 0, 5-9, and

          15.


     Bits 17-20: Unused and set to zero.


     Bit 21: Trace Bit:

          If equal to one, the source host designated this message for

          tracing as it proceeds through the network.  See 1822(5.5).


     Bits 22-24: Leader Flags:

          Bit 22: Available as a destination host flag.

          Bits 23-24: Reserved for future use, set to zero.


     Bits 25-32: Message Type:

          Type 0: Regular Message  -  All  host-to-host  communication

               occurs  via  regular  messages, which have several sub-

               types.  The sub-type field (bits 77-80) is the same  as

               sent in the host-to-IMP leader (see section 3.1).

          Type 1: Error in Leader - See 1822(3.4).  In addition to its  |

               already  defined  sub-types,  this  message has two new  |



                                  - 35 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



               sub-types:                                               |

               4: Illegal Leader Style - The host submitted  a  leader  |

                    in  which  bits  5-8 did not contain the value 13,  |

                    14, or 15 decimal.                                  |

               5: Wrong Leader Style - The  host  submitted  an  1822L  |

                    leader  when the IMP was expecting an 1822 leader,  |

                    or vice-versa.                                      |

          Type 2: IMP Going Down - See 1822(3.4).

          Type 3: NDM Reply - This is a reply to the  NDM  host-to-IMP

               message  (see  section  3.1).   It  will  have the same

               number of entries as the  NDM  message  that  is  being

               replying  to,  and  each  listed  1822L  name  will  be

               accompanied by a zero or a one  (see  figure  3.2).   A

               zero  signifies  that  the name is not effective, and a

               one means that the name is now effective.

          Type 4: NOP - The host should discard this message.   It  is

               used    during    initialization    of   the   IMP/host

               communication.  The Destination Host field will contain

               the  1822L  Address of the host port over which the NOP

               is being sent.  All other fields are unused.

          Type 5: Ready for Next Message (RFNM) - See 1822(3.4).

          Type 6: Dead Host Status - See 1822(3.4).

          Type 7: Destination Host or IMP  Dead  (or  unknown)  -  See

               1822(3.4).



                                  - 36 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



          Type 8: Error in Data - See 1822(3.4).

          Type  9:  Incomplete  Transmission  -  See  1822(3.4).    In  |

               addition to its already defined sub-types, this message  |

               has one new sub-type:                                    |

               6: Logically Addressed Host Went  Down  -  A  logically  |

                    addressed  message was lost in the network because  |

                    the  destination  host  to  which  it  was   being  |

                    delivered   went  down.   The  message  should  be  |

                    resubmitted by the source host, since there may be  |

                    another  effective  host port to which the message  |

                    could be delivered (see section 2.2.3).             |

          Type 10: Interface Reset - See 1822(3.4).

          Type 11: Name Server Reply - This reply to the  Name  Server

               Request  host-to-IMP  message  contains,  following the

               leader  and  any  leader  padding,  a  word  with   the

               selection  policy  and the number of physical addresses

               to which the destination name  maps,  followed  by  two

               words  per physical address: the first word contains an

               1822L address, and  the  second  word  contains  a  bit

               signifying  whether  or not that particular translation

               is effective and the routing distance (expected network

               transmission  delay,  in 6.4 ms units) to the address's

               IMP.  In figure 3.4, which includes the leader  without

               any  leader  padding,  EFF is 1 for effective and 0 for



                                  - 37 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



               non-effective, and POL is a two-bit  number  indicating

               the selection policy for the name (see section 2.2.2):

               0: First reachable.

               1: Closest physical address.

               2: Load leveling.

               3: Unused.



                 1             16 17            32 33            48
                +----------------+----------------+----------------+
                |                |                |                |
                |      0E00      |      000B      |      0000      |
                |                |                |                |
                +----------------+----------------+----------------+
                 49            64 65            80 81            96
                +----------------+----------------+----------------+
                |                |                |                |
                |   dest. name   |      0000      |      0000      |
                |                |                |                |
                +----------------+----------------+----------------+
                 97           112 113          128 129          144
                +-+--------------+----------------+-+--------------+
                |P|              |                |E|              |
                |O|  # of addrs  |  1822L addr #1 |F| routing dist |
                |L|              |                |F|              |
                +-+--------------+----------------+-+--------------+
                145           160 161          176
                +----------------+-+--------------+
                |                |E|              |
                |  1822L addr #2 |F| routing dist |       etc.
                |                |F|              |
                +----------------+-+--------------+


                         Name Server Reply Format
                                Figure 3.4








                                  - 38 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



          Type 12: Port List Reply - This is the  reply  to  the  Port

               List  Request  host-to-IMP  message.   It  contains the

               number of names that map to this  physical  host  port,

               followed by two words per name: the first word contains

               an 1822L name that maps to this port,  and  the  second

               contains  either a zero or a one, signifying whether or

               not that  particular  translation  is  effective.   The

               format  is  identical  to  the type 3 NDM Reply message

               (see figure 3.2).

          Type 15: 1822L Name or Address Error - This message is  sent

               in  response  to  a  type  0  message  from a host that

               contained an erroneous Source Host or Destination  Host

               field.  Its sub-types are:

               0: The Source Host 1822L name is not authorized or  not

                    effective.

               1: The Source Host 1822L address  does  not  match  the

                    host port used to send the message.

               2: The Destination Host 1822L name is not authorized.

               3:  The  physical  host  to  which  this   singly-homed

                    Destination Host name translated is authorized and

                    up, but not effective.  If the host  was  actually

                    down,  a  type  7 message would be returned, not a

                    type 15.

               5: The multi-homed Destination Host name is authorized,



                                  - 39 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



                    but has no available effective translations.

               6: A logically-addressed uncontrolled packet  was  sent

                    to a dead or non-effective host port.  However, if

                    it is resubmitted, there may be another  effective

                    host  port to which the IMP may be able to attempt

                    to send the packet.

               7: Logical addressing is not in use in this network.

               8-15: Unassigned.

          Types 4,13-14,16-255: Unassigned.


     Bits 33-48: Source Host:

          For type 0 messages, this field contains the 1822L  name  or

          address  of  the  host  that  originated  the  message.  All

          replies to the message should be sent to the host  specified

          herein.   For  message types 5-9 and 15, this field contains

          the source host field used in a previous type 0 message sent

          by this host.


     Bits 49-64: Destination Host:

          For type 0 messages, this field contains the 1822L  name  or

          address  that  the  message  was  sent  to.  This allows the

          destination host to detect  how  it  was  specified  by  the

          source  host.   For  message  types  5-9  and 15, this field

          contains the destination host field used in a previous  type

          0 message sent by this host.



                                  - 40 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



     Bits 65-76: Message ID:

          For message types 0, 5, 7-9,  and  15,  this  is  the  value

          assigned  by  the  source  host to identify the message (see

          section 3.1).  This field is also used by  message  types  2

          and 6.


     Bits 77-80: Sub-type:

          This field is used as a modifier by message types 0-2,  5-7,

          9, and 15.


     Bits 81-96: Message Length:

          This field is contained in type 0, 3, 11,  and  12  messages

          only,  and  is  the  actual  length  in  bits of the message

          (exclusive of leader, leader padding, and hardware  padding)

          as computed by the IMP.























                                  - 41 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



     4  REFERENCES


     [1]  "Specifications for the Interconnection of  a  Host  and  an

          IMP", BBN Report 1822, December 1981 Revision.


     [2]  E.  C.   Rosen   et.   al.,   "ARPANET   Routing   Algorithm

          Improvements",   Internet   Experimenter's  Note  183  (also

          published as BBN Report 4473, Vol. 1), August 1980, pp.  55-

          107.


     [3]  J. Reynolds and J. Postel, "Assigned Numbers",  Request  For

          Comments 870, October 1983, p. 14.


     [4]  J. Postel, ed., "Internet Protocol - DARPA Internet  Program

          Protocol Specification", Request for Comments 791, September

          1981.


     [5]  J. Postel, "Address Mappings",  Request  for  Comments  796,

          September 1981.


















                                  - 42 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



                                APPENDIX A


                         1822L-IP ADDRESS MAPPINGS



     Once logical addressing is in active  (or  universal)  use  in  a  |

     network,  to  the extent that the "official" host tables for that  |

     network specify hosts by their logical names rather than by their  |

     physical  network  addresses,  it would be desirable for hosts on  |

     other networks to also be able to use the same logical  names  to  |

     specify these hosts when sending traffic to them via the internet  |

     [4].                                                               |


     Happily, there exists a natural mapping between logical names and  |

     internet  addresses  that  fits  very  nicely  with  the  already  |

     standard ARPANET-style address mapping as specified in  RFC  796,  |

     Address  Mappings [5].  The current ARPANET-style class A mapping  |

     is as follows (from RFC 796):                                      |



















                                  - 43 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878





             +--------+ +--------+--------+
             |  HOST  | |  ZERO  |  IMP   |    1822 Address
             +--------+ +--------+--------+
                 8          8        8

             +--------+--------+--------+--------+
             | net #  |  HOST  |   LH   |  IMP   |   IP Address
             +--------+--------+--------+--------+
                 8        8        8        8


                           1822 Class A Mapping
                                Figure A.1



     For 1822L names and addresses, the mapping would be:               |



             +--------+--------+
             | upper  | lower  |     1822L Name or Address
             +--------+--------+
                 8        8

             +--------+--------+--------+--------+
             | net #  | upper  |   LH   | lower  |   IP Address
             +--------+--------+--------+--------+
                 8        8        8        8


                           1822L Class A Mapping
                                Figure A.2



     For 1822L addresses,  this  mapping  is  identical  to  the  1822  |

     mapping.   For  1822L  names,  the  IP address would appear to be  |

     addressing a high-numbered (64-255) 1822 host.  Although  the  LH  |

     (logical  host)  field  is still defined, its use is discouraged;  |

     multiple logical names should now be used to  multiplex  multiple  |



                                  - 44 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



     functions onto one physical host port.                             |


     This mapping extends to class B networks:                          |



             +--------+--------+
             | upper  | lower  |     1822L Name or Address
             +--------+--------+
                 8        8

             +----------------+--------+--------+
             | network number | upper  | lower  |   IP Address
             +----------------+--------+--------+
                     16            8        8


                           1822L Class B Mapping
                                Figure A.3



     Finally, logical addressing will allow IMP-based class C networks  |

     for  the  first  time.   Previously,  it  was very hard to try to  |

     divide the 8 bits of host specification into some number of  host  |

     bits  and  some  number  of  IMP  bits.   However,  if ALL of the  |

     internet-accessible hosts on  the  network  have  logical  names,  |

     there is no reason why networks with up to 256 such logical names  |

     cannot now use class C addresses, as follows:                      |














                                  - 45 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878





             +--------+--------+
             |01000000| lower  |     1822L Name
             +--------+--------+
                 8        8

             +------------------------+--------+
             |     network number     | lower  |   IP Address
             +------------------------+--------+
                         24                8


                           1822L Class C Mapping
                                Figure A.4



     Those hosts on the network  desiring  internet  access  would  be  |

     assigned  logical  names in the range 40000 to 40377 (octal), and  |

     the  gateway(s)  connected  to  that  network  would   make   the  |

     translation  from IP addresses to 1822L names as specified above.  |

     Note that the network could have many more than 256 hosts, or 256  |

     defined  names;  the  only  restriction is that hosts that desire  |

     internet support or access be addressable by a name in the  range  |

     40000  -  40377.   Traffic that was strictly local to the network  |

     could use other names or even 1822L addresses.                     |















                                  - 46 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



                                   INDEX






     1822...................................................... 3
     1822 address.............................................. 5
     1822 host................................................. 4
     1822L..................................................... 3
     1822L address............................................. 6
     1822L and 1822 interoperability.......................... 15
     1822L host................................................ 4
     1822L name................................................ 5
     address selection policy................................. 12
     authorized................................................ 8
     blocking................................................. 20
     closest physical address................................. 12
     connection............................................... 20
     destination host..................................... 32, 40
     effective............................................. 9, 23
     first reachable.......................................... 12
     handing type......................................... 27, 35
     host downs............................................... 13
     interoperability......................................... 15
     leader flags......................................... 27, 35
     link field............................................... 32
     load leveling............................................ 12
     logical addressing........................................ 3
     message ID........................................... 32, 41
     message length........................................... 41
     message type......................................... 28, 35
     multi-homing.............................................. 3
     name server...................................... 23, 31, 37
     NDM................................................... 9, 28
     NDM reply............................................. 9, 36
     NOC....................................................... 8
     NOP........................................... 4, 19, 30, 36
     priority bit............................................. 27
     regular message...................................... 28, 35
     RFNM................................................. 20, 36
     source host.......................................... 31, 40
     standard message......................................... 28
     sub-type............................................. 33, 41
     symmetric................................................. 4
     trace bit............................................ 27, 35



                                  - 47 -

^L

     1822L Host Access Protocol                          December 1983
     RFC 878



     uncontrolled packet.................................. 16, 28
     virtual circuit connection............................... 20
















































                                  - 48 -