JP3810711B2 - Packet transfer method, packet transfer system, and computer program - Google Patents

Packet transfer method, packet transfer system, and computer program Download PDF

Info

Publication number
JP3810711B2
JP3810711B2 JP2002201328A JP2002201328A JP3810711B2 JP 3810711 B2 JP3810711 B2 JP 3810711B2 JP 2002201328 A JP2002201328 A JP 2002201328A JP 2002201328 A JP2002201328 A JP 2002201328A JP 3810711 B2 JP3810711 B2 JP 3810711B2
Authority
JP
Japan
Prior art keywords
address
network
home
external
packet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2002201328A
Other languages
Japanese (ja)
Other versions
JP2004048260A (en
Inventor
健 久保
英俊 横田
彰 井戸上
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
KDDI Corp
Original Assignee
KDDI Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by KDDI Corp filed Critical KDDI Corp
Priority to JP2002201328A priority Critical patent/JP3810711B2/en
Publication of JP2004048260A publication Critical patent/JP2004048260A/en
Application granted granted Critical
Publication of JP3810711B2 publication Critical patent/JP3810711B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、モバイルIPネットワークにおけるパケット転送方法およびパケット転送システム、並びにそのパケット転送システムをコンピュータを利用して実現するためのコンピュータプログラムに関する。
【0002】
【従来の技術】
従来、TCP(Transmission Control Protocol)およびIP(Internet Protocol)を利用してパケット通信を行う環境において、現在接続しているネットワークから異なるネットワークに端末が移動しても、セッションを継続するための方式として「モバイル(Mobile)IP」が規格化されている。このモバイルIPに準拠したモバイルIPネットワークは複数のIPネットワーク(エリア)から構成されており、移動端末は各エリアを適宜移動する。そして、移動端末が本来属するエリアとして「ホームネットワーク」が規定されており、モバイルIPネットワーク内の他のネットワーク(以下、外部ネットワークと称する)と区別している。移動端末には、ホームネットワーク上のアドレス(ホームIPアドレス)が予め割当てられる。また、外部ネットワークへ移動した際には、該外部ネットワーク上のアドレス(外部IPアドレス)が移動してきた移動端末に対して一時的に割り当てられる。
【0003】
ホームネットワーク上には、当該ホームネットワークに本来所属の移動端末の位置管理およびパケット転送を行うモビリティエージェント装置(ホームエージェント;HA)が配置される。このホームエージェントは、外部ネットワークへ移動した移動端末について、ホームIPアドレスと外部IPアドレスを対応付けて格納する位置管理テーブルを有する。そして、外部ネットワークに在る移動端末宛てのパケットがホームネットワークへ到着した際には、ホームエージェントが位置管理テーブルを検索し、該当する外部IPアドレス宛てに該到着パケットを転送する。ホームエージェントは、外部ネットワークに在る移動端末からの位置登録要求により、位置管理テーブルへ該当するホームIPアドレスと外部IPアドレスの登録を行う。
【0004】
また、モバイルIPネットワーク内の個々のネットワーク(ホームネットワークおよび外部ネットワーク)内では、LAN上で通信されるEthernet(登録商標)フレーム中のMAC(Media Access Control)アドレスを用いて、データ(IPパケット)の通信を行う。図7にEthernet(登録商標)フレームの構成を示す。また、図8に、図7のフレーム中に含まれるEthernet(登録商標)ヘッダの構成を示す。また、図9に、IPパケット中に含まれるIPヘッダの構成を示す。ホームネットワークの出入り口に位置するルータは、インターネット等の外部からIPパケットが到着すると、該到着IPパケットがホームネットワーク内の宛先IPアドレスを持っている場合に、宛先MACアドレスと送信元MACアドレス(ルータのMACアドレス)を設定した図7のフレーム構成により、到着IPパケットをホームネットワーク内へ出力する。この宛先MACアドレスと宛先IPアドレスの対応付けは、ARP(Address Resolution Protocol)テーブルに登録されている。ルータは、外部からパケットが到着すると、ARPテーブルを検索して該当する宛先MACアドレスを取得する。また、ARPテーブルには、外部ネットワークに在る移動端末のMACアドレスとしてホームエージェントのMACアドレスが代わりに登録される。この登録は、外部ネットワークに在る移動端末からの位置登録要求により、ホームエージェントが行う。
【0005】
したがって、ルータは、外部ネットワークに在る移動端末宛てのパケットが到着すると、ARPテーブルを検索し、宛先MACアドレスとしてホームエージェントのMACアドレスを取得し、到着パケットを図7のフレーム構成によりホームネットワーク内に出力する。これにより、ホームエージェントは、該到着パケットを受信し、位置管理テーブルを検索して該当する外部IPアドレスを取得し、該到着パケットをカプセル化して外部ネットワークに在る移動端末宛てに転送する。
【0006】
【発明が解決しようとする課題】
しかしながら、上述した従来のパケット転送方法では、ホームネットワークから外部ネットワークに在る移動端末宛てにパケットを転送する際に、ARPテーブル検索と位置管理テーブル検索の双方を行うために時間がかかるという問題がある。一般的にルータはARPテーブル検索に専用のハードウェアを備えており、高速な検索が可能であるが、ホームエージェントは汎用コンピュータ(パーソナルコンピュータ等)によりソフトウエアで実現されるために検索に時間がかかる。特に、位置管理テーブルの登録件数が多い場合にはその影響が大きくなる。
【0007】
本発明は、上述した事情に鑑みてなされたもので、モバイルIPネットワーク内においてホームネットワークから外部ネットワークに在る移動端末宛てにパケットを転送する際の位置管理テーブル検索にかかる時間を短縮することができ、該パケット転送に要する時間を削減することができるパケット転送方法およびパケット転送システムを提供することにある。
【0008】
また、本発明は、そのパケット転送システムをコンピュータを利用して実現するためのコンピュータプログラムを提供することも目的とする。
【0009】
【課題を解決するための手段】
上記の課題を解決するために、請求項1に記載のパケット転送方法は、ホームネットワークと外部ネットワークから構成されるモバイルIPネットワークにおいて、前記ホームネットワークに本来所属の移動端末が前記外部ネットワークに在り、前記移動端末に割り当てられているホームIPアドレスを宛先としたIPパケットが前記ホームネットワークへ到着した際に、前記ホームネットワークから前記外部ネットワークへ該到着IPパケットを転送するパケット転送方法であって、前記移動端末に割り当てられている前記外部ネットワークの外部IPアドレスと前記ホームIPアドレスを対応付けて位置管理テーブルに登録する過程と、前記ホームネットワーク内のIPパケット転送に使用されるMACアドレスとして、前記位置管理テーブルの項目のインデックスを含み且つ前記ホームネットワーク内で固有の代理MACアドレスを生成する過程と、前記代理MACアドレスと前記ホームIPアドレスを対応付けてARPテーブルに登録させる過程と、前記ARPテーブルに基づいて前記代理MACアドレス宛てに前記ホームネットワーク内転送された前記到着IPパケットを、前記代理MACアドレスにより取得する過程と、前記代理MACアドレスに含まれているインデックスから前記位置管理テーブルの該当する項目の外部IPアドレスを取得する過程と、該取得した外部IPアドレス宛てに前記到着IPパケットを転送する過程と、を含むことを特徴としている。
【0010】
上記の課題を解決するために、請求項2に記載のパケット転送システムは、ホームネットワークと外部ネットワークから構成されるモバイルIPネットワークにおいて、前記ホームネットワークに本来所属の移動端末が前記外部ネットワークに在り、前記移動端末に割り当てられているホームIPアドレスを宛先としたIPパケットが前記ホームネットワークへ到着した際に、前記ホームネットワークから前記外部ネットワークへ該到着IPパケットを転送するパケット転送システムであって、前記移動端末に割り当てられている前記外部ネットワークの外部IPアドレスと前記ホームIPアドレスを対応付けて格納する位置管理テーブルと、前記ホームネットワーク内のIPパケット転送に使用されるMACアドレスとして、前記位置管理テーブルの項目のインデックスを含み且つ前記ホームネットワーク内で固有の代理MACアドレスを生成し、この代理MACアドレスを前記ホームIPアドレスに対応付けてARPテーブルに登録させる登録手段と、前記ARPテーブルに基づいて前記代理MACアドレス宛てに前記ホームネットワーク内転送された前記到着IPパケットを、前記代理MACアドレスにより取得し、前記代理MACアドレスに含まれているインデックスから前記位置管理テーブルの該当する項目の外部IPアドレスを取得し、この取得した外部IPアドレス宛てに前記到着IPパケットを転送する転送手段と、を備えたことを特徴としている。
【0011】
上記の課題を解決するために、請求項3に記載のコンピュータプログラムは、ホームネットワークと外部ネットワークから構成されるモバイルIPネットワークにおいて、前記ホームネットワークに本来所属の移動端末が前記外部ネットワークに在り、前記移動端末に割り当てられているホームIPアドレスを宛先としたIPパケットが前記ホームネットワークへ到着した際に、前記ホームネットワークから前記外部ネットワークへ該到着IPパケットを転送するパケット転送処理を行うためのコンピュータプログラムであって、前記移動端末に割り当てられている前記外部ネットワークの外部IPアドレスと前記ホームIPアドレスを対応付けて位置管理テーブルに登録する処理と、前記ホームネットワーク内のIPパケット転送に使用されるMACアドレスとして、前記位置管理テーブルの項目のインデックスを含み且つ前記ホームネットワーク内で固有の代理MACアドレスを生成する処理と、前記代理MACアドレスと前記ホームIPアドレスを対応付けてARPテーブルに登録させる処理と、前記ARPテーブルに基づいて前記代理MACアドレス宛てに前記ホームネットワーク内転送された前記到着IPパケットを、前記代理MACアドレスにより取得する処理と、前記代理MACアドレスに含まれているインデックスから前記位置管理テーブルの該当する項目の外部IPアドレスを取得する処理と、該取得した外部IPアドレス宛てに前記到着IPパケットを転送する処理と、をコンピュータに実行させることを特徴としている。
これにより、前述のパケット転送システムがコンピュータを利用して実現できるようになる。
【0012】
【発明の実施の形態】
以下、図面を参照し、本発明の一実施形態について説明する。
図1は、本発明の一実施形態によるパケット転送システムを適用したモバイルIPネットワーク10の構成例を示すブロック図である。このモバイルIPネットワーク10は、一般的なIPネットワークであるホームネットワーク4aと外部ネットワーク4bから構成される。これらホームネットワーク4aおよび外部ネットワーク4bは、LAN上で通信されるEthernet(登録商標)フレーム(図7,8参照)中のMAC(Media Access Control)アドレスを用いて、データ(IPパケット)の通信を行う。
【0013】
MACアドレスとは、LAN(ホームネットワーク4aや外部ネットワーク4b等)に接続してパケットを入出力するネットワークインタフェース機器に固有のアドレスである。MACアドレスには、ネットワークインタフェース機器の製造時に付与されるグローバルアドレスと、LAN内で任意に設定可能なプライベートアドレスがある。MACアドレスは48ビットで構成されるが、該48ビット中の最上位2ビットが「01」である値がプライベートアドレスである。したがって、この2ビットを参照すれば、プライベートアドレスであるか、あるいはグローバルアドレスであるかを判別することができる。例えば、16進数の「40:00:00:00:00:00」はプライベートアドレスの一つである。但し、「:」は8ビットごとの境界を示すための便宜上の表記である。
【0014】
ホームネットワーク4aには、ホームネットワーク4aに本来所属の移動端末1aと、移動端末1aの位置管理およびパケット転送を行うモビリティエージェント装置(以下、ホームエージェント;HAと称する)2aと、ホームネットワーク4aの出入り口に位置するルータ3aとが接続されている。
移動端末1aは、例えば可搬型パーソナルコンピュータ(ノート型PC)や携帯情報端末(PDA;Personal Digital Assistants)などである。各移動端末1aには、ホームネットワーク4a上のアドレス(ホームIPアドレス)が予め割当てられている。また、図1に示すように、移動端末1aが外部ネットワーク4bへ移動した際には、該外部ネットワーク4b上のアドレス(外部IPアドレス)が一時的に割り当てられる。
【0015】
ホームエージェント2aは、汎用コンピュータ(パーソナルコンピュータ等)および該コンピュータ上で実行されるコンピュータプログラムから成り、その記憶装置には位置管理テーブル21が記憶される。位置管理テーブル21は、外部ネットワーク4bへ移動した移動端末1aのホームIPアドレスと外部IPアドレスを対応付けて格納する。図5に位置管理テーブル21の構成例を示す。図5に示すように位置管理テーブル21には、ホームIPアドレスと外部IPアドレスが対応付けて設定され、さらに各項目毎にインデックスが設定される。
【0016】
ルータ3aはインターネット8に接続されており、ホームネットワーク4aとインターネット8との間で転送されるIPパケットを送受する。ルータ3aは、ARP(Address Resolution Protocol)テーブル31を有する。また、ホームネットワーク4a上の各装置(移動端末1a,ホームエージェント2a等)もARPテーブル31を有する(図示せず)。ARPテーブル31は、ホームネットワーク4a上の各装置(移動端末1a,ホームエージェント2a等)のホームIPアドレスとMACアドレスを対応付けて格納する。図6にARPテーブル31の構成例を示す。図6に示すようにARPテーブル31には、ホームIPアドレスとMACアドレスが対応付けて設定される。
【0017】
また、外部ネットワーク4bには、ホームネットワーク4aに本来所属の移動端末1aと、モビリティエージェント装置(以下、外部エージェント;FAと称する)2bと、外部ネットワーク4bの出入り口に位置するルータ3bとが接続されている。外部エージェント2bは、ホームネットワーク4aから移動してきた移動端末1aを管理し、移動端末1aに関する外部ネットワーク4bとホームネットワーク4a間のパケット転送を行う。ルータ3bはインターネット8に接続されており、外部ネットワーク4bとインターネット8との間で転送されるIPパケットを送受する。
端末9は、インターネット8に接続してIPパケット通信を行うものである。
【0018】
次に、図1のモバイルIPネットワーク10において、外部ネットワーク4bに在る移動端末1aに宛てたIPパケットがホームネットワーク4aへ到着した際に、ホームネットワーク4aから外部ネットワーク4bへ該到着IPパケットを転送する動作を、図2〜図4を参照して説明する。図2〜図4は、モバイルIPネットワーク10におけるパケット転送処理の流れを示す第1〜第3のシーケンスチャートである。
【0019】
初めに、図2を参照して、ホームネットワーク4aに本来所属の移動端末1aが外部ネットワーク4bへ移動した際に行う位置登録処理を説明する。図2において、外部ネットワーク4bに移動した移動端末1a(以下、外部移動端末1aと称する)は、位置登録のためにRRQ(Registration Request)メッセージをIPパケットによりホームエージェント2aへ通知する(ステップS11)。このRRQメッセージには、外部移動端末1aに割り当てられた外部ネットワーク4b上の外部IPアドレスが含まれている。
【0020】
これにより、ホームエージェント2aは、当該外部移動端末1aの外部IPアドレスを取得して、図5に示すように、当該外部移動端末1aのホームIPアドレスと対応付けて位置管理テーブル21に登録する(ステップS12)。ここで、ホームエージェント2aは、該登録した項目にインデックスを割り当てて位置管理テーブル21に設定する。この例では、説明の便宜上、外部移動端末1aのホームIPアドレスは「192.168.0.5」であり、また外部IPアドレスは「172.70.10.2」であり、インデックスは「9」であるとする。
【0021】
なお、RRQメッセージを含むIPパケットは、外部エージェント2bを経由して転送されており、これにより外部エージェント2bは外部移動端末1aのホームIPアドレス等の情報を取得して管理する。
【0022】
次いで、ホームエージェント2aは、ARPテーブル31の外部移動端末1aに関する項目の削除要求(Gratuitous ARP)を、ホームネットワーク4a内にブロードキャスト方式で配信する(ステップS13)。これにより、ルータ3a等のホームネットワーク4a上の各装置は、自己のARPテーブル31から外部移動端末1aに関する項目を削除する(ステップS14)。ホームエージェント2aは、RRP(Registration Reply)メッセージをIPパケットにより、外部エージェント2b経由で外部移動端末1aへ転送し、位置登録の完了を通知する(ステップS15)。
【0023】
上記図2の位置登録処理により、ホームネットワーク4aにおいて位置管理テーブル21には、図5に示すように、外部移動端末1aのホームIPアドレス「192.168.0.5」と外部IPアドレス「172.70.10.2」が対応付けされてインデックス「9」とともに設定されている。また、ARPテーブル31からは外部移動端末1aに関する項目が削除されている。
【0024】
次に、図3を参照して、上記図2の位置登録処理後、外部移動端末1a宛ての最初のIPパケットがインターネット8を介してホームネットワーク4aに到着した際に行われるARPテーブル登録処理を説明する。以下、モバイルIPネットワーク10に属さない端末9が外部移動端末1a宛てにIPパケットを送信する場合を例にして説明する。
【0025】
図3において、端末9が外部移動端末1aのホームIPアドレス「192.168.0.5」を宛先IPアドレスとしてIPパケットを送信する(ステップS21)。ホームネットワーク4aにおいてルータ3aは、このIPパケットが到着すると、該到着IPパケットの宛先IPアドレスであるホームIPアドレスに基づいて自己のARPテーブル31を検索する(ステップS22)。
【0026】
この検索では、上記図2の位置登録処理によって該当する項目が削除されているので、宛先のホームIPアドレスに対応するMACアドレスが見つからない。このためルータ3aは、宛先のホームIPアドレスに対応するMACアドレスの探索要求(ARP Request)を、ホームネットワーク4a内にブロードキャスト方式で配信する(ステップS23)。
【0027】
ホームエージェント2aは、この「ARP Request」メッセージを受信すると、図5の位置管理テーブル21を検索し、探索対象のホームIPアドレス「192.168.0.5」の項目(外部移動端末1aに関する項目)のインデックス「9」を取得する(ステップS24)。次いで、ホームエージェント2aは、該インデックス「9」を含み且つホームネットワーク4a内で固有のMACアドレスをプライベートアドレスにより生成する。例えば、インデックス「9」を下位側のビット位置、例えば下位8ビットに配置して16進数「40:00:00:00:00:09」のプライベートアドレスを生成する。そして、ホームエージェント2aは、このプライベートアドレス(以下、代理MACアドレスと称する)をルータ3aに通知する(ステップS25)。これにより、ルータ3aは、通知された代理MACアドレス「40:00:00:00:00:09」を探索対象のホームIPアドレス「192.168.0.5」に対応付けて、図6に示すようにARPテーブル31に登録する(ステップS26)。
【0028】
次いで、ルータ3aは、該代理MACアドレス宛てに、到着IPパケットをホームネットワーク4a内に転送する(ステップS27)。ホームエージェント2aは、代理MACアドレス「40:00:00:00:00:09」により該到着IPパケットを取得し、該代理MACアドレスに含まれるインデックス「9」に対応する外部IPアドレス「172.70.10.2」を図5の位置管理テーブル21から取得する(ステップS28)。次いで、ホームエージェント2aは、この取得した外部IPアドレスを宛先IPアドレスとして、到着IPパケットをカプセル化したIPパケットを送信する(ステップS29)。これにより、このカプセル化されたIPパケットは外部移動端末1aに転送され、端末9から送信されたIPパケットが外部移動端末1aに到達することになる。
【0029】
上記図3のARPテーブル登録処理により、ホームネットワーク4aにおいてARPテーブル31には、図6に示すように、外部移動端末1aのホームIPアドレス「192.168.0.5」と代理MACアドレス「40:00:00:00:00:09」が対応付けて設定されている。
【0030】
次に、図4を参照して、上記図3のARPテーブル登録処理後、外部移動端末1a宛てのIPパケットが端末9からインターネット8を介してホームネットワーク4aに到着した際に行うパケット転送処理を説明する。図4において、端末9が外部移動端末1aのホームIPアドレス「192.168.0.5」を宛先IPアドレスとしてIPパケットを送信する(ステップS31)。ホームネットワーク4aにおいてルータ3aは、このIPパケットが到着すると、該到着IPパケットの宛先IPアドレスであるホームIPアドレスに基づいて自己の図6に示すARPテーブル31を検索する(ステップS32)。
【0031】
この検索によりARPテーブル31から宛先のホームIPアドレス「192.168.0.5」に対応する代理MACアドレス「40:00:00:00:00:09」を取得すると、ルータ3aは、該代理MACアドレス宛てに、到着IPパケットをホームネットワーク4a内に転送する(ステップS33)。次いで、ホームエージェント2aは、代理MACアドレス「40:00:00:00:00:09」により該到着IPパケットを取得し、該代理MACアドレスに含まれているインデックス「9」に対応する外部IPアドレス「172.70.10.2」を図5の位置管理テーブル21から取得する(ステップS34)。そして、この取得した外部IPアドレスを宛先IPアドレスとして、到着IPパケットをカプセル化したIPパケットを送信し、これにより、端末9から送信されたIPパケットが外部移動端末1aに到達することになる(ステップS35)。
【0032】
上述したように図4のパケット転送処理では、ホームエージェント2aは、端末9から送信されたIPパケットの転送先である外部移動端末1aの外部IPアドレスを、代理MACアドレスに含まれているインデックスに基づいて位置管理テーブル21から直接取得する。したがって、位置管理テーブル21の検索は実行されない。これにより、ホームネットワーク4aから外部移動端末1a宛てにパケットを転送する際の位置管理テーブル検索にかかる時間を短縮することが可能となり、該パケット転送に要する時間を削減することができる。
【0033】
なお、上述した実施形態では、位置管理テーブル21のインデックスを下位側のビット位置に配置して代理MACアドレスとなるプライベートアドレスを生成したが、インデックスの配置位置はプライベートアドレス中の利用可能な所定位置であればよい。
【0034】
なお、上述した実施形態においては、ホームエージェント2aが登録手段と転送手段に対応する。
【0035】
また、図2〜図4に示すホームエージェント2aが行う各ステップを実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することによりパケット転送処理を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものであってもよい。
また、「コンピュータシステム」は、WWWシステムを利用している場合であれば、ホームページ提供環境(あるいは表示環境)も含むものとする。
また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。
【0036】
さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムが送信された場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリ(RAM)のように、一定時間プログラムを保持しているものも含むものとする。
また、上記プログラムは、このプログラムを記憶装置等に格納したコンピュータシステムから、伝送媒体を介して、あるいは、伝送媒体中の伝送波により他のコンピュータシステムに伝送されてもよい。ここで、プログラムを伝送する「伝送媒体」は、インターネット等のネットワーク(通信網)や電話回線等の通信回線(通信線)のように情報を伝送する機能を有する媒体のことをいう。
また、上記プログラムは、前述した機能の一部を実現するためのものであっても良い。さらに、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であっても良い。
【0037】
以上、本発明の実施形態を図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、本発明の要旨を逸脱しない範囲の設計変更等も含まれる。
【0038】
【発明の効果】
以上説明したように、本発明によれば、ホームネットワークと外部ネットワークから構成されるモバイルIPネットワークにおいて、ホームネットワークに本来所属の移動端末が外部ネットワークに在り、該移動端末(外部移動端末)に割り当てられているホームIPアドレスを宛先としたIPパケットがホームネットワークへ到着した際に、該到着IPパケットの転送先である外部移動端末の外部IPアドレスを、代理MACアドレスに含まれているインデックスに基づいて位置管理テーブルから直接取得することができる。これにより、ホームネットワークから外部移動端末宛てにパケットを転送する際の位置管理テーブル検索にかかる時間を短縮することが可能となり、該パケット転送に要する時間を削減することができるという効果が得られる。
【図面の簡単な説明】
【図1】 本発明の一実施形態によるパケット転送システムを適用したモバイルIPネットワーク10の構成例を示すブロック図である。
【図2】 図1に示すモバイルIPネットワーク10におけるパケット転送処理の流れを示す第1のシーケンスチャートである。
【図3】 図1に示すモバイルIPネットワーク10におけるパケット転送処理の流れを示す第2のシーケンスチャートである。
【図4】 図1に示すモバイルIPネットワーク10におけるパケット転送処理の流れを示す第3のシーケンスチャートである。
【図5】 位置管理テーブル21の構成例を示す図である。
【図6】 ARPテーブル31の構成例を示す図である。
【図7】 Ethernet(登録商標)フレームの構成を示す図である。
【図8】 Ethernet(登録商標)ヘッダの構成を示す図である。
【図9】 IPヘッダの構成を示す図である。
【符号の説明】
1a…移動端末、2a…モビリティエージェント装置(ホームエージェント;HAと称する)、2b…モビリティエージェント装置(外部エージェント;FA)、3a,3b…ルータ、4a…ホームネットワーク、4b…外部ネットワーク、8…インターネット、9…端末、10…モバイルIPネットワーク、21…位置管理テーブル、31…ARPテーブル
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a packet transfer method and packet transfer system in a mobile IP network, and a computer program for realizing the packet transfer system using a computer.
[0002]
[Prior art]
Conventionally, in an environment where packet communication is performed using TCP (Transmission Control Protocol) and IP (Internet Protocol), even if a terminal moves from a currently connected network to a different network, it is a method for continuing a session. “Mobile IP” has been standardized. The mobile IP network conforming to the mobile IP is composed of a plurality of IP networks (areas), and the mobile terminal moves appropriately in each area. A “home network” is defined as an area to which the mobile terminal originally belongs, and is distinguished from other networks in the mobile IP network (hereinafter referred to as external networks). An address on the home network (home IP address) is assigned in advance to the mobile terminal. When moving to an external network, an address (external IP address) on the external network is temporarily assigned to the mobile terminal that has moved.
[0003]
On the home network, a mobility agent device (home agent; HA) that performs location management and packet transfer of a mobile terminal originally belonging to the home network is arranged. This home agent has a location management table that stores a home IP address and an external IP address in association with each other for a mobile terminal that has moved to an external network. When a packet addressed to a mobile terminal in the external network arrives at the home network, the home agent searches the location management table and transfers the arrival packet to the corresponding external IP address. The home agent registers the corresponding home IP address and external IP address in the location management table in response to a location registration request from a mobile terminal in the external network.
[0004]
Further, in individual networks (home network and external network) in the mobile IP network, data (IP packet) is used by using a MAC (Media Access Control) address in an Ethernet (registered trademark) frame communicated on the LAN. Communication. FIG. 7 shows the configuration of an Ethernet (registered trademark) frame. FIG. 8 shows the configuration of an Ethernet (registered trademark) header included in the frame of FIG. FIG. 9 shows the configuration of the IP header included in the IP packet. When an IP packet arrives from the outside such as the Internet, the router located at the entrance / exit of the home network has a destination MAC address and a source MAC address (router) when the arrival IP packet has a destination IP address in the home network. The incoming IP packet is output into the home network according to the frame configuration of FIG. The association between the destination MAC address and the destination IP address is registered in an ARP (Address Resolution Protocol) table. When a packet arrives from the outside, the router searches the ARP table and acquires the corresponding destination MAC address. In the ARP table, the MAC address of the home agent is registered instead as the MAC address of the mobile terminal in the external network. This registration is performed by the home agent in response to a location registration request from a mobile terminal in the external network.
[0005]
Therefore, when the packet addressed to the mobile terminal in the external network arrives, the router searches the ARP table, acquires the MAC address of the home agent as the destination MAC address, and sets the arrival packet in the home network according to the frame configuration of FIG. Output to. As a result, the home agent receives the arrival packet, searches the location management table to acquire the corresponding external IP address, encapsulates the arrival packet, and transfers it to the mobile terminal in the external network.
[0006]
[Problems to be solved by the invention]
However, in the conventional packet transfer method described above, there is a problem that it takes time to perform both the ARP table search and the location management table search when transferring a packet from the home network to the mobile terminal in the external network. is there. Generally, a router is equipped with hardware dedicated to ARP table search, and high-speed search is possible. However, since a home agent is realized by software using a general-purpose computer (such as a personal computer), it takes time to search. Take it. In particular, when the number of registrations in the location management table is large, the influence becomes large.
[0007]
The present invention has been made in view of the above-described circumstances, and can reduce the time required for searching a location management table when transferring a packet from a home network to a mobile terminal in an external network in a mobile IP network. It is possible to provide a packet transfer method and a packet transfer system that can reduce the time required for the packet transfer.
[0008]
Another object of the present invention is to provide a computer program for realizing the packet transfer system using a computer.
[0009]
[Means for Solving the Problems]
In order to solve the above-mentioned problem, the packet transfer method according to claim 1 is a mobile IP network composed of a home network and an external network, wherein a mobile terminal originally belonging to the home network is in the external network, A packet transfer method for transferring an arrival IP packet from the home network to the external network when an IP packet destined for a home IP address assigned to the mobile terminal arrives at the home network, The process of registering the external IP address of the external network assigned to the mobile terminal and the home IP address in association with each other in the location management table, and the MAC address used for IP packet transfer in the home network as the location Management A process of generating a unique proxy MAC address in the home network, a process of associating and registering the proxy MAC address and the home IP address in the ARP table, and based on the ARP table The process of obtaining the arrival IP packet forwarded to the proxy MAC address in the home network by the proxy MAC address, and the corresponding item of the location management table from the index included in the proxy MAC address The method includes a step of acquiring an external IP address and a step of transferring the arrival IP packet to the acquired external IP address.
[0010]
In order to solve the above problem, the packet transfer system according to claim 2 is a mobile IP network composed of a home network and an external network, wherein a mobile terminal originally belonging to the home network exists in the external network, A packet forwarding system for forwarding an incoming IP packet from the home network to the external network when an IP packet destined for a home IP address assigned to the mobile terminal arrives at the home network, The location management table that stores the external IP address of the external network assigned to the mobile terminal in association with the home IP address, and the location management as a MAC address used for IP packet transfer in the home network Registration means for generating a proxy MAC address unique to the home network and registering the proxy MAC address in the ARP table in association with the home IP address, based on the ARP table The arrival IP packet forwarded in the home network to the proxy MAC address is acquired by the proxy MAC address, and the external IP address of the corresponding item in the location management table is obtained from the index included in the proxy MAC address. And transferring means for transferring the arrival IP packet to the acquired external IP address.
[0011]
In order to solve the above problem, the computer program according to claim 3 is a mobile IP network composed of a home network and an external network, wherein a mobile terminal originally belonging to the home network is in the external network, and A computer program for performing packet transfer processing for transferring an incoming IP packet from the home network to the external network when an IP packet destined for the home IP address assigned to the mobile terminal arrives at the home network And a process of associating the external IP address of the external network assigned to the mobile terminal with the home IP address and registering it in the location management table, and used for IP packet transfer within the home network. A MAC address including an index of the location management table item and generating a unique proxy MAC address in the home network, and registering the proxy MAC address and the home IP address in association with each other in the ARP table Processing, processing for obtaining the arrival IP packet forwarded in the home network addressed to the proxy MAC address based on the ARP table by the proxy MAC address, and the index included in the proxy MAC address It is characterized in that the computer executes processing for acquiring an external IP address of a corresponding item in the location management table and processing for transferring the arrival IP packet to the acquired external IP address.
As a result, the above-described packet transfer system can be realized using a computer.
[0012]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram showing a configuration example of a mobile IP network 10 to which a packet transfer system according to an embodiment of the present invention is applied. The mobile IP network 10 includes a home network 4a and an external network 4b, which are general IP networks. The home network 4a and the external network 4b communicate data (IP packets) using a MAC (Media Access Control) address in an Ethernet (registered trademark) frame (see FIGS. 7 and 8) communicated on the LAN. Do.
[0013]
The MAC address is an address unique to a network interface device that is connected to a LAN (home network 4a, external network 4b, etc.) and inputs and outputs packets. The MAC address includes a global address given at the time of manufacturing the network interface device and a private address that can be arbitrarily set in the LAN. The MAC address is composed of 48 bits, and a value in which the most significant 2 bits in the 48 bits are “01” is a private address. Therefore, by referring to these 2 bits, it is possible to determine whether the address is a private address or a global address. For example, the hexadecimal number “40: 00: 00: 00: 00: 00” is one of the private addresses. However, “:” is a notation for convenience to indicate a boundary every 8 bits.
[0014]
The home network 4a includes a mobile terminal 1a originally belonging to the home network 4a, a mobility agent device (hereinafter referred to as home agent; HA) 2a that performs location management and packet transfer of the mobile terminal 1a, and an entrance / exit of the home network 4a Is connected to the router 3a.
The mobile terminal 1a is, for example, a portable personal computer (notebook PC) or a personal digital assistant (PDA). Each mobile terminal 1a is previously assigned an address (home IP address) on the home network 4a. As shown in FIG. 1, when the mobile terminal 1a moves to the external network 4b, an address (external IP address) on the external network 4b is temporarily assigned.
[0015]
The home agent 2a includes a general-purpose computer (such as a personal computer) and a computer program executed on the computer, and a location management table 21 is stored in the storage device. The location management table 21 stores the home IP address of the mobile terminal 1a that has moved to the external network 4b and the external IP address in association with each other. FIG. 5 shows a configuration example of the location management table 21. As shown in FIG. 5, in the location management table 21, a home IP address and an external IP address are set in association with each other, and an index is set for each item.
[0016]
The router 3a is connected to the Internet 8, and transmits and receives IP packets transferred between the home network 4a and the Internet 8. The router 3 a has an ARP (Address Resolution Protocol) table 31. Each device (mobile terminal 1a, home agent 2a, etc.) on the home network 4a also has an ARP table 31 (not shown). The ARP table 31 stores the home IP address and MAC address of each device (such as the mobile terminal 1a and the home agent 2a) on the home network 4a in association with each other. FIG. 6 shows a configuration example of the ARP table 31. As shown in FIG. 6, in the ARP table 31, a home IP address and a MAC address are set in association with each other.
[0017]
Also, connected to the external network 4b are a mobile terminal 1a originally belonging to the home network 4a, a mobility agent device (hereinafter referred to as “FA”) 2b, and a router 3b located at the entrance / exit of the external network 4b. ing. The external agent 2b manages the mobile terminal 1a that has moved from the home network 4a, and performs packet transfer between the external network 4b and the home network 4a related to the mobile terminal 1a. The router 3b is connected to the Internet 8, and sends and receives IP packets transferred between the external network 4b and the Internet 8.
The terminal 9 is connected to the Internet 8 and performs IP packet communication.
[0018]
Next, in the mobile IP network 10 of FIG. 1, when an IP packet addressed to the mobile terminal 1a in the external network 4b arrives at the home network 4a, the arrival IP packet is transferred from the home network 4a to the external network 4b. The operation | movement which performs is demonstrated with reference to FIGS. 2 to 4 are first to third sequence charts showing the flow of packet transfer processing in the mobile IP network 10.
[0019]
First, with reference to FIG. 2, a location registration process performed when the mobile terminal 1a originally belonging to the home network 4a moves to the external network 4b will be described. In FIG. 2, the mobile terminal 1a that has moved to the external network 4b (hereinafter referred to as the external mobile terminal 1a) notifies the home agent 2a of an RRQ (Registration Request) message by IP packet for location registration (step S11). . This RRQ message includes the external IP address on the external network 4b assigned to the external mobile terminal 1a.
[0020]
Thereby, the home agent 2a acquires the external IP address of the external mobile terminal 1a and registers it in the location management table 21 in association with the home IP address of the external mobile terminal 1a as shown in FIG. Step S12). Here, the home agent 2 a assigns an index to the registered item and sets it in the location management table 21. In this example, for convenience of explanation, it is assumed that the home IP address of the external mobile terminal 1a is “192.168.0.5”, the external IP address is “172.70.10.2”, and the index is “9”.
[0021]
The IP packet including the RRQ message is transferred via the foreign agent 2b, and the foreign agent 2b acquires and manages information such as the home IP address of the external mobile terminal 1a.
[0022]
Next, the home agent 2a distributes an item deletion request (Gratuitous ARP) related to the external mobile terminal 1a in the ARP table 31 to the home network 4a by the broadcast method (step S13). Thereby, each device on the home network 4a such as the router 3a deletes the item related to the external mobile terminal 1a from its own ARP table 31 (step S14). The home agent 2a transfers an RRP (Registration Reply) message by IP packet to the external mobile terminal 1a via the external agent 2b and notifies the completion of location registration (step S15).
[0023]
2, the home IP address “192.168.0.5” and the external IP address “172.70.10.2” of the external mobile terminal 1a are stored in the location management table 21 in the home network 4a as shown in FIG. It is set in association with the index “9”. In addition, items relating to the external mobile terminal 1 a are deleted from the ARP table 31.
[0024]
Next, referring to FIG. 3, after the location registration process of FIG. 2, the ARP table registration process performed when the first IP packet addressed to the external mobile terminal 1a arrives at the home network 4a via the Internet 8 is performed. explain. Hereinafter, a case where the terminal 9 not belonging to the mobile IP network 10 transmits an IP packet to the external mobile terminal 1a will be described as an example.
[0025]
In FIG. 3, the terminal 9 transmits an IP packet with the home IP address “192.168.0.5” of the external mobile terminal 1a as the destination IP address (step S21). In the home network 4a, when this IP packet arrives, the router 3a searches its own ARP table 31 based on the home IP address that is the destination IP address of the arrival IP packet (step S22).
[0026]
In this search, since the corresponding item has been deleted by the location registration process of FIG. 2, the MAC address corresponding to the destination home IP address cannot be found. Therefore, the router 3a distributes the MAC address search request (ARP Request) corresponding to the destination home IP address to the home network 4a by the broadcast method (step S23).
[0027]
Upon receiving this “ARP Request” message, the home agent 2a searches the location management table 21 in FIG. 5 and searches the index “of the item of the home IP address“ 192.168.0.5 ”to be searched (item related to the external mobile terminal 1a). 9 "is acquired (step S24). Next, the home agent 2a generates a MAC address that includes the index “9” and is unique within the home network 4a using a private address. For example, the index “9” is arranged at the lower bit position, for example, the lower 8 bits, and the private address of the hexadecimal number “40: 00: 00: 00: 00: 09” is generated. Then, the home agent 2a notifies the router 3a of this private address (hereinafter referred to as a proxy MAC address) (step S25). As a result, the router 3a associates the notified proxy MAC address “40: 00: 00: 00: 00: 09” with the home IP address “192.168.0.5” to be searched, and ARP as shown in FIG. Register in the table 31 (step S26).
[0028]
Next, the router 3a forwards the incoming IP packet to the proxy MAC address in the home network 4a (step S27). The home agent 2a acquires the arrival IP packet with the proxy MAC address “40: 00: 00: 00: 00: 09”, and the external IP address “172.70.” Corresponding to the index “9” included in the proxy MAC address. 10.2 "is acquired from the position management table 21 of FIG. 5 (step S28). Next, the home agent 2a transmits an IP packet encapsulating the arrival IP packet with the acquired external IP address as the destination IP address (step S29). As a result, the encapsulated IP packet is transferred to the external mobile terminal 1a, and the IP packet transmitted from the terminal 9 reaches the external mobile terminal 1a.
[0029]
By the ARP table registration process of FIG. 3, the ARP table 31 in the home network 4a has the home IP address “192.168.0.5” and the proxy MAC address “40:00:00” of the external mobile terminal 1a as shown in FIG. : 00: 00: 09 "is set in association.
[0030]
Next, referring to FIG. 4, after the ARP table registration process of FIG. 3, the packet transfer process performed when the IP packet addressed to the external mobile terminal 1a arrives at the home network 4a from the terminal 9 via the Internet 8 is performed. explain. In FIG. 4, the terminal 9 transmits an IP packet with the home IP address “192.168.0.5” of the external mobile terminal 1a as the destination IP address (step S31). In the home network 4a, when this IP packet arrives, the router 3a searches its own ARP table 31 shown in FIG. 6 based on the home IP address that is the destination IP address of the arrival IP packet (step S32).
[0031]
When the proxy MAC address “40: 00: 00: 00: 00: 09” corresponding to the destination home IP address “192.168.0.5” is acquired from the ARP table 31 by this search, the router 3a addresses the proxy MAC address. The incoming IP packet is transferred into the home network 4a (step S33). Next, the home agent 2a acquires the arrival IP packet from the proxy MAC address “40: 00: 00: 00: 00: 09”, and the external IP corresponding to the index “9” included in the proxy MAC address. The address “172.70.10.2” is acquired from the location management table 21 of FIG. 5 (step S34). Then, using the acquired external IP address as the destination IP address, an IP packet encapsulating the arrival IP packet is transmitted, so that the IP packet transmitted from the terminal 9 reaches the external mobile terminal 1a ( Step S35).
[0032]
As described above, in the packet transfer process of FIG. 4, the home agent 2a uses the external IP address of the external mobile terminal 1a that is the transfer destination of the IP packet transmitted from the terminal 9 as an index included in the proxy MAC address. Based on the location management table 21 directly. Therefore, the search of the location management table 21 is not executed. As a result, it is possible to reduce the time required for the location management table search when transferring a packet from the home network 4a to the external mobile terminal 1a, and the time required for the packet transfer can be reduced.
[0033]
In the above-described embodiment, the private address serving as the proxy MAC address is generated by arranging the index of the position management table 21 in the lower bit position. However, the arrangement position of the index is an available predetermined position in the private address. If it is.
[0034]
In the above-described embodiment, the home agent 2a corresponds to a registration unit and a transfer unit.
[0035]
Also, a program for realizing each step performed by the home agent 2a shown in FIGS. 2 to 4 is recorded on a computer-readable recording medium, and the program recorded on the recording medium is read into a computer system and executed. By doing so, packet transfer processing may be performed. Here, the “computer system” may include an OS and hardware such as peripheral devices.
Further, the “computer system” includes a homepage providing environment (or display environment) if a WWW system is used.
The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM and a CD-ROM, and a hard disk incorporated in a computer system.
[0036]
Further, the “computer-readable recording medium” refers to a volatile memory (RAM) in a computer system that becomes a server or a client when a program is transmitted via a network such as the Internet or a communication line such as a telephone line. In addition, those holding programs for a certain period of time are also included.
The program may be transmitted from a computer system storing the program in a storage device or the like to another computer system via a transmission medium or by a transmission wave in the transmission medium. Here, the “transmission medium” for transmitting the program refers to a medium having a function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line.
The program may be for realizing a part of the functions described above. Furthermore, what can implement | achieve the function mentioned above in combination with the program already recorded on the computer system, and what is called a difference file (difference program) may be sufficient.
[0037]
The embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to this embodiment, and includes design changes and the like within a scope not departing from the gist of the present invention.
[0038]
【The invention's effect】
As described above, according to the present invention, in a mobile IP network composed of a home network and an external network, a mobile terminal originally belonging to the home network exists in the external network and is assigned to the mobile terminal (external mobile terminal). When an IP packet destined for the home IP address arrived at the home network, the external IP address of the external mobile terminal to which the incoming IP packet is transferred is based on the index included in the proxy MAC address Can be obtained directly from the location management table. As a result, it is possible to reduce the time required for searching the location management table when transferring a packet from the home network to the external mobile terminal, and the time required for the packet transfer can be reduced.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration example of a mobile IP network 10 to which a packet transfer system according to an embodiment of the present invention is applied.
FIG. 2 is a first sequence chart showing a flow of packet transfer processing in the mobile IP network 10 shown in FIG.
FIG. 3 is a second sequence chart showing a flow of packet transfer processing in the mobile IP network 10 shown in FIG. 1;
FIG. 4 is a third sequence chart showing a flow of packet transfer processing in the mobile IP network 10 shown in FIG. 1;
FIG. 5 is a diagram showing a configuration example of a location management table 21.
6 is a diagram showing a configuration example of an ARP table 31. FIG.
FIG. 7 is a diagram illustrating a configuration of an Ethernet (registered trademark) frame.
FIG. 8 is a diagram illustrating a configuration of an Ethernet (registered trademark) header.
FIG. 9 is a diagram illustrating a configuration of an IP header.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1a ... Mobile terminal, 2a ... Mobility agent apparatus (home agent; It calls HA), 2b ... Mobility agent apparatus (foreign agent; FA), 3a, 3b ... Router, 4a ... Home network, 4b ... External network, 8 ... Internet , 9 terminal, 10 mobile IP network, 21 location management table, 31 ARP table

Claims (3)

ホームネットワークと外部ネットワークから構成されるモバイルIPネットワークにおいて、前記ホームネットワークに本来所属の移動端末が前記外部ネットワークに在り、前記移動端末に割り当てられているホームIPアドレスを宛先としたIPパケットが前記ホームネットワークへ到着した際に、前記ホームネットワークから前記外部ネットワークへ該到着IPパケットを転送するパケット転送方法であって、
前記移動端末に割り当てられている前記外部ネットワークの外部IPアドレスと前記ホームIPアドレスを対応付けて位置管理テーブルに登録する過程と、
前記ホームネットワーク内のIPパケット転送に使用されるMACアドレスとして、前記位置管理テーブルの項目のインデックスを含み且つ前記ホームネットワーク内で固有の代理MACアドレスを生成する過程と、
前記代理MACアドレスと前記ホームIPアドレスを対応付けてARPテーブルに登録させる過程と、
前記ARPテーブルに基づいて前記代理MACアドレス宛てに前記ホームネットワーク内転送された前記到着IPパケットを、前記代理MACアドレスにより取得する過程と、
前記代理MACアドレスに含まれているインデックスから前記位置管理テーブルの該当する項目の外部IPアドレスを取得する過程と、
該取得した外部IPアドレス宛てに前記到着IPパケットを転送する過程と、
を含むことを特徴とするパケット転送方法。
In a mobile IP network composed of a home network and an external network, a mobile terminal originally belonging to the home network exists in the external network, and an IP packet destined for a home IP address assigned to the mobile terminal A packet transfer method for transferring the arrival IP packet from the home network to the external network when arriving at the network,
Registering the external IP address of the external network assigned to the mobile terminal and the home IP address in association with each other in the location management table;
Generating a proxy MAC address unique to the home network including an index of an item of the location management table as a MAC address used for IP packet transfer in the home network;
Associating the proxy MAC address with the home IP address and registering them in the ARP table;
Obtaining the arrival IP packet forwarded in the home network to the proxy MAC address based on the ARP table by the proxy MAC address;
Obtaining an external IP address of a corresponding item in the location management table from an index included in the proxy MAC address;
Transferring the incoming IP packet to the acquired external IP address;
A packet transfer method comprising:
ホームネットワークと外部ネットワークから構成されるモバイルIPネットワークにおいて、前記ホームネットワークに本来所属の移動端末が前記外部ネットワークに在り、前記移動端末に割り当てられているホームIPアドレスを宛先としたIPパケットが前記ホームネットワークへ到着した際に、前記ホームネットワークから前記外部ネットワークへ該到着IPパケットを転送するパケット転送システムであって、
前記移動端末に割り当てられている前記外部ネットワークの外部IPアドレスと前記ホームIPアドレスを対応付けて格納する位置管理テーブルと、
前記ホームネットワーク内のIPパケット転送に使用されるMACアドレスとして、前記位置管理テーブルの項目のインデックスを含み且つ前記ホームネットワーク内で固有の代理MACアドレスを生成し、この代理MACアドレスを前記ホームIPアドレスに対応付けてARPテーブルに登録させる登録手段と、
前記ARPテーブルに基づいて前記代理MACアドレス宛てに前記ホームネットワーク内転送された前記到着IPパケットを、前記代理MACアドレスにより取得し、前記代理MACアドレスに含まれているインデックスから前記位置管理テーブルの該当する項目の外部IPアドレスを取得し、この取得した外部IPアドレス宛てに前記到着IPパケットを転送する転送手段と、
を備えたことを特徴とするパケット転送システム。
In a mobile IP network composed of a home network and an external network, a mobile terminal originally belonging to the home network exists in the external network, and an IP packet destined for a home IP address assigned to the mobile terminal A packet forwarding system for forwarding the incoming IP packet from the home network to the external network when arriving at the network;
A location management table for storing the external IP address of the external network assigned to the mobile terminal and the home IP address in association with each other;
As a MAC address used for IP packet transfer in the home network, a proxy MAC address including an index of the location management table item and unique in the home network is generated, and the proxy MAC address is generated as the home IP address. Registration means for registering in the ARP table in association with
The arrival IP packet forwarded in the home network to the proxy MAC address based on the ARP table is acquired by the proxy MAC address, and the corresponding position management table is obtained from an index included in the proxy MAC address. Transfer means for acquiring an external IP address of an item to be transmitted and transferring the arrival IP packet to the acquired external IP address;
A packet transfer system comprising:
ホームネットワークと外部ネットワークから構成されるモバイルIPネットワークにおいて、前記ホームネットワークに本来所属の移動端末が前記外部ネットワークに在り、前記移動端末に割り当てられているホームIPアドレスを宛先としたIPパケットが前記ホームネットワークへ到着した際に、前記ホームネットワークから前記外部ネットワークへ該到着IPパケットを転送するパケット転送処理を行うためのコンピュータプログラムであって、
前記移動端末に割り当てられている前記外部ネットワークの外部IPアドレスと前記ホームIPアドレスを対応付けて位置管理テーブルに登録する処理と、
前記ホームネットワーク内のIPパケット転送に使用されるMACアドレスとして、前記位置管理テーブルの項目のインデックスを含み且つ前記ホームネットワーク内で固有の代理MACアドレスを生成する処理と、
前記代理MACアドレスと前記ホームIPアドレスを対応付けてARPテーブルに登録させる処理と、
前記ARPテーブルに基づいて前記代理MACアドレス宛てに前記ホームネットワーク内転送された前記到着IPパケットを、前記代理MACアドレスにより取得する処理と、
前記代理MACアドレスに含まれているインデックスから前記位置管理テーブルの該当する項目の外部IPアドレスを取得する処理と、
該取得した外部IPアドレス宛てに前記到着IPパケットを転送する処理と、
をコンピュータに実行させることを特徴とするコンピュータプログラム。
In a mobile IP network composed of a home network and an external network, a mobile terminal originally belonging to the home network exists in the external network, and an IP packet destined for a home IP address assigned to the mobile terminal A computer program for performing packet transfer processing for transferring the arrival IP packet from the home network to the external network when arriving at the network,
A process of registering the external IP address of the external network assigned to the mobile terminal and the home IP address in association with each other in the location management table;
A process for generating a proxy MAC address unique to the home network including an index of the location management table item as a MAC address used for IP packet transfer in the home network;
A process of associating the proxy MAC address with the home IP address and registering them in the ARP table;
A process of acquiring the arrival IP packet transferred in the home network to the proxy MAC address based on the ARP table by the proxy MAC address;
A process of acquiring an external IP address of a corresponding item in the location management table from an index included in the proxy MAC address;
A process of forwarding the arrival IP packet to the acquired external IP address;
A computer program for causing a computer to execute.
JP2002201328A 2002-07-10 2002-07-10 Packet transfer method, packet transfer system, and computer program Expired - Fee Related JP3810711B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002201328A JP3810711B2 (en) 2002-07-10 2002-07-10 Packet transfer method, packet transfer system, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002201328A JP3810711B2 (en) 2002-07-10 2002-07-10 Packet transfer method, packet transfer system, and computer program

Publications (2)

Publication Number Publication Date
JP2004048260A JP2004048260A (en) 2004-02-12
JP3810711B2 true JP3810711B2 (en) 2006-08-16

Family

ID=31707897

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002201328A Expired - Fee Related JP3810711B2 (en) 2002-07-10 2002-07-10 Packet transfer method, packet transfer system, and computer program

Country Status (1)

Country Link
JP (1) JP3810711B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1732265B1 (en) * 2004-03-03 2010-10-06 National Institute of Information and Communications Technology, Incorporated Administrative Agency Layer 2 switch network system
EP1753180B1 (en) 2004-05-20 2018-12-26 Freebit Co., Ltd. Server for routing a connection to a client device
CN103686731B (en) 2007-08-13 2017-05-17 苹果公司 New DIAMETER signaling for mobile IPV4
JP2010193146A (en) 2009-02-18 2010-09-02 Funai Electric Co Ltd Communication apparatus, and communication system

Also Published As

Publication number Publication date
JP2004048260A (en) 2004-02-12

Similar Documents

Publication Publication Date Title
JP4075318B2 (en) Protocol conversion method and address conversion server
US7342916B2 (en) Method, apparatus and system for optimizing routing of mobile IP packets
US9154993B1 (en) Mobile-IPv6 encapsulation for wireless networks
JP3633430B2 (en) COMMUNICATION METHOD, COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND RECORDING MEDIUM
JP3668047B2 (en) Mobile communication method, mobile computer device and encrypted communication device
US7545785B2 (en) Mobile communication system, access router, management device and mobile communication method
US7602786B2 (en) Methods and apparatus for optimizing mobile VPN communications
JPH1188431A (en) Packet relay device, moving computer device, moving computer management device, packet relay method, packet transmission method and moving computer position registration method
US6895007B1 (en) Data transmission method
JP2008510440A (en) Method for performing communication between a mobile IPv6 node and an IPv4 communication partner
CN1739308B (en) Method and device for supporting mobile host, method and device for converting related address of mobile host
US20040141513A1 (en) Address translation device
KR100522600B1 (en) Router for providing linkage with mobile node, and the method thereof
JP3810711B2 (en) Packet transfer method, packet transfer system, and computer program
KR100886985B1 (en) Method, apparatus and system for ensuring reliable access to a roaming mobile node
JP3621917B2 (en) Data relay method and data relay device used in the method
US8139538B1 (en) Methods and apparatus for achieving route optimization between mobile networks and a correspondent node using a mobile router as a proxy node
JP3798769B2 (en) Data communication apparatus and data communication system
JP2006203560A (en) Ha address acquisition method and inter-heterogeneous-network interconnection system
JP2007515823A (en) Terminal mobility for global IPv4 / global IPv6 transition
JP7318737B2 (en) COMMUNICATION DEVICE, MOBILE COMMUNICATION TERMINAL, COMMUNICATION METHOD, AND PROGRAM
JP3633503B2 (en) Hierarchical mobile network location management system and method
KR100798148B1 (en) Tunneling device for sending packet to mobile node through mobile router, method of location registration and tunneling thereof
JP2003244746A (en) Gateway, position registration method thereof, authentication method, position management method, program, and recording medium
JP3945685B2 (en) Mobile IP data transfer method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040916

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20040921

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060511

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060516

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060524

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120602

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120602

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150602

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees