JP3965729B2 - IPv4-IPv6 communication method and IPv4-IPv6 conversion apparatus - Google Patents

IPv4-IPv6 communication method and IPv4-IPv6 conversion apparatus Download PDF

Info

Publication number
JP3965729B2
JP3965729B2 JP21288997A JP21288997A JP3965729B2 JP 3965729 B2 JP3965729 B2 JP 3965729B2 JP 21288997 A JP21288997 A JP 21288997A JP 21288997 A JP21288997 A JP 21288997A JP 3965729 B2 JP3965729 B2 JP 3965729B2
Authority
JP
Japan
Prior art keywords
ipv4
address
ipv6
network
terminal
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
JP21288997A
Other languages
Japanese (ja)
Other versions
JPH1155319A (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 JP21288997A priority Critical patent/JP3965729B2/en
Priority to EP06025235.0A priority patent/EP1773013B1/en
Priority to EP97118649A priority patent/EP0840482B1/en
Priority to DE69737645T priority patent/DE69737645T2/en
Priority to US08/959,462 priority patent/US6118784A/en
Publication of JPH1155319A publication Critical patent/JPH1155319A/en
Priority to US09/614,715 priority patent/US6690669B1/en
Priority to US09/983,147 priority patent/US6985485B2/en
Priority to US09/983,145 priority patent/US6920137B2/en
Priority to US09/983,141 priority patent/US7072338B2/en
Priority to US09/983,146 priority patent/US7072339B2/en
Priority to US09/983,144 priority patent/US6920136B2/en
Priority to US10/143,973 priority patent/US6928077B2/en
Priority to US10/143,761 priority patent/US6912219B2/en
Priority to US10/143,947 priority patent/US6920138B2/en
Priority to US11/179,501 priority patent/US7193998B2/en
Priority to US11/699,429 priority patent/US7746863B2/en
Application granted granted Critical
Publication of JP3965729B2 publication Critical patent/JP3965729B2/en
Priority to US12/764,661 priority patent/US8031716B2/en
Priority to US13/225,796 priority patent/US8594108B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)
  • Computer And Data Communications (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、IPv4−IPv6通信方法およびIPv4−IPv6変換装置に係り、特に、通信プロトコルとしてIPv4(Internet Protocol version 4)を使用するIPv4端末と通信プロトコルとしてIPv6(Internet Protocol version 6)を使用するIPv6端末の間の通信を実現する方法および装置に関する。
【0002】
【従来の技術】
IPv4端末とIPv6端末の間の通信を実現する方法としては、IETF(Internet Engineering Task Force)から出されているRFC(Request For Comments)1884に記載の「IPv4-mapped IPv6アドレス」と「IPv4-compatible IPv6アドレス」を使用する方法が考えられる。
【0003】
前記「IPv4-mapped IPv6アドレス」は、IPv6アドレスの128ビットのうち、第127ビット〜第48ビットに“0”をセットし、第47ビット〜第32ビットに“1”をセットし、第31ビット〜第0ビットに「IPv4アドレス」をセットするIPv6アドレスである。
【0004】
また、前記「IPv4-compatible IPv6アドレス」は、IPv6アドレスの128ビットのうち、第127ビット〜第32ビットに“0”をセットし、第31ビット〜第0ビットに「IPv4アドレス」をセットするIPv6アドレスである。
【0005】
IPv4端末とIPv6端末の間の通信を行うときは、IPv4端末と通信するIPv6端末に予めIPv4アドレスを固定で割り当てておく。また、IPv4端末とIPv6端末が通信する経路の途中に、IPヘッダを変換してIPv4パケット(RFC791)とIPv6パケット(RFC1883)の相互変換を行うパケット変換装置を設ける。
【0006】
IPv4ネットワーク内では、IPv4端末のIPv4アドレスとIPv6端末に割り当てられているIPv4アドレスとを使い、IPv4パケットを用いて通信する。また、IPv6ネットワーク内では、IPv4端末のIPv6アドレスとして「IPv4端末のIPv4アドレス」をセットした前記「IPv4-mapped IPv6アドレス」を使い、IPv6端末のIPアドレスとして「IPv6端末に割り当てられているIPv4アドレス」をセットした前記「IPv4-compatible IPv6アドレス」を使い、IPv6パケットを用いて通信する。そして、前記パケット変換装置は、IPv6パケットに含まれる前記「IPv4-mapped IPv6アドレス」を「IPv4端末のIPv4アドレス」に変換し、前記「IPv4-compatible IPv6アドレス」を「IPv6端末に割り当てられているIPv4アドレス」に変換することにより、IPv6パケットをIPv4パケットに変換する。
【0007】
また、逆に、IPv4パケットに含まれる「IPv4端末のIPv4アドレス」を前記「IPv4-mapped IPv6アドレス」に変換し、「IPv6端末に割り当てられているIPv4アドレス」を前記「IPv4-compatible IPv6アドレス」に変換することにより、IPv4パケットをIPv6パケットに変換する。これにより、IPv4端末とIPv6端末の間の通信が可能になる。
【0008】
また、IETFでは、IPv4端末とIPv6端末の間の通信を実現する方法として、デュアルスタックと呼ぶ方法の提案も行っている。この方法によれば、IPv6端末は、IPv4とIPv6の両方の通信プロトコルを実装し、IPv6端末同士の間ではIPv6プロトコルを用いて通信し、IPv4端末との間ではIPv4プロトコルを用いて通信する。これにより、IPv4端末とIPv6端末の間の通信が可能になる。
【0009】
また、IETFでは、IPトンネリングと呼ぶ方法の提案も行っている。これは二台のIPv6端末の間の通信経路上にIPv4ネットワークがあり直接IPv6パケットで通信できない場合に、IPv4ヘッダでカプセリングしてそのIPv4ネットワークを通過させる方法である。同様に、IPv4端末の間の通信経路上にIPv6ネットワークがあり直接IPv4パケットで通信できない場合に、IPv6ヘッダでカプセリングしてそのIPv6ネットワークを通過させる方法である。これにより通信経路上にIPv4ネットワークがある場合でもIPv6端末の間の通信が可能になる。同様に、通信経路上にIPv6ネットワークがある場合でもIPv4端末の間の通信が可能になる。
【0010】
【発明が解決しようとする課題】
上記の方法では、IPv4アドレスに96ビット分の固定パターンを追加したりIPv6アドレスから96ビット分の固定パターンを削除する単純な操作で、IPv4端末とIPv6端末の間の通信を実現できる。
【0011】
また、デュアルスタックと呼ぶ方法では、通信相手によってIPv4とIPv6の通信プロトコルを使い分けることにより、IPv4端末とIPv6端末の間の通信を実現できる。
【0012】
また、IPトンネリングと呼ぶ方法では、二台の端末の通信経路上にあるネットワークをその通信プロトコルのヘッダでカプセリングして通過させることにより、その二台の端末の間の通信を実現できる。
【0013】
しかしながら、上記技術には、次の問題点がある。
【0014】
第一の問題点は、IPv4端末と通信する可能性のある全てのIPv6端末にIPv4アドレスを固定で割り当て無ければならないことである。これは枯渇しているIPv4アドレスをさらに消費して、枯渇を加速させることになる。
【0015】
第二の問題点は、IPv4ネットワークとIPv6ネットワークの間では互いのドメイン情報(例えば、ドメインネームに対応するIPアドレス。)を参照することができないため、ドメインネームでなく実際のIPアドレスでしか相手を指定できないことである。
【0016】
これは互いに相手が通信プロトコルとしてIPv4を使用しているのか、それともIPv6を使用しているのかを意識しなければならないことになる。
【0017】
第三の問題点は、デュアルスタックと呼ぶ方法において、IPv4端末と通信する可能性のある全てのIPv6端末にIPv4プロトコルを実装し、IPv4アドレスを固定で割り当て無ければならないことである。これはIPv6プロトコルだけを実装するのに比べて大きなメモリ容量が必要になるとともに、第一の問題点と同様、枯渇しているIPv4アドレスをさらに消費して、枯渇を加速させることになる。
【0018】
第四の問題点は、IPトンネリングと呼ぶ方法において、二台のIPv6端末の間の通信経路上に存在するIPv4ネットワークをIPv4ヘッダのカプセリングによって通過させるためには、そのための設定を予め行っておかなければならないことである。同様に、二台のIPv4端末の間の通信経路上に存在するIPv6ネットワークをIPv6ヘッダのカプセリングによって通過させるためには、そのための設定を予め行っておかなければならないことである。これは予めIPトンネリングの設定が行われた間でのみ使用可能であり、予め設定が行われていない間では通信ができない。
【0019】
そこで、本発明の目的は、IPv6端末にIPv6プロトコルのみを実装し、予めIPv4アドレスを固定で割り当てなくてもIPv4端末とIPv6端末の間の通信ができ、且つ、IPアドレスでなくドメインネームで相手を指定してIPv4端末とIPv6端末の間の通信ができる方法および装置を提供することにある。
【0020】
また、IPv4ネットワークで隔てられた二台のIPv6端末の間の通信のために、予め特別な設定を行わなくても通信ができるようにする方法および装置を提供することにある。同様に、IPv6ネットワークで隔てられた二台のIPv4端末の間の通信のために、予め特別な設定を行わなくても通信ができるようにする方法および装置を提供することにある。
【0021】
【課題を解決するための手段】
第1の観点では、本発明は、IPv4ネットワークと、IPv6ネットワークと、それら両方に接続されたIPv4−IPv6変換装置とからなる通信ネットワークシステムにおいて、IPv4ネットワークのIPv4端末とIPv6ネットワークのIPv6端末とが通信する方法であって、(a)IPv4ネットワークのIPv4端末がIPv6ネットワークのIPv6端末のドメインネームに対するIPアドレスを前記IPv4−IPv6変換装置に問い合せると、前記IPv4−IPv6変換装置は、IPv6ネットワークのドメイン情報を管理するDNS(Dmain Name System)v6サーバ装置から前記ドメインネームに対するIPv6アドレスを取得し、IPv4アドレスの動的な割り当てを行うDHCP(Dynamic Host Configuration Protocol)v4サーバ装置から前記IPv6アドレスに対応するIPv4アドレスを動的に獲得し、前記IPv4端末に通知し、前記IPv4端末は、自己のIPv4アドレスをIPv4発信アドレスとし且つ前記通知されたIPv4アドレスをIPv4宛先アドレスとしてIPv4パケットを作成し、前記IPv4−IPv6変換装置に送出し、(b)IPv4−IPv6変換装置は、受信したIPv4パケットに含まれるIPv4発信アドレスに固定データを追加してIPv6発信アドレスに変換すると共に、前記IPv4パケットに含まれるIPv4宛先アドレスをそれに対応するIPv6アドレスを用いたIPv6宛先アドレスに変換するIPヘッダ変換によって前記IPv4パケットからIPv6パケットを作成し、IPv6ネットワークに送出し、(c)前記IPv6端末は、自己のIPv6アドレスをIPv6発信アドレスとし且つ受信したIPv6パケットに含まれるIPv6発信アドレスをIPv6宛先アドレスとしてIPv6パケットを作成し、前記IPv4−IPv6変換装置に送出し、(d)IPv4−IPv6変換装置は、受信したIPv6パケットに含まれるIPv6宛先アドレスから固定データを削除してIPv4宛先アドレスに変換すると共に、前記IPv6パケットに含まれるIPv6発信アドレスをそれに対応するIPv4アドレスを用いたIPv4発信アドレスに変換するIPヘッダ変換によって前記IPv6パケットからIPv4パケットを作成し、IPv4ネットワークに送出することを特徴とするIPv4−IPv6通信方法を提供する。
【0022】
上記第1の観点によるIPv4−IPv6通信方法では、IPv4ネットワークのIPv4端末側からIPv6ネットワークのIPv6端末に対する通信を開始できるが、その際、IPv6ネットワークのIPv6端末に動的にIPv4アドレスを割り当てるため、IPv6端末に予めIPv4アドレスを固定で割り当てる必要がなくなり、枯渇しているIPv4アドレスの消費を抑制することが出来る。また、IPv4−IPv6変換装置がIPv6端末のドメインネームに対するIPアドレスをDNSv6サーバ装置から自動取得するため、IPv4端末は、ドメインネームを指定してIPv6端末と通信できるようになる。
【0023】
なお、IPv4−IPv6変換装置がIPv4端末、DNSv4サーバ装置、DHCPv4サーバ装置、IPv6端末およびDNSv6サーバ装置との間で行う処理は、全てRFCで記載されている標準技術であり、前記装置に新たな改造を加える必要はない。
【0024】
第2の観点では、本発明は、IPv4ネットワークと、IPv6ネットワークと、それら両方に接続されたIPv4−IPv6変換装置とからなる通信ネットワークシステムにおいて、IPv4ネットワークのIPv4端末とIPv6ネットワークのIPv6端末とが通信する方法であって、(a)IPv6ネットワークのIPv6端末がIPv4ネットワークのIPv4端末のドメインネームに対するIPアドレスを前記IPv4−IPv6変換装置に問い合せると、前記IPv4−IPv6変換装置は、IPv4ネットワークのドメイン情報を管理するDNSv4サーバ装置から前記ドメインネームに対するIPv4アドレスを取得し、そのIPv4アドレスに固定データを追加してIPv6アドレスに変換し、それを前記IPv6端末に通知し、前記IPv6端末は、自己のIPv6アドレスをIPv6発信アドレスとし且つ前記通知されたIPv6アドレスをIPv6宛先アドレスとしてIPv6パケットを作成し、前記IPv4−IPv6変換装置に送出し、(b)IPv4−IPv6変換装置は、受信したIPv6パケットに含まれるIPv6宛先アドレスから固定データを削除してIPv4宛先アドレスに変換すると共に、IPv4アドレスの動的な割り当てを行うDHCPv4サーバ装置から前記IPv6パケットに含まれるIPv6発信アドレスに対応するIPv4アドレスを動的に獲得し、そのIPv4アドレスを用いたIPv4発信アドレスに変換するIPヘッダ変換によって前記IPv6パケットからIPv4パケットを作成し、IPv4ネットワークに送出し、(c)前記IPv4端末は、自己のIPv4アドレスをIPv4発信アドレスとし且つ受信したIPv4パケットに含まれるIPv4発信アドレスをIPv4宛先アドレスとしてIPv4パケットを作成し、前記IPv4−IPv6変換装置に送出し、(d)IPv4−IPv6変換装置は、受信したIPv4パケットに含まれるIPv4発信アドレスに固定データを追加してIPv6発信アドレスに変換すると共に、前記IPv4パケットに含まれるIPv4宛先アドレスをそれに対応するIPv6アドレスを用いたIPv6宛先アドレスに変換するIPヘッダ変換によって前記IPv4パケットからIPv6パケットを作成し、IPv6ネットワークに送出することを特徴とするIPv4−IPv6通信方法を提供する。
【0025】
上記第2の観点によるIPv4−IPv6通信方法では、IPv6ネットワークのIPv6端末側からIPv4ネットワークのIPv4端末に対する通信を開始できるが、その際、IPv6ネットワークのIPv6端末に動的にIPv4アドレスを割り当てるため、IPv6端末に予めIPv4アドレスを固定で割り当てる必要がなくなり、枯渇しているIPv4アドレスの消費を抑制することが出来る。また、IPv4−IPv6変換装置が、IPv4端末のドメインネームに対するIPアドレスをDNSv4サーバ装置から自動取得するため、IPv6端末は、ドメインネームを指定してIPv4端末と通信できるようになる。
【0026】
第3の観点では、本発明は、(a)IPv6ネットワークのIPv6端末のIPv6アドレスに対応するIPv4アドレスをIPv4ネットワークのDHCPv4サーバから獲得するIPv4アドレス獲得手段と、(b)IPv6ネットワークのIPv6端末のIPv6アドレスと獲得したIPv4アドレスとを対応付けて保持するIPアドレス変換情報保持手段と、(c)IPv4ネットワークに対してIPv4パケットを送受信すると共にIPv6ネットワークに対してIPv6パケットを送受信するIP送受信手段と、(d)受信したIPv4パケットに含まれるIPv4発信アドレスに固定データを追加してIPv6発信アドレスに変換すると共に前記IPv4パケットに含まれるIPv4宛先アドレスを前記IPアドレス変換情報保持手段に保持されている対応するIPv6アドレスを用いたIPv6宛先アドレスに変換するIPヘッダ変換によってIPv4パケットからIPv6パケットを作成し前記IP送受信手段に渡して送信させ、また、受信したIPv6パケットに含まれるIPv6宛先アドレスから固定データを削除してIPv4宛先アドレスに変換すると共に前記IPv6パケットに含まれるIPv6発信アドレスを前記IPアドレス変換情報保持手段に保持されている対応するIPv4アドレスを用いたIPv4発信アドレスに変換するIPヘッダ変換によってIPv6パケットからIPv4パケットを作成し前記IP送受信手段に渡して送信させるIPヘッダ変換手段と、(e)IPv4ネットワークのIPv4端末からIPv6ネットワークのIPv6端末のドメインネームに対するIPアドレスの問い合せを受け取り、IPv6ネットワークのDNSv6サーバに問い合せてIPv6アドレスを取得し、そのIPv6アドレスに対応するIPv4アドレスが前記IPアドレス変換情報保持手段に保持されておれば当該IPv4アドレスを前記IPv4ネットワークのIPv4端末に通知し、前記IPv6アドレスに対応するIPv4アドレスが前記IPアドレス変換情報保持手段に保持されていなければ前記IPv4アドレス獲得手段によりIPv4アドレスを獲得し、前記IPv6アドレスと獲得したIPv4アドレスとを対応付けて前記IPアドレス変換情報保持手段に保持させ、当該IPv4アドレスを前記IPv4ネットワークのIPv4端末に通知し、また、IPv6ネットワークのIPv6端末からIPv4ネットワークのIPv4端末のドメインネームに対するIPアドレスの問い合せを受け取り、IPv4ネットワークのDNSv4サーバに問い合せてIPv4アドレスを取得し、そのIPv4アドレスに固定データを追加してIPv6アドレスに変換し、そのIPv6アドレスを前記IPv6ネットワークのIPv6端末に通知し、さらに、IPv4ネットワークのIPv4端末のドメインネームに対するIPアドレスを問い合せてきたIPv6ネットワークのIPv6端末のIPv6アドレスに対応するIPv4アドレスが前記IPアドレス変換情報保持手段に保持されているか否かを調査し、保持されていなければ前記IPv4アドレス獲得手段によりIPv4アドレスを獲得し、前記IPv6アドレスと獲得したIPv4アドレスとを対応付けて前記IPアドレス変換情報保持手段に保持させるDNS代行手段とを具備したことを特徴とするIPv4−IPv6変換装置を提供する。
【0027】
上記第3の観点によるIPv4−IPv6変換装置によれば、上記第1の観点のIPv4−IPv6通信方法および上記第2の観点のIPv4−IPv6通信方法を好適に実施できるようになる。
【0028】
第4の観点では、本発明は、上記構成のIPv4−IPv6変換装置において、前記IPアドレス変換情報保持手段は、保持しているIPv6アドレスとIPv4アドレスの対応のうちで一定時間参照されないものは削除し、削除したIPv4アドレスをIPv4ネットワークのDHCPv4サーバに返却することを特徴とするIPv4−IPv6変換装置を提供する。
【0029】
上記第4の観点によるIPv4−IPv6変換装置によれば、使用しないIPv4アドレスをDHCPv4サーバに返却するため、IPv4アドレスの消費を抑制することが出来る。
【0030】
第5の観点では、本発明は、上記構成のIPv4−IPv6変換装置において、複数のIPv4アドレスをプールするIPv4アドレスプール手段をさらに具備し、前記IPアドレス変換情報保持手段は、装置立ち上げ時等を契機としてIPv4ネットワークのDHCPv4サーバから複数のIPv4アドレスを獲得し、前記IPv4アドレスプール手段にプールしておき、IPv6ネットワークのIPv6端末のIPv6アドレスに対応するIPv4アドレスを前記IPv4アドレスプール手段から獲得することを特徴とするIPv4−IPv6変換装置を提供する。
【0031】
上記第5の観点によるIPv4−IPv6変換装置によれば、DHCPv4サーバからIPv4アドレスを一つずつ獲得するよりもIPv4ネットワークの負荷を軽減できる。 第6の観点では、本発明は、上記構成のIPv4−IPv6変換装置において、IPv4アドレスの動的な割り当てを行うDHCPv4サーバ手段をさらに具備し、このDHCPv4サーバ手段を前記IPv4ネットワークのDHCPv4サーバの代りに使用することを特徴とするIPv4−IPv6変換装置を提供する。
【0032】
上記第6の観点によるIPv4−IPv6変換装置によれば、DHCPv4サーバを別個に設ける必要がなくなる。
【0033】
第7の観点では、本発明は、上記構成のIPv4−IPv6変換装置において、IPv4ネットワークのドメイン情報を管理するDNSv4サーバ手段およびIPv6ネットワークのドメイン情報を管理するDNSv6サーバ手段をさらに具備し、これらのDNSv4サーバ手段およびDNSv6サーバ手段を前記IPv4ネットワークのDNSv4サーバおよび前記IPv6ネットワークのDNSv6サーバの代りに使用することを特徴とするIPv4−IPv6変換装置を提供する。
【0034】
上記第7の観点によるIPv4−IPv6変換装置によれば、DNSv4サーバやDNSv6サーバを別個に設ける必要がなくなる。
【0035】
【発明の実施の形態】
以下、図面を参照して本発明の実施の形態について説明する。
【0036】
(A)第1の実施形態
図1は、本発明の第1の実施形態にかかるIPv4−IPv6変換装置1aの構成図である。
【0037】
このIPv4−IPv6変換装置1aは、IPv4ネットワークとIPv6ネットワークの間に位置し、IPv4パケットとIPv6パケットのIPヘッダ変換を行うことにより、IPv4端末とIPv6端末の間の通信を実現するものであり、IP送受信手段10と、IPヘッダ変換手段11と、DNS代行手段13と、IPv4アドレス獲得手段14と、IPアドレス変換情報保持手段15とから構成される。
【0038】
前記IP送受信手段10は、IPv4ネットワークおよびIPv6ネットワークとの間でIPv4パケットおよびIPv6パケットの送受信を行う手段であり、例えばCPUやRAM等の電子デバイスで構成される。
【0039】
前記IPヘッダ変換手段11は、IPv4パケットとIPv6パケットのIPヘッダ変換を行う手段であり、例えばCPUやRAM等の電子デバイスで構成される。
【0040】
前記DNS代行手段13は、RFC1034やRFC1886等に記載されているDNS技術にしたがってIPv4ネットワーク内のDNSサーバあるいはIPv6ネットワーク内のDNSサーバからドメイン情報を獲得する手段であり、例えばCPUやRAM等の電子デバイスで構成される。
【0041】
前記IPv4アドレス獲得手段14は、RFC1541等に記載されているDHCP技術にしたがってIPv4ネットワーク内のDHCPサーバからIPv4アドレスを獲得する手段であり、例えばCPUやRAM等の電子デバイスで構成される。
【0042】
前記IPアドレス変換情報保持手段15は、IPv4アドレスとIPv6アドレスを変換する手段であり、例えばRAM等の電子デバイスで構成される。IPv4アドレスとIPv6アドレスの対応は、IPアドレス変換テーブル151として保持されている。
【0043】
図2は、IPアドレス変換テーブル151の構成図である。
【0044】
IPv4端末と通信するIPv6端末のIPv6アドレスと、それに対して動的に割り当てられたIPv4アドレスとが登録されている。
【0045】
図3は、上記IPv4−IPv6変換装置1aを介してIPv4ネットワーク104とIPv6ネットワーク106とを接続した通信ネットワークシステム100の模式図である。
【0046】
IPv4ネットワーク104には、IPv4端末2のほか、IPv4ネットワーク104内のドメイン情報を管理するDNSv4サーバ3と、IPv4ネットワーク104内の端末に対してIPv4アドレスの動的な割り当てを行うDHCPv4サーバ4とが接続されている。
【0047】
IPv6ネットワーク106には、IPv6端末5のほか、IPv6ネットワーク内のドメイン情報を管理するDNSv6サーバ6が接続されている。
【0048】
ここで、IPv4端末2にはIPv4アドレスとして133.144.95.101が割り当てられ、IPv6端末5にはIPv6アドレスとして1::1が割り当てられているものとする。また、DHCPv4サーバ4には133.144.95.1〜133.144.95.100の100個のIPv4アドレスがプールされているものとする。また、IPv4端末2およびIPv6端末5には、DNSサーバとしてIPv4−IPv6変換装置1aが設定されているものとする。さらに、IPv4−IPv6変換装置1aには、DNSサーバとしてDNSv4サーバ3とDNSv6サーバ6とが設定されると共に、DHCPサーバとしてDHCPv4サーバ4が設定されているものとする。
【0049】
なお、図3では、IPv4ネットワーク104とIPv6ネットワーク106が完全に分離されているが、IPv4ネットワークとIPv6ネットワークが物理的に同一のネットワーク中に混在する場合も同様である。
【0050】
図4,図5は、IPv4端末2からIPv6端末5への通信を開始する場合の動作のフローチャートである。
【0051】
IPv4端末2は、IPv6端末5のドメインネームを知っているが、IPアドレスを知らないので、図4に示すように、IPv6端末5のドメインネームに対応するIPアドレスの問い合わせメッセージ(以下、「メッセージA」と呼ぶ。)をIPv4ネットワーク104経由でIPv4−IPv6変換装置1aへ送信した後、一定時間応答を待つ。
【0052】
IPv4−IPv6変換装置1aのIP送受信手段10は、メッセージAを受信処理してDNS代行手段13に渡す。DNS代行手段13は、メッセージAをDNSv4サーバ3へ転送するようにIP送受信手段10に指示して渡した後、一定時間応答を待つ。IP送受信手段10は、メッセージAをIPv4ネットワーク経由でDNSv4サーバ3に転送する。
【0053】
メッセージAを受信したDNSv4サーバ3は、IPv6端末5のドメイン情報を検索するが、登録されていない場合、メッセージAに対する応答を返さない。
【0054】
一定時間経過してもDNSv4サーバ3からの応答を受けなかったDNS代行手段13は、メッセージAをDNSv6サーバ6へ転送するようにIP送受信手段10に指示して渡した後、一定時間応答を待つ。IP送受信手段10は、メッセージAをIPv6ネットワーク経由でDNSv6サーバ6に転送する。
【0055】
メッセージAを受信したDNSv6サーバ6は、IPv6端末5のドメイン情報を検索し、登録されているIPv6端末5のドメイン情報をメッセージAに対する応答メッセージ(以下、「メッセージB」と呼ぶ。)としてIPv4−IPv6変換装置1aへ返す。 一定時間内にDNSv6サーバ6からの応答を受信したIPv4−IPv6変換装置1aのIP送受信手段10は、受け取ったメッセージBをDNS代行手段13に渡す。DNS代行手段13は、メッセージBからIPv6端末5のドメインネームに対応するIPv6アドレス(1::1)を得て、IPアドレス変換情報保持手段15に渡す。IPアドレス変換情報保持手段15は、IPv6端末5のIPv6アドレス(1::1)をキーとしてIPアドレス変換テーブル151を検索し、該当するエントリが登録されていれば、そのエントリのIPv4アドレスをDNS代行手段13に返す。一方、該当するエントリが未登録であれば、その旨をDNS代行手段13に通知する。
【0056】
IPアドレス変換情報保持手段15からIPv4アドレスを受け取ったDNS代行手段13は、そのIPv4アドレスをIPv6端末5のドメインネームに対応するIPv4アドレスとして通知するメッセージ(以下、「メッセージE」と呼ぶ。)を作成し、これをIP送受信手段10に渡す。IP送受信手段10は、メッセージEをIPv4ネットワーク経由でIPv4端末2に送信する。
【0057】
一方、IPアドレス変換情報保持手段15からエントリが未登録である旨の通知を受けたDNS代行手段13は、IPv4アドレス獲得手段14にIPv4アドレスの獲得を指示した後、一定時間応答を待つ。IPv4アドレス獲得手段14は、IPv4アドレス獲得メッセージ(以下、「メッセージC」と呼ぶ。)を作成し、これをDHCPv4サーバ4へ転送するようにIP送受信手段10に指示して渡した後、一定時間応答を待つ。IP送受信手段10は、メッセージCをIPv4ネットワーク経由でDHCPv4サーバ4に送信する。
【0058】
メッセージCを受けたDHCPv4サーバ4は、IPv6端末5のIPv6アドレス(1::1)にIPv4アドレスを付与し(ここでは、133.144.95.1が付与されたものとする。)、IPv4アドレス付与メッセージ(以下、「メッセージD」と呼ぶ。)を返す。
【0059】
メッセージDを受信したIP送受信手段10は、メッセージDをIPv4アドレス獲得手段14に渡す。IPv4アドレス獲得手段14は、メッセージDからIPv4アドレス(133.144.95.1)を得て、DNS代行手段13に通知する。DNS代行手段13は、IPv4アドレス(133.144.95.1)をIPv6端末5のドメインネームに対応するIPアドレスとして通知するメッセージEを作成し、これをIP送受信手段10に渡す。IP送受信手段10は、メッセージEをIPv4ネットワーク経由でIPv4端末2に送信する。また、DNS代行手段13は、DHCPv4サーバ4から獲得したIPv4アドレス(133.144.95.1)をIPv6端末5のIPv6アドレス(1::1)に対応付けて、IPアドレス変換情報保持手段15に渡す。IPアドレス変換情報保持手段15は、IPアドレス変換テーブル151に新たなエントリを作成し、IPv4アドレス(133.144.95.1)とIPv6端末5のIPv6アドレス(1::1)の対応を登録する。なお、IPアドレス変換テーブル151のエントリは、一定時間参照されない場合は削除され、IPv4アドレス(133.144.95.1)はDHCPv4サーバ4に返却される。
【0060】
図5に示すように、IPv4端末2は、IPv4−IPv6変換装置1aからメッセージEにより通知されたIPv4アドレス(133.144.95.1)をIPv4パケットのIPv4宛先アドレスフィールドにセットすると共に自己のIPv4アドレス(133.144.95.101)をIPv4発信アドレスフィールドにセットしたIPv4パケットを、IPv4ネットワークを介して、IPv4−IPv6変換装置1aへ送信する。
【0061】
IPv4−IPv6変換装置1aのIP送受信手段10は、受信したIPv4パケットをIPヘッダ変換手段11に渡す。IPヘッダ変換手段11は、IPv4パケットのIPv4発信アドレスフィールドからIPv4アドレス(133.144.95.101)を取り出し、前述の96ビット分の固定パターンを追加して128ビットの「IPv4-mapped IPv6アドレス」(::FFFF:133.144.95.101)に変換し、これをIPv6パケットのIPv6発信アドレスフィールドにセットする。また、IPヘッダ変換手段11は、IPv4パケットのIPv4宛先アドレスフィールドからIPv4アドレス(133.144.95.1)を取り出し、これをIPアドレス変換情報保持手段15に渡す。IPアドレス変換情報保持手段15は、IPアドレス変換テーブル151を参照して、IPv4アドレス(133.144.95.1)に対応するIPv6アドレス(1::1)を得て、IPヘッダ変換手段11に渡す。IPヘッダ変換手段11は、IPv6パケットのIPv6宛先アドレスフィールドにIPv6アドレス(1::1)をセットする。そして、このようにIPヘッダ変換を行って作成したIPv6パケットをIP送受信手段10に渡す。IP送受信手段10は、IPv6パケットを、IPv6ネットワークを介して、IPv6端末5へ送信する。
【0062】
以上により、IPv4端末2からIPv6端末5への通信を開始することが出来る。
【0063】
図6,図7は、IPv6端末5からIPv4端末2への通信を開始する場合の動作のフローチャートである。
【0064】
IPv6端末5は、IPv4端末2のドメインネームを知っているが、IPアドレスを知らないので、図6に示すように、IPv4端末2のドメインネームに対応するIPアドレスの問い合わせメッセージ(以下、「メッセージK」と呼ぶ。)をIPv6ネットワーク106経由でIPv4−IPv6変換装置1aへ送信した後、一定時間応答を待つ。
【0065】
IPv4−IPv6変換装置1aのIP送受信手段10は、メッセージKを受信処理してDNS代行手段13に渡す。DNS代行手段13は、メッセージKをDNSv6サーバ6へ転送するようにIP送受信手段10に指示して渡した後、一定時間応答を待つ。IP送受信手段10は、メッセージKをIPv6ネットワーク経由でDNSv6サーバ6に転送する。
【0066】
メッセージKを受信したDNSv6サーバ6は、IPv4端末2のドメイン情報を検索するが、登録されていない場合、メッセージKに対する応答を返さない。
【0067】
一定時間経過してもDNSv6サーバ6からの応答を受けなかったDNS代行手段13は、メッセージKをDNSv4サーバ3へ転送するようにIP送受信手段10に指示して渡した後、一定時間応答を待つ。IP送受信手段10は、メッセージKをIPv4ネットワーク経由でDNSv4サーバ3に転送する。
【0068】
メッセージKを受信したDNSv4サーバ3は、IPv4端末2のドメイン情報を検索し、登録されているIPv4端末2のドメイン情報をメッセージKに対する応答メッセージ(以下、「メッセージL」と呼ぶ。)としてIPv4−IPv6変換装置1aへ返す。
【0069】
一定時間内にDNSv4サーバ3からの応答を受信したIPv4−IPv6変換装置1aのIP送受信手段10は、受け取ったメッセージLをDNS代行手段13に渡す。DNS代行手段13は、メッセージLからIPv4端末2のドメインネームに対応するIPv4アドレス(133.144.95.101)を得る。
【0070】
次に、DNS代行手段13は、IPv6端末5のIPv6アドレス(1::1)をIPアドレス変換情報保持手段15に渡す。IPアドレス変換情報保持手段15は、IPv6端末5のIPv6アドレス(1::1)をキーとしてIPアドレス変換テーブル151を検索し、該当するエントリが登録されているか否かDNS代行手段13に通知する。
【0071】
IPv6端末5のIPv6アドレス(1::1)に該当するエントリが未登録である旨の通知を受け取ったDNS代行手段13は、IPv4アドレスの獲得をIPv4アドレス獲得手段14に指示した後、一定時間応答を待つ。IPv4アドレス獲得手段14は、IPv4アドレス獲得メッセージ(以下、「メッセージM」と呼ぶ。)を作成して、これをDHCPv4サーバ4へ転送するようにIP送受信手段10に指示して渡した後、一定時間応答を待つ。IP送受信手段10は、メッセージMをIPv4ネットワーク経由でDHCPv4サーバ4に送信する。
【0072】
メッセージMを受けたDHCPv4サーバ4は、IPv6端末5のIPv6アドレス(1::1)にIPv4アドレスを付与し(ここでは、133.144.95.1が付与されたものとする。)、IPv4アドレス付与メッセージ(以下、「メッセージN」と呼ぶ。)を返す。
【0073】
メッセージNを受信したIP送受信手段10は、メッセージNをIPv4アドレス獲得手段14に渡す。IPv4アドレス獲得手段14は、メッセージNからIPv4アドレス(133.144.95.1)を得て、DNS代行手段13に通知する。DNS代行手段13は、DHCPv4サーバ4から獲得したIPv4アドレス(133.144.95.1)をIPv6端末5のIPv6アドレス(1::1)に対応付けて、IPアドレス変換情報保持手段15に渡す。IPアドレス変換情報保持手段15は、IPアドレス変換テーブル151に新たなエントリを作成し、IPv4アドレス(133.144.95.1)とIPv6端末5のIPv6アドレス(1::1)の対応を登録する。なお、IPアドレス変換テーブル151のエントリは、一定時間参照されない場合は削除され、IPv4アドレス(133.144.95.1)はDHCPv4サーバ4に返却される。
【0074】
IPv6端末5のIPv6アドレス(1::1)に該当するエントリが登録されている旨の通知を受け取るか又はIPv6端末5のIPv6アドレス(1::1)に該当するエントリの登録を完了すると、DNS代行手段13は、IPv4端末2のIPv4アドレス(133.144.95.101)をセットした「IPv4-mapped IPv6アドレス」(::FFFF:133.144.95.101)をIPv4端末2のドメインネームに対応するIPアドレスとして通知するメッセージ(以下、「メッセージP」と呼ぶ。)を作成して、これをIPv6端末5へ転送するようにIP送受信手段10に指示して渡す。IP送受信手段10は、メッセージPをIPv6ネットワーク経由でIPv6端末5に送信する。
【0075】
図7に示すように、IPv6端末5は、IPv4−IPv6変換装置1aから通知されたIPv6アドレス(::FFFF:133.144.95.101)をIPv6パケットのIPv6宛先アドレスフィールドにセットし、自己のIPv6アドレス(1::1)をIPv6発信アドレスフィールドにセットしたIPv6パケットを、IPv6ネットワークを介して、IPv4−IPv6変換装置1aへ送信する。
【0076】
IPv4−IPv6変換装置1aのIP送受信手段10は、受信したIPv6パケットをIPヘッダ変換手段11に渡す。IPヘッダ変換手段11は、IPv6パケットのIPv6宛先アドレスフィールドからIPv6アドレス(::FFFF:133.144.95.101)を取り出し、前述の96ビット分の固定パターンを削除して32ビットのIPv4アドレス」(133.144.95.101)に変換し、これをIPv4パケットのIPv4宛先アドレスフィールドにセットする。また、IPヘッダ変換手段11は、IPv6パケットのIPv6発信アドレスフィールドからIPv6アドレス(1::1)を取り出し、これをIPアドレス変換情報保持手段15に渡す。IPアドレス変換情報保持手段15は、IPアドレス変換テーブル151を参照して、IPv6アドレス(1::1)に対応するIPv4アドレス(133.144.95.1)を得て、IPヘッダ変換手段11に渡す。IPヘッダ変換手段11は、IPv4パケットのIPv4発信アドレスフィールドにIPv4アドレス(133.144.95.1)をセットする。そして、このようにIPヘッダ変換を行って作成したIPv4パケットをIP送受信手段10に渡す。IP送受信手段10は、IPv4パケットを、IPv4ネットワークを介して、IPv4端末2へ送信する。
【0077】
以上により、IPv6端末5からIPv4端末2への通信を開始することが出来る。
【0078】
なお、上記では、IPv4ドメイン情報がDNSv4サーバ3に登録されている場合について説明したが、IPv4ドメイン情報をDNSv6サーバ6に登録しておいてもよい。この場合、IPv4−IPv6変換装置1aは、IPv6プロトコルを用いてDNSv6サーバ6と通信することによりIPv4ドメイン情報を獲得する。また、同様に、IPv6ドメイン情報をDNSv4サーバ3に登録しておいてもよい。この場合、IPv4−IPv6変換装置1aは、IPv4プロトコルを用いてDNSv4サーバ3と通信することによりIPv6ドメイン情報を獲得する。
【0079】
これは言い換えると、IPv4ネットワーク104とIPv6ネットワーク106が別々のドメインである場合について説明したが、IPv4ネットワーク104とIPv6ネットワーク106が一つの同じドメイン内に混在した状態でドメイン情報を一台のDNSサーバで管理しても良い。
【0080】
また、IPv4端末2からIPv6端末5への通信を開始する場合、IPv4−IPv6変換装置1aは、IPv6端末5のドメインネームに対するIPアドレスの問い合わせメッセージAを受け取ると、DNSv4サーバ3にメッセージAを転送、すなわちDNSv4サーバ3に対してIPv4アドレスの問い合わせを行っているが、これに合わせてDNSv4サーバ3に対してIPv6アドレスの問い合わせを行っても良い。同様に、DNSv6サーバ6にメッセージAを転送、すなわちDNSv6サーバ6に対してIPv6アドレスの問い合わせを行っているが、これに合わせてDNSv6サーバ6に対してIPv4アドレスの問い合わせを行っても良い。
【0081】
また、IPv6端末5からIPv4端末2への通信を開始する場合、IPv4−IPv6変換装置1aは、IPv4端末2のドメインネームに対するIPアドレスの問い合わせメッセージKを受け取ると、DNSv6サーバ6にメッセージKを転送、すなわちDNSv6サーバ6に対してIPv6アドレスの問い合わせを行っているが、これに合わせてDNSv6サーバ6に対してIPv4アドレスの問い合わせを行っても良い。同様に、DNSv4サーバ3にメッセージKを転送、すなわちDNSv4サーバ3に対してIPv4アドレスの問い合わせを行っているが、これに合わせてDNSv4サーバ3に対してIPv6アドレスの問い合わせを行っても良い。
【0082】
また、IPv4端末2からIPv6端末5への通信を開始する場合、IPv4−IPv6変換装置1aは、IPv6端末5のドメインネームに対するIPアドレスの問い合わせメッセージAを受け取ると、先ずDNSv4サーバ3にメッセージAを転送し、一定時間待って回答が得られない場合にDNSv6サーバ6にメッセージAを転送する場合について説明したが、DNSv4サーバ3とDNSv6サーバ6の両方に同時にメッセージAを転送しても良い。また、IPv6端末5のドメインネームからそのドメイン情報がDNSv6サーバ6で管理されていると判断可能な場合あるいはDNSv4サーバ3で管理されていないと判断可能な場合は、DNSv6サーバ6だけにメッセージAを転送しても良い。また、DNSv4サーバ3にメッセージAを転送して該当エントリ無しの回答が得られた場合に、DNSv6サーバ6にメッセージAを転送しても良い。
【0083】
また、IPv6端末5からIPv4端末2への通信を開始する場合、IPv4−IPv6変換装置1aは、IPv4端末2のドメインネームに対するIPアドレスの問い合わせメッセージKを受け取ると、先ずDNSv6サーバ6にメッセージKを転送し、一定時間待って回答が得られない場合にDNSv4サーバ3にメッセージKを転送する場合について説明したが、DNSv6サーバ6とDNSv4サーバ3の両方に同時にメッセージKを転送しても良い。また、IPv4端末2のドメインネームからそのドメイン情報がDNSv4サーバ3で管理されていると判断可能な場合あるいはDNSv6サーバ6で管理されていないと判断可能な場合は、DNSv4サーバ3だけにメッセージKを転送しても良い。また、DNSv6サーバ6にメッセージKを転送して該当エントリ無しの回答が得られた場合に、DNSv4サーバ3にメッセージKを転送しても良い。
【0084】
また、IPv6端末5からIPv4端末2への通信を開始する場合、IPv4アドレスをDHCPv4サーバ4から獲得しIPv6端末5のIPv6アドレスと対応付けてIPアドレス変換テーブル115に登録する処理を、IPv4端末2のドメインネームに対応するIPアドレスの問い合わせメッセージKをIPv6端末5から受けたときに行っているが、図7において、IPv4−IPv6変換装置1aがIPv6端末5から送られてきたIPv6パケットをIPv4パケットにIPヘッダ変換して中継するときに行っても良い。このようにすることにより、IPv6端末5からIPv4−IPv6変換装置1aへのドメイン情報問い合わせが直接行われなかったとき、すなわち他のDNSサーバ経由で行われた場合にも対応できる。
【0085】
また、IPv6ネットワーク内におけるIPv4端末2のIPアドレスとして、IPv4端末のIPv4アドレスに前述の96ビット分の固定パターンを追加した128ビットの「IPv4-mapped IPv6アドレス」を用いる場合について説明したが、IPv6ネットワーク106内にDHCPサーバを設けるとともに、IPv4−IPv6変換装置1aの内部にIPv6アドレス獲得手段を設けてIPv6アドレス獲得し、IPv4端末2のIPv4アドレスと対応付け、そのIPv6アドレスを用いても良い。具体的には、IPv4端末2からIPv6端末5への通信を開始する場合は、図5において、IPv4−IPv6変換装置1aがIPv4端末2から送られてきたIPv4パケットをIPv6パケットにIPヘッダ変換して中継するとき、IPv4パケットの宛先アドレスと同様、発信アドレスでIPアドレス変換情報保持手段15のIPアドレス変換テーブル151を検索し、該当エントリのIPv6アドレスに変換する。このとき該当エントリがなければ、IPv6ネットワーク106内のDHCPサーバからIPv6アドレスを獲得し、IPv4パケットの発信アドレスと対応付けてIPアドレス変換テーブル151に登録するとともに、そのIPv6アドレスに変換する。一方、IPv6端末5からIPv4端末2への通信を開始する場合は、図6において、IPv4−IPv6変換装置1aがメッセージLによってIPv4端末2のIPv4アドレスを得たとき、このIPv4アドレスでIPアドレス変換情報保持手段15のIPアドレス変換テーブル151を検索し、該当エントリのIPv6アドレスをメッセージPとして返す。このとき該当エントリがなければ、IPv6ネットワーク106内のDHCPサーバからIPv6アドレスを獲得し、IPv4端末2のIPv4アドレスと対応付けてIPアドレス変換テーブル151に登録するとともに、そのIPv6アドレスをメッセージPとして返す。さらに図7のIPv4−IPv6変換装置1aがIPv6端末5から送られてきたIPv6パケットをIPv4パケットにIPヘッダ変換して中継するとき、IPv6パケットの発信アドレスと同様、宛先アドレスでIPアドレス変換情報保持手段15のIPアドレス変換テーブル151を検索し、該当エントリのIPv4アドレスに変換する。
【0086】
また、IPアドレス変換テーブル151のエントリについては、一定時間参照されなかったときに削除する場合を用いて説明したが、コネクション通信に対して登録したエントリについてはコネクション切断後すぐに削除しても良い。
【0087】
また、IPv4アドレスについてはグローバルアドレスを用いて説明したが、RFC1918記載のプライベートアドレスを用いても良い。同様に、IPv6アドレスについてもグローバルアドレスを用いて説明したが、RFC1884記載のサイトローカルアドレスまたはリンクローカルアドレスを用いても良い。
【0088】
また、アドレスの変換については前述の96ビット分の固定パターン追加・削除あるいはIPアドレス変換テーブル151を参照することによりアドレスフィールド単独で行う場合を用いて説明したが、通信を開始した端末側のアドレスについては、IPマスカレードと呼ばれる手法を用いて、通信を開始した端末側のアドレスとTCP(Transmission Control Protocol)/UDP(User Datagram Protocol)のポート番号の組合せを、IPv4−IPv6変換装置のアドレスとTCP/UDPのポート番号の組み合わせとの変換を行っても良い。
【0089】
また、IPアドレス変換テーブル151のエントリの登録および削除は、IPv4−IPv6変換装置1aがDNSv4サーバ3、DNSv6サーバ6およびDHCPv4サーバ4と連携して自動的に行っているが、IPv4−IPv6変換装置1aの管理端末を設けて管理者が手動で行うようにしても良い。
【0090】
また、IPv4−IPv6変換装置1aがIPアドレス変換テーブル151のエントリの登録および削除を自動的に行う場合でも、管理者の設定によって登録および削除できる
エントリに制限を加えられるようにしても良い。具体的には、あるIPv4端末のIPアドレス(例えば、133.144.96.101)はIPアドレス変換テーブル151に登録できないように制限を加えることにより、IPv6ネットワークからこのIPv4端末にアクセスできないようにしても良い。
【0091】
(B)第2の実施形態
図8は、本発明の第2の実施形態にかかるIPv4−IPv6変換装置1bの構成図である。
【0092】
このIPv4−IPv6変換装置1bは、図1のIPv4−IPv6変換装置1aに、IPv4アドレスプール手段16を追加した構成である。
【0093】
IPv4−IPv6変換装置1bの立ち上げ時等に、IPv4アドレス獲得手段14は、DHCPv4サーバ4から複数個のIPv4アドレスを一括して獲得し、それらをIPv4アドレスプール手段16にプールしておく。そして、IPv4端末2とIPv6端末5の通信の開始時に、IPv4アドレス獲得手段14は、IPv4アドレスプール手段16からIPv4アドレスを取得する。
【0094】
このIPv4−IPv6変換装置1bを用いれば、DHCPv4サーバ4からIPv4アドレスを一つずつ獲得するよりもIPv4ネットワーク104の負荷を軽減できる。
【0095】
(C)第3の実施形態
図9は、本発明の第3の実施形態にかかるIPv4−IPv6変換装置1cの構成図である。
【0096】
このIPv4−IPv6変換装置1cは、図1のIPv4−IPv6変換装置1aのIPv4アドレス獲得手段14の代りに、DHCPv4サーバ手段17を設けた構成である。
【0097】
このIPv4−IPv6変換装置1cを用いれば、DHCPv4サーバ4を別個に設ける必要がなくなる。
【0098】
(D)第4の実施形態
図10は、本発明の第4の実施形態にかかるIPv4−IPv6変換装置1dの構成図である。
【0099】
このIPv4−IPv6変換装置1dは、図1のIPv4−IPv6変換装置1aに、DNSv4サーバ手段18とDNSv6サーバ手段19とを追加した構成である。
【0100】
このIPv4−IPv6変換装置1dを用いれば、DNSv4サーバ3やDNSv6サーバ6を別個に設ける必要がなくなる。
【0101】
(E)第5の実施形態
次に図11,図12,図13を用いて、第5の実施形態について説明する。
【0102】
図11は、IPv4ネットワーク104を挟んでIPv6ネットワーク106とIPv6ネットワーク107を接続した通信ネットワークシステム108の模式図である。この通信ネットワークシステム108は、図3の通信ネットワークシステム100にIPv6ネットワーク107を追加した構成である。IPv6ネットワーク107は、IPv4−IPv6変換装置111によってIPv4ネットワーク104と接続されている。
【0103】
IPv6ネットワーク107には、IPv6端末115のほか、IPv6ネットワーク107内のドメイン情報を管理するDNSv6サーバ116とが接続されている。
【0104】
ここで、IPv6端末115にはIPv6アドレスとして2::1が割り当てられているものとする。また、DHCPv4サーバ4には133.144.95.1〜133.144.95.100の100個のIPv4アドレスに加えて、133.144.96.1〜133.144.96.100の100個のIPv4アドレスがプールされているものとする。また、IPv6端末115には、DNSサーバとしてIPv4−IPv6変換装置111が設定されているものとする。また、IPv4−IPv6変換装置111には、DNSサーバとしてDNSv6サーバ116が設定されると共に、DHCPサーバとしてDHCPv4サーバ4が設定されているものとする。また、IPv4−IPv6変換装置1には、上位ドメインのDNSサーバとしてIPv4−IPv6変換装置111が設定されているものとする。
【0105】
図12,図13は、IPv6端末5からIPv6端末115への通信を開始する場合の動作のフローチャートである。
【0106】
IPv6端末5は、IPv6端末115のドメインネームを知っているが、IPアドレスを知らないので、図12に示すように、IPv6端末115のドメインネームに対応するIPアドレスの問い合わせメッセージ(以下、「メッセージQ」と呼ぶ。)をIPv6ネットワーク106経由でIPv4−IPv6変換装置1へ送信した後、一定時間応答を待つ。
【0107】
IPv4−IPv6変換装置1のIP送受信手段10は、メッセージQを受信処理してDNS代行手段13に渡す。DNS代行手段13は、メッセージQをIPv4−IPv6変換装置111へ転送するようにIP送受信手段10に指示して渡した後、一定時間応答を待つ。IP送受信手段10は、メッセージQをIPv4ネットワーク経由でIPv4−IPv6変換装置111に転送する。
【0108】
IPv4−IPv6変換装置111のIP送受信手段10は、メッセージQを受信処理してDNS代行手段13に渡す。DNS代行手段13は、メッセージQをDNSv6サーバ116へ転送するようにIP送受信手段10に指示して渡した後、一定時間応答を待つIP送受信手段10は、メッセージQをIPv6ネットワーク経由でDNSv6サーバ116に転送する。
【0109】
メッセージQを受信したDNSv6サーバ116は、IPv6端末115のドメイン情報を検索し、登録されているIPv6端末115のドメイン情報をメッセージQに対する応答メッセージ(以下、「メッセージR」と呼ぶ。)としてIPv4−IPv6変換装置111へ返す。
【0110】
一定時間内にDNSv6サーバ116からの応答を受信したIPv4−IPv6変換装置111のIP送受信手段10は、受け取ったメッセージRをDNS代行手段13に渡す。DNS代行手段13は、メッセージRからIPv6端末115のドメインネームに対応するIPv6アドレス(2::1)を得て、IPアドレス変換情報保持手段15に渡す。IPアドレス変換情報保持手段15は、IPv6端末115のIPv6アドレス(2::1)をキーとしてIPアドレス変換テーブル151を検索し、該当するエントリが登録されていれば、そのエントリのIPv4アドレスをDNS代行手段13に返す。一方、該当するエントリが未登録であれば、その旨をDNS代行手段13に通知する。
【0111】
IPアドレス変換情報保持手段15からIPv4アドレスを受け取ったDNS代行手段13は、そのIPv4アドレスをIPv6端末115のドメインネームに対応するIPv4アドレスとして通知するメッセージ(以下、「メッセージU」と呼ぶ。)を作成し、これをIP送受信手段10に渡す。IP送受信手段10は、メッセージUをIPv4ネットワーク経由でIPv4−IPv6変換装置1に送信する。
【0112】
一方、IPアドレス変換情報保持手段15からエントリが未登録である旨の通知を受けたDNS代行手段13は、IPv4アドレス獲得手段14にIPv4アドレスの獲得を指示した後、一定時間応答を待つ。IPv4アドレス獲得手段14は、IPv4アドレス獲得メッセージ(以下、「メッセージS」と呼ぶ。)を作成し、これをDHCPv4サーバ4へ転送するようにIP送受信手段10に指示して渡した後、一定時間応答を待つ。IP送受信手段10は、メッセージSをIPv4ネットワーク経由でDHCPv4サーバ4に送信する。
【0113】
メッセージSを受けたDHCPv4サーバ4は、IPv6端末115のIPv6アドレス(2::1)にIPv4アドレスを付与し(ここでは、133.144.96.1が付与されたものとする。)、IPv4アドレス付与メッセージ(以下、「メッセージT」と呼ぶ。)を返す。
【0114】
メッセージTを受信したIP送受信手段10は、メッセージTをIPv4アドレス獲得手段14に渡す。IPv4アドレス獲得手段14は、メッセージTからIPv4アドレス(133.144.96.1)を得て、DNS代行手段13に通知する。DNS代行手段13は、IPv4アドレス(133.144.96.1)をIPv6端末115のドメインネームに対応するIPアドレスとして通知するメッセージUを作成し、これをIP送受信手段10に渡す。IP送受信手段10は、メッセージUをIPv4ネットワーク経由でIPv4−IPv6変換装置1に送信する。また、DNS代行手段13は、DHCPv4サーバ4から獲得したIPv4アドレス(133.144.96.1)をIPv6端末115のIPv6アドレス(2::1)に対応付けて、IPアドレス変換情報保持手段15に渡す。IPアドレス変換情報保持手段15は、IPアドレス変換テーブル151に新たなエントリを作成し、IPv4アドレス(133.144.96.1)とIPv6端末115のIPv6アドレス(2::1)の対応を登録する。なお、IPアドレス変換テーブル151のエントリは、一定時間参照されない場合は削除され、IPv4アドレス(133.144.96.1)はDHCPv4サーバ4に返却される。
【0115】
一定時間内にIPv4−IPv6変換装置111からの応答を受信したIPv4−IPv6変換装置1のIP送受信手段10は、受け取ったメッセージUをDNS代行手段13に渡す。DNS代行手段13は、メッセージUからIPv6端末115のドメインネームに対応するIPv4アドレス(133.144.96.1)を得る。DNS代行手段13は、メッセージUから得たIPv4アドレス(133.144.96.1)をセットした「IPv4-mapped IPv6アドレス」(::FFFF:133.144.96.1)をIPv6端末115のドメインネームに対応するIPアドレスとして通知するメッセージ(以下、「メッセージV」と呼ぶ。)を作成して、これをIPv6端末5へ転送するようにIP送受信手段10に指示して渡す。IP送受信手段10は、メッセージVをIPv6ネットワーク経由でIPv6端末5に送信する。
【0116】
図13に示すように、IPv6端末5は、IPv4−IPv6変換装置1から通知されたIPv6アドレス(::FFFF:133.144.96.1)をIPv6パケットのIPv6宛先アドレスフィールドにセットし、自己のIPv6アドレス(1::1)をIPv6発信アドレスフィールドにセットしたIPv6パケットを、IPv6ネットワークを介して、IPv4−IPv6変換装置1へ送信する。
【0117】
IPv4−IPv6変換装置1のIP送受信手段10は、受信したIPv6パケットをIPヘッダ変換手段11に渡す。IPヘッダ変換手段11は、IPv6パケットのIPv6宛先アドレスフィールドからIPv6アドレス(::FFFF:133.144.96.1)を取り出し、前述の96ビット分の固定パターンを削除して32ビットのIPv4アドレス」(133.144.96.1)に変換し、これをIPv4パケットのIPv4宛先アドレスフィールドにセットする。また、IPヘッダ変換手段11は、IPv6パケットのIPv6発信アドレスフィールドからIPv6アドレス(1::1)を取り出し、これをIPアドレス変換情報保持手段15に渡す。
【0118】
IPアドレス変換情報保持手段15は、IPv6端末5のIPv6アドレス(1::1)をキーとしてIPアドレス変換テーブル151を検索し、該当するエントリが登録されているか否かIPヘッダ変換手段11に通知する。
【0119】
IPv6端末5のIPv6アドレス(1::1)に該当するエントリが未登録である旨の通知を受け取ったIPヘッダ変換手段11は、IPv4アドレスの獲得をIPv4アドレス獲得手段14に指示した後、一定時間応答を待つ。IPv4アドレス獲得手段14は、IPv4アドレス獲得メッセージ(以下、「メッセージW」と呼ぶ。)を作成して、これをDHCPv4サーバ4へ転送するようにIP送受信手段10に指示して渡した後、一定時間応答を待つ。IP送受信手段10は、メッセージWをIPv4ネットワーク経由でDHCPv4サーバ4に送信する。
【0120】
メッセージWを受けたDHCPv4サーバ4は、IPv6端末5のIPv6アドレス(1::1)にIPv4アドレスを付与し(ここでは、133.144.95.1が付与されたものとする。)、IPv4アドレス付与メッセージ(以下、「メッセージX」と呼ぶ。)を返す。
【0121】
メッセージXを受信したIP送受信手段10は、メッセージXをIPv4アドレス獲得手段14に渡す。IPv4アドレス獲得手段14は、メッセージXからIPv4アドレス(133.144.95.1)を得て、IPヘッダ変換手段11に通知する。IPヘッダ変換手段11は、DHCPv4サーバ4から獲得したIPv4アドレス(133.144.95.1)をIPv6端末5のIPv6アドレス(1::1)に対応付けて、IPアドレス変換情報保持手段15に渡す。IPアドレス変換情報保持手段15は、IPアドレス変換テーブル151に新たなエントリを作成し、IPv4アドレス(133.144.95.1)とIPv6端末5のIPv6アドレス(1::1)の対応を登録する。なお、IPアドレス変換テーブル151のエントリは、一定時間参照されない場合は削除され、IPv4アドレス(133.144.95.1)はDHCPv4サーバ4に返却される。
【0122】
IPv6端末5のIPv6アドレス(1::1)に該当するエントリが登録されている旨の通知を受け取るか又はIPv6端末5のIPv6アドレス(1::1)に該当するエントリの登録を完了すると、IPヘッダ変換手段11は、IPv4パケットのIPv4発信アドレスフィールドにIPv4アドレス(133.144.95.1)をセットする。そして、このようにIPヘッダ変換を行って作成したIPv4パケットをIP送受信手段10に渡す。IP送受信手段10は、IPv4パケットを、IPv4ネットワークを介して、IPv4−IPv6変換装置111へ送信する。
【0123】
IPv4−IPv6変換装置111のIP送受信手段10は、受信したIPv4パケットをIPヘッダ変換手段11に渡す。IPヘッダ変換手段11は、IPv4パケットのIPv4発信アドレスフィールドからIPv4アドレス(133.144.95.1)を取り出し、前述の96ビット分の固定パターンを追加して128ビットの「IPv4-mapped IPv6アドレス」(::FFFF:133.144.95.1)に変換し、これをIPv6パケットのIPv6発信アドレスフィールドにセットする。また、IPヘッダ変換手段11は、IPv4パケットのIPv4宛先アドレスフィールドからIPv4アドレス(133.144.96.1)を取り出し、これをIPアドレス変換情報保持手段15に渡す。IPアドレス変換情報保持手段15は、IPアドレス変換テーブル151を参照して、IPv4アドレス(133.144.96.1)に対応するIPv6アドレス(2::1)を得て、IPヘッダ変換手段11に渡す。IPヘッダ変換手段11は、IPv6パケットのIPv6宛先アドレスフィールドにIPv6アドレス(2::1)をセットする。そして、このようにIPヘッダ変換を行って作成したIPv6パケットをIP送受信手段10に渡す。IP送受信手段10は、IPv6パケットを、IPv6ネットワークを介して、IPv6端末115へ送信する。
【0124】
以上により、IPv6端末5からIPv6端末115への通信を開始することが出来る。
【0125】
なお、上記では、IPv6端末5からIPv6端末115への通信を開始する場合について説明したが、IPv6端末115からIPv6端末5への通信を開始する場合も同様である。
【0126】
また、上記では、通信経路上にIPv4ネットワークがある場合の二台のIPv6端末の間の通信を用いて説明したが、通信経路上にIPv6ネットワークがある場合の二台のIPv4端末の間の通信でも同様である。
【0127】
また、上記では、通信経路上にIPv4ネットワークが一つだけある場合の二台のIPv6端末の間の通信を用いて説明したが、通信経路上に複数のIPv4ネットワークおよびIPv6ネットワークがある場合の二台のIPv6端末の間の通信、二台のIPv4端末の間の通信、およびIPv4端末とIPv6端末の間の通信でも同様である。
【0128】
【発明の効果】
本発明のIPv4−IPv6通信方法およびIPv4−IPv6変換装置によれば、IPv6端末にIPv6プロトコルのみを実装し、予め固定でIPv4アドレスを割り当てなくても、IPv4端末とIPv6端末の間の通信ができるようになる。さらに、実際のIPアドレスでなくドメインネームで相手を指定できるので、互いに相手が通信プロトコルとしてIPv4を使用しているのか、それともIPv6を使用しているのか意識しないで通信ができるようになる。
【0129】
また、IPv4アドレスとIPv6アドレスの変換用テーブルのエントリの登録および削除に対して、管理者の設定によって制限を加えることにより、IPv4ネットワークとIPv6ネットワークの間のファイアウォールになることもできる。
【0130】
また、予め特別な設定を行わなくても、IPv4ネットワークで隔てられた二台のIPv6端末の間の通信ができるようになる。同様に、予め特別な設定を行わなくても、IPv6ネットワークで隔てられた二台のIPv4端末の間の通信ができるようになる。
【0131】
さらに、予め特別な設定を行わなくても、複数のIPv4ネットワークおよびIPv6ネットワークで隔てられたIPv4端末同士間の通信、IPv6端末同士間の通信、およびIPv4端末とIPv6端末の間の通信ができるようになる。
【図面の簡単な説明】
【図1】 本発明の第1実施形態に係るIPv4−IPv6変換装置の構成図である。
【図2】 IPアドレス変換テーブルの構成図である。
【図3】 本発明の第1実施形態に係る通信ネットワークシステムの構成図である。
【図4】 本発明の第1実施形態に係るIPv4−IPv6変換装置を介してIPv4端末からIPv6端末へ通信を開始する場合のフローチャートである。
【図5】 図4の続きのフローチャートである。
【図6】 本発明の第1実施形態に係るIPv4−IPv6変換装置を介してIPv6端末からIPv4端末へ通信を開始する場合のフローチャートである。
【図7】 図6の続きのフローチャートである。
【図8】 本発明の第2実施形態に係るIPv4−IPv6変換装置の構成図である。
【図9】 本発明の第3実施形態に係るIPv4−IPv6変換装置の構成図である。
【図10】 本発明の第4実施形態に係るIPv4−IPv6変換装置の構成図である。
【図11】 本発明の第5実施形態に係る通信ネットワークシステムの構成図である。
【図12】 本発明の第5実施形態に係るIPv4−IPv6変換装置を介してIPv6端末同士が通信する場合のフローチャートである。
【図13】 図12の続きのフローチャートである。
【符号の説明】
1,1a,1b,1c,1d,111…IPv4−IPv6変換装置、2…IPv4端末、3…DNSv4サーバ、4…DHCPv4サーバ、5,115…IPv6端末、6,116…DNSv6サーバ、10…IP送受信手段、11…IPヘッダ変換手段、13…DNS代行手段、14…IPv4アドレス獲得手段、15…IPアドレス変換情報保持手段、16…IPv4アドレスプール手段、17…DHCPサーバ手段、18…DNSv4サーバ手段、19…DNSv6サーバ手段、100,108…通信ネットワークシステム、104…IPv4ネットワーク、106,107…IPv6ネットワーク。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an IPv4-IPv6 communication method and an IPv4-IPv6 conversion apparatus, and in particular, an IPv4 terminal using IPv4 (Internet Protocol version 4) as a communication protocol and IPv6 (Internet Protocol version 6) as a communication protocol. The present invention relates to a method and an apparatus for realizing communication between terminals.
[0002]
[Prior art]
As a method for realizing communication between an IPv4 terminal and an IPv6 terminal, “IPv4-mapped IPv6 address” and “IPv4-compatible” described in RFC (Request For Comments) 1884 issued by IETF (Internet Engineering Task Force). A method using an “IPv6 address” is conceivable.
[0003]
In the “IPv4-mapped IPv6 address”, among 128 bits of the IPv6 address, “0” is set to the 127th to 48th bits, “1” is set to the 47th to 32nd bits, and the 31st This is an IPv6 address in which “IPv4 address” is set in bits to 0th bit.
[0004]
In the “IPv4-compatible IPv6 address”, among the 128 bits of the IPv6 address, “0” is set in the 127th to 32nd bits, and “IPv4 address” is set in the 31st to 0th bits. IPv6 address.
[0005]
When communication is performed between an IPv4 terminal and an IPv6 terminal, an IPv4 address is fixedly assigned in advance to the IPv6 terminal that communicates with the IPv4 terminal. In addition, a packet conversion device that converts the IP header and performs mutual conversion between the IPv4 packet (RFC791) and the IPv6 packet (RFC1883) is provided in the middle of the path of communication between the IPv4 terminal and the IPv6 terminal.
[0006]
In the IPv4 network, communication is performed using an IPv4 packet using the IPv4 address of the IPv4 terminal and the IPv4 address assigned to the IPv6 terminal. Further, in the IPv6 network, the above “IPv4-mapped IPv6 address” in which “IPv4 address of IPv4 terminal” is set as the IPv6 address of the IPv4 terminal is used, and “IPv4 address assigned to the IPv6 terminal” is used as the IP address of the IPv6 terminal. “IPv4-compatible IPv6 address” set with “” is set, and communication is performed using an IPv6 packet. The packet conversion device converts the “IPv4-mapped IPv6 address” included in the IPv6 packet into an “IPv4 address of the IPv4 terminal”, and the “IPv4-compatible IPv6 address” is assigned to the “IPv6 terminal”. By converting to “IPv4 address”, the IPv6 packet is converted into an IPv4 packet.
[0007]
Conversely, the “IPv4 address of the IPv4 terminal” included in the IPv4 packet is converted into the “IPv4-mapped IPv6 address”, and the “IPv4 address assigned to the IPv6 terminal” is converted to the “IPv4-compatible IPv6 address”. To convert an IPv4 packet into an IPv6 packet. This enables communication between the IPv4 terminal and the IPv6 terminal.
[0008]
IETF has also proposed a method called dual stack as a method for realizing communication between an IPv4 terminal and an IPv6 terminal. According to this method, IPv6 terminals implement both IPv4 and IPv6 communication protocols, communicate with each other using IPv6 protocol, and communicate with IPv4 terminals using the IPv4 protocol. This enables communication between the IPv4 terminal and the IPv6 terminal.
[0009]
IETF has also proposed a method called IP tunneling. In this method, when there is an IPv4 network on a communication path between two IPv6 terminals and communication cannot be performed directly using an IPv6 packet, the IPv4 header is encapsulated to pass through the IPv4 network. Similarly, when there is an IPv6 network on a communication path between IPv4 terminals and communication cannot be performed directly using an IPv4 packet, the IPv6 header is encapsulated to pass through the IPv6 network. This enables communication between IPv6 terminals even when there is an IPv4 network on the communication path. Similarly, communication between IPv4 terminals is possible even when there is an IPv6 network on the communication path.
[0010]
[Problems to be solved by the invention]
In the above method, communication between the IPv4 terminal and the IPv6 terminal can be realized by a simple operation of adding a fixed pattern for 96 bits to the IPv4 address or deleting the fixed pattern for 96 bits from the IPv6 address.
[0011]
In the method called dual stack, communication between the IPv4 terminal and the IPv6 terminal can be realized by using different IPv4 and IPv6 communication protocols depending on the communication partner.
[0012]
In a method called IP tunneling, communication between the two terminals can be realized by encapsulating and passing the network on the communication path of the two terminals with the header of the communication protocol.
[0013]
However, the above technique has the following problems.
[0014]
The first problem is that IPv4 addresses must be fixedly assigned to all IPv6 terminals that may communicate with IPv4 terminals. This further consumes depleted IPv4 addresses and accelerates depletion.
[0015]
The second problem is that it is impossible to refer to each other's domain information (for example, an IP address corresponding to the domain name) between the IPv4 network and the IPv6 network. Cannot be specified.
[0016]
This means that each other must be aware of whether the other party is using IPv4 or IPv6 as a communication protocol.
[0017]
The third problem is that, in a method called dual stack, the IPv4 protocol must be implemented in all IPv6 terminals that may communicate with the IPv4 terminal, and the IPv4 address must be fixedly assigned. This requires a large memory capacity as compared with the case where only the IPv6 protocol is implemented and, like the first problem, further consumes a depleted IPv4 address to accelerate the depletion.
[0018]
The fourth problem is that, in a method called IP tunneling, in order to pass an IPv4 network existing on a communication path between two IPv6 terminals by the encapsulation of the IPv4 header, the setting for that is performed in advance. It must be. Similarly, in order to pass the IPv6 network existing on the communication path between two IPv4 terminals by the encapsulation of the IPv6 header, it is necessary to perform the setting for that in advance. This can be used only while IP tunneling is set in advance, and communication is not possible while it is not set in advance.
[0019]
Therefore, an object of the present invention is to implement only an IPv6 protocol in an IPv6 terminal, and can perform communication between the IPv4 terminal and the IPv6 terminal without assigning a fixed IPv4 address in advance, and a partner with a domain name instead of an IP address. It is an object to provide a method and an apparatus capable of designating and communicating between an IPv4 terminal and an IPv6 terminal.
[0020]
It is another object of the present invention to provide a method and apparatus for enabling communication between two IPv6 terminals separated by an IPv4 network without performing special settings in advance. Similarly, it is an object of the present invention to provide a method and an apparatus for enabling communication without performing special settings in advance for communication between two IPv4 terminals separated by an IPv6 network.
[0021]
[Means for Solving the Problems]
In a first aspect, the present invention relates to a communication network system comprising an IPv4 network, an IPv6 network, and an IPv4-IPv6 translation device connected to both of the IPv4 network and an IPv6 terminal of the IPv6 network. (A) When an IPv4 terminal of an IPv4 network queries the IPv4-IPv6 translation apparatus for an IP address for the domain name of the IPv6 terminal of the IPv6 network, the IPv4-IPv6 translation apparatus uses the domain of the IPv6 network. A Dynamic Host Configuration Protocol (DHCP) v that acquires an IPv6 address for the domain name from a DNS (Dmain Name System) v6 server device that manages information and dynamically assigns an IPv4 address An IPv4 address corresponding to the IPv6 address is dynamically obtained from a server device and notified to the IPv4 terminal. The IPv4 terminal uses its own IPv4 address as an IPv4 source address and the notified IPv4 address as an IPv4 destination address. The IPv4 packet is generated and sent to the IPv4-IPv6 translation device. (B) The IPv4-IPv6 translation device adds fixed data to the IPv4 transmission address included in the received IPv4 packet and converts it to the IPv6 transmission address. At the same time, an IPv6 packet is created from the IPv4 packet by IP header conversion for converting the IPv4 destination address included in the IPv4 packet into an IPv6 destination address using the corresponding IPv6 address, and is sent to the IPv6 network. (C) The IPv6 terminal creates an IPv6 packet with its own IPv6 address as the IPv6 transmission address and with the IPv6 transmission address included in the received IPv6 packet as the IPv6 destination address, and sends it to the IPv4-IPv6 translation device (D) The IPv4-IPv6 translation device deletes the fixed data from the IPv6 destination address included in the received IPv6 packet and converts it into the IPv4 destination address, and converts the IPv6 transmission address contained in the IPv6 packet to the corresponding IPv4. There is provided an IPv4-IPv6 communication method characterized in that an IPv4 packet is created from the IPv6 packet by IP header conversion for converting to an IPv4 transmission address using an address, and is sent to an IPv4 network.
[0022]
In the IPv4-IPv6 communication method according to the first aspect, communication from the IPv4 terminal side of the IPv4 network to the IPv6 terminal of the IPv6 network can be started. At this time, an IPv4 address is dynamically assigned to the IPv6 terminal of the IPv6 network. It is not necessary to assign IPv4 addresses to IPv6 terminals in advance, and consumption of exhausted IPv4 addresses can be suppressed. Further, since the IPv4-IPv6 translation device automatically acquires the IP address for the domain name of the IPv6 terminal from the DNSv6 server device, the IPv4 terminal can communicate with the IPv6 terminal by specifying the domain name.
[0023]
Note that the processing performed by the IPv4-IPv6 translation device between the IPv4 terminal, DNSv4 server device, DHCPv4 server device, IPv6 terminal, and DNSv6 server device is all standard technology described in RFC, and is new to the device. There is no need to modify it.
[0024]
In a second aspect, the present invention relates to a communication network system including an IPv4 network, an IPv6 network, and an IPv4-IPv6 translation apparatus connected to both of the IPv4 network and an IPv6 terminal of the IPv6 network. (A) When an IPv6 terminal of an IPv6 network queries the IPv4-IPv6 translation apparatus for an IP address for the domain name of the IPv4 terminal of the IPv4 network, the IPv4-IPv6 translation apparatus An IPv4 address corresponding to the domain name is acquired from a DNSv4 server device that manages information, and fixed data is added to the IPv4 address to convert it to an IPv6 address, which is converted into the IPv6 terminal Then, the IPv6 terminal creates an IPv6 packet with its own IPv6 address as the IPv6 source address and the notified IPv6 address as the IPv6 destination address, and sends it to the IPv4-IPv6 translation device. (B) IPv4- The IPv6 translation device deletes the fixed data from the IPv6 destination address included in the received IPv6 packet and converts it into an IPv4 destination address, and from the DHCPv4 server device that dynamically assigns the IPv4 address, the IPv6 packet included in the IPv6 packet. An IPv4 address corresponding to the outgoing address is dynamically acquired, and an IPv4 packet is created from the IPv6 packet by IP header conversion that converts the IPv4 address into an IPv4 outgoing address using the IPv4 address. (C) The IPv4 terminal creates an IPv4 packet with its own IPv4 address as the IPv4 source address and with the IPv4 source address included in the received IPv4 packet as the IPv4 destination address, and sends it to the IPv4-IPv6 translation device (D) The IPv4-IPv6 translation device adds fixed data to the IPv4 origination address included in the received IPv4 packet to convert it into an IPv6 origination address, and converts the IPv4 destination address contained in the IPv4 packet to the corresponding IPv6 Provided is an IPv4-IPv6 communication method characterized in that an IPv6 packet is created from the IPv4 packet by IP header conversion for converting to an IPv6 destination address using an address, and is sent to an IPv6 network.
[0025]
In the IPv4-IPv6 communication method according to the second aspect, communication from the IPv6 terminal side of the IPv6 network to the IPv4 terminal of the IPv4 network can be started. At this time, an IPv4 address is dynamically assigned to the IPv6 terminal of the IPv6 network. It is not necessary to assign IPv4 addresses to IPv6 terminals in advance, and consumption of exhausted IPv4 addresses can be suppressed. Further, since the IPv4-IPv6 translation device automatically acquires the IP address for the domain name of the IPv4 terminal from the DNSv4 server device, the IPv6 terminal can communicate with the IPv4 terminal by specifying the domain name.
[0026]
In a third aspect, the present invention provides (a) an IPv4 address acquisition means for acquiring an IPv4 address corresponding to an IPv6 address of an IPv6 terminal of an IPv6 network from a DHCPv4 server of the IPv4 network, and (b) an IPv6 terminal of the IPv6 network. An IP address conversion information holding unit that holds the IPv6 address and the acquired IPv4 address in association with each other; and (c) an IP transmission / reception unit that transmits and receives an IPv4 packet to and from the IPv6 network and transmits and receives an IPv6 packet to and from the IPv6 network. (D) The fixed data is added to the IPv4 transmission address included in the received IPv4 packet to convert it into an IPv6 transmission address, and the IPv4 destination address included in the IPv4 packet is converted to the IP address conversion information. The IPv6 packet is created from the IPv4 packet by the IP header conversion for converting to the IPv6 destination address using the corresponding IPv6 address held in the holding means, is transmitted to the IP transmitting / receiving means, and is included in the received IPv6 packet. IPv4 destination address using the corresponding IPv4 address held in the IP address translation information holding means and the IPv6 source address contained in the IPv6 packet is converted into an IPv4 destination address by deleting fixed data from the IPv6 destination address An IP header conversion means for creating an IPv4 packet from an IPv6 packet by IP header conversion to be converted into an IP transmission / reception means and transmitting it to the IP transmission / reception means, and (e) an IPv4 network IPv4 terminal to an IPv6 network IPv4 If an IP address query for a terminal domain name is received, an IPv6 address is obtained by querying a DNSv6 server of an IPv6 network, and an IPv4 address corresponding to the IPv6 address is held in the IP address translation information holding means, the IPv4 The address is notified to the IPv4 terminal of the IPv4 network, and if the IPv4 address corresponding to the IPv6 address is not held in the IP address translation information holding unit, the IPv4 address is acquired by the IPv4 address acquisition unit, and the IPv6 address The acquired IPv4 address is associated with and held in the IP address translation information holding unit, the IPv4 address is notified to the IPv4 terminal of the IPv4 network, and the IPv6 network Receives an IP address query for the domain name of the IPv4 terminal of the IPv4 network from the IPv6 terminal of the client, queries the DNSv4 server of the IPv4 network to obtain the IPv4 address, adds fixed data to the IPv4 address, and converts it to an IPv6 address The IPv6 address is notified to the IPv6 terminal of the IPv6 network, and the IPv4 address corresponding to the IPv6 address of the IPv6 terminal of the IPv6 network inquiring the IP address for the domain name of the IPv4 terminal of the IPv4 network is converted to the IPv6 address. It is checked whether or not the information is held in the information holding means. If not, the IPv4 address is obtained by the IPv4 address obtaining means, and the IPv6 address and Obtained was in association with IPv4 addresses to provide IPv4-IPv6 converting apparatus characterized by comprising a DNS substituting means for retaining the IP address conversion information holding means.
[0027]
According to the IPv4-IPv6 translation device according to the third aspect, the IPv4-IPv6 communication method according to the first aspect and the IPv4-IPv6 communication method according to the second aspect can be suitably implemented.
[0028]
In a fourth aspect, the present invention relates to the IPv4-IPv6 translation apparatus configured as described above, wherein the IP address translation information holding means deletes correspondence between the held IPv6 address and IPv4 address that is not referenced for a certain period of time. An IPv4-IPv6 translation device is provided in which the deleted IPv4 address is returned to a DHCPv4 server of the IPv4 network.
[0029]
According to the IPv4-IPv6 translation device according to the fourth aspect, since IPv4 addresses that are not used are returned to the DHCPv4 server, consumption of IPv4 addresses can be suppressed.
[0030]
In a fifth aspect, the present invention further includes IPv4 address pool means for pooling a plurality of IPv4 addresses in the IPv4-IPv6 translation apparatus configured as described above, wherein the IP address translation information holding means is provided when the apparatus is started up. As a trigger, a plurality of IPv4 addresses are obtained from the DHCPv4 server of the IPv4 network, pooled in the IPv4 address pool means, and an IPv4 address corresponding to the IPv6 address of the IPv6 terminal of the IPv6 network is obtained from the IPv4 address pool means. An IPv4-IPv6 translation device is provided.
[0031]
According to the IPv4-IPv6 translation device according to the fifth aspect, it is possible to reduce the load on the IPv4 network rather than acquiring IPv4 addresses one by one from the DHCPv4 server. In a sixth aspect, the present invention further comprises DHCPv4 server means for dynamically assigning IPv4 addresses in the IPv4-IPv6 translation apparatus configured as described above, and this DHCPv4 server means is used instead of the DHCPv4 server of the IPv4 network. The present invention provides an IPv4-IPv6 translation device characterized by being used in the above.
[0032]
According to the IPv4-IPv6 translation device according to the sixth aspect, it is not necessary to provide a DHCPv4 server separately.
[0033]
In a seventh aspect, the present invention further comprises DNSv4 server means for managing domain information of an IPv4 network and DNSv6 server means for managing domain information of an IPv6 network in the IPv4-IPv6 translation apparatus having the above-described configuration. There is provided an IPv4-IPv6 translation device characterized in that DNSv4 server means and DNSv6 server means are used in place of the DNSv4 server of the IPv4 network and the DNSv6 server of the IPv6 network.
[0034]
According to the IPv4-IPv6 conversion device according to the seventh aspect, it is not necessary to separately provide a DNSv4 server or a DNSv6 server.
[0035]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to the drawings.
[0036]
(A) First embodiment
FIG. 1 is a configuration diagram of an IPv4-IPv6 translation device 1a according to the first embodiment of the present invention.
[0037]
The IPv4-IPv6 translation device 1a is located between the IPv4 network and the IPv6 network, and realizes communication between the IPv4 terminal and the IPv6 terminal by performing IP header translation of the IPv4 packet and the IPv6 packet. The IP transmission / reception means 10, IP header conversion means 11, DNS proxy means 13, IPv4 address acquisition means 14, and IP address conversion information holding means 15 are configured.
[0038]
The IP transmission / reception means 10 is means for performing transmission / reception of IPv4 packets and IPv6 packets with an IPv4 network and an IPv6 network, and is constituted by an electronic device such as a CPU or a RAM.
[0039]
The IP header conversion unit 11 is a unit that performs IP header conversion of IPv4 packets and IPv6 packets, and is configured by an electronic device such as a CPU or a RAM.
[0040]
The DNS proxy means 13 is means for acquiring domain information from a DNS server in the IPv4 network or a DNS server in the IPv6 network according to the DNS technology described in RFC1034, RFC1886, etc. Consists of devices.
[0041]
The IPv4 address acquisition unit 14 is a unit that acquires an IPv4 address from a DHCP server in an IPv4 network according to the DHCP technology described in RFC1541 and the like, and includes, for example, an electronic device such as a CPU or a RAM.
[0042]
The IP address conversion information holding unit 15 is a unit that converts an IPv4 address and an IPv6 address, and is composed of an electronic device such as a RAM. The correspondence between the IPv4 address and the IPv6 address is held as an IP address conversion table 151.
[0043]
FIG. 2 is a configuration diagram of the IP address conversion table 151.
[0044]
An IPv6 address of an IPv6 terminal that communicates with an IPv4 terminal and an IPv4 address dynamically assigned to the IPv6 address are registered.
[0045]
FIG. 3 is a schematic diagram of a communication network system 100 in which an IPv4 network 104 and an IPv6 network 106 are connected via the IPv4-IPv6 translation apparatus 1a.
[0046]
In addition to the IPv4 terminal 2, the IPv4 network 104 includes a DNSv4 server 3 that manages domain information in the IPv4 network 104, and a DHCPv4 server 4 that dynamically assigns IPv4 addresses to terminals in the IPv4 network 104. It is connected.
[0047]
In addition to the IPv6 terminal 5, a DNSv6 server 6 that manages domain information in the IPv6 network is connected to the IPv6 network 106.
[0048]
Here, it is assumed that the IPv4 terminal 2 is assigned 133.144.95.101 as the IPv4 address, and the IPv6 terminal 5 is assigned 1 :: 1 as the IPv6 address. Further, it is assumed that 100 IPv4 addresses 133.1444.95.1 to 133.144.95.100 are pooled in the DHCPv4 server 4. Further, it is assumed that the IPv4-IPv6 translation device 1a is set as the DNS server in the IPv4 terminal 2 and the IPv6 terminal 5. Furthermore, it is assumed that the DNSv4 server 3 and the DNSv6 server 6 are set as the DNS server, and the DHCPv4 server 4 is set as the DHCP server in the IPv4-IPv6 conversion apparatus 1a.
[0049]
In FIG. 3, the IPv4 network 104 and the IPv6 network 106 are completely separated, but the same applies when the IPv4 network and the IPv6 network coexist in the physically same network.
[0050]
4 and 5 are flowcharts of operations when communication from the IPv4 terminal 2 to the IPv6 terminal 5 is started.
[0051]
Since the IPv4 terminal 2 knows the domain name of the IPv6 terminal 5 but does not know the IP address, as shown in FIG. 4, an inquiry message for an IP address corresponding to the domain name of the IPv6 terminal 5 (hereinafter referred to as “message”). A ") is transmitted to the IPv4-IPv6 translation apparatus 1a via the IPv4 network 104, and a response is waited for a certain period of time.
[0052]
The IP transmission / reception means 10 of the IPv4-IPv6 translation device 1a receives the message A and passes it to the DNS proxy means 13. The DNS proxy means 13 instructs the IP transmitting / receiving means 10 to transfer the message A to the DNSv4 server 3 and then waits for a response for a certain time. The IP transmitting / receiving means 10 transfers the message A to the DNSv4 server 3 via the IPv4 network.
[0053]
The DNSv4 server 3 that has received the message A searches the domain information of the IPv6 terminal 5, but does not return a response to the message A if it is not registered.
[0054]
The DNS proxy means 13 that has not received a response from the DNSv4 server 3 even after a lapse of a specified time instructs the IP transmitting / receiving means 10 to transfer the message A to the DNSv6 server 6 and then waits for a response for a fixed time. . The IP transmitting / receiving means 10 transfers the message A to the DNSv6 server 6 via the IPv6 network.
[0055]
The DNSv6 server 6 that has received the message A searches the domain information of the IPv6 terminal 5 and uses the registered domain information of the IPv6 terminal 5 as a response message to the message A (hereinafter referred to as “message B”) IPv4-. It returns to the IPv6 conversion apparatus 1a. The IP transmission / reception means 10 of the IPv4-IPv6 translation device 1a that has received the response from the DNSv6 server 6 within a predetermined time passes the received message B to the DNS proxy means 13. The DNS proxy means 13 obtains an IPv6 address (1 :: 1) corresponding to the domain name of the IPv6 terminal 5 from the message B, and passes it to the IP address conversion information holding means 15. The IP address translation information holding means 15 searches the IP address translation table 151 using the IPv6 address (1 :: 1) of the IPv6 terminal 5 as a key. If the corresponding entry is registered, the IPv4 address of the entry is DNS. Return to proxy means 13. On the other hand, if the corresponding entry is unregistered, the DNS proxy means 13 is notified to that effect.
[0056]
The DNS proxy unit 13 that has received the IPv4 address from the IP address translation information holding unit 15 notifies the IPv4 address as an IPv4 address corresponding to the domain name of the IPv6 terminal 5 (hereinafter referred to as “message E”). It is created and passed to the IP transmission / reception means 10. The IP transmission / reception means 10 transmits the message E to the IPv4 terminal 2 via the IPv4 network.
[0057]
On the other hand, after receiving notification that the entry is unregistered from the IP address conversion information holding unit 15, the DNS agent unit 13 instructs the IPv4 address acquisition unit 14 to acquire an IPv4 address, and then waits for a response for a predetermined time. The IPv4 address acquisition unit 14 creates an IPv4 address acquisition message (hereinafter referred to as “message C”), instructs the IP transmission / reception unit 10 to transfer it to the DHCPv4 server 4, and then passes it for a certain period of time. Wait for a response. The IP transmission / reception means 10 transmits the message C to the DHCPv4 server 4 via the IPv4 network.
[0058]
The DHCPv4 server 4 that has received the message C assigns an IPv4 address to the IPv6 address (1 :: 1) of the IPv6 terminal 5 (assuming that 133.144.95.1 is assigned here), and IPv4. An address assignment message (hereinafter referred to as “message D”) is returned.
[0059]
The IP transmission / reception means 10 that has received the message D passes the message D to the IPv4 address acquisition means 14. The IPv4 address acquisition unit 14 obtains an IPv4 address (133.144.95.1) from the message D and notifies the DNS proxy unit 13 of it. The DNS proxy means 13 creates a message E for notifying the IPv4 address (133.144.95.1) as an IP address corresponding to the domain name of the IPv6 terminal 5, and passes this to the IP transmitting / receiving means 10. The IP transmission / reception means 10 transmits the message E to the IPv4 terminal 2 via the IPv4 network. Also, the DNS proxy means 13 associates the IPv4 address (133.144.95.1) acquired from the DHCPv4 server 4 with the IPv6 address (1 :: 1) of the IPv6 terminal 5, and the IP address conversion information holding means 15 To pass. The IP address translation information holding unit 15 creates a new entry in the IP address translation table 151 and registers the correspondence between the IPv4 address (133.144.95.1) and the IPv6 address (1 :: 1) of the IPv6 terminal 5. To do. The entry of the IP address conversion table 151 is deleted when it is not referred to for a certain period of time, and the IPv4 address (133.144.95.1) is returned to the DHCPv4 server 4.
[0060]
As shown in FIG. 5, the IPv4 terminal 2 sets the IPv4 address (133.144.95.1) notified by the message E from the IPv4-IPv6 translation device 1a in the IPv4 destination address field of the IPv4 packet and An IPv4 packet in which the IPv4 address (133.144.95.101) is set in the IPv4 transmission address field is transmitted to the IPv4-IPv6 translation apparatus 1a via the IPv4 network.
[0061]
The IP transmission / reception means 10 of the IPv4-IPv6 translation device 1a passes the received IPv4 packet to the IP header translation means 11. The IP header conversion unit 11 extracts the IPv4 address (133.144.95.101) from the IPv4 transmission address field of the IPv4 packet, adds the above-mentioned 96-bit fixed pattern, and adds a 128-bit “IPv4-mapped IPv6 address”. (:: FFFF: 133.144.95.101), and this is set in the IPv6 transmission address field of the IPv6 packet. Further, the IP header conversion unit 11 extracts the IPv4 address (133.144.95.1) from the IPv4 destination address field of the IPv4 packet and passes it to the IP address conversion information holding unit 15. The IP address conversion information holding unit 15 refers to the IP address conversion table 151 to obtain an IPv6 address (1 :: 1) corresponding to the IPv4 address (133.1444.95.1), and the IP header conversion unit 11 To pass. The IP header conversion unit 11 sets the IPv6 address (1 :: 1) in the IPv6 destination address field of the IPv6 packet. Then, the IPv6 packet created by performing the IP header conversion in this way is transferred to the IP transmitting / receiving means 10. The IP transmission / reception means 10 transmits an IPv6 packet to the IPv6 terminal 5 via the IPv6 network.
[0062]
As described above, communication from the IPv4 terminal 2 to the IPv6 terminal 5 can be started.
[0063]
FIGS. 6 and 7 are flowcharts of operations when communication from the IPv6 terminal 5 to the IPv4 terminal 2 is started.
[0064]
The IPv6 terminal 5 knows the domain name of the IPv4 terminal 2 but does not know the IP address. Therefore, as shown in FIG. 6, an IP address inquiry message corresponding to the domain name of the IPv4 terminal 2 (hereinafter referred to as “message”). K ”) is transmitted to the IPv4-IPv6 translation apparatus 1a via the IPv6 network 106, and a response is waited for a certain period of time.
[0065]
The IP transmission / reception means 10 of the IPv4-IPv6 translation device 1a receives the message K and passes it to the DNS proxy means 13. The DNS proxy means 13 instructs the IP transmission / reception means 10 to transfer the message K to the DNSv6 server 6 and then waits for a response for a certain time. The IP transmitting / receiving means 10 transfers the message K to the DNSv6 server 6 via the IPv6 network.
[0066]
The DNSv6 server 6 that has received the message K searches the domain information of the IPv4 terminal 2, but does not return a response to the message K if it is not registered.
[0067]
The DNS proxy means 13 that has not received a response from the DNSv6 server 6 even after a lapse of a certain time instructs the IP transmission / reception means 10 to transfer the message K to the DNSv4 server 3, and then waits for a response for a fixed time. . The IP transmitting / receiving means 10 transfers the message K to the DNSv4 server 3 via the IPv4 network.
[0068]
The DNSv4 server 3 that has received the message K searches the domain information of the IPv4 terminal 2 and uses the registered domain information of the IPv4 terminal 2 as a response message to the message K (hereinafter referred to as “message L”) IPv4-. It returns to the IPv6 conversion apparatus 1a.
[0069]
The IP transmission / reception means 10 of the IPv4-IPv6 translation device 1a that has received the response from the DNSv4 server 3 within a predetermined time passes the received message L to the DNS proxy means 13. The DNS proxy means 13 obtains an IPv4 address (133.144.95.101) corresponding to the domain name of the IPv4 terminal 2 from the message L.
[0070]
Next, the DNS proxy means 13 passes the IPv6 address (1 :: 1) of the IPv6 terminal 5 to the IP address translation information holding means 15. The IP address translation information holding means 15 searches the IP address translation table 151 using the IPv6 address (1 :: 1) of the IPv6 terminal 5 as a key, and notifies the DNS proxy means 13 whether or not the corresponding entry is registered. .
[0071]
Upon receiving a notification that the entry corresponding to the IPv6 address (1 :: 1) of the IPv6 terminal 5 is unregistered, the DNS agent 13 instructs the IPv4 address acquisition unit 14 to acquire the IPv4 address for a certain period of time. Wait for a response. The IPv4 address acquisition unit 14 creates an IPv4 address acquisition message (hereinafter referred to as “message M”), instructs the IP transmission / reception unit 10 to transfer the message to the DHCPv4 server 4, and then passes the message. Wait for time response. The IP transmission / reception means 10 transmits the message M to the DHCPv4 server 4 via the IPv4 network.
[0072]
The DHCPv4 server 4 that has received the message M assigns an IPv4 address to the IPv6 address (1 :: 1) of the IPv6 terminal 5 (assuming that 133.144.95.1 is assigned here), and IPv4. An address assignment message (hereinafter referred to as “message N”) is returned.
[0073]
The IP transmission / reception means 10 that has received the message N passes the message N to the IPv4 address acquisition means 14. The IPv4 address acquisition unit 14 obtains an IPv4 address (133.144.95.1) from the message N and notifies the DNS proxy unit 13 of it. The DNS proxy means 13 associates the IPv4 address (133.144.95.1) acquired from the DHCPv4 server 4 with the IPv6 address (1 :: 1) of the IPv6 terminal 5 and passes it to the IP address conversion information holding means 15. . The IP address translation information holding unit 15 creates a new entry in the IP address translation table 151 and registers the correspondence between the IPv4 address (133.144.95.1) and the IPv6 address (1 :: 1) of the IPv6 terminal 5. To do. The entry of the IP address conversion table 151 is deleted when it is not referred to for a certain period of time, and the IPv4 address (133.144.95.1) is returned to the DHCPv4 server 4.
[0074]
When a notification that an entry corresponding to the IPv6 address (1 :: 1) of the IPv6 terminal 5 is registered is received or registration of the entry corresponding to the IPv6 address (1 :: 1) of the IPv6 terminal 5 is completed, The DNS proxy means 13 sets the IPv4 address (133.144.95.101) of the IPv4 terminal 2 as “IPv4-mapped IPv6 address” (:: FFFF: 133.144.95.101) as the domain of the IPv4 terminal 2. A message to be notified as an IP address corresponding to the name (hereinafter referred to as “message P”) is created, and the IP transmission / reception means 10 is instructed and transferred to transfer it to the IPv6 terminal 5. The IP transmission / reception means 10 transmits the message P to the IPv6 terminal 5 via the IPv6 network.
[0075]
As shown in FIG. 7, the IPv6 terminal 5 sets the IPv6 address (:: FFFF: 133.144.95.101) notified from the IPv4-IPv6 translation device 1a in the IPv6 destination address field of the IPv6 packet, and The IPv6 packet in which the IPv6 address (1 :: 1) is set in the IPv6 transmission address field is transmitted to the IPv4-IPv6 translation apparatus 1a via the IPv6 network.
[0076]
The IP transmission / reception means 10 of the IPv4-IPv6 translation device 1a passes the received IPv6 packet to the IP header translation means 11. The IP header conversion unit 11 extracts the IPv6 address (:: FFFF: 133.144.95.101) from the IPv6 destination address field of the IPv6 packet, deletes the above-mentioned 96-bit fixed pattern, and generates a 32-bit IPv4 address. (133.144.95.101) and set this in the IPv4 destination address field of the IPv4 packet. Further, the IP header conversion unit 11 extracts the IPv6 address (1 :: 1) from the IPv6 transmission address field of the IPv6 packet and passes it to the IP address conversion information holding unit 15. The IP address translation information holding unit 15 refers to the IP address translation table 151 to obtain an IPv4 address (133.1444.95.1) corresponding to the IPv6 address (1 :: 1), and the IP header translation unit 11 To pass. The IP header conversion unit 11 sets the IPv4 address (133.1444.95.1) in the IPv4 transmission address field of the IPv4 packet. Then, the IPv4 packet created by performing the IP header conversion in this way is transferred to the IP transmitting / receiving means 10. The IP transmitting / receiving unit 10 transmits the IPv4 packet to the IPv4 terminal 2 via the IPv4 network.
[0077]
As described above, communication from the IPv6 terminal 5 to the IPv4 terminal 2 can be started.
[0078]
In the above description, the IPv4 domain information is registered in the DNSv4 server 3. However, the IPv4 domain information may be registered in the DNSv6 server 6. In this case, the IPv4-IPv6 translation device 1a acquires IPv4 domain information by communicating with the DNSv6 server 6 using the IPv6 protocol. Similarly, IPv6 domain information may be registered in the DNSv4 server 3. In this case, the IPv4-IPv6 translation device 1a acquires IPv6 domain information by communicating with the DNSv4 server 3 using the IPv4 protocol.
[0079]
In other words, the case where the IPv4 network 104 and the IPv6 network 106 are separate domains has been described. However, the domain information is stored in one DNS server in a state where the IPv4 network 104 and the IPv6 network 106 are mixed in one and the same domain. You may manage with.
[0080]
In addition, when starting communication from the IPv4 terminal 2 to the IPv6 terminal 5, the IPv4-IPv6 translation device 1 a transfers the message A to the DNSv4 server 3 when receiving the IP address inquiry message A for the domain name of the IPv6 terminal 5. That is, although the IPv4 address inquiry is made to the DNSv4 server 3, the IPv6 address inquiry may be made to the DNSv4 server 3 accordingly. Similarly, the message A is transferred to the DNSv6 server 6, that is, the IPv6 address inquiry is made to the DNSv6 server 6, but the IPv4 address inquiry may be made to the DNSv6 server 6 accordingly.
[0081]
In addition, when communication from the IPv6 terminal 5 to the IPv4 terminal 2 is started, the IPv4-IPv6 translation device 1a transfers the message K to the DNSv6 server 6 when receiving the IP address inquiry message K for the domain name of the IPv4 terminal 2. That is, although the IPv6 address inquiry is made to the DNSv6 server 6, the IPv4 address inquiry may be made to the DNSv6 server 6 accordingly. Similarly, the message K is transferred to the DNSv4 server 3, that is, the IPv4 address inquiry is made to the DNSv4 server 3, but the IPv6 address inquiry may be made to the DNSv4 server 3 accordingly.
[0082]
In addition, when the communication from the IPv4 terminal 2 to the IPv6 terminal 5 is started, when the IPv4-IPv6 translation device 1a receives the IP address inquiry message A for the domain name of the IPv6 terminal 5, the message A is first sent to the DNSv4 server 3. In the above description, the message A is transferred to the DNSv6 server 6 when no answer is obtained after waiting for a certain time. However, the message A may be transferred to both the DNSv4 server 3 and the DNSv6 server 6 at the same time. Further, when it can be determined from the domain name of the IPv6 terminal 5 that the domain information is managed by the DNSv6 server 6 or when it can be determined that the domain information is not managed by the DNSv4 server 3, the message A is sent only to the DNSv6 server 6. It may be transferred. Further, when the message A is transferred to the DNSv4 server 3 and an answer indicating no corresponding entry is obtained, the message A may be transferred to the DNSv6 server 6.
[0083]
Further, when communication from the IPv6 terminal 5 to the IPv4 terminal 2 is started, when the IPv4-IPv6 translation device 1a receives the IP address inquiry message K for the domain name of the IPv4 terminal 2, the message K is first sent to the DNSv6 server 6. In the above description, the message K is transferred to the DNSv4 server 3 when no answer is obtained after waiting for a certain time. However, the message K may be transferred to both the DNSv6 server 6 and the DNSv4 server 3 at the same time. If it can be determined from the domain name of the IPv4 terminal 2 that the domain information is managed by the DNSv4 server 3, or if it can be determined that the domain information is not managed by the DNSv6 server 6, the message K is sent only to the DNSv4 server 3. It may be transferred. Further, when the message K is transferred to the DNSv6 server 6 and an answer indicating no corresponding entry is obtained, the message K may be transferred to the DNSv4 server 3.
[0084]
Further, when communication from the IPv6 terminal 5 to the IPv4 terminal 2 is started, a process of acquiring the IPv4 address from the DHCPv4 server 4 and registering it in the IP address conversion table 115 in association with the IPv6 address of the IPv6 terminal 5 is performed. When the IPv6 terminal 5 receives the inquiry message K for the IP address corresponding to the domain name of the IPv6 packet in FIG. 7, the IPv4 packet sent from the IPv4-IPv6 translation device 1a is the IPv4 packet in FIG. It may be performed when the IP header is converted and relayed. By doing so, it is possible to cope with the case where the domain information inquiry from the IPv6 terminal 5 to the IPv4-IPv6 translation apparatus 1a is not directly made, that is, when the inquiry is made via another DNS server.
[0085]
Further, the case where a 128-bit “IPv4-mapped IPv6 address” in which the above-mentioned 96-bit fixed pattern is added to the IPv4 address of the IPv4 terminal is used as the IP address of the IPv4 terminal 2 in the IPv6 network has been described. A DHCP server may be provided in the network 106, and an IPv6 address acquisition unit may be provided in the IPv4-IPv6 translation apparatus 1a to acquire an IPv6 address, associate with the IPv4 address of the IPv4 terminal 2, and use the IPv6 address. Specifically, when communication from the IPv4 terminal 2 to the IPv6 terminal 5 is started, in FIG. 5, the IPv4-IPv6 translation device 1a converts the IPv4 packet sent from the IPv4 terminal 2 into an IPv6 packet with an IP header. Then, similar to the destination address of the IPv4 packet, the IP address conversion table 151 of the IP address conversion information holding unit 15 is searched for the destination address of the IPv4 packet and converted to the IPv6 address of the corresponding entry. If there is no corresponding entry at this time, an IPv6 address is obtained from a DHCP server in the IPv6 network 106, registered in the IP address conversion table 151 in association with the originating address of the IPv4 packet, and converted to the IPv6 address. On the other hand, when communication from the IPv6 terminal 5 to the IPv4 terminal 2 is started, when the IPv4-IPv6 translation apparatus 1a obtains the IPv4 address of the IPv4 terminal 2 by the message L in FIG. The IP address conversion table 151 of the information holding unit 15 is searched, and the IPv6 address of the corresponding entry is returned as a message P. If there is no corresponding entry at this time, an IPv6 address is obtained from a DHCP server in the IPv6 network 106, registered in the IP address conversion table 151 in association with the IPv4 address of the IPv4 terminal 2, and the IPv6 address is returned as a message P. . Further, when the IPv4-IPv6 translation device 1a of FIG. 7 translates the IPv6 packet sent from the IPv6 terminal 5 into an IPv4 packet and relays it, the IP address translation information is retained at the destination address in the same manner as the source address of the IPv6 packet. The IP address conversion table 151 of the means 15 is searched and converted to the IPv4 address of the corresponding entry.
[0086]
In addition, the entry in the IP address conversion table 151 has been described using the case where it is deleted when it is not referenced for a certain period of time. However, the entry registered for connection communication may be deleted immediately after the connection is disconnected. .
[0087]
Further, although the IPv4 address has been described using a global address, a private address described in RFC 1918 may be used. Similarly, the IPv6 address has been described using a global address, but a site local address or a link local address described in RFC 1884 may be used.
[0088]
Further, the address conversion has been described using the case where the fixed field addition / deletion for 96 bits or the IP address conversion table 151 is used to refer to the address field alone. For IP, using a technique called IP masquerade, the combination of the address of the terminal that started communication and the port number of TCP (Transmission Control Protocol) / UDP (User Datagram Protocol), the address of the IPv4-IPv6 translation device, and TCP / UDP port number combination may be converted.
[0089]
Also, registration and deletion of entries in the IP address translation table 151 are automatically performed by the IPv4-IPv6 translation apparatus 1a in cooperation with the DNSv4 server 3, the DNSv6 server 6, and the DHCPv4 server 4, but the IPv4-IPv6 translation apparatus The management terminal 1a may be provided so that the administrator can perform it manually.
[0090]
Even when the IPv4-IPv6 translation apparatus 1a automatically registers and deletes entries in the IP address translation table 151, registration and deletion can be performed by administrator settings.
A restriction may be added to the entry. Specifically, by restricting the IP address (for example, 133.144.96.101) of a certain IPv4 terminal so that it cannot be registered in the IP address conversion table 151, it is made impossible to access this IPv4 terminal from the IPv6 network. May be.
[0091]
(B) Second embodiment
FIG. 8 is a configuration diagram of an IPv4-IPv6 translation device 1b according to the second embodiment of the present invention.
[0092]
This IPv4-IPv6 translation apparatus 1b has a configuration in which IPv4 address pool means 16 is added to the IPv4-IPv6 translation apparatus 1a of FIG.
[0093]
When the IPv4-IPv6 translation device 1b is started up, the IPv4 address acquisition unit 14 acquires a plurality of IPv4 addresses from the DHCPv4 server 4 in a lump and pools them in the IPv4 address pool unit 16. Then, at the start of communication between the IPv4 terminal 2 and the IPv6 terminal 5, the IPv4 address acquisition unit 14 acquires an IPv4 address from the IPv4 address pool unit 16.
[0094]
By using this IPv4-IPv6 translation device 1b, it is possible to reduce the load on the IPv4 network 104, rather than acquiring IPv4 addresses from the DHCPv4 server 4 one by one.
[0095]
(C) Third embodiment
FIG. 9 is a configuration diagram of an IPv4-IPv6 translation device 1c according to the third embodiment of the present invention.
[0096]
This IPv4-IPv6 translation apparatus 1c has a configuration in which DHCPv4 server means 17 is provided instead of the IPv4 address acquisition means 14 of the IPv4-IPv6 translation apparatus 1a in FIG.
[0097]
If this IPv4-IPv6 conversion device 1c is used, it is not necessary to provide the DHCPv4 server 4 separately.
[0098]
(D) Fourth embodiment
FIG. 10 is a configuration diagram of an IPv4-IPv6 translation device 1d according to the fourth embodiment of the present invention.
[0099]
This IPv4-IPv6 translation device 1d has a configuration in which DNSv4 server means 18 and DNSv6 server means 19 are added to the IPv4-IPv6 translation device 1a of FIG.
[0100]
If this IPv4-IPv6 conversion device 1d is used, it is not necessary to provide the DNSv4 server 3 and the DNSv6 server 6 separately.
[0101]
(E) Fifth embodiment
Next, a fifth embodiment will be described with reference to FIGS. 11, 12, and 13.
[0102]
FIG. 11 is a schematic diagram of a communication network system 108 in which an IPv6 network 106 and an IPv6 network 107 are connected with an IPv4 network 104 interposed therebetween. This communication network system 108 has a configuration in which an IPv6 network 107 is added to the communication network system 100 of FIG. The IPv6 network 107 is connected to the IPv4 network 104 by an IPv4-IPv6 translation device 111.
[0103]
In addition to the IPv6 terminal 115, a DNSv6 server 116 that manages domain information in the IPv6 network 107 is connected to the IPv6 network 107.
[0104]
Here, it is assumed that 2 :: 1 is assigned to the IPv6 terminal 115 as the IPv6 address. In addition to the 100 IPv4 addresses 133.1444.95.1 to 133.144.95.100, the DHCPv4 server 4 includes 100 133.1444.96.1 to 133.144.96.100. Are IPv4 addresses pooled. Further, it is assumed that the IPv4-IPv6 translation device 111 is set as the DNS server in the IPv6 terminal 115. In the IPv4-IPv6 conversion apparatus 111, it is assumed that the DNSv6 server 116 is set as the DNS server and the DHCPv4 server 4 is set as the DHCP server. Further, it is assumed that the IPv4-IPv6 translation device 1 is configured with the IPv4-IPv6 translation device 111 as a DNS server in the higher domain.
[0105]
FIGS. 12 and 13 are flowcharts of operations when communication from the IPv6 terminal 5 to the IPv6 terminal 115 is started.
[0106]
Since the IPv6 terminal 5 knows the domain name of the IPv6 terminal 115 but does not know the IP address, as shown in FIG. 12, an IP address inquiry message corresponding to the domain name of the IPv6 terminal 115 (hereinafter referred to as “message”). Q ”) is transmitted to the IPv4-IPv6 translation apparatus 1 via the IPv6 network 106, and a response is waited for a certain period of time.
[0107]
The IP transmission / reception means 10 of the IPv4-IPv6 conversion device 1 receives the message Q and passes it to the DNS proxy means 13. The DNS proxy means 13 instructs the IP transmission / reception means 10 to transfer the message Q to the IPv4-IPv6 translation device 111, and then waits for a response for a certain time. The IP transmission / reception means 10 transfers the message Q to the IPv4-IPv6 translation device 111 via the IPv4 network.
[0108]
The IP transmission / reception means 10 of the IPv4-IPv6 conversion device 111 receives the message Q and passes it to the DNS proxy means 13. The DNS proxy means 13 directs the IP transmission / reception means 10 to transfer the message Q to the DNSv6 server 116, and then waits for a response for a certain period of time. The IP transmission / reception means 10 then sends the message Q via the IPv6 network to the DNSv6 server 116. Forward to.
[0109]
The DNSv6 server 116 that has received the message Q retrieves the domain information of the IPv6 terminal 115 and uses the registered domain information of the IPv6 terminal 115 as a response message to the message Q (hereinafter referred to as “message R”) IPv4-. It returns to the IPv6 conversion apparatus 111.
[0110]
The IP transmission / reception means 10 of the IPv4-IPv6 translation apparatus 111 that has received the response from the DNSv6 server 116 within a predetermined time passes the received message R to the DNS proxy means 13. The DNS proxy means 13 obtains an IPv6 address (2: 1) corresponding to the domain name of the IPv6 terminal 115 from the message R, and passes it to the IP address translation information holding means 15. The IP address translation information holding unit 15 searches the IP address translation table 151 using the IPv6 address (2 :: 1) of the IPv6 terminal 115 as a key. If the corresponding entry is registered, the IPv4 address of the entry is DNS. Return to proxy means 13. On the other hand, if the corresponding entry is unregistered, the DNS proxy means 13 is notified to that effect.
[0111]
The DNS proxy unit 13 that has received the IPv4 address from the IP address translation information holding unit 15 notifies the IPv4 address as an IPv4 address corresponding to the domain name of the IPv6 terminal 115 (hereinafter referred to as “message U”). It is created and passed to the IP transmission / reception means 10. The IP transmission / reception means 10 transmits the message U to the IPv4-IPv6 translation device 1 via the IPv4 network.
[0112]
On the other hand, after receiving notification that the entry is unregistered from the IP address conversion information holding unit 15, the DNS agent unit 13 instructs the IPv4 address acquisition unit 14 to acquire an IPv4 address, and then waits for a response for a predetermined time. The IPv4 address acquisition unit 14 creates an IPv4 address acquisition message (hereinafter referred to as “message S”), instructs the IP transmission / reception unit 10 to transfer it to the DHCPv4 server 4, and then passes it for a certain period of time. Wait for a response. The IP transmission / reception means 10 transmits the message S to the DHCPv4 server 4 via the IPv4 network.
[0113]
The DHCPv4 server 4 that has received the message S assigns an IPv4 address to the IPv6 address (2 :: 1) of the IPv6 terminal 115 (assuming that 133.1444.96.1 is assigned here), and IPv4. An address assignment message (hereinafter referred to as “message T”) is returned.
[0114]
The IP transmission / reception means 10 that has received the message T passes the message T to the IPv4 address acquisition means 14. The IPv4 address acquisition unit 14 obtains an IPv4 address (133.1444.96.1) from the message T and notifies the DNS proxy unit 13 of it. The DNS proxy means 13 creates a message U for notifying the IPv4 address (133.1444.96.1) as an IP address corresponding to the domain name of the IPv6 terminal 115 and passes this to the IP transmitting / receiving means 10. The IP transmission / reception means 10 transmits the message U to the IPv4-IPv6 translation device 1 via the IPv4 network. Further, the DNS proxy means 13 associates the IPv4 address (133.1444.96.1) acquired from the DHCPv4 server 4 with the IPv6 address (2: 1) of the IPv6 terminal 115, and the IP address conversion information holding means 15 To pass. The IP address translation information holding unit 15 creates a new entry in the IP address translation table 151 and registers the correspondence between the IPv4 address (133.1444.96.1) and the IPv6 address (2: 1: 1) of the IPv6 terminal 115. To do. The entry of the IP address conversion table 151 is deleted when it is not referred to for a certain period of time, and the IPv4 address (133.1444.96.1) is returned to the DHCPv4 server 4.
[0115]
The IP transmission / reception means 10 of the IPv4-IPv6 translation apparatus 1 that has received the response from the IPv4-IPv6 translation apparatus 111 within a certain time passes the received message U to the DNS proxy means 13. The DNS proxy means 13 obtains an IPv4 address (133.1444.96.1) corresponding to the domain name of the IPv6 terminal 115 from the message U. The DNS proxy means 13 sends the “IPv4-mapped IPv6 address” (:: FFFF: 133.1444.96.1) in which the IPv4 address (133.1444.96.1) obtained from the message U is set to the IPv6 terminal 115. A message to be notified as an IP address corresponding to the domain name (hereinafter referred to as “message V”) is created, and the IP transmission / reception means 10 is instructed and transferred to transfer it to the IPv6 terminal 5. The IP transmission / reception means 10 transmits the message V to the IPv6 terminal 5 via the IPv6 network.
[0116]
As shown in FIG. 13, the IPv6 terminal 5 sets the IPv6 address (:: FFFF: 133.1444.96.1) notified from the IPv4-IPv6 translation device 1 in the IPv6 destination address field of the IPv6 packet, and The IPv6 packet in which the IPv6 address (1 :: 1) is set in the IPv6 transmission address field is transmitted to the IPv4-IPv6 translation apparatus 1 via the IPv6 network.
[0117]
The IP transmission / reception means 10 of the IPv4-IPv6 translation device 1 passes the received IPv6 packet to the IP header translation means 11. The IP header conversion unit 11 extracts the IPv6 address (:: FFFF: 133.11446.96.1) from the IPv6 destination address field of the IPv6 packet, deletes the above-mentioned 96-bit fixed pattern, and generates a 32-bit IPv4 address. (133.1444.96.1) and set this in the IPv4 destination address field of the IPv4 packet. Further, the IP header conversion unit 11 extracts the IPv6 address (1 :: 1) from the IPv6 transmission address field of the IPv6 packet and passes it to the IP address conversion information holding unit 15.
[0118]
The IP address conversion information holding unit 15 searches the IP address conversion table 151 using the IPv6 address (1 :: 1) of the IPv6 terminal 5 as a key, and notifies the IP header conversion unit 11 whether or not the corresponding entry is registered. To do.
[0119]
The IP header conversion unit 11 that has received the notification that the entry corresponding to the IPv6 address (1 :: 1) of the IPv6 terminal 5 has not been registered, instructs the IPv4 address acquisition unit 14 to acquire the IPv4 address, and then keeps constant. Wait for time response. The IPv4 address acquisition unit 14 creates an IPv4 address acquisition message (hereinafter referred to as “message W”), instructs the IP transmission / reception unit 10 to transfer the message to the DHCPv4 server 4, and then passes the message. Wait for time response. The IP transmission / reception means 10 transmits the message W to the DHCPv4 server 4 via the IPv4 network.
[0120]
The DHCPv4 server 4 that has received the message W assigns an IPv4 address to the IPv6 address (1 :: 1) of the IPv6 terminal 5 (here, it is assumed that 133.144.95.1 is assigned) and IPv4. An address assignment message (hereinafter referred to as “message X”) is returned.
[0121]
The IP transmission / reception means 10 that has received the message X passes the message X to the IPv4 address acquisition means 14. The IPv4 address acquisition unit 14 obtains an IPv4 address (133.1444.95.1) from the message X and notifies the IP header conversion unit 11 of it. The IP header conversion unit 11 associates the IPv4 address (133.144.95.1) acquired from the DHCPv4 server 4 with the IPv6 address (1 :: 1) of the IPv6 terminal 5, and sends it to the IP address conversion information holding unit 15. hand over. The IP address translation information holding unit 15 creates a new entry in the IP address translation table 151 and registers the correspondence between the IPv4 address (133.144.95.1) and the IPv6 address (1 :: 1) of the IPv6 terminal 5. To do. The entry of the IP address conversion table 151 is deleted when it is not referred to for a certain period of time, and the IPv4 address (133.144.95.1) is returned to the DHCPv4 server 4.
[0122]
When a notification that an entry corresponding to the IPv6 address (1 :: 1) of the IPv6 terminal 5 is registered is received or registration of the entry corresponding to the IPv6 address (1 :: 1) of the IPv6 terminal 5 is completed, The IP header conversion unit 11 sets the IPv4 address (133.1444.95.1) in the IPv4 transmission address field of the IPv4 packet. Then, the IPv4 packet created by performing the IP header conversion in this way is transferred to the IP transmitting / receiving means 10. The IP transmitting / receiving means 10 transmits the IPv4 packet to the IPv4-IPv6 translation device 111 via the IPv4 network.
[0123]
The IP transmission / reception means 10 of the IPv4-IPv6 conversion device 111 passes the received IPv4 packet to the IP header conversion means 11. The IP header converting unit 11 takes out the IPv4 address (133.144.95.1) from the IPv4 transmission address field of the IPv4 packet, adds the above-mentioned 96-bit fixed pattern, and adds a 128-bit “IPv4-mapped IPv6 address. (:: FFFF: 133.144.95.1), and this is set in the IPv6 transmission address field of the IPv6 packet. Further, the IP header conversion unit 11 extracts the IPv4 address (133.1444.96.1) from the IPv4 destination address field of the IPv4 packet, and passes this to the IP address conversion information holding unit 15. The IP address conversion information holding unit 15 refers to the IP address conversion table 151 to obtain an IPv6 address (2: 1) corresponding to the IPv4 address (133.1444.96.1), and the IP header conversion unit 11 To pass. The IP header conversion unit 11 sets the IPv6 address (2: 1) in the IPv6 destination address field of the IPv6 packet. Then, the IPv6 packet created by performing the IP header conversion in this way is transferred to the IP transmitting / receiving means 10. The IP transmission / reception means 10 transmits the IPv6 packet to the IPv6 terminal 115 via the IPv6 network.
[0124]
As described above, communication from the IPv6 terminal 5 to the IPv6 terminal 115 can be started.
[0125]
In the above description, the case of starting communication from the IPv6 terminal 5 to the IPv6 terminal 115 has been described, but the same applies to the case of starting communication from the IPv6 terminal 115 to the IPv6 terminal 5.
[0126]
In the above description, communication between two IPv6 terminals when there is an IPv4 network on the communication path has been described. However, communication between two IPv4 terminals when there is an IPv6 network on the communication path. But the same is true.
[0127]
In the above description, the communication between two IPv6 terminals in the case where there is only one IPv4 network on the communication path has been described. However, there are two cases where there are a plurality of IPv4 networks and IPv6 networks on the communication path. The same applies to communication between two IPv6 terminals, communication between two IPv4 terminals, and communication between an IPv4 terminal and an IPv6 terminal.
[0128]
【The invention's effect】
According to the IPv4-IPv6 communication method and the IPv4-IPv6 conversion apparatus of the present invention, it is possible to perform communication between an IPv4 terminal and an IPv6 terminal even if only an IPv6 protocol is implemented in the IPv6 terminal and a fixed IPv4 address is not assigned in advance. It becomes like this. Furthermore, since the other party can be specified by the domain name instead of the actual IP address, communication can be performed without being aware of whether the other party uses IPv4 or IPv6 as the communication protocol.
[0129]
Further, by restricting the registration and deletion of entries in the IPv4 address and IPv6 address conversion table according to the setting of the administrator, a firewall between the IPv4 network and the IPv6 network can be provided.
[0130]
Further, communication between two IPv6 terminals separated by an IPv4 network can be performed without performing special settings in advance. Similarly, communication between two IPv4 terminals separated by an IPv6 network can be performed without special setting in advance.
[0131]
Furthermore, communication between IPv4 terminals separated by a plurality of IPv4 networks and IPv6 networks, communication between IPv6 terminals, and communication between IPv4 terminals and IPv6 terminals can be performed without special settings in advance. become.
[Brief description of the drawings]
FIG. 1 is a configuration diagram of an IPv4-IPv6 translation device according to a first embodiment of the present invention.
FIG. 2 is a configuration diagram of an IP address conversion table.
FIG. 3 is a configuration diagram of a communication network system according to the first embodiment of the present invention.
FIG. 4 is a flowchart when communication is started from an IPv4 terminal to an IPv6 terminal via the IPv4-IPv6 translation apparatus according to the first embodiment of the present invention.
FIG. 5 is a flowchart continued from FIG. 4;
FIG. 6 is a flowchart when communication is started from an IPv6 terminal to an IPv4 terminal via the IPv4-IPv6 translation apparatus according to the first embodiment of the present invention.
FIG. 7 is a flowchart continued from FIG. 6;
FIG. 8 is a configuration diagram of an IPv4-IPv6 translation device according to a second embodiment of the present invention.
FIG. 9 is a configuration diagram of an IPv4-IPv6 translation device according to a third embodiment of the present invention.
FIG. 10 is a configuration diagram of an IPv4-IPv6 translation device according to a fourth embodiment of the present invention.
FIG. 11 is a configuration diagram of a communication network system according to a fifth embodiment of the present invention.
FIG. 12 is a flowchart in a case where IPv6 terminals communicate with each other via an IPv4-IPv6 translation device according to a fifth embodiment of the present invention.
FIG. 13 is a flowchart continued from FIG. 12;
[Explanation of symbols]
1, 1a, 1b, 1c, 1d, 111 ... IPv4-IPv6 conversion device, 2 ... IPv4 terminal, 3 ... DNSv4 server, 4 ... DHCPv4 server, 5,115 ... IPv6 terminal, 6, 116 ... DNSv6 server, 10 ... IP Transmission / reception means, 11 ... IP header conversion means, 13 ... DNS proxy means, 14 ... IPv4 address acquisition means, 15 ... IP address conversion information holding means, 16 ... IPv4 address pool means, 17 ... DHCP server means, 18 ... DNSv4 server means 19 ... DNSv6 server means, 100, 108 ... communication network system, 104 ... IPv4 network, 106, 107 ... IPv6 network.

Claims (13)

(a)IPv6ネットワークのIPv6端末のIPv6アドレスに対応するIPv4アドレスをIPv4ネットワークのDHCPv4サーバから獲得するIPv4アドレス獲得手段と、
(b)IPv6ネットワークのIPv6端末のIPv6アドレスと獲得したIPv4アドレスとを対応付けて保持するIPアドレス変換情報保持手段と、
(c)IPv4ネットワークに対してIPv4パケットを送受信すると共にIPv6ネットワークに対してIPv6パケットを送受信するIP送受信手段と、
(d)受信したIPv4パケットに含まれるIPv4発信アドレスに固定データを追加してIPv6発信アドレスに変換すると共に前記IPv4パケットに含まれるIPv4宛先アドレスを前記IPアドレス変換情報保持手段に保持されている対応するIPv6アドレスを用いたIPv6宛先アドレスに変換するIPヘッダ変換によってIPv4パケットからIPv6パケットを作成し前記IP送受信手段に渡して送信させ、また、受信したIPv6パケットに含まれるIPv6宛先アドレスから固定データを削除してIPv4宛先アドレスに変換すると共に前記IPv6パケットに含まれるIPv6発信アドレスを前記IPアドレス変換情報保持手段に保持されている対応するIPv4アドレスを用いたIPv4発信アドレスに変換するIPヘッダ変換によってIPv6パケットからIPv4パケットを作成し前記IP送受信手段に渡して送信させるIPヘッダ変換手段と、
(e)IPv4ネットワークのIPv4端末からIPv6ネットワークのIPv6端末のドメインネームに対するIPアドレスの問い合せを受け取り、該問い合わせをIPv4ネットワークのDNSv4サーバ及びIPv6ネットワークのDNSv6サーバに送信して、前記IPv6端末のドメインネームに対するIPアドレスに関する応答を待ち、IPv6ネットワークのDNSv6サーバから前記問い合わせに対応するIPv6アドレスを取得した場合は、そのIPv6アドレスに対応するIPv4アドレスが前記IPアドレス変換情報保持手段に保持されておれば当該IPv4アドレスを前記IPv4ネットワークのIPv4端末に通知し、
前記取得したIPv6アドレスに対応するIPv4アドレスが前記IPアドレス変換情報保持手段に保持されていなければ前記IPv4アドレス獲得手段によりIPv4アドレスを獲得し、前記IPv6アドレスと獲得したIPv4アドレスとを対応付けて前記IPアドレス変換情報保持手段に保持させ、前記IPv6端末のドメインネームに対して仮に割り当てられたIPv4アドレスを前記IPv4ネットワークのIPv4端末に通知し、
また、IPv6ネットワークのIPv6端末からIPv4ネットワークのIPv4端末のドメインネームに対するIPアドレスの問い合せを受け取り、該問い合わせをIPv6ネットワークのDNSv6サーバ及びIPv4ネットワークのDNSv4サーバに送信して、前記IPv4端末のドメインネームに対するIPアドレスに関する応答を待ち、IPv4ネットワークのDNSv4サーバから前記問い合わせに対応するIPv4アドレスを取得した場合は、そのIPv4アドレスに固定データを追加してIPv6アドレスに変換し、そのIPv6アドレスを前記IPv6ネットワークのIPv6端末に通知するDNS代行手段とを具備したことを特徴とするIPv4−IPv6変換装置。
(A) IPv4 address acquisition means for acquiring an IPv4 address corresponding to an IPv6 address of an IPv6 terminal of an IPv6 network from a DHCPv4 server of the IPv4 network;
(B) IP address conversion information holding means for holding the IPv6 address of the IPv6 terminal of the IPv6 network and the acquired IPv4 address in association with each other;
(C) IP transmission / reception means for transmitting / receiving an IPv4 packet to / from an IPv4 network and transmitting / receiving an IPv6 packet to / from an IPv6 network;
(D) Correspondence in which fixed data is added to the IPv4 transmission address included in the received IPv4 packet to convert it to an IPv6 transmission address, and the IPv4 destination address included in the IPv4 packet is held in the IP address conversion information holding unit An IPv6 packet is generated from an IPv4 packet by IP header conversion to convert to an IPv6 destination address using the IPv6 address to be transmitted to the IP transmission / reception means, and fixed data is received from the IPv6 destination address included in the received IPv6 packet. I which is deleted and converted into an IPv4 destination address, and an IPv6 transmission address included in the IPv6 packet is converted into an IPv4 transmission address using a corresponding IPv4 address held in the IP address conversion information holding means An IP header converting means for sending passes to create the IP transmitting and receiving means an IPv4 packet from the IPv6 packet by the header conversion,
(E) receiving an inquiry of an IP address from the IPv4 terminal of the IPv4 network to the domain name of the IPv6 terminal of the IPv6 network, sending the inquiry to the DNSv4 server of the IPv4 network and the DNSv6 server of the IPv6 network, and the domain name of the IPv6 terminal When the IPv6 address corresponding to the inquiry is obtained from the DNSv6 server of the IPv6 network, the IPv4 address corresponding to the IPv6 address is held in the IP address conversion information holding unit. Notifying the IPv4 address to the IPv4 terminal of the IPv4 network,
If the IPv4 address corresponding to the acquired IPv6 address is not held in the IP address translation information holding unit, an IPv4 address is acquired by the IPv4 address acquisition unit, and the IPv6 address and the acquired IPv4 address are associated with each other. An IPv4 address temporarily stored in the IPv6 terminal domain name is notified to the IPv4 terminal of the IPv4 network;
Also, it receives an IP address query from the IPv6 terminal of the IPv6 network to the domain name of the IPv4 terminal of the IPv4 network, sends the query to the DNSv6 server of the IPv6 network and the DNSv4 server of the IPv4 network, and sends the query to the domain name of the IPv4 terminal. When an IPv4 address corresponding to the inquiry is obtained from the DNSv4 server of the IPv4 network after waiting for a response regarding the IP address, fixed data is added to the IPv4 address to convert it to an IPv6 address, and the IPv6 address is converted to the IPv6 network An IPv4-IPv6 conversion apparatus comprising DNS proxy means for notifying an IPv6 terminal.
前記DNS代行手段はさらに、IPv4ネットワークのIPv4端末のドメインネームに対するIPアドレスを問い合せてきたIPv6ネットワークのIPv6端末のIPv6アドレスに対応するIPv4アドレスが前記IPアドレス変換情報保持手段に保持されているか否かを調査し、保持されていなければ前記IPv4アドレス獲得手段によりIPv4アドレスを獲得し、前記IPv6アドレスと獲得したIPv4アドレスとを対応付けて前記IPアドレス変換情報保持手段に保持させることを特徴とする請求項1記載のIPv4−IPv6変換装置。  The DNS agent means further determines whether or not the IPv4 address corresponding to the IPv6 address of the IPv6 terminal of the IPv6 network that has inquired the IP address for the domain name of the IPv4 terminal of the IPv4 network is held in the IP address translation information holding means. If it is not held, an IPv4 address is acquired by the IPv4 address acquisition means, and the IPv6 address and the acquired IPv4 address are associated with each other and held in the IP address translation information holding means. Item 4. The IPv4-IPv6 translation device according to Item 1. 請求項1に記載のIPv4−IPv6変換装置において、前記IPアドレス変換情報保持手段は、保持しているIPv6アドレスとIPv4アドレスの対応のうちで一定時間参照されないものは削除し、削除したIPv4アドレスをIPv4ネットワークのDHCPv4サーバに返却することを特徴とするIPv4−IPv6変換装置。  2. The IPv4-IPv6 translation device according to claim 1, wherein the IP address translation information holding means deletes the correspondence between the held IPv6 address and the IPv4 address that is not referred to for a certain period of time, and uses the deleted IPv4 address. An IPv4-IPv6 translation device that returns to a DHCPv4 server of an IPv4 network. 請求項1から請求項3のいずれかに記載のIPv4−IPv6変換装置において、複数のIPv4アドレスをプールするIPv4アドレスプール手段をさらに具備し、前記IPアドレス変換情報保持手段は、装置立ち上げ時等を契機としてIPv4ネットワークのDHCPv4サーバから複数のIPv4アドレスを獲得し、前記IPv4アドレスプール手段にプールしておき、IPv6ネットワークのIPv6端末のIPv6アドレスに対応するIPv4アドレスを前記IPv4アドレスプール手段から獲得することを特徴とするIPv4−IPv6変換装置。  4. The IPv4-IPv6 translation apparatus according to claim 1, further comprising IPv4 address pool means for pooling a plurality of IPv4 addresses, wherein the IP address translation information holding means is provided when the apparatus is started up, etc. As a trigger, a plurality of IPv4 addresses are obtained from the DHCPv4 server of the IPv4 network, pooled in the IPv4 address pool means, and an IPv4 address corresponding to the IPv6 address of the IPv6 terminal of the IPv6 network is obtained from the IPv4 address pool means. An IPv4-IPv6 converter characterized by the above. 請求項1から請求項4のいずれかに記載のIPv4−IPv6変換装置において、IPv4アドレスの動的な割り当てを行うDHCPv4サーバ手段をさらに具備し、このDHCPv4サーバ手段を前記IPv4ネットワークのDHCPv4サーバの代りに使用することを特徴とするIPv4−IPv6変換装置。  5. The IPv4-IPv6 translation apparatus according to claim 1, further comprising DHCPv4 server means for dynamically allocating an IPv4 address, wherein the DHCPv4 server means is used instead of the DHCPv4 server of the IPv4 network. An IPv4-IPv6 converter characterized by being used in the above. 請求項1から請求項5のいずれかに記載のIPv4−IPv6変換装置において、IPv4ネットワークのドメイン情報を管理するDNSv4サーバ手段およびIPv6ネットワークのドメイン情報を管理するDNSv6サーバ手段をさらに具備し、これらのDNSv4サーバ手段およびDNSv6サーバ手段を前記IPv4ネットワークのDNSv4サーバおよび前記IPv6ネットワークのDNSv6サーバの代りに使用することを特徴とするIPv4−IPv6変換装置。  6. The IPv4-IPv6 translation device according to claim 1, further comprising DNSv4 server means for managing domain information of the IPv4 network and DNSv6 server means for managing domain information of the IPv6 network. An IPv4-IPv6 conversion apparatus characterized in that DNSv4 server means and DNSv6 server means are used in place of the DNSv4 server of the IPv4 network and the DNSv6 server of the IPv6 network. IPv4ネットワーク内のIPv4端末とIPv6ネットワーク内のIPv6端末の間で行われる通信のIPv4パケットおよびIPv6パケットを相互に変換して中継するIPv4−IPv6変換装置であって、
前記IPv4ネットワークおよび前記IPv6ネットワークに対して各々IPv4パケットおよびIPv6パケットの送受信を行うIP送受信手段と、
IPv4アドレスとIPv6アドレスとを対応付けて保持するIPアドレス変換情報保持手段と、
前記IPアドレス変換情報保持手段で保持するIPv4アドレスとIPv6アドレスの対応付けを参照してIPv4アドレスとIPv6アドレスの変換を行い、IPv4パケットとIPv6パケットの変換を行ったのち変換後のパケットを前記IP送受信手段に渡すIPヘッダ変換手段と、
前記IPv4ネットワーク内のDHCPv4サーバからIPv4アドレスを獲得するIPv4アドレス獲得手段と、
前記IPv4端末から前記IPv6端末のドメインネームに対するIPアドレスの問い合せを受け取り、該問い合わせをIPv4ネットワークのDNSv4サーバ及びIPv6ネットワークのDNSv6サーバに送信して、前記IPv6端末のドメインネームに対するIPアドレスに関する応答を待ち、前記IPv6ネットワーク内のDNSv6サーバから前記問い合わせに対応するIPv6アドレスを取得した場合は、当該IPv6アドレスに対応するIPv4アドレスが前記IPアドレス変換情報保持手段に保持されていれば当該IPv4アドレスを前記IPv4端末に通知し、前記取得したIPv6アドレスに対応するIPv4アドレスが前記IPアドレス変換情報保持手段に保持されていなければ前記IPv4アドレス獲得手段によりIPv4アドレスを獲得し、前記IPv6アドレスと獲得したIPv4アドレスとを対応付けて前記IPアドレス変換情報保持手段に保持させ、前記IPv6端末のドメインネームに対して仮に割り当てられたIPv4アドレスを前記IPv4端末に通知するDNS代行手段とを具備したことを特徴とするIPv4−IPv6変換装置。
An IPv4-IPv6 translation device that mutually translates and relays an IPv4 packet and an IPv6 packet of communication performed between an IPv4 terminal in an IPv4 network and an IPv6 terminal in an IPv6 network,
IP transmitting / receiving means for transmitting and receiving IPv4 packets and IPv6 packets to and from the IPv4 network and the IPv6 network, respectively.
IP address conversion information holding means for holding an IPv4 address and an IPv6 address in association with each other;
The IPv4 address and the IPv6 address are converted by referring to the correspondence between the IPv4 address and the IPv6 address held by the IP address conversion information holding unit, and after the IPv4 packet and the IPv6 packet are converted, the converted packet is converted into the IP address. IP header conversion means for passing to the transmission / reception means;
IPv4 address acquisition means for acquiring an IPv4 address from a DHCPv4 server in the IPv4 network;
Receives an IP address query for the domain name of the IPv6 terminal from the IPv4 terminal, sends the query to the DNSv4 server of the IPv4 network and the DNSv6 server of the IPv6 network, and waits for a response regarding the IP address for the domain name of the IPv6 terminal When an IPv6 address corresponding to the inquiry is acquired from a DNSv6 server in the IPv6 network, if the IPv4 address corresponding to the IPv6 address is held in the IP address translation information holding unit, the IPv4 address is set to the IPv4 address. If the IPv4 address corresponding to the acquired IPv6 address is not held in the IP address translation information holding means, the IPv4 address acquisition means An IPv4 address is acquired, the IPv6 address and the acquired IPv4 address are associated with each other and held in the IP address translation information holding unit, and the IPv4 address temporarily assigned to the domain name of the IPv6 terminal is assigned to the IPv4 terminal. An IPv4-IPv6 translation device comprising DNS proxy means for notifying.
請求項7に記載のIPv4−IPv6変換装置において、
前記IP送受信手段は、前記IPv4端末から前記IPv6端末に送られるIPv4パケットを受信したことに応じて、受信したIPv4パケットを前記IPヘッダ変換手段に渡し、
前記IPヘッダ変換手段は、前記IP送受信手段から渡されたIPv4パケットに含まれるIPv4発信アドレスに固定データを追加してIPv6発信アドレスに変換すると共に、前記IPアドレス変換情報保持手段で保持するIPv4アドレスとIPv6アドレスの対応付けを参照して、前記IPv4パケットに含まれるIPv4宛先アドレスをそれに対応するIPv6アドレスを用いたIPv6宛先アドレスに変換するIPヘッダ変換によって前記IPv4パケットからIPv6パケットを作成し、当該IPv6パケットを前記IP送受信手段に渡し、
前記IP送受信手段は、前記IPヘッダ変換手段から渡されたIPv6パケットを前記IPv6ネットワークに送出することを特徴とするIPv4−IPv6変換装置。
The IPv4-IPv6 translation device according to claim 7,
In response to receiving an IPv4 packet sent from the IPv4 terminal to the IPv6 terminal, the IP transmission / reception means passes the received IPv4 packet to the IP header conversion means,
The IP header conversion means adds fixed data to an IPv4 transmission address included in an IPv4 packet passed from the IP transmission / reception means to convert it to an IPv6 transmission address, and holds an IPv4 address held by the IP address conversion information holding means The IPv6 packet is created from the IPv4 packet by the IP header conversion that converts the IPv4 destination address included in the IPv4 packet into the IPv6 destination address using the corresponding IPv6 address, with reference to the correspondence between the IPv4 packet and the IPv6 address, Pass the IPv6 packet to the IP transceiver means,
The IPv4-IPv6 translation device, wherein the IP transmission / reception means sends out an IPv6 packet passed from the IP header translation means to the IPv6 network.
請求項7に記載のIPv4−IPv6変換装置において、
前記IPv6ネットワーク内のDHCPv6サーバからIPv6アドレスを獲得するIPv6アドレス獲得手段をさらに具備し、
前記IP送受信手段は、前記IPv4端末から前記IPv6端末に送られるIPv4パケットを受信したことに応じて、当該受信したIPv4パケットを前記IPヘッダ変換手段に渡し、
前記IPヘッダ変換手段は、前記IP送受信手段から渡されたIPv4パケットに含まれるIPv4発信アドレスを取得し、当該IPv4アドレスに対応するIPv6アドレスが前記IPアドレス変換情報保持手段に保持されていれば当該IPv6アドレスを用いたIPv6発信アドレスに変換し、当該IPv4アドレスに対応するIPv6アドレスが前記IPアドレス変換情報保持手段に保持されていなければ前記IPv6アドレス獲得手段によりIPv6アドレスを獲得し、前記IPv4アドレスと獲得したIPv6アドレスとを対応付けて前記IPアドレス変換情報保持手段に保持させ、当該IPv6アドレスを用いたIPv6発信アドレスに変換すると共に、前記IPアドレス変換情報保持手段で保持するIPv4アドレスとIPv6アドレスの対応付けを参照して、前記IPv4パケットに含まれるIPv4宛先アドレスをそれに対応するIPv6アドレスを用いたIPv6宛先アドレスに変換するIPヘッダ変換によって前記IPv4パケットからIPv6パケットを作成し、当該IPv6パケットを前記IP送受信手段に渡し、
前記IP送受信手段は、前記IPヘッダ変換手段から渡されたIPv6パケットを前記IPv6ネットワークに送出することを特徴とするIPv4−IPv6変換装置。
The IPv4-IPv6 translation device according to claim 7,
IPv6 address acquisition means for acquiring an IPv6 address from a DHCPv6 server in the IPv6 network,
In response to receiving an IPv4 packet sent from the IPv4 terminal to the IPv6 terminal, the IP transmission / reception means passes the received IPv4 packet to the IP header conversion means,
The IP header conversion unit obtains an IPv4 transmission address included in the IPv4 packet passed from the IP transmission / reception unit, and if the IPv6 address corresponding to the IPv4 address is held in the IP address conversion information holding unit, If the IPv6 address corresponding to the IPv4 address is not held in the IPv6 address translation information holding means, the IPv6 address is obtained by the IPv6 address obtaining means, and the IPv4 address and the IPv6 address are obtained. The acquired IPv6 address is associated with and held in the IP address conversion information holding unit, converted into an IPv6 transmission address using the IPv6 address, and the IPv4 address and IPv held in the IP address conversion information holding unit The IPv6 packet is created from the IPv4 packet by the IP header conversion for converting the IPv4 destination address included in the IPv4 packet into the IPv6 destination address using the corresponding IPv6 address with reference to the address correspondence, and the IPv6 packet To the IP transceiver means,
The IPv4-IPv6 translation device, wherein the IP transmission / reception means sends out an IPv6 packet passed from the IP header translation means to the IPv6 network.
IPv4ネットワーク内のIPv4端末とIPv6ネットワーク内のIPv6
端末の間で行われる通信のIPv4パケットおよびIPv6パケットを相互に変換して中継するIPv4−IPv6変換装置であって、
IPv4ネットワークおよびIPv6ネットワークに対して各々IPv4パケットおよびIPv6パケットの送受信を行うIP送受信手段と、
IPv4アドレスとIPv6アドレスとを対応付けて保持するIPアドレス変換情報保持手段と、
前記IPアドレス変換情報保持手段で保持するIPv4アドレスとIPv6アドレスの対応付けを参照してIPv4アドレスとIPv6アドレスの変換を行い、IPv4パケットとIPv6パケットの変換を行ったのち前記IP送受信手段に渡すIPヘッダ変換手段と、
前記IPv6端末から前記IPv4端末のドメインネームに対するIPアドレスの問い合せを受け取り、該問い合わせをIPv6ネットワークのDNSv6サーバ及びIPv4ネットワークのDNSv4サーバに送信して、前記IPv4端末のドメインネームに対するIPアドレスに関する応答を待ち、前記IPv4ネットワーク内のDNSv4サーバから前記問い合わせに対応するIPv4アドレスを取得した場合は、当該IPv4アドレスに固定データを追加してIPv6アドレスに変換し、当該IPv6アドレスを前記IPv6端末に通知するDNS代行手段とを具備したことを特徴とするIPv4−IPv6変換装置。
IPv4 terminal in IPv4 network and IPv6 in IPv6 network
An IPv4-IPv6 translation device for translating and relaying IPv4 packets and IPv6 packets for communication performed between terminals,
IP transmission / reception means for transmitting / receiving IPv4 packets and IPv6 packets to / from the IPv4 network and the IPv6 network, respectively.
IP address conversion information holding means for holding an IPv4 address and an IPv6 address in association with each other;
The IPv4 address and the IPv6 address are converted by referring to the correspondence between the IPv4 address and the IPv6 address held by the IP address conversion information holding unit, and the IP which is transferred to the IP transmitting / receiving unit after converting the IPv4 packet and the IPv6 packet. Header conversion means;
An inquiry about the IP address for the domain name of the IPv4 terminal is received from the IPv6 terminal, the inquiry is sent to the DNSv6 server of the IPv6 network and the DNSv4 server of the IPv4 network, and a response regarding the IP address for the domain name of the IPv4 terminal is awaited When an IPv4 address corresponding to the inquiry is acquired from a DNSv4 server in the IPv4 network, fixed data is added to the IPv4 address to convert it to an IPv6 address, and the DNS agent that notifies the IPv6 address to the IPv6 terminal And an IPv4-IPv6 conversion device.
請求項10に記載のIPv4−IPv6変換装置において、
前記IPv4ネットワーク内のDHCPv4サーバからIPv4アドレスを獲得するIPv4アドレス獲得手段をさらに具備し、
前記IP送受信手段は、前記IPv6端末から前記IPv4端末に送られるIPv6パケットを受信したことに応じて、当該受信したIPv6パケットを前記IPヘッダ変換手段に渡し、
前記IPヘッダ変換手段は、前記IP送受信手段から渡されたIPv6パケットに含まれるIPv6宛先アドレスから固定データを削除してIPv4宛先アドレスに変換すると共に、渡されたIPv6パケットに含まれるIPv6発信アドレスを取得し、当該IPv6アドレスに対応するIPv4アドレスが前記IPアドレス変換情報保持手段に保持されていれば当該IPv4アドレスを用いたIPv4発信アドレスに変換し、当該IPv6アドレスに対応するIPv4アドレスが前記IPアドレス変換情報保持手段に保持されていなければ前記IPv4アドレス獲得手段によりIPv4アドレスを獲得し、前記IPv6アドレスと獲得したIPv4アドレスとを対応付けて前記IPアドレス変換情報保持手段に保持させ、当該IPv4アドレスを用いたIPv4発信アドレスに変換するIPヘッダ変換によってIPv6パケットからIPv4パケットを作成し、当該IPv4パケットを前記IP送受信手段に渡し、
前記IP送受信手段は、前記IPヘッダ変換手段から渡されたIPv4パケットを前記IPv4ネットワークに送出することを特徴とするIPv4−IPv6変換装置。
The IPv4-IPv6 translation device according to claim 10,
IPv4 address acquisition means for acquiring an IPv4 address from a DHCPv4 server in the IPv4 network,
In response to receiving an IPv6 packet sent from the IPv6 terminal to the IPv4 terminal, the IP transmitting / receiving means passes the received IPv6 packet to the IP header converting means,
The IP header conversion unit deletes fixed data from the IPv6 destination address included in the IPv6 packet passed from the IP transmission / reception unit to convert it into an IPv4 destination address, and converts the IPv6 transmission address included in the passed IPv6 packet. If the IPv4 address corresponding to the IPv6 address is held in the IP address translation information holding unit, the IPv4 address is converted to an IPv4 transmission address using the IPv4 address, and the IPv4 address corresponding to the IPv6 address is the IP address If it is not held in the translation information holding means, an IPv4 address is acquired by the IPv4 address acquisition means, the IPv6 address and the acquired IPv4 address are associated with each other and held in the IP address translation information holding means, and the IPv4 address The IP header conversion for converting the IPv4 source address using a scan creates an IPv4 packet from the IPv6 packet, passes the IPv4 packet to the IP transmitting and receiving means,
The IPv4-IPv6 translation device, wherein the IP transmission / reception means sends out an IPv4 packet passed from the IP header translation means to the IPv4 network.
IPv4ネットワーク内のIPv4端末とIPv6ネットワーク内のIPv6
端末の間で行われる通信のIPv4パケットおよびIPv6パケットを相互に変換して中継するIPv4−IPv6変換装置であって、
IPv4ネットワークおよびIPv6ネットワークに対して各々IPv4パケットおよびIPv6パケットの送受信を行うIP送受信手段と、
IPv4アドレスとIPv6アドレスとを対応付けて保持するIPアドレス変換情報保持手段と、
前記IPアドレス変換情報保持手段で保持するIPv4アドレスとIPv6アドレスの対応付けを参照してIPv4アドレスとIPv6アドレスの変換を行い、IPv4パケットとIPv6パケットの変換を行ったのち前記IP送受信手段に渡して送信させるIPヘッダ変換手段と、
前記IPv6ネットワーク内のDHCPv6サーバからIPv6アドレスを獲得するIPv6アドレス獲得手段と、
前記IPv6端末から前記IPv4端末のドメインネームに対するIPアドレスの問い合せを受け取り、該問い合わせをIPv6ネットワークのDNSv6サーバ及びIPv4ネットワークのDNSv4サーバに送信して、前記IPv4端末のドメインネームに対するIPアドレスに関する応答を待ち、前記IPv4ネットワーク内のDNSv4サーバから前記問い合わせに対応するIPv4アドレスを取得した場合は、当該IPv4アドレスに対応するIPv6アドレスが前記IPアドレス変換情報保持手段に保持されていれば当該IPv6アドレスを前記IPv6端末に通知し、前記取得したIPv4アドレスに対応するIPv6アドレスが前記IPアドレス変換情報保持手段に保持されていなければ前記IPv6アドレス獲得手段によりIPv6アドレスを獲得し、前記IPv4アドレスと獲得したIPv6アドレスとを対応付けて前記IPアドレス変換情報保持手段に保持させ、前記IPv4端末のドメインネームに対して仮に割り当てられた当該IPv6アドレスを前記IPv6端末に通知するDNS代行手段とを具備したことを特徴とするIPv4−IPv6変換装置。
IPv4 terminal in IPv4 network and IPv6 in IPv6 network
An IPv4-IPv6 translation device for translating and relaying IPv4 packets and IPv6 packets for communication performed between terminals,
IP transmission / reception means for transmitting / receiving IPv4 packets and IPv6 packets to / from the IPv4 network and the IPv6 network, respectively.
IP address conversion information holding means for holding an IPv4 address and an IPv6 address in association with each other;
The IPv4 address and the IPv6 address are converted with reference to the correspondence between the IPv4 address and the IPv6 address held by the IP address conversion information holding unit, and after the IPv4 packet and the IPv6 packet are converted, the packet is transferred to the IP transmitting / receiving unit. IP header conversion means for transmission;
IPv6 address acquisition means for acquiring an IPv6 address from a DHCPv6 server in the IPv6 network;
An inquiry about the IP address for the domain name of the IPv4 terminal is received from the IPv6 terminal, the inquiry is sent to the DNSv6 server of the IPv6 network and the DNSv4 server of the IPv4 network, and a response regarding the IP address for the domain name of the IPv4 terminal is awaited When an IPv4 address corresponding to the inquiry is obtained from a DNSv4 server in the IPv4 network, if the IPv6 address corresponding to the IPv4 address is held in the IP address translation information holding means, the IPv6 address is set to the IPv6 address. If the IPv6 address corresponding to the acquired IPv4 address is not held in the IP address translation information holding means, the IPv6 address acquisition means An IPv6 address is acquired, the IPv4 address and the acquired IPv6 address are associated with each other and stored in the IP address conversion information storage unit, and the IPv6 address temporarily assigned to the domain name of the IPv4 terminal is stored in the IPv6 terminal An IPv4-IPv6 conversion device comprising DNS proxy means for notifying
請求項12に記載のIPv4−IPv6変換装置において、
前記IPv4ネットワーク内のDHCPv4サーバからIPv4アドレスを獲得するIPv4アドレス獲得手段をさらに具備し、
前記IP送受信手段は、前記IPv6端末から前記IPv4端末に送られるIPv6パケットを受信したことに応じて、当該受信したIPv6パケットを前記IPヘッダ変換手段に渡し、
前記IPヘッダ変換手段は、前記IPアドレス変換情報保持手段で保持するIPv4アドレスとIPv6アドレスの対応付けを参照して、前記IPv6パケットに含まれるIPv6宛先アドレスをそれに対応するIPv4アドレスを用いたIPv4宛先アドレスに変換すると共に、渡されたIPv6パケットに含まれるIPv6発信アドレスを取得し、当該IPv6アドレスに対応するIPv4アドレスが前記IPアドレス変換情報保持手段に保持されていれば当該IPv4アドレスを用いたIPv4発信アドレスに変換し、当該IPv6アドレスに対応するIPv4アドレスが前記IPアドレス変換情報保持手段に保持されていなければ前記IPv4アドレス獲得手段によりIPv4アドレスを獲得し、前記IPv6アドレスと獲得したIPv4アドレスとを対応付けて前記IPアドレス変換情報保持手段に保持させ、当該IPv4アドレスを用いたIPv4発信アドレスに変換するIPヘッダ変換によってIPv6パケットからIPv4パケットを作成し、当該IPv4パケットを前記IP送受信手段に渡し、
前記IP送受信手段は、前記IPヘッダ変換手段から渡されたIPv4パケットを前記IPv4ネットワークに送出することを特徴とするIPv4−IPv6変換装置。
The IPv4-IPv6 translation device according to claim 12,
IPv4 address acquisition means for acquiring an IPv4 address from a DHCPv4 server in the IPv4 network,
In response to receiving an IPv6 packet sent from the IPv6 terminal to the IPv4 terminal, the IP transmitting / receiving means passes the received IPv6 packet to the IP header converting means,
The IP header conversion unit refers to the correspondence between the IPv4 address and the IPv6 address held by the IP address conversion information holding unit, and uses the IPv4 destination address included in the IPv6 packet as the IPv4 destination using the corresponding IPv4 address. IPv4 transmission address included in the passed IPv6 packet is acquired and the IPv4 address corresponding to the IPv6 address is held in the IP address translation information holding unit, and IPv4 using the IPv4 address is converted. If the IPv4 address corresponding to the IPv6 address is not held in the IP address translation information holding means, the IPv4 address is obtained by the IPv4 address obtaining means, and the IPv6 address and the obtained I An IPv4 packet is created from an IPv6 packet by IP header conversion for associating a v4 address with the IP address conversion information holding unit in association with the v4 address, and converting the IPv4 address to an IPv4 transmission address using the IPv4 address, and sending the IPv4 packet to the IP transmission / reception To the means,
The IPv4-IPv6 translation device, wherein the IP transmission / reception means sends out an IPv4 packet passed from the IP header translation means to the IPv4 network.
JP21288997A 1996-11-01 1997-08-07 IPv4-IPv6 communication method and IPv4-IPv6 conversion apparatus Expired - Lifetime JP3965729B2 (en)

Priority Applications (18)

Application Number Priority Date Filing Date Title
JP21288997A JP3965729B2 (en) 1997-08-07 1997-08-07 IPv4-IPv6 communication method and IPv4-IPv6 conversion apparatus
EP06025235.0A EP1773013B1 (en) 1996-11-01 1997-10-27 Communicating method between IPv4 terminal and IPv6 terminal and IPv4-IPv6 converting apparatus
EP97118649A EP0840482B1 (en) 1996-11-01 1997-10-27 Communicating method between IPv4 terminal and IPv6 terminal and IPv4-IPv6 converting apparatus
DE69737645T DE69737645T2 (en) 1996-11-01 1997-10-27 Communication method between an IPv4 terminal and an IPv6 terminal and IPv4-IPv6 conversion apparatus
US08/959,462 US6118784A (en) 1996-11-01 1997-10-28 Communicating method between IPv4 terminal and IPv6 terminal and IPv4-IPv6 converting apparatus
US09/614,715 US6690669B1 (en) 1996-11-01 2000-07-12 Communicating method between IPv4 terminal and IPv6 terminal and IPv4-IPv6 converting apparatus
US09/983,144 US6920136B2 (en) 1996-11-01 2001-10-23 Communicating method between IPv4 terminal and IPv6 terminal and IPv4-IPv6 converting apparatus
US09/983,145 US6920137B2 (en) 1996-11-01 2001-10-23 Communicating method between IPv4 terminal and IPv6 terminal and IPv4-IPv6 converting apparatus
US09/983,141 US7072338B2 (en) 1996-11-01 2001-10-23 Communicating method between IPv4 terminal and IPv6 terminal and IPv4-IPv6 converting apparatus
US09/983,146 US7072339B2 (en) 1996-11-01 2001-10-23 Communicating method between IPv4 terminal and IPv6 terminal and IPv4-IPv6 converting apparatus
US09/983,147 US6985485B2 (en) 1996-11-01 2001-10-23 Communicating method between IPv4 terminal and IPv6 terminal and IPv4-IPv6 converting apparatus
US10/143,947 US6920138B2 (en) 1996-11-01 2002-05-14 Communication method between IPv4 terminal and IPv6 terminal and IPv4-IPv6 converting apparatus
US10/143,761 US6912219B2 (en) 1996-11-01 2002-05-14 Communicating method between IPv4 terminal and IPv6 terminal and IPv4 converting apparatus
US10/143,973 US6928077B2 (en) 1996-11-01 2002-05-14 Communicating method between IPv4 terminal and IPv6 terminal and IPv4-IPv6 converting apparatus
US11/179,501 US7193998B2 (en) 1996-11-01 2005-07-13 Communicating method between IPv4 terminal and IPv6 terminal and IPv4-IPv6 converting apparatus
US11/699,429 US7746863B2 (en) 1996-11-01 2007-01-30 Communicating method between IPv4 terminal and IPv6 terminal and IPv4-IPv6 converting apparatus
US12/764,661 US8031716B2 (en) 1996-11-01 2010-04-21 Communicating method between IPv4 terminal and IPv6 terminal and IPv4-IPv6 converting apparatus
US13/225,796 US8594108B2 (en) 1996-11-01 2011-09-06 Communicating method between IPv4 terminal and IPv6 terminal and IPv4-IPv6 converting apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21288997A JP3965729B2 (en) 1997-08-07 1997-08-07 IPv4-IPv6 communication method and IPv4-IPv6 conversion apparatus

Publications (2)

Publication Number Publication Date
JPH1155319A JPH1155319A (en) 1999-02-26
JP3965729B2 true JP3965729B2 (en) 2007-08-29

Family

ID=16629951

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21288997A Expired - Lifetime JP3965729B2 (en) 1996-11-01 1997-08-07 IPv4-IPv6 communication method and IPv4-IPv6 conversion apparatus

Country Status (1)

Country Link
JP (1) JP3965729B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100336998B1 (en) * 1999-08-02 2002-05-30 전우직 Method For Network Address Translation By Source Address
WO2001033364A1 (en) 1999-10-29 2001-05-10 Fujitsu Limited Device for searching name of communication node device in communication network
JP4365998B2 (en) 2000-07-21 2009-11-18 株式会社日立製作所 Multicast communication method and communication apparatus
KR100451552B1 (en) 2002-01-08 2004-10-08 삼성전자주식회사 Converting Apparatus for converting internet protocol address and Communicating Method using thereof
KR20050079420A (en) * 2004-02-05 2005-08-10 삼성전자주식회사 Tunnelling sevice method and system thereof
JP4677482B2 (en) * 2008-03-27 2011-04-27 西日本電信電話株式会社 Access distribution system, server device, common management device, access distribution device, access distribution method, and computer program

Also Published As

Publication number Publication date
JPH1155319A (en) 1999-02-26

Similar Documents

Publication Publication Date Title
US6920138B2 (en) Communication method between IPv4 terminal and IPv6 terminal and IPv4-IPv6 converting apparatus
US7701952B2 (en) Packet communication method and apparatus and a recording medium storing a packet communication program
US7158526B2 (en) Packet communication method and apparatus and a recording medium storing a packet communication program
EP0840482B1 (en) Communicating method between IPv4 terminal and IPv6 terminal and IPv4-IPv6 converting apparatus
US20040246991A1 (en) IP address translator and packet transfer apparatus
JP3344238B2 (en) IPv4-IPv6 communication method and IPv4-IPv6 translation device
JP3915230B2 (en) PACKET GENERATION METHOD, INFORMATION PROCESSING DEVICE HAVING ITS FUNCTION, AND RECORDING MEDIUM CONTAINING PACKET GENERATION PROGRAM
EP3395049B1 (en) Router and method for connecting an ipv4 network and an ipv6 network
JP3965729B2 (en) IPv4-IPv6 communication method and IPv4-IPv6 conversion apparatus
JP4424401B2 (en) Communication apparatus and communication method
JP2008172816A (en) Address conversion method
JP2001285366A (en) IPv4 TO IPv6 ADDRESSES REPLACING METHOD AND IPv4 TO IPv6 COMMUNICATION METHOD
JPH11136285A (en) Ipv4-ipv6 communication method and ipv4-ipv6 converter
JP3744391B2 (en) IPv4-IPv6 translation device, DNS proxy device, and IP address notification method
JP3747820B2 (en) Conversion information management device and conversion information management method
JP4169025B2 (en) Communication apparatus and communication method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040804

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051226

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060110

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060313

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20060417

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060822

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061004

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061226

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070219

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070521

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

Free format text: PAYMENT UNTIL: 20100608

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100608

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110608

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110608

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120608

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120608

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130608

Year of fee payment: 6

EXPY Cancellation because of completion of term