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 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807
|
<!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 8658: RADIUS Attributes for Softwire Mechanisms Based on Address plus Port (A+P)</title>
<meta content="Sheng Jiang" name="author">
<meta content="Yu Fu" name="author">
<meta content="Chongfeng Xie" name="author">
<meta content="Tianxiang Li" name="author">
<meta content="Mohamed Boucadair" name="author">
<meta content="
IPv4-over-IPv6 transition mechanisms provide IPv4 connectivity
services over IPv6 native networks during the IPv4/IPv6 coexistence
period. DHCPv6 options have been defined to configure clients for
Lightweight 4over6, Mapping of Address and Port with Encapsulation (MAP-E),
Mapping of Address and Port using Translation (MAP-T) unicast softwire
mechanisms, and multicast softwires. However, in many networks,
configuration information is stored in an Authentication, Authorization,
and Accounting (AAA) server, which utilizes the Remote Authentication Dial In
User Service (RADIUS) protocol to provide centralized management for
users. When a new transition mechanism is developed, new RADIUS
attributes need to be defined correspondingly.
This document defines new RADIUS attributes to carry softwire
configuration parameters based on Address plus Port from a
AAA server to a Broadband
Network Gateway. Both unicast and multicast attributes are covered.
" name="description">
<meta content="xml2rfc 2.34.0" name="generator">
<meta content="IPv6 Transition, MAP-E, MAP-T, Lightweight 4over6, RADIUS, address sharing, authorization, AAA, provisioning" name="keyword">
<meta content="8658" name="rfc.number">
<link href="rfc8658.xml" type="application/rfc+xml" rel="alternate">
<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.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;
}
#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;
}
}
/* Avoid wrapping of URLs in references */
@media screen {
.references a {
white-space: nowrap;
}
}
/* 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: 0 0 0.25em 0;
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;
}
/* 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; }
}
</style>
<link href="rfc-local.css" type="text/css" rel="stylesheet">
<link href="https://dx.doi.org/10.17487/rfc8658" rel="alternate">
<link href="urn:issn:2070-1721" rel="alternate">
<link href="https://datatracker.ietf.org/doc/draft-ietf-softwire-map-radius-26" 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 8658</td>
<td class="center">A+P RADIUS Attributes</td>
<td class="right">November 2019</td>
</tr></thead>
<tfoot><tr>
<td class="left">Jiang, et al.</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/rfc8658" class="eref">8658</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="2019-11" class="published">November 2019</time>
</dd>
<dt class="label-issn">ISSN:</dt>
<dd class="issn">2070-1721</dd>
<dt class="label-authors">Authors:</dt>
<dd class="authors">
<div class="author">
<div class="author-name">S. Jiang, <span class="editor">Ed.</span>
</div>
<div class="org">Huawei</div>
</div>
<div class="author">
<div class="author-name">Y. Fu, <span class="editor">Ed.</span>
</div>
<div class="org">CNNIC</div>
</div>
<div class="author">
<div class="author-name">C. Xie</div>
<div class="org">China Telecom</div>
</div>
<div class="author">
<div class="author-name">T. Li</div>
<div class="org">Tsinghua University</div>
</div>
<div class="author">
<div class="author-name">M. Boucadair, <span class="editor">Ed.</span>
</div>
<div class="org">Orange</div>
</div>
</dd>
</dl>
</div>
<h1 id="rfcnum">RFC 8658</h1>
<h1 id="title">RADIUS Attributes for Softwire Mechanisms Based on Address plus Port (A+P)</h1>
<section id="section-abstract">
<h2 id="abstract"><a href="#abstract" class="selfRef">Abstract</a></h2>
<p id="section-abstract-1">IPv4-over-IPv6 transition mechanisms provide IPv4 connectivity
services over IPv6 native networks during the IPv4/IPv6 coexistence
period. DHCPv6 options have been defined to configure clients for
Lightweight 4over6, Mapping of Address and Port with Encapsulation (MAP-E),
Mapping of Address and Port using Translation (MAP-T) unicast softwire
mechanisms, and multicast softwires. However, in many networks,
configuration information is stored in an Authentication, Authorization,
and Accounting (AAA) server, which utilizes the Remote Authentication Dial In
User Service (RADIUS) protocol to provide centralized management for
users. When a new transition mechanism is developed, new RADIUS
attributes need to be defined correspondingly.<a href="#section-abstract-1" class="pilcrow">¶</a></p>
<p id="section-abstract-2">This document defines new RADIUS attributes to carry softwire
configuration parameters based on Address plus Port from a
AAA server to a Broadband
Network Gateway. Both unicast and multicast attributes are covered.<a href="#section-abstract-2" 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/rfc8658">https://www.rfc-editor.org/info/rfc8658</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) 2019 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-boilerplate.3">
<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="toc ulEmpty">
<li class="toc ulEmpty" id="section-boilerplate.3-1.1">
<p id="section-boilerplate.3-1.1.1"><a href="#section-1" class="xref">1</a>. <a href="#name-introduction" class="xref">Introduction</a><a href="#section-boilerplate.3-1.1.1" class="pilcrow">¶</a></p>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.2">
<p id="section-boilerplate.3-1.2.1"><a href="#section-2" class="xref">2</a>. <a href="#name-terminology" class="xref">Terminology</a><a href="#section-boilerplate.3-1.2.1" class="pilcrow">¶</a></p>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.3">
<p id="section-boilerplate.3-1.3.1"><a href="#section-3" class="xref">3</a>. <a href="#name-new-radius-attributes" class="xref">New RADIUS Attributes</a><a href="#section-boilerplate.3-1.3.1" class="pilcrow">¶</a></p>
<ul class="toc ulEmpty">
<li class="toc ulEmpty" id="section-boilerplate.3-1.3.2.1">
<p id="section-boilerplate.3-1.3.2.1.1"><a href="#section-3.1" class="xref">3.1</a>. <a href="#name-softwire46-configuration-at" class="xref">Softwire46-Configuration Attribute</a><a href="#section-boilerplate.3-1.3.2.1.1" class="pilcrow">¶</a></p>
<ul class="toc ulEmpty">
<li class="toc ulEmpty" id="section-boilerplate.3-1.3.2.1.2.1">
<p id="section-boilerplate.3-1.3.2.1.2.1.1"><a href="#section-3.1.1" class="xref">3.1.1</a>. <a href="#name-softwire46-attributes" class="xref">Softwire46 Attributes</a><a href="#section-boilerplate.3-1.3.2.1.2.1.1" class="pilcrow">¶</a></p>
<ul class="toc ulEmpty">
<li class="toc ulEmpty" id="section-boilerplate.3-1.3.2.1.2.1.2.1">
<p id="section-boilerplate.3-1.3.2.1.2.1.2.1.1"><a href="#section-3.1.1.1" class="xref">3.1.1.1</a>. <a href="#name-softwire46-map-e-attribute" class="xref">Softwire46-MAP-E Attribute</a><a href="#section-boilerplate.3-1.3.2.1.2.1.2.1.1" class="pilcrow">¶</a></p>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.3.2.1.2.1.2.2">
<p id="section-boilerplate.3-1.3.2.1.2.1.2.2.1"><a href="#section-3.1.1.2" class="xref">3.1.1.2</a>. <a href="#name-softwire46-map-t-attribute" class="xref">Softwire46-MAP-T Attribute</a><a href="#section-boilerplate.3-1.3.2.1.2.1.2.2.1" class="pilcrow">¶</a></p>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.3.2.1.2.1.2.3">
<p id="section-boilerplate.3-1.3.2.1.2.1.2.3.1"><a href="#section-3.1.1.3" class="xref">3.1.1.3</a>. <a href="#name-softwire46-lightweight-4ove" class="xref">Softwire46-Lightweight-4over6 Attribute</a><a href="#section-boilerplate.3-1.3.2.1.2.1.2.3.1" class="pilcrow">¶</a></p>
</li>
</ul>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.3.2.1.2.2">
<p id="section-boilerplate.3-1.3.2.1.2.2.1"><a href="#section-3.1.2" class="xref">3.1.2</a>. <a href="#name-softwire46-sub-attributes" class="xref">Softwire46 Sub-attributes</a><a href="#section-boilerplate.3-1.3.2.1.2.2.1" class="pilcrow">¶</a></p>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.3.2.1.2.3">
<p id="section-boilerplate.3-1.3.2.1.2.3.1"><a href="#section-3.1.3" class="xref">3.1.3</a>. <a href="#name-specification-of-the-softwi" class="xref">Specification of the Softwire46 Sub-attributes</a><a href="#section-boilerplate.3-1.3.2.1.2.3.1" class="pilcrow">¶</a></p>
<ul class="toc ulEmpty">
<li class="toc ulEmpty" id="section-boilerplate.3-1.3.2.1.2.3.2.1">
<p id="section-boilerplate.3-1.3.2.1.2.3.2.1.1"><a href="#section-3.1.3.1" class="xref">3.1.3.1</a>. <a href="#name-softwire46-rule-attribute" class="xref">Softwire46-Rule Attribute</a><a href="#section-boilerplate.3-1.3.2.1.2.3.2.1.1" class="pilcrow">¶</a></p>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.3.2.1.2.3.2.2">
<p id="section-boilerplate.3-1.3.2.1.2.3.2.2.1"><a href="#section-3.1.3.2" class="xref">3.1.3.2</a>. <a href="#name-softwire46-br-attribute" class="xref">Softwire46-BR Attribute</a><a href="#section-boilerplate.3-1.3.2.1.2.3.2.2.1" class="pilcrow">¶</a></p>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.3.2.1.2.3.2.3">
<p id="section-boilerplate.3-1.3.2.1.2.3.2.3.1"><a href="#section-3.1.3.3" class="xref">3.1.3.3</a>. <a href="#name-softwire46-dmr-attribute" class="xref">Softwire46-DMR Attribute</a><a href="#section-boilerplate.3-1.3.2.1.2.3.2.3.1" class="pilcrow">¶</a></p>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.3.2.1.2.3.2.4">
<p id="section-boilerplate.3-1.3.2.1.2.3.2.4.1"><a href="#section-3.1.3.4" class="xref">3.1.3.4</a>. <a href="#name-softwire46-v4v6bind-attribu" class="xref">Softwire46-V4V6Bind Attribute</a><a href="#section-boilerplate.3-1.3.2.1.2.3.2.4.1" class="pilcrow">¶</a></p>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.3.2.1.2.3.2.5">
<p id="section-boilerplate.3-1.3.2.1.2.3.2.5.1"><a href="#section-3.1.3.5" class="xref">3.1.3.5</a>. <a href="#name-softwire46-portparams-attri" class="xref">Softwire46-PORTPARAMS Attribute</a><a href="#section-boilerplate.3-1.3.2.1.2.3.2.5.1" class="pilcrow">¶</a></p>
</li>
</ul>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.3.2.1.2.4">
<p id="section-boilerplate.3-1.3.2.1.2.4.1"><a href="#section-3.1.4" class="xref">3.1.4</a>. <a href="#name-sub-attributes-for-softwire" class="xref">Sub-attributes for Softwire46-Rule</a><a href="#section-boilerplate.3-1.3.2.1.2.4.1" class="pilcrow">¶</a></p>
<ul class="toc ulEmpty">
<li class="toc ulEmpty" id="section-boilerplate.3-1.3.2.1.2.4.2.1">
<p id="section-boilerplate.3-1.3.2.1.2.4.2.1.1"><a href="#section-3.1.4.1" class="xref">3.1.4.1</a>. <a href="#name-rule-ipv6-prefix-attribute" class="xref">Rule-IPv6-Prefix Attribute</a><a href="#section-boilerplate.3-1.3.2.1.2.4.2.1.1" class="pilcrow">¶</a></p>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.3.2.1.2.4.2.2">
<p id="section-boilerplate.3-1.3.2.1.2.4.2.2.1"><a href="#section-3.1.4.2" class="xref">3.1.4.2</a>. <a href="#name-rule-ipv4-prefix-attribute" class="xref">Rule-IPv4-Prefix Attribute</a><a href="#section-boilerplate.3-1.3.2.1.2.4.2.2.1" class="pilcrow">¶</a></p>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.3.2.1.2.4.2.3">
<p id="section-boilerplate.3-1.3.2.1.2.4.2.3.1"><a href="#section-3.1.4.3" class="xref">3.1.4.3</a>. <a href="#name-ea-length-attribute" class="xref">EA-Length Attribute</a><a href="#section-boilerplate.3-1.3.2.1.2.4.2.3.1" class="pilcrow">¶</a></p>
</li>
</ul>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.3.2.1.2.5">
<p id="section-boilerplate.3-1.3.2.1.2.5.1"><a href="#section-3.1.5" class="xref">3.1.5</a>. <a href="#name-attributes-for-softwire46-v" class="xref">Attributes for Softwire46-v4v6Bind</a><a href="#section-boilerplate.3-1.3.2.1.2.5.1" class="pilcrow">¶</a></p>
<ul class="toc ulEmpty">
<li class="toc ulEmpty" id="section-boilerplate.3-1.3.2.1.2.5.2.1">
<p id="section-boilerplate.3-1.3.2.1.2.5.2.1.1"><a href="#section-3.1.5.1" class="xref">3.1.5.1</a>. <a href="#name-ipv4-address-attribute" class="xref">IPv4-Address Attribute</a><a href="#section-boilerplate.3-1.3.2.1.2.5.2.1.1" class="pilcrow">¶</a></p>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.3.2.1.2.5.2.2">
<p id="section-boilerplate.3-1.3.2.1.2.5.2.2.1"><a href="#section-3.1.5.2" class="xref">3.1.5.2</a>. <a href="#name-bind-ipv6-prefix-attribute" class="xref">Bind-IPv6-Prefix Attribute</a><a href="#section-boilerplate.3-1.3.2.1.2.5.2.2.1" class="pilcrow">¶</a></p>
</li>
</ul>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.3.2.1.2.6">
<p id="section-boilerplate.3-1.3.2.1.2.6.1"><a href="#section-3.1.6" class="xref">3.1.6</a>. <a href="#name-attributes-for-softwire46-p" class="xref">Attributes for Softwire46-PORTPARAMS</a><a href="#section-boilerplate.3-1.3.2.1.2.6.1" class="pilcrow">¶</a></p>
<ul class="toc ulEmpty">
<li class="toc ulEmpty" id="section-boilerplate.3-1.3.2.1.2.6.2.1">
<p id="section-boilerplate.3-1.3.2.1.2.6.2.1.1"><a href="#section-3.1.6.1" class="xref">3.1.6.1</a>. <a href="#name-psid-offset-attribute" class="xref">PSID-Offset Attribute</a><a href="#section-boilerplate.3-1.3.2.1.2.6.2.1.1" class="pilcrow">¶</a></p>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.3.2.1.2.6.2.2">
<p id="section-boilerplate.3-1.3.2.1.2.6.2.2.1"><a href="#section-3.1.6.2" class="xref">3.1.6.2</a>. <a href="#name-psid-len-attribute" class="xref">PSID-Len Attribute</a><a href="#section-boilerplate.3-1.3.2.1.2.6.2.2.1" class="pilcrow">¶</a></p>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.3.2.1.2.6.2.3">
<p id="section-boilerplate.3-1.3.2.1.2.6.2.3.1"><a href="#section-3.1.6.3" class="xref">3.1.6.3</a>. <a href="#name-psid-attribute" class="xref">PSID Attribute</a><a href="#section-boilerplate.3-1.3.2.1.2.6.2.3.1" class="pilcrow">¶</a></p>
</li>
</ul>
</li>
</ul>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.3.2.2">
<p id="section-boilerplate.3-1.3.2.2.1"><a href="#section-3.2" class="xref">3.2</a>. <a href="#name-softwire46-priority-attribu" class="xref">Softwire46-Priority Attribute</a><a href="#section-boilerplate.3-1.3.2.2.1" class="pilcrow">¶</a></p>
<ul class="toc ulEmpty">
<li class="toc ulEmpty" id="section-boilerplate.3-1.3.2.2.2.1">
<p id="section-boilerplate.3-1.3.2.2.2.1.1"><a href="#section-3.2.1" class="xref">3.2.1</a>. <a href="#name-softwire46-option-code" class="xref">Softwire46-Option-Code</a><a href="#section-boilerplate.3-1.3.2.2.2.1.1" class="pilcrow">¶</a></p>
</li>
</ul>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.3.2.3">
<p id="section-boilerplate.3-1.3.2.3.1"><a href="#section-3.3" class="xref">3.3</a>. <a href="#name-softwire46-multicast-attrib" class="xref">Softwire46-Multicast Attribute</a><a href="#section-boilerplate.3-1.3.2.3.1" class="pilcrow">¶</a></p>
<ul class="toc ulEmpty">
<li class="toc ulEmpty" id="section-boilerplate.3-1.3.2.3.2.1">
<p id="section-boilerplate.3-1.3.2.3.2.1.1"><a href="#section-3.3.1" class="xref">3.3.1</a>. <a href="#name-asm-prefix64-attribute" class="xref">ASM-Prefix64 Attribute</a><a href="#section-boilerplate.3-1.3.2.3.2.1.1" class="pilcrow">¶</a></p>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.3.2.3.2.2">
<p id="section-boilerplate.3-1.3.2.3.2.2.1"><a href="#section-3.3.2" class="xref">3.3.2</a>. <a href="#name-ssm-prefix64-attribute" class="xref">SSM-Prefix64 Attribute</a><a href="#section-boilerplate.3-1.3.2.3.2.2.1" class="pilcrow">¶</a></p>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.3.2.3.2.3">
<p id="section-boilerplate.3-1.3.2.3.2.3.1"><a href="#section-3.3.3" class="xref">3.3.3</a>. <a href="#name-u-prefix64-attribute" class="xref">U-Prefix64 Attribute</a><a href="#section-boilerplate.3-1.3.2.3.2.3.1" class="pilcrow">¶</a></p>
</li>
</ul>
</li>
</ul>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.4">
<p id="section-boilerplate.3-1.4.1"><a href="#section-4" class="xref">4</a>. <a href="#name-a-sample-configuration-proc" class="xref">A Sample Configuration Process with RADIUS</a><a href="#section-boilerplate.3-1.4.1" class="pilcrow">¶</a></p>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.5">
<p id="section-boilerplate.3-1.5.1"><a href="#section-5" class="xref">5</a>. <a href="#name-table-of-attributes" class="xref">Table of Attributes</a><a href="#section-boilerplate.3-1.5.1" class="pilcrow">¶</a></p>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.6">
<p id="section-boilerplate.3-1.6.1"><a href="#section-6" class="xref">6</a>. <a href="#name-security-considerations" class="xref">Security Considerations</a><a href="#section-boilerplate.3-1.6.1" class="pilcrow">¶</a></p>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.7">
<p id="section-boilerplate.3-1.7.1"><a href="#section-7" class="xref">7</a>. <a href="#name-iana-considerations" class="xref">IANA Considerations</a><a href="#section-boilerplate.3-1.7.1" class="pilcrow">¶</a></p>
<ul class="toc ulEmpty">
<li class="toc ulEmpty" id="section-boilerplate.3-1.7.2.1">
<p id="section-boilerplate.3-1.7.2.1.1"><a href="#section-7.1" class="xref">7.1</a>. <a href="#name-new-radius-attributes-2" class="xref">New RADIUS Attributes</a><a href="#section-boilerplate.3-1.7.2.1.1" class="pilcrow">¶</a></p>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.7.2.2">
<p id="section-boilerplate.3-1.7.2.2.1"><a href="#section-7.2" class="xref">7.2</a>. <a href="#name-radius-softwire46-configura" class="xref">RADIUS Softwire46 Configuration and Multicast Attributes</a><a href="#section-boilerplate.3-1.7.2.2.1" class="pilcrow">¶</a></p>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.7.2.3">
<p id="section-boilerplate.3-1.7.2.3.1"><a href="#section-7.3" class="xref">7.3</a>. <a href="#name-softwire46-mechanisms-and-t" class="xref">Softwire46 Mechanisms and Their Identifying Option Codes</a><a href="#section-boilerplate.3-1.7.2.3.1" class="pilcrow">¶</a></p>
</li>
</ul>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.8">
<p id="section-boilerplate.3-1.8.1"><a href="#section-8" class="xref">8</a>. <a href="#name-references" class="xref">References</a><a href="#section-boilerplate.3-1.8.1" class="pilcrow">¶</a></p>
<ul class="toc ulEmpty">
<li class="toc ulEmpty" id="section-boilerplate.3-1.8.2.1">
<p id="section-boilerplate.3-1.8.2.1.1"><a href="#section-8.1" class="xref">8.1</a>. <a href="#name-normative-references" class="xref">Normative References</a><a href="#section-boilerplate.3-1.8.2.1.1" class="pilcrow">¶</a></p>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.8.2.2">
<p id="section-boilerplate.3-1.8.2.2.1"><a href="#section-8.2" class="xref">8.2</a>. <a href="#name-informative-references" class="xref">Informative References</a><a href="#section-boilerplate.3-1.8.2.2.1" class="pilcrow">¶</a></p>
</li>
</ul>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.9">
<p id="section-boilerplate.3-1.9.1"><a href="#section-appendix.a" class="xref">Appendix A</a>. <a href="#name-dhcpv6-to-radius-field-mapp" class="xref">DHCPv6 to RADIUS Field Mappings</a><a href="#section-boilerplate.3-1.9.1" class="pilcrow">¶</a></p>
<ul class="toc ulEmpty">
<li class="toc ulEmpty" id="section-boilerplate.3-1.9.2.1">
<p id="section-boilerplate.3-1.9.2.1.1"><a href="#section-a.1" class="xref">A.1</a>. <a href="#name-option_s46_rule-89-to-softw" class="xref">OPTION_S46_RULE (89) to Softwire46-Rule Sub-TLV Field Mappings</a><a href="#section-boilerplate.3-1.9.2.1.1" class="pilcrow">¶</a></p>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.9.2.2">
<p id="section-boilerplate.3-1.9.2.2.1"><a href="#section-a.2" class="xref">A.2</a>. <a href="#name-option_s46_br-90-to-softwir" class="xref">OPTION_S46_BR (90) to Softwire46-BR Field Mappings</a><a href="#section-boilerplate.3-1.9.2.2.1" class="pilcrow">¶</a></p>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.9.2.3">
<p id="section-boilerplate.3-1.9.2.3.1"><a href="#section-a.3" class="xref">A.3</a>. <a href="#name-option_s46_dmr-91-to-softwi" class="xref">OPTION_S46_DMR (91) to Softwire46-DMR</a><a href="#section-boilerplate.3-1.9.2.3.1" class="pilcrow">¶</a></p>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.9.2.4">
<p id="section-boilerplate.3-1.9.2.4.1"><a href="#section-a.4" class="xref">A.4</a>. <a href="#name-option_s46_v4v6bind-92-to-s" class="xref">OPTION_S46_V4V6BIND (92) to Softwire46-V4V6Bind</a><a href="#section-boilerplate.3-1.9.2.4.1" class="pilcrow">¶</a></p>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.9.2.5">
<p id="section-boilerplate.3-1.9.2.5.1"><a href="#section-a.5" class="xref">A.5</a>. <a href="#name-option_s46_portparams-93-to" class="xref">OPTION_S46_PORTPARAMS (93) to Softwire46-PORTPARAMS Field Mappings</a><a href="#section-boilerplate.3-1.9.2.5.1" class="pilcrow">¶</a></p>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.9.2.6">
<p id="section-boilerplate.3-1.9.2.6.1"><a href="#section-a.6" class="xref">A.6</a>. <a href="#name-option_s46_priority-111-to-" class="xref">OPTION_S46_PRIORITY (111) to Softwire46-PORTPARAMS Field Mappings</a><a href="#section-boilerplate.3-1.9.2.6.1" class="pilcrow">¶</a></p>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.9.2.7">
<p id="section-boilerplate.3-1.9.2.7.1"><a href="#section-a.7" class="xref">A.7</a>. <a href="#name-option_v6_prefix64-113-to-s" class="xref">OPTION_V6_PREFIX64 (113) to Softwire46-Multicast Attribute Field Mappings</a><a href="#section-boilerplate.3-1.9.2.7.1" class="pilcrow">¶</a></p>
</li>
</ul>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.10">
<p id="section-boilerplate.3-1.10.1"><a href="#section-appendix.b" class="xref"></a><a href="#name-acknowledgements" class="xref">Acknowledgements</a><a href="#section-boilerplate.3-1.10.1" class="pilcrow">¶</a></p>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.11">
<p id="section-boilerplate.3-1.11.1"><a href="#section-appendix.c" class="xref"></a><a href="#name-contributors" class="xref">Contributors</a><a href="#section-boilerplate.3-1.11.1" class="pilcrow">¶</a></p>
</li>
<li class="toc ulEmpty" id="section-boilerplate.3-1.12">
<p id="section-boilerplate.3-1.12.1"><a href="#section-appendix.d" class="xref"></a><a href="#name-authors-addresses" class="xref">Authors' Addresses</a><a href="#section-boilerplate.3-1.12.1" class="pilcrow">¶</a></p>
</li>
</ul>
</nav>
</section>
</div>
<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">Providers have started deploying and transitioning to IPv6. Several
IPv4 service continuity mechanisms based on Address plus Port (A+P)
<span>[<a href="#RFC6346" class="xref">RFC6346</a>]</span> have been proposed for providing unicast
IPv4-over-IPv6-only infrastructure, such as Mapping of Address and Port
with Encapsulation (MAP-E) <span>[<a href="#RFC7597" class="xref">RFC7597</a>]</span>, Mapping of
Address and Port using Translation (MAP-T) <span>[<a href="#RFC7599" class="xref">RFC7599</a>]</span>, and Lightweight 4over6 <span>[<a href="#RFC7596" class="xref">RFC7596</a>]</span>. Also, <span>[<a href="#RFC8114" class="xref">RFC8114</a>]</span> specifies
a generic solution for the delivery of IPv4 multicast services to IPv4
clients over an IPv6 multicast network. For each of these mechanisms,
DHCPv6 options have been specified for client configuration.<a href="#section-1-1" class="pilcrow">¶</a></p>
<p id="section-1-2">In many networks, user configuration information is stored in an
Authentication, Authorization, and Accounting (AAA) server. AAA servers
generally communicate using the Remote Authentication Dial In User
Service (RADIUS) <span>[<a href="#RFC2865" class="xref">RFC2865</a>]</span> protocol. In a fixed
broadband network, a Broadband Network Gateway (BNG) acts as the access
gateway for users. That is, the BNG acts as both a AAA client to the
AAA server and a DHCPv6 server for DHCPv6 messages sent by clients.
Throughout this document, the term "BNG" describes a device implementing
both the AAA client and DHCPv6 server functions.<a href="#section-1-2" class="pilcrow">¶</a></p>
<p id="section-1-3">Since IPv4-in-IPv6 softwire configuration information is stored in a
AAA server and user configuration information is mainly transmitted
through DHCPv6 between the BNGs and Customer Premises Equipment (CEs,
a.k.a., CPE), new RADIUS attributes are needed to propagate the
information from the AAA servers to BNGs so that they can be provided to
CEs using the existing DHCPv6 options.<a href="#section-1-3" class="pilcrow">¶</a></p>
<p id="section-1-4">The RADIUS attributes defined in this document provide the configuration
to populate the corresponding DHCPv6 options for unicast and multicast
softwire configurations, specifically:<a href="#section-1-4" class="pilcrow">¶</a></p>
<ul>
<li id="section-1-5.1">"Mapping of Address and Port with Encapsulation (MAP-E)" <span>[<a href="#RFC7597" class="xref">RFC7597</a>]</span> (DHCPv6 options defined in <span>[<a href="#RFC7598" class="xref">RFC7598</a>]</span>).<a href="#section-1-5.1" class="pilcrow">¶</a>
</li>
<li id="section-1-5.2">"Mapping of Address and Port using Translation (MAP-T)" <span>[<a href="#RFC7599" class="xref">RFC7599</a>]</span> (DHCPv6 options defined in <span>[<a href="#RFC7598" class="xref">RFC7598</a>]</span>).<a href="#section-1-5.2" class="pilcrow">¶</a>
</li>
<li id="section-1-5.3">"Lightweight 4over6: An Extension to the Dual-Stack Lite
Architecture" <span>[<a href="#RFC7596" class="xref">RFC7596</a>]</span> (DHCPv6 options defined
in <span>[<a href="#RFC7598" class="xref">RFC7598</a>]</span>).<a href="#section-1-5.3" class="pilcrow">¶</a>
</li>
<li id="section-1-5.4">"Unified IPv4-in-IPv6 Softwire Customer Premises Equipment (CPE):
A DHCPv6-Based Prioritization Mechanism" <span>[<a href="#RFC8026" class="xref">RFC8026</a>]</span>.<a href="#section-1-5.4" class="pilcrow">¶</a>
</li>
<li id="section-1-5.5">"Delivery of IPv4 Multicast Services to IPv4 Clients over an IPv6
Multicast Network" <span>[<a href="#RFC8114" class="xref">RFC8114</a>]</span> (DHCPv6 options
defined in <span>[<a href="#RFC8115" class="xref">RFC8115</a>]</span>).<a href="#section-1-5.5" class="pilcrow">¶</a>
</li>
</ul>
<p id="section-1-6">The contents of the attributes defined in this document have a 1:1
mapping into the fields of the various DHCPv6 options in <span>[<a href="#RFC7598" class="xref">RFC7598</a>]</span>, <span>[<a href="#RFC8026" class="xref">RFC8026</a>]</span>, and <span>[<a href="#RFC8115" class="xref">RFC8115</a>]</span>. <a href="#Table1" class="xref">Table 1</a> shows how the DHCPv6 options map to
the corresponding RADIUS attribute. For detailed mappings between each
DHCPv6 option field and the corresponding RADIUS attribute or field, see
<a href="#tlv-field-map" class="xref">Appendix A</a>.<a href="#section-1-6" class="pilcrow">¶</a></p>
<span id="name-mapping-between-dhcpv6-opti"></span><div id="Table1">
<table class="center" id="table-1">
<caption>
<a href="#table-1" class="selfRef">Table 1</a>:
<a href="#name-mapping-between-dhcpv6-opti" class="selfRef">Mapping between DHCPv6 Options and RADIUS Attributes</a>
</caption>
<thead>
<tr>
<th class="text-left" rowspan="1" colspan="1">DHCPv6 Option</th>
<th class="text-left" rowspan="1" colspan="1">RADIUS Attribute</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-left" rowspan="1" colspan="1"> OPTION_S46_RULE (89)</td>
<td class="text-left" rowspan="1" colspan="1"> Softwire46-Rule</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1"> OPTION_S46_BR (90)</td>
<td class="text-left" rowspan="1" colspan="1"> Softwire46-BR</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1"> OPTION_S46_DMR (91)</td>
<td class="text-left" rowspan="1" colspan="1"> Softwire46-DMR</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1"> OPTION_S46_V4V6BIND (92)</td>
<td class="text-left" rowspan="1" colspan="1"> Softwire46-V4V6Bind</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1"> OPTION_S46_PORTPARAMS (93)</td>
<td class="text-left" rowspan="1" colspan="1"> Softwire46-PORTPARAMS</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1"> OPTION_S46_PRIORITY (111)</td>
<td class="text-left" rowspan="1" colspan="1"> Softwire46-Priority</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1"> OPTION_V6_PREFIX64 (113)</td>
<td class="text-left" rowspan="1" colspan="1"> Softwire46-Multicast</td>
</tr>
</tbody>
</table>
</div>
<p id="section-1-8">A RADIUS attribute for Dual-Stack Lite <span>[<a href="#RFC6333" class="xref">RFC6333</a>]</span>
is defined in <span>[<a href="#RFC6519" class="xref">RFC6519</a>]</span>.<a href="#section-1-8" class="pilcrow">¶</a></p>
<p id="section-1-9">This document targets deployments where a trusted relationship is in
place between the RADIUS client and server.<a href="#section-1-9" class="pilcrow">¶</a></p>
</section>
<section id="section-2">
<h2 id="name-terminology">
<a href="#section-2" class="section-number selfRef">2. </a><a href="#name-terminology" class="section-name selfRef">Terminology</a>
</h2>
<p id="section-2-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-2-1" class="pilcrow">¶</a></p>
<p id="section-2-2">The reader should be familiar with the concepts and terms defined in
<span>[<a href="#RFC7596" class="xref">RFC7596</a>]</span>, <span>[<a href="#RFC7597" class="xref">RFC7597</a>]</span>, <span>[<a href="#RFC7599" class="xref">RFC7599</a>]</span>, and <span>[<a href="#RFC8026" class="xref">RFC8026</a>]</span>.<a href="#section-2-2" class="pilcrow">¶</a></p>
<p id="section-2-3">The terms "multicast Basic Bridging BroadBand" element (mB4) and
"multicast Address Family Transition Router" element (mAFTR) are defined
in <span>[<a href="#RFC8114" class="xref">RFC8114</a>]</span>.<a href="#section-2-3" class="pilcrow">¶</a></p>
<p id="section-2-4">Softwire46 (S46) is used throughout to denote any of the IPv4-in-IPv6
softwire mechanisms listed above. Additionally, the following
abbreviations are used within the document:<a href="#section-2-4" class="pilcrow">¶</a></p>
<dl class="dlParallel" id="section-2-5">
<dt id="section-2-5.1">BNG:</dt>
<dd style="margin-left: 5.0em" id="section-2-5.2">Broadband Network Gateway<a href="#section-2-5.2" class="pilcrow">¶</a>
</dd>
<dt id="section-2-5.3">BR:</dt>
<dd style="margin-left: 5.0em" id="section-2-5.4">Border Relay<a href="#section-2-5.4" class="pilcrow">¶</a>
</dd>
<dt id="section-2-5.5">CE:</dt>
<dd style="margin-left: 5.0em" id="section-2-5.6">Customer Edge<a href="#section-2-5.6" class="pilcrow">¶</a>
</dd>
<dt id="section-2-5.7">CoA:</dt>
<dd style="margin-left: 5.0em" id="section-2-5.8">Change-of-Authorization<a href="#section-2-5.8" class="pilcrow">¶</a>
</dd>
<dt id="section-2-5.9">DMR:</dt>
<dd style="margin-left: 5.0em" id="section-2-5.10">Default Mapping Rule<a href="#section-2-5.10" class="pilcrow">¶</a>
</dd>
<dt id="section-2-5.11">EA:</dt>
<dd style="margin-left: 5.0em" id="section-2-5.12">Embedded Address<a href="#section-2-5.12" class="pilcrow">¶</a>
</dd>
<dt id="section-2-5.13">lwAFTR:</dt>
<dd style="margin-left: 5.0em" id="section-2-5.14">Lightweight Address Family Transition Router<a href="#section-2-5.14" class="pilcrow">¶</a>
</dd>
<dt id="section-2-5.15">MAP-E:</dt>
<dd style="margin-left: 5.0em" id="section-2-5.16">Mapping of Address and Port with Encapsulation<a href="#section-2-5.16" class="pilcrow">¶</a>
</dd>
<dt id="section-2-5.17">MAP-T:</dt>
<dd style="margin-left: 5.0em" id="section-2-5.18">Mapping of Address and Port using Translation<a href="#section-2-5.18" class="pilcrow">¶</a>
</dd>
<dt id="section-2-5.19">PSID:</dt>
<dd style="margin-left: 5.0em" id="section-2-5.20">Port Set Identifier<a href="#section-2-5.20" class="pilcrow">¶</a>
</dd>
<dt id="section-2-5.21">TLV:</dt>
<dd style="margin-left: 5.0em" id="section-2-5.22">Type, Length, Value<a href="#section-2-5.22" class="pilcrow">¶</a>
</dd>
</dl>
</section>
<section id="section-3">
<h2 id="name-new-radius-attributes">
<a href="#section-3" class="section-number selfRef">3. </a><a href="#name-new-radius-attributes" class="section-name selfRef">New RADIUS Attributes</a>
</h2>
<p id="section-3-1">This section defines the following attributes:<a href="#section-3-1" class="pilcrow">¶</a></p>
<ol start="1" type="1" class="normal" id="section-3-2">
<li id="section-3-2.1">
<p id="section-3-2.1.1">Softwire46-Configuration Attribute (<a href="#conf-attr" class="xref">Section 3.1</a>):<a href="#section-3-2.1.1" class="pilcrow">¶</a></p>
<p id="section-3-2.1.2">This attribute
carries the configuration information for MAP-E, MAP-T, and
Lightweight 4over6. The configuration information for each
Softwire46 mechanism is carried in the corresponding Softwire46
attributes. Different attributes are required for each Softwire46
mechanism.<a href="#section-3-2.1.2" class="pilcrow">¶</a></p>
</li>
<li id="section-3-2.2">
<p id="section-3-2.2.1">Softwire46-Priority Attribute (<a href="#s46-prio-attr" class="xref">Section 3.2</a>):<a href="#section-3-2.2.1" class="pilcrow">¶</a></p>
<p id="section-3-2.2.2">Depending
on the deployment scenario, a client may support several different
Softwire46 mechanisms. Therefore, a client may request configuration
for more than one Softwire46 mechanism at a time. The
Softwire46-Priority Attribute contains information allowing the
client to prioritize which mechanism to use, corresponding to
OPTION_S46_PRIORITY defined in <span>[<a href="#RFC8026" class="xref">RFC8026</a>]</span>.<a href="#section-3-2.2.2" class="pilcrow">¶</a></p>
</li>
<li id="section-3-2.3">
<p id="section-3-2.3.1">Softwire46-Multicast Attribute (<a href="#s46-mcast-attr" class="xref">Section 3.3</a>):<a href="#section-3-2.3.1" class="pilcrow">¶</a></p>
<p id="section-3-2.3.2">This
attribute conveys the IPv6 prefixes to be used in <span>[<a href="#RFC8114" class="xref">RFC8114</a>]</span> to synthesize IPv4-embedded IPv6 addresses.
The BNG uses the IPv6 prefixes returned in the RADIUS
Softwire46-Multicast Attribute to populate the DHCPv6 PREFIX64
Option <span>[<a href="#RFC8115" class="xref">RFC8115</a>]</span>.<a href="#section-3-2.3.2" class="pilcrow">¶</a></p>
</li>
</ol>
<p id="section-3-3">All of these attributes are allocated from the RADIUS "Extended Type"
code space per <span>[<a href="#RFC6929" class="xref">RFC6929</a>]</span>.<a href="#section-3-3" class="pilcrow">¶</a></p>
<p id="section-3-4">All of these attribute designs follow <span>[<a href="#RFC6158" class="xref">RFC6158</a>]</span>
and <span>[<a href="#RFC6929" class="xref">RFC6929</a>]</span>.<a href="#section-3-4" class="pilcrow">¶</a></p>
<p id="section-3-5">This document adheres to the guidance in <span>[<a href="#RFC8044" class="xref">RFC8044</a>]</span> for defining
new RADIUS attributes.<a href="#section-3-5" class="pilcrow">¶</a></p>
<div id="conf-attr">
<section id="section-3.1">
<h3 id="name-softwire46-configuration-at">
<a href="#section-3.1" class="section-number selfRef">3.1. </a><a href="#name-softwire46-configuration-at" class="section-name selfRef">Softwire46-Configuration Attribute</a>
</h3>
<p id="section-3.1-1">This attribute is of type "tlv", as defined in "Remote Authentication Dial-In User Service (RADIUS) Protocol
Extensions" <span>[<a href="#RFC6929" class="xref">RFC6929</a>]</span>. It contains some
sub-attributes, with the following requirements:<a href="#section-3.1-1" class="pilcrow">¶</a></p>
<ul>
<li id="section-3.1-2.1">The Softwire46-Configuration Attribute <span class="bcp14">MUST</span> contain one or more
of the following attributes: Softwire46-MAP-E, Softwire46-MAP-T,
and/or Softwire46-Lightweight-4over6.<a href="#section-3.1-2.1" class="pilcrow">¶</a>
</li>
<li id="section-3.1-2.2">The Softwire46-Configuration Attribute conveys the
configuration information for MAP-E, MAP-T, or Lightweight 4over6.
The BNG <span class="bcp14">SHALL</span> use the configuration information returned in the
RADIUS attribute to populate the DHCPv6 Softwire46 container
option(s) defined in <span><a href="https://www.rfc-editor.org/rfc/rfc7598#section-5" class="relref">Section 5</a> of [<a href="#RFC7598" class="xref">RFC7598</a>]</span>.<a href="#section-3.1-2.2" class="pilcrow">¶</a>
</li>
<li id="section-3.1-2.3">The Softwire46-Configuration Attribute <span class="bcp14">MAY</span> appear in an
Access-Accept packet. It <span class="bcp14">MAY</span> also appear in an Access-Request
packet to indicate a preferred Softwire46 configuration. However,
the server is not required to honor such a preference.<a href="#section-3.1-2.3" class="pilcrow">¶</a>
</li>
<li id="section-3.1-2.4">The Softwire46-Configuration Attribute <span class="bcp14">MAY</span> appear in a
CoA-Request packet.<a href="#section-3.1-2.4" class="pilcrow">¶</a>
</li>
<li id="section-3.1-2.5">The Softwire46-Configuration Attribute <span class="bcp14">MAY</span> appear in an
Accounting-Request packet.<a href="#section-3.1-2.5" class="pilcrow">¶</a>
</li>
<li id="section-3.1-2.6">The Softwire46-Configuration Attribute <span class="bcp14">MUST NOT</span> appear in any
other RADIUS packet.<a href="#section-3.1-2.6" class="pilcrow">¶</a>
</li>
</ul>
<p id="section-3.1-3">The Softwire46-Configuration Attribute is structured as
follows:<a href="#section-3.1-3" class="pilcrow">¶</a></p>
<dl class="dlNewline" id="section-3.1-4">
<dt id="section-3.1-4.1">Type</dt>
<dd id="section-3.1-4.2">241<a href="#section-3.1-4.2" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1-4.3">Length</dt>
<dd id="section-3.1-4.4">
Indicates the total length, in bytes, of all fields of
this attribute, including the Type, Length, Extended-Type,
and the entire length of the embedded attributes.<a href="#section-3.1-4.4" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1-4.5">Extended-Type</dt>
<dd id="section-3.1-4.6">9<a href="#section-3.1-4.6" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1-4.7">Value</dt>
<dd id="section-3.1-4.8">
<p id="section-3.1-4.8.1">
Contains one or more of the following attributes. Each attribute
type may appear once at most:<a href="#section-3.1-4.8.1" class="pilcrow">¶</a></p>
<dl class="dlNewline" id="section-3.1-4.8.2">
<dt id="section-3.1-4.8.2.1">Softwire46-MAP-E</dt>
<dd id="section-3.1-4.8.2.2">
For configuring MAP-E clients. For the construction of
this attribute, refer to <a href="#etlv" class="xref">Section 3.1.1.1</a>.<a href="#section-3.1-4.8.2.2" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1-4.8.2.3">Softwire46-MAP-T</dt>
<dd id="section-3.1-4.8.2.4">
For configuring MAP-T clients. For the construction of
this attribute, refer to <a href="#ttlv" class="xref">Section 3.1.1.2</a>.<a href="#section-3.1-4.8.2.4" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1-4.8.2.5">Softwire46-Lightweight-4over6</dt>
<dd id="section-3.1-4.8.2.6">
For configuring Lightweight 4over6 clients. For the
construction of this attribute, refer to <a href="#ltlv" class="xref">Section 3.1.1.3</a>.<a href="#section-3.1-4.8.2.6" class="pilcrow">¶</a>
</dd>
</dl>
</dd>
</dl>
<p id="section-3.1-5">The Softwire46-Configuration Attribute is associated with the
following identifier: 241.9.<a href="#section-3.1-5" class="pilcrow">¶</a></p>
<div id="s46-tlvs">
<section id="section-3.1.1">
<h4 id="name-softwire46-attributes">
<a href="#section-3.1.1" class="section-number selfRef">3.1.1. </a><a href="#name-softwire46-attributes" class="section-name selfRef">Softwire46 Attributes</a>
</h4>
<p id="section-3.1.1-1">The Softwire46 attributes can only be encapsulated in the
Softwire46-Configuration Attribute. Depending on the deployment
scenario, a client might request more than one transition
mechanism at a time. There <span class="bcp14">MUST</span> be at least one Softwire46 attribute
encapsulated in one Softwire46-Configuration Attribute. There <span class="bcp14">MUST</span>
be at most one instance of each type of Softwire46 attribute
encapsulated in one Softwire46-Configuration Attribute.<a href="#section-3.1.1-1" class="pilcrow">¶</a></p>
<p id="section-3.1.1-2">There are three types of Softwire46 attributes, namely:<a href="#section-3.1.1-2" class="pilcrow">¶</a></p>
<ol start="1" type="1" class="normal" id="section-3.1.1-3">
<li id="section-3.1.1-3.1">Softwire46-MAP-E (<a href="#etlv" class="xref">Section 3.1.1.1</a>)<a href="#section-3.1.1-3.1" class="pilcrow">¶</a>
</li>
<li id="section-3.1.1-3.2">Softwire46-MAP-T (<a href="#ttlv" class="xref">Section 3.1.1.2</a>)<a href="#section-3.1.1-3.2" class="pilcrow">¶</a>
</li>
<li id="section-3.1.1-3.3">Softwire46-Lightweight 4over6 (<a href="#ltlv" class="xref">Section 3.1.1.3</a>)<a href="#section-3.1.1-3.3" class="pilcrow">¶</a>
</li>
</ol>
<p id="section-3.1.1-4">Each type of Softwire46 attribute contains a number of
sub-attributes, defined in <a href="#s46-sub-tlv-format" class="xref">Section 3.1.3</a>. The hierarchy of the Softwire46
attributes is shown in <a href="#Hierar" class="xref">Figure 1</a>. <a href="#s46-sub-tlvs" class="xref">Section 3.1.2</a> describes which sub-attributes are
mandatory, optional, or not permitted for each defined Softwire46
attribute.<a href="#section-3.1.1-4" class="pilcrow">¶</a></p>
<span id="name-softwire46-attribute-hierar"></span><div id="Hierar">
<figure id="figure-1">
<div class="artwork art-text alignLeft" id="section-3.1.1-5.1">
<pre>
/1.Rule-IPv6-Prefix
S / |
o / | 1.Softwire46-Rule --+ 2.Rule-IPv4-Prefix
f | Softwire46-MAP-E--+ |
t | | 2.Softwire46-BR | 3.EA-Length
w | | \
i | | /1.PSID-Offset
r | | |
e | | 3.Softwire46-PORTPARAMS -----+ 2.PSID-Len
4 | \ |
6 | | 3.PSID
- | \
C |
o | /1.Rule-IPv6-Prefix
n | / |
f | | 1.Softwire46-Rule---+ 2.Rule-IPv4-Prefix
i | Softwire46-MAP-T--+ |
g | | 2.Softwire46-DMR | 3.EA-Length
u | | \
r | | /1.PSID-Offset
a | | |
t | | 3.Softwire46-PORTPARAMS------+ 2.PSID-Len
i | \ |
o | | 3.PSID
n | \
|
A | /1.IPv4-Address
t | / |
t | | 1.Softwire46-V4V6Bind --+ 2.Bind-IPv6-Prefix
r | Softwire46- | \
i | Lightweight-4over6+ 2.Softwire46-BR /1.PSID-Offset
b \ | |
u | 3.Softwire46-PORTPARAMS ----+ 2.PSID-Len
t \ |
e | 3.PSID
\ </pre>
</div>
<figcaption><a href="#figure-1" class="selfRef">Figure 1</a>:
<a href="#name-softwire46-attribute-hierar" class="selfRef">Softwire46 Attribute Hierarchy</a>
</figcaption></figure>
</div>
<div id="etlv">
<section id="section-3.1.1.1">
<h5 id="name-softwire46-map-e-attribute">
<a href="#section-3.1.1.1" class="section-number selfRef">3.1.1.1. </a><a href="#name-softwire46-map-e-attribute" class="section-name selfRef">Softwire46-MAP-E Attribute</a>
</h5>
<p id="section-3.1.1.1-1"> The Softwire46-MAP-E attribute is designed to carry the
configuration information for MAP-E. The structure of
Softwire46-MAP-E is shown below:<a href="#section-3.1.1.1-1" class="pilcrow">¶</a></p>
<dl class="dlNewline" id="section-3.1.1.1-2">
<dt id="section-3.1.1.1-2.1">TLV-Type</dt>
<dd id="section-3.1.1.1-2.2">
1<a href="#section-3.1.1.1-2.2" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.1.1-2.3">TLV-Length</dt>
<dd id="section-3.1.1.1-2.4">
Indicates the length of this attribute, including
the TLV-Type, TLV-Length, and TLV-Value fields.<a href="#section-3.1.1.1-2.4" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.1.1-2.5">TLV-Value</dt>
<dd id="section-3.1.1.1-2.6">
<p id="section-3.1.1.1-2.6.1">
Contains a set of sub-attributes, with the following requirements:<a href="#section-3.1.1.1-2.6.1" class="pilcrow">¶</a></p>
<p id="section-3.1.1.1-2.6.2">
It <span class="bcp14">MUST</span> contain Softwire46-Rule, defined in <a href="#s46-rule-sub-tlv" class="xref">Section 3.1.3.1</a>.<a href="#section-3.1.1.1-2.6.2" class="pilcrow">¶</a></p>
<p id="section-3.1.1.1-2.6.3">
It <span class="bcp14">MUST</span> contain Softwire46-BR, defined in <a href="#s46br" class="xref">Section 3.1.3.2</a>.<a href="#section-3.1.1.1-2.6.3" class="pilcrow">¶</a></p>
<p id="section-3.1.1.1-2.6.4">
It <span class="bcp14">MAY</span> contain Softwire46-PORTPARAMS, defined in <a href="#s46param" class="xref">Section 3.1.3.5</a>.<a href="#section-3.1.1.1-2.6.4" class="pilcrow">¶</a></p>
</dd>
</dl>
</section>
</div>
<div id="ttlv">
<section id="section-3.1.1.2">
<h5 id="name-softwire46-map-t-attribute">
<a href="#section-3.1.1.2" class="section-number selfRef">3.1.1.2. </a><a href="#name-softwire46-map-t-attribute" class="section-name selfRef">Softwire46-MAP-T Attribute</a>
</h5>
<p id="section-3.1.1.2-1">The Softwire46-MAP-T attribute is designed to carry the
configuration information for MAP-T. The structure of
Softwire46-MAP-T is shown below:<a href="#section-3.1.1.2-1" class="pilcrow">¶</a></p>
<dl class="dlNewline" id="section-3.1.1.2-2">
<dt id="section-3.1.1.2-2.1">TLV-Type</dt>
<dd id="section-3.1.1.2-2.2">
2<a href="#section-3.1.1.2-2.2" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.1.2-2.3">TLV-Length</dt>
<dd id="section-3.1.1.2-2.4">
Indicates the length of this attribute, including
the TLV-Type, TLV-Length, and TLV-Value fields.<a href="#section-3.1.1.2-2.4" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.1.2-2.5">TLV-Value</dt>
<dd id="section-3.1.1.2-2.6">
<p id="section-3.1.1.2-2.6.1">
Contains a set of sub-attributes, with the following requirements:<a href="#section-3.1.1.2-2.6.1" class="pilcrow">¶</a></p>
<p id="section-3.1.1.2-2.6.2">
It <span class="bcp14">MUST</span> contain Softwire46-Rule, defined in <a href="#s46-rule-sub-tlv" class="xref">Section 3.1.3.1</a>.<a href="#section-3.1.1.2-2.6.2" class="pilcrow">¶</a></p>
<p id="section-3.1.1.2-2.6.3">
It <span class="bcp14">MUST</span> contain Softwire46-DMR, defined in <a href="#s46dmr" class="xref">Section 3.1.3.3</a>.<a href="#section-3.1.1.2-2.6.3" class="pilcrow">¶</a></p>
<p id="section-3.1.1.2-2.6.4">
It <span class="bcp14">MAY</span> contain Softwire46-PORTPARAMS, defined in <a href="#s46param" class="xref">Section 3.1.3.5</a>.<a href="#section-3.1.1.2-2.6.4" class="pilcrow">¶</a></p>
</dd>
</dl>
</section>
</div>
<div id="ltlv">
<section id="section-3.1.1.3">
<h5 id="name-softwire46-lightweight-4ove">
<a href="#section-3.1.1.3" class="section-number selfRef">3.1.1.3. </a><a href="#name-softwire46-lightweight-4ove" class="section-name selfRef">Softwire46-Lightweight-4over6 Attribute</a>
</h5>
<p id="section-3.1.1.3-1">The Softwire46-Lightweight-4over6 attribute is designed to
carry the configuration information for Lightweight 4over6. The
structure of Softwire46-Lightweight-4over6 is shown below:<a href="#section-3.1.1.3-1" class="pilcrow">¶</a></p>
<dl class="dlNewline" id="section-3.1.1.3-2">
<dt id="section-3.1.1.3-2.1">TLV-Type</dt>
<dd id="section-3.1.1.3-2.2">
3<a href="#section-3.1.1.3-2.2" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.1.3-2.3">TLV-Length</dt>
<dd id="section-3.1.1.3-2.4">
Indicates the length of this attribute, including
the TLV-Type, TLV-Length, and TLV-Value fields.<a href="#section-3.1.1.3-2.4" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.1.3-2.5">TLV-Value</dt>
<dd id="section-3.1.1.3-2.6">
<p id="section-3.1.1.3-2.6.1">
Contains a set of sub-attributes as follows:<a href="#section-3.1.1.3-2.6.1" class="pilcrow">¶</a></p>
<p id="section-3.1.1.3-2.6.2">
It <span class="bcp14">MUST</span> contain Softwire46-BR, defined in <a href="#s46br" class="xref">Section 3.1.3.2</a>.<a href="#section-3.1.1.3-2.6.2" class="pilcrow">¶</a></p>
<p id="section-3.1.1.3-2.6.3">
It <span class="bcp14">MUST</span> contain Softwire46-V4V6Bind, defined in <a href="#s46bind" class="xref">Section 3.1.3.4</a>.<a href="#section-3.1.1.3-2.6.3" class="pilcrow">¶</a></p>
<p id="section-3.1.1.3-2.6.4">
It <span class="bcp14">MAY</span> contain Softwire46-PORTPARAMS, defined in <a href="#s46param" class="xref">Section 3.1.3.5</a>.<a href="#section-3.1.1.3-2.6.4" class="pilcrow">¶</a></p>
</dd>
</dl>
</section>
</div>
</section>
</div>
<div id="s46-sub-tlvs">
<section id="section-3.1.2">
<h4 id="name-softwire46-sub-attributes">
<a href="#section-3.1.2" class="section-number selfRef">3.1.2. </a><a href="#name-softwire46-sub-attributes" class="section-name selfRef">Softwire46 Sub-attributes</a>
</h4>
<p id="section-3.1.2-1"><a href="#Table2" class="xref">Table 2</a> shows which encapsulated sub-attributes are mandatory,
optional, or not permitted for each defined Softwire46
attribute.<a href="#section-3.1.2-1" class="pilcrow">¶</a></p>
<span id="name-softwire46-sub-attributes-2"></span><div id="Table2">
<table class="center" id="table-2">
<caption>
<a href="#table-2" class="selfRef">Table 2</a>:
<a href="#name-softwire46-sub-attributes-2" class="selfRef">Softwire46 Sub-attributes</a>
</caption>
<thead>
<tr>
<th class="text-left" rowspan="1" colspan="1">Sub-attributes</th>
<th class="text-left" rowspan="1" colspan="1">MAP-E</th>
<th class="text-left" rowspan="1" colspan="1">MAP-T</th>
<th class="text-left" rowspan="1" colspan="1">Lightweight 4over6</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-left" rowspan="1" colspan="1">Softwire46-BR</td>
<td class="text-left" rowspan="1" colspan="1"> 1+</td>
<td class="text-left" rowspan="1" colspan="1"> 0</td>
<td class="text-left" rowspan="1" colspan="1"> 1+</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">Softwire46-Rule</td>
<td class="text-left" rowspan="1" colspan="1"> 1</td>
<td class="text-left" rowspan="1" colspan="1"> 1</td>
<td class="text-left" rowspan="1" colspan="1"> 0</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">Softwire46-DMR</td>
<td class="text-left" rowspan="1" colspan="1"> 0</td>
<td class="text-left" rowspan="1" colspan="1"> 1</td>
<td class="text-left" rowspan="1" colspan="1"> 0</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1"> Softwire46-V4V6Bind</td>
<td class="text-left" rowspan="1" colspan="1"> 0</td>
<td class="text-left" rowspan="1" colspan="1"> 0</td>
<td class="text-left" rowspan="1" colspan="1"> 1</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1"> Softwire46-PORTPARAMS</td>
<td class="text-left" rowspan="1" colspan="1"> 0-1</td>
<td class="text-left" rowspan="1" colspan="1"> 0-1</td>
<td class="text-left" rowspan="1" colspan="1"> 0-1</td>
</tr>
</tbody>
</table>
</div>
<p id="section-3.1.2-3">The following list defines the meaning of the <a href="#Table2" class="xref">Table 2</a> entries.<a href="#section-3.1.2-3" class="pilcrow">¶</a></p>
<dl class="dlParallel dlCompact" id="section-3.1.2-4">
<dt id="section-3.1.2-4.1">0</dt>
<dd style="margin-left: 3.0em" id="section-3.1.2-4.2">Not permitted<a href="#section-3.1.2-4.2" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.2-4.3">0-1</dt>
<dd style="margin-left: 3.0em" id="section-3.1.2-4.4">Optional; zero or one instance of the attribute may be present.<a href="#section-3.1.2-4.4" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.2-4.5">1</dt>
<dd style="margin-left: 3.0em" id="section-3.1.2-4.6">Mandatory; only one instance of the attribute must be present.<a href="#section-3.1.2-4.6" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.2-4.7">1+</dt>
<dd style="margin-left: 3.0em" id="section-3.1.2-4.8">Mandatory; one or more instances of the attribute may be present.<a href="#section-3.1.2-4.8" class="pilcrow">¶</a>
</dd>
</dl>
</section>
</div>
<div id="s46-sub-tlv-format">
<section id="section-3.1.3">
<h4 id="name-specification-of-the-softwi">
<a href="#section-3.1.3" class="section-number selfRef">3.1.3. </a><a href="#name-specification-of-the-softwi" class="section-name selfRef">Specification of the Softwire46 Sub-attributes</a>
</h4>
<div id="s46-rule-sub-tlv">
<section id="section-3.1.3.1">
<h5 id="name-softwire46-rule-attribute">
<a href="#section-3.1.3.1" class="section-number selfRef">3.1.3.1. </a><a href="#name-softwire46-rule-attribute" class="section-name selfRef">Softwire46-Rule Attribute</a>
</h5>
<p id="section-3.1.3.1-1">Softwire46-Rule can only be encapsulated in Softwire46-MAP-E
(<a href="#etlv" class="xref">Section 3.1.1.1</a>) or Softwire46-MAP-T (<a href="#ttlv" class="xref">Section 3.1.1.2</a>). Depending on the deployment scenario, one Basic Mapping Rule (BMR) and zero or more Forwarding Mapping Rules (FMRs) <span class="bcp14">MUST</span> be included in Softwire46-MAP-E and Softwire46-MAP-T.<a href="#section-3.1.3.1-1" class="pilcrow">¶</a></p>
<p id="section-3.1.3.1-2">Each type of Softwire46-Rule also contains a number of
sub-attributes, including Rule-IPv6-Prefix, Rule-IPv4-Prefix, and
EA-Length. The structure of the sub-attributes for Softwire46-Rule
is defined in <a href="#s46-rule-sub-tlvs" class="xref">Section 3.1.4</a>.<a href="#section-3.1.3.1-2" class="pilcrow">¶</a></p>
<p id="section-3.1.3.1-3">Defining multiple TLV types achieves the same design goals as
the "Softwire46 Rule Flags" defined in <span><a href="https://www.rfc-editor.org/rfc/rfc7598#section-4.1" class="relref">Section 4.1</a> of [<a href="#RFC7598" class="xref">RFC7598</a>]</span>. Using a TLV type set to 5 is equivalent
to setting the F flag in the OPTION_S46_RULE S46 Rule Flags
field.<a href="#section-3.1.3.1-3" class="pilcrow">¶</a></p>
<dl class="dlNewline" id="section-3.1.3.1-4">
<dt id="section-3.1.3.1-4.1">TLV-Type</dt>
<dd id="section-3.1.3.1-4.2">
<p id="section-3.1.3.1-4.2.1">
4 Basic Mapping Rule only (not to be used for forwarding)<a href="#section-3.1.3.1-4.2.1" class="pilcrow">¶</a></p>
<p id="section-3.1.3.1-4.2.2">
5 Forwarding Permitted Mapping Rule<a href="#section-3.1.3.1-4.2.2" class="pilcrow">¶</a></p>
</dd>
<dt id="section-3.1.3.1-4.3">TLV-Length</dt>
<dd id="section-3.1.3.1-4.4">
Indicates the length of this attribute, including
the TLV-Type, TLV-Length, and TLV-Value fields.<a href="#section-3.1.3.1-4.4" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.3.1-4.5">Data Type</dt>
<dd id="section-3.1.3.1-4.6">
The attribute Softwire46-Rule is of type "tlv" (<span><a href="https://www.rfc-editor.org/rfc/rfc8044#section-3.13" class="relref">Section 3.13</a> of [<a href="#RFC8044" class="xref">RFC8044</a>]</span>).<a href="#section-3.1.3.1-4.6" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.3.1-4.7">TLV-Value</dt>
<dd id="section-3.1.3.1-4.8">
<p id="section-3.1.3.1-4.8.1">
This field contains a set of attributes as follows:<a href="#section-3.1.3.1-4.8.1" class="pilcrow">¶</a></p>
<dl class="dlNewline" id="section-3.1.3.1-4.8.2">
<dt id="section-3.1.3.1-4.8.2.1">Rule-IPv6-Prefix</dt>
<dd id="section-3.1.3.1-4.8.2.2">
This attribute contains the IPv6 prefix for use in the MAP rule.
Refer to <a href="#v6prefix" class="xref">Section 3.1.4.1</a>.<a href="#section-3.1.3.1-4.8.2.2" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.3.1-4.8.2.3">Rule-IPv4-Prefix</dt>
<dd id="section-3.1.3.1-4.8.2.4">
This attribute contains the IPv4 prefix for use in the MAP rule.
Refer to <a href="#v4prefix" class="xref">Section 3.1.4.2</a>.<a href="#section-3.1.3.1-4.8.2.4" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.3.1-4.8.2.5">EA-Length</dt>
<dd id="section-3.1.3.1-4.8.2.6">
This attribute contains the Embedded Address (EA) bit length.
Refer to <a href="#ea-length" class="xref">Section 3.1.4.3</a>.<a href="#section-3.1.3.1-4.8.2.6" class="pilcrow">¶</a>
</dd>
</dl>
</dd>
</dl>
</section>
</div>
<div id="s46br">
<section id="section-3.1.3.2">
<h5 id="name-softwire46-br-attribute">
<a href="#section-3.1.3.2" class="section-number selfRef">3.1.3.2. </a><a href="#name-softwire46-br-attribute" class="section-name selfRef">Softwire46-BR Attribute</a>
</h5>
<p id="section-3.1.3.2-1">Softwire46-BR can only be encapsulated in Softwire46-MAP-E
(<a href="#etlv" class="xref">Section 3.1.1.1</a>) or Softwire46-Lightweight-4over6
(<a href="#ltlv" class="xref">Section 3.1.1.3</a>).<a href="#section-3.1.3.2-1" class="pilcrow">¶</a></p>
<p id="section-3.1.3.2-2">There <span class="bcp14">MUST</span> be at least one Softwire46-BR included in each
Softwire46-MAP-E or Softwire46-Lightweight-4over6.<a href="#section-3.1.3.2-2" class="pilcrow">¶</a></p>
<p id="section-3.1.3.2-3">The structure of Softwire46-BR is shown below:<a href="#section-3.1.3.2-3" class="pilcrow">¶</a></p>
<dl class="dlNewline" id="section-3.1.3.2-4">
<dt id="section-3.1.3.2-4.1">TLV-Type</dt>
<dd id="section-3.1.3.2-4.2">
6<a href="#section-3.1.3.2-4.2" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.3.2-4.3">TLV-Length</dt>
<dd id="section-3.1.3.2-4.4">
18 octets<a href="#section-3.1.3.2-4.4" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.3.2-4.5">Data Type</dt>
<dd id="section-3.1.3.2-4.6">
The attribute Softwire46-BR is of type "ipv6addr" (<span><a href="https://www.rfc-editor.org/rfc/rfc8044#section-3.9" class="relref">Section 3.9</a> of [<a href="#RFC8044" class="xref">RFC8044</a>]</span>).<a href="#section-3.1.3.2-4.6" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.3.2-4.7">TLV-Value</dt>
<dd id="section-3.1.3.2-4.8">
br-ipv6-address. A fixed-length field of 16 octets that
specifies the IPv6 address for the Softwire46 Border Relay (BR).<a href="#section-3.1.3.2-4.8" class="pilcrow">¶</a>
</dd>
</dl>
</section>
</div>
<div id="s46dmr">
<section id="section-3.1.3.3">
<h5 id="name-softwire46-dmr-attribute">
<a href="#section-3.1.3.3" class="section-number selfRef">3.1.3.3. </a><a href="#name-softwire46-dmr-attribute" class="section-name selfRef">Softwire46-DMR Attribute</a>
</h5>
<p id="section-3.1.3.3-1">Softwire46-DMR may only appear in Softwire46-MAP-T (<a href="#ttlv" class="xref">Section 3.1.1.2</a>). There <span class="bcp14">MUST</span> be exactly one Softwire46-DMR
included in one Softwire46-MAP-T.<a href="#section-3.1.3.3-1" class="pilcrow">¶</a></p>
<p id="section-3.1.3.3-2">The structure of Softwire46-DMR is shown below:<a href="#section-3.1.3.3-2" class="pilcrow">¶</a></p>
<dl class="dlNewline" id="section-3.1.3.3-3">
<dt id="section-3.1.3.3-3.1">TLV-Type</dt>
<dd id="section-3.1.3.3-3.2">
7<a href="#section-3.1.3.3-3.2" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.3.3-3.3">TLV-Length</dt>
<dd id="section-3.1.3.3-3.4">
4 + length of dmr-ipv6-prefix specified in octets.<a href="#section-3.1.3.3-3.4" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.3.3-3.5">Data Type</dt>
<dd id="section-3.1.3.3-3.6">
The attribute Softwire46-DMR is of type "ipv6prefix" (<span><a href="https://www.rfc-editor.org/rfc/rfc8044#section-3.10" class="relref">Section 3.10</a> of [<a href="#RFC8044" class="xref">RFC8044</a>]</span>).<a href="#section-3.1.3.3-3.6" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.3.3-3.7">TLV-Value</dt>
<dd id="section-3.1.3.3-3.8">
A variable-length (dmr-prefix6-len) field
specifying the IPv6 prefix (dmr-ipv6-prefix) for the BR. This field
is right-padded with zeros to the nearest octet boundary when
dmr-prefix6-len is not divisible by 8. Prefixes with lengths from
0 to 96 are allowed.<a href="#section-3.1.3.3-3.8" class="pilcrow">¶</a>
</dd>
</dl>
</section>
</div>
<div id="s46bind">
<section id="section-3.1.3.4">
<h5 id="name-softwire46-v4v6bind-attribu">
<a href="#section-3.1.3.4" class="section-number selfRef">3.1.3.4. </a><a href="#name-softwire46-v4v6bind-attribu" class="section-name selfRef">Softwire46-V4V6Bind Attribute</a>
</h5>
<p id="section-3.1.3.4-1">Softwire46-V4V6Bind may only be encapsulated in
Softwire46-Lightweight-4over6 (<a href="#ltlv" class="xref">Section 3.1.1.3</a>). There
<span class="bcp14">MUST</span> be exactly one Softwire46-V4V6Bind included in each
Softwire46-Lightweight-4over6.<a href="#section-3.1.3.4-1" class="pilcrow">¶</a></p>
<p id="section-3.1.3.4-2">The structure of Softwire46-V4V6Bind is shown below:<a href="#section-3.1.3.4-2" class="pilcrow">¶</a></p>
<dl class="dlNewline" id="section-3.1.3.4-3">
<dt id="section-3.1.3.4-3.1">TLV-Type</dt>
<dd id="section-3.1.3.4-3.2">
8<a href="#section-3.1.3.4-3.2" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.3.4-3.3">TLV-Length</dt>
<dd id="section-3.1.3.4-3.4">
Indicates the length of this attribute, including
the TLV-Type, TLV-Length, and TLV-Value fields.<a href="#section-3.1.3.4-3.4" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.3.4-3.5">Data Type</dt>
<dd id="section-3.1.3.4-3.6">
The attribute Softwire46-V4V6Bind is of type "tlv" (<span><a href="https://www.rfc-editor.org/rfc/rfc8044#section-3.13" class="relref">Section 3.13</a> of [<a href="#RFC8044" class="xref">RFC8044</a>]</span>).<a href="#section-3.1.3.4-3.6" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.3.4-3.7">TLV-Value</dt>
<dd id="section-3.1.3.4-3.8">
<p id="section-3.1.3.4-3.8.1">
This field contains a set of attributes as follows:<a href="#section-3.1.3.4-3.8.1" class="pilcrow">¶</a></p>
<dl class="dlNewline" id="section-3.1.3.4-3.8.2">
<dt id="section-3.1.3.4-3.8.2.1">IPv4-Address</dt>
<dd id="section-3.1.3.4-3.8.2.2">
This attribute contains an IPv4 address, used to specify
the full or shared IPv4 address of the CE. Refer to
<a href="#v4address" class="xref">Section 3.1.5.1</a>.<a href="#section-3.1.3.4-3.8.2.2" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.3.4-3.8.2.3">Bind-IPv6-Prefix</dt>
<dd id="section-3.1.3.4-3.8.2.4">
This attribute contains an IPv6 prefix used to indicate which
configured prefix the Softwire46 CE should use for constructing
the softwire. Refer to <a href="#bindv6" class="xref">Section 3.1.5.2</a>.<a href="#section-3.1.3.4-3.8.2.4" class="pilcrow">¶</a>
</dd>
</dl>
</dd>
</dl>
</section>
</div>
<div id="s46param">
<section id="section-3.1.3.5">
<h5 id="name-softwire46-portparams-attri">
<a href="#section-3.1.3.5" class="section-number selfRef">3.1.3.5. </a><a href="#name-softwire46-portparams-attri" class="section-name selfRef">Softwire46-PORTPARAMS Attribute</a>
</h5>
<p id="section-3.1.3.5-1">Softwire46-PORTPARAMS is optional. It is used to specify port
set information for IPv4 address sharing between clients.
Softwire46-PORTPARAMS <span class="bcp14">MAY</span> be included in any of the Softwire46
attributes.<a href="#section-3.1.3.5-1" class="pilcrow">¶</a></p>
<p id="section-3.1.3.5-2">The structure of Softwire46-PORTPARAMS is shown below:<a href="#section-3.1.3.5-2" class="pilcrow">¶</a></p>
<dl class="dlNewline" id="section-3.1.3.5-3">
<dt id="section-3.1.3.5-3.1">TLV-Type</dt>
<dd id="section-3.1.3.5-3.2">
9<a href="#section-3.1.3.5-3.2" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.3.5-3.3">TLV-Length</dt>
<dd id="section-3.1.3.5-3.4">
Indicates the length of this attribute, including
the TLV-Type, TLV-Length, and TLV-Value fields.<a href="#section-3.1.3.5-3.4" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.3.5-3.5">Data Type</dt>
<dd id="section-3.1.3.5-3.6">
The attribute Softwire46-PORTPARAMS is of type "tlv" (<span><a href="https://www.rfc-editor.org/rfc/rfc8044#section-3.13" class="relref">Section 3.13</a> of [<a href="#RFC8044" class="xref">RFC8044</a>]</span>).<a href="#section-3.1.3.5-3.6" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.3.5-3.7">TLV-Value</dt>
<dd id="section-3.1.3.5-3.8">
<p id="section-3.1.3.5-3.8.1">
This field contains a set of attributes as follows:<a href="#section-3.1.3.5-3.8.1" class="pilcrow">¶</a></p>
<dl class="dlNewline" id="section-3.1.3.5-3.8.2">
<dt id="section-3.1.3.5-3.8.2.1">PSID-Offset</dt>
<dd id="section-3.1.3.5-3.8.2.2">
This attribute specifies the numeric value for the Softwire46
algorithm's excluded port range/offset bits (a bits). Refer to
<a href="#psid-offset" class="xref">Section 3.1.6.1</a>.<a href="#section-3.1.3.5-3.8.2.2" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.3.5-3.8.2.3">PSID-Len</dt>
<dd id="section-3.1.3.5-3.8.2.4">
This attribute specifies the number of significant bits in the
PSID field (also known as 'k'). Refer to <a href="#psid-len" class="xref">Section 3.1.6.2</a>.<a href="#section-3.1.3.5-3.8.2.4" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.3.5-3.8.2.5">PSID</dt>
<dd id="section-3.1.3.5-3.8.2.6">
This attribute specifies the PSID value. Refer to <a href="#psid" class="xref">Section 3.1.6.3</a>.<a href="#section-3.1.3.5-3.8.2.6" class="pilcrow">¶</a>
</dd>
</dl>
</dd>
</dl>
</section>
</div>
</section>
</div>
<div id="s46-rule-sub-tlvs">
<section id="section-3.1.4">
<h4 id="name-sub-attributes-for-softwire">
<a href="#section-3.1.4" class="section-number selfRef">3.1.4. </a><a href="#name-sub-attributes-for-softwire" class="section-name selfRef">Sub-attributes for Softwire46-Rule</a>
</h4>
<p id="section-3.1.4-1">There are two types of Softwire46-Rule: the Basic Mapping Rule
and the Forwarding Mapping Rule, indicated by the value in the
TLV-Type field of Softwire46-Rule (<a href="#s46-rule-sub-tlv" class="xref">Section 3.1.3.1</a>).<a href="#section-3.1.4-1" class="pilcrow">¶</a></p>
<p id="section-3.1.4-2">Each type of Softwire46-Rule also contains a number of
sub-attributes as detailed in the following subsections.<a href="#section-3.1.4-2" class="pilcrow">¶</a></p>
<div id="v6prefix">
<section id="section-3.1.4.1">
<h5 id="name-rule-ipv6-prefix-attribute">
<a href="#section-3.1.4.1" class="section-number selfRef">3.1.4.1. </a><a href="#name-rule-ipv6-prefix-attribute" class="section-name selfRef">Rule-IPv6-Prefix Attribute</a>
</h5>
<p id="section-3.1.4.1-1">Rule-IPv6-Prefix is <span class="bcp14">REQUIRED</span> for every Softwire46-Rule. There
<span class="bcp14">MUST</span> be exactly one Rule-IPv6-Prefix encapsulated in each type of
Softwire46-Rule.<a href="#section-3.1.4.1-1" class="pilcrow">¶</a></p>
<p id="section-3.1.4.1-2">Rule-IPv6-Prefix follows the framed IPv6 prefix designed in
<span>[<a href="#RFC3162" class="xref">RFC3162</a>]</span> and <span>[<a href="#RFC8044" class="xref">RFC8044</a>]</span>.<a href="#section-3.1.4.1-2" class="pilcrow">¶</a></p>
<p id="section-3.1.4.1-3">The structure of Rule-IPv6-Prefix is shown below:<a href="#section-3.1.4.1-3" class="pilcrow">¶</a></p>
<dl class="dlNewline" id="section-3.1.4.1-4">
<dt id="section-3.1.4.1-4.1">TLV-Type</dt>
<dd id="section-3.1.4.1-4.2">
10<a href="#section-3.1.4.1-4.2" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.4.1-4.3">TLV-Length</dt>
<dd id="section-3.1.4.1-4.4">
4 + length of rule-ipv6-prefix specified in
octets.<a href="#section-3.1.4.1-4.4" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.4.1-4.5">Data Type</dt>
<dd id="section-3.1.4.1-4.6">
The attribute Rule-IPv6-Prefix is of type "ipv6prefix" (<span><a href="https://www.rfc-editor.org/rfc/rfc8044#section-3.10" class="relref">Section 3.10</a> of [<a href="#RFC8044" class="xref">RFC8044</a>]</span>).<a href="#section-3.1.4.1-4.6" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.4.1-4.7">TLV-Value</dt>
<dd id="section-3.1.4.1-4.8">
A variable-length field that specifies an IPv6
prefix (rule-ipv6-prefix) appearing in the MAP rule.<a href="#section-3.1.4.1-4.8" class="pilcrow">¶</a>
</dd>
</dl>
</section>
</div>
<div id="v4prefix">
<section id="section-3.1.4.2">
<h5 id="name-rule-ipv4-prefix-attribute">
<a href="#section-3.1.4.2" class="section-number selfRef">3.1.4.2. </a><a href="#name-rule-ipv4-prefix-attribute" class="section-name selfRef">Rule-IPv4-Prefix Attribute</a>
</h5>
<p id="section-3.1.4.2-1">This attribute is used to convey the MAP Rule IPv4 prefix. The
structure of Rule-IPv4-Prefix is shown below:<a href="#section-3.1.4.2-1" class="pilcrow">¶</a></p>
<dl class="dlNewline" id="section-3.1.4.2-2">
<dt id="section-3.1.4.2-2.1">TLV-Type</dt>
<dd id="section-3.1.4.2-2.2">
11<a href="#section-3.1.4.2-2.2" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.4.2-2.3">TLV-Length</dt>
<dd id="section-3.1.4.2-2.4">
4 + length of rule-ipv4-prefix specified in octets.<a href="#section-3.1.4.2-2.4" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.4.2-2.5">Data Type</dt>
<dd id="section-3.1.4.2-2.6">
The attribute Rule-IPv4-Prefix is of type "ipv4prefix" (<span><a href="https://www.rfc-editor.org/rfc/rfc8044#section-3.11" class="relref">Section 3.11</a> of [<a href="#RFC8044" class="xref">RFC8044</a>]</span>).<a href="#section-3.1.4.2-2.6" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.4.2-2.7">TLV-Value</dt>
<dd id="section-3.1.4.2-2.8">
A variable-length field that specifies
an IPv4 prefix (rule-ipv4-prefix) appearing in the MAP rule.<a href="#section-3.1.4.2-2.8" class="pilcrow">¶</a>
</dd>
</dl>
</section>
</div>
<div id="ea-length">
<section id="section-3.1.4.3">
<h5 id="name-ea-length-attribute">
<a href="#section-3.1.4.3" class="section-number selfRef">3.1.4.3. </a><a href="#name-ea-length-attribute" class="section-name selfRef">EA-Length Attribute</a>
</h5>
<p id="section-3.1.4.3-1">This attribute is used to convey the Embedded Address (EA) bit
length. The structure of EA-Length is shown below:<a href="#section-3.1.4.3-1" class="pilcrow">¶</a></p>
<dl class="dlNewline" id="section-3.1.4.3-2">
<dt id="section-3.1.4.3-2.1">TLV-Type</dt>
<dd id="section-3.1.4.3-2.2">
12<a href="#section-3.1.4.3-2.2" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.4.3-2.3">TLV-Length</dt>
<dd id="section-3.1.4.3-2.4">
6 octets<a href="#section-3.1.4.3-2.4" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.4.3-2.5">Data Type</dt>
<dd id="section-3.1.4.3-2.6">
The attribute EA-Length is of type "integer" (<span><a href="https://www.rfc-editor.org/rfc/rfc8044#section-3.1" class="relref">Section 3.1</a> of [<a href="#RFC8044" class="xref">RFC8044</a>]</span>).<a href="#section-3.1.4.3-2.6" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.4.3-2.7">TLV-Value</dt>
<dd id="section-3.1.4.3-2.8">
EA-len; 32 bits long. Specifies the Embedded Address (EA) bit
length. Allowed values range from 0 to 48.<a href="#section-3.1.4.3-2.8" class="pilcrow">¶</a>
</dd>
</dl>
</section>
</div>
</section>
</div>
<section id="section-3.1.5">
<h4 id="name-attributes-for-softwire46-v">
<a href="#section-3.1.5" class="section-number selfRef">3.1.5. </a><a href="#name-attributes-for-softwire46-v" class="section-name selfRef">Attributes for Softwire46-v4v6Bind</a>
</h4>
<div id="v4address">
<section id="section-3.1.5.1">
<h5 id="name-ipv4-address-attribute">
<a href="#section-3.1.5.1" class="section-number selfRef">3.1.5.1. </a><a href="#name-ipv4-address-attribute" class="section-name selfRef">IPv4-Address Attribute</a>
</h5>
<p id="section-3.1.5.1-1">The IPv4-Address <span class="bcp14">MAY</span> be used to specify the full or shared IPv4
address of the CE.<a href="#section-3.1.5.1-1" class="pilcrow">¶</a></p>
<p id="section-3.1.5.1-2">The structure of IPv4-Address is shown below:<a href="#section-3.1.5.1-2" class="pilcrow">¶</a></p>
<dl class="dlNewline" id="section-3.1.5.1-3">
<dt id="section-3.1.5.1-3.1">TLV-Type</dt>
<dd id="section-3.1.5.1-3.2">
13<a href="#section-3.1.5.1-3.2" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.5.1-3.3">TLV-Length</dt>
<dd id="section-3.1.5.1-3.4">
6 octets<a href="#section-3.1.5.1-3.4" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.5.1-3.5">Data Type</dt>
<dd id="section-3.1.5.1-3.6">
The attribute IPv4-Address is of type "ipv4addr" (<span><a href="https://www.rfc-editor.org/rfc/rfc8044#section-3.8" class="relref">Section 3.8</a> of [<a href="#RFC8044" class="xref">RFC8044</a>]</span>).<a href="#section-3.1.5.1-3.6" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.5.1-3.7">TLV-Value</dt>
<dd id="section-3.1.5.1-3.8">
32 bits long. Specifies the IPv4 address (ipv4-address) to
appear in Softwire46-V4V6Bind (<a href="#s46bind" class="xref">Section 3.1.3.4</a>).<a href="#section-3.1.5.1-3.8" class="pilcrow">¶</a>
</dd>
</dl>
</section>
</div>
<div id="bindv6">
<section id="section-3.1.5.2">
<h5 id="name-bind-ipv6-prefix-attribute">
<a href="#section-3.1.5.2" class="section-number selfRef">3.1.5.2. </a><a href="#name-bind-ipv6-prefix-attribute" class="section-name selfRef">Bind-IPv6-Prefix Attribute</a>
</h5>
<p id="section-3.1.5.2-1">The Bind-IPv6-Prefix is used by the CE to identify the correct
IPv6 prefix to be used as the tunnel source.<a href="#section-3.1.5.2-1" class="pilcrow">¶</a></p>
<p id="section-3.1.5.2-2">The structure of Bind-IPv6-Prefix is shown below:<a href="#section-3.1.5.2-2" class="pilcrow">¶</a></p>
<dl class="dlNewline" id="section-3.1.5.2-3">
<dt id="section-3.1.5.2-3.1">TLV-Type</dt>
<dd id="section-3.1.5.2-3.2">
14<a href="#section-3.1.5.2-3.2" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.5.2-3.3">TLV-Length</dt>
<dd id="section-3.1.5.2-3.4">
4 + length of bind-ipv6-prefix specified in octets.<a href="#section-3.1.5.2-3.4" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.5.2-3.5">Data Type</dt>
<dd id="section-3.1.5.2-3.6">
The attribute Bind-IPv6-Prefix is of type "ipv6prefix" (<span><a href="https://www.rfc-editor.org/rfc/rfc8044#section-3.10" class="relref">Section 3.10</a> of [<a href="#RFC8044" class="xref">RFC8044</a>]</span>).<a href="#section-3.1.5.2-3.6" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.5.2-3.7">TLV-Value</dt>
<dd id="section-3.1.5.2-3.8">
A variable-length field specifying the IPv6
prefix or address for the Softwire46 CE (bind-ipv6-prefix).
This field is right-padded with zeros to the nearest octet
boundary when the prefix length is not divisible by 8.<a href="#section-3.1.5.2-3.8" class="pilcrow">¶</a>
</dd>
</dl>
</section>
</div>
</section>
<section id="section-3.1.6">
<h4 id="name-attributes-for-softwire46-p">
<a href="#section-3.1.6" class="section-number selfRef">3.1.6. </a><a href="#name-attributes-for-softwire46-p" class="section-name selfRef">Attributes for Softwire46-PORTPARAMS</a>
</h4>
<div id="psid-offset">
<section id="section-3.1.6.1">
<h5 id="name-psid-offset-attribute">
<a href="#section-3.1.6.1" class="section-number selfRef">3.1.6.1. </a><a href="#name-psid-offset-attribute" class="section-name selfRef">PSID-Offset Attribute</a>
</h5>
<p id="section-3.1.6.1-1">This attribute is used to convey the Port Set Identifier offset
as defined in <span>[<a href="#RFC7597" class="xref">RFC7597</a>]</span>. This attribute is
encoded in 32 bits as per the recommendation in
<span><a href="https://www.rfc-editor.org/rfc/rfc6158#appendix-A.2.1" class="relref">Appendix A.2.1</a> of [<a href="#RFC6158" class="xref">RFC6158</a>]</span>.<a href="#section-3.1.6.1-1" class="pilcrow">¶</a></p>
<p id="section-3.1.6.1-2">The structure of PSID-Offset is shown below:<a href="#section-3.1.6.1-2" class="pilcrow">¶</a></p>
<dl class="dlNewline" id="section-3.1.6.1-3">
<dt id="section-3.1.6.1-3.1">TLV-Type</dt>
<dd id="section-3.1.6.1-3.2">
15<a href="#section-3.1.6.1-3.2" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.6.1-3.3">TLV-Length</dt>
<dd id="section-3.1.6.1-3.4">
6 octets<a href="#section-3.1.6.1-3.4" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.6.1-3.5">Data Type</dt>
<dd id="section-3.1.6.1-3.6">
The attribute PSID-Offset is of type "integer" (<span><a href="https://www.rfc-editor.org/rfc/rfc8044#section-3.1" class="relref">Section 3.1</a> of [<a href="#RFC8044" class="xref">RFC8044</a>]</span>).<a href="#section-3.1.6.1-3.6" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.6.1-3.7">TLV-Value</dt>
<dd id="section-3.1.6.1-3.8">
<p id="section-3.1.6.1-3.8.1">Contains the PSID-Offset (8 bits) right
justified, and the unused bits in this field <span class="bcp14">MUST</span>
be set to zero. This field specifies the
numeric value for the Softwire46 algorithm's excluded
port range/offset bits (a bits), as per
<span><a href="https://www.rfc-editor.org/rfc/rfc7597#section-5.1" class="relref">Section 5.1</a> of [<a href="#RFC7597" class="xref">RFC7597</a>]</span>.<a href="#section-3.1.6.1-3.8.1" class="pilcrow">¶</a></p>
<p id="section-3.1.6.1-3.8.2">
Default values for this field are specific to the
softwire mechanism being implemented and are defined
in the relevant specification document.<a href="#section-3.1.6.1-3.8.2" class="pilcrow">¶</a></p>
</dd>
</dl>
</section>
</div>
<div id="psid-len">
<section id="section-3.1.6.2">
<h5 id="name-psid-len-attribute">
<a href="#section-3.1.6.2" class="section-number selfRef">3.1.6.2. </a><a href="#name-psid-len-attribute" class="section-name selfRef">PSID-Len Attribute</a>
</h5>
<p id="section-3.1.6.2-1">This attribute is used to convey the PSID length as defined in
<span>[<a href="#RFC7597" class="xref">RFC7597</a>]</span>. This attribute is encoded in 32
bits as per the recommendation in <span><a href="https://www.rfc-editor.org/rfc/rfc6158#appendix-A.2.1" class="relref">Appendix A.2.1</a> of [<a href="#RFC6158" class="xref">RFC6158</a>]</span>.<a href="#section-3.1.6.2-1" class="pilcrow">¶</a></p>
<p id="section-3.1.6.2-2">The structure of PSID-Len is shown below:<a href="#section-3.1.6.2-2" class="pilcrow">¶</a></p>
<dl class="dlNewline" id="section-3.1.6.2-3">
<dt id="section-3.1.6.2-3.1">TLV-Type</dt>
<dd id="section-3.1.6.2-3.2">
16<a href="#section-3.1.6.2-3.2" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.6.2-3.3">TLV-Length</dt>
<dd id="section-3.1.6.2-3.4">
6 octets<a href="#section-3.1.6.2-3.4" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.6.2-3.5">Data Type</dt>
<dd id="section-3.1.6.2-3.6">
The attribute PSID-Len is of type "integer" (<span><a href="https://www.rfc-editor.org/rfc/rfc8044#section-3.1" class="relref">Section 3.1</a> of [<a href="#RFC8044" class="xref">RFC8044</a>]</span>).<a href="#section-3.1.6.2-3.6" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.6.2-3.7">TLV-Value</dt>
<dd id="section-3.1.6.2-3.8">
Contains the PSID-len (8 bits) right
justified, and the unused bits in this field <span class="bcp14">MUST</span>
be set to zero. This field specifies the number of
significant bits in the PSID field (also known as
'k'). When set to 0, the PSID field is to be ignored.
After the first a bits, there are k bits in the
port number representing the value of the PSID.
Subsequently, the address-sharing ratio would be
2^k.<a href="#section-3.1.6.2-3.8" class="pilcrow">¶</a>
</dd>
</dl>
</section>
</div>
<div id="psid">
<section id="section-3.1.6.3">
<h5 id="name-psid-attribute">
<a href="#section-3.1.6.3" class="section-number selfRef">3.1.6.3. </a><a href="#name-psid-attribute" class="section-name selfRef">PSID Attribute</a>
</h5>
<p id="section-3.1.6.3-1">This attribute is used to convey the PSID as defined in <span>[<a href="#RFC7597" class="xref">RFC7597</a>]</span>. This attribute is encoded in 32 bits as
per the recommendation in <span><a href="https://www.rfc-editor.org/rfc/rfc6158#appendix-A.2.1" class="relref">Appendix A.2.1</a> of [<a href="#RFC6158" class="xref">RFC6158</a>]</span>.<a href="#section-3.1.6.3-1" class="pilcrow">¶</a></p>
<p id="section-3.1.6.3-2">The structure of PSID is shown below:<a href="#section-3.1.6.3-2" class="pilcrow">¶</a></p>
<dl class="dlNewline" id="section-3.1.6.3-3">
<dt id="section-3.1.6.3-3.1">TLV-Type</dt>
<dd id="section-3.1.6.3-3.2">
17<a href="#section-3.1.6.3-3.2" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.6.3-3.3">TLV-Length</dt>
<dd id="section-3.1.6.3-3.4">
6 octets<a href="#section-3.1.6.3-3.4" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.6.3-3.5">Data Type</dt>
<dd id="section-3.1.6.3-3.6">
The attribute PSID is of type "integer" (<span><a href="https://www.rfc-editor.org/rfc/rfc8044#section-3.1" class="relref">Section 3.1</a> of [<a href="#RFC8044" class="xref">RFC8044</a>]</span>).<a href="#section-3.1.6.3-3.6" class="pilcrow">¶</a>
</dd>
<dt id="section-3.1.6.3-3.7">TLV-Value</dt>
<dd id="section-3.1.6.3-3.8">
<p id="section-3.1.6.3-3.8.1">
Contains the PSID (16 bits) right justified, and the unused bits
in this field <span class="bcp14">MUST</span> be set to zero.<a href="#section-3.1.6.3-3.8.1" class="pilcrow">¶</a></p>
<p id="section-3.1.6.3-3.8.2">
The PSID value algorithmically identifies a set of ports
assigned to a CE. The first k bits on the left of this
2-octet field are the PSID value. The remaining (16-k) bits
on the right are padding zeros.<a href="#section-3.1.6.3-3.8.2" class="pilcrow">¶</a></p>
</dd>
</dl>
</section>
</div>
</section>
</section>
</div>
<div id="s46-prio-attr">
<section id="section-3.2">
<h3 id="name-softwire46-priority-attribu">
<a href="#section-3.2" class="section-number selfRef">3.2. </a><a href="#name-softwire46-priority-attribu" class="section-name selfRef">Softwire46-Priority Attribute</a>
</h3>
<p id="section-3.2-1">The Softwire46-Priority Attribute includes an ordered list of
Softwire46 mechanisms allowing the client to prioritize which
mechanism to use, corresponding to OPTION_S46_PRIORITY defined in
<span>[<a href="#RFC8026" class="xref">RFC8026</a>]</span>. The following requirements apply:<a href="#section-3.2-1" class="pilcrow">¶</a></p>
<ul class="ulEmpty">
<li class="ulEmpty" id="section-3.2-2.1">The Softwire46-Priority Attribute <span class="bcp14">MAY</span> appear in an
Access-Accept packet. It <span class="bcp14">MAY</span> also appear in an Access-Request
packet.<a href="#section-3.2-2.1" class="pilcrow">¶</a>
</li>
<li class="ulEmpty" id="section-3.2-2.2">The Softwire46-Priority Attribute <span class="bcp14">MAY</span> appear in a CoA-Request
packet.<a href="#section-3.2-2.2" class="pilcrow">¶</a>
</li>
<li class="ulEmpty" id="section-3.2-2.3">The Softwire46-Priority Attribute <span class="bcp14">MAY</span> appear in an
Accounting-Request packet.<a href="#section-3.2-2.3" class="pilcrow">¶</a>
</li>
<li class="ulEmpty" id="section-3.2-2.4">The Softwire46-Priority Attribute <span class="bcp14">MUST NOT</span> appear in any other
RADIUS packet.<a href="#section-3.2-2.4" class="pilcrow">¶</a>
</li>
</ul>
<p id="section-3.2-3">The Softwire46-Priority Attribute is structured as follows:<a href="#section-3.2-3" class="pilcrow">¶</a></p>
<dl class="dlNewline" id="section-3.2-4">
<dt id="section-3.2-4.1">Type</dt>
<dd id="section-3.2-4.2">
241<a href="#section-3.2-4.2" class="pilcrow">¶</a>
</dd>
<dt id="section-3.2-4.3">Length</dt>
<dd id="section-3.2-4.4">
Indicates the length of this attribute,
including the Type, Length, Extended-Type and Value fields.<a href="#section-3.2-4.4" class="pilcrow">¶</a>
</dd>
<dt id="section-3.2-4.5">Extended-Type</dt>
<dd id="section-3.2-4.6">
10<a href="#section-3.2-4.6" class="pilcrow">¶</a>
</dd>
<dt id="section-3.2-4.7">TLV-Value</dt>
<dd id="section-3.2-4.8">
<p id="section-3.2-4.8.1">
The attribute includes one or more Softwire46-Option-Code TLVs:
A Softwire46-Priority Attribute <span class="bcp14">MUST</span> contain at least one
Softwire46-Option-Code TLV (<a href="#opc" class="xref">Section 3.2.1</a>).<a href="#section-3.2-4.8.1" class="pilcrow">¶</a></p>
<p id="section-3.2-4.8.2">
Softwire46 mechanisms are prioritized in the appearance order
in the Softwire46-Priority Attribute. That is,
the first-appearing mechanism is most preferred.<a href="#section-3.2-4.8.2" class="pilcrow">¶</a></p>
</dd>
</dl>
<p id="section-3.2-5">The Softwire46-Priority Attribute is associated with the following
identifier: 241.10.<a href="#section-3.2-5" class="pilcrow">¶</a></p>
<div id="opc">
<section id="section-3.2.1">
<h4 id="name-softwire46-option-code">
<a href="#section-3.2.1" class="section-number selfRef">3.2.1. </a><a href="#name-softwire46-option-code" class="section-name selfRef">Softwire46-Option-Code</a>
</h4>
<p id="section-3.2.1-1">This attribute is used to convey an option code assigned to a
Softwire46 mechanism <span>[<a href="#RFC8026" class="xref">RFC8026</a>]</span>. This attribute
is encoded in 32 bits as per the recommendation in
<span><a href="https://www.rfc-editor.org/rfc/rfc6158#appendix-A.2.1" class="relref">Appendix A.2.1</a> of [<a href="#RFC6158" class="xref">RFC6158</a>]</span>.<a href="#section-3.2.1-1" class="pilcrow">¶</a></p>
<p id="section-3.2.1-2">The structure of Softwire46-Option-Code is shown below:<a href="#section-3.2.1-2" class="pilcrow">¶</a></p>
<dl class="dlNewline" id="section-3.2.1-3">
<dt id="section-3.2.1-3.1">TLV-Type</dt>
<dd id="section-3.2.1-3.2">
18<a href="#section-3.2.1-3.2" class="pilcrow">¶</a>
</dd>
<dt id="section-3.2.1-3.3">TLV-Length</dt>
<dd id="section-3.2.1-3.4">
6 octets<a href="#section-3.2.1-3.4" class="pilcrow">¶</a>
</dd>
<dt id="section-3.2.1-3.5">Data Type</dt>
<dd id="section-3.2.1-3.6">
The attribute Softwire46-Option-Code is of type "integer"
(<span><a href="https://www.rfc-editor.org/rfc/rfc8044#section-3.1" class="relref">Section 3.1</a> of [<a href="#RFC8044" class="xref">RFC8044</a>]</span>).<a href="#section-3.2.1-3.6" class="pilcrow">¶</a>
</dd>
<dt id="section-3.2.1-3.7">TLV-Value</dt>
<dd id="section-3.2.1-3.8">
A 32-bit IANA-registered option code representing a Softwire46
mechanism (Softwire46-option-code). The codes and their
corresponding Softwire46 mechanisms are listed in <a href="#s46option" class="xref">Section 7.3</a>.<a href="#section-3.2.1-3.8" class="pilcrow">¶</a>
</dd>
</dl>
</section>
</div>
</section>
</div>
<div id="s46-mcast-attr">
<section id="section-3.3">
<h3 id="name-softwire46-multicast-attrib">
<a href="#section-3.3" class="section-number selfRef">3.3. </a><a href="#name-softwire46-multicast-attrib" class="section-name selfRef">Softwire46-Multicast Attribute</a>
</h3>
<p id="section-3.3-1">The Softwire46-Multicast Attribute conveys the IPv6 prefixes to be
used to synthesize multicast and unicast IPv4-embedded IPv6 addresses
as per <span>[<a href="#RFC8114" class="xref">RFC8114</a>]</span>. This attribute is of type "tlv"
and contains additional TLVs. The following requirements apply:<a href="#section-3.3-1" class="pilcrow">¶</a></p>
<ul>
<li id="section-3.3-2.1">The BNG <span class="bcp14">SHALL</span> use the IPv6 prefixes returned in the RADIUS
Softwire46-Multicast Attribute to populate the DHCPv6 PREFIX64
Option <span>[<a href="#RFC8115" class="xref">RFC8115</a>]</span>.<a href="#section-3.3-2.1" class="pilcrow">¶</a>
</li>
<li id="section-3.3-2.2">This attribute <span class="bcp14">MAY</span> be used in Access-Request packets as a hint
to the RADIUS server. For example, if the BNG is preconfigured
for Softwire46-Multicast, these prefixes may be inserted in the
attribute. The RADIUS server <span class="bcp14">MAY</span> ignore the hint sent by the BNG,
and it <span class="bcp14">MAY</span> assign a different Softwire46-Multicast Attribute.<a href="#section-3.3-2.2" class="pilcrow">¶</a>
</li>
<li id="section-3.3-2.3">The Softwire46-Multicast Attribute <span class="bcp14">MAY</span> appear in an
Access-Request, Access-Accept, CoA-Request, and Accounting-Request
packet.<a href="#section-3.3-2.3" class="pilcrow">¶</a>
</li>
<li id="section-3.3-2.4">The Softwire46-Multicast Attribute <span class="bcp14">MUST NOT</span> appear in any other
RADIUS packet.<a href="#section-3.3-2.4" class="pilcrow">¶</a>
</li>
<li id="section-3.3-2.5">The Softwire46-Multicast Attribute <span class="bcp14">MAY</span> contain ASM-Prefix64
(<a href="#TLV0" class="xref">Section 3.3.1</a>), SSM-Prefix64 (<a href="#TLV1" class="xref">Section 3.3.2</a>), and U-Prefix64 (<a href="#TLV2" class="xref">Section 3.3.3</a>).<a href="#section-3.3-2.5" class="pilcrow">¶</a>
</li>
<li id="section-3.3-2.6">The Softwire46-Multicast Attribute <span class="bcp14">MUST</span> include ASM-Prefix64 or
SSM-Prefix64, and it <span class="bcp14">MAY</span> include both.<a href="#section-3.3-2.6" class="pilcrow">¶</a>
</li>
<li id="section-3.3-2.7">The U-Prefix64 <span class="bcp14">MUST</span> be present when SSM-Prefix64 is present.
U-Prefix64 <span class="bcp14">MAY</span> be present when ASM-Prefix64 is present.<a href="#section-3.3-2.7" class="pilcrow">¶</a>
</li>
</ul>
<p id="section-3.3-3">The Softwire46-Multicast Attribute is structured as follows:<a href="#section-3.3-3" class="pilcrow">¶</a></p>
<dl class="dlNewline" id="section-3.3-4">
<dt id="section-3.3-4.1">Type</dt>
<dd id="section-3.3-4.2">
241<a href="#section-3.3-4.2" class="pilcrow">¶</a>
</dd>
<dt id="section-3.3-4.3">Length</dt>
<dd id="section-3.3-4.4">
This field indicates the total length in bytes of all fields of
this attribute, including the Type, Length, Extended-Type, and the
entire length of the embedded attributes.<a href="#section-3.3-4.4" class="pilcrow">¶</a>
</dd>
<dt id="section-3.3-4.5">Extended-Type</dt>
<dd id="section-3.3-4.6">
11<a href="#section-3.3-4.6" class="pilcrow">¶</a>
</dd>
<dt id="section-3.3-4.7">Value</dt>
<dd id="section-3.3-4.8">
<p id="section-3.3-4.8.1">
This field contains a set of attributes as follows:<a href="#section-3.3-4.8.1" class="pilcrow">¶</a></p>
<dl class="dlNewline" id="section-3.3-4.8.2">
<dt id="section-3.3-4.8.2.1">ASM-Prefix64</dt>
<dd id="section-3.3-4.8.2.2">
This attribute contains the Any-Source Multicast (ASM)
IPv6 prefix. Refer to <a href="#TLV0" class="xref">Section 3.3.1</a>.<a href="#section-3.3-4.8.2.2" class="pilcrow">¶</a>
</dd>
<dt id="section-3.3-4.8.2.3">SSM-Prefix64</dt>
<dd id="section-3.3-4.8.2.4">
This attribute contains the Source-Source Multicast (SSM)
IPv6 prefix. Refer to <a href="#TLV1" class="xref">Section 3.3.2</a>.<a href="#section-3.3-4.8.2.4" class="pilcrow">¶</a>
</dd>
<dt id="section-3.3-4.8.2.5">U-Prefix64</dt>
<dd id="section-3.3-4.8.2.6">
This attribute contains the IPv4 prefix used for address
translation. Refer to <a href="#TLV2" class="xref">Section 3.3.3</a>.<a href="#section-3.3-4.8.2.6" class="pilcrow">¶</a>
</dd>
</dl>
</dd>
</dl>
<p id="section-3.3-5">The Softwire46-Multicast Attribute is associated with the following
identifier: 241.11.<a href="#section-3.3-5" class="pilcrow">¶</a></p>
<div id="TLV0">
<section id="section-3.3.1">
<h4 id="name-asm-prefix64-attribute">
<a href="#section-3.3.1" class="section-number selfRef">3.3.1. </a><a href="#name-asm-prefix64-attribute" class="section-name selfRef">ASM-Prefix64 Attribute</a>
</h4>
<p id="section-3.3.1-1">The ASM-Prefix64 attribute is structured as follows:<a href="#section-3.3.1-1" class="pilcrow">¶</a></p>
<dl class="dlNewline" id="section-3.3.1-2">
<dt id="section-3.3.1-2.1">TLV-Type</dt>
<dd id="section-3.3.1-2.2">
19<a href="#section-3.3.1-2.2" class="pilcrow">¶</a>
</dd>
<dt id="section-3.3.1-2.3">TLV-Length</dt>
<dd id="section-3.3.1-2.4">
16 octets. The length of asm-prefix64 must be /96 <span>[<a href="#RFC8115" class="xref">RFC8115</a>]</span>.<a href="#section-3.3.1-2.4" class="pilcrow">¶</a>
</dd>
<dt id="section-3.3.1-2.5">Data Type</dt>
<dd id="section-3.3.1-2.6">
The attribute ASM-Prefix64 is of type "ipv6prefix" (<span><a href="https://www.rfc-editor.org/rfc/rfc8044#section-3.10" class="relref">Section 3.10</a> of [<a href="#RFC8044" class="xref">RFC8044</a>]</span>).<a href="#section-3.3.1-2.6" class="pilcrow">¶</a>
</dd>
<dt id="section-3.3.1-2.7">TLV-Value</dt>
<dd id="section-3.3.1-2.8">
This field specifies the IPv6 multicast prefix (asm-prefix64)
to be used to synthesize the IPv4-embedded IPv6 addresses of the
multicast groups in the ASM mode. The conveyed multicast IPv6
prefix <span class="bcp14">MUST</span> belong to the ASM range.<a href="#section-3.3.1-2.8" class="pilcrow">¶</a>
</dd>
</dl>
</section>
</div>
<div id="TLV1">
<section id="section-3.3.2">
<h4 id="name-ssm-prefix64-attribute">
<a href="#section-3.3.2" class="section-number selfRef">3.3.2. </a><a href="#name-ssm-prefix64-attribute" class="section-name selfRef">SSM-Prefix64 Attribute</a>
</h4>
<p id="section-3.3.2-1">The SSM-Prefix64 attribute is structured as follows:<a href="#section-3.3.2-1" class="pilcrow">¶</a></p>
<dl class="dlNewline" id="section-3.3.2-2">
<dt id="section-3.3.2-2.1">Type</dt>
<dd id="section-3.3.2-2.2">
20<a href="#section-3.3.2-2.2" class="pilcrow">¶</a>
</dd>
<dt id="section-3.3.2-2.3">TLV-Length</dt>
<dd id="section-3.3.2-2.4">
16 octets. The length of ssm-prefix64 must be /96 <span>[<a href="#RFC8115" class="xref">RFC8115</a>]</span>.<a href="#section-3.3.2-2.4" class="pilcrow">¶</a>
</dd>
<dt id="section-3.3.2-2.5">Data Type</dt>
<dd id="section-3.3.2-2.6">
The attribute SSM-Prefix64 is of type "ipv6prefix" (<span><a href="https://www.rfc-editor.org/rfc/rfc8044#section-3.10" class="relref">Section 3.10</a> of [<a href="#RFC8044" class="xref">RFC8044</a>]</span>).<a href="#section-3.3.2-2.6" class="pilcrow">¶</a>
</dd>
<dt id="section-3.3.2-2.7">TLV-Type</dt>
<dd id="section-3.3.2-2.8">
This field specifies the IPv6 multicast prefix (ssm-prefix64)
to be used to synthesize the IPv4-embedded IPv6 addresses of the
multicast groups in the SSM mode. The conveyed multicast IPv6
prefix <span class="bcp14">MUST</span> belong to the SSM range.<a href="#section-3.3.2-2.8" class="pilcrow">¶</a>
</dd>
</dl>
</section>
</div>
<div id="TLV2">
<section id="section-3.3.3">
<h4 id="name-u-prefix64-attribute">
<a href="#section-3.3.3" class="section-number selfRef">3.3.3. </a><a href="#name-u-prefix64-attribute" class="section-name selfRef">U-Prefix64 Attribute</a>
</h4>
<p id="section-3.3.3-1">The structure of U-Prefix64 is shown below:<a href="#section-3.3.3-1" class="pilcrow">¶</a></p>
<dl class="dlNewline" id="section-3.3.3-2">
<dt id="section-3.3.3-2.1">TLV-Type</dt>
<dd id="section-3.3.3-2.2">
21<a href="#section-3.3.3-2.2" class="pilcrow">¶</a>
</dd>
<dt id="section-3.3.3-2.3">TLV-Length</dt>
<dd id="section-3.3.3-2.4">
4 + length of unicast-prefix. As specified in <span>[<a href="#RFC6052" class="xref">RFC6052</a>]</span>,
the unicast-prefix prefix length <span class="bcp14">MUST</span> be set to 32, 40, 48,
56, 64, or 96.<a href="#section-3.3.3-2.4" class="pilcrow">¶</a>
</dd>
<dt id="section-3.3.3-2.5">Data Type</dt>
<dd id="section-3.3.3-2.6">
The attribute U-Prefix64 is of type "ipv6prefix" (<span><a href="https://www.rfc-editor.org/rfc/rfc8044#section-3.10" class="relref">Section 3.10</a> of [<a href="#RFC8044" class="xref">RFC8044</a>]</span>).<a href="#section-3.3.3-2.6" class="pilcrow">¶</a>
</dd>
<dt id="section-3.3.3-2.7">TLV-Value</dt>
<dd id="section-3.3.3-2.8">
This field identifies the IPv6 unicast prefix (u-prefix64) to
be used in the SSM mode for constructing the IPv4-embedded IPv6
addresses representing the IPv4 multicast sources in the IPv6
domain. It may also be used to extract the IPv4 address from the
received multicast data flows.<a href="#section-3.3.3-2.8" class="pilcrow">¶</a>
</dd>
</dl>
</section>
</div>
</section>
</div>
</section>
<section id="section-4">
<h2 id="name-a-sample-configuration-proc">
<a href="#section-4" class="section-number selfRef">4. </a><a href="#name-a-sample-configuration-proc" class="section-name selfRef">A Sample Configuration Process with RADIUS</a>
</h2>
<p id="section-4-1"><a href="#example" class="xref">Figure 2</a> illustrates how the RADIUS and DHCPv6
protocols interwork to provide CE with softwire configuration
information.<a href="#section-4-1" class="pilcrow">¶</a></p>
<span id="name-interaction-between-dhcpv6-"></span><div id="example">
<figure id="figure-2">
<div class="artwork art-text alignLeft" id="section-4-2.1">
<pre>
CE BNG AAA Server
| | |
|-------1.DHCPv6 Solicit------->| |
|(ORO with unicast and/or | |
| multicast container option | |
| codes(s)) | |
| |-------2.Access-Request------->|
| | (Softwire46-Configuration |
| | Attribute and/or |
| |Softwire46-Multicast Attribute)|
| | |
| |<------3.Access-Accept---------|
| | (Softwire46-Configuration |
| | Attribute and/or |
| |Softwire46-Multicast Attribute)|
| | |
|<----4.DHCPv6 Advertisement----| |
| (container option(s)) | |
| | |
|-------5.DHCPv6 Request------>| |
| (container option(s)) | |
| | |
|<--------6.DHCPv6 Reply--------| |
| (container option(s)) | |
| | |
DHCPv6 RADIUS</pre>
</div>
<figcaption><a href="#figure-2" class="selfRef">Figure 2</a>:
<a href="#name-interaction-between-dhcpv6-" class="selfRef">Interaction between DHCPv6 and AAA Server with RADIUS Authentication</a>
</figcaption></figure>
</div>
<ol start="1" type="1" class="normal" id="section-4-3">
<li id="section-4-3.1">The CE creates a DHCPv6 Solicit message. For unicast softwire
configuration, the message includes an OPTION_REQUEST_OPTION (6)
with the Softwire46 Container option code(s) as defined in <span>[<a href="#RFC7598" class="xref">RFC7598</a>]</span>. OPTION_S46_CONT_MAPE (94) should be
included for MAP-E, OPTION_S46_CONT_MAPT (95) for MAP-T, and
OPTION_S46_CONT_LW (96) for Lightweight 4over6. For multicast
configuration, the option number for OPTION_V6_PREFIX64 (113) is
included in the client's Option Request Option (ORO). The message is sent to the BNG.<a href="#section-4-3.1" class="pilcrow">¶</a>
</li>
<li id="section-4-3.2">On receipt of the DHCPv6 Solicit message, the BNG constructs a RADIUS
Access-Request message containing a User-Name Attribute (1)
(containing either a CE Media Access Control (MAC) address,
interface-id, or both) and a
User-Password Attribute (2) (with a preconfigured shared password
between the CE and AAA server as defined in <span>[<a href="#RFC2865" class="xref">RFC2865</a>]</span>). The Softwire46-Configuration Attribute
and/or Softwire46-Multicast Attribute are also included (as
requested by the client). The resulting message is sent to the AAA
server.<a href="#section-4-3.2" class="pilcrow">¶</a>
</li>
<li id="section-4-3.3">The AAA server authenticates the request. If this is successful,
and a suitable configuration is available, an Access-Accept message
is sent to the BNG containing the requested Softwire46-Configuration
Attribute or Softwire46-Multicast Attribute. It is the
responsibility of the AAA server to ensure the consistency of the
provided configuration.<a href="#section-4-3.3" class="pilcrow">¶</a>
</li>
<li id="section-4-3.4">The BNG maps the received softwire configuration into the
corresponding fields in the DHCPv6 softwire configuration option(s).
These are included in the DHCPv6 Advertise message, which is sent to
the CE.<a href="#section-4-3.4" class="pilcrow">¶</a>
</li>
<li id="section-4-3.5">The CE sends a DHCPv6 Request message. In the ORO, the option
codes of any of the required softwire options that were received
in the DHCPv6 Advertise message are included.<a href="#section-4-3.5" class="pilcrow">¶</a>
</li>
<li id="section-4-3.6">The BNG sends a DHCPv6 Reply message to the client containing the
softwire container option(s) enumerated in the ORO.<a href="#section-4-3.6" class="pilcrow">¶</a>
</li>
</ol>
<p id="section-4-4">The authorization operation could be done independently after the
authentication process. In this case, steps 1-5 are completed as above,
then the following steps are performed:<a href="#section-4-4" class="pilcrow">¶</a></p>
<dl class="dlParallel" id="section-4-5">
<dt id="section-4-5.1">6a.</dt>
<dd style="margin-left: 2.5em" id="section-4-5.2">When the BNG receives the DHCPv6 Request, it
constructs a RADIUS Access-Request message, which contains a
Service-Type Attribute (6) with the value "Authorize Only" (17), the
corresponding Softwire46-Configuration Attribute, and a State
Attribute obtained from the previous authentication process
according to <span>[<a href="#RFC5080" class="xref">RFC5080</a>]</span>. The resulting message
is sent to the AAA server.<a href="#section-4-5.2" class="pilcrow">¶</a>
</dd>
<dt id="section-4-5.3">7a.</dt>
<dd style="margin-left: 2.5em" id="section-4-5.4">The AAA server checks the authorization request. If it is
approved, an Access-Accept message is returned to the BNG with the
corresponding Softwire46-Configuration Attribute.<a href="#section-4-5.4" class="pilcrow">¶</a>
</dd>
<dt id="section-4-5.5">8a.</dt>
<dd style="margin-left: 2.5em" id="section-4-5.6">The BNG sends a Reply message to the client
containing the softwire container options enumerated in the ORO.<a href="#section-4-5.6" class="pilcrow">¶</a>
</dd>
</dl>
<p id="section-4-6">In addition to the above, the following points need to be
considered:<a href="#section-4-6" class="pilcrow">¶</a></p>
<ul>
<li id="section-4-7.1">In the configuration message flows described above, the
Message-Authenticator (type 80) <span>[<a href="#RFC2869" class="xref">RFC2869</a>]</span>
should be used to protect both Access-Request and Access-Accept
messages.<a href="#section-4-7.1" class="pilcrow">¶</a>
</li>
<li id="section-4-7.2">If the BNG does not receive the corresponding
Softwire46-Configuration Attribute in the Access-Accept message, it
may fall back to creating the DHCPv6 softwire configuration options
using the preconfigured Softwire46 configuration if this is
present.<a href="#section-4-7.2" class="pilcrow">¶</a>
</li>
<li id="section-4-7.3">If the BNG receives an Access-Reject from the AAA server, then
the Softwire46 configuration must not be supplied to the client.<a href="#section-4-7.3" class="pilcrow">¶</a>
</li>
<li id="section-4-7.4">As specified in <span><a href="https://www.rfc-editor.org/rfc/rfc8415#section-18.2.5" class="relref">Section 18.2.5</a> of [<a href="#RFC8415" class="xref">RFC8415</a>]</span> ("Creation and Transmission of Rebind Messages") if the DHCPv6 server
to which the DHCPv6 Renew message was sent at time T1 has not
responded by time T2, the CE (DHCPv6 client) should enter the Rebind
state and attempt to contact any available server. In this
situation, a secondary BNG receiving the DHCPv6 message must
initiate a new Access-Request message towards the AAA server. The
secondary BNG includes the Softwire46-Configuration Attribute in
this Access-Request message.<a href="#section-4-7.4" class="pilcrow">¶</a>
</li>
<li id="section-4-7.5">For Lightweight 4over6, the CE's binding state needs to be
synchronized between the clients and the Lightweight AFTR
(lwAFTR)/BR. This can be achieved in two ways: static
preconfiguration of the bindings on both the AAA server and lwAFTR
or on demand, whereby the AAA server updates the lwAFTR with the CE's
binding state as it is created or deleted.<a href="#section-4-7.5" class="pilcrow">¶</a>
</li>
</ul>
<p id="section-4-8">In some deployments, the DHCP server may use the Accounting-Request
to report the softwire configuration returned to a
requesting host to a AAA server. It is the responsibility of the DHCP server to ensure
the consistency of the configuration provided to the requesting hosts.
Reported data to a AAA server may be required for various operational
purposes (e.g., regulatory).<a href="#section-4-8" class="pilcrow">¶</a></p>
<p id="section-4-9">A configuration change (e.g., BR address) may result in an exchange
of CoA-Requests between the BNG and the AAA server, as shown in <a href="#coa" class="xref">Figure 3</a>. Concretely, when the BNG receives a CoA-Request
message containing Softwire46 attributes, it sends a DHCPv6 Reconfigure
message to the appropriate CE to inform that CE that an updated
configuration is available. Upon receipt of such a message, the CE sends a
DHCPv6 Renew or Information-Request in order to receive the updated
Softwire46 configuration. In deployments where the BNG embeds a DHCPv6
relay, CoA-Requests can be used following the procedure specified in
<span>[<a href="#RFC6977" class="xref">RFC6977</a>]</span>.<a href="#section-4-9" class="pilcrow">¶</a></p>
<span id="name-change-of-configuration-exa"></span><div id="coa">
<figure id="figure-3">
<div class="artwork art-text alignLeft" id="section-4-10.1">
<pre>
CE BNG AAA Server
| | |
|---DHCPv6 Solicit--------->| |
| |---Access-Request---------->|
| |<--Access-Accept------------|
| |(Softwire46-Configuration |
| | Attribute ...) |
....
| | |
| |<-----CoA-Request-----------|
| |(Softwire46-Configuration |
| | Attribute ...) |
| |------CoA-Response--------->|
|<--DHCPv6 Reconfigure------| |
| | |
....</pre>
</div>
<figcaption><a href="#figure-3" class="selfRef">Figure 3</a>:
<a href="#name-change-of-configuration-exa" class="selfRef">Change of Configuration Example</a>
</figcaption></figure>
</div>
</section>
<section id="section-5">
<h2 id="name-table-of-attributes">
<a href="#section-5" class="section-number selfRef">5. </a><a href="#name-table-of-attributes" class="section-name selfRef">Table of Attributes</a>
</h2>
<p id="section-5-1">This document specifies three new RADIUS attributes, and their
formats are as follows:<a href="#section-5-1" class="pilcrow">¶</a></p>
<ul>
<li id="section-5-2.1">Softwire46-Configuration Attribute: 241.9<a href="#section-5-2.1" class="pilcrow">¶</a>
</li>
<li id="section-5-2.2">Softwire46-Priority Attribute: 241.10<a href="#section-5-2.2" class="pilcrow">¶</a>
</li>
<li id="section-5-2.3">Softwire46-Multicast Attribute: 241.11<a href="#section-5-2.3" class="pilcrow">¶</a>
</li>
</ul>
<p id="section-5-3"><a href="#Table3" class="xref">Table 3</a> describes which attributes may be found in which kinds of
packets and in what quantity.<a href="#section-5-3" class="pilcrow">¶</a></p>
<span id="name-table-of-attributes-2"></span><div id="Table3">
<table class="center" id="table-3">
<caption>
<a href="#table-3" class="selfRef">Table 3</a>:
<a href="#name-table-of-attributes-2" class="selfRef">Table of Attributes</a>
</caption>
<thead>
<tr>
<th class="text-left" rowspan="1" colspan="1">Request</th>
<th class="text-left" rowspan="1" colspan="1">Accept</th>
<th class="text-left" rowspan="1" colspan="1">Reject</th>
<th class="text-left" rowspan="1" colspan="1">Challenge</th>
<th class="text-left" rowspan="1" colspan="1">Acct Req</th>
<th class="text-left" rowspan="1" colspan="1">CoA-Req</th>
<th class="text-left" rowspan="1" colspan="1">#</th>
<th class="text-left" rowspan="1" colspan="1">Attribute</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-left" rowspan="1" colspan="1"> 0-1</td>
<td class="text-left" rowspan="1" colspan="1"> 0-1</td>
<td class="text-left" rowspan="1" colspan="1">0</td>
<td class="text-left" rowspan="1" colspan="1"> 0</td>
<td class="text-left" rowspan="1" colspan="1"> 0-1</td>
<td class="text-left" rowspan="1" colspan="1"> 0-1</td>
<td class="text-left" rowspan="1" colspan="1"> 241.9</td>
<td class="text-left" rowspan="1" colspan="1">Softwire46-Configuration</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1"> 0-1</td>
<td class="text-left" rowspan="1" colspan="1"> 0-1</td>
<td class="text-left" rowspan="1" colspan="1">0</td>
<td class="text-left" rowspan="1" colspan="1"> 0</td>
<td class="text-left" rowspan="1" colspan="1"> 0-1</td>
<td class="text-left" rowspan="1" colspan="1"> 0-1</td>
<td class="text-left" rowspan="1" colspan="1"> 241.10</td>
<td class="text-left" rowspan="1" colspan="1">Softwire46-Priority</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1"> 0-1</td>
<td class="text-left" rowspan="1" colspan="1"> 0-1</td>
<td class="text-left" rowspan="1" colspan="1">0</td>
<td class="text-left" rowspan="1" colspan="1"> 0</td>
<td class="text-left" rowspan="1" colspan="1"> 0-1</td>
<td class="text-left" rowspan="1" colspan="1"> 0-1</td>
<td class="text-left" rowspan="1" colspan="1"> 241.11</td>
<td class="text-left" rowspan="1" colspan="1">Softwire46-Multicast</td>
</tr>
</tbody>
</table>
</div>
</section>
<div id="Security">
<section id="section-6">
<h2 id="name-security-considerations">
<a href="#section-6" class="section-number selfRef">6. </a><a href="#name-security-considerations" class="section-name selfRef">Security Considerations</a>
</h2>
<p id="section-6-1"><span><a href="https://www.rfc-editor.org/rfc/rfc7596#section-9" class="relref">Section 9</a> of [<a href="#RFC7596" class="xref">RFC7596</a>]</span> discusses security issues
related to Lightweight 4over6; <span><a href="https://www.rfc-editor.org/rfc/rfc7597#section-10" class="relref">Section 10</a> of [<a href="#RFC7597" class="xref">RFC7597</a>]</span> discusses security issues related to MAP-E;
<span><a href="https://www.rfc-editor.org/rfc/rfc7599#section-13" class="relref">Section 13</a> of [<a href="#RFC7599" class="xref">RFC7599</a>]</span> discusses security issues
related to MAP-T; and <span><a href="https://www.rfc-editor.org/rfc/rfc8114#section-9" class="relref">Section 9</a> of [<a href="#RFC8114" class="xref">RFC8114</a>]</span>
discusses security issues related to the delivery of IPv4 multicast
services to IPv4 clients over an IPv6 multicast network.<a href="#section-6-1" class="pilcrow">¶</a></p>
<p id="section-6-2">This document does not introduce any security issues inherently
different from those already identified in <span><a href="https://www.rfc-editor.org/rfc/rfc2865#section-8" class="relref">Section 8</a> of [<a href="#RFC2865" class="xref">RFC2865</a>]</span> and <span><a href="https://www.rfc-editor.org/rfc/rfc5176#section-6" class="relref">Section 6</a> of [<a href="#RFC5176" class="xref">RFC5176</a>]</span>
for CoA messages. Known security vulnerabilities of the RADIUS protocol
discussed in <span><a href="https://www.rfc-editor.org/rfc/rfc2607#section-7" class="relref">Section 7</a> of [<a href="#RFC2607" class="xref">RFC2607</a>]</span> and
<span><a href="https://www.rfc-editor.org/rfc/rfc2869#section-7" class="relref">Section 7</a> of [<a href="#RFC2869" class="xref">RFC2869</a>]</span> apply to this specification. These
well-established properties of the RADIUS protocol place some
limitations on how it can safely be used, since there is some inherent
requirement to trust the counterparty to not misbehave.<a href="#section-6-2" class="pilcrow">¶</a></p>
<p id="section-6-3">Accordingly, this document targets deployments where a trusted
relationship is in place between the RADIUS client and server, with
communication optionally secured by IPsec or Transport Layer Security
(TLS) <span>[<a href="#RFC6614" class="xref">RFC6614</a>]</span>. The use of IPsec <span>[<a href="#RFC4301" class="xref">RFC4301</a>]</span> for providing security when RADIUS is carried
in IPv6 is discussed in <span>[<a href="#RFC3162" class="xref">RFC3162</a>]</span>.<a href="#section-6-3" class="pilcrow">¶</a></p>
<p id="section-6-4">Security considerations for interactions between a Softwire46 CE and
the BNG are discussed in <span><a href="https://www.rfc-editor.org/rfc/rfc7598#section-9" class="relref">Section 9</a> of [<a href="#RFC7598" class="xref">RFC7598</a>]</span>
(DHCPv6 options for the configuration of Softwire46 address and port-mapped
clients), <span><a href="https://www.rfc-editor.org/rfc/rfc8026#section-3" class="relref">Section 3</a> of [<a href="#RFC8026" class="xref">RFC8026</a>]</span> (a DHCPv6-based
Softwire46 prioritization mechanism), and <span><a href="https://www.rfc-editor.org/rfc/rfc8115#section-5" class="relref">Section 5</a> of [<a href="#RFC8115" class="xref">RFC8115</a>]</span> (DHCPv6 options for configuration of
IPv4-embedded IPv6 prefixes).<a href="#section-6-4" class="pilcrow">¶</a></p>
</section>
</div>
<div id="IANA">
<section id="section-7">
<h2 id="name-iana-considerations">
<a href="#section-7" class="section-number selfRef">7. </a><a href="#name-iana-considerations" class="section-name selfRef">IANA Considerations</a>
</h2>
<p id="section-7-1">IANA has made new code point assignments for RADIUS
attributes as described in the following subsections. The assignments
should use the RADIUS registry available at
<<span><a href="https://www.iana.org/assignments/radius-types/">https://www.iana.org/assignments/radius-types/</a></span>>.<a href="#section-7-1" class="pilcrow">¶</a></p>
<section id="section-7.1">
<h3 id="name-new-radius-attributes-2">
<a href="#section-7.1" class="section-number selfRef">7.1. </a><a href="#name-new-radius-attributes-2" class="section-name selfRef">New RADIUS Attributes</a>
</h3>
<p id="section-7.1-1">IANA has assigned the attribute types defined
in this document from the RADIUS namespace as described in Section <span><a href="https://www.rfc-editor.org/rfc/rfc3575#section-2" class="relref">2</a> (<a href="https://www.rfc-editor.org/rfc/rfc3575#section-2" class="relref">IANA Considerations</a>)</span> of <span>[<a href="#RFC3575" class="xref">RFC3575</a>]</span>, in
accordance with BCP 26 <span>[<a href="#RFC8126" class="xref">RFC8126</a>]</span>.<a href="#section-7.1-1" class="pilcrow">¶</a></p>
<p id="section-7.1-2">IANA has registered three new RADIUS
attributes from the "Short Extended Space" section of <span>[<a href="#RFC6929" class="xref">RFC6929</a>]</span>. The attributes are the Softwire46-Configuration
Attribute, Softwire46-Priority Attribute, and Softwire46-Multicast
Attribute:<a href="#section-7.1-2" class="pilcrow">¶</a></p>
<span id="name-new-radius-attributes-3"></span><div id="Table4">
<table class="center" id="table-4">
<caption>
<a href="#table-4" class="selfRef">Table 4</a>:
<a href="#name-new-radius-attributes-3" class="selfRef">New RADIUS Attributes</a>
</caption>
<thead>
<tr>
<th class="text-left" rowspan="1" colspan="1">Type</th>
<th class="text-left" rowspan="1" colspan="1">Description</th>
<th class="text-left" rowspan="1" colspan="1">Data Type</th>
<th class="text-left" rowspan="1" colspan="1">Reference</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-left" rowspan="1" colspan="1"> 241.9</td>
<td class="text-left" rowspan="1" colspan="1"> Softwire46-Configuration</td>
<td class="text-left" rowspan="1" colspan="1"> tlv</td>
<td class="text-left" rowspan="1" colspan="1">
<a href="#conf-attr" class="xref">Section 3.1</a>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1"> 241.10</td>
<td class="text-left" rowspan="1" colspan="1"> Softwire46-Priority</td>
<td class="text-left" rowspan="1" colspan="1"> tlv</td>
<td class="text-left" rowspan="1" colspan="1">
<a href="#s46-prio-attr" class="xref">Section 3.2</a>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1"> 241.11</td>
<td class="text-left" rowspan="1" colspan="1"> Softwire46-Multicast</td>
<td class="text-left" rowspan="1" colspan="1"> tlv</td>
<td class="text-left" rowspan="1" colspan="1">
<a href="#s46-mcast-attr" class="xref">Section 3.3</a>
</td>
</tr>
</tbody>
</table>
</div>
</section>
<section id="section-7.2">
<h3 id="name-radius-softwire46-configura">
<a href="#section-7.2" class="section-number selfRef">7.2. </a><a href="#name-radius-softwire46-configura" class="section-name selfRef">RADIUS Softwire46 Configuration and Multicast Attributes</a>
</h3>
<p id="section-7.2-1">IANA has created a new registry called "RADIUS
Softwire46 Configuration and Multicast Attributes".<a href="#section-7.2-1" class="pilcrow">¶</a></p>
<p id="section-7.2-2">All attributes in this registry have one or more parent RADIUS
attributes in nesting (refer to <span>[<a href="#RFC6929" class="xref">RFC6929</a>]</span>).<a href="#section-7.2-2" class="pilcrow">¶</a></p>
<p id="section-7.2-3">This registry has been initially populated with the following
values:<a href="#section-7.2-3" class="pilcrow">¶</a></p>
<span id="name-radius-softwire46-configurat"></span><div id="Table5">
<table class="center" id="table-5">
<caption>
<a href="#table-5" class="selfRef">Table 5</a>:
<a href="#name-radius-softwire46-configurat" class="selfRef">RADIUS Softwire46 Configuration and Multicast Attributes</a>
</caption>
<thead>
<tr>
<th class="text-left" rowspan="1" colspan="1">Value</th>
<th class="text-left" rowspan="1" colspan="1">Description</th>
<th class="text-left" rowspan="1" colspan="1">Data Type</th>
<th class="text-left" rowspan="1" colspan="1">Reference</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-left" rowspan="1" colspan="1"> 0</td>
<td class="text-left" rowspan="1" colspan="1"> Reserved</td>
<td class="text-left" rowspan="1" colspan="1"> </td>
<td class="text-left" rowspan="1" colspan="1"> </td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1"> 1</td>
<td class="text-left" rowspan="1" colspan="1"> Softwire46-MAP-E</td>
<td class="text-left" rowspan="1" colspan="1"> tlv</td>
<td class="text-left" rowspan="1" colspan="1">
<a href="#etlv" class="xref">Section 3.1.1.1</a>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1"> 2</td>
<td class="text-left" rowspan="1" colspan="1"> Softwire46-MAP-T</td>
<td class="text-left" rowspan="1" colspan="1"> tlv</td>
<td class="text-left" rowspan="1" colspan="1">
<a href="#ttlv" class="xref">Section 3.1.1.2</a>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1"> 3</td>
<td class="text-left" rowspan="1" colspan="1"> Softwire46-Lightweight-4over6</td>
<td class="text-left" rowspan="1" colspan="1"> tlv</td>
<td class="text-left" rowspan="1" colspan="1">
<a href="#ltlv" class="xref">Section 3.1.1.3</a>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1"> 4</td>
<td class="text-left" rowspan="1" colspan="1"> Softwire46-Rule (BMR)</td>
<td class="text-left" rowspan="1" colspan="1"> tlv</td>
<td class="text-left" rowspan="1" colspan="1">
<a href="#s46-rule-sub-tlv" class="xref">Section 3.1.3.1</a>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1"> 5</td>
<td class="text-left" rowspan="1" colspan="1"> Softwire46-Rule (FMR)</td>
<td class="text-left" rowspan="1" colspan="1"> tlv</td>
<td class="text-left" rowspan="1" colspan="1">
<a href="#s46-rule-sub-tlv" class="xref">Section 3.1.3.1</a>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1"> 6</td>
<td class="text-left" rowspan="1" colspan="1"> Softwire46-BR</td>
<td class="text-left" rowspan="1" colspan="1"> ipv6addr</td>
<td class="text-left" rowspan="1" colspan="1">
<a href="#s46br" class="xref">Section 3.1.3.2</a>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1"> 7</td>
<td class="text-left" rowspan="1" colspan="1"> Softwire46-DMR</td>
<td class="text-left" rowspan="1" colspan="1"> ipv6prefix</td>
<td class="text-left" rowspan="1" colspan="1">
<a href="#s46dmr" class="xref">Section 3.1.3.3</a>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1"> 8</td>
<td class="text-left" rowspan="1" colspan="1"> Softwire46-V4V6Bind</td>
<td class="text-left" rowspan="1" colspan="1"> tlv</td>
<td class="text-left" rowspan="1" colspan="1">
<a href="#s46bind" class="xref">Section 3.1.3.4</a>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1"> 9</td>
<td class="text-left" rowspan="1" colspan="1"> Softwire46-PORTPARAMS</td>
<td class="text-left" rowspan="1" colspan="1"> tlv</td>
<td class="text-left" rowspan="1" colspan="1">
<a href="#s46param" class="xref">Section 3.1.3.5</a>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1"> 10</td>
<td class="text-left" rowspan="1" colspan="1"> Rule-IPv6-Prefix</td>
<td class="text-left" rowspan="1" colspan="1"> ipv6prefix</td>
<td class="text-left" rowspan="1" colspan="1">
<a href="#v6prefix" class="xref">Section 3.1.4.1</a>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1"> 11</td>
<td class="text-left" rowspan="1" colspan="1"> Rule-IPv4-Prefix</td>
<td class="text-left" rowspan="1" colspan="1"> ipv4prefix</td>
<td class="text-left" rowspan="1" colspan="1">
<a href="#v4prefix" class="xref">Section 3.1.4.2</a>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1"> 12</td>
<td class="text-left" rowspan="1" colspan="1"> EA-Length</td>
<td class="text-left" rowspan="1" colspan="1"> integer</td>
<td class="text-left" rowspan="1" colspan="1">
<a href="#ea-length" class="xref">Section 3.1.4.3</a>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1"> 13</td>
<td class="text-left" rowspan="1" colspan="1"> IPv4-Address</td>
<td class="text-left" rowspan="1" colspan="1"> ipv4addr</td>
<td class="text-left" rowspan="1" colspan="1">
<a href="#v4address" class="xref">Section 3.1.5.1</a>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1"> 14</td>
<td class="text-left" rowspan="1" colspan="1"> Bind-IPv6-Prefix</td>
<td class="text-left" rowspan="1" colspan="1"> ipv6prefix</td>
<td class="text-left" rowspan="1" colspan="1">
<a href="#bindv6" class="xref">Section 3.1.5.2</a>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1"> 15</td>
<td class="text-left" rowspan="1" colspan="1"> PSID-Offset</td>
<td class="text-left" rowspan="1" colspan="1"> integer</td>
<td class="text-left" rowspan="1" colspan="1">
<a href="#psid-offset" class="xref">Section 3.1.6.1</a>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1"> 16</td>
<td class="text-left" rowspan="1" colspan="1"> PSID-Len</td>
<td class="text-left" rowspan="1" colspan="1"> integer</td>
<td class="text-left" rowspan="1" colspan="1">
<a href="#psid-len" class="xref">Section 3.1.6.2</a>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1"> 17</td>
<td class="text-left" rowspan="1" colspan="1"> PSID</td>
<td class="text-left" rowspan="1" colspan="1"> integer</td>
<td class="text-left" rowspan="1" colspan="1">
<a href="#psid" class="xref">Section 3.1.6.3</a>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1"> 18</td>
<td class="text-left" rowspan="1" colspan="1"> Softwire46-Option-Code</td>
<td class="text-left" rowspan="1" colspan="1"> integer</td>
<td class="text-left" rowspan="1" colspan="1">
<a href="#opc" class="xref">Section 3.2.1</a>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1"> 19</td>
<td class="text-left" rowspan="1" colspan="1"> ASM-Prefix64</td>
<td class="text-left" rowspan="1" colspan="1"> ipv6prefix</td>
<td class="text-left" rowspan="1" colspan="1">
<a href="#TLV0" class="xref">Section 3.3.1</a>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1"> 20</td>
<td class="text-left" rowspan="1" colspan="1"> SSM-Prefix64</td>
<td class="text-left" rowspan="1" colspan="1"> ipv6prefix</td>
<td class="text-left" rowspan="1" colspan="1">
<a href="#TLV1" class="xref">Section 3.3.2</a>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1"> 21</td>
<td class="text-left" rowspan="1" colspan="1"> U-Prefix64</td>
<td class="text-left" rowspan="1" colspan="1"> ipv6prefix</td>
<td class="text-left" rowspan="1" colspan="1">
<a href="#TLV2" class="xref">Section 3.3.3</a>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1"> 22-255</td>
<td class="text-left" rowspan="1" colspan="1"> Unassigned</td>
<td class="text-left" rowspan="1" colspan="1"> </td>
<td class="text-left" rowspan="1" colspan="1"> </td>
</tr>
</tbody>
</table>
</div>
<p id="section-7.2-5">The registration procedure for this registry is Standards Action as
defined in <span>[<a href="#RFC8126" class="xref">RFC8126</a>]</span>.<a href="#section-7.2-5" class="pilcrow">¶</a></p>
</section>
<div id="s46option">
<section id="section-7.3">
<h3 id="name-softwire46-mechanisms-and-t">
<a href="#section-7.3" class="section-number selfRef">7.3. </a><a href="#name-softwire46-mechanisms-and-t" class="section-name selfRef">Softwire46 Mechanisms and Their Identifying Option Codes</a>
</h3>
<p id="section-7.3-1">The Softwire46-Priority Attribute conveys an ordered list of option
codes assigned to Softwire46 mechanisms, for which IANA has
created and will maintain a new registry titled "Option Codes Permitted
in the Softwire46-Priority Attribute".<a href="#section-7.3-1" class="pilcrow">¶</a></p>
<p id="section-7.3-2"><a href="#Table6" class="xref">Table 6</a> shows the initial version of allowed option codes and the
Softwire46 mechanisms that they represent. The option code for DS-Lite
is derived from the IANA-allocated RADIUS Attribute Type value for
DS-Lite <span>[<a href="#RFC6519" class="xref">RFC6519</a>]</span>. The option codes for MAP-E,
MAP-T, and Lightweight 4over6 are the TLV-Type values for the MAP-E,
MAP-T, and Lightweight 4over6 attributes defined in <a href="#s46-tlvs" class="xref">Section 3.1.1</a>.<a href="#section-7.3-2" class="pilcrow">¶</a></p>
<span id="name-option-codes-to-s46-mechani"></span><div id="Table6">
<table class="center" id="table-6">
<caption>
<a href="#table-6" class="selfRef">Table 6</a>:
<a href="#name-option-codes-to-s46-mechani" class="selfRef">Option Codes to S46 Mechanisms</a>
</caption>
<thead>
<tr>
<th class="text-left" rowspan="1" colspan="1">Option Code</th>
<th class="text-left" rowspan="1" colspan="1">Softwire46 Mechanism</th>
<th class="text-left" rowspan="1" colspan="1">Reference</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-left" rowspan="1" colspan="1"> 1</td>
<td class="text-left" rowspan="1" colspan="1"> MAP-E</td>
<td class="text-left" rowspan="1" colspan="1">
<span>[<a href="#RFC7597" class="xref">RFC7597</a>]</span>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1"> 2</td>
<td class="text-left" rowspan="1" colspan="1"> MAP-T</td>
<td class="text-left" rowspan="1" colspan="1">
<span>[<a href="#RFC7599" class="xref">RFC7599</a>]</span>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1"> 3</td>
<td class="text-left" rowspan="1" colspan="1"> Lightweight 4over6</td>
<td class="text-left" rowspan="1" colspan="1">
<span>[<a href="#RFC7596" class="xref">RFC7596</a>]</span>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1"> 144</td>
<td class="text-left" rowspan="1" colspan="1"> DS-Lite</td>
<td class="text-left" rowspan="1" colspan="1">
<span>[<a href="#RFC6519" class="xref">RFC6519</a>]</span>
</td>
</tr>
</tbody>
</table>
</div>
<p id="section-7.3-4">Additional option codes may be added to this list in the future
using the IETF Review process described in <span><a href="https://www.rfc-editor.org/rfc/rfc8126#section-4.8" class="relref">Section 4.8</a> of [<a href="#RFC8126" class="xref">RFC8126</a>]</span>.<a href="#section-7.3-4" class="pilcrow">¶</a></p>
</section>
</div>
</section>
</div>
<section id="section-8">
<h2 id="name-references">
<a href="#section-8" class="section-number selfRef">8. </a><a href="#name-references" class="section-name selfRef">References</a>
</h2>
<section id="section-8.1">
<h3 id="name-normative-references">
<a href="#section-8.1" class="section-number selfRef">8.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">March 1997</time>, <span><<a href="https://www.rfc-editor.org/info/rfc2119">https://www.rfc-editor.org/info/rfc2119</a>></span>. </dd>
<dt id="RFC2865">[RFC2865]</dt>
<dd>
<span class="refAuthor">Rigney, C.</span><span class="refAuthor">, Willens, S.</span><span class="refAuthor">, Rubens, A.</span><span class="refAuthor">, and W. Simpson</span>, <span class="refTitle">"Remote Authentication Dial In User Service (RADIUS)"</span>, <span class="seriesInfo">RFC 2865</span>, <span class="seriesInfo">DOI 10.17487/RFC2865</span>, <time datetime="2000-06">June 2000</time>, <span><<a href="https://www.rfc-editor.org/info/rfc2865">https://www.rfc-editor.org/info/rfc2865</a>></span>. </dd>
<dt id="RFC3162">[RFC3162]</dt>
<dd>
<span class="refAuthor">Aboba, B.</span><span class="refAuthor">, Zorn, G.</span><span class="refAuthor">, and D. Mitton</span>, <span class="refTitle">"RADIUS and IPv6"</span>, <span class="seriesInfo">RFC 3162</span>, <span class="seriesInfo">DOI 10.17487/RFC3162</span>, <time datetime="2001-08">August 2001</time>, <span><<a href="https://www.rfc-editor.org/info/rfc3162">https://www.rfc-editor.org/info/rfc3162</a>></span>. </dd>
<dt id="RFC3575">[RFC3575]</dt>
<dd>
<span class="refAuthor">Aboba, B.</span>, <span class="refTitle">"IANA Considerations for RADIUS (Remote Authentication Dial In User Service)"</span>, <span class="seriesInfo">RFC 3575</span>, <span class="seriesInfo">DOI 10.17487/RFC3575</span>, <time datetime="2003-07">July 2003</time>, <span><<a href="https://www.rfc-editor.org/info/rfc3575">https://www.rfc-editor.org/info/rfc3575</a>></span>. </dd>
<dt id="RFC5080">[RFC5080]</dt>
<dd>
<span class="refAuthor">Nelson, D.</span><span class="refAuthor"> and A. DeKok</span>, <span class="refTitle">"Common Remote Authentication Dial In User Service (RADIUS) Implementation Issues and Suggested Fixes"</span>, <span class="seriesInfo">RFC 5080</span>, <span class="seriesInfo">DOI 10.17487/RFC5080</span>, <time datetime="2007-12">December 2007</time>, <span><<a href="https://www.rfc-editor.org/info/rfc5080">https://www.rfc-editor.org/info/rfc5080</a>></span>. </dd>
<dt id="RFC5176">[RFC5176]</dt>
<dd>
<span class="refAuthor">Chiba, M.</span><span class="refAuthor">, Dommety, G.</span><span class="refAuthor">, Eklund, M.</span><span class="refAuthor">, Mitton, D.</span><span class="refAuthor">, and B. Aboba</span>, <span class="refTitle">"Dynamic Authorization Extensions to Remote Authentication Dial In User Service (RADIUS)"</span>, <span class="seriesInfo">RFC 5176</span>, <span class="seriesInfo">DOI 10.17487/RFC5176</span>, <time datetime="2008-01">January 2008</time>, <span><<a href="https://www.rfc-editor.org/info/rfc5176">https://www.rfc-editor.org/info/rfc5176</a>></span>. </dd>
<dt id="RFC6052">[RFC6052]</dt>
<dd>
<span class="refAuthor">Bao, C.</span><span class="refAuthor">, Huitema, C.</span><span class="refAuthor">, Bagnulo, M.</span><span class="refAuthor">, Boucadair, M.</span><span class="refAuthor">, and X. Li</span>, <span class="refTitle">"IPv6 Addressing of IPv4/IPv6 Translators"</span>, <span class="seriesInfo">RFC 6052</span>, <span class="seriesInfo">DOI 10.17487/RFC6052</span>, <time datetime="2010-10">October 2010</time>, <span><<a href="https://www.rfc-editor.org/info/rfc6052">https://www.rfc-editor.org/info/rfc6052</a>></span>. </dd>
<dt id="RFC6158">[RFC6158]</dt>
<dd>
<span class="refAuthor">DeKok, A., Ed.</span><span class="refAuthor"> and G. Weber</span>, <span class="refTitle">"RADIUS Design Guidelines"</span>, <span class="seriesInfo">BCP 158</span>, <span class="seriesInfo">RFC 6158</span>, <span class="seriesInfo">DOI 10.17487/RFC6158</span>, <time datetime="2011-03">March 2011</time>, <span><<a href="https://www.rfc-editor.org/info/rfc6158">https://www.rfc-editor.org/info/rfc6158</a>></span>. </dd>
<dt id="RFC6929">[RFC6929]</dt>
<dd>
<span class="refAuthor">DeKok, A.</span><span class="refAuthor"> and A. Lior</span>, <span class="refTitle">"Remote Authentication Dial In User Service (RADIUS) Protocol Extensions"</span>, <span class="seriesInfo">RFC 6929</span>, <span class="seriesInfo">DOI 10.17487/RFC6929</span>, <time datetime="2013-04">April 2013</time>, <span><<a href="https://www.rfc-editor.org/info/rfc6929">https://www.rfc-editor.org/info/rfc6929</a>></span>. </dd>
<dt id="RFC8026">[RFC8026]</dt>
<dd>
<span class="refAuthor">Boucadair, M.</span><span class="refAuthor"> and I. Farrer</span>, <span class="refTitle">"Unified IPv4-in-IPv6 Softwire Customer Premises Equipment (CPE): A DHCPv6-Based Prioritization Mechanism"</span>, <span class="seriesInfo">RFC 8026</span>, <span class="seriesInfo">DOI 10.17487/RFC8026</span>, <time datetime="2016-11">November 2016</time>, <span><<a href="https://www.rfc-editor.org/info/rfc8026">https://www.rfc-editor.org/info/rfc8026</a>></span>. </dd>
<dt id="RFC8044">[RFC8044]</dt>
<dd>
<span class="refAuthor">DeKok, A.</span>, <span class="refTitle">"Data Types in RADIUS"</span>, <span class="seriesInfo">RFC 8044</span>, <span class="seriesInfo">DOI 10.17487/RFC8044</span>, <time datetime="2017-01">January 2017</time>, <span><<a href="https://www.rfc-editor.org/info/rfc8044">https://www.rfc-editor.org/info/rfc8044</a>></span>. </dd>
<dt id="RFC8115">[RFC8115]</dt>
<dd>
<span class="refAuthor">Boucadair, M.</span><span class="refAuthor">, Qin, J.</span><span class="refAuthor">, Tsou, T.</span><span class="refAuthor">, and X. Deng</span>, <span class="refTitle">"DHCPv6 Option for IPv4-Embedded Multicast and Unicast IPv6 Prefixes"</span>, <span class="seriesInfo">RFC 8115</span>, <span class="seriesInfo">DOI 10.17487/RFC8115</span>, <time datetime="2017-03">March 2017</time>, <span><<a href="https://www.rfc-editor.org/info/rfc8115">https://www.rfc-editor.org/info/rfc8115</a>></span>. </dd>
<dt id="RFC8126">[RFC8126]</dt>
<dd>
<span class="refAuthor">Cotton, M.</span><span class="refAuthor">, Leiba, B.</span><span class="refAuthor">, and T. Narten</span>, <span class="refTitle">"Guidelines for Writing an IANA Considerations Section in RFCs"</span>, <span class="seriesInfo">BCP 26</span>, <span class="seriesInfo">RFC 8126</span>, <span class="seriesInfo">DOI 10.17487/RFC8126</span>, <time datetime="2017-06">June 2017</time>, <span><<a href="https://www.rfc-editor.org/info/rfc8126">https://www.rfc-editor.org/info/rfc8126</a>></span>. </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">May 2017</time>, <span><<a href="https://www.rfc-editor.org/info/rfc8174">https://www.rfc-editor.org/info/rfc8174</a>></span>. </dd>
<dt id="RFC8415">[RFC8415]</dt>
<dd>
<span class="refAuthor">Mrugalski, T.</span><span class="refAuthor">, Siodelski, M.</span><span class="refAuthor">, Volz, B.</span><span class="refAuthor">, Yourtchenko, A.</span><span class="refAuthor">, Richardson, M.</span><span class="refAuthor">, Jiang, S.</span><span class="refAuthor">, Lemon, T.</span><span class="refAuthor">, and T. Winters</span>, <span class="refTitle">"Dynamic Host Configuration Protocol for IPv6 (DHCPv6)"</span>, <span class="seriesInfo">RFC 8415</span>, <span class="seriesInfo">DOI 10.17487/RFC8415</span>, <time datetime="2018-11">November 2018</time>, <span><<a href="https://www.rfc-editor.org/info/rfc8415">https://www.rfc-editor.org/info/rfc8415</a>></span>. </dd>
</dl>
</section>
<section id="section-8.2">
<h3 id="name-informative-references">
<a href="#section-8.2" class="section-number selfRef">8.2. </a><a href="#name-informative-references" class="section-name selfRef">Informative References</a>
</h3>
<dl class="references">
<dt id="I-D.sun-softwire-lw4over6-radext">[LIGHTWEIGHT-4OVER6]</dt>
<dd>
<span class="refAuthor">Xie, C.</span><span class="refAuthor">, Sun, Q.</span><span class="refAuthor">, Qiong, Q.</span><span class="refAuthor">, Zhou, C.</span><span class="refAuthor">, Tsou, T.</span><span class="refAuthor">, and Z. Liu</span>, <span class="refTitle">"Radius Extension for Lightweight 4over6"</span>, <span class="refContent">Work in Progress</span>, <span class="seriesInfo">Internet-Draft, draft-sun-softwire-lw4over6-radext-01</span>, <time datetime="2014-03-06">6 March 2014</time>, <span><<a href="https://tools.ietf.org/html/draft-sun-softwire-lw4over6-radext-01">https://tools.ietf.org/html/draft-sun-softwire-lw4over6-radext-01</a>></span>. </dd>
<dt id="I-D.wang-radext-multicast-radius-ext">[RADIUS-EXT]</dt>
<dd>
<span class="refAuthor">Wang, Q.</span><span class="refAuthor">, Meng, W.</span><span class="refAuthor">, Wang, C.</span><span class="refAuthor">, and M. Boucadair</span>, <span class="refTitle">"RADIUS Extensions for IPv4-Embedded Multicast and Unicast IPv6 Prefixes"</span>, <span class="refContent">Work in Progress</span>, <span class="seriesInfo">Internet-Draft, draft-wang-radext-multicast-radius-ext-00</span>, <time datetime="2015-12-02">2 December 2015</time>, <span><<a href="https://tools.ietf.org/html/draft-wang-radext-multicast-radius-ext-00">https://tools.ietf.org/html/draft-wang-radext-multicast-radius-ext-00</a>></span>. </dd>
<dt id="RFC2607">[RFC2607]</dt>
<dd>
<span class="refAuthor">Aboba, B.</span><span class="refAuthor"> and J. Vollbrecht</span>, <span class="refTitle">"Proxy Chaining and Policy Implementation in Roaming"</span>, <span class="seriesInfo">RFC 2607</span>, <span class="seriesInfo">DOI 10.17487/RFC2607</span>, <time datetime="1999-06">June 1999</time>, <span><<a href="https://www.rfc-editor.org/info/rfc2607">https://www.rfc-editor.org/info/rfc2607</a>></span>. </dd>
<dt id="RFC2869">[RFC2869]</dt>
<dd>
<span class="refAuthor">Rigney, C.</span><span class="refAuthor">, Willats, W.</span><span class="refAuthor">, and P. Calhoun</span>, <span class="refTitle">"RADIUS Extensions"</span>, <span class="seriesInfo">RFC 2869</span>, <span class="seriesInfo">DOI 10.17487/RFC2869</span>, <time datetime="2000-06">June 2000</time>, <span><<a href="https://www.rfc-editor.org/info/rfc2869">https://www.rfc-editor.org/info/rfc2869</a>></span>. </dd>
<dt id="RFC4301">[RFC4301]</dt>
<dd>
<span class="refAuthor">Kent, S.</span><span class="refAuthor"> and K. Seo</span>, <span class="refTitle">"Security Architecture for the Internet Protocol"</span>, <span class="seriesInfo">RFC 4301</span>, <span class="seriesInfo">DOI 10.17487/RFC4301</span>, <time datetime="2005-12">December 2005</time>, <span><<a href="https://www.rfc-editor.org/info/rfc4301">https://www.rfc-editor.org/info/rfc4301</a>></span>. </dd>
<dt id="RFC6333">[RFC6333]</dt>
<dd>
<span class="refAuthor">Durand, A.</span><span class="refAuthor">, Droms, R.</span><span class="refAuthor">, Woodyatt, J.</span><span class="refAuthor">, and Y. Lee</span>, <span class="refTitle">"Dual-Stack Lite Broadband Deployments Following IPv4 Exhaustion"</span>, <span class="seriesInfo">RFC 6333</span>, <span class="seriesInfo">DOI 10.17487/RFC6333</span>, <time datetime="2011-08">August 2011</time>, <span><<a href="https://www.rfc-editor.org/info/rfc6333">https://www.rfc-editor.org/info/rfc6333</a>></span>. </dd>
<dt id="RFC6346">[RFC6346]</dt>
<dd>
<span class="refAuthor">Bush, R., Ed.</span>, <span class="refTitle">"The Address plus Port (A+P) Approach to the IPv4 Address Shortage"</span>, <span class="seriesInfo">RFC 6346</span>, <span class="seriesInfo">DOI 10.17487/RFC6346</span>, <time datetime="2011-08">August 2011</time>, <span><<a href="https://www.rfc-editor.org/info/rfc6346">https://www.rfc-editor.org/info/rfc6346</a>></span>. </dd>
<dt id="RFC6519">[RFC6519]</dt>
<dd>
<span class="refAuthor">Maglione, R.</span><span class="refAuthor"> and A. Durand</span>, <span class="refTitle">"RADIUS Extensions for Dual-Stack Lite"</span>, <span class="seriesInfo">RFC 6519</span>, <span class="seriesInfo">DOI 10.17487/RFC6519</span>, <time datetime="2012-02">February 2012</time>, <span><<a href="https://www.rfc-editor.org/info/rfc6519">https://www.rfc-editor.org/info/rfc6519</a>></span>. </dd>
<dt id="RFC6614">[RFC6614]</dt>
<dd>
<span class="refAuthor">Winter, S.</span><span class="refAuthor">, McCauley, M.</span><span class="refAuthor">, Venaas, S.</span><span class="refAuthor">, and K. Wierenga</span>, <span class="refTitle">"Transport Layer Security (TLS) Encryption for RADIUS"</span>, <span class="seriesInfo">RFC 6614</span>, <span class="seriesInfo">DOI 10.17487/RFC6614</span>, <time datetime="2012-05">May 2012</time>, <span><<a href="https://www.rfc-editor.org/info/rfc6614">https://www.rfc-editor.org/info/rfc6614</a>></span>. </dd>
<dt id="RFC6977">[RFC6977]</dt>
<dd>
<span class="refAuthor">Boucadair, M.</span><span class="refAuthor"> and X. Pougnard</span>, <span class="refTitle">"Triggering DHCPv6 Reconfiguration from Relay Agents"</span>, <span class="seriesInfo">RFC 6977</span>, <span class="seriesInfo">DOI 10.17487/RFC6977</span>, <time datetime="2013-07">July 2013</time>, <span><<a href="https://www.rfc-editor.org/info/rfc6977">https://www.rfc-editor.org/info/rfc6977</a>></span>. </dd>
<dt id="RFC7596">[RFC7596]</dt>
<dd>
<span class="refAuthor">Cui, Y.</span><span class="refAuthor">, Sun, Q.</span><span class="refAuthor">, Boucadair, M.</span><span class="refAuthor">, Tsou, T.</span><span class="refAuthor">, Lee, Y.</span><span class="refAuthor">, and I. Farrer</span>, <span class="refTitle">"Lightweight 4over6: An Extension to the Dual-Stack Lite Architecture"</span>, <span class="seriesInfo">RFC 7596</span>, <span class="seriesInfo">DOI 10.17487/RFC7596</span>, <time datetime="2015-07">July 2015</time>, <span><<a href="https://www.rfc-editor.org/info/rfc7596">https://www.rfc-editor.org/info/rfc7596</a>></span>. </dd>
<dt id="RFC7597">[RFC7597]</dt>
<dd>
<span class="refAuthor">Troan, O., Ed.</span><span class="refAuthor">, Dec, W.</span><span class="refAuthor">, Li, X.</span><span class="refAuthor">, Bao, C.</span><span class="refAuthor">, Matsushima, S.</span><span class="refAuthor">, Murakami, T.</span><span class="refAuthor">, and T. Taylor, Ed.</span>, <span class="refTitle">"Mapping of Address and Port with Encapsulation (MAP-E)"</span>, <span class="seriesInfo">RFC 7597</span>, <span class="seriesInfo">DOI 10.17487/RFC7597</span>, <time datetime="2015-07">July 2015</time>, <span><<a href="https://www.rfc-editor.org/info/rfc7597">https://www.rfc-editor.org/info/rfc7597</a>></span>. </dd>
<dt id="RFC7598">[RFC7598]</dt>
<dd>
<span class="refAuthor">Mrugalski, T.</span><span class="refAuthor">, Troan, O.</span><span class="refAuthor">, Farrer, I.</span><span class="refAuthor">, Perreault, S.</span><span class="refAuthor">, Dec, W.</span><span class="refAuthor">, Bao, C.</span><span class="refAuthor">, Yeh, L.</span><span class="refAuthor">, and X. Deng</span>, <span class="refTitle">"DHCPv6 Options for Configuration of Softwire Address and Port-Mapped Clients"</span>, <span class="seriesInfo">RFC 7598</span>, <span class="seriesInfo">DOI 10.17487/RFC7598</span>, <time datetime="2015-07">July 2015</time>, <span><<a href="https://www.rfc-editor.org/info/rfc7598">https://www.rfc-editor.org/info/rfc7598</a>></span>. </dd>
<dt id="RFC7599">[RFC7599]</dt>
<dd>
<span class="refAuthor">Li, X.</span><span class="refAuthor">, Bao, C.</span><span class="refAuthor">, Dec, W., Ed.</span><span class="refAuthor">, Troan, O.</span><span class="refAuthor">, Matsushima, S.</span><span class="refAuthor">, and T. Murakami</span>, <span class="refTitle">"Mapping of Address and Port using Translation (MAP-T)"</span>, <span class="seriesInfo">RFC 7599</span>, <span class="seriesInfo">DOI 10.17487/RFC7599</span>, <time datetime="2015-07">July 2015</time>, <span><<a href="https://www.rfc-editor.org/info/rfc7599">https://www.rfc-editor.org/info/rfc7599</a>></span>. </dd>
<dt id="RFC8114">[RFC8114]</dt>
<dd>
<span class="refAuthor">Boucadair, M.</span><span class="refAuthor">, Qin, C.</span><span class="refAuthor">, Jacquenet, C.</span><span class="refAuthor">, Lee, Y.</span><span class="refAuthor">, and Q. Wang</span>, <span class="refTitle">"Delivery of IPv4 Multicast Services to IPv4 Clients over an IPv6 Multicast Network"</span>, <span class="seriesInfo">RFC 8114</span>, <span class="seriesInfo">DOI 10.17487/RFC8114</span>, <time datetime="2017-03">March 2017</time>, <span><<a href="https://www.rfc-editor.org/info/rfc8114">https://www.rfc-editor.org/info/rfc8114</a>></span>. </dd>
</dl>
</section>
</section>
<div id="tlv-field-map">
<section id="section-appendix.a">
<h2 id="name-dhcpv6-to-radius-field-mapp">
<a href="#section-appendix.a" class="section-number selfRef">Appendix A. </a><a href="#name-dhcpv6-to-radius-field-mapp" class="section-name selfRef">DHCPv6 to RADIUS Field Mappings</a>
</h2>
<p id="section-appendix.a-1">The following sections detail the mappings between the softwire
DHCPv6 option fields and the relevant RADIUS attributes as defined in
this document.<a href="#section-appendix.a-1" class="pilcrow">¶</a></p>
<section id="section-a.1">
<h2 id="name-option_s46_rule-89-to-softw">
<a href="#section-a.1" class="section-number selfRef">A.1. </a><a href="#name-option_s46_rule-89-to-softw" class="section-name selfRef">OPTION_S46_RULE (89) to Softwire46-Rule Sub-TLV Field Mappings</a>
</h2>
<span id="name-option_s46_rule-to-softwire"></span><table class="center" id="table-7">
<caption>
<a href="#table-7" class="selfRef">Table 7</a>:
<a href="#name-option_s46_rule-to-softwire" class="selfRef">OPTION_S46_RULE to Softwire46-Rule Sub-TLV Field Mappings</a>
</caption>
<thead>
<tr>
<th class="text-center" rowspan="1" colspan="1">OPTION_S46_RULE Field</th>
<th class="text-center" rowspan="1" colspan="1">Softwire46-Rule Name</th>
<th class="text-center" rowspan="1" colspan="1">TLV Subfield</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-center" rowspan="1" colspan="1">flags</td>
<td class="text-center" rowspan="1" colspan="1">N/A</td>
<td class="text-center" rowspan="1" colspan="1">TLV-type (4, 5)</td>
</tr>
<tr>
<td class="text-center" rowspan="1" colspan="1">ea-len</td>
<td class="text-center" rowspan="1" colspan="1">EA-Length</td>
<td class="text-center" rowspan="1" colspan="1">EA-len</td>
</tr>
<tr>
<td class="text-center" rowspan="1" colspan="1">prefix4-len</td>
<td class="text-center" rowspan="1" colspan="1">Rule-IPv4-Prefix</td>
<td class="text-center" rowspan="1" colspan="1">Prefix-Length</td>
</tr>
<tr>
<td class="text-center" rowspan="1" colspan="1">ipv4-prefix</td>
<td class="text-center" rowspan="1" colspan="1">Rule-IPv4-Prefix</td>
<td class="text-center" rowspan="1" colspan="1">rule-ipv4-prefix</td>
</tr>
<tr>
<td class="text-center" rowspan="1" colspan="1">prefix6-len</td>
<td class="text-center" rowspan="1" colspan="1">Rule-IPv6-Prefix</td>
<td class="text-center" rowspan="1" colspan="1">Prefix-Length</td>
</tr>
<tr>
<td class="text-center" rowspan="1" colspan="1">ipv6-prefix</td>
<td class="text-center" rowspan="1" colspan="1">Rule-IPv6-Prefix</td>
<td class="text-center" rowspan="1" colspan="1">rule-ipv6-prefix</td>
</tr>
</tbody>
</table>
</section>
<section id="section-a.2">
<h2 id="name-option_s46_br-90-to-softwir">
<a href="#section-a.2" class="section-number selfRef">A.2. </a><a href="#name-option_s46_br-90-to-softwir" class="section-name selfRef">OPTION_S46_BR (90) to Softwire46-BR Field Mappings</a>
</h2>
<span id="name-option_s46_br-to-softwire46"></span><table class="center" id="table-8">
<caption>
<a href="#table-8" class="selfRef">Table 8</a>:
<a href="#name-option_s46_br-to-softwire46" class="selfRef">OPTION_S46_BR to Softwire46-BR Field Mappings</a>
</caption>
<thead>
<tr>
<th class="text-center" rowspan="1" colspan="1">OPTION_S46_BR Field</th>
<th class="text-center" rowspan="1" colspan="1">Softwire46-BR Subfield</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-center" rowspan="1" colspan="1">br-ipv6-address</td>
<td class="text-center" rowspan="1" colspan="1">br-ipv6-address</td>
</tr>
</tbody>
</table>
</section>
<section id="section-a.3">
<h2 id="name-option_s46_dmr-91-to-softwi">
<a href="#section-a.3" class="section-number selfRef">A.3. </a><a href="#name-option_s46_dmr-91-to-softwi" class="section-name selfRef">OPTION_S46_DMR (91) to Softwire46-DMR</a>
</h2>
<span id="name-option_s46_dmr-to-softwire4"></span><table class="center" id="table-9">
<caption>
<a href="#table-9" class="selfRef">Table 9</a>:
<a href="#name-option_s46_dmr-to-softwire4" class="selfRef">OPTION_S46_DMR to Softwire46-DMR Field Mappings</a>
</caption>
<thead>
<tr>
<th class="text-center" rowspan="1" colspan="1">OPTION_S46_DMR Field</th>
<th class="text-center" rowspan="1" colspan="1">Softwire46-DMR Subfield</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-center" rowspan="1" colspan="1">dmr-prefix6-len</td>
<td class="text-center" rowspan="1" colspan="1">dmr-prefix6-len</td>
</tr>
<tr>
<td class="text-center" rowspan="1" colspan="1">dmr-ipv6-prefix</td>
<td class="text-center" rowspan="1" colspan="1">dmr-ipv6-prefix</td>
</tr>
</tbody>
</table>
</section>
<section id="section-a.4">
<h2 id="name-option_s46_v4v6bind-92-to-s">
<a href="#section-a.4" class="section-number selfRef">A.4. </a><a href="#name-option_s46_v4v6bind-92-to-s" class="section-name selfRef">OPTION_S46_V4V6BIND (92) to Softwire46-V4V6Bind</a>
</h2>
<span id="name-option_s46_v4v6bind-to-soft"></span><table class="center" id="table-10">
<caption>
<a href="#table-10" class="selfRef">Table 10</a>:
<a href="#name-option_s46_v4v6bind-to-soft" class="selfRef">OPTION_S46_V4V6BIND to Softwire46-V4V6Bind Field Mappings</a>
</caption>
<thead>
<tr>
<th class="text-center" rowspan="1" colspan="1">OPTION_S46_V4V6BIND Field</th>
<th class="text-center" rowspan="1" colspan="1">Softwire46-V4V6Bind Name</th>
<th class="text-center" rowspan="1" colspan="1">TLV Subfield</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-center" rowspan="1" colspan="1">ipv4-address</td>
<td class="text-center" rowspan="1" colspan="1">IPv4-Address</td>
<td class="text-center" rowspan="1" colspan="1">ipv4-address</td>
</tr>
<tr>
<td class="text-center" rowspan="1" colspan="1">bindprefix6-len</td>
<td class="text-center" rowspan="1" colspan="1">Bind-IPv6-Prefix</td>
<td class="text-center" rowspan="1" colspan="1">Prefix-Length</td>
</tr>
<tr>
<td class="text-center" rowspan="1" colspan="1">bind-ipv6-prefix</td>
<td class="text-center" rowspan="1" colspan="1">Bind-IPv6-Prefix</td>
<td class="text-center" rowspan="1" colspan="1">bind-ipv6-prefix</td>
</tr>
</tbody>
</table>
</section>
<section id="section-a.5">
<h2 id="name-option_s46_portparams-93-to">
<a href="#section-a.5" class="section-number selfRef">A.5. </a><a href="#name-option_s46_portparams-93-to" class="section-name selfRef">OPTION_S46_PORTPARAMS (93) to Softwire46-PORTPARAMS Field Mappings</a>
</h2>
<span id="name-option_s46_portparams-to-so"></span><table class="center" id="table-11">
<caption>
<a href="#table-11" class="selfRef">Table 11</a>:
<a href="#name-option_s46_portparams-to-so" class="selfRef">OPTION_S46_PORTPARAMS to Softwire46-PORTPARAMS Field Mappings</a>
</caption>
<thead>
<tr>
<th class="text-center" rowspan="1" colspan="1">OPTION_S46_PORTPARAMS Field</th>
<th class="text-center" rowspan="1" colspan="1">Softwire46-PORTPARAMS Name</th>
<th class="text-center" rowspan="1" colspan="1">TLV Subfield</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-center" rowspan="1" colspan="1">offset</td>
<td class="text-center" rowspan="1" colspan="1">PSID-Offset</td>
<td class="text-center" rowspan="1" colspan="1">PSID-Offset</td>
</tr>
<tr>
<td class="text-center" rowspan="1" colspan="1">PSID-len</td>
<td class="text-center" rowspan="1" colspan="1">PSID-Len</td>
<td class="text-center" rowspan="1" colspan="1">PSID-len</td>
</tr>
<tr>
<td class="text-center" rowspan="1" colspan="1">PSID</td>
<td class="text-center" rowspan="1" colspan="1">PSID</td>
<td class="text-center" rowspan="1" colspan="1">PSID</td>
</tr>
</tbody>
</table>
</section>
<section id="section-a.6">
<h2 id="name-option_s46_priority-111-to-">
<a href="#section-a.6" class="section-number selfRef">A.6. </a><a href="#name-option_s46_priority-111-to-" class="section-name selfRef">OPTION_S46_PRIORITY (111) to Softwire46-PORTPARAMS Field Mappings</a>
</h2>
<span id="name-option_s46_priority-to-soft"></span><table class="center" id="table-12">
<caption>
<a href="#table-12" class="selfRef">Table 12</a>:
<a href="#name-option_s46_priority-to-soft" class="selfRef">OPTION_S46_PRIORITY to Softwire46-PORTPARAMS Field Mappings</a>
</caption>
<thead>
<tr>
<th class="text-center" rowspan="1" colspan="1">OPTION_S46_PRIORITY Field</th>
<th class="text-center" rowspan="1" colspan="1">Softwire46-Priority Attribute Subfield</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-center" rowspan="1" colspan="1">s46-option-code</td>
<td class="text-center" rowspan="1" colspan="1">Softwire46-option-code</td>
</tr>
</tbody>
</table>
</section>
<section id="section-a.7">
<h2 id="name-option_v6_prefix64-113-to-s">
<a href="#section-a.7" class="section-number selfRef">A.7. </a><a href="#name-option_v6_prefix64-113-to-s" class="section-name selfRef">OPTION_V6_PREFIX64 (113) to Softwire46-Multicast Attribute Field Mappings</a>
</h2>
<span id="name-option_v6_prefix64-to-softw"></span><table class="center" id="table-13">
<caption>
<a href="#table-13" class="selfRef">Table 13</a>:
<a href="#name-option_v6_prefix64-to-softw" class="selfRef">OPTION_V6_PREFIX64 to Softwire46-Multicast Field Mappings</a>
</caption>
<thead>
<tr>
<th class="text-center" rowspan="1" colspan="1">OPTION_V6_PREFIX64 Field</th>
<th class="text-center" rowspan="1" colspan="1">Softwire46-Multicast Attribute TLV
Name</th>
<th class="text-center" rowspan="1" colspan="1">TLV Subfield</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-center" rowspan="1" colspan="1">asm-length</td>
<td class="text-center" rowspan="1" colspan="1">ASM-Prefix64</td>
<td class="text-center" rowspan="1" colspan="1">Prefix-Length</td>
</tr>
<tr>
<td class="text-center" rowspan="1" colspan="1">ASM_mPrefix64</td>
<td class="text-center" rowspan="1" colspan="1">ASM-Prefix64</td>
<td class="text-center" rowspan="1" colspan="1">asm-prefix64</td>
</tr>
<tr>
<td class="text-center" rowspan="1" colspan="1">ssm-length</td>
<td class="text-center" rowspan="1" colspan="1">SSM-Prefix64</td>
<td class="text-center" rowspan="1" colspan="1">Prefix-Length</td>
</tr>
<tr>
<td class="text-center" rowspan="1" colspan="1">SSM_mPrefix64</td>
<td class="text-center" rowspan="1" colspan="1">SSM-Prefix64</td>
<td class="text-center" rowspan="1" colspan="1">ssm-prefix64</td>
</tr>
<tr>
<td class="text-center" rowspan="1" colspan="1">unicast-length</td>
<td class="text-center" rowspan="1" colspan="1">U-Prefix64</td>
<td class="text-center" rowspan="1" colspan="1">Prefix-Length</td>
</tr>
<tr>
<td class="text-center" rowspan="1" colspan="1">uPrefix64</td>
<td class="text-center" rowspan="1" colspan="1">U-Prefix64</td>
<td class="text-center" rowspan="1" colspan="1">u-prefix64</td>
</tr>
</tbody>
</table>
</section>
</section>
</div>
<div id="Acknowledgements">
<section id="section-appendix.b">
<h2 id="name-acknowledgements">
<a href="#name-acknowledgements" class="section-name selfRef">Acknowledgements</a>
</h2>
<p id="section-appendix.b-1">The authors would like to thank Peter Lothberg, Wojciech Dec, Ian
Farrer, Suresh Krishnan, Qian Wang, Wei Meng, Cui Wang, Alan Dekok,
Stefan Winter, and Yu Tianpeng for their valuable comments regarding this
document.<a href="#section-appendix.b-1" class="pilcrow">¶</a></p>
<p id="section-appendix.b-2">This document was merged with <span>[<a href="#I-D.sun-softwire-lw4over6-radext" class="xref">LIGHTWEIGHT-4OVER6</a>]</span> and <span>[<a href="#I-D.wang-radext-multicast-radius-ext" class="xref">RADIUS-EXT</a>]</span>. Thanks to
everyone who contributed to this document.<a href="#section-appendix.b-2" class="pilcrow">¶</a></p>
<p id="section-appendix.b-3">Many thanks to Al Morton, Bernie Volz, Joel Halpern, and Donald
Eastlake for the review.<a href="#section-appendix.b-3" class="pilcrow">¶</a></p>
</section>
</div>
<section id="section-appendix.c">
<h2 id="name-contributors">
<a href="#name-contributors" class="section-name selfRef">Contributors</a>
</h2>
<div class="artwork art-text alignLeft" id="section-appendix.c-1">
<pre>
Bing Liu
Huawei Technologies Co., Ltd.
China
Email: leo.liubing@huawei.com</pre><a href="#section-appendix.c-1" class="pilcrow">¶</a>
</div>
<div class="artwork art-text alignLeft" id="section-appendix.c-2">
<pre>
Peter Deacon
IEA Software, Inc.
United States of America
Email: peterd@iea-software.com</pre><a href="#section-appendix.c-2" class="pilcrow">¶</a>
</div>
<div class="artwork art-text alignLeft" id="section-appendix.c-3">
<pre>
Qiong Sun
China Telecom
China
Email: sunqiong@ctbri.com.cn</pre><a href="#section-appendix.c-3" class="pilcrow">¶</a>
</div>
<div class="artwork art-text alignLeft" id="section-appendix.c-4">
<pre>
Qi Sun
Tsinghua University
China
Email: sunqibupt@gmail.com</pre><a href="#section-appendix.c-4" class="pilcrow">¶</a>
</div>
<div class="artwork art-text alignLeft" id="section-appendix.c-5">
<pre>
Cathy Zhou
Huawei Technologies
China
Email: cathy.zhou@huawei.com</pre><a href="#section-appendix.c-5" class="pilcrow">¶</a>
</div>
<div class="artwork art-text alignLeft" id="section-appendix.c-6">
<pre>
Tina Tsou
Huawei Technologies (USA)
United States of America
Email: Tina.Tsou.Zouting@huawei.com</pre><a href="#section-appendix.c-6" class="pilcrow">¶</a>
</div>
<div class="artwork art-text alignLeft" id="section-appendix.c-7">
<pre>
ZiLong Liu
Tsinghua University
China
Email: liuzilong8266@126.com</pre><a href="#section-appendix.c-7" class="pilcrow">¶</a>
</div>
<div class="artwork art-text alignLeft" id="section-appendix.c-8">
<pre>
Yong Cui
Tsinghua University
China
Email: yong@csnet1.cs.tsinghua.edu.cn</pre><a href="#section-appendix.c-8" class="pilcrow">¶</a>
</div>
</section>
<div id="authors-addresses">
<section id="section-appendix.d">
<h2 id="name-authors-addresses">
<a href="#name-authors-addresses" class="section-name selfRef">Authors' Addresses</a>
</h2>
<address class="vcard">
<div dir="auto" class="left"><span class="fn nameRole">Sheng Jiang (<span class="role">editor</span>)</span></div>
<div dir="auto" class="left"><span class="country-name">China</span></div>
<div dir="auto" class="left"> <span class="locality">Hai-Dian District, Beijing, 100095</span> </div>
<div dir="auto" class="left"><span class="street-address">Q14, Huawei Campus, No.156 Beiqing Road</span></div>
<div dir="auto" class="left"><span class="org">Huawei Technologies Co., Ltd.</span></div>
<div class="email">
<span>Email:</span>
<a href="mailto:jiangsheng@huawei.com" class="email">jiangsheng@huawei.com</a>
</div>
</address>
<address class="vcard">
<div dir="auto" class="left"><span class="fn nameRole">Yu Fu (<span class="role">editor</span>)</span></div>
<div dir="auto" class="left"><span class="country-name">China</span></div>
<div dir="auto" class="left"> <span class="locality">Hai-Dian District, Beijing, 100190</span> </div>
<div dir="auto" class="left"><span class="street-address">No.4 South 4th Street, Zhongguancun</span></div>
<div dir="auto" class="left"><span class="org">CNNIC</span></div>
<div class="email">
<span>Email:</span>
<a href="mailto:eleven711711@foxmail.com" class="email">eleven711711@foxmail.com</a>
</div>
</address>
<address class="vcard">
<div dir="auto" class="left"><span class="fn nameRole">Chongfeng Xie</span></div>
<div dir="auto" class="left"><span class="country-name">China</span></div>
<div dir="auto" class="left"> <span class="locality">Beijing</span> </div>
<div dir="auto" class="left"><span class="org">China Telecom</span></div>
<div class="email">
<span>Email:</span>
<a href="mailto:xiechf.bri@chinatelecom.cn" class="email">xiechf.bri@chinatelecom.cn</a>
</div>
</address>
<address class="vcard">
<div dir="auto" class="left"><span class="fn nameRole">Tianxiang Li</span></div>
<div dir="auto" class="left"><span class="country-name">China</span></div>
<div dir="auto" class="left"><span class="postal-code">100084</span></div>
<div dir="auto" class="left"> <span class="locality">Beijing</span> </div>
<div dir="auto" class="left"><span class="org">Tsinghua University</span></div>
<div class="email">
<span>Email:</span>
<a href="mailto:peter416733@gmail.com" class="email">peter416733@gmail.com</a>
</div>
</address>
<address class="vcard">
<div dir="auto" class="left"><span class="fn nameRole">Mohamed Boucadair (<span class="role">editor</span>)</span></div>
<div dir="auto" class="left"><span class="org">Orange</span></div>
<div dir="auto" class="left">
<span class="postal-code">35000</span> <span class="locality">Rennes</span>
</div>
<div dir="auto" class="left"><span class="country-name">France</span></div>
<div class="email">
<span>Email:</span>
<a href="mailto:mohamed.boucadair@orange.com" class="email">mohamed.boucadair@orange.com</a>
</div>
</address>
</section>
</div>
<script>var toc = document.getElementById("toc");
var tocToggle = toc.querySelector("h2");
var tocNav = toc.querySelector("nav");
// mobile menu toggle
tocToggle.onclick = function(event) {
if (window.innerWidth < 1024) {
var tocNavDisplay = tocNav.currentStyle ? tocNav.currentStyle.display : getComputedStyle(tocNav, null).display;
if (tocNavDisplay == "none") {
tocNav.style.display = "block";
} else {
tocNav.style.display = "none";
}
}
}
// toc anchor scroll to anchor
tocNav.addEventListener("click", function (event) {
event.preventDefault();
if (event.target.nodeName == 'A') {
if (window.innerWidth < 1024) {
tocNav.style.display = "none";
}
var href = event.target.getAttribute("href");
var anchorId = href.substr(1);
var anchor = document.getElementById(anchorId);
anchor.scrollIntoView(true);
window.history.pushState("","",href);
}
});
// switch toc mode when window resized
window.onresize = function () {
if (window.innerWidth < 1024) {
tocNav.style.display = "none";
} else {
tocNav.style.display = "block";
}
}
</script>
</body>
</html>
|