JP2017017465A - Address conversion system, address conversion duplication method and program - Google Patents
Address conversion system, address conversion duplication method and program Download PDFInfo
- Publication number
- JP2017017465A JP2017017465A JP2015131014A JP2015131014A JP2017017465A JP 2017017465 A JP2017017465 A JP 2017017465A JP 2015131014 A JP2015131014 A JP 2015131014A JP 2015131014 A JP2015131014 A JP 2015131014A JP 2017017465 A JP2017017465 A JP 2017017465A
- Authority
- JP
- Japan
- Prior art keywords
- pcp
- address translation
- conversion information
- address
- conversion
- 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.)
- Granted
Links
Images
Abstract
Description
本発明は、アドレス変換システム、アドレス変換の二重化方法及びプログラムに関する。 The present invention relates to an address translation system, an address translation duplexing method, and a program.
近年、通信機器の仮想化が行われつつある。例えば、特許文献1では、仮想ルータに関する技術が開示されている。また、このような仮想化された機器として、vCPE NAT(virtual Customer Premises Equipment Network Address Translation:仮想顧客構内設備ネットワークアドレス変換)システムがある。vCPE NATシステムは、専用ハードウェアにより構築されたNAT装置ではなく、汎用的なサーバ構成による仮想マシン上で実現されたNAT装置である。
In recent years, virtualization of communication devices is being performed. For example,
vCPE NATシステムでは、アドレス変換についての変換情報の設定を行う方法として、IETF(Internet Engineering Task Force)のRFC(Request For Comment) 6887で規定されているPCP(Port Control Protocol)が推奨されている。RFC 6887によれば、PCP Client装置(以下、PCPクライアント装置と呼ぶ)が宅内の加入者端末から送信された静的なアドレスの変換情報を取得し、取得した変換情報をvCPE NAT装置にPCPに従って送信することで、vCPE NAT装置において静的なアドレスの変換情報の登録が行われる。このような手順に従うことにより、加入者は、ネットワークに繋がっていれば、ロケーションに依存せず、vCPE NATシステムに対して静的な変換情報の設定を行うことが可能である。 In the vCPE NAT system, PCP (Port Control Protocol) defined in RFC (Request For Comment) 6887 of IETF (Internet Engineering Task Force) is recommended as a method for setting translation information for address translation. According to RFC 6887, a PCP Client device (hereinafter referred to as a PCP client device) acquires translation information of a static address transmitted from a subscriber terminal in the home, and sends the obtained conversion information to the vCPE NAT device according to the PCP. By transmitting, registration of static address translation information is performed in the vCPE NAT device. By following such a procedure, the subscriber can set the static conversion information for the vCPE NAT system regardless of the location as long as the subscriber is connected to the network.
NAT装置を二重化する場合、待機系のNAT装置を運用系へと切り替える際、運用系のNAT装置によりそれまで使用されていた変換情報が引き継がれる必要がある。ここで、上述の通り、PCP Client装置は、加入者端末を用いて加入者によって設定される静的な変換情報については保持可能である。しかしながら、vCPE NATシステムにおける変換情報の大半は、vCPE NAT装置がパケットを受信したことを契機にして生成するポート変換情報である。また、PCP Client装置とvCPE NAT装置との間で、パケットの受信を契機として生成されるポート変換情報を伝達する手段が存在しない。このため、PCP Client装置は、vCPE NAT装置が持つ全ての変換情報を保持することができない。よって、待機系のNAT装置を運用系へと切り替える際に、全ての変換情報を引き継ぐことができない。 In the case where the NAT device is duplicated, when the standby NAT device is switched to the active system, the conversion information that has been used by the active NAT device needs to be taken over. Here, as described above, the PCP Client device can hold the static conversion information set by the subscriber using the subscriber terminal. However, most of the conversion information in the vCPE NAT system is port conversion information generated when the vCPE NAT device receives a packet. In addition, there is no means for transmitting port conversion information generated when a packet is received between the PCP Client device and the vCPE NAT device. For this reason, the PCP Client device cannot hold all the conversion information that the vCPE NAT device has. Therefore, when the standby NAT device is switched to the active system, all conversion information cannot be taken over.
本発明は、上記した事情を背景としてなされたものであり、アドレス変換の処理を二重化することができるアドレス変換システム、アドレス変換の二重化方法及びプログラムを提供することを目的とする。 The present invention has been made against the background described above, and it is an object of the present invention to provide an address translation system, a method for duplexing address translation, and a program that can duplicate address translation processing.
本発明にかかるアドレス変換システムは、アドレス変換を行う第1のアドレス変換装置及び第2のアドレス変換装置と、PCP(Port Control Protocol)に従って、前記第1のアドレス変換装置及び前記第2のアドレス変換装置と少なくともアドレスの変換情報について通信を行うPCP装置とを備え、前記第1のアドレス変換装置及び前記第2のアドレス変換装置は、それぞれ、第1の記憶手段と、自装置が運用系として稼働している場合に、パケットの受信を契機として動的なアドレスの変換情報を生成して前記第1の記憶手段に記憶するアドレス変換制御部と、前記アドレス変換制御部により生成された動的なアドレスの変換情報を、前記PCP装置に、PCPに従って送信する第1の送信手段と、前記PCP装置が送信する変換情報を受信し、前記第1の記憶手段に記憶する第1の受信手段とを有し、前記アドレス変換制御部は、前記第1の記憶手段に記憶された変換情報に基づいてアドレス変換を行い、前記PCP装置は、第2の記憶手段と、前記第1の送信手段により送信された前記変換情報を受信し、前記第2の記憶手段に記憶する第2の受信手段と、前記第2の記憶手段に記憶された、前記第1の送信手段により送信された前記変換情報を、前記第1のアドレス変換装置及び前記第2のアドレス変換装置のうち待機系の方へ送信する第2の送信手段とを有する。 The address translation system according to the present invention includes a first address translation device and a second address translation device that perform address translation, and the first address translation device and the second address translation according to PCP (Port Control Protocol). A PCP device that communicates at least address translation information with the device, and each of the first address translation device and the second address translation device operates as a first storage means and its own device as an active system. An address translation control unit that generates dynamic address translation information upon receipt of the packet and stores the information in the first storage unit, and a dynamic address generated by the address translation control unit. First transmission means for transmitting address conversion information to the PCP device according to the PCP, and receiving the conversion information transmitted by the PCP device A first receiving means for storing in the first storage means, wherein the address conversion control unit performs address conversion based on the conversion information stored in the first storage means, and the PCP device The second storage means, the second receiving means for receiving the conversion information transmitted by the first transmission means, and storing it in the second storage means, and the second storage means storing it in the second storage means And the second transmission means for transmitting the translation information transmitted by the first transmission means to the standby system out of the first address translation device and the second address translation device. .
また、本発明にかかるアドレス変換の二重化方法は、運用系として稼働しているアドレス変換を行う第1の装置が、パケットの受信を契機として動的なアドレスの変換情報を生成するステップと、前記第1の装置が、生成した変換情報をPCP(Port Control Protocol)に従って、第2の装置に送信するステップと、前記第2の装置が、PCPに従って前記変換情報を受信するステップと、前記第2の装置が、前記変換情報をPCPに従ってアドレス変換を行う待機系の第3の装置に送信するステップと、前記第3の装置が、PCPに従って前記変換情報を受信するステップとを有する。 In addition, the duplexing method of address translation according to the present invention includes a step in which a first device that performs address translation operating as an active system generates dynamic address translation information when a packet is received, A step in which the first device transmits the generated conversion information to the second device in accordance with PCP (Port Control Protocol); a step in which the second device receives the conversion information in accordance with PCP; And a step of transmitting the conversion information to a third device in a standby system that performs address conversion according to PCP, and a step of receiving the conversion information according to PCP.
また、本発明にかかるプログラムは、運用系として稼働しているアドレス変換を行う第1のアドレス変換装置がパケットの受信を契機として生成した動的なアドレスの変換情報を、PCP(Port Control Protocol)に従って該第1のアドレス変換装置から受信するステップと、受信した前記変換情報をPCPに従ってアドレス変換を行う待機系の第2のアドレス変換装置に送信するステップとをコンピュータに実行させる。 In addition, the program according to the present invention uses PCP (Port Control Protocol) to generate dynamic address translation information generated when a first address translation device that performs address translation that is operating as an active system receives a packet. And receiving the translation information from the first address translation device and transmitting the received translation information to a second address translation device in a standby system that performs address translation according to PCP.
本発明によれば、アドレス変換の処理を二重化することができるアドレス変換システム、アドレス変換の二重化方法及びプログラムを提供できる。 ADVANTAGE OF THE INVENTION According to this invention, the address translation system which can duplicate the process of address translation, the duplex method of address translation, and a program can be provided.
(本発明にかかる実施の形態の概要)
実施の形態の説明に先立って、本発明にかかる実施の形態の概要を説明する。図1は、本発明の実施の形態にかかるアドレス変換システム1の構成を示す模式図である。アドレス変換システム1は、アドレス変換装置2と、アドレス変換装置3と、PCP装置4とを備えている。アドレス変換システム1において、アドレス変換装置2と、PCP装置4とは、互いにPCPに従って通信を行う。また、同様に、アドレス変換装置3と、PCP装置4とは、互いにPCPに従って通信を行う。
(Outline of the embodiment of the present invention)
Prior to the description of the embodiment, an outline of the embodiment according to the present invention will be described. FIG. 1 is a schematic diagram showing a configuration of an
アドレス変換装置2及びアドレス変換装置3は、いずれも、内部ネットワーク等の第1のネットワークと、外部ネットワーク等の第2のネットワークとの間でアドレス変換を行うNAT装置である。ここで、アドレス変換システム1において、アドレス変換装置2及びアドレス変換装置3のうちいずれか一方が、運用系として稼働しており、他方は待機系となっている。すなわち、アドレス変換システム1では、アドレス変換装置2及びアドレス変換装置3を用いて、アドレス変換処理はホットスタンバイによる二重化がなされている。
The
アドレス変換装置2は、アドレス変換制御部21と、記憶部22と、送信部23と、受信部24とを有する。アドレス変換制御部21は、記憶部22に記憶された変換情報に基づいて、アドレス変換を行う。また、アドレス変換制御部21は、自装置が運用系として稼働している場合、パケットの受信を契機として動的なアドレスの変換情報を生成して記憶部22に記憶する。なお、変換情報は、変換におけるアドレスの対応関係を示す情報に限らず、変換におけるポートの対応関係を示す情報を含んでもよい。したがって、アドレス変換装置2は、アドレス変換として、アドレスのみならずポートの変換を行ってもよい。
The
記憶部22は、RAM(Random Access Memory)等の記憶装置によって実現され、変換情報を記憶する。送信部23及び受信部24は、PCPに従って、PCP装置4と通信を行う。特に、送信部23は、アドレス変換制御部21により生成された動的なアドレスの変換情報を、PCP装置4に送信する。また、受信部24は、PCP装置4が送信する変換情報を受信し、記憶部22に記憶する。
The storage unit 22 is realized by a storage device such as a RAM (Random Access Memory) and stores conversion information. The
アドレス変換装置3は、アドレス変換装置2と同様の構成を備えている。すなわち、アドレス変換装置3は、アドレス変換制御部31と、記憶部32と、送信部33と、受信部34とを有する。なお、アドレス変換装置3の各構成は、上述の通り、アドレス変換装置2と同様であるため、説明を省略する。
The
PCP装置4は、PCPに従って、アドレス変換装置2及びアドレス変換装置3と少なくともアドレスの変換情報について通信を行う装置である。PCP装置4は、受信部41と、送信部42と、記憶部43とを有する。
The PCP device 4 is a device that communicates at least with respect to address translation information with the
受信部41は、アドレス変換装置2の送信部23又はアドレス変換装置3の送信部33により送信された変換情報を受信し、記憶部43に記憶する。より具体的には、受信部41は、アドレス変換装置2及びアドレス変換装置3のうち、運用系として稼働いる方から、変換情報を受信し、受信した変換情報を記憶部43に記憶する。
The
送信部42は、記憶部43に記憶された、アドレス変換装置2の送信部23又はアドレス変換装置3の送信部33により送信された変換情報を、アドレス変換装置2及びアドレス変換装置3のうち待機系の方へ送信する。すなわち、送信部42は、アドレス変換装置2及びアドレス変換装置3のうち運用系の方から送信された変換情報を記憶部43から読み出して、待機系の方へ送信する。
記憶部43は、RAM等の記憶装置によって実現され、変換情報を記憶する。
The
The
このように、アドレス変換システム1では、PCP装置4を介して、運用系のアドレス変換装置から待機系のアドレス変換装置へと、パケットの受信を契機として生成された動的なアドレスの変換情報を転送することができる。したがって、アドレス変換システム1によれば、アドレス変換の処理を二重化することができる。
As described above, in the
(実施の形態の詳細)
以下、図面を参照して本発明の実施の形態の詳細について説明する。図2は、本発明の実施の形態にかかるアドレス変換システム100の構成を示す模式図である。図2に示されるように、アドレス変換システム100は、NAT装置200と、NAT装置300と、PCPクライアント装置400と、L2スイッチ110と、L2スイッチ120とを有する。なお、NAT装置200、300は、アドレス変換装置と称されることがある。また、PCPクライアント装置400は、PCP装置と称されることがある。
(Details of the embodiment)
The details of the embodiments of the present invention will be described below with reference to the drawings. FIG. 2 is a schematic diagram showing a configuration of the
アドレス変換システム100は、vCPE NATシステムであり、インターネットサービスプロバイダの施設(局舎)に配置されている。アドレス変換システム100は、汎用的なサーバ構成による仮想マシン上で実現されている。したがって、アドレス変換システム100におけるNAT装置200、NAT装置300及びPCPクライアント装置400では、この仮想マシンに割り当てられたCPUやメモリなどのリソースを用いて、下記の構成要素が実現されている。
The
アドレス変換システム100において、NAT装置200と、PCPクライアント装置400とは、通信プロトコルとしてPCPを用いて、互いに通信する。同様に、NAT装置300と、PCPクライアント装置400とは、通信プロトコルとしてPCPを用いて、互いに通信する。
In the
NAT装置200及びNAT装置300は、いずれも、ネットワーク501と、ネットワーク502との間で、アドレス変換を行うNAT装置である。本実施の形態では、ネットワーク501は、インターネットサービスプロバイダが提供するネットワークであり、ネットワーク502はインターネットである。なお、ネットワーク501には、例えば、加入者端末600が接続されている。NAT装置200及びNAT装置300は、L2スイッチ110を介してネットワーク501とパケットを送受信する。また、NAT装置200及びNAT装置300は、L2スイッチ120を介してネットワーク502とパケットを送受信する。
The
アドレス変換システム100では、NAT装置200及びNAT装置300のうちいずれか一方が、運用系として稼働しており、他方は待機系となっている。このように、アドレス変換システム100では、NAT装置200及びNAT装置300を用いることで、ネットワーク501とネットワーク502との間の通信の際のアドレス変換処理の二重化を実現している。
In the
以下の本実施の形態の説明では、説明の便宜のため、NAT装置200が運用系であり、NAT装置300が待機系であるものとする。このため、NAT装置200の各構成を説明する際、運用系としての構成について説明する。また、NAT装置300の各構成を説明する際、待機系としての構成について説明する。しかしながら、待機系として機能するために、NAT装置200の各構成が、後述するNAT装置300における対応する構成を備えていてもよい。また、同様に、運用系として機能するために、NAT装置300の各構成が、後述するNAT装置200における対応する構成を備えていてもよい。
In the following description of the present embodiment, for convenience of explanation, it is assumed that the
NAT装置200は、NAT制御部210と、記憶領域220と、PCPサーバ部235とを有する。
NAT制御部210は、記憶領域220に記憶された変換情報に基づいて、アドレス変換を行う。本実施の形態では、記憶領域220に記憶された変換情報とは、具体的には、待ち受けポート設定情報及びポート変換情報である。なお、待ち受けポート設定情報は、加入者端末600がネットワーク502側の図示しない機器からアクセスされる際の待ち受けポートについての変換情報であり、具体的にはアドレス及びポート番号の変換テーブルである。また、ポート変換情報とは、加入者端末600がネットワーク502側の図示しない機器へアクセスする際の変換情報であり、具体的にはアドレス及びポート番号の変換テーブルである。
The
The
また、NAT制御部210は、加入者端末600からのパケットの受信を契機として動的な変換情報を生成して記憶領域220に記憶する。すなわち、NAT制御部210は、ダイナミックNATのための変換情報を生成して記憶部22に記憶する。より具体的には、NAT制御部210は、加入者端末600からのパケットを受信してセッションを生成する際、ポート変換情報を生成する。なお、NAT装置200によるポート変換情報は、公知の技術により生成される。例えば、NAT制御部210は、NAT装置200において管理されているアドレステーブルを参照して、未払い出しのアドレスを選択することにより、ポート変換情報を生成する。
Further, the
記憶領域220は、RAM等の記憶装置における記憶領域であり、変換情報を記憶する。記憶領域220には、NAT制御部210により生成された動的な変換情報と、PCPクライアント装置400から受信した変換情報とが記憶される。
The
PCPサーバ部235は、PCPに従って、PCPクライアント装置400と通信を行う。具体的には、PCPサーバ部235は、以下の通信を行う。PCPサーバ部235は、NAT制御部210により生成された動的な変換情報を、PCPクライアント装置400に送信する。また、PCPサーバ部235は、PCPクライアント装置400が送信する変換情報を受信する。PCPサーバ部235は、受信した変換情報を記憶領域220に記憶する。
The
PCPサーバ部235は、PCPに従った送信として、具体的には、PCPクライアント装置400に対して、PCP MAP応答信号、PCP PEER応答信号、及びPCP Announce応答信号を送信する。また、PCPサーバ部235は、PCPに従った受信として、具体的には、PCPクライアント装置400から送信されたPCP MAP要求信号、PCP PEER要求信号、及びPCP Announce要求信号を受信する。
Specifically, the
RFC 6887によれば、PCPクライアント装置400から発せられる信号を「要求」信号と呼び、NAT装置200又はNAT装置300から発せられる信号を「応答」信号と呼びこととなる。したがって、このような定義に沿って、PCP MAP応答信号、PCP PEER応答信号、PCP Announce応答信号、PCP MAP要求信号、PCP PEER要求信号、PCP Announce要求信号と称することがあるが、PCP MAP応答信号、PCP PEER応答信号、及びPCP Announce応答信号が、PCP MAP要求信号、PCP PEER要求信号、及びPCP Announce要求信号に対する応答として発せられるとは限らず、自発的に発せられる場合がある。このため、以下の説明では、単に、「応答」又は「要求」を省略して、PCP MAP信号、PCP PEER信号、PCP Announce信号、PCP MAP信号、PCP PEER信号、PCP Announce信号と呼ぶことがある。なお、これら各信号の詳細については、後述する。
According to RFC 6887, a signal issued from the
なお、PCPサーバ部235の送信にかかる構成は、送信手段と称されることがあり、PCPサーバ部235の受信にかかる構成は、受信手段と称されることがある。
The configuration related to transmission of the
次に、PCPクライアント装置400について説明する。PCPクライアント装置400は、PCPクライアント部415と、記憶領域430と、静的変換情報取得部440と、切替部450とを有する。
Next, the
PCPクライアント部415は、PCPに従って、NAT装置200及びNAT装置300と通信を行う。具体的には、PCPクライアント部415は、以下の通信を行う。
PCPクライアント部415は、NAT装置200のPCPサーバ部235又はNAT装置300のPCPサーバ部335から送信された動的な変換情報を受信する。なお、PCPクライアント部415は、NAT装置200が運用系である場合に、NAT装置200から動的な変換情報を受信し、NAT装置300が運用系である場合に、NAT装置300から動的な変換情報を受信する。PCPクライアント部415は、受信した変換情報を記憶領域430に記憶する。
The
The
また、PCPクライアント部415は、記憶領域430に記憶された変換情報を読み出して、NAT装置200及びNAT装置300に送信する。ここで、後述する静的変換情報取得部440により取得された静的な変換情報については、PCPクライアント部415は、NAT装置200及びNAT装置300に送信する。また、NAT装置200又はNAT装置300から送信された動的な変換情報については、PCPクライアント部415は、NAT装置200及びNAT装置300のうち待機系の方へ送信する。すなわち、PCPクライアント部415は、運用系のNAT装置から得た動的な変換情報を待機系のNAT装置へとPCPに則って伝達する役割を担っている。
Further, the
PCPクライアント部415は、PCPに従った送信として、具体的には、NAT装置200又はNAT装置300に対して、PCP MAP要求信号、PCP PEER要求信号、及びPCP Announce要求信号を送信する。また、PCPクライアント部415は、PCPに従った受信として、具体的には、NAT装置200又はNAT装置300から送信されたPCP MAP応答信号、PCP PEER応答信号、及びPCP Announce応答信号を受信する。
Specifically, the
なお、PCPクライアント部415の送信にかかる構成は、送信手段と称されることがあり、PCPクライアント部415の受信にかかる構成は、受信手段と称されることがある。
The configuration related to transmission of the
記憶領域430は、RAM等の記憶装置における記憶領域であり、変換情報を記憶する。記憶領域430には、静的変換情報取得部440により取得された静的な変換情報と、NAT装置200又はNAT装置300から受信した動的な変換情報とが記憶される。
The
静的変換情報取得部440は、静的な変換情報を取得する。すなわち、静的変換情報取得部440は、スタティックNATについての変換情報を取得する。静的変換には、待ち受けポート設定情報及びポート変換情報が含まれる。すなわち、本実施の形態において、静的な変換情報は、アドレス及びポート番号の変換テーブルである。
The static conversion
なお、静的変換情報取得部440は、公知の方法で、静的な変換情報を取得する。例えば、加入者などのユーザが指定した変換情報又は既定の変換情報を、加入者端末600から取得する。より具体的には、ユーザは、宅内などに配置された加入者端末600を用いて、NAT装置200又はNAT装置300を経由して、PCPクライアント装置400に対し、待ち受けポート設定情報及びポート変換情報を送信する。なお、その際の通信プロトコルとしては、HTTP(Hypertext Transfer Protocol)が用いられる。
Note that the static conversion
また、静的変換情報取得部440は、取得した静的な変換情報を記憶領域430に記憶する。記憶領域430に記憶された静的な変換情報は、PCPクライアント部415によりNAT装置200及びNAT装置300に送信される。NAT装置200及びNAT装置300では、受信した待ち受けポート設定情報及びポート変換情報を記憶領域220又は記憶領域320に記憶し、これら情報の登録を行う。
Further, the static conversion
切替部450は、NAT装置200及びNAT装置300のうち運用系として稼働している方の稼働状態を監視し、稼働状態が異常である場合に、NAT装置200及びNAT装置300のうち待機系の方を運用系として稼働するよう切り替える。切替部450は、PCPに従った通信をNAT装置200及びNAT装置300と行うことにより、切替を実現する。切替部450は、後述するPCP Announce信号を運用系のNAT装置に送信し、その応答を確認することで運用系のNAT装置の稼働状態を監視する。また、切替部450は、PCP Announce信号を用いて、NAT装置の切替を実施する。
The
次に、NAT装置300について説明する。NAT装置300は、NAT制御部310と、記憶領域320と、PCPサーバ部335とを有する。ここで、NAT制御部310はNAT装置200におけるNAT制御部210に相当し、記憶領域320は、NAT装置200における記憶領域220に相当し、PCPサーバ部335はNAT装置200におけるPCPサーバ部235に相当する。
Next, the
以下、待機系としてのNAT装置300の構成を説明する。待機系の場合、パケットは、NAT装置300を経由しない。このため、NAT制御部310は、待機系の場合、運用系のNAT装置200のNAT制御部210の処理として説明した、アドレス変換や動的な変換情報の生成は行わない。
Hereinafter, the configuration of the
NAT制御部310は、PCPサーバ部335がPCPクライアント装置400から運用系への切り替え指示を受信した場合、運用系としての上記処理を開始する。その際、NAT制御部310は、L2スイッチ110及びL2スイッチ120に対し、切替信号としてGArp(Gratuitous ARP)信号を送信することによりパケットの経路の切り替えを指示する。ここで、記憶領域320にはNAT装置200が運用時に用いていた変換情報が記憶されているため、NAT装置300が待機系から運用系へと切り替わっても支障をきたさない。
When the
記憶領域320は、RAM等の記憶装置における記憶領域であり、変換情報を記憶する。NAT装置300が待機中であっても、記憶領域320には、PCPサーバ部335がPCPクライアント装置400から受信した変換情報が記憶される。
The storage area 320 is a storage area in a storage device such as a RAM, and stores conversion information. Even when the
PCPサーバ部335は、PCPに従って、PCPクライアント装置400と通信を行う。具体的には、PCPサーバ部335は、以下の通信を行う。すなわち、待機系のPCPサーバ部335は、PCPクライアント装置400から、PCPクライアント装置400が取得した静的な変換情報と運用系のNAT装置200が生成した動的な変換情報を受信する。PCPサーバ部335は、受信した変換情報を記憶領域320に記憶する。
The
PCPサーバ部335は、運用系のPCPサーバ部235と同様、PCPに従った受信として、PCPクライアント装置400から送信されたPCP MAP要求信号、PCP PEER要求信号、及びPCP Announce要求信号を受信する。また、PCPサーバ部335は、PCPに従った送信として、PCPクライアント装置400に対して、PCP MAP応答信号、PCP PEER応答信号、及びPCP Announce応答信号を送信する。
The
なお、PCPサーバ部335の送信にかかる構成は、送信手段と称されることがあり、PCPサーバ部335の受信にかかる構成は、受信手段と称されることがある。
The configuration related to transmission of the
L2スイッチ110及びL2スイッチ120は、NAT装置200又はNAT装置300からの切替信号(GArp信号)の受信を契機として、パケットの経路を切替える。すなわち、L2スイッチ110及びL2スイッチ120は、新たに運用系として稼働するNAT装置をパケットが経由するよう、経路の切替えを実施する。
The L2 switch 110 and the L2 switch 120 switch packet paths when receiving a switching signal (GArp signal) from the
ここで、変換テーブルについて説明する。NAT装置200の記憶領域220、NAT装置300の記憶領域320、及びPCPクライアント装置400の記憶領域430は、例えば、図3に示されるような変換テーブルを記憶する。なお、変換テーブルは、テーブル形式で表された変換情報であり、具体的には、待ち受けポート設定情報及びポート変換情報を格納したテーブルである。図3に示すように、例えば、変換情報は一つのテーブルに集約される。
Here, the conversion table will be described. The
図3に示される変換テーブルにおいて、「SA」(source address)は加入者端末600のIPアドレスを表し、「SP」(source port)は加入者端末600のポート番号を表している。また、「DA」(destination address)はネットワーク502に存在する機器の宛先IPアドレスを表し、「DP」(destination port)はこの機器の宛先ポート番号を表している。さらに、「PA」(public address)はNAT制御部210若しくはNAT制御部310から払い出されたIPアドレス又はユーザにより静的な変換情報として設定されたIPアドレスを表する。同様に、「PP」(public port)はNAT制御部210若しくはNAT制御部310から払い出されたポート番号又はユーザにより静的な変換情報として設定されたポート番号を表す。また、「Protocol」はプロトコル番号を表している。そして、「Dynamic/Static」は動的な変換情報であるか、静的な変換情報であるかを表している。すなわち、表中の「static」は静的な変換情報であることを表し、「dynamic」は動的な変換情報であることを表している。
In the conversion table shown in FIG. 3, “SA” (source address) represents the IP address of
図3に示される変換テーブルが、NAT装置200の記憶領域220に記憶された変換テーブルであるものとして、図3に示される変換テーブルの内容について以下説明する。図3に示される変換テーブルにおいて、No.1の変換情報は、PCP MAP要求信号により登録された待ち受けポート設定情報の一例である。すなわち、No.1の変換情報は、PCPクライアント装置400からNAT装置200が受信した静的な変換情報である。また、No.2の変換情報は、PCP PEER要求信号により登録されたポート変換情報の一例である。すなわち、No.2の変換情報も、PCPクライアント装置400からNAT装置200が受信した静的な変換情報である。No.3の変換情報は、運用系のNAT装置、つまりNAT装置200が生成したポート変換情報の一例である。すなわち、No.3の変換情報は、動的な変換情報である。
Assuming that the conversion table shown in FIG. 3 is a conversion table stored in the
このように、NAT装置200、NAT装置300、及びPCPクライアント装置400は、加入者などのユーザにより静的に設定された変換情報に加え、動的な変換情報を一つのテーブルにより管理する。ここで、図3に示されるように、本実施の形態では、変換情報が静的な変換情報であるのか動的な変換情報であるのかを管理しているので、記憶された各変換情報が静的なものであるのか動的なものであるのかを識別することが可能である。このため、静的であるか動的であるかによって、変換情報の扱いを変えることができる。例えば、静的な変換情報については半永久的に記憶し、動的な変換情報に対しては記憶期限を設けることができる。
As described above, the
次に、本実施の形態におけるPCPに従った通信の詳細について説明する。本実施の形態では、PCP PEER信号、PCP MAP信号、及びPCP Announce信号を用いて、変換情報の転送及びNAT装置の切替が行われる。本実施の形態では、RFC 6887に規定されているこれら信号を以下のように拡張して用いている。なお、RFC 6887によれば、PCP PEER信号は、加入者端末600からネットワーク502側の機器へアクセスするために必要となるアドレス及びポート変換の情報をユーザが登録する際に使用される信号である。また、RFC 6887によれば、PCP MAP信号は、ネットワーク502側の機器から加入者端末600へアクセスするために必要となるアドレス及びポート変換の情報をユーザが登録する際に使用される信号である。さらに、RFC 6887によれば、PCP Announce信号は、PCPクライアント装置400から送信された変換情報によるポートマッピングの設定が、NAT装置の再起動等の理由により消失してしまった際に、使用される信号である。
Next, details of communication according to the PCP in the present embodiment will be described. In the present embodiment, conversion information is transferred and a NAT device is switched using a PCP PEER signal, a PCP MAP signal, and a PCP Announce signal. In the present embodiment, these signals defined in RFC 6887 are expanded and used as follows. According to RFC 6887, the PCP PEER signal is a signal used when a user registers address and port conversion information necessary for accessing the device on the network 502 side from the
ここで、本実施の形態に用いられるPCP PEER信号について説明する。図4は、本実施の形態に用いられるPCP PEER信号のフレーム内の主な要素を示す表である。なお、図4の表において、「Req」で示される項目はPCP PEER要求信号の要素を示し、「Res」で示される項目はPCP PEER応答信号の要素を示す。 Here, the PCP PEER signal used in the present embodiment will be described. FIG. 4 is a table showing main elements in the frame of the PCP PEER signal used in the present embodiment. In the table of FIG. 4, items indicated by “Req” indicate elements of the PCP PEER request signal, and items indicated by “Res” indicate elements of the PCP PEER response signal.
本実施の形態で用いられるPCP PEER信号は、次の点で、RFC 6887に規定されているPCP PEER信号を拡張している。すなわち、図4に示されるように、本実施の形態で用いられるPCP PEER信号では、新たにDynamic/Static通知領域(図4で太線で囲まれた要素)が信号の要素として追加されている。また、上述のように、RFC 6887に規定されているPCP PEER信号は、静的な変換情報を伝達するために用いられるが、本実施の形態にかかるPCP PEER信号では、静的な変換情報以外に動的な変換情報の伝達にも用いられる点で、特徴的である。 The PCP PEER signal used in the present embodiment extends the PCP PEER signal defined in RFC 6887 in the following points. That is, as shown in FIG. 4, in the PCP PEER signal used in the present embodiment, a Dynamic / Static notification area (element surrounded by a thick line in FIG. 4) is newly added as a signal element. In addition, as described above, the PCP PEER signal defined in RFC 6887 is used to transmit static conversion information. However, in the PCP PEER signal according to the present embodiment, other than static conversion information. It is characteristic in that it is also used for transmitting dynamic conversion information.
運用系であるNAT装置200のPCPサーバ部235は、NAT制御部210により生成された動的な変換情報を、PCP PEER応答信号によりPCPクライアント装置400へ送信する。また、PCPクライアント装置400のPCPクライアント部415は、このPCP PEER応答信号を受信することにより、NAT制御部210により生成された動的な変換情報を取得する。また、PCPクライアント装置400のPCPクライアント部415は、取得した動的な変換情報をPCP PEER要求信号により、待機系であるNAT装置300に送信する。そして、NAT装置300のPCPサーバ部335は、このPCP PEER要求信号を受信することにより、NAT装置200で生成された動的な変換情報を取得する。
The
図5は、運用系のNAT装置200及びPCPクライアント装置400における変換テーブルの要素と、PCP PEER応答信号の要素との対応関係を示す表である。図5に示されるように、変換テーブルの各要素はPCP PEER応答信号により、運用系のNAT装置200からPCPクライアント装置400へと次のように送受信される。
テーブル要素「Protocol」は、PCP PEER応答信号の信号要素「Protocol」により送受信される。
テーブル要素「Dynamic/Static」は、PCP PEER応答信号の信号要素「Dynamic/Static」により送受信される。
テーブル要素「SP」は、PCP PEER応答信号の信号要素「Internal Port」により送受信される。
テーブル要素「PP」は、PCP PEER応答信号の信号要素「Assigned External Port」により送受信される。
テーブル要素「PA」は、PCP PEER応答信号の信号要素「Assigned External IP Address」により送受信される。
テーブル要素「SA」は、PCP PEER応答信号の信号要素「Internal IP Address」により送受信される。
テーブル要素「DA」は、PCP PEER応答信号の信号要素「Remote peer IP Address」により送受信される。
テーブル要素「DP」は、PCP PEER応答信号の信号要素「Remote peer port」により送受信される。
FIG. 5 is a table showing a correspondence relationship between elements of the conversion table and elements of the PCP PEER response signal in the
The table element “Protocol” is transmitted and received by the signal element “Protocol” of the PCP PEER response signal.
The table element “Dynamic / Static” is transmitted and received by the signal element “Dynamic / Static” of the PCP PEER response signal.
The table element “SP” is transmitted / received by the signal element “Internal Port” of the PCP PEER response signal.
The table element “PP” is transmitted / received by the signal element “Assigned External Port” of the PCP PEER response signal.
The table element “PA” is transmitted / received by the signal element “Assigned External IP Address” of the PCP PEER response signal.
The table element “SA” is transmitted and received by a signal element “Internal IP Address” of the PCP PEER response signal.
The table element “DA” is transmitted and received by the signal element “Remote peer IP Address” of the PCP PEER response signal.
The table element “DP” is transmitted and received by the signal element “Remote peer port” of the PCP PEER response signal.
なお、変換情報が静的である場合、PCP PEER信号における拡張された信号要素「Dynamic/Static」の値は、静的であることを示す値、すなわち「static」となる。また、変換情報が動的である場合、PCP PEER信号における拡張された信号要素「Dynamic/Static」の値は、動的であることを示す値、すなわち「dynamic」となる。したがって、運用系のNAT装置200から送信される、NAT制御部210により生成された動的な変換情報については、信号要素「Dynamic/Static」の値は、「dynamic」である。このように、運用系のNAT装置200は、動的な変換情報であることを示す識別子である「dynamic」が付加されたPCP PEER信号を用いて動的な変換情報を送信する。
When the conversion information is static, the value of the expanded signal element “Dynamic / Static” in the PCP PEER signal is a value indicating static, that is, “static”. When the conversion information is dynamic, the value of the extended signal element “Dynamic / Static” in the PCP PEER signal is a value indicating dynamic, that is, “dynamic”. Therefore, for the dynamic conversion information generated by the
PCPクライアント装置400は、運用系のNAT装置200から変換情報を受信した際、信号要素「Dynamic/Static」を確認することにより、各変換情報が動的な変換情報であるのか静的な変換情報であるのかを区別することができる。すなわち、PCPクライアント装置400は、PCP PEER応答信号の拡張された領域において「static」が設定されていた場合、静的な変換情報であると判断し、PCP PEER応答信号の拡張された領域において「dynamic」が設定されていた場合、動的な変換情報であると判断する。
When the
なお、本実施の形態では、静的な変換情報の場合、変換テーブル及びPCP PEER信号において、明示的に「static」と設定するが、「static」と設定されなくてもよい。すなわち、静的な変換情報である場合、テーブル要素「Dynamic/Static」及び信号要素「Dynamic/Static」において、何も設定されていなくてもよい。この場合、PCPクライアント装置400は、信号要素「Dynamic/Static」において何も指定されていない場合、静的な変換情報であると判断する。
In the present embodiment, in the case of static conversion information, “static” is explicitly set in the conversion table and the PCP PEER signal, but “static” may not be set. That is, in the case of static conversion information, nothing may be set in the table element “Dynamic / Static” and the signal element “Dynamic / Static”. In this case, if nothing is specified in the signal element “Dynamic / Static”, the
図6は、待機系のNAT装置300及びPCPクライアント装置400における変換テーブルの要素と、PCP PEER要求信号の要素との対応関係を示す表である。図6に示されるように、変換テーブルの各要素はPCP PEER要求信号により、PCPクライアント装置400から待機系のNAT装置300へと次のように送受信される。
テーブル要素「Protocol」は、PCP PEER要求信号の信号要素「Protocol」により送受信される。
テーブル要素「Dynamic/Static」は、PCP PEER要求信号の信号要素「Dynamic/Static」により送受信される。
テーブル要素「SP」は、PCP PEER要求信号の信号要素「Internal Port」により送受信される。
テーブル要素「PP」は、PCP PEER要求信号の信号要素「Suggested External Port」により送受信される。
テーブル要素「PA」は、PCP PEER要求信号の信号要素「SuggestedExternal IP Address」により送受信される。
テーブル要素「SA」は、PCP PEER要求信号の信号要素「Internal IP Address」により送受信される。
テーブル要素「DA」は、PCP PEER要求信号の信号要素「Remote peer IP Address」により送受信される。
テーブル要素「DP」は、PCP PEER要求信号の信号要素「Remote peer port」により送受信される。
FIG. 6 is a table showing a correspondence relationship between elements of the conversion table and elements of the PCP PEER request signal in the
The table element “Protocol” is transmitted and received by the signal element “Protocol” of the PCP PEER request signal.
The table element “Dynamic / Static” is transmitted and received by the signal element “Dynamic / Static” of the PCP PEER request signal.
The table element “SP” is transmitted / received by the signal element “Internal Port” of the PCP PEER request signal.
The table element “PP” is transmitted / received by the signal element “Suggested External Port” of the PCP PEER request signal.
The table element “PA” is transmitted / received by the signal element “Suggested External IP Address” of the PCP PEER request signal.
The table element “SA” is transmitted / received by the signal element “Internal IP Address” of the PCP PEER request signal.
The table element “DA” is transmitted / received by the signal element “Remote peer IP Address” of the PCP PEER request signal.
The table element “DP” is transmitted / received by the signal element “Remote peer port” of the PCP PEER request signal.
ここで、PCPクライアント装置400から待機系のNAT装置300へと送信される、NAT制御部210により生成された動的な変換情報については、テーブル要素「Dynamic/Static」の値及び信号要素「Dynamic/Static」の値は、「dynamic」である。
Here, regarding the dynamic conversion information generated by the
PCP PEER要求信号は、待機系のNAT装置300への動的な変換情報の送信のみならず、運用系のNAT装置200及び待機系のNAT装置300への静的な変換情報の送信にも用いられる。この場合、PCPクライアント装置400から送信される静的な変換情報については、テーブル要素「Dynamic/Static」の値及び信号要素「Dynamic/Static」の値は、「static」である。なお、静的な変換情報をPCP PEER要求信号により運用系のNAT装置200に送信する場合の対応関係についても、図6に示される対応関係と同じである。すなわち、図6中の待機系NAT装置を運用系NAT装置に置き換えればよい。
The PCP PEER request signal is used not only for dynamic conversion information transmission to the
上記のようなPCP PEER要求信号を受信することにより、待機系のNAT装置300は、運用系のNAT装置200で生成された動的な変換情報を取得する。このように、本実施の形態では、PCP PEER信号により、静的な変換情報のみならず、運用系のNAT装置により生成された動的な変換情報も、NAT装置とPCPクライアント装置間で送受信される。
By receiving the PCP PEER request signal as described above, the
次に、本実施の形態に用いられるPCP MAP信号について説明する。図7は、本実施の形態に用いられるPCP MAP信号のフレーム内の主な要素を示す表である。なお、図7の表において、「Req」で示される項目はPCP MAP要求信号の要素を示し、「Res」で示される項目はPCP MAP応答信号の要素を示す。 Next, the PCP MAP signal used in this embodiment will be described. FIG. 7 is a table showing main elements in the frame of the PCP MAP signal used in the present embodiment. In the table of FIG. 7, items indicated by “Req” indicate elements of the PCP MAP request signal, and items indicated by “Res” indicate elements of the PCP MAP response signal.
本実施の形態で用いられるPCP MAP信号は、次の点で、RFC 6887に規定されているPCP MAP信号を拡張している。すなわち、図7に示されるように、本実施の形態で用いられるPCP MAP信号では、PCP PEER信号と同様、新たにDynamic/Static通知領域(図7で太線で囲まれた要素)が信号の要素として追加されている。 The PCP MAP signal used in the present embodiment extends the PCP MAP signal defined in RFC 6887 in the following points. That is, as shown in FIG. 7, in the PCP MAP signal used in the present embodiment, a new Dynamic / Static notification area (element surrounded by a thick line in FIG. 7) is a signal element as in the PCP PEER signal. Has been added as.
PCPクライアント装置400のPCPクライアント部415は、静的変換情報取得部440により取得された静的な変換情報を、PCP MAP要求信号によりNAT装置200及びNAT装置300へ送信する。NAT装置200のPCPサーバ部235及びNAT装置300のPCPサーバ部335は、このPCP MAP要求信号を受信することにより、静的な変換情報を取得する。
The
図8は、運用系のNAT装置200、待機系のNAT装置300、及びPCPクライアント装置400における変換テーブルの要素と、PCP MAP要求信号の要素との対応関係を示す表である。図8に示されるように、変換テーブルの各要素はPCP MAP要求信号により、PCPクライアント装置400からNAT装置200及びNAT装置300へと次のように送受信される。
テーブル要素「Protocol」は、PCP MAP要求信号の信号要素「Protocol」により送受信される。
テーブル要素「Dynamic/Static」は、PCP MAP要求信号の信号要素「Dynamic/Static」により送受信される。
テーブル要素「SP」は、PCP MAP要求信号の信号要素「Internal Port」により送受信される。
テーブル要素「PP」は、PCP MAP要求信号の信号要素「Suggested External Port」により送受信される。
テーブル要素「PA」は、PCP MAP要求信号の信号要素「Suggested External IP Address」により送受信される。
テーブル要素「SA」は、PCP MAP要求信号の信号要素「Internal IP Address」により送受信される。
FIG. 8 is a table showing a correspondence relationship between elements of the conversion table and elements of the PCP MAP request signal in the
The table element “Protocol” is transmitted and received by the signal element “Protocol” of the PCP MAP request signal.
The table element “Dynamic / Static” is transmitted and received by the signal element “Dynamic / Static” of the PCP MAP request signal.
The table element “SP” is transmitted / received by the signal element “Internal Port” of the PCP MAP request signal.
The table element “PP” is transmitted / received by the signal element “Suggested External Port” of the PCP MAP request signal.
The table element “PA” is transmitted and received by the signal element “Suggested External IP Address” of the PCP MAP request signal.
The table element “SA” is transmitted and received by the signal element “Internal IP Address” of the PCP MAP request signal.
上述の通り、本実施の形態にかかるPCP MAP信号は、変換情報が静的であるか動的であるかを示すDynamic/Static通知領域を信号要素として含むよう拡張されている。このため、PCPクライアント装置400は、PCP MAP信号による送信対象の変換情報が静的な変換情報であるか動的な変換情報であるかを区別することができる。なお、PCP MAP信号により静的な変換情報が送信される際、信号要素及びテーブル要素のDynamic/Static領域は、「static」となる。
As described above, the PCP MAP signal according to the present embodiment is extended to include a dynamic / static notification area indicating whether the conversion information is static or dynamic as a signal element. For this reason, the
次に、本実施の形態に用いられるPCP Announce信号について説明する。図9は、本実施の形態に用いられるPCP Announce信号のフレーム内の主な要素を示す表である。なお、図9の表において、「Req」で示される項目はPCP Announce要求信号の要素を示し、「Res」で示される項目はPCP Announce応答信号の要素を示す。 Next, a PCP Announce signal used in this embodiment will be described. FIG. 9 is a table showing main elements in a frame of the PCP Announce signal used in the present embodiment. In the table of FIG. 9, items indicated by “Req” indicate elements of the PCP Announce request signal, and items indicated by “Res” indicate elements of the PCP Announce response signal.
本実施の形態で用いられるPCP Announce信号は、次の点で、RFC 6887に規定されているPCP Announce信号を拡張している。すなわち、本実施の形態では、PCP Announce信号をNAT装置の系切替に利用するため、PCP Announce信号は、信号要素として、Active/Inactive/Announce通知領域(図9で太線で囲まれた要素)を含むよう拡張されている。この信号要素は、PCP Announce信号が、PCP Announce信号を利用した、運用系への切替を通知する信号であるか、PCP Announce信号を利用した、待機系への切替を通知する信号であるか、通常のPCP Announce信号であるかを識別するためのものである。 The PCP Announce signal used in the present embodiment extends the PCP Announce signal defined in RFC 6887 in the following points. That is, in this embodiment, since the PCP Announce signal is used for system switching of the NAT device, the PCP Announce signal uses an Active / Inactive / Announce notification area (element surrounded by a bold line in FIG. 9) as a signal element. Has been extended to include. This signal element indicates whether the PCP Announce signal is a signal notifying the switch to the active system using the PCP Announce signal, or the signal notifying the switch to the standby system using the PCP Announce signal. This is for identifying whether it is a normal PCP Announce signal.
PCPクライアント装置400の切替部450は、切替を指示する情報である「Active」又は「Inactive」が付加されたPCP Announce信号を用いて切替を行う。このため、PCPクライアント装置400のPCPクライアント部415は、運用系への切替をNAT装置に指示する際は、この信号要素に「Active」を設定してPCP Announce信号を当該NAT装置に送信する。
The
また、PCPクライアント部415は、待機系への切替をNAT装置に指示する際は、この信号要素に「Inactive」を設定してPCP Announce信号を当該NAT装置に送信する。
When the
PCPクライアント部415は、ポートマッピングの設定が消失した場合などの際に通常のPCP Announce信号として、PCP Announce信号を送信する場合、この信号要素に「Announce」を設定して送信を行う。なお、通常のPCP Announce信号の場合、この信号要素に何も指定がなくてもよい。
When transmitting a PCP Announce signal as a normal PCP Announce signal when the port mapping setting is lost, the
次に、アドレス変換システム100の動作について説明する。まず、パケットの受信を契機として生成された動的な変換情報を運用系のNAT装置から待機系のNAT装置へと転送する動作について説明する。なお、ここでも、NAT装置200が運用系であり、NAT装置300が待機系であるものとして説明する。
Next, the operation of the
図10は、パケットの受信を契機として生成された動的な変換情報を待機系のNAT装置へと転送する動作の一例を示すシーケンスチャートである。以下、図10に沿って動作の流れを説明する。 FIG. 10 is a sequence chart illustrating an example of an operation for transferring dynamic conversion information generated upon reception of a packet to a standby NAT device. Hereinafter, an operation flow will be described with reference to FIG.
ステップ10(S10)において、NAT装置200はパケットを受信する。
In step 10 (S10), the
ステップ11(S11)において、NAT装置200のNAT制御部210は、動的な変換情報を生成する。具体的には、NAT制御部210は、ポート変換情報を作成する。
In step 11 (S11), the
ステップ12(S12)において、NAT制御部210は、作成されたポート変換情報を保存する。具体的には、NAT制御部210は、図3に示したような形式で、記憶領域220に記憶する。
In step 12 (S12), the
ステップ13(S13)において、NAT装置200のPCPサーバ部235は、作成されたポート変換情報をPCPクライアント装置400に送信する。具体的には、PCPサーバ部235は、上述したPCP PEER応答信号を用いて、ポート変換情報をPCPクライアント装置400に送信する。
In step 13 (S13), the
ステップ14(S14)において、PCPクライアント装置400は、ステップ13で送信されたポート変換情報を受信し、保存する。具体的には、PCPクライアント部415が、ステップ13で送信されたPCP PEER応答信号を受信し、ポート変換情報を記憶領域430に記憶する。
In step 14 (S14), the
ステップ15(S15)において、PCPクライアント装置400のPCPクライアント部415は、現在保持しているポート変換情報を待機系のNAT装置300に送信する。具体的には、PCPクライアント部415は、上述したPCP PEER要求信号を用いて、ポート変換情報をNAT装置300に送信する。
In step 15 (S15), the
ステップ16(S16)において、NAT装置300は、受信したポート変換情報を保存する。具体的には、NAT装置300のPCPサーバ部335が、ステップ15で送信されたPCP PEER要求信号を受信し、ポート変換情報を記憶領域320に記憶する。
In step 16 (S16), the
ステップ17(S17)において、PCPサーバ部335は、PCPクライアント装置400に対して、PCP PEER応答信号を送信することで、ステップ16の処理結果をPCPクライアント装置400に伝える。
In step 17 (S 17), the
以上の動作により、運用系のNAT装置及び待機系のNAT装置にて、ポート変換情報の同期を行い、故障による系の切替が発生した際の呼情報の継続を可能にしている。 With the above operation, the port conversion information is synchronized between the active NAT device and the standby NAT device, and the call information can be continued when the system is switched due to a failure.
次に、PCPクライアント装置400が取得した静的な変換情報をNAT装置200及びNAT装置300へ送信する動作について説明する。
Next, an operation of transmitting the static conversion information acquired by the
図11は、PCPクライアント装置400が取得した静的な変換情報をNAT装置200及びNAT装置300へ送信する動作の一例を示すシーケンスチャートである。以下、図11に沿って動作の流れを説明する。
FIG. 11 is a sequence chart illustrating an example of an operation of transmitting the static conversion information acquired by the
ステップ20(S20)において、PCPクライアント装置400のPCPクライアント部415は、記憶領域430から、ユーザにより設定された静的な変換情報を取得する。具体的には、PCPクライアント部415は、静的変換情報取得部440により取得された静的な待ち受けポート設定情報及びポート変換情報を記憶領域430から読み出す。
In step 20 (S20), the
ステップ21(S21)において、PCPクライアント部415は、取得した静的な変換情報をNAT装置200及びNAT装置300に送信する。具体的には、PCPクライアント部415は、静的な待ち受けポート設定情報を上述したPCP MAP要求信号を用いて、NAT装置200及びNAT装置300に送信する。また、PCPクライアント部415は、静的なポート変換情報を上述したPCP PEER要求信号を用いて、NAT装置200及びNAT装置300に送信する。
In step 21 (S21), the
ステップ22(S22)において、NAT装置200及びNAT装置300は、ステップ21で送信された待ち受けポート設定情報及びポート変換情報を受信し、保存する。具体的には、PCPサーバ部235はステップ21で送信されたPCP MAP要求信号を受信した場合、待ち受けポート設定情報を記憶領域220に記憶する。PCPサーバ部235はステップ21で送信されたPCP PEER要求信号を受信した場合、ポート変換情報を記憶領域220に記憶する。同様に、PCPサーバ部335はステップ21で送信されたPCP MAP要求信号を受信した場合、待ち受けポート設定情報を記憶領域320に記憶する。PCPサーバ部335はステップ21で送信されたPCP PEER要求信号を受信した場合、ポート変換情報を記憶領域320に記憶する。
In step 22 (S22), the
ステップ23(S23)において、PCPサーバ部235及びPCPサーバ部335は、PCPクライアント装置400に対して、PCP MAP応答信号又はPCP PEER応答信号を送信することで、ステップ22の処理結果をPCPクライアント装置400に伝える。
In step 23 (S23), the
以上の動作により、NAT装置200及びNAT装置300は、PCPクライアント装置400が保持する、静的な変換情報の取得が可能となる。
With the above operation, the
次に、NAT装置の切替動作について説明する。運用系のNAT装置においてシャットダウン又は接続断などが発生した場合、アドレス変換システム100は、待機系のNAT装置を運用系のNAT装置へと切り替える。なお、この切替野動作では、上述したPCP Announce信号が用いられる。
Next, the switching operation of the NAT device will be described. When a shutdown or disconnection occurs in the active NAT device, the
図12は、NAT装置の切替動作の一例を示すシーケンスチャートである。なお、ここでは、運用系であるNAT装置200に異常が発生し、待機系のNAT装置300が運用系へと切り替えられる場合の動作を例に説明する。以下、図12に沿って動作の流れを説明する。
FIG. 12 is a sequence chart showing an example of the switching operation of the NAT device. Here, an operation will be described as an example when an abnormality occurs in the
ステップ30(S30)において、運用系のNAT装置200に、シャットダウン、接続断などの異常が発生する。
In step 30 (S30), an abnormality such as shutdown or disconnection occurs in the
ステップ31(S31)において、PCPクライアント装置400は、運用系であるNAT装置200に対して、上述したPCP Announce要求信号を送信する。具体的には、PCPクライアント装置400のPCPクライアント部415は、PCP Announce要求信号のActive/Inactive/Announce通知領域に、Announceが設定して、送信を行う。なお、PCPクライアント部415は、この通知領域に何も設定せずに送信を行ってもよい。
In step 31 (S31), the
PCPクライアント装置400の切替部450は、ステップ31で送信した信号に対し、NAT装置200から上述のPCP Announce応答信号を受信しなかった場合、NAT装置200に異常が発生していると判断する。
When the
ステップ32(S32)において、切替部450は、NAT装置の切替を開始する。これにより、PCPクライアント部415は、NAT装置300に対して運用系への切替を指示するため、上記通知領域に「Active」を設定してPCP Announce要求信号をNAT装置300に送信する。
In step 32 (S32), the
ステップ33(S33)において、待機系であったNAT装置300が運用系へと状態遷移する。
In step 33 (S33), the
ステップ34(S34)において、NAT装置300のPCPサーバ部335は、PCPクライアント装置400に対して、状態遷移結果を伝えるため、PCP Announce応答信号を送信する。
In step 34 (S34), the
ステップ35(S35)において、PCPクライアント部415は、これまで運用系であったNAT装置200に対し待機系への切替を指示するため、上記通知領域に「Inactive」を設定してPCP Announce要求信号をNAT装置200に送信する。
In step 35 (S35), the
ステップ36(S36)において、NAT装置200が待機系へと状態遷移する。
ステップ37(S37)において、NAT装置200のPCPサーバ部235は、PCPクライアント装置400に対して、状態遷移結果を伝えるため、PCP Announce応答信号を送信する。
In step 36 (S36), the
In step 37 (S37), the
ステップ38(S38)において、NAT装置300は、L2スイッチ110及びL2スイッチ120に対し、GArp信号を送信する。また、ステップ39(S39)において、NAT装置300は、ステップ38で送信されたGArp信号に対する応答信号であるGArp Reply信号を受信する。
以上の動作により、アドレス変換システム100はNAT装置の系切替を実施する。
In step 38 (S38), the
With the above operation, the
最後に、NAT装置が交換された場合の動作について説明する。図13は、NAT装置が交換された場合のアドレス変換システム100の動作の一例を示すシーケンスチャートである。なお、ここでは、図12に示す動作により、待機系となったNAT装置200が新たなNAT装置200に交換された場合を例に説明する。すなわち、図12において、NAT装置300が運用系であり、NAT装置200が待機系である。以下、図13に沿って動作の流れを説明する。
Finally, the operation when the NAT device is replaced will be described. FIG. 13 is a sequence chart showing an example of the operation of the
ステップ40(S40)において、待機系であるNAT装置200の装置交換が行われる。
In step 40 (S40), device replacement of the
ステップ41(S41)において、新たなNAT装置200は、PCPクライアント装置400に対して、PCP Announce応答信号を送信する。なお、PCPクライアント部415は、PCP Announce応答信号のActive/Inactive/Announce通知領域に、Announceを設定し、送信を行う。
In step 41 (S41), the
ステップ42(S42)において、PCPクライアント部415は、NAT装置200に対し待機系となるよう指示するため、上記通知領域に「Inactive」を設定してPCP Announce要求信号をNAT装置200に送信する。
In step 42 (S42), the
ステップ43(S43)において、NAT装置200のは、PCPクライアント装置400に対して、PCP Announce応答信号を送信する。
In step 43 (S43), the
ステップ44(S44)において、PCPクライアント装置400のPCPクライアント部415は、記憶領域430から変換情報を取得する。具体的には、PCPクライアント部415は、静的な待ち受けポート設定情報及びポート変換情報並びに動的なポート変換情報を記憶領域430から読み出す。
In step 44 (S 44), the
ステップ45(S45)において、PCPクライアント部415は、変換情報をNAT装置200に送信する。具体的には、PCPクライアント部415は、待ち受けポート設定情報を上述したPCP MAP要求信号を用いて、NAT装置200に送信する。また、PCPクライアント部415は、ポート変換情報を上述したPCP PEER要求信号を用いて、NAT装置200に送信する。
In step 45 (S45), the
ステップ46(S46)において、NAT装置200は、受信したポート変換情報及び待ち受けポート設定情報を保存する。具体的には、NAT装置200のPCPサーバ部235が、ステップ45で送信されたPCP PEER要求信号及びPCP MAP要求信号を受信し、ポート変換情報及び待ち受けポート設定情報を記憶領域320に記憶する。
以上の動作により、交換された新たな待機系のNAT装置は、変換情報を取得することができる。
In step 46 (S46), the
Through the above operation, the replaced new standby NAT device can obtain the conversion information.
以上説明したとおり、アドレス変換システム100では、PCPクライアント装置400を介して、運用系のNAT装置から待機系のNAT装置へと、パケットの受信を契機として生成された動的なアドレスの変換情報を転送することができる。また、変換情報の転送及びNAT装置の切替が、PCPの信号を用いることで実現されている。このようなアドレス変換システム100によれば、アドレス変換の処理を二重化することができる。より具体的には、アドレス変換システム100によれば、運用系のNAT装置及び待機系のNAT装置のロケーションによらず、ホットスタンバイの二重化が可能となる。
As described above, in the
なお、本発明は上記実施の形態に限られたものではなく、趣旨を逸脱しない範囲で適宜変更することが可能である。また、アドレス変換システム100はコンピュータとしての機能を備えており、アドレス変換システム100の各構成はCPUによってプログラムを実行することによって実現し得る。
Note that the present invention is not limited to the above-described embodiment, and can be changed as appropriate without departing from the spirit of the present invention. The
プログラムは、様々なタイプの非一時的なコンピュータ可読媒体(non-transitory computer readable medium)を用いて格納され、コンピュータに供給することができる。非一時的なコンピュータ可読媒体は、様々なタイプの実体のある記録媒体(tangible storage medium)を含む。非一時的なコンピュータ可読媒体の例は、磁気記録媒体(例えばフレキシブルディスク、磁気テープ、ハードディスクドライブ)、光磁気記録媒体(例えば光磁気ディスク)、CD−ROM(Read Only Memory)、CD−R、CD−R/W、半導体メモリ(例えば、マスクROM、PROM(Programmable ROM)、EPROM(Erasable PROM)、フラッシュROM、RAM(random access memory))を含む。また、プログラムは、様々なタイプの一時的なコンピュータ可読媒体(transitory computer readable medium)によってコンピュータに供給されてもよい。一時的なコンピュータ可読媒体の例は、電気信号、光信号、及び電磁波を含む。一時的なコンピュータ可読媒体は、電線及び光ファイバ等の有線通信路、又は無線通信路を介して、プログラムをコンピュータに供給できる。 The program may be stored using various types of non-transitory computer readable media and supplied to a computer. Non-transitory computer readable media include various types of tangible storage media. Examples of non-transitory computer-readable media include magnetic recording media (for example, flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (for example, magneto-optical disks), CD-ROMs (Read Only Memory), CD-Rs, CD-R / W and semiconductor memory (for example, mask ROM, PROM (Programmable ROM), EPROM (Erasable PROM), flash ROM, RAM (random access memory)) are included. The program may also be supplied to the computer by various types of transitory computer readable media. Examples of transitory computer readable media include electrical signals, optical signals, and electromagnetic waves. The temporary computer-readable medium can supply the program to the computer via a wired communication path such as an electric wire and an optical fiber, or a wireless communication path.
1、100 アドレス変換システム
2、3 アドレス変換装置
21、31 アドレス変換制御部
22、32、43 記憶部
23、33、42 送信部
24、34、41 受信部
110、120 L2スイッチ
200、300 NAT装置
210、310 NAT制御部
220、320、430 記憶領域
235、335 PCPサーバ部
400 PCPクライアント装置
415 PCPクライアント部
440 静的変換情報取得部
450 切替部
501、502 ネットワーク
600 加入者端末
1, 100
Claims (9)
PCP(Port Control Protocol)に従って、前記第1のアドレス変換装置及び前記第2のアドレス変換装置と少なくともアドレスの変換情報について通信を行うPCP装置と
を備え、
前記第1のアドレス変換装置及び前記第2のアドレス変換装置は、それぞれ、
第1の記憶手段と、
自装置が運用系として稼働している場合に、パケットの受信を契機として動的なアドレスの変換情報を生成して前記第1の記憶手段に記憶するアドレス変換制御部と、
前記アドレス変換制御部により生成された動的なアドレスの変換情報を、前記PCP装置に、PCPに従って送信する第1の送信手段と、
前記PCP装置が送信する変換情報を受信し、前記第1の記憶手段に記憶する第1の受信手段と
を有し、
前記アドレス変換制御部は、前記第1の記憶手段に記憶された変換情報に基づいてアドレス変換を行い、
前記PCP装置は、
第2の記憶手段と、
前記第1の送信手段により送信された前記変換情報を受信し、前記第2の記憶手段に記憶する第2の受信手段と、
前記第2の記憶手段に記憶された、前記第1の送信手段により送信された前記変換情報を、前記第1のアドレス変換装置及び前記第2のアドレス変換装置のうち待機系の方へ送信する第2の送信手段と
を有する
アドレス変換システム。 A first address translation device and a second address translation device for performing address translation;
In accordance with PCP (Port Control Protocol), a PCP device that communicates with the first address translation device and the second address translation device at least about address translation information,
The first address translation device and the second address translation device are respectively
First storage means;
An address translation control unit that generates dynamic address translation information triggered by reception of a packet and stores the dynamic address translation information in the first storage unit when the device is operating as an active system;
First transmission means for transmitting the dynamic address translation information generated by the address translation control unit to the PCP device according to the PCP;
Receiving the conversion information transmitted by the PCP device, and storing the first information in the first storage means,
The address conversion control unit performs address conversion based on the conversion information stored in the first storage unit,
The PCP device
A second storage means;
A second receiving means for receiving the conversion information sent by the first sending means and storing it in the second storage means;
The translation information transmitted by the first transmission means stored in the second storage means is transmitted to the standby system out of the first address translation device and the second address translation device. An address conversion system comprising: a second transmission unit.
前記第1のアドレス変換装置及び前記第2のアドレス変換装置のうち運用系として稼働している方の稼働状態を監視し、稼働状態が異常である場合に、前記第1のアドレス変換装置及び前記第2のアドレス変換装置のうち待機系の方を運用系として稼働するよう切り替える切替手段
をさらに有する
請求項1に記載のアドレス変換システム。 The PCP device
One of the first address translation device and the second address translation device that is operating as an active system is monitored, and when the operation status is abnormal, the first address translation device, The address translation system according to claim 1, further comprising switching means for switching the standby system to operate as the active system in the second address translation device.
静的なアドレスの変換情報を取得して、前記第2の記憶手段に記憶する静的変換情報取得手段
をさらに有し、
前記第2の送信手段は、前記第2の記憶手段に記憶された、前記静的変換情報取得手段により取得された変換情報を、前記第1のアドレス変換装置及び前記第2のアドレス変換装置へ送信する
請求項1又は2に記載のアドレス変換システム。 The PCP device
Static translation information acquisition means for acquiring static address translation information and storing it in the second storage means,
The second transmission means sends the conversion information acquired by the static conversion information acquisition means stored in the second storage means to the first address conversion device and the second address conversion device. The address conversion system according to claim 1 or 2.
請求項1乃至3のいずれか1項に記載のアドレス変換システム。 The address translation system according to claim 1, wherein the first address translation device, the second address translation device, and the PCP device are configured on a virtual machine.
請求項1乃至4のいずれか1項に記載のアドレス変換システム。 The said 1st transmission means transmits the said conversion information using the PCP PEER signal to which the identifier which shows that it is dynamic address conversion information was added. Address translation system.
請求項2に記載のアドレス変換システム。 The address conversion system according to claim 2, wherein the switching unit performs switching using a PCP Announce signal to which information instructing switching is added.
請求項1乃至6のいずれか1項に記載のアドレス変換システム。 The address translation system according to any one of claims 1 to 6, wherein the first address translation device, the second address translation device, and the PCP device are provided in a facility of an Internet service provider.
前記第1の装置が、生成した変換情報をPCP(Port Control Protocol)に従って、第2の装置に送信するステップと、
前記第2の装置が、PCPに従って前記変換情報を受信するステップと、
前記第2の装置が、前記変換情報をPCPに従ってアドレス変換を行う待機系の第3の装置に送信するステップと、
前記第3の装置が、PCPに従って前記変換情報を受信するステップと
を有するアドレス変換の二重化方法。 A step of generating a dynamic address translation information triggered by reception of a packet by a first device performing address translation operating as an active system;
The first device transmits the generated conversion information to the second device in accordance with PCP (Port Control Protocol);
The second device receiving the conversion information according to PCP;
The second device transmits the conversion information to a third device in a standby system that performs address conversion according to PCP;
A second method of address translation comprising: the third device receiving the translation information according to PCP.
受信した前記変換情報をPCPに従ってアドレス変換を行う待機系の第2のアドレス変換装置に送信するステップと
をコンピュータに実行させるプログラム。 Dynamic address translation information generated by a first address translation device that performs address translation operating as an active system triggered by reception of a packet is transmitted from the first address translation device according to PCP (Port Control Protocol). Receiving step;
A program for causing a computer to execute the step of transmitting the received conversion information to a second address conversion device of a standby system that performs address conversion in accordance with PCP.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015131014A JP6579608B2 (en) | 2015-06-30 | 2015-06-30 | Address translation system, address translation duplex method and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015131014A JP6579608B2 (en) | 2015-06-30 | 2015-06-30 | Address translation system, address translation duplex method and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2017017465A true JP2017017465A (en) | 2017-01-19 |
JP6579608B2 JP6579608B2 (en) | 2019-09-25 |
Family
ID=57831116
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015131014A Active JP6579608B2 (en) | 2015-06-30 | 2015-06-30 | Address translation system, address translation duplex method and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6579608B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018135428A1 (en) * | 2017-01-17 | 2018-07-26 | 日本電気株式会社 | Gateway device, network address translation device, communication system, communication method, and program |
DE102018000383B4 (en) | 2017-02-02 | 2020-07-30 | Ngk Insulators, Ltd. | Closed honeycomb structure |
-
2015
- 2015-06-30 JP JP2015131014A patent/JP6579608B2/en active Active
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018135428A1 (en) * | 2017-01-17 | 2018-07-26 | 日本電気株式会社 | Gateway device, network address translation device, communication system, communication method, and program |
DE102018000383B4 (en) | 2017-02-02 | 2020-07-30 | Ngk Insulators, Ltd. | Closed honeycomb structure |
Also Published As
Publication number | Publication date |
---|---|
JP6579608B2 (en) | 2019-09-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4727537B2 (en) | Relay agent device and proxy address lending device | |
JP5537349B2 (en) | Method and system for changing SIP server while terminal connection is continued | |
CN101316236B (en) | Vrrp backup group load sharing method and router | |
US8458303B2 (en) | Utilizing a gateway for the assignment of internet protocol addresses to client devices in a shared subset | |
US9363313B2 (en) | Reducing virtual IP-address (VIP) failure detection time | |
JP4231773B2 (en) | VRRP technology that maintains the confidentiality of VR | |
KR102392120B1 (en) | Processing method, device and system for nf component abnormality | |
US11153269B2 (en) | On-node DHCP implementation for virtual machines | |
JP2010103695A (en) | Cluster system, cluster server and cluster control method | |
JP5949035B2 (en) | Network device setting device, setting system, setting method and setting program | |
JP6558492B2 (en) | Network address translation device, setting request device, communication system, communication method, and program | |
JP6579608B2 (en) | Address translation system, address translation duplex method and program | |
JP2013172393A (en) | Edge device redundant system, switching controller and edge device redundancy method | |
JP2007274635A (en) | Address notification system and address notification method | |
JP5437518B2 (en) | Virtual network system, configuration change method, tunnel termination device, tunnel connection device, and program | |
US8023407B2 (en) | Redundancy in a communication network | |
JP5054666B2 (en) | VPN connection device, packet control method, and program | |
JP6436393B2 (en) | Management device, communication control method, and communication control program | |
JP5745658B1 (en) | PBX device, subscriber registration method, and subscriber registration program | |
US9019964B2 (en) | Methods and systems for routing application traffic | |
WO2022254517A1 (en) | Communication system and communication control method | |
JP2015133590A (en) | Communication system and communication apparatus | |
JP2006054766A (en) | Control data sharing method in redundant configuration network system | |
JP5690295B2 (en) | Gateway system | |
JP6263926B2 (en) | Communication device, gateway, redundant system, and communication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20170713 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20180511 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20190424 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20190514 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190711 |
|
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: 20190730 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190822 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6579608 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |