JP3791496B2 - Packet transmission / reception node and packet transmission / reception method - Google Patents

Packet transmission / reception node and packet transmission / reception method Download PDF

Info

Publication number
JP3791496B2
JP3791496B2 JP2003005232A JP2003005232A JP3791496B2 JP 3791496 B2 JP3791496 B2 JP 3791496B2 JP 2003005232 A JP2003005232 A JP 2003005232A JP 2003005232 A JP2003005232 A JP 2003005232A JP 3791496 B2 JP3791496 B2 JP 3791496B2
Authority
JP
Japan
Prior art keywords
ipv4
address
ipv6
header
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 - Lifetime
Application number
JP2003005232A
Other languages
Japanese (ja)
Other versions
JP2003188925A (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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2003005232A priority Critical patent/JP3791496B2/en
Publication of JP2003188925A publication Critical patent/JP2003188925A/en
Application granted granted Critical
Publication of JP3791496B2 publication Critical patent/JP3791496B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
複数の対象機器のそれぞれに対して、互いに重複することのないように第1種のIPアドレスが付与される第1種のIPネットワークと、複数の対象機器のそれぞれに対して、互いに重複することのないように第2種のIPアドレスが付与される第2種のIPネットワークを対象とするIPネットワークの結合方法、IPネットワーク用トランスレータ、および、トランスレータを用いたネットワークシステムに関する。
【0002】
【従来の技術】
TCP/IP通信で使用するネットワーク層のプロトコルとして現在最もよく知られているのは、IP(Internet Protocol)である。IPの役割は、ネットワークに接続しているノードの中から、通信を行う宛先を指定するアドレッシングサービス等、OSI(Open Systems Interconnection)参照モデルの第3層が提供している役割と一致する。現時点では、バージョン4のIP(以下、IPv4と呼ぶ)が普及している。IPv4で使用するヘッダ(以下、IPv4ヘッダと呼ぶ)のフォーマットは、図11(b)に示す通りである。
【0003】
IPv4ヘッダ内において、「バージョン」フィールドには、バージョン番号である“4”が格納される。「ヘッダ長」フィールドには、IPv4ヘッダ自体の長さが格納される。「サービスタイプ」フィールドには、通信処理のサービス品質を示す情報が格納される。「パケット長」フィールドには、IPで取り扱われるデータブロックに該IPv4ヘッダを加えたパケット全体の大きさが格納される。上位層から降りてきた情報は、IPにて一つのデータブロックとして扱われ、このデータブロックは、IPにてIPv4ヘッダが付加されて、下位層に送られる。逆に、下位層から送られたパケットに含まれるIPv4ヘッダは、IPにて解析され、その解析結果に応じて、そのパケットのデータ部分が上位層に上げられる。「識別子」フィールドには、上位層へデータを渡す際の参考情報として用いられる識別子が格納される。「フラグ」フィールドには、パケットの分割に関する制御情報が格納される。「フラグメントオフセット」フィールドには、分割されたデータ(フラグメント)が、オリジナルデータのどこに位置していたのかを示す情報が格納される。「生存時間」フィールドには、そのパケットがネットワークに存在してよい時間が格納される。「プロトコル」フィールドには、上位層のプロトコルが何であるかを示す情報が格納される。「ヘッダチェックサム」フィールドには、該IPヘッダのチェックサムが格納される。「送信元IPアドレス」フィールドには、送信元のIPアドレスが格納される。「宛先IPアドレス」フィールドには、宛先のIPアドレスが格納される。IPアドレスは、ネットワークに接続される各ノードに割り当てられるもので、そのネットワーク内において、それぞれ異なる値に設定される。
【0004】
このような仕様を持つIPは、現在、インターネットの普及などと歩調を合わせて、様々な通信サービスに急速に広がりつつあるが、その一方で、IPアドレスの枯渇という深刻な問題に直面している。
【0005】
これを解決するための手段として、現在、バージョン6のIP(以下、IPv6と呼ぶ)が提案されている。
【0006】
IPv6で使用するヘッダ(以下、IPv6ヘッダと呼ぶ)のフォーマットは、図11(a)に示す通りである。IPv6ヘッダ内において、「バージョン」フィールドには、バージョン番号である“6”が格納される。「優先度」フィールドには、ネットワークでルータがパケットを中継する際の処理の優先度が格納される。「フローラベル」フィールドは、優先制御等をする際の識別子の格納に用いられる。「ペイロード長」フィールドには、パケットからIPv6ヘッダ部を除いたデータ部分の長さが格納される。「次ヘッダ識別子」フィールドには、IPv6ヘッダの次に、どの上位層プロトコルのヘッダが続くのか、あるいは、どのIPv6拡張ヘッダが続くのか等を識別するための識別子が格納される。「ホップリミット」フィールドには、そのパケットの最大転送回数が格納される。「送信元IPアドレス」フィールドには、送信元のIPアドレスが格納され、「宛先IPアドレス」フィールドには、宛先のIPアドレスが格納される。そして、IPv6ヘッダでは、「送信元IPアドレス」フィールド、「宛先IPアドレス」フィールドのそれぞれが、32ビットから128ビットに拡張されている。これにより接続可能なノードの数が増加する。
【0007】
【発明が解決しようとする課題】
しかしながら、IPv6は、IPアドレスの格納領域の拡張は行われているものの、ヘッダや処理の一部に変更が加わったために、既存のIPv4との互換性はない。
【0008】
これからネットワークに新規に接続されるノードでは、ネットワークプロトコルとしてIPv6が実装され、ネットワークアドレスとしてIPv6アドレスが割り当てられるが、既存のノードのネットワークプロトコルを一斉にIPv6に変更することは事実上不可能であるため、IPv4ノードとIPv6ノードが共存する期間が長期に渡って続くものと考えられる。また、既存のノードの一部(特に周辺機器)については、プロトコルの変更が困難なものもあり、この場合、そのまま続けてIPv4が使われる。
【0009】
すなわち、今後は、IPv6が実装されたノード(IPv6ノード)と、IPv4が実装されたノード(IPv4ノード)とが混在するネットワークが出現するものと思われる。
【0010】
しかしながら、IPv6とIPv4は、前述したように互いにヘッダフォーマット等が異なるため、IPv6ノードとIPv4ノードを単純に結合するわけにはいかない。
【0011】
この解決策の一つとして、例えば、図13に示すようなトランスレータを用いた接続方法がある。
【0012】
同図において、IPv6ノード(IPv6端末)10が接続されたIPv6ネットワーク52と、IPv4ノード(IPv4端末)20が接続されたIPv4ネットワーク54は、トランスレータ30を介して相互に接続している。IPv4端末20には、IPv4ネットワーク54内でユニークに割り当てられたアドレス(以下、IPv4アドレスと呼ぶ)が付されており、IPv6端末10には、IPv6ネットワーク52内でユニークに割り当てられたアドレス(以下、IPv6アドレスと呼ぶ)と、IPv4アドレスの両方が付されている。IPv6端末10は、IPv6ネットワーク52内で他のIPv6端末(図示省略)と通信を行う場合には、自己をIPv6アドレスで表し、また、IPv4ネットワーク54内のIPv4端末20と通信を行う場合には、自己をIPv4アドレスで表す。例えば、IPv6端末10からIPv4端末20にパケットを送る場合、IPv6端末10は、送るべきパケットのヘッダ生成時において、「送信元IPアドレス」フィールド(図11(a)参照)に自己(IPv6端末10)のIPv4アドレスを図12(a)に示すような形で格納すると共に、「宛先IPアドレス」フィールド(図11(a)参照)に相手(IPv4端末20)のIPv4アドレスを図12(b)に示すような形で格納する。図12(a)では、用意された128ビットのうちの下位32ビットをアドレス情報の格納に使用し、その他のビットを、‘0’にセットしている。このようなフォーマットで表されるアドレスは、一般に、IPv4−compatible−IPv6アドレスと呼ばれている。また、図12(b)では、用意された128ビットのうちの下位32ビットをアドレス情報の格納に使用し、47ビット目から32ビット目までを‘1’、その他のビットを‘0’にセットしている。このようなフォーマットで表されるアドレスは、一般に、IPv4−mapped−IPv6アドレスと呼ばれている。そして、所定の情報を格納されたヘッダと、送るべきデータは、一つのパケットとして、トランスレータ30に送られる。
【0013】
トランスレータ30は、送られてきたパケットをIPv4ネットワーク54用のパケットに変換する。具体的には、送られてきたパケットのヘッダに含まれている先程のIPv4−compatible−IPv6アドレスから、下位32ビット、すなわち、IPv6端末10のIPv4アドレスを切りだし、これを、図11(b)に示したIPv4ヘッダの「送信元IPアドレス」フィールドに格納する。また、これと同時に、送られてきたパケットのヘッダに含まれている先程のIPv4−mapped−IPv6アドレスから、下位32ビット、すなわち、送り先であるIPv4端末20のIPv4アドレスを切りだし、これを、図11(b)に示したIPv4ヘッダの「宛先IPアドレス」フィールドに格納する。その後、このヘッダは、その他の必要事項が設定され、送信データとともに一つのパケットとなってIPv4端末20に送られる。
【0014】
以上の方法を用いれば、確かに、IPv6ノードとIPv4ノードの相互接続が可能となる。
【0015】
しかしながら、この方法では、IPv6ノードにもIPv4アドレスを割り当てる必要がある。
【0016】
IPv4アドレスは、前述したようにその数が不足しており、この解消のために為されたIPv6が、IPv4アドレスの枯渇を促進してしまったのでは意味がない。
【0017】
このような問題点に鑑み、本発明は、バージョンの違い等によりIPアドレスの付与体系が異なっている2つのネットワークを、一方のネットワークのIPアドレスを枯渇させることなく結合することができる、IPネットワークの結合方法、IPネットワーク用トランスレータ、および、トランスレータを用いたネットワークシステムを提供する。
【0018】
【課題を解決するための手段】
上記目的を達成するための本発明のIPネットワークの結合方法の一態様によれば、
複数の対象機器のそれぞれに対して、互いに重複することのないように第1種のIPアドレスが付与される第1種のIPネットワークと、複数の対象機器のそれぞれに対して、互いに重複することのないように第2種のIPアドレスが付与される第2種のIPネットワークをトランスレータで結合するためのIPネットワークの結合方法において、
前記第1種のIPネットワークに存在する複数の対象機器のうちの一つである対象機器Aと、前記第2種のIPネットワークに存在する複数の対象機器のうちの一つである対象機器Bとの間で通信を開始する際に、前記対象機器Bに付与されている第2種のIPアドレスに対して、予め用意されている複数の第1種のIPアドレスの何れかを割当て、
前記対象機器Bと前記トランスレータとの間では、前記対象機器Bに付与されている前記第2種のIPアドレスを用いて通信を行い、前記トランスレータと前記対象機器Aとの間では、割当てた前記第1種のIPアドレスを用いて通信を行い、
通信終了後、割り当てた前記第1種のIPアドレスを解放することを特徴とするIPネットワークの結合方法が提供される。
【0019】
上記目的を達成するための本発明のIPネットワーク用トランスレータの一態様によれば、
複数の対象機器のそれぞれに対して、互いに重複することのないように第1種のIPアドレスが付与される第1種のIPネットワークと、複数の対象機器のそれぞれに対して、互いに重複することのないように第2種のIPアドレスが付与される第2種のIPネットワークを結合するトランスレータにおいて、
前記第1種のIPネットワークと前記第2種のIPネットワークとの間で情報交換を行うために、前記第1種のIPネットワークで使用される第1種のIPパケットと前記第2種のIPネットワークで使用される第2種のIPパケットとの間でヘッダ変換を行うヘッダ変換手段と、
互いに重複しない複数の第1種のIPアドレスを格納した記憶手段と、
前記第2種のIPネットワークから前記第1種のIPネットワークに情報を送るために実施されるヘッダ変換の際に、前記第2種のIPパケットのIPヘッダに含まれている送信元格納領域に格納されている第2種のIPアドレスに対して、前記記憶手段に格納されている複数の第1種のIPアドレスのうちの何れかを割当て、割当てた第1種のIPアドレスを、前記第1種のIPパケットのIPヘッダに含まれている送信元格納領域に格納し、かつ、
前記第1種のIPネットワークから前記第2種のIPネットワークに情報を送るために実施されるヘッダ変換の際に、前記第1種のIPパケットのIPヘッダに含まれている宛先格納領域に格納されている第1種のIPアドレスに対して、前記第2種のIPパケットのIPヘッダに含まれている送信元格納領域に格納されていた前記第2種のIPアドレスを割当て、割当てた第2種のIPアドレスを前記第2種のIPパケットのIPヘッダに含まれている宛先格納領域に格納することを特徴とするトランスレータが提供される。
【0020】
上記目的を達成するための本発明のIPネットワーク用トランスレータの一態様によれば、複数の対象機器のそれぞれに対して、互いに重複することのないように第1種のIPアドレスが付与される第1種のIPネットワークと、複数の対象機器のそれぞれに対して、互いに重複することのないように第2種のIPアドレスが付与される第2種のIPネットワークとを相互に結合するトランスレータと、
前記第1種のIPネットワークに存在する複数の対象機器のうちの一つである対象機器Aと備え、
前記対象機器Aは、
互いに重複しない複数の第1種のIPアドレスを格納した記憶手段と、
前記第2種のIPネットワークに存在する複数の対象機器のうちの一つである対象機器Bに送信すべきデータを含んだ第1種のIPパケットを前記第1種のネットワークに送出する際に、該対象機器Bに付与されている第2種のIPアドレスに対して、前記記憶手段に格納されている複数の第1種のIPアドレスのうちの何れかを割当て、割当てた第1種のIPアドレスを、前記第1種のIPパケットのIPヘッダに含まれている宛先格納領域に格納するアドレス変換手段と、
前記対象機器Bに付与されている前記第2種のIPアドレスと、該第2種のIPアドレスに割り当てた前記第1種のIPアドレスとを少なくとも含んだアドレス変換情報を前記トランスレータに送出する手段とを備え、
前記トランスレータは、
前記対象機器Aから送られたアドレス変換情報を記憶する記憶手段と、
該アドレス変換情報を用いて、前記第1種のIPネットワークと前記第2種のIPネットワークとの間でパケット変換を行うパケット変換手段とを備えたことを特徴とするネットワークシステムが提供される。
【0021】
【発明の実施の形態】
以下、本発明の一実施形態について、図面を参照しながら説明する。
【0022】
図1に示すように、本実施形態では、複数のIPv6端末51が接続されたIPv6ネットワーク52と、複数のIPv4端末53が接続されたIPv4ネットワーク54が存在し、これらのネットワークは、IPv6/v4トランスレータ55(以下、トランスレータ55と呼ぶ)を介して相互に接続されている。IPv6ネットワーク52では、図11(a)に示したIPv6ヘッダを有するパケット(以下、IPv6パケットと呼ぶ)によるデータ転送が行われる。IPv6パケットのヘッダでは、IPv6端末51は、通常のIPv6アドレスで表され、IPv4端末53は、IPv4−mapped−IPv6アドレス(図12(b))で表される。また、IPv4ネットワーク54では、図11(b)に示したIPv4ヘッダを有するパケット(以下、IPv4パケットと呼ぶ)によるデータ転送が行われる。IPv4パケットのヘッダにおいて、トランスレータ55は、該トランスレータ55、若しくは、特定のIPv4端末53で割り当てられたIPv4アドレスで表され、IPv4端末53は、通常のIPv4アドレスで表される。
【0023】
トランスレータ55は、図2に示すように、IPv6ネットワーク52に流れるIPv6パケットと、IPv4ネットワーク54に流れるIPv4パケットを順次取り込むIPv4/v6受信処理部31と、IPv4/v6受信処理部31で取り込んだパケットのヘッダを、アドレス変換情報テーブル35に格納されているアドレス変換情報に基づいて変換すると共に、必要に応じて、アドレス変換情報テーブル35の内容の更新を行うヘッダ変換部33と、ヘッダの変換処理を受けたパケットを、送り先となるネットワークに送出するIPv4/v6送信処理部32と、アドレス変換情報テーブル35に格納されているアドレス変換情報を、IPv4ネットワーク54に接続されている特定のノードと交換するアドレス変換情報交換部34とを備える。
【0024】
本実施形態では、IPv4ネットワーク54に接続されるIPv4端末53に3つタイプ(以下、タイプA、B、Cとする)が存在する。タイプAのIPv4端末53は、IPv6端末51で使用されるアプリケーションプログラム(以下、IPv6アプリケーションとする)の搭載が可能で端末であり、さらに、前述したアドレス変換情報を所有する。タイプAのIPv4端末53で行われる処理の概要は、図3(a)に示されている。タイプCのIPv4端末53は、IPv4端末53で使用されるアプリケーションプログラム(以下、IPv4アプリケーションとする)をそのまま搭載した従来の端末であり、例えば、プリンタ等の周辺機器が、これに該当する。タイプCのIPv4端末53で実行される処理の概要は、図3(c)に示す通りである。タイプBのIPv4端末53は、IPv4アプリケーションを搭載し、かつ、前述したアドレス変換情報を所有する端末で、その処理概要は、図3(b)に示す通りである。なお、トランスレータ55がアドレス変換情報の交換を行う特定のノードは、このうちタイプA、BのIPv4端末53である。
【0025】
図3(a)に示したTCP/IPv4処理81は、一般的なTCP/IP通信処理に相当するもので、ここでは、IPv4に従ったサービスが行われる。TCP/IPv4処理81では、この上位で行われる処理とのインターフェースとしてソケットインターフェース(IPv4ソケットIF)が用いられる。IPv6アプリケーション処理84は、IPv6アプリケーションが行う処理であり、この下位で行われる処理とのインターフェースとして、先程と同様、ソケットインターフェース(IPv6ソケットIF)を使用する。アドレス変換処理82及びアドレス変換情報交換処理83のそれぞれは、IPv4ソケットIFとIPv6ソケットIFとの間に介在する。アドレス変換処理82では、IPアドレスの変換処理等を含んだデータ転送が行われ、アドレス変換情報交換処理83では、その他のノード(例えば、トランスレータ55)と該IPv4端末53との間でアドレス変換情報の交換が行われる。
【0026】
図4には、タイプAのIPv4端末53の内部構成が示されている。
【0027】
TCP/IPv4処理81は、TCP/IPv4受信処理部41及びTCP/IPv4送信処理部42が担当する。アドレス変換処理82は、アドレス変換処理部43が担当する。アドレス変換情報交換処理83は、アドレス変換情報交換処理部44が担当する。このほか、タイプAのIPv4端末53には、アドレス変換情報テーブル45が設けられている。
【0028】
つぎに、IPv6端末51とタイプAのIPv4端末53との間で行われるパケット交換について説明する。
【0029】
先ず、IPv6端末51側から通信を開始する場合のパケット交換について、図5のフローチャートに従って説明する。
【0030】
ここでは、前もって、送信元のIPv6端末51に、IPv6アドレス“::1234:5678:9abc”が割り当てられており、宛先のIPv4端末53に、IPv4アドレス“133.144.95.22”が割り当てられていることとする。
【0031】
IPv4アドレスの表記方法は、以下の通りである。
【0032】
1.8ビット毎に“.”で区切って10進数で表す。
【0033】
例.123.3.2.1
IPv6アドレスの表記方法は、以下の通りである。
【0034】
1.16ビット毎に“:”で区切って16進数で表す。
【0035】
例.1234:5678:9abc:def0:0fed:cba9:8765:4321
2.区切られた16ビット全てが0の場合、“::”で表してもよい。
【0036】
例.1234::9abc:def0:0fed:cba9:8765:4321
3.区切られた16ビット全てが0で、これが連続する場合、1個の“::”で表してもよい。
【0037】
例.1234::4321
4.下位32ビットにIPv4アドレスを含む場合、この下位32ビットについては、IPv4アドレスの表記方法を用いることができる。
【0038】
例.::ffff:133.144.95.22
そして、IPv6端末51は、IPv6パケット56をIPv6ネットワーク52に送出する際(a1)、そのヘッダ内に、送信元IPアドレスとして自己のIPv6アドレス“::1234:5678:9abc”をセットすると共に、宛先IPアドレスとしてIPv4端末53のIPv4−mapped−IPv6アドレス“::ffff:133.144.95.22”をセットする。
【0039】
トランスレータ55のIPv4/v6受信処理部31は、IPv6ネットワーク52を流れるIPv6パケットを順次取り込み、その都度、取り込んだIPv6パケットが、「宛先IPアドレス」フィールドにIPv4−mapped−IPv6アドレスが格納されているパケット(具体的には、「宛先IPアドレス」フィールドの47ビット目から32ビット目までが‘1’にセットされ、それより上位の全てのビットが‘0’にセットされているパケット)であるか否かを判断する。該当するパケットを発見した場合、これをヘッダ変換部33に送る(b1)。ヘッダ変換部33は、パケットを受け取ると、該パケットに含まれている、送信元IPアドレスであるIPv6アドレスを抜き出し、抜き出したIPv6アドレスに予め対応付けられているIPv4アドレスを、アドレス変換情報テーブル35の中から探し出す(b2)。目的のIPv4アドレスがアドレス変換情報テーブル35の中に存在しなかった場合、ヘッダ変換部33は、前述のIPv6アドレスに対して、あるIPv4アドレスを割り当てる。ここでは、IPv6アドレス“::1234:5678:9abc”に対して、IPv4アドレス“192.168.10.3”を割り当てることとする(b3)。アドレス変換情報交換部34は、これらの対応関係をアドレス変換情報として、IPv4端末53に送信する(b4)。アドレス変換情報を交換するためのパケットのフォーマットは、図8に示す通りである。本例の場合、「IPv6アドレス」フィールド101に“::1234:5678:9abc”が格納され、「割当てIPv4アドレス」フィールド102に、“192.168.10.3”が格納される。「オプション」フィールド103は、本実施形態では特に使用しないが、通信に必要な各種制御情報を格納をすることができる。なお、(b4)のアドレス変換情報の送信は、通信相手となるIPv4端末53だけでなく、アドレス変換情報テーブル45を所有する全てのIPv4端末53に対して行う。また、ヘッダ変換部33は、アドレス変換情報をアドレス変換情報テーブル35に格納する(b5)。
【0040】
アドレス変換情報テーブル35の構成例は、図7に示されている。91は、IPv6アドレスの格納領域、92は、割当てられたIPv4アドレスの格納領域、93は、オプションデータの格納領域であり、例えば、上から順に、一行ずつ埋められていく。割り当てるIPv4アドレスは、予め複数用意されており、これらは、図示省略したトランスレータ55内のメモリに格納されている。アドレス変換情報テーブル35自体も、このメモリに格納されている。
【0041】
なお、割り当てられたIPv4アドレスが使用される領域は、そのIPv4ネットワーク内で閉じているため、例えば、IPv6ネットワーク52に複数のIPv4ネットワークが接続していて、各IPv4ネットワークでIPv4アドレスが重なっていたとしても何の問題も生じない。すなわち、IPv4ネットワーク54が企業内通信網で、IPv6ネットワークが公衆回線を利用した外部の通信網である場合、その企業では、他の企業のIPv4ネットワークで使用されるIPv4アドレスを割当ててもよい。
【0042】
続いて、ヘッダ変換部33は、パケット内の送信元IPアドレスを、IPv6アドレス“::1234:5678:9abc”からIPv4アドレス“192.168.10.3”に置き換える。宛先IPアドレスについては、IPv6アドレスの下位32ビットから抽出したIPv4アドレスを使う。また、ヘッダ変換部33は、このようなアドレス変換のほか、IPv6ヘッダをIPv4ヘッダに変換するための各種処理も同時に実行する(b6)。続いて、IPv4/v6送信処理部32は、(b6)の変換処理を受けたパケットをIPv4端末53に向けて送出する。なお、(b2)の検索処理において、該当するIPv4アドレスが見つかった場合は、送信元IPアドレスとして、このIPv4アドレスが採用され、(b3)、(b4)、(b5)の各処理は、スキップされる。
【0043】
一方、IPv4端末53は、トランスレータ55から送出されたアドレス変換情報を受信すると(c1)、このアドレス変換情報を用いてアドレス変換情報テーブル45の内容を更新する(c2)。これにより、トランスレータ55のアドレス変換情報テーブル35の内容と、IPv4端末53のアドレス変換情報テーブル45の内容が一致する。アドレス変換情報テーブル45の内容の更新は、具体的には、アドレス変換情報交換処理部44が実施する。(c1)、(c2)の処理については、通信相手となるIPv4端末をはじめ、全てのIPv4端末にて実施される。
【0044】
また、IPv4端末53は、トランスレータ55から送出されたIPv4パケットを受信すると(c3)、更新されたアドレス変換情報テーブル45に基づいて、このIPv4パケットのアドレス変換を実施する。
【0045】
具体的には、IPv4端末53のTCP/IPv4受信処理部41は、IPv4ネットワーク54を流れる先程のIPv4パケットをTCP/IP受信し、これをアドレス変換処理部43に渡す。アドレス変換処理部43は、パケットを受け取ると、該パケットの送信元IPアドレスである、IPv4アドレス“192.168.10.3”を抜き出し、抜き出したIPv4アドレスに対応付けられているIPv6アドレスをアドレス変換情報テーブル45の中から探し出す。アドレス変換情報テーブル45の内容は、(c2)にて更新されているため、ここでは、IPv6アドレス“::1234:5678:9abc”が抽出されることになる。アドレス変換処理部43は、IPv6アドレス“::1234:5678:9abc”を送信元IPアドレスとしてパケット内にセットし、このパケットをIPv6アプリケーションに送る。宛先IPアドレスは、IPv4アドレスを図12(b)に示したIPv4−mapped−IPv6アドレスに拡張したIPv6アドレスが使われる。このようなアドレス変換を行えば、IPv6アプリケーションは、送信元IPアドレス及び宛先IPアドレスのそれぞれをIPv6アドレスで受け取ることができる。IPv6アプリケーションは、前述したようにIPv6用に開発されたアプリケーションプログラムであるため、受け取るIPアドレスは、IPv6アドレスで表現されている方が都合がよい。
【0046】
また、IPv6アプリケーションは、応答処理として、IPv6端末51にパケットを送ることもある。この場合、IPv6アプリケーションは、送るべきパケットに、送信元IPアドレスとして自己のIPv4アドレス“133.144.95.22”を図12(b)に示したIPv4−mapped−IPv6アドレスに拡張したIPv6アドレス“::ffff:133.144.95.22”セットし、宛先IPアドレスとしてIPv6端末51のIPv6アドレス“::1234:5678:9abc”をセットする。このパケットは、アドレス変換処理部43に渡され、先程とは逆のアドレス変換が施される。すなわち、アドレス変換処理部43は、宛先IPアドレスとしてセットされている先程のIPv6アドレス“::1234:5678:9abc”をIPv4アドレス“192.168.10.3”に置き換える。送信元IPアドレスについては、IPv6アドレスの下位32ビットから抽出したIPv4アドレスを使う。その後、TCP/IPv4送信処理部42は、アドレス変換処理部43にて変換処理を受けたパケット(IPv4パケット57:図1)をトランスレータ55に向けて送出する(c4)。
【0047】
トランスレータ55のIPv4/v6受信処理部31は、IPv4ネットワーク54を流れるIPv4パケット57を取り込み(b8)、これをヘッダ変換部33に送る。ヘッダ変換部33は、パケットを受け取ると、該パケットの宛先IPアドレスである、IPv4アドレス“192.168.10.3”を抜き出し、抜き出したIPv4アドレスに対応付けられているIPv6アドレスをアドレス変換情報テーブル35の中から探し出す。ここでは、IPv6アドレス“::1234:5678:9abc”が抽出されることになる(b9)。ヘッダ変換部33は、その後、該パケットに、送信元IPアドレスとして、IPv4端末53のIPv4−mapped−IPv6アドレス“::ffff:133.144.95.22”をセットすると共に、宛先IPアドレスとして、先程抽出したIPv6アドレス“::1234:5678:9abc”をセットする。また、ヘッダ変換部33は、このようなアドレス変換のほか、IPv4ヘッダをIPv6ヘッダに変換するための各種処理も同時に実行する(b10)。IPv4/IPv6送信処理部32は、(b10)の変換処理を受けたパケットをIPv6端末51に向けて送出する(b11)。その後、IPv6端末51は、このパケットを受信する(a2)。
【0048】
なお、IPv6アドレスに対応付けた前述のIPv4アドレスについては、IPv6端末51とIPv4端末53との間の一連の通信が終了した時点で、解放するようにすればよい。また、ネットワークのシステム管理の際に発せられるコマンド等に応じて、アドレス変換情報テーブルのエントリを削除するようにしてもよい。また、アドレス変換情報テーブルのオプションフィールドに、通信が行われなくなってからの時間を格納し、タイムアウトが発生した割り当てIPv4アドレスについては、その時点で強制的に解放するようにしてもよい。
【0049】
つぎに、IPv4端末53側から通信を開始する場合のパケット交換について、図6のフローチャートに従って説明する。
【0050】
ここでも、先程と同様、IPv6端末51に、IPv6アドレス“::1234:5678:9abc”が割り当てられており、IPv4端末53に、IPv4アドレス“133.144.95.22”が割り当てられていることとする。
【0051】
そして、IPv4端末53のIPv6アプリケーションは、送るべきパケットに、送信元IPアドレスとして自己のIPv4アドレス“133.144.95.22”をセットし、宛先IPアドレスとしてIPv6端末51のIPv6アドレス“::1234:5678:9abc”をセットする。このパケットは、アドレス変換処理部43に渡される。アドレス変換処理部43は、パケットを受け取ると、該パケットに含まれている、宛先IPアドレスであるIPv6アドレスを抜き出し、抜き出したIPv6アドレスに予め対応付けられているIPv4アドレスを、アドレス変換情報テーブル45の中から探し出す(c1)。目的のIPv4アドレスがアドレス変換情報テーブル45の中に存在しなかった場合、アドレス変換処理部43は、前述のIPv6アドレスに対して、あるIPv4アドレスを割り当てる。ここでは、IPv6アドレス“::1234:5678:9abc”に対して、IPv4アドレス“192.168.10.3”を割り当てることとする(c2)。アドレス変換処理部43は、これらの対応関係をアドレス変換情報として、トランスレータ55に送信する(c3)。アドレス変換情報を交換するためのパケットのフォーマットは、図8に示す通りである。また、アドレス変換処理部43は、このアドレス変換情報をアドレス変換情報テーブル45に格納する(c4)。アドレス変換情報テーブル45の構成例は、図7に示されている。なお、割り当てるIPv4アドレスは、予め複数用意されており、これらは、図示省略したIPv4端末53の内のメモリに格納されている。アドレス変換情報テーブル45自体も、このメモリに格納されている。その後、アドレス変換処理部43は、パケット内のIPv6アドレス“::1234:5678:9abc”をIPv4アドレス“192.168.10.3”に置き換える。送信元IPアドレスについては、そのままにしておく。また、アドレス変換処理部43は、このようなアドレス変換のほか、IPv6ヘッダをIPv4ヘッダに変換するための各種処理も同時に実行する(c5)。その後、TCP/IPv4送信処理部42は、アドレス変換処理部43にて変換処理を受けたパケット(IPv4パケット57:図1)をトランスレータ55に向けて送出する(c6)。なお、(c1)の検索処理において、該当するIPv4アドレスが見つかった場合は、送信元IPアドレスとして、このIPv4アドレスが採用され、(c2)、(c3)、(c4)の各処理は、スキップされる。
【0052】
一方、トランスレータ55は、IPv4端末53から送出されたアドレス変換情報を受信すると(b1)、このアドレス変換情報を用いてアドレス変換情報テーブル35の内容を更新する(b2)。これにより、IPv4端末53のアドレス変換情報テーブル45の内容とトランスレータ55のアドレス変換情報テーブル35の内容が一致する。アドレス変換情報テーブル35の内容の更新は、具体的には、アドレス変換情報交換部34が実施する。なお、(c3)のアドレス変換情報の送信は、トランスレータ55だけでなく、アドレス変換情報テーブル45を所有する全てのIPv4端末53に対して行われ、それぞれのアドレス変換情報テーブル45の内容が更新される。このようにすれば、割り当てるIPv4アドレスが各IPv4端末53とトランスレータとの間で重複しない。
【0053】
そして、トランスレータ55のIPv4/v6受信処理部31は、IPv4ネットワーク54を流れるIPv4パケット57を取り込み(b3)、これをヘッダ変換部33に送る。ヘッダ変換部33は、パケットを受け取ると、該パケットの宛先IPアドレスである、IPv4アドレス“192.168.10.3”を抜き出し、抜き出したIPv4アドレスに対応付けられているIPv6アドレスをアドレス変換情報テーブル35の中から探し出す。アドレス変換情報テーブル35の内容は、(b2)にて更新されているため、ここでは、IPv6アドレス“::1234:5678:9abc”が抽出されることになる(b4)。ヘッダ変換部33は、その後、該パケットに、送信元IPアドレスとして、IPv4端末53のIPv4−mapped−IPv6アドレス“::ffff:133.144.95.22”をセットすると共に、宛先IPアドレスとして、先程抽出したIPv6アドレス“::1234:5678:9abc”をセットする。また、ヘッダ変換部33は、このようなアドレス変換のほか、IPv4ヘッダをIPv6ヘッダに変換するための各種処理も同時に実行する(b5)。IPv4/IPv6送信処理部32は、(b5)の変換処理を受けたパケットをIPv6端末51に向けて送出する(b6)。その後、IPv6端末51は、このパケットを受信する(a1)。
【0054】
また、IPv6端末51は、応答処理として、IPv4端末53にIPv6パケット51を送ることもある。この場合、IPv6端末51は、IPv6パケット56をIPv6ネットワーク52に送出する際に(a2)、そのヘッダに、送信元IPアドレスとして自己のIPv6アドレス“::1234:5678:9abc”をセットすると共に、宛先IPアドレスとしてIPv4端末53のIPv4−mapped−IPv6アドレス“::ffff:133.144.95.22”をセットする。このIPv6パケット56は、トランスレータ55を介してIPv4端末53に送られる(c7)。トランスレータ55の処理((b7)、(b8)、(b9)、b(10))は、図6の(b1)、(b2)、(b6)、(b7)と同様なものなので、ここでは説明を繰り返さない。
【0055】
なお、IPv6アドレスに割り当てた前述のIPv4アドレスについては、前述と同様な解放処理を行えばよい。
【0056】
つぎに、タイプBのIPv4端末53について説明する。
【0057】
タイプBのIPv4端末53は、前述した通り、IPv4アプリケーションを搭載し、かつ、前述したアドレス変換情報を所有する端末である。タイプBのIPv4端末53では、図3(b)に示す様に、TCP/IPv4処理81と、アドレス変換処理82と、アドレス変換処理83と、IPv4アプリケーション処理85とが実施される。IPv4アプリケーション処理85は、同図に示すように、IPv4ソケットインターフェース介してTCP/IPv4処理81上で実行される。これらの階層構造については、従来のIPv4端末53と同じであり、IPv4アプリケーション処理85では、TCP/IPv4処理81から上げられてくるパケットのIPアドレスをIPv4アドレスで受け取ることとなる。なお、TCP/IPv4処理81は、TCP/IPv4受信処理部41及びTCP/IPv4送信処理部42が担当する。アドレス変換処理82は、アドレス変換処理部43が担当する。アドレス変換情報交換処理83は、アドレス変換情報交換処理部44が担当する。
【0058】
このようにタイプBのIPv4端末53では、アプリケーション側がIPv6アドレスを特に必要としていない。
【0059】
しかしながら、ユーザにとっては、確認等のため、通信相手のIPv6アドレスを知りたいということもある。
【0060】
そこで、タイプBのIPv4端末53では、通信相手のIPv6アドレスを表示画面等に出力する。
【0061】
すなわち、タイプBのIPv4端末53のアドレス変換処理部43は、IPv4アプリケーションから出力されたパケットを受け取ると、該パケットの送信元IPアドレスであるIPv4アドレスを抜き出し、抜き出したIPv4アドレスに対応付けられているIPv6アドレスをアドレス変換情報テーブル45の中から探し出し、これを表示画面等に出力する。
【0062】
また、さらに、タイプBのIPv4端末53では、トランスレータやタイプAのIPv4端末で自動的に行われていたIPv6アドレスとIPv4アドレスとの対応付けを、ユーザが任意に行うことができる。
【0063】
すなわち、アドレス変換処理部43は、ユーザの操作内容に応じて、アドレス変換情報テーブル45を更新する。例えば、ユーザが、IPv6アドレス“::1234:5678:9abc”に対して、IPv4アドレス“192.168.10.3”を割り当てるといった内容の操作を行った場合は、図7のアドレス変換情報テーブル45は、例えば、図7に示す様な内容に設定される。アドレス変換情報テーブル45が更新されると、アドレス変換情報交換部44は、この更新部分をパケット(図8参照)して、トランスレータ55や、アドレス変換情報テーブルを所有するその他のIPv4端末53に送信する。これにより、各IPv4端末53のアドレス変換情報テーブル45の内容と、トランスレータ55のアドレス変換情報テーブル35の内容が一致する。
【0064】
IPv6端末51とタイプBのIPv4端末53との間で行われるパケット交換については、図5、図6を用いて説明した先程のフローと同様なことが行われるため、これについての説明は省略する。
【0065】
つぎに、タイプCのIPv4端末53について説明する。
【0066】
タイプCのIPv4端末53は、前述した通り、IPv4端末53で使用されるIPv4アプリケーションをそのまま搭載した端末である。IPv4アプリケーションがROM化されていて、そのままではソフトウエア的な変更を行うことができない端末も、このタイプCの端末53に含まれる。タイプCのIPv4端末53では、図3(c)に示す様に、IPv4アプリケーション処理85が、IPv4ソケットインターフェース介してTCP/IPv4処理81上で実行される。TCP/IPv4処理81は、TCP/IPv4受信処理部41及びTCP/IPv4送信処理部42が担当する。
【0067】
なお、タイプCのIPv4端末53では、その構成上、端末側から通信を開始することはできないが、相手側から通信を開始すれば、以下に示すように特に問題は生じない。
【0068】
タイプCのIPv4端末51のIPv4アプリケーションは、TCP/IPv4受信処理部41から出力されたパケットを受け取ると、受け取ったパケットの送信元IPアドレスと宛先IPアドレスを抜き出し、受け取ったパケットのデータ部で指定された所定の処理を行う。その後、IPv4アプリケーションは、必要があれば、その処理結果をパケットに詰め、これをTCP/IPv4送信処理部42に渡す。この際、IPv4アプリケーションは、抜き出した宛先IPアドレスと送信元IPアドレスを入れ替えて、これらをパケットに設定する。例えば、受け取ったパケットの宛先IPアドレス「フィールド」にIPv4アドレス“133.144.95.22”が格納され、送信元IPアドレス「フィールド」にIPv4アドレス“192.168.10.3”が格納されている場合は、宛先IPアドレス「フィールド」にIPv4アドレス“192.168.10.3”が格納され、送信元IPアドレス「フィールド」にIPv4アドレス“133.144.95.22”が格納される。このパケットは、TCP/IPv4送信処理部42によってIPv4ネットワーク54に送出され、トランスレータ55に届けられる。
【0069】
以上、IPv4ネットワークとIPv6ネットワークがIPv4/v6トランスレータで接続される場合の一実施形態について説明したが、ここで使用されるIPv6/v4トランスレータの実際のハードウエアは、例えば、図10(a)に示すように構成される。
【0070】
このIPv6/v4トランスレータは、CPU71と、メモリ72と、ネットワークインタフェース73−1、73−2〜73−nを有して構成されている。CPU71は、メモリ72の管理や、ネットワークインタフェース73−1、73−2〜73−nの制御を行う。また、メモリ72には、各種プログラムが予め記憶されており、これらのプログラムを必要に応じてCPU71で実行することで、図2に示した、IPv4/v6受信処理部31、IPv4/v6送信処理部32、ヘッダ変換部33、アドレス変換情報交換部34、アドレス変換情報テーブル35が実現される。
【0071】
なお、図1では、IPv6ネットワーク52とIPv4ネットワーク54が一つずつ存在するため、例えば、IPv6ネットワーク52用にネットワークインタフェース73−1が使用され、IPv4ネットワーク54用にネットワークインタフェース73−2が使用されることになる。この場合、ネットワークインタフェース73−1が、IPv6ネットワーク52を流れるIPv6パケットを取り込んでメモリ72に格納し、ネットワークインタフェース73−2が、ヘッダ変換等を施されて生成されたIPv4パケットをIPv4ネットワーク54に送出する。逆方向にパケットを流す場合も、ネットワークインタフェース73−1、73−2のそれぞれが、今と逆の動作を行う。なお、複数のIPv6、IPv4ネットワークが存在する場合には、その数に応じて、ネットワークインタフェースが使用されることになる。
【0072】
また、IPv4端末の実際のハードウエアは、例えば、図10(b)に示すように構成される。
【0073】
このIPv4端末は、CPU71と、メモリ72と、ネットワークインタフェース73を有して構成されている。CPU71は、メモリ72の管理や、ネットワークインタフェース73の制御を行う。メモリ72には、各種プログラムが予め記憶されている。例えば、タイプAのIPv4端末の場合、メモリ72のプログラムが必要に応じてCPU71で実行され、TCP/IPv4受信処理部41、TCP/IPv4送信処理部42、アドレス変換処理部43、アドレス変換情報交換処理部44、アドレス変換情報テーブル45や、IPv4アプリケーションが実現される。ネットワークインタフェース73は、IPv4ネットワーク54を流れるIPv4パケットを取り込んでメモリ72に格納すると共に、アドレス変換等を施されて生成されたIPv4パケットをIPv4ネットワーク54に送出する。
【0074】
また、特定のIPv6端末については、予めIPv4アドレスを割り当てておき、これをアドレス変換情報テーブルに格納しておくようにしてもよい。このようにすれば、割当てに関する処理時間が削減される。
【0075】
また、本発明は、図1に示すようなネットワーク構成に限定されるわけではない。例えば、IPv4ネットワークとIPv6ネットワークが混在するネットワークにも本発明は適用可能である。図9には、IPv4端末62とIPv6端末61が接続されたIPv4/v6混在ネットワーク64が示されている。IPv4/v6混在ネットワーク64では、IPv4パケット66と、IPv6パケット65が共存することになるが、IPv4/v6トランスレータ63は、これらを自身に取り込み、取り込んだパケットに対して、必要ならば、先程説明したアドレス変換及びヘッダ変換を施し、これをネットワークに返却する。このようにすれば、IPv4端末62とトランスレータ63と間では、IPv4パケット66による通信が行われ、トランスレータ63とIPv6端末61との間ではIPv6パケット65による通信が行われることになる。
【0076】
また、本発明は、IPv4ネットワークとIPv6ネットワークとの結合に限定されるわけでなく、バージョンの違い等によりIPアドレスの付与体系が異なっている2種類のネットワーク(第1種のIPネットワークと第2種のIPネットワーク)に適用可能である。
【0077】
【発明の効果】
本発明によれば、第1種のIPネットワーク(例えば、IPv4ネットワーク)に存在する複数の対象機器のうちの一つである対象機器Aと、第2種のIPネットワーク(例えば、IPv6ネットワーク)に存在する複数の対象機器のうちの一つである対象機器Bとの間で通信を開始する際に、第1種のIPネットワークと第2種のIPネットワークとの間に設けられたトランスレータ、または、前記対象機器Aが、対象機器Bに付与されている第2種のIPアドレスに対して、第1種のIPアドレスを割り当て、第1種のIPネットワークでは、この第1種のIPアドレスを用いて通信が行われる。
【0078】
したがって、第1種のIPネットワークの対象機器Aと通信を行うために、第2種のIPネットワークに存在する対象機器Bに対して第1種のIPアドレスを予め与えておくといった無駄なアドレス設定がなくなり、乏しい第1種のIPアドレスが有効活用される。
【0079】
また、対象機器Aに割り当てる第1種のIPアドレスは、第1種のIPネットワーク内で閉じて使用されるため、外部のネットワークで同一のIPアドレスが用いられても問題は生じず、第1種のIPアドレスのさらなる有効活用を図ることができる。
【図面の簡単な説明】
【図1】本発明が適用されたネットワークの一例を示した構成図。
【図2】図1のネットワークで使用されるIPv4/v6トランスレータの機能を示したブロック図。
【図3】図3(a):図1のネットワークに接続されるタイプAのIPv4端末で行われる処理の概要を示した説明図。
図3(b):図1のネットワークに接続されるタイプBのIPv4端末で行われる処理の概要を示した説明図。
図3(c):図1のネットワークに接続されるタイプCのIPv4端末で行われる処理の概要を示した説明図。
【図4】図1のネットワークに接続されるタイプAのIPv4端末の機能を示したブロック図。
【図5】図1のネットワークにおける、IPv6端末−IPv4端末間の通信手順(その1)を示したフローチャート。
【図6】図1のネットワークにおける、IPv6端末−IPv4端末間の通信手順(その2)を示したフローチャート。
【図7】図1のネットワークに接続されるタイプA、BのIPv4端末及びIPv4/v6トランスレータのそれぞれに設けられるアドレス変換情報テーブルの一例を示した説明図。
【図8】図7のアドレス変換情報テーブルの格納情報を送信するためのパケットのフォーマットを示した説明図。
【図9】本発明が適用されたネットワークのその他の例を示した構成図。
【図10】図10(a):本発明が適用されたネットワークに接続されるIPv4/v6トランスレータのハードウエア構成の一例を示した構成図。
図10(b):本発明が適用されたネットワークに接続されるIPv4端末のハードウエア構成の一例を示した構成図。
【図11】図11(a):IPv6ヘッダのフォーマットの説明図。
図11(b):IPv4ヘッダのフォーマットの説明図。
【図12】図12(a):IPv4−compatible−IPv6アドレスのフォーマットの説明図。
図12(b):IPv4−mapped−IPv6アドレスのフォーマットの説明図。
【図13】IPv4ネットワークとIPv6ネットワークを接続するための方式を示した説明図。
【符合の説明】
31:IPv4/v6受信処理部、 32:IPv4/v6送信処理部、 33:ヘッダ変換部、 34:アドレス変換情報交換部、 35:アドレス変換情報テーブル、 41:TCP/IPv4受信処理部、 42:TCP/IPv4送信処理部、 43:アドレス変換処理部、 44:アドレス変換情報交換処理部、 45:アドレス変換情報テーブル、 51、61:IPv6端末、 52:IPv6ネットワーク、 53、62:IPv4端末、 54:IPv4ネットワーク、 55、63:IPv4/v6トランスレータ、 56、65:IPv6パケット、 57、66:IPv4パケット、 64:IPv6/v4混在ネットワーク、 71:CPU、 72:メモリ、 73:ネットワークインタフェース、 81:TCP/IPv4処理、 82:アドレス変換処理、 83:アドレス変換情報交換処理、 84:IPv6アプリケーション、 85:IPv4アプリケーション、 91、101:IPv6アドレスフィールド、 92、102:割り当てIPv4アドレスフィールド、 93、103:オプションフィールド
[0001]
BACKGROUND OF THE INVENTION
Each of a plurality of target devices overlaps each of a plurality of target devices and a first type IP network to which a first type IP address is assigned so as not to overlap each other. The present invention relates to an IP network coupling method for a second type IP network to which a second type IP address is assigned so that there is no problem, an IP network translator, and a network system using the translator.
[0002]
[Prior art]
The most well-known network layer protocol used in TCP / IP communication is IP (Internet Protocol). The role of IP coincides with the role provided by the third layer of the OSI (Open Systems Interconnection) reference model, such as an addressing service for designating a destination for communication among nodes connected to the network. At present, version 4 IP (hereinafter referred to as IPv4) is widespread. The format of a header (hereinafter referred to as IPv4 header) used in IPv4 is as shown in FIG.
[0003]
In the IPv4 header, “4” which is a version number is stored in the “version” field. The “header length” field stores the length of the IPv4 header itself. The “service type” field stores information indicating service quality of communication processing. The “packet length” field stores the size of the entire packet obtained by adding the IPv4 header to a data block handled by IP. The information coming from the upper layer is handled as one data block by IP, and this data block is sent to the lower layer with an IPv4 header added by IP. Conversely, the IPv4 header included in the packet sent from the lower layer is analyzed by IP, and the data portion of the packet is raised to the upper layer according to the analysis result. The “identifier” field stores an identifier used as reference information when data is transferred to the upper layer. The “flag” field stores control information related to packet division. The “fragment offset” field stores information indicating where the divided data (fragment) is located in the original data. The “time to live” field stores the time during which the packet may exist in the network. The “protocol” field stores information indicating what the upper layer protocol is. The “header checksum” field stores the checksum of the IP header. The “source IP address” field stores the source IP address. The “destination IP address” field stores the IP address of the destination. The IP address is assigned to each node connected to the network, and is set to a different value in the network.
[0004]
IP with such specifications is now rapidly spreading to various communication services in line with the spread of the Internet, etc., but on the other hand, it faces a serious problem of IP address exhaustion. .
[0005]
As means for solving this problem, version 6 IP (hereinafter referred to as IPv6) has been proposed.
[0006]
The format of a header (hereinafter referred to as IPv6 header) used in IPv6 is as shown in FIG. In the IPv6 header, “6” which is a version number is stored in the “version” field. The “priority” field stores the priority of processing when the router relays a packet in the network. The “flow label” field is used to store an identifier when performing priority control or the like. The “payload length” field stores the length of the data portion excluding the IPv6 header portion from the packet. In the “next header identifier” field, an identifier for identifying which upper layer protocol header follows the IPv6 header or which IPv6 extension header follows is stored. The “hop limit” field stores the maximum transfer count of the packet. The “source IP address” field stores the source IP address, and the “destination IP address” field stores the destination IP address. In the IPv6 header, each of the “source IP address” field and the “destination IP address” field is expanded from 32 bits to 128 bits. This increases the number of connectable nodes.
[0007]
[Problems to be solved by the invention]
However, although the IPv6 storage area has been expanded, IPv6 is not compatible with the existing IPv4 because of changes to the header and part of the processing.
[0008]
In a node newly connected to the network, IPv6 is implemented as a network protocol and an IPv6 address is assigned as a network address. However, it is practically impossible to simultaneously change the network protocol of existing nodes to IPv6. Therefore, it is considered that the period in which the IPv4 node and the IPv6 node coexist lasts for a long time. Some of the existing nodes (particularly peripheral devices) may be difficult to change the protocol. In this case, IPv4 is used as it is.
[0009]
That is, in the future, it seems that a network in which a node in which IPv6 is implemented (IPv6 node) and a node in which IPv4 is implemented (IPv4 node) coexists will appear.
[0010]
However, since IPv6 and IPv4 have different header formats and the like as described above, IPv6 nodes and IPv4 nodes cannot be simply combined.
[0011]
One solution is, for example, a connection method using a translator as shown in FIG.
[0012]
In the figure, an IPv6 network 52 to which an IPv6 node (IPv6 terminal) 10 is connected and an IPv4 network 54 to which an IPv4 node (IPv4 terminal) 20 is connected are connected to each other via a translator 30. The IPv4 terminal 20 is assigned an address uniquely assigned within the IPv4 network 54 (hereinafter referred to as an IPv4 address), and the IPv6 terminal 10 is assigned an address uniquely assigned within the IPv6 network 52 (hereinafter referred to as “IPv4 address”). , Called an IPv6 address) and an IPv4 address. When the IPv6 terminal 10 communicates with another IPv6 terminal (not shown) within the IPv6 network 52, the IPv6 terminal 10 represents itself with an IPv6 address, and when communicating with the IPv4 terminal 20 within the IPv4 network 54, , Represents itself with an IPv4 address. For example, when sending a packet from the IPv6 terminal 10 to the IPv4 terminal 20, the IPv6 terminal 10 sets itself (IPv6 terminal 10) in the “source IP address” field (see FIG. 11A) when generating the header of the packet to be sent. ) Is stored in the form as shown in FIG. 12A, and the IPv4 address of the partner (IPv4 terminal 20) is stored in the “destination IP address” field (see FIG. 11A). Store in the form shown in. In FIG. 12A, the lower 32 bits of the prepared 128 bits are used for storing address information, and the other bits are set to '0'. An address represented in such a format is generally called an IPv4-compatible-IPv6 address. In FIG. 12B, the lower 32 bits of the prepared 128 bits are used for storing address information, the 47th to 32nd bits are set to “1”, and the other bits are set to “0”. It is set. An address represented in such a format is generally called an IPv4-mapped-IPv6 address. The header storing the predetermined information and the data to be sent are sent to the translator 30 as one packet.
[0013]
The translator 30 converts the received packet into a packet for the IPv4 network 54. Specifically, the lower 32 bits, that is, the IPv4 address of the IPv6 terminal 10 is cut out from the previous IPv4-compatible-IPv6 address included in the header of the sent packet, and this is shown in FIG. ) In the “source IP address” field of the IPv4 header shown in FIG. At the same time, the lower 32 bits, that is, the IPv4 address of the IPv4 terminal 20 that is the destination, is cut out from the previous IPv4-mapped-IPv6 address included in the header of the sent packet, It is stored in the “destination IP address” field of the IPv4 header shown in FIG. Thereafter, other necessary items are set in this header, and are sent to the IPv4 terminal 20 as one packet together with the transmission data.
[0014]
If the above method is used, the IPv6 node and the IPv4 node can be connected to each other.
[0015]
However, in this method, it is necessary to assign an IPv4 address to the IPv6 node.
[0016]
As described above, the number of IPv4 addresses is insufficient, and it is meaningless if IPv6 made to solve this problem promotes the exhaustion of IPv4 addresses.
[0017]
In view of such problems, the present invention is capable of combining two networks having different IP address assignment systems due to version differences or the like without exhausting the IP address of one network. Coupling method, IP network translator, and network system using the translator are provided.
[0018]
[Means for Solving the Problems]
According to one aspect of the IP network coupling method of the present invention for achieving the above object,
Each of a plurality of target devices overlaps each of a plurality of target devices and a first type IP network to which a first type IP address is assigned so as not to overlap each other. In the IP network connection method for connecting the second type IP network to which the second type IP address is assigned by a translator so that there is no
A target device A that is one of a plurality of target devices that exist in the first type IP network and a target device B that is one of a plurality of target devices that exist in the second type IP network. Assigning one of a plurality of first type IP addresses prepared in advance to the second type IP address assigned to the target device B,
Between the target device B and the translator, communication is performed using the second type IP address assigned to the target device B, and the allocated between the translator and the target device A Communicate using the first type of IP address,
An IP network coupling method is provided in which the assigned first type IP address is released after communication is completed.
[0019]
According to one aspect of the IP network translator of the present invention to achieve the above object,
Each of a plurality of target devices overlaps each of a plurality of target devices and a first type IP network to which a first type IP address is assigned so as not to overlap each other. In the translator that joins the second type IP network to which the second type IP address is assigned so that there is no
In order to exchange information between the first type IP network and the second type IP network, the first type IP packet and the second type IP used in the first type IP network. Header conversion means for performing header conversion with the second type IP packet used in the network;
Storage means for storing a plurality of first type IP addresses that do not overlap each other;
In the header conversion performed to send information from the second type IP network to the first type IP network, the source storage area included in the IP header of the second type IP packet Any one of a plurality of first type IP addresses stored in the storage means is assigned to the stored second type IP address, and the assigned first type IP address is assigned to the first type IP address. Storing it in the source storage area included in the IP header of one type of IP packet; and
Stored in the destination storage area included in the IP header of the first type IP packet at the time of header conversion performed to send information from the first type IP network to the second type IP network The second type IP address stored in the transmission source storage area included in the IP header of the second type IP packet is assigned to the first type IP address being assigned, A translator is provided that stores two types of IP addresses in a destination storage area included in an IP header of the second type IP packet.
[0020]
According to one aspect of the IP network translator of the present invention for achieving the above object, the first type IP address is assigned to each of a plurality of target devices so as not to overlap each other. A translator for mutually coupling one type of IP network and a second type of IP network to which a second type of IP address is assigned so as not to overlap each other for each of a plurality of target devices;
A target device A that is one of a plurality of target devices existing in the first type IP network;
The target device A is
Storage means for storing a plurality of first type IP addresses that do not overlap each other;
When sending a first type IP packet including data to be transmitted to the target device B, which is one of a plurality of target devices existing in the second type IP network, to the first type network. Any one of the plurality of first type IP addresses stored in the storage unit is assigned to the second type IP address assigned to the target device B, and the assigned first type IP address is assigned. Address conversion means for storing an IP address in a destination storage area included in an IP header of the first type IP packet;
Means for sending address translation information including at least the second type IP address assigned to the target device B and the first type IP address assigned to the second type IP address to the translator And
The translator is
Storage means for storing address conversion information sent from the target device A;
There is provided a network system comprising packet conversion means for performing packet conversion between the first type IP network and the second type IP network using the address conversion information.
[0021]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
[0022]
As shown in FIG. 1, in this embodiment, there is an IPv6 network 52 to which a plurality of IPv6 terminals 51 are connected, and an IPv4 network 54 to which a plurality of IPv4 terminals 53 are connected. These networks are IPv6 / v4. They are connected to each other via a translator 55 (hereinafter referred to as a translator 55). In the IPv6 network 52, data transfer is performed using a packet having an IPv6 header (hereinafter referred to as an IPv6 packet) shown in FIG. In the IPv6 packet header, the IPv6 terminal 51 is represented by a normal IPv6 address, and the IPv4 terminal 53 is represented by an IPv4-mapped-IPv6 address (FIG. 12B). In the IPv4 network 54, data transfer is performed using a packet having an IPv4 header shown in FIG. 11B (hereinafter referred to as an IPv4 packet). In the header of the IPv4 packet, the translator 55 is represented by an IPv4 address assigned by the translator 55 or a specific IPv4 terminal 53, and the IPv4 terminal 53 is represented by a normal IPv4 address.
[0023]
As shown in FIG. 2, the translator 55 receives the IPv6 packet flowing in the IPv6 network 52, the IPv4 / v6 reception processing unit 31 that sequentially captures the IPv4 packet flowing in the IPv4 network 54, and the packet captured by the IPv4 / v6 reception processing unit 31. The header conversion unit 33 that converts the header of the address conversion information based on the address conversion information stored in the address conversion information table 35 and updates the contents of the address conversion information table 35 as necessary, and header conversion processing The IPv4 / v6 transmission processing unit 32 that sends the received packet to the destination network and the address translation information stored in the address translation information table 35 are exchanged with a specific node connected to the IPv4 network 54 Address translation information exchange unit 34 Equipped with a.
[0024]
In the present embodiment, there are three types (hereinafter referred to as types A, B, and C) of the IPv4 terminal 53 connected to the IPv4 network 54. The type A IPv4 terminal 53 can be loaded with an application program (hereinafter referred to as an IPv6 application) used in the IPv6 terminal 51, and further possesses the address translation information described above. An outline of processing performed in the type A IPv4 terminal 53 is shown in FIG. The type C IPv4 terminal 53 is a conventional terminal in which an application program (hereinafter referred to as an IPv4 application) used in the IPv4 terminal 53 is directly installed. For example, a peripheral device such as a printer corresponds to this. The outline of the processing executed by the type C IPv4 terminal 53 is as shown in FIG. The type B IPv4 terminal 53 is a terminal that is equipped with an IPv4 application and possesses the address translation information described above, and its processing outline is as shown in FIG. The specific nodes with which the translator 55 exchanges address translation information are the type A and B IPv4 terminals 53.
[0025]
The TCP / IPv4 process 81 shown in FIG. 3A corresponds to a general TCP / IP communication process, and here, a service according to IPv4 is performed. In the TCP / IPv4 processing 81, a socket interface (IPv4 socket IF) is used as an interface with processing performed at the higher level. The IPv6 application process 84 is a process performed by the IPv6 application, and a socket interface (IPv6 socket IF) is used as an interface with a process performed at a lower level as in the previous case. Each of the address translation process 82 and the address translation information exchange process 83 is interposed between the IPv4 socket IF and the IPv6 socket IF. In the address translation process 82, data transfer including an IP address translation process is performed, and in the address translation information exchange process 83, address translation information is transmitted between the other nodes (for example, the translator 55) and the IPv4 terminal 53. Is exchanged.
[0026]
FIG. 4 shows the internal configuration of a type A IPv4 terminal 53.
[0027]
The TCP / IPv4 processing 81 is handled by the TCP / IPv4 reception processing unit 41 and the TCP / IPv4 transmission processing unit 42. The address conversion processing unit 43 is in charge of the address conversion processing 82. The address translation information exchange processing 83 is handled by the address translation information exchange processing unit 44. In addition, the type A IPv4 terminal 53 is provided with an address translation information table 45.
[0028]
Next, packet exchange performed between the IPv6 terminal 51 and the type A IPv4 terminal 53 will be described.
[0029]
First, packet exchange when communication is started from the IPv6 terminal 51 side will be described with reference to the flowchart of FIG.
[0030]
Here, the IPv6 address “:: 1234: 5678: 9abc” is assigned to the source IPv6 terminal 51 in advance, and the IPv4 address “133.144.95.22” is assigned to the destination IPv4 terminal 53 in advance. It is assumed that
[0031]
The notation method of the IPv4 address is as follows.
[0032]
Each decimal bit is represented by a decimal number separated by “.”.
[0033]
Example. 123.3.2.1
The notation method of the IPv6 address is as follows.
[0034]
1. Each 16-bit is separated by “:” and expressed in hexadecimal.
[0035]
Example. 1234: 5678: 9abc: def0: 0 fed: cba9: 8765: 4321
2. When all 16 bits delimited are 0, they may be represented by “::”.
[0036]
Example. 1234 :: 9abc: def0: 0 fed: cba9: 8765: 4321
3. If all 16 bits delimited are 0 and they are continuous, they may be represented by one “::”.
[0037]
Example. 1234 :: 4321
4). When the lower 32 bits include an IPv4 address, the IPv4 address notation method can be used for the lower 32 bits.
[0038]
Example. :: ffff: 133.144.95.22
When the IPv6 terminal 51 sends out the IPv6 packet 56 to the IPv6 network 52 (a1), it sets its own IPv6 address “:: 1234: 5678: 9abc” as the source IP address in the header. The IPv4-mapped-IPv6 address “:: ffff: 133.144.95.22” of the IPv4 terminal 53 is set as the destination IP address.
[0039]
The IPv4 / v6 reception processing unit 31 of the translator 55 sequentially fetches IPv6 packets flowing through the IPv6 network 52, and each time the fetched IPv6 packet has an IPv4-mapped-IPv6 address stored in the “destination IP address” field. Packet (specifically, a packet in which the 47th to 32nd bits of the “destination IP address” field are set to “1” and all the higher bits are set to “0”). Determine whether or not. If a corresponding packet is found, it is sent to the header conversion unit 33 (b1). When the header conversion unit 33 receives the packet, the header conversion unit 33 extracts an IPv6 address that is a transmission source IP address included in the packet, and an IPv4 address previously associated with the extracted IPv6 address is extracted from the address conversion information table 35. (B2). If the target IPv4 address does not exist in the address translation information table 35, the header translation unit 33 assigns a certain IPv4 address to the IPv6 address described above. Here, the IPv4 address “192.168.10.3” is assigned to the IPv6 address “:: 1234: 5678: 9abc” (b3). The address translation information exchange unit 34 transmits these correspondences as address translation information to the IPv4 terminal 53 (b4). The format of a packet for exchanging address translation information is as shown in FIG. In this example, “:: 1234: 5678: 9abc” is stored in the “IPv6 address” field 101, and “192.168.10.3” is stored in the “assigned IPv4 address” field 102. The “option” field 103 is not particularly used in the present embodiment, but can store various control information necessary for communication. Note that the transmission of the address translation information (b4) is performed not only to the IPv4 terminal 53 that is the communication partner but also to all IPv4 terminals 53 that own the address translation information table 45. The header conversion unit 33 stores the address conversion information in the address conversion information table 35 (b5).
[0040]
A configuration example of the address conversion information table 35 is shown in FIG. 91 is a storage area for IPv6 addresses, 92 is a storage area for allocated IPv4 addresses, and 93 is a storage area for option data. For example, one line is filled in order from the top. A plurality of IPv4 addresses to be allocated are prepared in advance, and these are stored in a memory in the translator 55 (not shown). The address conversion information table 35 itself is also stored in this memory.
[0041]
In addition, since the area where the allocated IPv4 address is used is closed in the IPv4 network, for example, a plurality of IPv4 networks are connected to the IPv6 network 52, and the IPv4 addresses overlap in each IPv4 network. However, no problem occurs. That is, when the IPv4 network 54 is an in-company communication network and the IPv6 network is an external communication network using a public line, the company may assign an IPv4 address used in the IPv4 network of another company.
[0042]
Subsequently, the header conversion unit 33 replaces the source IP address in the packet with the IPv4 address “192.168.10.3” from the IPv6 address “:: 1234: 5678: 9abc”. For the destination IP address, the IPv4 address extracted from the lower 32 bits of the IPv6 address is used. In addition to such address conversion, the header conversion unit 33 simultaneously executes various processes for converting an IPv6 header into an IPv4 header (b6). Subsequently, the IPv4 / v6 transmission processing unit 32 sends the packet that has undergone the conversion process of (b6) to the IPv4 terminal 53. In the search process of (b2), when the corresponding IPv4 address is found, this IPv4 address is adopted as the source IP address, and the processes of (b3), (b4), and (b5) are skipped. Is done.
[0043]
On the other hand, when receiving the address translation information sent from the translator 55 (c1), the IPv4 terminal 53 updates the contents of the address translation information table 45 using this address translation information (c2). As a result, the contents of the address translation information table 35 of the translator 55 match the contents of the address translation information table 45 of the IPv4 terminal 53. Specifically, the address translation information table 45 is updated by the address translation information exchange processing unit 44. The processes (c1) and (c2) are performed in all IPv4 terminals including the IPv4 terminal that is the communication partner.
[0044]
Further, when the IPv4 terminal 53 receives the IPv4 packet transmitted from the translator 55 (c3), the IPv4 terminal 53 performs address conversion of the IPv4 packet based on the updated address conversion information table 45.
[0045]
Specifically, the TCP / IPv4 reception processing unit 41 of the IPv4 terminal 53 receives the previous IPv4 packet flowing through the IPv4 network 54 and passes it to the address translation processing unit 43. When receiving the packet, the address translation processing unit 43 extracts the IPv4 address “192.168.10.3”, which is the source IP address of the packet, and addresses the IPv6 address associated with the extracted IPv4 address. Search from the conversion information table 45. Since the contents of the address conversion information table 45 are updated in (c2), the IPv6 address “:: 1234: 5678: 9abc” is extracted here. The address translation processing unit 43 sets the IPv6 address “:: 1234: 5678: 9abc” in the packet as the source IP address, and sends this packet to the IPv6 application. As the destination IP address, an IPv6 address obtained by extending the IPv4 address to the IPv4-mapped-IPv6 address shown in FIG. 12B is used. By performing such address translation, the IPv6 application can receive each of the source IP address and the destination IP address with the IPv6 address. Since the IPv6 application is an application program developed for IPv6 as described above, it is more convenient that the received IP address is expressed by an IPv6 address.
[0046]
Further, the IPv6 application may send a packet to the IPv6 terminal 51 as a response process. In this case, the IPv6 application expands the IPv6 address of its own IPv4 address “133.144.95.22” as the source IP address into the IPv4-mapped-IPv6 address shown in FIG. “:: ffff: 133.144.95.22” is set, and the IPv6 address “:: 1234: 5678: 9abc” of the IPv6 terminal 51 is set as the destination IP address. This packet is transferred to the address translation processing unit 43, and the address translation opposite to the previous one is performed. That is, the address conversion processing unit 43 replaces the IPv6 address “:: 1234: 5678: 9abc” set as the destination IP address with the IPv4 address “192.168.10.3”. For the source IP address, the IPv4 address extracted from the lower 32 bits of the IPv6 address is used. Thereafter, the TCP / IPv4 transmission processing unit 42 sends the packet (IPv4 packet 57: FIG. 1) subjected to the conversion processing by the address conversion processing unit 43 to the translator 55 (c4).
[0047]
The IPv4 / v6 reception processing unit 31 of the translator 55 takes in the IPv4 packet 57 flowing through the IPv4 network 54 (b8) and sends it to the header conversion unit 33. Upon receiving the packet, the header conversion unit 33 extracts the IPv4 address “192.168.10.3”, which is the destination IP address of the packet, and converts the IPv6 address associated with the extracted IPv4 address into address conversion information. Search from the table 35. Here, the IPv6 address “:: 1234: 5678: 9abc” is extracted (b9). After that, the header conversion unit 33 sets the IPv4-mapped-IPv6 address “:: ffff: 133.144.95.22” of the IPv4 terminal 53 as the transmission source IP address in the packet, and as the destination IP address , IPv6 address “:: 1234: 5678: 9abc” extracted earlier is set. In addition to such address conversion, the header conversion unit 33 simultaneously executes various processes for converting the IPv4 header into the IPv6 header (b10). The IPv4 / IPv6 transmission processing unit 32 sends the packet subjected to the conversion process of (b10) to the IPv6 terminal 51 (b11). Thereafter, the IPv6 terminal 51 receives this packet (a2).
[0048]
The IPv4 address associated with the IPv6 address may be released when a series of communications between the IPv6 terminal 51 and the IPv4 terminal 53 is completed. Further, an entry in the address translation information table may be deleted in accordance with a command issued at the time of network system management. Further, the time after communication is stopped may be stored in the option field of the address conversion information table, and the assigned IPv4 address that has timed out may be forcibly released at that time.
[0049]
Next, packet exchange when communication is started from the IPv4 terminal 53 side will be described with reference to the flowchart of FIG.
[0050]
In this case as well, the IPv6 address “:: 1234: 5678: 9abc” is assigned to the IPv6 terminal 51, and the IPv4 address “133.144.95.22” is assigned to the IPv4 terminal 53. I will do it.
[0051]
Then, the IPv6 application of the IPv4 terminal 53 sets its own IPv4 address “133.144.95.22” as the source IP address in the packet to be sent, and the IPv6 address “:: of the IPv6 terminal 51 as the destination IP address”. 1234: 5678: 9abc "is set. This packet is passed to the address translation processing unit 43. When receiving the packet, the address translation processing unit 43 extracts the IPv6 address that is the destination IP address included in the packet, and the IPv4 address associated in advance with the extracted IPv6 address is converted into the address translation information table 45. Search from among them (c1). If the target IPv4 address does not exist in the address translation information table 45, the address translation processing unit 43 assigns a certain IPv4 address to the IPv6 address described above. Here, the IPv4 address “192.168.10.3” is assigned to the IPv6 address “:: 1234: 5678: 9abc” (c2). The address conversion processing unit 43 transmits these correspondences as address conversion information to the translator 55 (c3). The format of a packet for exchanging address translation information is as shown in FIG. Further, the address conversion processing unit 43 stores this address conversion information in the address conversion information table 45 (c4). A configuration example of the address translation information table 45 is shown in FIG. Note that a plurality of IPv4 addresses to be allocated are prepared in advance, and these are stored in a memory in the IPv4 terminal 53 (not shown). The address conversion information table 45 itself is also stored in this memory. Thereafter, the address translation processing unit 43 replaces the IPv6 address “:: 1234: 5678: 9abc” in the packet with the IPv4 address “192.168.10.3”. The source IP address is left as it is. In addition to such address conversion, the address conversion processing unit 43 simultaneously executes various processes for converting the IPv6 header into the IPv4 header (c5). Thereafter, the TCP / IPv4 transmission processing unit 42 sends the packet (IPv4 packet 57: FIG. 1) subjected to the conversion processing by the address conversion processing unit 43 to the translator 55 (c6). In the search process of (c1), when the corresponding IPv4 address is found, this IPv4 address is adopted as the source IP address, and the processes of (c2), (c3), and (c4) are skipped. Is done.
[0052]
On the other hand, when the translator 55 receives the address translation information sent from the IPv4 terminal 53 (b1), the translator 55 updates the contents of the address translation information table 35 using the address translation information (b2). Thereby, the contents of the address translation information table 45 of the IPv4 terminal 53 match the contents of the address translation information table 35 of the translator 55. Specifically, the update of the content of the address translation information table 35 is performed by the address translation information exchange unit 34. The transmission of the address translation information in (c3) is performed not only for the translator 55 but also for all IPv4 terminals 53 that own the address translation information table 45, and the contents of each address translation information table 45 are updated. The In this way, the assigned IPv4 address does not overlap between each IPv4 terminal 53 and the translator.
[0053]
Then, the IPv4 / v6 reception processing unit 31 of the translator 55 takes in the IPv4 packet 57 flowing through the IPv4 network 54 (b3), and sends it to the header conversion unit 33. Upon receiving the packet, the header conversion unit 33 extracts the IPv4 address “192.168.10.3”, which is the destination IP address of the packet, and converts the IPv6 address associated with the extracted IPv4 address into address conversion information. Search from the table 35. Since the contents of the address conversion information table 35 are updated in (b2), the IPv6 address “:: 1234: 5678: 9abc” is extracted here (b4). After that, the header conversion unit 33 sets the IPv4-mapped-IPv6 address “:: ffff: 133.144.95.22” of the IPv4 terminal 53 as the transmission source IP address in the packet, and as the destination IP address , IPv6 address “:: 1234: 5678: 9abc” extracted earlier is set. In addition to such address conversion, the header conversion unit 33 simultaneously executes various processes for converting the IPv4 header into the IPv6 header (b5). The IPv4 / IPv6 transmission processing unit 32 sends the packet subjected to the conversion process of (b5) to the IPv6 terminal 51 (b6). Thereafter, the IPv6 terminal 51 receives this packet (a1).
[0054]
Further, the IPv6 terminal 51 may send an IPv6 packet 51 to the IPv4 terminal 53 as a response process. In this case, when sending the IPv6 packet 56 to the IPv6 network 52 (a2), the IPv6 terminal 51 sets its own IPv6 address “:: 1234: 5678: 9abc” as the source IP address in its header. The IPv4-mapped-IPv6 address “:: ffff: 133.144.95.22” of the IPv4 terminal 53 is set as the destination IP address. The IPv6 packet 56 is sent to the IPv4 terminal 53 via the translator 55 (c7). The processing of the translator 55 ((b7), (b8), (b9), b (10)) is the same as (b1), (b2), (b6), (b7) in FIG. Do not repeat the explanation.
[0055]
For the IPv4 address assigned to the IPv6 address, a release process similar to that described above may be performed.
[0056]
Next, the type B IPv4 terminal 53 will be described.
[0057]
As described above, the type B IPv4 terminal 53 is a terminal that has an IPv4 application and owns the above-described address translation information. In the type B IPv4 terminal 53, as shown in FIG. 3B, a TCP / IPv4 process 81, an address conversion process 82, an address conversion process 83, and an IPv4 application process 85 are performed. The IPv4 application process 85 is executed on the TCP / IPv4 process 81 via the IPv4 socket interface as shown in FIG. These hierarchical structures are the same as those of the conventional IPv4 terminal 53, and the IPv4 application process 85 receives the IP address of the packet raised from the TCP / IPv4 process 81 as the IPv4 address. The TCP / IPv4 processing 81 is handled by the TCP / IPv4 reception processing unit 41 and the TCP / IPv4 transmission processing unit 42. The address conversion processing unit 43 is in charge of the address conversion processing 82. The address translation information exchange processing 83 is handled by the address translation information exchange processing unit 44.
[0058]
Thus, in the type B IPv4 terminal 53, the application side does not particularly need an IPv6 address.
[0059]
However, the user may want to know the IPv6 address of the communication partner for confirmation or the like.
[0060]
Therefore, the type B IPv4 terminal 53 outputs the IPv6 address of the communication partner on a display screen or the like.
[0061]
That is, when receiving the packet output from the IPv4 application, the address translation processing unit 43 of the type B IPv4 terminal 53 extracts the IPv4 address that is the transmission source IP address of the packet and associates it with the extracted IPv4 address. The existing IPv6 address is searched from the address conversion information table 45 and output to the display screen or the like.
[0062]
Further, in the type B IPv4 terminal 53, the user can arbitrarily associate the IPv6 address and the IPv4 address automatically performed by the translator or the type A IPv4 terminal.
[0063]
That is, the address conversion processing unit 43 updates the address conversion information table 45 in accordance with the user operation content. For example, when the user performs an operation of assigning the IPv4 address “192.168.10.3” to the IPv6 address “:: 1234: 5678: 9abc”, the address conversion information table of FIG. For example, 45 is set as shown in FIG. When the address translation information table 45 is updated, the address translation information exchange unit 44 packetizes this updated part (see FIG. 8) and transmits it to the translator 55 and other IPv4 terminals 53 that own the address translation information table. To do. As a result, the contents of the address translation information table 45 of each IPv4 terminal 53 match the contents of the address translation information table 35 of the translator 55.
[0064]
Since the packet exchange performed between the IPv6 terminal 51 and the type B IPv4 terminal 53 is the same as the previous flow described with reference to FIGS. 5 and 6, the description thereof will be omitted. .
[0065]
Next, the type C IPv4 terminal 53 will be described.
[0066]
As described above, the type C IPv4 terminal 53 is a terminal on which the IPv4 application used in the IPv4 terminal 53 is directly installed. This type C terminal 53 includes terminals in which the IPv4 application is stored in ROM and cannot be changed in software as it is. In the type C IPv4 terminal 53, as shown in FIG. 3C, the IPv4 application process 85 is executed on the TCP / IPv4 process 81 via the IPv4 socket interface. The TCP / IPv4 processing 81 is handled by the TCP / IPv4 reception processing unit 41 and the TCP / IPv4 transmission processing unit 42.
[0067]
Note that type C IPv4 terminal 53 cannot start communication from the terminal side due to its configuration, but if communication is started from the other side, there is no particular problem as shown below.
[0068]
When receiving the packet output from the TCP / IPv4 reception processing unit 41, the IPv4 application of the type C IPv4 terminal 51 extracts the source IP address and the destination IP address of the received packet and designates them in the data portion of the received packet. The predetermined processing is performed. Thereafter, if necessary, the IPv4 application packs the processing result into a packet and passes it to the TCP / IPv4 transmission processing unit 42. At this time, the IPv4 application replaces the extracted destination IP address and source IP address, and sets these in the packet. For example, the IPv4 address “133.144.95.22” is stored in the destination IP address “field” of the received packet, and the IPv4 address “192.168.10.3” is stored in the source IP address “field”. The IPv4 address “192.168.10.3” is stored in the destination IP address “field”, and the IPv4 address “133.144.95.22” is stored in the source IP address “field”. . This packet is sent to the IPv4 network 54 by the TCP / IPv4 transmission processing unit 42 and delivered to the translator 55.
[0069]
The embodiment in which the IPv4 network and the IPv6 network are connected by the IPv4 / v6 translator has been described above. The actual hardware of the IPv6 / v4 translator used here is, for example, as shown in FIG. Configured as shown.
[0070]
This IPv6 / v4 translator has a CPU 71, a memory 72, and network interfaces 73-1, 73-2 to 73-n. The CPU 71 manages the memory 72 and controls the network interfaces 73-1, 73-2 to 73-n. Various programs are stored in the memory 72 in advance, and these programs are executed by the CPU 71 as necessary, so that the IPv4 / v6 reception processing unit 31 and the IPv4 / v6 transmission processing shown in FIG. The unit 32, the header conversion unit 33, the address conversion information exchange unit 34, and the address conversion information table 35 are realized.
[0071]
In FIG. 1, since there is one IPv6 network 52 and one IPv4 network 54, for example, the network interface 73-1 is used for the IPv6 network 52, and the network interface 73-2 is used for the IPv4 network 54. Will be. In this case, the network interface 73-1 captures the IPv6 packet flowing through the IPv6 network 52 and stores it in the memory 72, and the network interface 73-2 generates the IPv4 packet generated by performing header conversion or the like on the IPv4 network 54. Send it out. Even when a packet is sent in the reverse direction, each of the network interfaces 73-1 and 73-2 performs the reverse operation. Note that when there are a plurality of IPv6 and IPv4 networks, the network interface is used according to the number.
[0072]
Also, the actual hardware of the IPv4 terminal is configured as shown in FIG. 10B, for example.
[0073]
This IPv4 terminal has a CPU 71, a memory 72, and a network interface 73. The CPU 71 manages the memory 72 and controls the network interface 73. Various programs are stored in the memory 72 in advance. For example, in the case of a type A IPv4 terminal, a program in the memory 72 is executed by the CPU 71 as necessary, and a TCP / IPv4 reception processing unit 41, a TCP / IPv4 transmission processing unit 42, an address conversion processing unit 43, an address conversion information exchange. A processing unit 44, an address translation information table 45, and an IPv4 application are realized. The network interface 73 captures the IPv4 packet flowing through the IPv4 network 54 and stores it in the memory 72, and sends out the IPv4 packet generated by performing address conversion or the like to the IPv4 network 54.
[0074]
Further, for a specific IPv6 terminal, an IPv4 address may be assigned in advance and stored in the address translation information table. In this way, the processing time for allocation is reduced.
[0075]
Further, the present invention is not limited to the network configuration as shown in FIG. For example, the present invention can be applied to a network in which an IPv4 network and an IPv6 network are mixed. FIG. 9 shows an IPv4 / v6 mixed network 64 in which an IPv4 terminal 62 and an IPv6 terminal 61 are connected. In the IPv4 / v6 mixed network 64, the IPv4 packet 66 and the IPv6 packet 65 coexist, but the IPv4 / v6 translator 63 takes these into itself, and if necessary for the fetched packet, it will be explained earlier. The address conversion and header conversion performed are performed and returned to the network. By doing so, communication using the IPv4 packet 66 is performed between the IPv4 terminal 62 and the translator 63, and communication using the IPv6 packet 65 is performed between the translator 63 and the IPv6 terminal 61.
[0076]
In addition, the present invention is not limited to the connection between the IPv4 network and the IPv6 network, and two types of networks (the first type IP network and the second type) that have different IP address assignment systems due to differences in version or the like. It can be applied to a certain type of IP network.
[0077]
【The invention's effect】
According to the present invention, the target device A, which is one of a plurality of target devices existing in the first type IP network (for example, IPv4 network), and the second type IP network (for example, IPv6 network) A translator provided between the first type IP network and the second type IP network when starting communication with the target device B, which is one of the plurality of existing target devices, or The target device A assigns the first type IP address to the second type IP address assigned to the target device B, and in the first type IP network, the first type IP address is assigned. Communication.
[0078]
Therefore, in order to communicate with the target device A of the first type IP network, useless address setting in which the first type IP address is given in advance to the target device B existing in the second type IP network. The first type IP address which is scarce is effectively utilized.
[0079]
In addition, since the first type IP address assigned to the target device A is closed and used in the first type IP network, no problem occurs even if the same IP address is used in the external network. Further effective utilization of the seed IP address can be achieved.
[Brief description of the drawings]
FIG. 1 is a configuration diagram showing an example of a network to which the present invention is applied.
FIG. 2 is a block diagram showing functions of an IPv4 / v6 translator used in the network of FIG. 1;
FIG. 3A is an explanatory diagram showing an outline of processing performed in a type A IPv4 terminal connected to the network of FIG. 1;
FIG. 3B is an explanatory diagram showing an outline of processing performed in a type B IPv4 terminal connected to the network of FIG.
FIG. 3C is an explanatory diagram showing an outline of processing performed in a type C IPv4 terminal connected to the network of FIG.
4 is a block diagram showing functions of a type A IPv4 terminal connected to the network of FIG. 1;
FIG. 5 is a flowchart showing a communication procedure (part 1) between an IPv6 terminal and an IPv4 terminal in the network of FIG. 1;
FIG. 6 is a flowchart showing a communication procedure (part 2) between the IPv6 terminal and the IPv4 terminal in the network of FIG. 1;
7 is an explanatory diagram showing an example of an address translation information table provided in each of the type A and B IPv4 terminals and the IPv4 / v6 translator connected to the network of FIG. 1;
8 is an explanatory diagram showing a format of a packet for transmitting storage information in the address translation information table of FIG.
FIG. 9 is a configuration diagram showing another example of a network to which the present invention is applied.
FIG. 10A is a configuration diagram showing an example of a hardware configuration of an IPv4 / v6 translator connected to a network to which the present invention is applied.
FIG. 10B is a configuration diagram showing an example of a hardware configuration of an IPv4 terminal connected to a network to which the present invention is applied.
FIG. 11 (a) is an explanatory diagram of a format of an IPv6 header.
FIG. 11B is an explanatory diagram of the format of the IPv4 header.
FIG. 12A is an explanatory diagram of a format of an IPv4-compatible-IPv6 address.
FIG. 12B: Explanatory drawing of the format of the IPv4-mapped-IPv6 address.
FIG. 13 is an explanatory diagram showing a method for connecting an IPv4 network and an IPv6 network.
[Explanation of sign]
31: IPv4 / v6 reception processing unit, 32: IPv4 / v6 transmission processing unit, 33: header conversion unit, 34: address conversion information exchange unit, 35: address conversion information table, 41: TCP / IPv4 reception processing unit, 42: TCP / IPv4 transmission processing unit, 43: address conversion processing unit, 44: address conversion information exchange processing unit, 45: address conversion information table, 51, 61: IPv6 terminal, 52: IPv6 network, 53, 62: IPv4 terminal, 54 : IPv4 network, 55, 63: IPv4 / v6 translator, 56, 65: IPv6 packet, 57, 66: IPv4 packet, 64: IPv6 / v4 mixed network, 71: CPU, 72: memory, 73: network interface, 81: TCP / IPv4 processing, 82: A Address conversion processing, 83: Address conversion information exchange processing, 84: IPv6 application, 85: IPv4 application, 91, 101: IPv6 address field, 92, 102: Assigned IPv4 address field, 93, 103: Option field

Claims (16)

ネットワークに接続され、該ネットワークに対してパケットを送受信する端末において、
IPv6アプリケーションプログラムを格納する記憶部と、
前記記憶部に格納されているIPv6アプリケーションプログラムを実行し、IPv6ヘッダを含むIPv6パケットを生成する処理部と、
複数のIPv4アドレスを保持する保持部と、
前記IPv6パケットの前記IPv6ヘッダに宛先アドレスとして格納されているIPv6アドレスに前記保持部に保持されている前記複数のIPv4アドレスのうちの任意の1つを割り当て、前記IPv6ヘッダを、宛先アドレスとして前記任意のIPv4アドレスが格納され、前記IPv6ヘッダとはヘッダフォーマットが異なるIPv4ヘッダに変換してIPv4パケットを生成する変換部と、
前記IPv4パケットを前記ネットワークに送信する送信部とを有することを特徴とする端末
In a terminal connected to a network and transmitting / receiving packets to / from the network,
A storage unit for storing an IPv6 application program;
A processing unit that executes an IPv6 application program stored in the storage unit and generates an IPv6 packet including an IPv6 header;
A holding unit for holding a plurality of IPv4 addresses;
An arbitrary one of the plurality of IPv4 addresses held in the holding unit is assigned to an IPv6 address stored as a destination address in the IPv6 header of the IPv6 packet, and the IPv6 header is used as the destination address. A conversion unit that stores an arbitrary IPv4 address and generates an IPv4 packet by converting the IPv6 header into an IPv4 header having a header format different from the IPv6 header;
Terminal; and a transmission unit that transmits the IPv4 packet to the network.
請求項1に記載の端末において、前記IPv6アドレスと、前記保持部に保持されている前記複数のIPv4アドレスのうちから割り当てた前記任意のIPv4アドレスとを対応付けて格納する第2の記憶部を更に有することを特徴とする端末2. The terminal according to claim 1, further comprising: a second storage unit that stores the IPv6 address in association with the arbitrary IPv4 address assigned from the plurality of IPv4 addresses held in the holding unit. Furthermore, the terminal characterized by having. ネットワークに接続され、該ネットワークに対してパケットを送受信する端末において、
IPv6アプリケーションプログラムを記憶する第1の記憶部と、
前記記憶部に記憶されているIPv6アプリケーションプログラムを実行し、IPv6ヘッダを含むIPv6パケットを生成する処理部と、
IPv6アドレスとIPv4アドレスとを対応付けて記憶する第2の記憶部と、
前記IPv6パケットの前記IPv6ヘッダに宛先アドレスとして格納されているIPv6アドレスと対応付けられて前記第2の記憶部に記憶されているIPv4アドレスを前記第2の記憶部から抽出し、前記IPv6ヘッダを、宛先アドレスとして前記IPv4アドレスが格納され、前記IPv6ヘッダとはヘッダフォーマットが異なるIPv4ヘッダに変換してIPv4パケットを生成する変換部と、
前記IPv4パケットを前記ネットワークに送信する送信部とを有することを特徴とする端末
In a terminal connected to a network and transmitting / receiving packets to / from the network,
A first storage unit for storing an IPv6 application program;
A processing unit that executes an IPv6 application program stored in the storage unit and generates an IPv6 packet including an IPv6 header;
A second storage unit that stores an IPv6 address and an IPv4 address in association with each other;
An IPv4 address associated with an IPv6 address stored as a destination address in the IPv6 header of the IPv6 packet and stored in the second storage unit is extracted from the second storage unit, and the IPv6 header is extracted from the second storage unit. A conversion unit that stores the IPv4 address as a destination address, converts the IPv4 header to a different IPv4 header format and generates an IPv4 packet;
Terminal; and a transmission unit that transmits the IPv4 packet to the network.
請求項に記載の端末において、複数のIPv4アドレスを保持する第3の記憶部を更に有し、前記変換部は、前記第3の記憶部に保持されている前記複数のIPv4アドレスのうちの任意の1つを前記IPv6アドレスと対応付けて前記第2の記憶部に格納しておくことを特徴とする端末4. The terminal according to claim 3 , further comprising a third storage unit that holds a plurality of IPv4 addresses, wherein the conversion unit includes the plurality of IPv4 addresses held in the third storage unit. terminal, wherein the storing in the second storage unit any one in association with the IPv6 address. 請求項1または請求項に記載の端末において、前記変換部は、さらに、前記IPv6ヘッダに送信元アドレスとして格納されている端末自身のIPv4−mapped−IPv6アドレスを第2のIPv4アドレスに変換し、前記IPv6ヘッダを、送信元アドレスとして前記第2のIPv4アドレスが格納されているIPv4ヘッダに変換することを特徴とする端末The terminal according to claim 1 or claim 3, wherein the conversion unit further converts the IPv4-mapped-IPv6 address of the terminal itself, which is stored as the source address in the IPv6 header into the second IPv4 address The terminal that converts the IPv6 header into an IPv4 header in which the second IPv4 address is stored as a source address. 請求項または請求項に記載の端末において、前記ネットワークからIPv4パケットを受信する受信部を更に有し、前記受信部がIPv4パケットを受信すると、前記変換部は、前記受信したIPv4パケットのIPv4ヘッダに送信元アドレスとして格納されている第2のIPv4アドレスと対応付けて記憶されている第2のIPv6アドレスを前記第2の記憶部から抽出し、前記IPv4ヘッダを、送信元アドレスとして前記第2のIPv6アドレスが格納されているIPv6ヘッダに変換することを特徴とする端末The terminal according to claim 2 or claim 3, further comprising a receiving unit for receiving an IPv4 packet from the network, when the receiving unit receives the IPv4 packet, the converting unit, the IPv4 packet the received IPv4 A second IPv6 address stored in association with the second IPv4 address stored in the header as the source address is extracted from the second storage unit, and the IPv4 header is used as the source address in the first A terminal characterized by converting to an IPv6 header in which an IPv6 address of 2 is stored. 請求項に記載の端末において、前記変換部は、前記IPv4ヘッダに宛先アドレスとして格納されている前記端末の第3のIPv4アドレスを、下位32ビットに前記第3のIPv4アドレスを含む第3のIPv6アドレスに変換し、前記IPv4ヘッダを、宛先アドレスとして前記第3のIPv6アドレスが格納されているIPv6ヘッダに変換することを特徴とする端末7. The terminal according to claim 6 , wherein the conversion unit includes a third IPv4 address of the terminal stored as a destination address in the IPv4 header, and a third IPv4 address including the third IPv4 address in lower 32 bits. It converted to an IPv6 address, the IPv4 header, and converting the IPv6 header Examples destination address third IPv6 address is stored the terminal. 請求項に記載の端末において、前記変換部は、前記IPv4ヘッダに宛先アドレスとして格納されている前記端末自身第3のIPv4アドレスを、前記第3のIPv4アドレスを含むIPv4−mapped−IPv6アドレスに変換し、前記IPv4ヘッダを、宛先アドレスとして前記IPv4−mapped−IPv6アドレスアドレスが格納されているIPv6ヘッダに変換することを特徴とする端末7. The terminal according to claim 6 , wherein the conversion unit includes an IPv4-mapped-IPv6 address including the third IPv4 address as a third IPv4 address of the terminal itself stored as a destination address in the IPv4 header. terminal converts, the IPv4 header, and converting the IPv6 header the IPv4-mapped-IPv6 address address as the destination address is stored in. ネットワークに接続された端末におけるパケット送受信方法において、複数のIPv4アドレスを予め保持し、IPv6アプリケーションプログラムを実行し、IPv6ヘッダを含むIPv6パケットを生成し、前記IPv6パケットの前記IPv6ヘッダに宛先アドレスとして格納されているIPv6アドレスに前記保持している前記複数のIPv4アドレスのうちの任意の1つを割り当て、前記IPv6ヘッダを、宛先アドレスとして前記任意のIPv4アドレスが格納され、前記IPv6ヘッダとはヘッダフォーマットが異なるIPv4ヘッダに変換し、前記IPv6パケットに含まれていたデータと前記IPv4ヘッダからIPv4パケットを生成し、前記IPv4パケットを前記ネットワークに送信することを特徴とするパケット送受信方法。In a packet transmission / reception method in a terminal connected to a network, a plurality of IPv4 addresses are held in advance, an IPv6 application program is executed, an IPv6 packet including an IPv6 header is generated, and stored as a destination address in the IPv6 header of the IPv6 packet An arbitrary one of the plurality of IPv4 addresses held is assigned to the held IPv6 address, the arbitrary IPv4 address is stored with the IPv6 header as a destination address, and the IPv6 header is a header format Is converted into a different IPv4 header, an IPv4 packet is generated from the data included in the IPv6 packet and the IPv4 header, and the IPv4 packet is transmitted to the network. Transmission / reception method. 請求項に記載のパケット送受信方法において、前記IPv6アドレスと、前記保持している前記複数のIPv4アドレスのうちから割り当てた前記任意のIPv4アドレスとを対応付けて記憶することを特徴とするパケット送受信方法。10. The packet transmission / reception method according to claim 9 , wherein the IPv6 address and the arbitrary IPv4 address assigned from the plurality of IPv4 addresses held are stored in association with each other. Method. ネットワークに接続された端末におけるパケット送受信方法において、IPv6アドレスとIPv4アドレスとを対応付けて予め記憶し、IPv6アプリケーションプログラムを実行し、IPv6ヘッダを含むIPv6パケットを生成し、前記IPv6パケットの前記IPv6ヘッダに宛先アドレスとして格納されているIPv6アドレスと対応付けて記憶しているIPv4アドレスを抽出し、前記IPv6ヘッダを、宛先アドレスとして前記IPv4アドレスが格納され、前記IPv6ヘッダとはヘッダフォーマットが異なるIPv4ヘッダに変換し、前記IPv6パケットに含まれていたデータと前記IPv4ヘッダからIPv4パケットを生成し、前記IPv4パケットを前記ネットワークに送信することを特徴とするパケット送受信方法。In a packet transmission / reception method in a terminal connected to a network, an IPv6 address and an IPv4 address are stored in association with each other, an IPv6 application program is executed, an IPv6 packet including an IPv6 header is generated, and the IPv6 header of the IPv6 packet is generated The IPv4 address stored in association with the IPv6 address stored as the destination address is extracted, the IPv6 header is used as the destination address, the IPv4 address is stored as the destination address, and the IPv4 header is different in header format from the IPv6 header Packet transmission / reception, generating an IPv4 packet from the data contained in the IPv6 packet and the IPv4 header, and transmitting the IPv4 packet to the network Law. 請求項11に記載のパケット送受信方法において、複数のIPv4アドレスを予め保持し、前記複数のIPv4アドレスのうちの任意の1つを前記IPv6アドレスと対応付けて記憶しておくことを特徴とするパケット送受信方法。12. The packet transmission / reception method according to claim 11 , wherein a plurality of IPv4 addresses are held in advance, and any one of the plurality of IPv4 addresses is stored in association with the IPv6 address. Transmission / reception method. 請求項または請求項11に記載のパケット送受信方法において、前記IPv6ヘッダに送信元アドレスとして格納されている前記端末自身のIPv4−mapped−IPv6アドレスから下位32ビット抽出して第2のIPv4アドレスに変換し、前記IPv6ヘッダを、送信元アドレスとして前記第2のIPv4アドレスが格納されているIPv4ヘッダに変換することを特徴とするパケット送受信方法。12. The packet transmission / reception method according to claim 9 or 11 , wherein a lower 32 bits are extracted from an IPv4-mapped-IPv6 address of the terminal itself stored as a source address in the IPv6 header to obtain a second IPv4 address. And a packet transmission / reception method characterized by converting the IPv6 header into an IPv4 header in which the second IPv4 address is stored as a source address. 請求項10または請求項11に記載のパケット送受信方法において、前記ネットワークからIPv4パケットを受信すると、前記受信したIPv4パケットのIPv4ヘッダに送信元アドレスとして格納されている第2のIPv4アドレスと対応付けて記憶している第2のIPv6アドレスを抽出し、前記IPv4ヘッダを、送信元アドレスとして前記第2のIPv6アドレスが格納されているIPv6ヘッダに変換することを特徴とするパケット送受信方法。12. The packet transmission / reception method according to claim 10 or 11 , wherein when an IPv4 packet is received from the network, the packet is associated with a second IPv4 address stored as a source address in an IPv4 header of the received IPv4 packet. 2. A packet transmission / reception method characterized by extracting a stored second IPv6 address and converting the IPv4 header into an IPv6 header storing the second IPv6 address as a source address. 請求項14に記載のパケット送受信方法において、前記IPv4ヘッダに宛先アドレスとして格納されている前記端末自身第3のIPv4アドレスを、下位32ビットに前記第3のIPv4アドレスを含む第3のIPv6アドレスに変換し、前記IPv4ヘッダを、宛先アドレスとして前記第3のIPv6アドレスが格納されているIPv6ヘッダに変換することを特徴とするパケット送受信方法。15. The packet transmission / reception method according to claim 14 , wherein a third IPv4 address of the terminal itself stored as a destination address in the IPv4 header, and a third IPv6 address including the third IPv4 address in lower 32 bits. And a packet transmission / reception method, wherein the IPv4 header is converted into an IPv6 header in which the third IPv6 address is stored as a destination address. 請求項14に記載のパケット送受信方法において、前記IPv4ヘッダに宛先アドレスとして格納されている前記端末自身第3のIPv4アドレスを、IPv4−mapped−IPv6アドレスに変換し、前記IPv4ヘッダを、宛先アドレスとして前記IPv4−mapped−IPv6アドレスアドレスが格納されているIPv6ヘッダに変換することを特徴とするパケット送受信方法。15. The packet transmission / reception method according to claim 14 , wherein a third IPv4 address of the terminal itself stored as a destination address in the IPv4 header is converted to an IPv4-mapped-IPv6 address, and the IPv4 header is converted to a destination address. A packet transmission / reception method characterized in that the packet is converted into an IPv6 header in which the IPv4-mapped-IPv6 address is stored.
JP2003005232A 2003-01-14 2003-01-14 Packet transmission / reception node and packet transmission / reception method Expired - Lifetime JP3791496B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003005232A JP3791496B2 (en) 2003-01-14 2003-01-14 Packet transmission / reception node and packet transmission / reception method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003005232A JP3791496B2 (en) 2003-01-14 2003-01-14 Packet transmission / reception node and packet transmission / reception method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP17476896A Division JP3531367B2 (en) 1996-07-04 1996-07-04 Translator

Publications (2)

Publication Number Publication Date
JP2003188925A JP2003188925A (en) 2003-07-04
JP3791496B2 true JP3791496B2 (en) 2006-06-28

Family

ID=27606913

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003005232A Expired - Lifetime JP3791496B2 (en) 2003-01-14 2003-01-14 Packet transmission / reception node and packet transmission / reception method

Country Status (1)

Country Link
JP (1) JP3791496B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010193511A (en) * 2010-04-28 2010-09-02 Hitachi Ltd Packet transmitting/receiving terminal

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4591338B2 (en) * 2005-12-16 2010-12-01 パナソニック電工株式会社 Communications system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010193511A (en) * 2010-04-28 2010-09-02 Hitachi Ltd Packet transmitting/receiving terminal

Also Published As

Publication number Publication date
JP2003188925A (en) 2003-07-04

Similar Documents

Publication Publication Date Title
JP3531367B2 (en) Translator
US8582599B2 (en) Translator for IP networks, network system using the translator, and IP network coupling method therefor
US7630374B2 (en) Address translation method
US7400646B2 (en) Multicast routing method and an apparatus for routing a multicast packet
JP3494610B2 (en) IP router device with TCP termination function and medium
US20070030848A1 (en) Network communication system
WO2011037105A1 (en) Content-based switching system and content-based switching method
JP4292897B2 (en) Relay device and port forward setting method
JP4670866B2 (en) Translator
JP4151699B2 (en) Conversion device and management method
JP3900157B2 (en) Translator
JP3791496B2 (en) Packet transmission / reception node and packet transmission / reception method
JP3791497B2 (en) Packet conversion method
CN101783775B (en) Interconnected method for vector network and IP network by gateway mode
JP5126283B2 (en) Packet transmission / reception terminal
JP5600829B2 (en) Translator
JP2001136198A (en) Inter-network communication method and server, and inter-network communication system
KR100711163B1 (en) Address mapping apparatus and the method of the data packet repeater
US7362747B2 (en) Translation of identifiers of user installation terminal in a packet network
KR20010099495A (en) A system and method to use network address as the physical address of network interface card
WO2003088600A1 (en) Communication apparatus

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050208

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050308

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20051122

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060123

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20060126

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: 20060314

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060327

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

Free format text: PAYMENT UNTIL: 20090414

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100414

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110414

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120414

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120414

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130414

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20140414

Year of fee payment: 8

EXPY Cancellation because of completion of term