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
|
<pre>Network Working Group E. Fogelstroem
Request for Comments: 4857 A. Jonsson
Category: Experimental Ericsson
C. Perkins
Nokia Siemens Networks
June 2007
<span class="h1">Mobile IPv4 Regional Registration</span>
Status of This Memo
This memo defines an Experimental Protocol for the Internet
community. It does not specify an Internet standard of any kind.
Discussion and suggestions for improvement are requested.
Distribution of this memo is unlimited.
Copyright Notice
Copyright (C) The IETF Trust (2007).
Abstract
Using Mobile IP, a mobile node registers with its home agent each
time it changes care-of address. This document describes a new kind
of "regional registrations", i.e., registrations local to the visited
domain. The regional registrations are performed via a new network
entity called a Gateway Foreign Agent (GFA) and introduce a layer of
hierarchy in the visited domain. Regional registrations reduce the
number of signaling messages to the home network, and reduce the
signaling delay when a mobile node moves from one foreign agent to
another within the same visited domain. This document is an optional
extension to the Mobile IPv4 protocol.
Table of Contents
<a href="#section-1">1</a>. Introduction ....................................................<a href="#page-3">3</a>
<a href="#section-2">2</a>. Overview of Regional Registrations ..............................<a href="#page-4">4</a>
<a href="#section-3">3</a>. Terminology .....................................................<a href="#page-5">5</a>
<a href="#section-4">4</a>. Description of the Protocol .....................................<a href="#page-7">7</a>
<a href="#section-4.1">4.1</a>. General Assumptions ........................................<a href="#page-7">7</a>
<a href="#section-4.1.1">4.1.1</a>. Visited Domain ......................................<a href="#page-8">8</a>
<a href="#section-4.1.2">4.1.2</a>. Authentication ......................................<a href="#page-8">8</a>
<a href="#section-4.2">4.2</a>. Protocol Overview ..........................................<a href="#page-9">9</a>
<a href="#section-4.3">4.3</a>. Advertising Foreign Agent and GFA .........................<a href="#page-10">10</a>
<a href="#section-4.4">4.4</a>. Backwards Compatibility with <a href="./rfc3344">RFC 3344</a> .....................<a href="#page-10">10</a>
<a href="#section-5">5</a>. Home Registration ..............................................<a href="#page-11">11</a>
<a href="#section-5.1">5.1</a>. Mobile Node Considerations ................................<a href="#page-11">11</a>
<span class="grey">Fogelstroem, et al. Experimental [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc4857">RFC 4857</a> Mobile IPv4 Regional Registration June 2007</span>
<a href="#section-5.2">5.2</a>. Foreign Agent Considerations ..............................<a href="#page-12">12</a>
<a href="#section-5.3">5.3</a>. GFA Considerations ........................................<a href="#page-13">13</a>
<a href="#section-5.4">5.4</a>. Home Agent Considerations .................................<a href="#page-14">14</a>
<a href="#section-6">6</a>. Regional Registration ..........................................<a href="#page-14">14</a>
<a href="#section-6.1">6.1</a>. Mobile Node Considerations ................................<a href="#page-15">15</a>
<a href="#section-6.2">6.2</a>. Foreign Agent Considerations ..............................<a href="#page-16">16</a>
<a href="#section-6.3">6.3</a>. GFA Considerations ........................................<a href="#page-16">16</a>
<a href="#section-7">7</a>. Dynamic GFA Assignment .........................................<a href="#page-17">17</a>
<a href="#section-7.1">7.1</a>. Mobile Node Considerations for Dynamic GFA Assignment .....<a href="#page-17">17</a>
<a href="#section-7.2">7.2</a>. Foreign Agent Considerations for Dynamic GFA Assignment ...<a href="#page-17">17</a>
<a href="#section-7.3">7.3</a>. GFA Considerations for Dynamic GFA Assignment .............<a href="#page-18">18</a>
<a href="#section-7.4">7.4</a>. Home Agent Considerations for Dynamic GFA Assignment ......<a href="#page-18">18</a>
<a href="#section-7.5">7.5</a>. Regional Registration .....................................<a href="#page-19">19</a>
<a href="#section-8">8</a>. Router Discovery Extensions ....................................<a href="#page-19">19</a>
<a href="#section-8.1">8.1</a>. Regional Registration Flag ................................<a href="#page-19">19</a>
<a href="#section-8.2">8.2</a>. Foreign Agent NAI Extension ...............................<a href="#page-19">19</a>
<a href="#section-9">9</a>. Regional Extensions to Mobile IPv4 Registration Messages .......<a href="#page-20">20</a>
<a href="#section-9.1">9.1</a>. GFA IP Address Extension ..................................<a href="#page-20">20</a>
<a href="#section-9.2">9.2</a>. Hierarchical Foreign Agent Extension ......................<a href="#page-21">21</a>
<a href="#section-9.3">9.3</a>. Replay Protection Style ...................................<a href="#page-22">22</a>
<a href="#section-9.4">9.4</a>. Regional Registration Lifetime Extension ..................<a href="#page-23">23</a>
<a href="#section-9.5">9.5</a>. New Code Values for Registration Reply ....................<a href="#page-24">24</a>
<a href="#section-10">10</a>. Regional Registration Message Formats .........................<a href="#page-25">25</a>
<a href="#section-10.1">10.1</a>. Regional Registration Request ............................<a href="#page-26">26</a>
<a href="#section-10.2">10.2</a>. Regional Registration Reply ..............................<a href="#page-27">27</a>
<a href="#section-10.3">10.3</a>. New Regional Registration Reply Code Values ..............<a href="#page-28">28</a>
<a href="#section-11">11</a>. Authentication Extensions .....................................<a href="#page-29">29</a>
<a href="#section-12">12</a>. Security Considerations .......................................<a href="#page-29">29</a>
<a href="#section-13">13</a>. IANA Considerations ...........................................<a href="#page-30">30</a>
<a href="#section-14">14</a>. Acknowledgements ..............................................<a href="#page-31">31</a>
<a href="#section-15">15</a>. References ....................................................<a href="#page-32">32</a>
<a href="#section-15.1">15.1</a>. Normative References .....................................<a href="#page-32">32</a>
<a href="#section-15.2">15.2</a>. Informative References ...................................<a href="#page-32">32</a>
<a href="#appendix-A">Appendix A</a>. Authentication, Authorization, and Accounting (AAA)
Interactions ..........................................<a href="#page-33">33</a>
<a href="#appendix-B">Appendix B</a>. Anchoring at a GFA ....................................<a href="#page-33">33</a>
<span class="grey">Fogelstroem, et al. Experimental [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc4857">RFC 4857</a> Mobile IPv4 Regional Registration June 2007</span>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
This document is an optional extension to the Mobile IPv4 protocol,
and proposes a means for mobile nodes to register locally within a
visited domain. By registering locally, the number of signaling
messages to the home network are kept to a minimum, and the signaling
delay is reduced.
In Mobile IP, as specified in [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>], a mobile node registers with
its home agent each time it changes care-of address. If the distance
between the visited network and the home network of the mobile node
is large, the signaling delay for these registrations may be long.
We propose a solution for performing registrations locally in the
visited domain: regional registrations. Regional registrations
minimize the number of signaling messages to the home network, and
reduce the signaling delay when a mobile node moves from one foreign
agent to another within the same visited domain. This will both
decrease the load on the home network, and speed up the process of
handover within the visited domain.
Regional registrations introduce a new network node: the Gateway
Foreign Agent (GFA). The address of the GFA is advertised by the
foreign agents in a visited domain. When a mobile node first arrives
at this visited domain, it performs a home registration -- that is, a
registration with its home agent. At this registration, the mobile
node registers the address of the GFA as its care-of address with its
home agent. When moving between different foreign agents within the
same visited domain, the mobile node only needs to make a regional
registration to the GFA.
In their simplest form, regional registrations are performed
transparently to the home agent. Additionally, regional
registrations may also allow dynamic assignment of GFA. The solution
for dynamic GFA assignment requires support in the mobile node, the
foreign agent, the GFA, and the home agent.
The proposed regional registration protocol supports one level of
foreign agent hierarchy beneath the GFA, but the protocol may be
utilized to support several levels of hierarchy. Multiple levels of
hierarchy are not discussed in this document.
Although this document focuses on regional registrations in visited
domains, regional registrations are also possible in the home domain.
Foreign agents that support regional registrations are also required
to support registrations according to Mobile IPv4 [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>].
The following section gives an overview of regional registrations.
<span class="grey">Fogelstroem, et al. Experimental [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc4857">RFC 4857</a> Mobile IPv4 Regional Registration June 2007</span>
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Overview of Regional Registrations</span>
In standard Mobile IP, there are three entities of interest. The
Mobile Node (MN), the Foreign Agent (FA), and the Home Agent (HA).
The MN communicates with the HA, either through an FA or directly (if
it has a co-located care-of address). With Regional Registrations, a
new entity is defined: the Gateway Foreign Agent (GFA). The GFA sits
between the MN/FA and HA, and to the HA, it appears as if the MN's
temporary care-of address is that of the GFA. When a MN moves within
a site, it only need interact with the GFA, so that the GFA knows at
what temporary address the MN is currently reachable.
Two types of registration messages are used. Regular [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>]
Registration Requests/Replies are still used for when the MN
exchanges Registration Requests/Replies with the HA, but these
messages get forwarded through a GFA, and include new extensions.
In addition, a new pair of registration messages, Regional
Registration Requests/Replies, are used between MNs/FAs/GFAs for
intra-site signaling. A MN uses these messages to communicate its
new addresses to the GFA as it moves around within a site.
There are two models of how the MN uses Regional Registrations. The
FA can advertise a GFA to the MN. Alternatively, the FA can indicate
that dynamic assignment of GFA is to be used. With dynamic GFA
assignment, the MN does not choose the GFA, rather the FA (or GFA)
does so after receiving a Registration Request from the MN. However,
in this mode the HA must understand (and support) Regional
Registrations in order for them to be used. This last form is not
transparent because the MN doesn't know in advance what GFA will be
used, and cannot include it in a signed message to the HA.
When a MN moves to a new domain (determined by comparing its Network
Access Identifier (NAI) [<a href="./rfc4282" title=""The Network Access Identifier"">RFC4282</a>] with the FA-NAI included in
received Agent Advertisements), it can opt to use Regional
Registrations. A site indicates support for Regional Registrations
by setting the I-bit of the Mobile IP Agent Advertisement extension.
In addition, such advertisements include a list of one or more care-
of addresses. If there is only one care-of address, this is the
address of the FA itself. In addition, the advertisement may include
the address of the GFA. A GFA care-of address of all-ones indicates
that dynamic assignment of GFA is supported.
A MN requests initial Regional Registration by sending a normal
Registration Request to the FA, but setting the care-of address to
that of the GFA (i.e., if it has selected it wishes to use this GFA)
or all-zeros (which signals a dynamic GFA assignment request). The
FA adds a Hierarchical FA (HFA) extension and relays the request to
<span class="grey">Fogelstroem, et al. Experimental [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc4857">RFC 4857</a> Mobile IPv4 Regional Registration June 2007</span>
the appropriate GFA. The HFA extension contains a single field: the
IP address of the FA.
Note: the algorithm for MNs with co-located care-of addresses is
similar, except that there is no FA, so the MN behaves as the FA in
terms of the messages it sends.
A GFA receives Registration Requests relayed from an FA. If the
care-of address in the received Registration Request is zero, the GFA
assigns one. A GFA IP Address extension is then added to the
Registration Request, and the message is forwarded to the HA. The
GFA IP Address extension contains a single field: the IP address of
the GFA. (A separate field is needed for this because the
Registration Request message between the MN/HA is signed and cannot
be modified.)
HAs process received Registration Requests in the same way as before,
except in the case of dynamic GFA assignment. In this case, the HA
uses the GFA address from the GFA IP Address extension as the MN's
current care-of address. In addition, the Registration Reply message
must include the GFA IP Address extension.
The regular Registration Requests/Replies are protected as described
in [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>], by use of the mobility security association between the
MN and the HA. For regional registrations, it is assumed that a
mobility security association is established between the MN and GFA
during registration with the HA. Regional Registration Requests/
Replies are protected by use of this security association between the
MN and the GFA, e.g., by use of a MN-GFA Authentication extension.
HFA extensions, added by an FA to a Registration Request or Regional
Registration Request, are protected by an FA-FA Authentication
extension. Security associations between FAs and GFAs within a
domain are assumed to exist prior to regional registrations.
Dynamic GFA assignment requires means for securely sending
Registration Requests from the GFA to the HA, in order to protect the
GFA IP Address extension.
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Terminology</span>
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in <a href="./rfc2119">RFC 2119</a> [<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>].
<span class="grey">Fogelstroem, et al. Experimental [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc4857">RFC 4857</a> Mobile IPv4 Regional Registration June 2007</span>
This document uses the following terms:
Critical type
A type value for an extension in the range 0-127, which indicates
that the extension MUST either be known to the recipient, or that
the message containing the extension MUST be rejected. In other
words, an extension with a critical type value is non-skippable.
Domain
A collection of networks sharing a common network administration.
Foreign Agent (FA)
As defined in [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>].
Gateway Foreign Agent (GFA)
A Foreign Agent which has a publicly routable IP address. A GFA
may, for instance, be placed in or near a firewall.
Home Agent (HA)
As defined in [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>].
Home domain
The domain where the home network and home agent are located.
Home network
As defined in [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>].
Home Registration
A registration, processed by the home agent and the GFA, using the
specification in [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>] possibly with additional extensions
defined in this document.
Local Care-of Address
A care-of address that is assigned to either a mobile node or a
foreign agent offering local connectivity to a mobile node. A
registration message from the mobile node is subsequently sent to
a GFA via the local care-of address.
Mobile Node (MN)
As defined in [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>].
Mobility Agent (MA)
As defined in [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>].
Network Access Identifier(NAI)
Some features of this protocol specification rely on use of the
Network Access Identifier (NAI) [<a href="./rfc2794" title=""Mobile IP Network Access Identifier Extension for IPv4"">RFC2794</a>].
<span class="grey">Fogelstroem, et al. Experimental [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc4857">RFC 4857</a> Mobile IPv4 Regional Registration June 2007</span>
Regional Registration
A mobile node performs registration locally at the visited domain,
by sending a Regional Registration Request to a GFA, and receiving
a Regional Registration Reply in return.
Registration Key
A key used by mobile nodes and mobility agents to secure certain
signals and control messages specified by Mobile IP.
Visited domain
The domain where the visited network, the current foreign agent,
and the GFA are located.
Visited network
As defined in [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>].
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Description of the Protocol</span>
This section provides an overview of the regional registration
protocol.
<span class="h3"><a class="selflink" id="section-4.1" href="#section-4.1">4.1</a>. General Assumptions</span>
Our general model of operation is illustrated in Figure 1, showing a
visited domain with FA and GFA, and a home network with a HA:
+---------------------------+ +----------------+
| Visited Domain | | Home |
| | +---------+ | Network |
| | | | | |
| +------+ +-------+ | | Public | | +------+ |
| | FA |------| GFA |-------------------------| HA | |
| +--+---+ +-------+ | | Network | | +------+ |
| | | | | | |
+-----|---------------------+ +---------+ +----------------+
|
+--+---+
| MN |
+------+
Figure 1: Model of Operation
For MNs that cannot process a NAI, or with mobility agents that are
not configured to advertise their NAI, regional registration is still
useful, but processing the NAI makes it easier for the mobile node to
reliably detect domain changes.
<span class="grey">Fogelstroem, et al. Experimental [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc4857">RFC 4857</a> Mobile IPv4 Regional Registration June 2007</span>
<span class="h4"><a class="selflink" id="section-4.1.1" href="#section-4.1.1">4.1.1</a>. Visited Domain</span>
We assume two hierarchy levels of FAs in the visited domain. At the
top level of the hierarchy, there is at least one GFA, which is an FA
with additional features. A GFA must have a publicly routable
address. Beneath a GFA, there are one or more FAs. We assume that
there exist established security associations between a GFA and the
FAs beneath it. When designing a domain supporting regional
registrations, the FAs and GFAs in this domain must be compatible.
That is, they should support the same encapsulation types,
compression mechanisms, etc.
When a MN changes care-of address under the same GFA, it MAY perform
a regional registration. If the MN changes GFA, within a visited
domain or between visited domains, it MUST perform a home
registration.
<span class="h4"><a class="selflink" id="section-4.1.2" href="#section-4.1.2">4.1.2</a>. Authentication</span>
With regional registrations, a GFA address is registered at the HA as
the care-of address of the MN. If a Mobile-Foreign (MN-FA)
Authentication extension is present in a Registration Request message
directed to the HA, the GFA will perform the authentication.
Similarly, if a Foreign-Home (FA-HA) Authentication extension is
present in a Registration Request message, the authentication is
performed between the GFA and the HA. To summarize, the GFA takes
the role of an FA with regard to security associations in the home
registrations.
Regional registration messages also need to be protected with
authentication extensions in the same way as registrations with the
HA. This means that the MN and the GFA MUST have received the keys
needed to construct the authentication extensions before any regional
registration is performed. As described above, since the GFA address
is the registered care-of address of the MN at its home network, the
GFA is the agent within the visited domain that has to have the
appropriate security associations with the HA and the MN. The GFA's
security association with the MN is then used to enable proper
authentication for regional registrations (see <a href="#section-6">Section 6</a>). How the
keys are distributed is outside the scope of this draft. One example
is to distribute the keys as part of the home registration, for
example according to [<a href="./rfc4004" title=""Diameter Mobile IPv4 Application"">RFC4004</a>] and [<a href="./rfc3957" title=""Authentication, Authorization, and Accounting (AAA) Registration Keys for Mobile IPv4"">RFC3957</a>]. Another example is
pre-configured keys.
<span class="grey">Fogelstroem, et al. Experimental [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc4857">RFC 4857</a> Mobile IPv4 Regional Registration June 2007</span>
<span class="h3"><a class="selflink" id="section-4.2" href="#section-4.2">4.2</a>. Protocol Overview</span>
When a MN first arrives at a visited domain, it performs a
registration with its home network. During this registration, the HA
registers the care-of address of the MN. In case the visited domain
supports regional registrations, the care-of address that is
registered at the HA is the address of a GFA. The GFA keeps a
visitor list of all the MNs currently registered with it.
Since the care-of address registered at the HA is the GFA address, it
will not change when the MN changes FA under the same GFA. Thus, the
HA does not need to be informed of further MN movements within the
visited domain.
Figure 2 illustrates the signaling message flow for home
registration. During the home registration, the HA records the GFA
address as the care-of address of the MN.
MN FA1 GFA HA
| | | |
| Registration Request | | |
|---------------------->| Reg. Request | |
| |---------------------->| Reg. Request |
| | |--------------->|
| | | Reg. Reply |
| | Reg. Reply |<---------------|
| Registration Reply |<----------------------| |
|<----------------------| | |
| | | |
Figure 2: Home Registration
Figure 3 illustrates the signaling message flow for regional
registration. Even though the MN's local care-of address changes,
the HA continues to use the GFA address as the care-of address of the
MN. We introduce two new message types for regional registrations:
Regional Registration Request and Regional Registration Reply.
<span class="grey">Fogelstroem, et al. Experimental [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc4857">RFC 4857</a> Mobile IPv4 Regional Registration June 2007</span>
MN FA2 GFA HA
| | | |
| Regional Reg. Req. | | |
|---------------------->| Regional Registration Req. | |
| |----------------------------->| |
| | Regional Registration Reply | |
| Regional Reg. Reply |<-----------------------------| |
|<----------------------| | |
| | | |
Figure 3: Regional Registration
<span class="h3"><a class="selflink" id="section-4.3" href="#section-4.3">4.3</a>. Advertising Foreign Agent and GFA</span>
A FA typically announces its presence via an Agent Advertisement
message [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>]. If the domain to which an FA belongs supports
regional registrations, the following changes apply to the Agent
Advertisement.
The 'I' flag (see <a href="#section-8.1">Section 8.1</a>) MUST be set to indicate that the
domain supports regional registrations. If the 'I' flag is set,
there MUST be at least one care-of address in the Agent
Advertisement. If the 'I' flag is set and there is only one care-of
address, it is the address of the FA. If the 'I' flag is set, and
there is more than one care-of address, the first care-of address is
the local FA, and the last care-of address is the GFA. (Any care-of
addresses advertised in addition to these two are out of scope for
this document).
The FA-NAI (see <a href="#section-8.2">Section 8.2</a>) SHOULD also be present in the Agent
Advertisement to enable the MN to decide whether or not it has moved
to a new domain since its last registration. The decision is based
on whether the realm part of the advertised FA-NAI matches the realm
of the FA-NAI advertised by the MN's previous FA.
<span class="h3"><a class="selflink" id="section-4.4" href="#section-4.4">4.4</a>. Backwards Compatibility with <a href="./rfc3344">RFC 3344</a></span>
A domain that supports regional registrations should also be
backwards compatible.
An FA MUST support registrations according to Mobile IPv4 as defined
in [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>]. This allows MNs that don't support regional
registrations to register via this FA using standard Mobile IPv4. If
the FA advertises both its own care-of address and a GFA care-of
address, a MN that supports regional registrations but has a HA that
doesn't, will still be able to make use of regional registrations
through that GFA care-of address.
<span class="grey">Fogelstroem, et al. Experimental [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc4857">RFC 4857</a> Mobile IPv4 Regional Registration June 2007</span>
The advertised GFA care-of address MAY be set to all-ones, to
indicate dynamic GFA assignment. If the MN supports regional
registrations, and an all-ones GFA care-of address is advertised, the
MN SHOULD use dynamic GFA assignment (see <a href="#section-7.1">Section 7.1</a>).
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Home Registration</span>
This section gives a detailed description of home registration, i.e.,
registration with the HA (on the home network). Home registration is
performed when a MN first arrives at a visited domain, when it
requests a new HA, or when it changes GFA. Home registration is also
performed to renew bindings which would otherwise expire.
<span class="h3"><a class="selflink" id="section-5.1" href="#section-5.1">5.1</a>. Mobile Node Considerations</span>
Upon receipt of an Agent Advertisement message with the 'I' flag set
and an FA-NAI extension, the MN compares the domain part of the FA
NAI with the one received in the previous Agent Advertisement, to
determine whether it has moved to a new domain since its last
registration. If the NAIs do not match, the MN MUST assume it has
moved to a new domain.
If the MN determines that it has moved to a new domain, it SHOULD
insert the advertised GFA address in the care-of address field in the
Registration Request message. For dynamic GFA assignment, see
<a href="#section-7.1">Section 7.1</a>.
A MN with a co-located care-of address might also want to use
regional registrations. It then finds out the address of a GFA,
either from Agent Advertisements sent by an FA, or by some means not
described in this document. The MN MAY then generate a Registration
Request message, with the GFA address in the care-of address field,
and send it directly to the GFA (not via an FA). In this case, the
MN MUST add a Hierarchical Foreign Agent (HFA) extension (see <a href="#section-9.2">Section</a>
<a href="#section-9.2">9.2</a>), including its co-located care-of address, to the Registration
Request before sending it. The HFA extension MUST be protected by an
authentication extension. If the MN has established a mobility
security association with the GFA, the HFA extension MUST be placed
before the MN-FA Authentication extension, and it SHOULD be placed
after the Mobile-Home (MN-HA) Authentication extension. Otherwise,
if the MN has no established mobility security association with the
GFA, the HFA extension MUST be placed before the MN-HA authentication
extension.
If the MN receives an Agent Advertisement with the 'R' bit set, even
if it has a co-located care-of address, it still formulates the same
Registration Request message with extensions, but it sends the
message to the advertising FA instead of to the GFA.
<span class="grey">Fogelstroem, et al. Experimental [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc4857">RFC 4857</a> Mobile IPv4 Regional Registration June 2007</span>
If the home registration is about to expire, the MN performs a new
home registration using the same GFA care-of address to refresh the
binding [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>]. If the MN has just moved to a new FA and not yet
sent a Regional Registration Request when the home registration is
due to expire, the MN sends only a Registration Request, as this will
update both the GFA and the HA.
If the Registration Reply includes a Replay Protection Style
extension, the value in the Initial Identification field is the value
to be used for replay protection in the next Regional Registration
Request (see <a href="#section-6.1">Section 6.1</a>).
<span class="h3"><a class="selflink" id="section-5.2" href="#section-5.2">5.2</a>. Foreign Agent Considerations</span>
When the FA receives a Registration Request message from a MN, it
extracts the care-of address field to find the GFA to which the
message shall be relayed. All FAs that advertise the 'I' flag MUST
also be able to handle Registration Requests with an all-zeros care-
of address (used for dynamic GFA assignment).
If the FA receives a Registration Request where the care-of address
is set to all-ones (which could happen if a MN that doesn't support
Regional Registrations copied an all-ones care-of address from an
Agent Advertisement), it MUST reply with the Code field set to
"poorly formed request" [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>].
If the Registration Request has the 'T' bit set, the MN is requesting
Reverse Tunneling [<a href="./rfc3024" title=""Reverse Tunneling for Mobile IP, revised"">RFC3024</a>]. In this case, the FA has to tunnel
packets from the MN to the GFA for further handling.
If the care-of address in the Registration Request is the address of
the FA, the FA relays the message directly to the HA, as described in
[<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>]. For each pending or current home registration, the FA
maintains a visitor list entry as described in [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>]. If reverse
tunneling is being used, the visitor list MUST contain the address of
the GFA, in addition to the fields required in [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>].
Otherwise, if the care-of address in the Registration Request is the
address of a GFA (or all-zeros), the FA adds a Hierarchical Foreign
Agent (HFA) extension, including its own address, to the Registration
Request, and relays it to the GFA. The HFA extension MUST be
appended at the end of all previous extensions that were included in
the Registration Request when the FA received it, and it MUST be
protected by a Foreign-Foreign (FA-FA) Authentication extension (see
<a href="#section-11">Section 11</a>).
<span class="grey">Fogelstroem, et al. Experimental [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc4857">RFC 4857</a> Mobile IPv4 Regional Registration June 2007</span>
<span class="h3"><a class="selflink" id="section-5.3" href="#section-5.3">5.3</a>. GFA Considerations</span>
For each pending or current home registration, the GFA maintains a
visitor list entry as described in [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>]. This visitor list
entry is also updated for the regional registrations performed by the
MN. In addition to the fields required in [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>], the list entry
MUST contain:
o the current care-of address of the MN (i.e., the FA or co-located
address) received in the HFA extension
o the remaining Lifetime of the regional registration
o the style of replay protection in use for the regional
registration
o the Identification value for the regional registration.
The default replay protection style for regional registrations is
timestamp-based replay protection, as defined in Mobile IPv4
[<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>]. If the timestamp sent by the MN in the Registration
Request is not close enough to the GFA's time-of-day clock, the GFA
adds a Replay Protection Style extension (see <a href="#section-9.3">Section 9.3</a>) to the
Registration Reply, with the GFA's time of day in the Identification
field to synchronize the MN with the GFA for the regional
registrations.
If nonce-based replay protection is used, the GFA adds a Replay
Protection Style extension to the Registration Reply, where the high-
order 32 bits in the Identification fields is the nonce that should
be used by the MN in the following regional registration.
If the Registration Request contains a Replay Protection Style
extension (see <a href="#section-9.3">Section 9.3</a>) requesting a style of replay protection
not supported by the GFA, the GFA MUST reject the Registration
Request and send a Registration Reply with the value in the Code
field set to REPLAY_PROT_UNAVAIL (see <a href="#section-9.5">Section 9.5</a>).
If the Hierarchical Foreign Agent (HFA) extension comes after the
MN-FA Authentication extension, the GFA MUST remove it from the
Registration Request. The GFA then sends the Registration Request to
the HA. Upon receipt of the Registration Reply, the GFA consults its
pending registration record to find the care-of address within its
domain that is currently used by the MN, and sends the Registration
Reply to that care-of address.
If the Replay Protection Style extension (see <a href="#section-9.3">Section 9.3</a>) is present
in a Registration Request, and follows the MN-HA Authentication
extension, the GFA SHOULD remove the Replay Protection Style
extension after performing any necessary processing and before
sending the Registration Request to the HA.
<span class="grey">Fogelstroem, et al. Experimental [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc4857">RFC 4857</a> Mobile IPv4 Regional Registration June 2007</span>
If the GFA receives a Registration Request from a MN that it already
has a mobility binding for, this is an update of a binding that is
about to expire. If the address in the Hierarchical Foreign Agent
(HFA) extension is the same as the current care-of address in the
visitor list for the MN, the entries in the visitor list concerning
regional registrations are not changed, except to update the
lifetime. If the address in the HFA extension is a new address, the
values for the regional registration are updated.
If the Registration Request has the 'T' bit set, the GFA has to
decapsulate the packets from the FA and re-encapsulate them for
further delivery back to the HA. These actions are required because
the HA has to receive such packets from the expected care-of address
(i.e., that of the GFA) instead of the local care-of address (i.e.,
that of the FA).
When receiving a Registration Reply from the HA, the GFA MAY add a
Regional Registration Lifetime extension to the message before
relaying it to the FA. The extension defines the lifetime that the
GFA allows the MN before it has to renew its regional registration.
The GFA MUST set the lifetime of the regional registration to be no
greater than the remaining lifetime of the MN's registration with its
HA. If used, the Regional Registration Lifetime extension MUST be
added after any other extensions, and MUST be protected by an MN-FA
Authentication extension.
<span class="h3"><a class="selflink" id="section-5.4" href="#section-5.4">5.4</a>. Home Agent Considerations</span>
The Registration Request is processed by the HA as described in
[<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>].
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Regional Registration</span>
This section describes regional registrations. Once the HA has
registered the GFA address as the care-of address of the MN, the MN
may perform regional registrations. When performing regional
registrations, the MN may either register an FA care-of address or a
co-located address with the GFA. In the following, we assume that a
home registration has already occurred, as described in <a href="#section-5">Section 5</a>,
and that the GFA has a mobility security association with the MN.
Suppose the MN moves from one FA to another FA within the same
visited domain. It will then receive an Agent Advertisement from the
new FA. Suppose further that the Agent Advertisement indicates that
the visited domain supports regional registrations, and either that
the advertised GFA address is the same as the one the MN has
registered as its care-of address during its last home registration,
or that the realm part of the newly advertised FA-NAI matches the FA-
<span class="grey">Fogelstroem, et al. Experimental [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc4857">RFC 4857</a> Mobile IPv4 Regional Registration June 2007</span>
NAI advertised by the MN's previous FA. Then, the MN can perform a
regional registration with this FA and GFA. The MN issues a Regional
Registration Request to the GFA via the new FA. The request is
authenticated using the existing mobility security association
between the GFA and the MN and the message is authenticated by the
MN-GFA Authentication extension (see <a href="#section-11">Section 11</a>). The care-of
address should be set to the address of the local FA.
If the Regional Registration Request contains a care-of address field
of all-zeros, the FA adds a Hierarchical Foreign Agent (HFA)
extension to the message and relays it to the GFA. Based on the
information in the HFA extension, the GFA updates the MN's current
point of attachment in its visitor list. The GFA then issues a
Regional Registration Reply to the MN via the FA.
If the advertised GFA is not the same as the one the MN has
registered as its care-of address, and if the MN is still within the
same domain as it was when it registered that care-of address, the MN
MAY try to perform a regional registration with its registered GFA.
If the FA cannot support regional registration to a GFA, other than
advertised, the FA denies the Regional Registration Request with code
UNKNOWN_GFA (see <a href="#section-10.3">Section 10.3</a>). In this case, the MN has to do a new
home registration via the new GFA.
New message types are introduced for the Regional Registration
Request and Reply. The motivation for introducing new message types,
rather than using the Registration Request and Reply defined in
[<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>] is: (1) the MN must be able to distinguish regional
registrations from home registrations, since in the former case the
timestamps/nonces are synchronized with its GFA and in the latter
with its HA; and (2) a home registration MUST be directed to the home
network before the lifetime of the GFA care-of address expires.
<span class="h3"><a class="selflink" id="section-6.1" href="#section-6.1">6.1</a>. Mobile Node Considerations</span>
For each pending or current home registration, the MN maintains the
information described in [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>]. The information is also updated
for the regional registrations performed by the MN. In addition to
the information described in [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>], the MN MUST maintain the
following information, if present:
o the GFA address
o the remaining Lifetime of the regional registration
o the style of replay protection in use for the regional
registration
o the Identification value for the regional registration.
<span class="grey">Fogelstroem, et al. Experimental [Page 15]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-16" ></span>
<span class="grey"><a href="./rfc4857">RFC 4857</a> Mobile IPv4 Regional Registration June 2007</span>
The replay protection for home registrations and regional
registrations is performed as described in [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>]. Since the MN
performs regional registrations at the GFA in parallel with home
registrations at the HA, the MN MUST be able to keep one replay
protection mechanism and sequence for the GFA, and a separate
mechanism and sequence for the HA.
For regional registrations, replay protection may also be provided at
the FA by the challenge-response mechanism, as described in
[<a href="./rfc4721" title=""Mobile IPv4 Challenge/Response Extensions (Revised)"">RFC4721</a>].
<span class="h3"><a class="selflink" id="section-6.2" href="#section-6.2">6.2</a>. Foreign Agent Considerations</span>
When the FA receives a Regional Registration Request from a MN,
addressed to a GFA, it generally processes the message according to
the rules of processing a Registration Request addressed to a HA (see
<a href="#section-5.2">Section 5.2</a>). The only difference is that the GFA IP address field
replaces the HA address field. If that address belongs to a known
GFA, the FA forwards the request to the indicated GFA. Otherwise,
the FA MUST generate a Regional Registration Reply with error code
UNKNOWN_GFA.
For each pending or current registration, the FA maintains a visitor
list entry as described in [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>]. If reverse tunneling is being
used, the visitor list MUST contain the address of the GFA, in
addition to the fields required in [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>]. This is required so
that the FA can tunnel datagrams, sent by the MN, to the GFA. The
GFA then decapsulates the datagrams, re-encapsulates them, and sends
them to the HA.
<span class="h3"><a class="selflink" id="section-6.3" href="#section-6.3">6.3</a>. GFA Considerations</span>
If the GFA accepts a Regional Registration Request, it MUST set the
lifetime of the regional registration to be no greater than the
remaining lifetime of the MN's registration with its HA, and put this
lifetime into the corresponding Regional Registration Reply. The GFA
MUST NOT accept a request for a regional registration if the lifetime
of the MN's registration with its HA has expired. In that case, the
GFA sends a Regional Registration Reply with the value in the Code
field set to NO_HOME_REG.
If the GFA receives a tunneled packet from an FA in its domain, then
after decapsulation the GFA looks to see whether it has an entry in
its visitor list for the source IP address of the inner IP header
after decapsulation. If so, it checks the visitor list to see
whether reverse tunneling has been requested; if it was requested,
the GFA re-encapsulates the packet with its own address as the source
IP address, and the address of the HA as the destination IP address.
<span class="grey">Fogelstroem, et al. Experimental [Page 16]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-17" ></span>
<span class="grey"><a href="./rfc4857">RFC 4857</a> Mobile IPv4 Regional Registration June 2007</span>
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Dynamic GFA Assignment</span>
Regional registrations may also allow dynamic assignment of a GFA to
a MN. The visited network (i.e., the FA) indicates support for
dynamic GFA assignment by advertising an all-ones care-of address in
the Agent Advertisement. The MN then sets the care-of address in the
Registration Request to all-zeros to request a dynamically assigned
GFA. Upon receiving this Registration Request, the FA relays it to
the appropriate GFA, and the GFA assigns its address to the MN by
means of a GFA IP Address extension added to the Registration
Request.
In order for dynamic GFA assignment to work, the MN, GFA, and HA,
respectively, MUST support the GFA IP Address extension. Also, the
FA MUST be able to advertise an all-ones care-of address and handle a
Registration Request with an all-zeros care-of address.
Note also that protection of the GFA IP Address extension, added to
the Registration Request, requires either the use of an FA-HA
Authentication extension or other means to secure the Registration
Request when forwarded from the GFA to the HA.
<span class="h3"><a class="selflink" id="section-7.1" href="#section-7.1">7.1</a>. Mobile Node Considerations for Dynamic GFA Assignment</span>
If the 'I' flag in the Agent Advertisement sent out by the FA is set,
and the care-of address indicating the GFA is set to all-ones, this
indicates support for dynamic GFA assignment.
If the MN supports dynamic GFA assignment, and if the advertised GFA
address is all-ones, the MN SHOULD set the care-of address field in
the Registration Request to all-zeros to request to be assigned a
GFA.
When requesting dynamic GFA assignment, the MN MUST check to make
sure that it receives a GFA IP Address extension in the Registration
Reply.
<span class="h3"><a class="selflink" id="section-7.2" href="#section-7.2">7.2</a>. Foreign Agent Considerations for Dynamic GFA Assignment</span>
If an FA supports dynamic GFA assignment, and receives a Registration
Request with the care-of address field set to all-zeros, the FA
assigns a GFA to the MN. A FA can either have a default GFA that it
assigns to all MNs or it can assign a GFA by some means not described
in this specification.
If an FA that does not support dynamic GFA assignment receives a
Registration Request with the care-of address field set to all-zeros,
the FA will deny the request as described in [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>], i.e., by
<span class="grey">Fogelstroem, et al. Experimental [Page 17]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-18" ></span>
<span class="grey"><a href="./rfc4857">RFC 4857</a> Mobile IPv4 Regional Registration June 2007</span>
sending a Registration Reply with the Code field set to "invalid
care-of address".
<span class="h3"><a class="selflink" id="section-7.3" href="#section-7.3">7.3</a>. GFA Considerations for Dynamic GFA Assignment</span>
If a GFA supports dynamic GFA assignment, and receives a Registration
Request with the care-of address field set to all-zeros, the GFA
assigns its own IP address as care-of address for this MN, and adds a
GFA IP Address extension with this address to the Registration
Request. The GFA MUST NOT insert the GFA IP address directly in the
care-of address field in the Registration Request, since that would
cause the MN-HA authentication to fail.
The GFA IP Address extension has to be protected so that it cannot be
changed by a malicious node when the Registration Request is
forwarded to the HA. If the HA and the GFA have a mobility security
association, the GFA IP Address extension MUST be protected by the
FA-HA authentication extension. Otherwise, the Registration Request
MUST be sent to the HA in a secure way, for example via a secure AAA
protocol (e.g., [<a href="./rfc4004" title=""Diameter Mobile IPv4 Application"">RFC4004</a>], [<a href="./rfc3957" title=""Authentication, Authorization, and Accounting (AAA) Registration Keys for Mobile IPv4"">RFC3957</a>]).
If the GFA does not support dynamic GFA assignment, it will deny the
request by sending a Registration Reply with the Code field set to
ZERO_COA_NOT_SUPP (see <a href="#section-9.5">Section 9.5</a>).
<span class="h3"><a class="selflink" id="section-7.4" href="#section-7.4">7.4</a>. Home Agent Considerations for Dynamic GFA Assignment</span>
If a HA receives a Registration Request with a GFA IP Address
extension, and the HA does not allow the use of this extension, the
HA MUST return a Registration Reply with the Code value set to
DYN_GFA_NOT_SUPP (see <a href="#section-9.5">Section 9.5</a>).
If a HA receives a Registration Request message with the care-of
address set to all-zeros, but no GFA IP Address extension, it MUST
deny the request by sending a Registration Reply message with the
Code field set to ZERO_CAREOF_ADDRESS (see <a href="#section-9.5">Section 9.5</a>).
If a HA that does not support dynamic GFA assignment receives a
Registration Request with a GFA IP Address extension, the request
will be denied by the HA, as described in [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>].
If a HA that supports dynamic GFA assignment receives a Registration
Request with the care-of address set to all-zeros and a GFA IP
Address extension, it MUST register the IP address of the GFA as the
care-of address of the MN in its mobility binding list. If the
Registration Request is accepted, the HA MUST include the GFA IP
Address extension in the Registration Reply, before the MN-HA
Authentication extension.
<span class="grey">Fogelstroem, et al. Experimental [Page 18]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-19" ></span>
<span class="grey"><a href="./rfc4857">RFC 4857</a> Mobile IPv4 Regional Registration June 2007</span>
<span class="h3"><a class="selflink" id="section-7.5" href="#section-7.5">7.5</a>. Regional Registration</span>
If the MN receives an Agent Advertisement with the care-of address
field indicating the GFA set to all-ones, and if the MN determines
that it is within the same visited domain as when it did its last
home registration, it MAY send a Regional Registration Request to its
current GFA. Otherwise, it MUST send a Registration Request to its
HA as described in <a href="#section-7.1">Section 7.1</a>.
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. Router Discovery Extensions</span>
This section specifies a new flag within the Mobile IP Agent
Advertisement, and an optional extension to the ICMP Router Discovery
Protocol [<a href="./rfc1256" title=""ICMP Router Discovery Messages"">RFC1256</a>].
<span class="h3"><a class="selflink" id="section-8.1" href="#section-8.1">8.1</a>. Regional Registration Flag</span>
The only change to the Mobility Agent Advertisement Extension defined
in [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>] is a flag indicating that the domain, to which the FA
generating the Agent Advertisement belongs, supports regional
registrations. The flag is inserted after the flags defined in
[<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>], [<a href="./rfc3024" title=""Reverse Tunneling for Mobile IP, revised"">RFC3024</a>], and [<a href="./rfc3519" title=""Mobile IP Traversal of Network Address Translation (NAT) Devices"">RFC3519</a>].
Regional Registration flag:
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | Sequence Number |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Lifetime |R|B|H|F|M|G|r|T|U|I| reserved |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| zero or more Care-of Addresses |
| ... |
The flag is defined as follows:
Type 16 (Mobility Agent Advertisement)
I Regional Registration. This domain supports
regional registration as specified in this document.
<span class="h3"><a class="selflink" id="section-8.2" href="#section-8.2">8.2</a>. Foreign Agent NAI Extension</span>
The FA-NAI extension is defined as subtype 3 of the NAI Carrying
Extension [<a href="./rfc3846" title=""Mobile IPv4 Extension for Carrying Network Access Identifiers"">RFC3846</a>].
<span class="grey">Fogelstroem, et al. Experimental [Page 19]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-20" ></span>
<span class="grey"><a href="./rfc4857">RFC 4857</a> Mobile IPv4 Regional Registration June 2007</span>
The FA SHOULD include its NAI in the Agent Advertisement message. If
present, the Foreign Agent NAI (FA-NAI) extension MUST appear in the
Agent Advertisement message after any of the advertisement extensions
defined in [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>].
By comparing the domain part of the FA-NAI with the domain part of
the FA-NAI it received in the previous Agent Advertisement, the MN
can determine whether it has moved to a new domain since it last
registered.
<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a>. Regional Extensions to Mobile IPv4 Registration Messages</span>
In this section, we specify new Mobile IP registration extensions for
the purpose of managing regional registrations.
<span class="h3"><a class="selflink" id="section-9.1" href="#section-9.1">9.1</a>. GFA IP Address Extension</span>
The GFA IP Address extension is defined for the purpose of supporting
dynamic GFA assignment. If the MN requests a dynamically assigned
GFA, the GFA adds a GFA IP Address extension to the Registration
Request before relaying it to the HA. The MN indicates that it wants
a GFA to be assigned by sending a Registration Request with the
care-of address field set to all-zeros. The GFA IP Address extension
MUST appear in the Registration Request before the FA-HA
Authentication extension, if present.
If a HA receives a Registration Request message with the care-of
address set to all-zeros, and a GFA IP Address extension, it MUST
register the IP address of the GFA as the care-of address of the MN.
When generating a Registration Reply message, the HA MUST include the
GFA IP Address extension from the Registration Request in the
Registration Reply message. The GFA IP Address extension MUST appear
in the Registration Reply message before the MN-HA Authentication
extension.
The GFA IP Address Extension is defined as follows:
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | reserved |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| GFA IP Address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type
46 (GFA IP Address) (non-skippable)
<span class="grey">Fogelstroem, et al. Experimental [Page 20]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-21" ></span>
<span class="grey"><a href="./rfc4857">RFC 4857</a> Mobile IPv4 Regional Registration June 2007</span>
Length
6
GFA IP Address
The GFA IP Address field contains the Gateway Foreign Agent's
(GFA) publicly routable address.
<span class="h3"><a class="selflink" id="section-9.2" href="#section-9.2">9.2</a>. Hierarchical Foreign Agent Extension</span>
The Hierarchical Foreign Agent (HFA) extension may be present in a
Registration Request or Regional Registration Request. When an FA
adds this extension to a Registration Request, the receiving mobility
agent (GFA) sets up a pending registration record for the MN, using
the IP address in the HFA extension as the care-of address for the
MN. Furthermore, in this case, the extension MUST be appended at the
end of all previous extensions that had been included in the
registration message as received by the FA. The HFA extension MUST
be protected by an FA-FA Authentication extension. When the
receiving mobility agent (GFA) receives the registration message, it
MUST remove the HFA extension added by the sending FA.
If a MN with a co-located care-of address adds the HFA extension to a
Registration Request, the receiving mobility agent (GFA) sets up a
pending registration record for the MN, using the IP address in the
HFA extension as the care-of address for the MN. The extension MUST
be protected by an authentication extension. If the MN has
established a mobility security association with the GFA, the HFA
extension MUST be placed before the MN-FA Authentication extension,
and it SHOULD be placed after the Mobile-Home (MN-HA) Authentication
extension. Otherwise, if the MN has no established mobility security
association with the GFA, the HFA extension MUST be placed before the
MN-HA authentication extension. If the HFA extension is placed after
all other extensions, the receiving mobility agent (GFA) MUST remove
the HFA extension added by the MN. Otherwise, when the HA receives
the registration message, it ignores the HFA extension.
The Hierarchical Foreign Agent (HFA) Extension is defined as follows:
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | reserved |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| FA IP Address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type
140 (Hierarchical Foreign Agent) (skippable)
<span class="grey">Fogelstroem, et al. Experimental [Page 21]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-22" ></span>
<span class="grey"><a href="./rfc4857">RFC 4857</a> Mobile IPv4 Regional Registration June 2007</span>
Length
6
FA IP Address
The IP Address of the FA relaying the Registration Request.
<span class="h3"><a class="selflink" id="section-9.3" href="#section-9.3">9.3</a>. Replay Protection Style</span>
When a MN uses Mobile IPv4 to register a care-of address with its HA,
the style of replay protection used for the registration messages is
assumed to be known by way of a mobility security association that is
required to exist between the MN and the HA receiving the request.
No such pre-existing security association between the MN and the GFA
is likely to be available. By default, the MN SHOULD treat replay
protection for Regional Registration messages exactly as specified in
Mobile IPv4 [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>] for timestamp-based replay protection.
If the MN requires nonce-based replay protection, also as specified
in Mobile IPv4, it MAY append a Replay Protection Style extension to
a Registration Request. Since Registration Requests are forwarded to
the HA by way of the GFA, the GFA will be able to establish the
selected replay protection (see <a href="#section-5.3">Section 5.3</a>).
The GFA also uses this extension by adding a Replay Protection Style
extension to a Registration Reply to synchronize the replay
protection for Regional Registrations (see <a href="#section-5.3">Section 5.3</a>).
The format of the Replay Protection Style extension is:
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | Replay Protection Style |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
+ Initial Identification +
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type
141 (Replay Protection Style) (skippable)
Length
2
Replay Protection Style
An integer specifying the style of replay protection desired by
the MN.
<span class="grey">Fogelstroem, et al. Experimental [Page 22]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-23" ></span>
<span class="grey"><a href="./rfc4857">RFC 4857</a> Mobile IPv4 Regional Registration June 2007</span>
Initial Identification
The timestamp or nonce to be used for initial synchronization for
the replay mechanism.
Admissible values for the Replay Protection Style are as follows:
+-------+-------------------------+
| Value | Replay Protection Style |
+-------+-------------------------+
| 0 | timestamp [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>] |
| 1 | nonce [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>] |
+-------+-------------------------+
The Replay Protection Style extension MUST be protected by an
authentication extension. If the MN has an established mobility
security association with the GFA, the Replay Protection Style
extension MUST be placed before the MN-FA Authentication extension in
the Registration Request, and SHOULD be placed after the MN-HA
Authentication extension. Otherwise, the Replay Protection Style
extension MUST be placed before the MN-HA Authentication extension in
the Registration Request.
If the GFA adds a Replay Protection Style extension to a Registration
Reply, it SHOULD be placed before the MN-FA Authentication extension.
The MN-FA Authentication extension should be based on security
associations between the MN and GFA established during home
registration.
Replay protection MAY also be provided through a challenge-response
mechanism, at the FA issuing the Agent Advertisement, as described in
[<a href="./rfc4721" title=""Mobile IPv4 Challenge/Response Extensions (Revised)"">RFC4721</a>].
<span class="h3"><a class="selflink" id="section-9.4" href="#section-9.4">9.4</a>. Regional Registration Lifetime Extension</span>
The Regional Registration Lifetime extension allows the GFA to set a
lifetime for the regional registration with an MN during its home
registration. When receiving a Registration Reply from the HA, the
GFA MAY add this extension to the Registration Reply before relaying
it to the FA. The GFA MUST set the Regional Registration Lifetime to
be no greater than the remaining lifetime of the MN's home
registration.
<span class="grey">Fogelstroem, et al. Experimental [Page 23]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-24" ></span>
<span class="grey"><a href="./rfc4857">RFC 4857</a> Mobile IPv4 Regional Registration June 2007</span>
The Regional Registration Lifetime Extension is defined as follows:
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | reserved |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Regional Registration Lifetime |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type
142 (Regional Registration Lifetime) (skippable)
Length
6
Regional Registration Lifetime
If the Code field indicates that the registration was accepted,
the Regional Registration Lifetime field is set to the number of
seconds remaining before the regional registration is considered
expired. A value of zero indicates that the MN has been
deregistered with the GFA. A value of 0xffff indicates infinity.
If the Code field indicates that the home registration was denied,
the contents of the Regional Registration Lifetime field are
unspecified and MUST be ignored on reception.
If the GFA adds a Regional Registration Lifetime extension to a
Registration Reply, it MUST be placed before the MN-FA Authentication
extension. The MN-FA Authentication extension should be based on
security associations between the MN and GFA established during home
registration.
<span class="h3"><a class="selflink" id="section-9.5" href="#section-9.5">9.5</a>. New Code Values for Registration Reply</span>
The values to use within the Code field of the Registration Reply are
defined in [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>]. In addition, the following values are defined:
Registration denied by the GFA:
+---------------------+-------+---------------------+
| Error Name | Value | Section of Document |
+---------------------+-------+---------------------+
| REPLAY_PROT_UNAVAIL | 110 | <a href="#section-5.3">Section 5.3</a> |
| ZERO_COA_NOT_SUPP | 111 | <a href="#section-7.3">Section 7.3</a> |
+---------------------+-------+---------------------+
<span class="grey">Fogelstroem, et al. Experimental [Page 24]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-25" ></span>
<span class="grey"><a href="./rfc4857">RFC 4857</a> Mobile IPv4 Regional Registration June 2007</span>
Registration denied by the HA (for dynamic GFA assignment):
+---------------------+-------+---------------------+
| Error Name | Value | Section of Document |
+---------------------+-------+---------------------+
| ZERO_CAREOF_ADDRESS | 145 | <a href="#section-7.4">Section 7.4</a> |
| DYN_GFA_NOT_SUPP | 146 | <a href="#section-7.4">Section 7.4</a> |
+---------------------+-------+---------------------+
<span class="h2"><a class="selflink" id="section-10" href="#section-10">10</a>. Regional Registration Message Formats</span>
This section specifies two new registration message types: Regional
Registration Request and Regional Registration Reply. These messages
are used by the MN instead of the existing Mobile IPv4 Registration
Request and Registration Reply, as described in <a href="#section-6">Section 6</a>.
Regional registration messages are protected by required
authentication extensions, in the same way as the existing Mobile
IPv4 registration messages are protected. The following rules apply
to authentication extensions:
o The MN-GFA Authentication extension [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>] MUST be included in
all regional registration messages.
o The MN-FA Authentication extension [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>] MAY be included in
regional registration messages.
o The FA-HA Authentication extension [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>] MUST NOT be included
in any regional registration message.
<span class="grey">Fogelstroem, et al. Experimental [Page 25]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-26" ></span>
<span class="grey"><a href="./rfc4857">RFC 4857</a> Mobile IPv4 Regional Registration June 2007</span>
<span class="h3"><a class="selflink" id="section-10.1" href="#section-10.1">10.1</a>. Regional Registration Request</span>
The Regional Registration Request is used by a MN to register with
its current GFA.
Regional Registration Request:
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type |S|B|D|M|G|r|T|x| Lifetime |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Home Address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| GFA IP Address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Care-of Address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
+ Identification +
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Extensions ...
+-+-+-+-+-+-+-+-
The Regional Registration Request is defined as the Registration
Request in [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>], but with the following changes:
Type
18 (Regional Registration Request)
Lifetime
The number of seconds remaining before the Regional Registration
is considered expired. A value of zero indicates a request for
deregistration with the GFA. A value of 0xffff indicates
infinity.
GFA IP Address
The IP address of the Gateway Foreign Agent (GFA). (Replaces Home
Agent field in Registration Request message in [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>].)
Care-of Address
Care-of address of local FA; MAY be set to all-ones.
<span class="grey">Fogelstroem, et al. Experimental [Page 26]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-27" ></span>
<span class="grey"><a href="./rfc4857">RFC 4857</a> Mobile IPv4 Regional Registration June 2007</span>
Identification
A 64-bit number, constructed by the MN, used for matching Regional
Registration Requests with Regional Registration Replies, and for
protecting against replay attacks of regional registration
messages.
Extensions
For the Regional Registration Request, the Hierarchical Foreign
Agent (HFA) Extension is an allowable extension (in addition to
those which are allowable for the Registration Request).
<span class="h3"><a class="selflink" id="section-10.2" href="#section-10.2">10.2</a>. Regional Registration Reply</span>
The Regional Registration Reply delivers the indication of regional
registration acceptance or denial to a MN.
In the Regional Registration Reply, the UDP header is followed by the
Mobile IP fields shown below:
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Code | Lifetime |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Home Address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| GFA IP Address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
+ Identification +
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Extensions ...
+-+-+-+-+-+-+-+-
This message is defined as the Registration Reply message in
[<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>], but with the following changes:
Type
19 (Regional Registration Reply)
Code
A value indicating the result of the Regional Registration
Request. See [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>] for a list of currently defined Code
values.
<span class="grey">Fogelstroem, et al. Experimental [Page 27]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-28" ></span>
<span class="grey"><a href="./rfc4857">RFC 4857</a> Mobile IPv4 Regional Registration June 2007</span>
Lifetime
If the Code field indicates that the regional registration was
accepted, the Lifetime field is set to the number of seconds
remaining before the regional registration is considered expired.
A value of zero indicates that the MN has been deregistered with
the GFA. A value of 0xffff indicates infinity. If the Code field
indicates that the regional registration was denied, the contents
of the Lifetime field are unspecified and MUST be ignored on
reception.
GFA IP Address
The IP address of the Gateway Foreign Agent (GFA) generating the
Regional Registration Reply. (Replaces Home Agent field specified
in Mobile IPv4 [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>].)
Identification
A 64-bit number used for matching Regional Registration Requests
with Regional Registration Replies, and for protecting against
replay attacks of regional registration messages. The value is
based on the Identification field from the Regional Registration
Request message from the MN, and on the style of replay protection
used in the security context between the MN and its GFA (defined
by the mobility security association between them).
<span class="h3"><a class="selflink" id="section-10.3" href="#section-10.3">10.3</a>. New Regional Registration Reply Code Values</span>
For a Regional Registration Reply, the following additional Code
values are defined in addition to those specified in Mobile IPv4
[<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>].
Registration denied by the FA:
+----------------------+-------+---------------------+
| Error Name | Value | Section of Document |
+----------------------+-------+---------------------+
| UNKNOWN_GFA | 112 | <a href="#section-6.2">Section 6.2</a> |
| GFA_UNREACHABLE | 113 | |
| GFA_HOST_UNREACHABLE | 114 | |
| GFA_PORT_UNREACHABLE | 115 | |
+----------------------+-------+---------------------+
Registration denied by the GFA:
+-------------+-------+---------------------+
| Error Name | Value | Section of Document |
+-------------+-------+---------------------+
| NO_HOME_REG | 193 | <a href="#section-6.3">Section 6.3</a> |
+-------------+-------+---------------------+
<span class="grey">Fogelstroem, et al. Experimental [Page 28]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-29" ></span>
<span class="grey"><a href="./rfc4857">RFC 4857</a> Mobile IPv4 Regional Registration June 2007</span>
The four first Code values are returned to the MN in response to ICMP
errors that may be received by the FA.
<span class="h2"><a class="selflink" id="section-11" href="#section-11">11</a>. Authentication Extensions</span>
In this section, two new subtypes for the Generalized Authentication
Extension [<a href="./rfc4721" title=""Mobile IPv4 Challenge/Response Extensions (Revised)"">RFC4721</a>] are specified. First, the FA-FA Authentication
extension is used by FAs to secure the HFA extension to the
Registration Request and Regional Registration Request messages. A
new authentication extension is necessary because the HFA extension
is typically added after the MN-HA Authentication extension or, e.g.,
the MN-AAA Authentication extension [<a href="./rfc4721" title=""Mobile IPv4 Challenge/Response Extensions (Revised)"">RFC4721</a>].
The MN-GFA Authentication extension is used whenever the MN has a co-
located address. The MN-GFA Authentication extension is also used to
provide authentication for a Regional Registration Request.
The subtype values for these new subtypes are as follows:
+-----------------------+-------+
| Subtype Name | Value |
+-----------------------+-------+
| FA-FA authentication | 2 |
| MN-GFA authentication | 3 |
+-----------------------+-------+
The default algorithm for computation of the authenticator is the
same as for the MN-AAA Authentication subtype defined in [<a href="./rfc4721" title=""Mobile IPv4 Challenge/Response Extensions (Revised)"">RFC4721</a>].
<span class="h2"><a class="selflink" id="section-12" href="#section-12">12</a>. Security Considerations</span>
This document proposes a method for a MN to register locally in a
visited domain. The authentication extensions to be used are those
defined in [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>] and [<a href="./rfc4721" title=""Mobile IPv4 Challenge/Response Extensions (Revised)"">RFC4721</a>]. Key distribution, assumed to
take place during home registration, is to be performed, for
instance, according to [<a href="./rfc4004" title=""Diameter Mobile IPv4 Application"">RFC4004</a>] or [<a href="./rfc3957" title=""Authentication, Authorization, and Accounting (AAA) Registration Keys for Mobile IPv4"">RFC3957</a>]. Alternatively, the
keys can be pre-configured.
If the Hierarchical Foreign Agent (HFA) extension is appended to a
Registration Request, this extension is to be followed by an FA-FA
Authentication extension (see <a href="#section-11">Section 11</a>) to prevent any modification
to the data. Security associations between FAs and GFAs within a
domain are assumed to exist prior to regional registrations.
If the GFA IP Address extension is added to a registration message,
it is to be followed by a authentication extension. In case of the
GFA IP Address extension being added to a Registration Request, it
should be protected by an FA-HA Authentication extension. If no
<span class="grey">Fogelstroem, et al. Experimental [Page 29]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-30" ></span>
<span class="grey"><a href="./rfc4857">RFC 4857</a> Mobile IPv4 Regional Registration June 2007</span>
security association exists between the GFA and the HA, the
Registration Request needs to be protected by other means not defined
in this document. When a GFA IP Address extension is added to a
Registration Reply, it is protected by the Mobile-Home Authentication
extension as defined in [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>].
Replay protection for regional registrations is defined similarly to
[<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>], with the addition of a Replay Protection Style extension.
If this extension is added to a Registration Reply by a GFA, it needs
to be protected by a MN-FA Authentication extension.
A co-operating malicious MN-HA pair can trick the GFA into setting up
state for an incorrect MN home address. This would result in
redirection of data of the node that actually owns that IP address to
the malicious MN. Given that the forwarding happens based on the
home address at the GFA, such an attack is scoped to the prefix of
the HA, not that of the GFA. This type of attack, or its
consequences, is not considered in this document.
<span class="h2"><a class="selflink" id="section-13" href="#section-13">13</a>. IANA Considerations</span>
This document defines:
o A subtype for the NAI Carrying Extension [<a href="./rfc3846" title=""Mobile IPv4 Extension for Carrying Network Access Identifiers"">RFC3846</a>] is specified in
<a href="#section-8.2">Section 8.2</a>, which needs to have a value assigned from the space
of NAI Carrying Extension subtypes.
o Four new extensions to Mobile IP Registration messages: GFA IP
Address, Hierarchical Foreign Agent, Replay Protection Style, and
Regional Registration Lifetime (see Sections <a href="#section-9.1">9.1</a>, <a href="#section-9.2">9.2</a>, <a href="#section-9.3">9.3</a>, and
9.4). The Type values for the GFA IP Address extension must be
within the range 0 through 127, while the other three must be
within the range 128 through 255.
o New Code values for Registration Reply messages (see <a href="#section-9.5">Section 9.5</a>).
o Two new subtypes for the Generalized Authentication Extension
[<a href="./rfc4721" title=""Mobile IPv4 Challenge/Response Extensions (Revised)"">RFC4721</a>]; see <a href="#section-11">Section 11</a>.
o Two new message types for Mobile IP: Regional Registration Request
and Regional Registration Reply (see Sections <a href="#section-10.1">10.1</a> and <a href="#section-10.2">10.2</a>).
o Code values for Regional Registration Reply messages (see <a href="#section-10.3">Section</a>
<a href="#section-10.3">10.3</a>).
<span class="grey">Fogelstroem, et al. Experimental [Page 30]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-31" ></span>
<span class="grey"><a href="./rfc4857">RFC 4857</a> Mobile IPv4 Regional Registration June 2007</span>
<span class="h2"><a class="selflink" id="section-14" href="#section-14">14</a>. Acknowledgements</span>
This document is a logical successor to documents written with Pat
Calhoun and Gabriel Montenegro; thanks to them and their many efforts
to help explore this problem space. Many thanks also to Jari Malinen
for his commentary on a rough version of this document.
<span class="grey">Fogelstroem, et al. Experimental [Page 31]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-32" ></span>
<span class="grey"><a href="./rfc4857">RFC 4857</a> Mobile IPv4 Regional Registration June 2007</span>
<span class="h2"><a class="selflink" id="section-15" href="#section-15">15</a>. References</span>
<span class="h3"><a class="selflink" id="section-15.1" href="#section-15.1">15.1</a>. Normative References</span>
[<a id="ref-RFC1256">RFC1256</a>] Deering, S., "ICMP Router Discovery Messages", <a href="./rfc1256">RFC 1256</a>,
September 1991.
[<a id="ref-RFC2119">RFC2119</a>] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>, March 1997.
[<a id="ref-RFC4282">RFC4282</a>] Aboba, B., Beadles, M., Arkko, J., and P. Eronen, "The
Network Access Identifier", <a href="./rfc4282">RFC 4282</a>, December 2005.
[<a id="ref-RFC2794">RFC2794</a>] Calhoun, P. and C. Perkins, "Mobile IP Network Access
Identifier Extension for IPv4", <a href="./rfc2794">RFC 2794</a>, March 2000.
[<a id="ref-RFC3024">RFC3024</a>] Montenegro, G., "Reverse Tunneling for Mobile IP,
revised", <a href="./rfc3024">RFC 3024</a>, January 2001.
[<a id="ref-RFC3344">RFC3344</a>] Perkins, C., "IP Mobility Support for IPv4", <a href="./rfc3344">RFC 3344</a>,
August 2002.
[<a id="ref-RFC3519">RFC3519</a>] Levkowetz, H. and S. Vaarala, "Mobile IP Traversal of
Network Address Translation (NAT) Devices", <a href="./rfc3519">RFC 3519</a>, May
2003.
[<a id="ref-RFC3846">RFC3846</a>] Johansson, F. and T. Johansson, "Mobile IPv4 Extension for
Carrying Network Access Identifiers", <a href="./rfc3846">RFC 3846</a>, June 2004.
[<a id="ref-RFC4721">RFC4721</a>] Perkins, C., Calhoun, P., and J. Bharatia, "Mobile IPv4
Challenge/Response Extensions (Revised)", <a href="./rfc4721">RFC 4721</a>,
January 2007.
<span class="h3"><a class="selflink" id="section-15.2" href="#section-15.2">15.2</a>. Informative References</span>
[<a id="ref-RFC3957">RFC3957</a>] Perkins, C. and P. Calhoun, "Authentication,
Authorization, and Accounting (AAA) Registration Keys for
Mobile IPv4", <a href="./rfc3957">RFC 3957</a>, March 2005.
[<a id="ref-RFC4004">RFC4004</a>] Calhoun, P., Johansson, T., Perkins, C., Hiller, T., and
P. McCann, "Diameter Mobile IPv4 Application", <a href="./rfc4004">RFC 4004</a>,
August 2005.
<span class="grey">Fogelstroem, et al. Experimental [Page 32]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-33" ></span>
<span class="grey"><a href="./rfc4857">RFC 4857</a> Mobile IPv4 Regional Registration June 2007</span>
<span class="h2"><a class="selflink" id="appendix-A" href="#appendix-A">Appendix A</a>. Authentication, Authorization, and Accounting (AAA)</span>
Interactions
When the mobile node has to obtain authorization by way of
Authentication, Authorization, and Accounting (AAA) infrastructure
services, the control flow implicit in the main body of this
specification is likely to be modified. Typically, the mobile node
will supply credentials for authorization by AAA as part of its
registration messages. The GFA will parse the credentials supplied
by the mobile and forward the appropriate authorization request to a
local AAA server (see [<a href="./rfc3012">RFC3012</a>] and [<a href="./rfc4004" title=""Diameter Mobile IPv4 Application"">RFC4004</a>]).
Concretely, this means that:
o The GFA MAY include the Mobile IP Registration Request data inside
an authorization request, directed to a local AAA server.
o The GFA MAY receive the Mobile IP Registration Reply data from a
message granting authorization, received from the AAA
infrastructure.
<span class="h2"><a class="selflink" id="appendix-B" href="#appendix-B">Appendix B</a>. Anchoring at a GFA</span>
As described earlier in this draft, once a mobile node has registered
the address of a GFA as its care-of address with its home agent, it
MAY perform regional registrations when changing foreign agent under
the same GFA. When detecting that is has changed foreign agent, and
if the new foreign agent advertises the 'I' flag, the mobile node MAY
address a Regional Registration Request message to its registered
GFA, even if the address of that particular GFA is not advertised by
the new foreign agent. The foreign agent MAY then relay the request
to the GFA in question, or deny the request with error code
UNKNOWN_GFA.
<span class="grey">Fogelstroem, et al. Experimental [Page 33]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-34" ></span>
<span class="grey"><a href="./rfc4857">RFC 4857</a> Mobile IPv4 Regional Registration June 2007</span>
Authors' Addresses
Eva Fogelstroem
Ericsson
Torshamnsgatan 23
SE-164 80 Stockholm
Sweden
EMail: eva.fogelstrom@ericsson.com
Annika Jonsson
Ericsson
Tellusborgsvagen 83-87
S-126 37 Hagersten
Sweden
EMail: annika.jonsson@ericsson.com
Charles E. Perkins
Nokia Siemens Networks
313 Fairchild Drive
Mountain View, California 94043
USA
EMail: charles.perkins@nsn.com
<span class="grey">Fogelstroem, et al. Experimental [Page 34]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-35" ></span>
<span class="grey"><a href="./rfc4857">RFC 4857</a> Mobile IPv4 Regional Registration June 2007</span>
Full Copyright Statement
Copyright (C) The IETF Trust (2007).
This document is subject to the rights, licenses and restrictions
contained in <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a>, and except as set forth therein, the authors
retain all their rights.
This document and the information contained herein are provided on an
"AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE IETF TRUST AND
THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF
THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Intellectual Property
The IETF takes no position regarding the validity or scope of any
Intellectual Property Rights or other rights that might be claimed to
pertain to the implementation or use of the technology described in
this document or the extent to which any license under such rights
might or might not be available; nor does it represent that it has
made any independent effort to identify any such rights. Information
on the procedures with respect to rights in RFC documents can be
found in <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and <a href="https://www.rfc-editor.org/bcp/bcp79">BCP 79</a>.
Copies of IPR disclosures made to the IETF Secretariat and any
assurances of licenses to be made available, or the result of an
attempt made to obtain a general license or permission for the use of
such proprietary rights by implementers or users of this
specification can be obtained from the IETF on-line IPR repository at
<a href="http://www.ietf.org/ipr">http://www.ietf.org/ipr</a>.
The IETF invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary
rights that may cover technology that may be required to implement
this standard. Please address the information to the IETF at
ietf-ipr@ietf.org.
Acknowledgement
Funding for the RFC Editor function is currently provided by the
Internet Society.
Fogelstroem, et al. Experimental [Page 35]
</pre>
|