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
|
<pre>Network Working Group K. Leung
Request for Comments: 5177 G. Dommety
Category: Standards Track Cisco Systems
V. Narayanan
Qualcomm, Inc.
A. Petrescu
Motorola
April 2008
<span class="h1">Network Mobility (NEMO) Extensions for Mobile IPv4</span>
Status of This Memo
This document specifies an Internet standards track protocol for the
Internet community, and requests discussion and suggestions for
improvements. Please refer to the current edition of the "Internet
Official Protocol Standards" (STD 1) for the standardization state
and status of this protocol. Distribution of this memo is unlimited.
Abstract
This document describes a protocol for supporting Mobile Networks
between a Mobile Router and a Home Agent by extending the Mobile IPv4
protocol. A Mobile Router is responsible for the mobility of one or
more network segments or subnets moving together. The Mobile Router
hides its mobility from the nodes on the Mobile Network. The nodes
on the Mobile Network may be fixed in relationship to the Mobile
Router and may not have any mobility function.
Extensions to Mobile IPv4 are introduced to support Mobile Networks.
<span class="grey">Leung, et al. Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc5177">RFC 5177</a> Mobile Router April 2008</span>
Table of Contents
<a href="#section-1">1</a>. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-1.1">1.1</a>. Examples of Mobile Networks . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-1.2">1.2</a>. Overview of Protocol . . . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-2">2</a>. Terminology . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
<a href="#section-3">3</a>. Requirements . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-7">7</a>
<a href="#section-4">4</a>. Mobile Network Extensions . . . . . . . . . . . . . . . . . . <a href="#page-8">8</a>
<a href="#section-4.1">4.1</a>. Mobile Network Request Extension . . . . . . . . . . . . . <a href="#page-8">8</a>
<a href="#section-4.2">4.2</a>. Mobile Network Acknowledgement Extension . . . . . . . . . <a href="#page-9">9</a>
<a href="#section-5">5</a>. Mobile Router Operation . . . . . . . . . . . . . . . . . . . <a href="#page-11">11</a>
<a href="#section-5.1">5.1</a>. Error Processing . . . . . . . . . . . . . . . . . . . . . <a href="#page-12">12</a>
<a href="#section-5.2">5.2</a>. Mobile Router Management . . . . . . . . . . . . . . . . . <a href="#page-12">12</a>
<a href="#section-6">6</a>. Home Agent Operation . . . . . . . . . . . . . . . . . . . . . <a href="#page-13">13</a>
<a href="#section-6.1">6.1</a>. Summary . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-13">13</a>
<a href="#section-6.2">6.2</a>. Data Structures . . . . . . . . . . . . . . . . . . . . . <a href="#page-14">14</a>
<a href="#section-6.2.1">6.2.1</a>. Registration Table . . . . . . . . . . . . . . . . . . <a href="#page-14">14</a>
<a href="#section-6.2.2">6.2.2</a>. Prefix Table . . . . . . . . . . . . . . . . . . . . . <a href="#page-14">14</a>
<a href="#section-6.3">6.3</a>. Mobile Network Prefix Registration . . . . . . . . . . . . <a href="#page-14">14</a>
<a href="#section-6.4">6.4</a>. Advertising Mobile Network Reachability . . . . . . . . . <a href="#page-16">16</a>
<a href="#section-6.5">6.5</a>. Establishment of Bi-directional Tunnel . . . . . . . . . . <a href="#page-16">16</a>
<a href="#section-6.6">6.6</a>. Sending Registration Replies . . . . . . . . . . . . . . . <a href="#page-17">17</a>
<a href="#section-6.7">6.7</a>. Mobile Network Prefix Deregistration . . . . . . . . . . . <a href="#page-17">17</a>
<a href="#section-7">7</a>. Data Forwarding Operation . . . . . . . . . . . . . . . . . . <a href="#page-17">17</a>
<a href="#section-8">8</a>. Nested Mobile Networks . . . . . . . . . . . . . . . . . . . . <a href="#page-18">18</a>
<a href="#section-9">9</a>. Routing Protocol between Mobile Router and Home Agent . . . . <a href="#page-18">18</a>
<a href="#section-10">10</a>. Security Considerations . . . . . . . . . . . . . . . . . . . <a href="#page-19">19</a>
<a href="#section-10.1">10.1</a>. Security when Dynamic Routing Protocol Is Used . . . . . . <a href="#page-20">20</a>
<a href="#section-11">11</a>. IANA Considerations . . . . . . . . . . . . . . . . . . . . . <a href="#page-20">20</a>
<a href="#section-12">12</a>. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-22">22</a>
<a href="#section-13">13</a>. References . . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-23">23</a>
<a href="#section-13.1">13.1</a>. Normative References . . . . . . . . . . . . . . . . . . . <a href="#page-23">23</a>
<a href="#section-13.2">13.2</a>. Informative References . . . . . . . . . . . . . . . . . . <a href="#page-24">24</a>
<span class="grey">Leung, et al. Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc5177">RFC 5177</a> Mobile Router April 2008</span>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
This document describes network mobility extensions to the Mobile
IPv4 protocol. The goal of introducing these extensions is to
accommodate mobility scenarios where groups of hosts and routers move
homogeneously (as a whole). It is required that all hosts and
routers in a Mobile Network be able to run applications connecting to
the Internet, and be reachable from the Internet.
For details regarding terminology related to network mobility (NEMO),
a quick read of <a href="./rfc4885">RFC 4885</a> [<a href="./rfc4885" title=""Network Mobility Support Terminology"">RFC4885</a>] is suggested.
<span class="h3"><a class="selflink" id="section-1.1" href="#section-1.1">1.1</a>. Examples of Mobile Networks</span>
A Mobile Network links together a set of hosts and routers.
Connecting this Mobile Network to the Internet is ensured at two
levels: first, a Mobile Router is connected on one side to the Mobile
Network and on another side to a wireless access system; second, a
Home Agent placed on the home link manages traffic between the
Correspondent Node and a Local Fixed Node (LFN, a node in the Mobile
Network) by means of encapsulating traffic.
A scenario of applicability for this Mobile Network is described
next. A Mobile Network is formed by a wireless-enabled Personal
Digital Assistant (PDA) and a portable photographic camera, linked
together by Bluetooth wireless link-layer technology. This is
sometimes referred to as a Personal Area Network (PAN). In the
illustration below, one can notice the PDA playing the role of a
Mobile Router and the camera the role of Local Fixed Node.
<span class="grey">Leung, et al. Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc5177">RFC 5177</a> Mobile Router April 2008</span>
----
| HA |
---- --------
| / \ ----
-+--------| Internet |---------| CN |
\ / ----
--------
/ \
/ \
/ \
---- ----
| AR | | AR |
---- ----
|cellular |cellular
/ |cellular
| ---- ----
Mobile | | MR | |LFN | ---movement-->
Network < ---- ----
| | |
| -+-----------+-
\ Bluetooth
The camera (Local Fixed Node) uploads photographic content to a
Correspondent Node (CN) server. When the Mobile Network moves away,
the Mobile Router serving the Mobile Network changes its point of
attachment from one cellular access (Access Router) to another,
obtaining a new Care-of Address. The Home Agent (HA) encapsulates
application traffic for the CN and LFN.
Whereas the illustration above is a very simple instantiation of the
applicability of Mobile IP-based Mobile Networks, more complex Mobile
Networks are easily accommodated by the Mobile IPv4 extensions
presented in this document (NEMOv4). For example, laptop computers
used by passengers in a bus, train, ship, or plane should all be
considered as forming Mobile Networks, as long as they move together
(homogeneously).
<span class="grey">Leung, et al. Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc5177">RFC 5177</a> Mobile Router April 2008</span>
<span class="h3"><a class="selflink" id="section-1.2" href="#section-1.2">1.2</a>. Overview of Protocol</span>
As introduced previously, this document presents extensions to the
Mobile IPv4 protocol. The entities sending and receiving these
extensions are the Mobile Router and the Home Agent. The Local Fixed
Node is relieved from running Mobile IP software and, although it
moves (together with the Mobile Network), its IP stack is not seeing
any change in addressing.
Mobility for the entire Mobile Network is supported by the Mobile
Router registering its current point of attachment (Care-of Address)
to its Home Agent: the Mobile Router sends an extended Registration
Request to the Home Agent, which returns an extended Registration
Reply. This signaling sets up the tunnel between the two entities,
as illustrated in the following figure:
LFN MR HA CN
| | | |
| | Extended Registration | |
| |---------------------->| |
| | Request | |
| | | |
| | | |
| | Extended Registration | |
| |<----------------------| |
| | Reply | |
| | | |
|<--------o=======================o-------->|
| | Encapsulated | |
| | Application Traffic | |
| | | |
The prefix(es) used within a Mobile Network (either implicitly
configured on the Home Agent or explicitly identified by the Mobile
Router in the Registration Request) is/are advertised by the Home
Agent for route propagation in the home network. Traffic to and from
nodes in the Mobile Network are tunneled by the Home Agent to the
Mobile Router, and vice versa. Though packets from a Local Fixed
Node placed in the Mobile Network can be forwarded by the Mobile
Router directly without tunneling (if reverse tunneling were not
used), these packets will be dropped if ingress filtering is turned
on at the Access Router.
Extensively relating to Mobile IPv4 [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>], this specification
addresses mainly the co-located Care-of Address mode. Foreign Agent
Care-of Address mode (with 'legacy' Foreign Agents [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>]) is
<span class="grey">Leung, et al. Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc5177">RFC 5177</a> Mobile Router April 2008</span>
supported but without optimization, and with double encapsulation
being used. For an optimization of this mode, the gentle reader is
directed to an extension document [<a href="#ref-NEMOv4-FA" title=""FA extensions to NEMOv4 Base"">NEMOv4-FA</a>].
Compared to Mobile IPv4, this document specifies an additional tunnel
between a Mobile Router's Home Address and the Home Agent. This
tunnel is encapsulated within the normal tunnel between the Care-of
Address (CoA) and Home Agent. In Foreign Agent CoA mode, the tunnel
between the Mobile Router and Home Agent is needed to allow the
Foreign Agent to direct the decapsulated packet to the proper
visiting Mobile Router. However, in co-located CoA mode, the
additional tunnel is not essential and could be eliminated because
the Mobile Router is the recipient of the encapsulated packets for
the Mobile Network; a proposal for this feature is in the extending
document mentioned above [<a href="#ref-NEMOv4-FA" title=""FA extensions to NEMOv4 Base"">NEMOv4-FA</a>].
All traffic between the nodes in the Mobile Network and the
Correspondent Nodes passes through the Home Agent. This document
does not touch on aspects related to route optimization of this
traffic.
A similar protocol has been documented in <a href="./rfc3963">RFC 3963</a> [<a href="./rfc3963" title=""Network Mobility (NEMO) Basic Support Protocol"">RFC3963</a>] for
supporting IPv6 Mobile Networks with Mobile IPv6 extensions.
Multihoming for Mobile Routers is outside the scope of this document.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</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>].
Terminology for Mobile IPv4 mobility support is defined in <a href="./rfc3344">RFC 3344</a>
[<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>]. Terminology for network mobility support (NEMO), from an
IPv6 perspective, is described in <a href="./rfc4885">RFC 4885</a> [<a href="./rfc4885" title=""Network Mobility Support Terminology"">RFC4885</a>]. In addition,
this document defines the following terms for NEMOv4.
Mobile Router
<a href="./rfc3344">RFC 3344</a> [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>] defines a Mobile Router as a mobile node
that can be a router that is responsible for the mobility of
one or more entire networks moving together, perhaps on an
airplane, a ship, a train, an automobile, a bicycle, or a
kayak.
<span class="grey">Leung, et al. Standards Track [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc5177">RFC 5177</a> Mobile Router April 2008</span>
Mobile Network Prefix
The network prefix of the subnet delegated to a Mobile Router
as the Mobile Network.
Prefix Table
A list of Mobile Network Prefixes indexed by the Home Address
of a Mobile Router. The Home Agent manages and uses the
Prefix Table to determine which Mobile Network Prefixes
belong to a particular Mobile Router.
Local Fixed Node
<a href="./rfc4885">RFC 4885</a> [<a href="./rfc4885" title=""Network Mobility Support Terminology"">RFC4885</a>] defines a Local Fixed Node (LFN) to be a
fixed node belonging to the Mobile Network and unable to
change its point of attachment. This definition should not
be confused with "Long, Fat Network, LFN" of <a href="./rfc1323">RFC 1323</a>
[<a href="./rfc1323" title=""TCP Extensions for High Performance"">RFC1323</a>], at least because the latter is pronounced
"elephan(t)" whereas a NEMO LFN is distinctively pronounced
"elefen".
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Requirements</span>
Although the original Mobile IPv4 specifications stated that Mobile
Networks can be supported by the Mobile Router and Home Agent using
static configuration or running a routing protocol (see <a href="./rfc3344#section-4.5">Section 4.5
of RFC 3344</a> [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>]), there is no solution for explicit
registration of the Mobile Networks served by the Mobile Router. A
solution needs to provide the Home Agent a means to ensure that a
Mobile Router claiming a certain Mobile Network Prefix is authorized
to do so. A solution would also expose the Mobile Network Prefixes
(and potentially other subnet-relevant information) in the exchanged
messages, to aid in network debugging.
The following requirements for Mobile Network support are enumerated:
o A Mobile Router should be able to operate in explicit or implicit
mode. A Mobile Router may explicitly inform the Home Agent which
Mobile Network(s) need to be propagated via a routing protocol. A
Mobile Router may also function in implicit mode, where the Home
Agent may learn the Mobile Networks through other means, such as
from the AAA server, via pre-configuration, or via a dynamic
routing protocol.
o The Mobile Network should be supported using Foreign Agents that
are compliant to <a href="./rfc3344">RFC 3344</a> [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>] without any changes ('legacy'
Foreign Agents).
<span class="grey">Leung, et al. Standards Track [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc5177">RFC 5177</a> Mobile Router April 2008</span>
o The Mobile Network should allow Fixed Nodes, Mobile Nodes, or
Mobile Routers to be on it.
o The Local Fixed Nodes on a Mobile Network should be able to
execute their sessions without running Mobile IP stacks. The
Mobile Router managing the LFNs' Mobile Network is 'hiding'
mobility events like the changes of the Care-of Address from the
Local Fixed Nodes in that Mobile Network.
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Mobile Network Extensions</span>
<span class="h3"><a class="selflink" id="section-4.1" href="#section-4.1">4.1</a>. Mobile Network Request Extension</span>
For Explicit Mode, the Mobile Router informs the Home Agent about the
Mobile Network Prefixes during registration. The Registration
Request contains zero, one, or several Mobile Network Request
extensions in addition to any other extensions defined by or in the
context of <a href="./rfc3344">RFC 3344</a> [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>]. When several Mobile Networks need to
be registered, each is included in a separate Mobile Network Request
extension, with its own Type, Length, Sub-Type, Prefix Length, and
Prefix. A Mobile Network Request extension is encoded in Type-
Length-Value (TLV) format and respects the following ordering:
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 | Sub-Type | Prefix Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Prefix |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type:
148 Mobile Network Extension
Length:
Decimal 6.
Sub-Type:
0 (Mobile Network Request)
<span class="grey">Leung, et al. Standards Track [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc5177">RFC 5177</a> Mobile Router April 2008</span>
Prefix Length:
8-bit unsigned integer indicating the number of
leftmost bits covering the network part of the
address contained in the Prefix field.
Prefix:
32-bit unsigned integer in network byte-order containing an
IPv4 address whose leftmost Prefix Length bits make up the
Mobile Network Prefix.
<span class="h3"><a class="selflink" id="section-4.2" href="#section-4.2">4.2</a>. Mobile Network Acknowledgement Extension</span>
The Registration Reply contains zero, one or several Mobile Network
Acknowledgement extensions in addition to any other extensions
defined by or in the context of <a href="./rfc3344">RFC 3344</a> [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>]. For Implicit
Mode, the Mobile Network Acknowledgement informs the Mobile Router
the prefixes for which the Home Agent sets up forwarding with respect
to this Mobile Router. Policies such as permitting only traffic from
these Mobile Networks to be tunneled to the Home Agent may be applied
by the Mobile Router. For Explicit Mode, when several Mobile
Networks need to be acknowledged explicitly, each is included in a
separate Mobile Network Acknowledgement extension, with its own Type,
Sub-Type, Length, Prefix, and Prefix Length fields. At least one
Mobile Network Acknowledgement extension MUST be in a successful
Registration Reply to indicate to the Mobile Router that the Mobile
Network Request extension was processed, and therefore was not
skipped by the Home Agent.
A Registration Reply may contain any non-zero number of Explicit Mode
and Implicit Mode Acknowledgements sub-types. Both sub-types can be
present in a single Registration Reply. A Mobile Network
Acknowledgement extension is encoded in Type-Length-Value (TLV)
format. When the registration is denied with Code HA_MOBNET_ERROR
(Code field in the Registration Reply), the Code field in the
included Mobile Network Extension provides the reason for the
failure.
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 | Sub-Type | Code |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Prefix Length | Reserved | Prefix...
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
...Prefix |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
<span class="grey">Leung, et al. Standards Track [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc5177">RFC 5177</a> Mobile Router April 2008</span>
Type:
148 Mobile Network Extension
Length:
Decimal 8.
Sub-Type:
1 (Explicit Mode Acknowledgement)
2 (Implicit Mode Acknowledgement)
Code:
Value indicating success or failure:
0 Success
1 Invalid prefix (MOBNET_INVALID_PREFIX_LEN)
2 Mobile Router is not authorized for prefix
(MOBNET_UNAUTHORIZED)
3 Forwarding setup failed (MOBNET_FWDING_SETUP_FAILED)
Prefix Length:
8-bit unsigned integer indicating the number of
leftmost bits covering the network part of the
address contained in the Prefix field.
Reserved:
Sent as zero; ignored on reception.
Prefix:
32-bit unsigned integer in network byte-order containing an
IPv4 address whose leftmost Prefix Length bits make up the
Mobile Network Prefix.
<span class="grey">Leung, et al. Standards Track [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc5177">RFC 5177</a> Mobile Router April 2008</span>
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Mobile Router Operation</span>
A Mobile Router's operation is generally derived from the behavior of
a Mobile Node, as set in <a href="./rfc3344">RFC 3344</a> [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>]. In addition to
maintaining mobility bindings for its Home Address, the Mobile
Router, together with the Home Agent, maintains forwarding
information for the Mobile Network Prefix(es) assigned to the Mobile
Router.
A Mobile Router SHOULD set the 'T' bit to 1 in all Registration
Request messages it sends to indicate the need for reverse tunnels
for all traffic. Without reverse tunnels, all the traffic from the
Mobile Network will be subject to ingress filtering in the visited
networks. Upon reception of a successful Registration Reply, the
Mobile Router processes the registration in accordance to <a href="./rfc3344">RFC 3344</a>
[<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>]. In addition, the following steps are taken:
o Check for Mobile Network Acknowledgement extension(s) in
Registration Reply.
o Create tunnel to the Home Agent if the Mobile Router is registered
in reverse tunneling mode.
o Set up default route via this tunnel or egress interface when the
Mobile Router is registered with or without reverse tunneling,
respectively.
In accordance with this specification, a Mobile Router may operate in
one of the following two modes: explicit and implicit. In explicit
mode, the Mobile Router includes Mobile Network Prefix information in
all Registration Requests (as Mobile Network Request extensions),
while in implicit mode it does not include this information in any
Registration Request. In the latter case, the Home Agent obtains the
Mobile Network Prefixes by other means than Mobile IP. One example
of obtaining the Mobile Network Prefix is through static
configuration on the Home Agent.
A Mobile Router can obtain a co-located or Foreign Agent Care-of
Address while operating in explicit or implicit modes.
For deregistration, the Mobile Router sends a registration request
with lifetime set to zero without any Mobile Network Request
extensions.
<span class="grey">Leung, et al. Standards Track [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc5177">RFC 5177</a> Mobile Router April 2008</span>
<span class="h3"><a class="selflink" id="section-5.1" href="#section-5.1">5.1</a>. Error Processing</span>
In a Mobile IP Registration Reply message, there may be two Code
fields: one proper to the Registration Reply header (the 'proper'
Code) and one within the Mobile Network Acknowledgement Extension
(simply the 'Code'). A Mobile Router interprets the values of the
Code field in the Mobile Network Acknowledgement Extension of the
Registration Reply in order to identify any error related to managing
the Mobile Network Prefixes by the Home Agent. It also interprets
the values of the Code field in the Registration Reply header (the
proper Code).
If the value of the Code field in the Registration Reply (the proper)
is set to HA_MOBNET_DISALLOWED, then the Mobile Router MUST stop
sending Registration Requests with any Mobile Network Prefix
extensions to that Home Agent.
If the value of the Code field in the Registration Reply (the proper)
is set to HA_MOBNET_ERROR, then the Mobile Router MUST stop sending
Registration Requests that contain any of the Mobile Network Prefixes
that are defined by the values of the fields Prefix and Prefix Length
in the Mobile Network Acknowledgement extension. Note that the
registration is denied in this case, and no forwarding for any Mobile
Network Prefixes would be set up by the Home Agent for the Mobile
Router.
It is possible that the Mobile Router receives a Registration Reply
with no Mobile Network extensions if the registration was processed
by a Mobile IPv4 Home Agent that does not support this specification
at all. In that case, the absence of Mobile Network extensions must
be interpreted by the Mobile Router as the case where the Home Agent
does not support Mobile Networks.
All the error code values have been assigned by IANA; see <a href="#section-11">Section 11</a>.
<span class="h3"><a class="selflink" id="section-5.2" href="#section-5.2">5.2</a>. Mobile Router Management</span>
Operating a Mobile Router in a Mobile IPv4 environment has certain
requirements on the management of the necessary initial configuration
and supervision of the ongoing status information. Mobile Router
maintenance indicators may need to be exposed in a manner consistent
with other Mobile IPv4 indicators.
The objects for the Management Information Base (MIB) for Mobile IPv4
are defined in <a href="./rfc2006">RFC 2006</a> [<a href="./rfc2006" title=""The Definitions of Managed Objects for IP Mobility Support using SMIv2"">RFC2006</a>]. The structure of the basic model
of Mobile IP protocol describes three entities: Mobile Node, Home
Agent, and Foreign Agent. In addition to these entities, this
document proposes a functional entity to be the Mobile Router.
<span class="grey">Leung, et al. Standards Track [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc5177">RFC 5177</a> Mobile Router April 2008</span>
The necessary initial configuration at a NEMOv4-enabled Home Agent
includes, but is not limited to, the contents of the Prefix Table.
The Mobile Router MAY need to store the Mobile Network Prefixes as
the initial configuration.
The definition of MIB objects related to the Mobile Router and to a
NEMOv4-enabled Home Agent is outside the scope of this document.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Home Agent Operation</span>
<span class="h3"><a class="selflink" id="section-6.1" href="#section-6.1">6.1</a>. Summary</span>
A Home Agent MUST support all the operations specified in <a href="./rfc3344">RFC 3344</a>
[<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>] for Mobile Node support. The Home Agent MUST support both
implicit and explicit modes of operation for a Mobile Router.
The Home Agent processes the registration in accordance to <a href="./rfc3344">RFC 3344</a>
[<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>], which includes route setup to the Mobile Router's Home
Address via the tunnel to the Care-of Address. In addition, for a
Mobile Router registering in explicit mode, the following steps are
taken:
1. Check that the Mobile Network Prefix information is valid.
2. Ensure the Mobile Network Prefix(es) is/are authorized to be on
the Mobile Router.
3. Create a tunnel to the Mobile Router if it does not already
exist.
4. Set up route for the Mobile Network Prefix via this tunnel.
5. Propagate Mobile Network Prefix routes via routing protocol if
necessary.
6. Send the Registration Reply with the Mobile Network
Acknowledgement extension(s).
If there are any subnet routes via the tunnel to the Mobile Router
that are not specified in the Mobile Network extensions, these routes
are removed.
In the case where the Mobile Node is not permitted to act as a Mobile
Router, the Home Agent sends a Registration Reply message whose Code
field is HA_MOBNET_DISALLOWED (the proper Code field of the
Registration Reply).
<span class="grey">Leung, et al. Standards Track [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc5177">RFC 5177</a> Mobile Router April 2008</span>
For a Mobile Router registering in implicit mode, the Home Agent
performs steps 3-6 above, once the registration request is processed
successfully.
For deregistration, the Home Agent removes the tunnel to the Mobile
Router and all routes using this tunnel. The Mobile Network
extensions are ignored.
<span class="h3"><a class="selflink" id="section-6.2" href="#section-6.2">6.2</a>. Data Structures</span>
<span class="h4"><a class="selflink" id="section-6.2.1" href="#section-6.2.1">6.2.1</a>. Registration Table</span>
The Registration Table in the Home Agent, in accordance with <a href="./rfc3344">RFC 3344</a>
[<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>], contains binding information for every Mobile Node
registered with it. <a href="./rfc3344">RFC 3344</a> [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>] defines the format of a
Registration Table. In addition to all the parameters specified by
<a href="./rfc3344">RFC 3344</a> [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>], the Home Agent MUST store the Mobile Network
Prefixes associated with the Mobile Router in the corresponding
registration entry, when the corresponding registration was performed
in explicit mode. When the Home Agent is advertising reachability to
Mobile Network Prefixes served by a Mobile Router, the information
stored in the Registration Table can be used.
<span class="h4"><a class="selflink" id="section-6.2.2" href="#section-6.2.2">6.2.2</a>. Prefix Table</span>
The Home Agent must be able to authorize a Mobile Router for use of
Mobile Network Prefixes when the Mobile Router is operating in
explicit mode. Also, when the Mobile Router operates in implicit
mode, the Home Agent must be able to locate the Mobile Network
Prefixes associated with that Mobile Router. The Home Agent may
store the Home Address of the Mobile Router along with the Mobile
Network prefixes associated with that Mobile Router. If the Mobile
Router does not have a Home Address assigned, this table may store
the Network Access Identifier (NAI) [<a href="./rfc2794" title=""Mobile IP Network Access Identifier Extension for IPv4"">RFC2794</a>] of the Mobile Router
that will be used in dynamic Home Address assignment.
<span class="h3"><a class="selflink" id="section-6.3" href="#section-6.3">6.3</a>. Mobile Network Prefix Registration</span>
The Home Agent must process Registration Requests coming from Mobile
Routers in accordance with this section. <a href="./rfc3344">RFC 3344</a> [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>]
specifies that the Home Address of a mobile node registering with a
Home Agent must belong to a prefix advertised on the home network.
In accordance with this specification, however, the Home Address must
be configured from a prefix that is served by the Home Agent, not
necessarily the one on the home network.
<span class="grey">Leung, et al. Standards Track [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc5177">RFC 5177</a> Mobile Router April 2008</span>
If the Registration Request is valid, the Home Agent checks to see if
there are any Mobile Network Prefix extensions included in the
Registration Request.
If so, the Mobile Network Prefix information is obtained from the
included extensions, and the Home Address from the Home Address field
of the Registration Request. For every Mobile Network Prefix
extension included in the registration request, the Home Agent MUST
perform a check against the Prefix Table. If the Prefix Table does
not contain at least one entry pairing that Home Address to that
Mobile Network Prefix, then the check fails; otherwise, it succeeds.
Following this check against the Prefix Table, the Home Agent MUST
construct a Registration Reply containing Mobile Network
Acknowledgement extensions. For a Mobile Network Prefix for which
the check was unsuccessful, the Code field in the corresponding
Mobile Network Acknowledgement extension should be set to
MOBNET_UNAUTHORIZED.
For a Mobile Network Prefix for which the check was successful, the
Code field in the respective Mobile Network Acknowledgement
extensions should be set to 0.
The Home Agent MUST attempt to set up forwarding for each Mobile
Network Prefix extension for which the Prefix Table check was
successful. If the forwarding setup fails for a particular Mobile
Network Prefix (for reasons such as not enough memory available or
not enough devices available), the Code field in the respective
Mobile Network Acknowledgement extension should be set to
MOBNET_FWDING_SETUP_FAILED.
If forwarding and setup was successful for at least one Mobile
Network Prefix, then the Code field (the proper) of the Registration
Reply message should be set to 0. Otherwise, when forwarding and
setup was unsuccessful for each and every Mobile Network Prefixes,
that Code (the proper) should be HA_MOBNET_ERROR.
If the Registration Request is sent in implicit mode, i.e., without
any Mobile Network Request extension, the Home Agent may use pre-
configured Mobile Network prefix information for the Mobile Router to
set up forwarding.
If the Home Agent is updating an existing binding entry for the
Mobile Router, it MUST check all the prefixes in the Registration
Table against the prefixes included in the Registration Request. If
one or more Mobile Network prefixes are missing from the included
<span class="grey">Leung, et al. Standards Track [Page 15]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-16" ></span>
<span class="grey"><a href="./rfc5177">RFC 5177</a> Mobile Router April 2008</span>
information in the registration request, the Home Agent MUST delete
those prefixes from the registration table. Also, the Home Agent
MUST disable forwarding for those prefixes.
If all checks are successful, the Home Agent either creates a new
entry for the Mobile Router or updates an existing binding entry for
it and returns a successful registration reply back to the Mobile
Router or the Foreign Agent (if the Registration Request was received
from a Foreign Agent).
In accordance with <a href="./rfc3344">RFC 3344</a> [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>], the Home Agent does proxy
Address Resolution Protocol (ARP) for the Mobile Router Home Address
when the Mobile Router Home Address is derived from the home network.
If the 'T' bit is set, the Home Agent creates a bi-directional tunnel
for the corresponding Mobile Network prefixes or updates the existing
bi-directional tunnel. This tunnel is maintained independent of the
reverse tunnel for the Mobile Router home address itself.
<span class="h3"><a class="selflink" id="section-6.4" href="#section-6.4">6.4</a>. Advertising Mobile Network Reachability</span>
If the Mobile Network prefixes served by the Home Agent are
aggregated with the home network prefix and if the Home Agent is the
default router on the home network, the Home Agent does not have to
advertise the Mobile Network Prefixes. The routes for the Mobile
Network Prefix are automatically aggregated into the home network
prefix (it is assumed that the Mobile Network Prefixes are
automatically aggregated into the home network prefix). If the
Mobile Router updates the Mobile Network prefix routes via a dynamic
routing protocol, the Home Agent SHOULD propagate the routes on the
appropriate networks.
<span class="h3"><a class="selflink" id="section-6.5" href="#section-6.5">6.5</a>. Establishment of Bi-directional Tunnel</span>
The Home Agent creates and maintains a bi-directional tunnel for the
Mobile Network prefixes of a Mobile Router registered with it. A
Home Agent supporting IPv4 Mobile Router operation MUST be able to
forward packets destined to the Mobile Network prefixes served by the
Mobile Router to its Care-of Address. Also, the Home Agent MUST be
able to accept packets tunneled by the Mobile Router with the source
address of the outer header set to the Care-of Address of the Mobile
Router and that of the inner header set to the Mobile Router's Home
Address or an address from one of the registered Mobile Network
prefixes.
<span class="grey">Leung, et al. Standards Track [Page 16]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-17" ></span>
<span class="grey"><a href="./rfc5177">RFC 5177</a> Mobile Router April 2008</span>
<span class="h3"><a class="selflink" id="section-6.6" href="#section-6.6">6.6</a>. Sending Registration Replies</span>
The Home Agent MUST set the status code in the registration reply to
0 to indicate successful processing of the Registration Request and
successful setup of forwarding for at least one Mobile Network prefix
served by the Mobile Router. The Registration Reply MUST contain at
least one Mobile Network Acknowledgement extension.
If the Home Agent is unable to set up forwarding for one or more
Mobile Network prefixes served by the Mobile Router, it MUST set the
Mobile Network Acknowledgement Extension status Code in the
Registration Reply to MOBNET_FWDING_SETUP_FAILED. When the prefix
length is zero or greater than decimal 32, the status Code MUST be
set to MOBNET_INVALID_PREFIX_LEN.
If the Mobile Router is not authorized to forward packets to a Mobile
Network prefix included in the request, the Home Agent MUST set the
Code to MOBNET_UNAUTHORIZED.
<span class="h3"><a class="selflink" id="section-6.7" href="#section-6.7">6.7</a>. Mobile Network Prefix Deregistration</span>
If the received Registration Request is for deregistration of the
Care-of Address, the Home Agent, upon successful processing of it,
MUST delete the entry (or entries) from its Registration Table. The
Home Agent tears down the bi-directional tunnel and stops forwarding
any packets to/from the Mobile Router. The Home Agent MUST ignore
any included Mobile Network Request extension in a deregistration
request.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Data Forwarding Operation</span>
For traffic to the nodes in the Mobile Network, the Home Agent MUST
perform double tunneling of the packet, if the Mobile Router had
registered with a Foreign Agent Care-of Address. In this case, the
Home Agent MUST encapsulate the packet with the tunnel header (source
IP address set to Home Agent, and destination IP address set to
Mobile Router's Home Address) and then encapsulate one more time with
the tunnel header (source IP address set to Home Agent, and
destination IP address set to CoA).
For optimization, the Home Agent SHOULD only encapsulate the packet
with the tunnel header (source IP address set to Home Agent, and
destination IP address set to CoA) for co-located CoA mode.
When a Home Agent receives a packet from the Mobile Network prefix in
the bi-directional tunnel, it MUST de-encapsulate the packet and
route it as a normal IP packet. It MUST verify that the incoming
<span class="grey">Leung, et al. Standards Track [Page 17]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-18" ></span>
<span class="grey"><a href="./rfc5177">RFC 5177</a> Mobile Router April 2008</span>
packet has the source IP address set to the Care-of Address of the
Mobile Router. The packet MUST be dropped if the source address is
not set to the Care-of Address of the Mobile Router.
For traffic from the nodes in the Mobile Network, the Mobile Router
encapsulates the packet with a tunnel header (source IP address set
to Mobile Router's Home Address, and destination IP address set to
Home Agent) if reverse tunnel is enabled. Otherwise, the packet is
routed directly to the Foreign Agent or access router.
In co-located CoA mode, the Mobile Router MAY encapsulate one more
time with a tunnel header (source IP address set to the CoA and
destination IP address set to Home Agent).
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. Nested Mobile Networks</span>
Nested Network Mobility is a scenario where a Mobile Router allows
another Mobile Router to attach to its Mobile Network. There could
be arbitrary levels of nested mobility. The operation of each Mobile
Router remains the same whether the Mobile Router attaches to another
Mobile Router or to a fixed Access Router on the Internet. The
solution described here does not place any restriction on the number
of levels for nested mobility. Two issues should be noted though.
First, whenever physical loops occur in a nested aggregation of
Mobile Networks, this protocol neither detects nor solves them --
datagram forwarding may be blocked. Second, Mobile Routers in a deep
nested aggregation of Mobile Networks might introduce significant
overhead on the data packets as each level of nesting introduces
another tunnel header encapsulation. Applications that do not
support MTU discovery are adversely affected by the additional header
encapsulations because the usable MTU is reduced with each level of
nesting.
<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a>. Routing Protocol between Mobile Router and Home Agent</span>
There are several benefits of running a dynamic routing protocol
between the Mobile Router and the Home Agent. If the Mobile Network
is relatively large, including several wireless subnets, then the
topology changes within the moving network can be exposed from the
Mobile Router to the Home Agent by using a dynamic routing protocol.
The purpose of the NEMOv4 protocol extensions to Mobile IPv4, as
defined in previous sections, is not to inform the Home Agent about
these topology changes, but to manage the mobility of the Mobile
Router.
Similarly, topology changes in the home network can be exposed to the
Mobile Router by using a dynamic routing protocol. This may be
necessary when new fixed networks are added in the home network.
<span class="grey">Leung, et al. Standards Track [Page 18]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-19" ></span>
<span class="grey"><a href="./rfc5177">RFC 5177</a> Mobile Router April 2008</span>
Here too, the purpose of NEMOv4 extensions is not to inform the
Mobile Router about topology changes at home.
Examples of dynamic routing protocols include, but are not limited
to, OSPF Version 2 [<a href="./rfc2328" title=""OSPF Version 2"">RFC2328</a>], BGP [<a href="./rfc4271" title=""A Border Gateway Protocol 4 (BGP-4)"">RFC4271</a>], and RIP [<a href="./rfc2453" title=""RIP Version 2"">RFC2453</a>].
The recommendations are related to how the routing protocol and the
Mobile IPv4 implementation work in tandem on the Mobile Router and on
the Home Agent (1) without creating incoherent states in the
forwarding information bases at home and on the Mobile Router, (2)
without introducing topologically incorrect addressing information in
the visited domain, and (3) without duplicating sent data or over-
provisioning security.
The information exchanged between the Mobile Router and the Home
Agent is sent over the bi-directional tunnel established by the
Mobile IPv4 exchange Registration Request - Registration Reply (see
<a href="#section-6.5">Section 6.5</a>). If a network address and prefix of a subnet in the
moving network is sent by the Mobile Router within a routing protocol
message, then they SHOULD NOT be sent in the Mobile IPv4 Registration
Request too. This avoids incoherencies in the forwarding information
bases. The Mobile Router SHOULD use NEMOv4 implicit mode in this
case (see <a href="#section-3">Section 3</a>).
The Mobile Router SHOULD NOT send routing protocol information
updates in the foreign network. The subnet addresses and prefixes
valid in the moving network are topologically incorrect in the
visited network.
If the Mobile Router and the Home Agent use a dynamic routing
protocol over the tunnel interface, and if that protocol offers
security mechanisms to protect that protocol's messages, then the
security recommendations in <a href="#section-10.1">Section 10.1</a> apply.
<span class="h2"><a class="selflink" id="section-10" href="#section-10">10</a>. Security Considerations</span>
The Mobile Network extension is protected by the same rules as for
Mobile IP extensions in registration messages. See the Security
Considerations section in <a href="./rfc3344">RFC 3344</a> [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>].
The Home Agent MUST be able to verify that the Mobile Router is
authorized to provide mobility service for the Mobile Networks in the
Registration Request, before anchoring these Mobile Network Prefixes
on behalf of the Mobile Router. Forwarding for prefixes MUST NOT be
set up without successful authorization of the Mobile Router for
those prefixes. The Mobile Router MUST be notified when there is a
registration failure because it cannot be successfully authorized for
prefixes it requested.
<span class="grey">Leung, et al. Standards Track [Page 19]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-20" ></span>
<span class="grey"><a href="./rfc5177">RFC 5177</a> Mobile Router April 2008</span>
All Registration Requests and replies MUST be authenticated by the
MN-HA Authentication Extension as specified in <a href="./rfc3344">RFC 3344</a> [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>].
When the registration request is sent in explicit mode, i.e., with
one or more Mobile Network Prefix extensions, all the Mobile Network
Prefix extensions MUST be included before the MN-HA Authentication
extension. Also, these extensions MUST be included in the
calculation of the MN-HA authenticator value.
The Mobile Router should perform ingress filtering on all the packets
received on the Mobile Network prior to reverse tunneling them to the
Home Agent. The Mobile Router MUST drop any packets that do not have
a source address belonging to the Mobile Network.
The Mobile Router MUST also ensure that the source address of packets
arriving on the Mobile Network is not the same as the Mobile Router's
IP address on any interface. These checks will protect against nodes
attempting to launch IP spoofing attacks through the bi-directional
tunnel.
The Home Agent, upon receiving packets through the bi-directional
tunnel, MUST verify that the source addresses of the outer IP header
of the packets are set to the Mobile Router's Care-of Address. Also,
it MUST ensure that the source address of the inner IP header is a
topologically correct address on the Mobile Network. This will
prevent nodes from using the Home Agent to launch attacks inside the
protected network.
<span class="h3"><a class="selflink" id="section-10.1" href="#section-10.1">10.1</a>. Security when Dynamic Routing Protocol Is Used</span>
If a dynamic routing protocol is used between the Mobile Router and
the Home Agent to propagate the Mobile Network information into the
home network, the routing updates SHOULD be protected with IPsec ESP
confidentiality between the Mobile Router and Home Agent, to prevent
information about home network topology from being visible to
eavesdroppers.
<span class="h2"><a class="selflink" id="section-11" href="#section-11">11</a>. IANA Considerations</span>
IANA has assigned rules for the existing registry "Mobile IPv4
numbers - per <a href="./rfc3344">RFC 3344</a>". The numbering space for Extensions that may
appear in Mobile IP control messages (those sent to and from UDP port
number 434) should be modified.
<span class="grey">Leung, et al. Standards Track [Page 20]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-21" ></span>
<span class="grey"><a href="./rfc5177">RFC 5177</a> Mobile Router April 2008</span>
The new Values and Names for the Type for Extensions appearing in
Mobile IP control messages are the following:
+-------+--------------------------+
| Value | Name |
+-------+--------------------------+
| 148 | Mobile Network Extension |
+-------+--------------------------+
Table 1: New Values and Names for Extensions in Mobile IP Control
Messages
A new number space has been created for the Values and Names for the
Sub-Type for Mobile Network Extensions. This number space is
initially defined to hold the following entries, allocated by this
document:
+-------+-----------------------------------------+
| Value | Name |
+-------+-----------------------------------------+
| 0 | Mobile Network Request Extension |
| 1 | Explicit Mode Acknowledgement Extension |
| 2 | Implicit Mode Acknowledgement Extension |
+-------+-----------------------------------------+
Table 2: New Values and Names for the Sub-Type for Mobile Network
Extensions
The policy of future assignments to this number space is following
Standards Action or IESG Approval (see [<a href="./rfc2434" title="">RFC2434</a>]).
The new Code Values for Mobile IP Registration Reply messages are the
following (for a registration denied by the Home Agent):
+-------+-----------------------------------------------------------+
| Value | Name |
+-------+-----------------------------------------------------------+
| 147 | Mobile Network Prefix operation error (HA_MOBNET_ERROR) |
| 148 | Mobile Router operation is not permitted |
| | (HA_MOBNET_DISALLOWED) |
+-------+-----------------------------------------------------------+
Table 3: New Code Values for Mobile IP Registration Reply
<span class="grey">Leung, et al. Standards Track [Page 21]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-22" ></span>
<span class="grey"><a href="./rfc5177">RFC 5177</a> Mobile Router April 2008</span>
A new number space has been created for the Code Values for the
Mobile Network Acknowledgement Extension. This number space is
initially defined to hold the following entries, allocated by this
document (result of registration, as sent by the Home Agent):
+---+---------------------------------------------------------------+
| 0 | Success |
| 1 | Invalid prefix length (MOBNET_INVALID_PREFIX_LEN) |
| 2 | Mobile Router is not authorized for prefix |
| | (MOBNET_UNAUTHORIZED) |
| 3 | Forwarding setup failed (MOBNET_FWDING_SETUP_FAILED) |
+---+---------------------------------------------------------------+
Table 4: New Code Values for Mobile Network Acknowledgement Extension
The policy of future assignments to this number space is following
Standards Action or IESG Approval (see [<a href="./rfc2434" title="">RFC2434</a>]).
<span class="h2"><a class="selflink" id="section-12" href="#section-12">12</a>. Acknowledgements</span>
The authors would like to thank Christophe Janneteau, George
Popovich, Ty Bekiares, Ganesh Srinivasan, Alpesh Patel, Ryuji
Wakikawa, George Tsirtsis, and Henrik Levkowetz for their helpful
discussions, reviews, and comments. Vijay Devarapalli extensively
reviewed one of the later versions of the document. Hans Sjostrand
identified the last clarifications with respect to Foreign Agent mode
treatment. Pete McCann contributed necessary refinements of many
statements.
Mobile IPv4 versions as early as 1996 (<a href="./rfc2002">RFC 2002</a> by Charles Perkins)
described Mobile Networks and Mobile Routers support.
Fred Templin indicated the potential confusion for the term "LFN".
Amanda Baber of IANA agreed on the principles of allocating numbers
for this specification and suggested improvements on the IANA
section.
Tim Polk of the IESG identified a deeply entrenched error on managing
the Code fields.
Lars Eggert of the IESG suggested the accommodation of the otherwise
legal non-contiguous netmask fields, instead of simply prefix
lengths.
Dan Romascanu of the IESG indicated the necessity of manageability of
Mobile Routers and NEMOv4-enabled Home Agents and their deployability
in MIP4 environments.
<span class="grey">Leung, et al. Standards Track [Page 22]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-23" ></span>
<span class="grey"><a href="./rfc5177">RFC 5177</a> Mobile Router April 2008</span>
David Borman of TSV-DIR reviewed this document as part of the
transport area directorate's ongoing effort to review key IETF
documents. The implications of the growth of usable MTU adversely
affecting applications deep in a Mobile Network were suggested.
Gonzalo Camarillo provided a generalist review by an additional set
of eyes for documents as they are being considered for publication
(General Area Review Team).
Jari Arkko of the IESG reviewed, suggested necessary improvements to,
and diligently shepherded this document through IESG.
<span class="h2"><a class="selflink" id="section-13" href="#section-13">13</a>. References</span>
<span class="h3"><a class="selflink" id="section-13.1" href="#section-13.1">13.1</a>. Normative References</span>
[<a id="ref-RFC1323">RFC1323</a>] Jacobson, V., Braden, B., and D. Borman, "TCP Extensions
for High Performance", <a href="./rfc1323">RFC 1323</a>, May 1992.
[<a id="ref-RFC2006">RFC2006</a>] Cong, D., Hamlen, M., and C. Perkins, "The Definitions
of Managed Objects for IP Mobility Support using SMIv2",
<a href="./rfc2006">RFC 2006</a>, October 1996.
[<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-RFC2328">RFC2328</a>] Moy, J., "OSPF Version 2", STD 54, <a href="./rfc2328">RFC 2328</a>, April 1998.
[<a id="ref-RFC2434">RFC2434</a>] Narten, T. and H. Alvestrand, "Guidelines for Writing an
IANA Considerations Section in RFCs", <a href="https://www.rfc-editor.org/bcp/bcp26">BCP 26</a>, <a href="./rfc2434">RFC 2434</a>,
October 1998.
[<a id="ref-RFC2453">RFC2453</a>] Malkin, G., "RIP Version 2", STD 56, <a href="./rfc2453">RFC 2453</a>,
November 1998.
[<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-RFC3344">RFC3344</a>] Perkins, C., "IP Mobility Support for IPv4", <a href="./rfc3344">RFC 3344</a>,
August 2002.
[<a id="ref-RFC4271">RFC4271</a>] Rekhter, Y., Li, T., and S. Hares, "A Border Gateway
Protocol 4 (BGP-4)", <a href="./rfc4271">RFC 4271</a>, January 2006.
<span class="grey">Leung, et al. Standards Track [Page 23]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-24" ></span>
<span class="grey"><a href="./rfc5177">RFC 5177</a> Mobile Router April 2008</span>
<span class="h3"><a class="selflink" id="section-13.2" href="#section-13.2">13.2</a>. Informative References</span>
[<a id="ref-NEMOv4-FA">NEMOv4-FA</a>] Tsirtsis, G., Park, V., Narayanan, V., and K. Leung, "FA
extensions to NEMOv4 Base", Work in Progress,
February 2008.
[<a id="ref-RFC3963">RFC3963</a>] Devarapalli, V., Wakikawa, R., Petrescu, A., and P.
Thubert, "Network Mobility (NEMO) Basic Support
Protocol", <a href="./rfc3963">RFC 3963</a>, January 2005.
[<a id="ref-RFC4885">RFC4885</a>] Ernst, T. and H-Y. Lach, "Network Mobility Support
Terminology", <a href="./rfc4885">RFC 4885</a>, July 2007.
<span class="grey">Leung, et al. Standards Track [Page 24]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-25" ></span>
<span class="grey"><a href="./rfc5177">RFC 5177</a> Mobile Router April 2008</span>
Authors' Addresses
Kent Leung
Cisco Systems
170 W. Tasman Drive
San Jose, CA 95134
USA
Phone: +1 408-526-5030
EMail: kleung@cisco.com
Gopal Dommety
Cisco Systems
170 W. Tasman Drive
San Jose, CA 95134
USA
Phone: +1 408-525-1404
EMail: gdommety@cisco.com
Vidya Narayanan
QUALCOMM, Inc.
5775 Morehouse Dr
San Diego, CA
USA
Phone: +1 858-845-2483
EMail: vidyan@qualcomm.com
Alexandru Petrescu
Motorola
Parc les Algorithmes Saint Aubin
Gif-sur-Yvette, Essonne 91140
France
Phone: +33 169354827
EMail: alexandru.petrescu@motorola.com
<span class="grey">Leung, et al. Standards Track [Page 25]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-26" ></span>
<span class="grey"><a href="./rfc5177">RFC 5177</a> Mobile Router April 2008</span>
Full Copyright Statement
Copyright (C) The IETF Trust (2008).
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.
Leung, et al. Standards Track [Page 26]
</pre>
|