JP2014120828A - Address conversion method and address conversion device - Google Patents

Address conversion method and address conversion device Download PDF

Info

Publication number
JP2014120828A
JP2014120828A JP2012272877A JP2012272877A JP2014120828A JP 2014120828 A JP2014120828 A JP 2014120828A JP 2012272877 A JP2012272877 A JP 2012272877A JP 2012272877 A JP2012272877 A JP 2012272877A JP 2014120828 A JP2014120828 A JP 2014120828A
Authority
JP
Japan
Prior art keywords
address
ipv6
ipv4
network
packet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2012272877A
Other languages
Japanese (ja)
Inventor
Takanori Watanabe
貴則 渡邊
Tomoyuki Yoshikawa
智之 吉川
Takeshi Osaka
健 大坂
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2012272877A priority Critical patent/JP2014120828A/en
Publication of JP2014120828A publication Critical patent/JP2014120828A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To simplify conversion information at the time of converting an IPv4 address to an IPv6 address and to cancel restrictions in address conversion.SOLUTION: In the address conversion method which an address conversion device performs, the method converting between the IPv4 address and the IPv6 address, when a packet to an IPv6 network from an IPv4 network is received, a conversion database which associates an IPv4 network address and an IPv6 prefix with each other to hold them is referenced, an IPv6 address prefix corresponding to the network address of the IPv4 address is acquired for the IPv4 addresses respectively for transmission source and transmission destination of the packet, and the IPv6 addresses respectively for the transmission source and the transmission destination are generated by adding the IPv4 address to the prefix.

Description

本発明はIPv4ネットワークに存在する装置とIPv6ネットワークに存在する装置との間で、IPv4とIPv6間でのアドレス変換を行う技術に関連するものである。   The present invention relates to a technique for performing address translation between IPv4 and IPv6 between a device existing in an IPv4 network and a device existing in an IPv6 network.

従来から、IPネットワークにおいて、IPv4アドレスをネットワーク上の装置に割り振り、装置間の接続を実現してきた。しかし、近年IPv4アドレスの枯渇によりIPv6アドレスを用いたネットワークの構築が行われている。今後はIPv6ネットワークによるネットワークが拡大していく事が予測されるが、これまでIPv4アドレスで動作してきた全ての装置がIPv6に対応していないため、IPv6へ移行していくまではIPv4アドレスで対応してきた装置に対しても対応が必要となる。   Conventionally, in an IP network, an IPv4 address has been allocated to devices on the network, and connection between devices has been realized. However, in recent years, due to the exhaustion of IPv4 addresses, a network using IPv6 addresses has been constructed. In the future, it is predicted that the network based on the IPv6 network will expand, but since all devices that have been operating with IPv4 addresses so far do not support IPv6, they will support with IPv4 addresses until they move to IPv6. It is also necessary to deal with other devices.

IPv4アドレスを払い出された装置がIPv6アドレスの装置へ接続するための従来技術として、IPv4ネットワークとIPv6ネットワークの間にNAT(Network Address Translation)を設置し、NATによりIPv4アドレスとIPv6アドレスの間の変換を行う技術がある。IPv4アドレスからIPv6アドレスへの変換を行うための従来の方法として、IPv4アドレスとIPv6アドレスを1対1で対応させる方法と、IPv4アドレスにIPv6アドレスのプレフィックスを付加してIPv6アドレスを作りだし対応関係をとる方法がある。   A NAT (Network Address Translation) is installed between an IPv4 network and an IPv6 network as a conventional technique for connecting a device that has been issued an IPv4 address to a device having an IPv6 address, and between the IPv4 address and the IPv6 address by the NAT. There is a technology to perform the conversion. As a conventional method for converting an IPv4 address to an IPv6 address, there is a method in which an IPv4 address and an IPv6 address are made to correspond one-to-one, an IPv6 address prefix is added to the IPv4 address, and an IPv6 address is created to create a correspondence relationship. There is a way to take.

IPv4アドレスとIPv6アドレスを1対1で対応させる方法の先行技術文献として非特許文献1がある。IPv4アドレスにIPv6アドレスのプレフィックスを付加してIPv6アドレスを作りだし対応関係をとる方法についての先行技術文献として非特許文献2がある。   There is Non-Patent Document 1 as a prior art document of a method for associating an IPv4 address with an IPv6 address on a one-to-one basis. There is Non-Patent Document 2 as a prior art document regarding a method of creating an IPv6 address by adding an IPv6 address prefix to an IPv4 address and taking a correspondence relationship.

NAT−PT/RFC2766NAT-PT / RFC2766 Internet Protocol Version 6(IPv6) Addressing Architecture/RFC3513Internet Protocol Version 6 (IPv6) Addressing Architecture / RFC3513

しかしながら、複数のIPv4システム(端末等)と、複数のIPv6システム(端末等)を接続するための変換を行う場合、IPv4アドレスとIPv6アドレスを1対1で対応させる方法では、変換対応関係が増大し管理や設定に手間がかかるという課題がある。また、IPv4アドレスにIPv6アドレスのプレフィックスを付与してIPv6アドレスを作りだし対応関係をとる方法では、従来では一括してIPv4アドレスに同一のIPv6プレフィックスを付与する。従って、複数のIPv6システム(端末等)が複数のIPv6ネットワークに存在する場合、この方法では対応できず、IPv6ネットワークの設計の自由度が下がってしまい、IPv6内でのルーティングやセキュリティの面で柔軟な対応が困難になるという課題がある。   However, in the case of performing conversion for connecting a plurality of IPv4 systems (terminals, etc.) and a plurality of IPv6 systems (terminals, etc.), the correspondence between the IPv4 addresses and the IPv6 addresses increases one-to-one. However, there is a problem that it takes time and effort for management and setting. Further, in the method of creating an IPv6 address by assigning an IPv6 address prefix to an IPv4 address and taking a correspondence relationship, conventionally, the same IPv6 prefix is assigned to the IPv4 address collectively. Therefore, when a plurality of IPv6 systems (terminals, etc.) exist in a plurality of IPv6 networks, this method cannot be used, and the design freedom of the IPv6 network is reduced, and the routing and security within IPv6 are flexible. There is a problem that it is difficult to respond appropriately.

なお、IPv4端末をIPv6の中継網を通して、IPv4端末に接続するための従来技術として、IPv4−in−IPv6トンネルによるDS−lite(Dual−stack lite)及びSAM(Stateless Address Mapping)の方式がある。しかし、いずれの技術においても本発明が解決しようとする課題を解決することはできない。   As a conventional technique for connecting an IPv4 terminal to an IPv4 terminal through an IPv6 relay network, there are a DS-lite (Dual-stack lite) and SAM (Stateless Address Mapping) system using an IPv4-in-IPv6 tunnel. However, none of the techniques can solve the problem to be solved by the present invention.

本発明は上記の点に鑑みてなされたものであり、IPv4アドレスからIPv6アドレスへの変換を行う際の変換情報を簡素化するとともに、アドレス変換の制約を解消してIPv6内でのルーティング等における柔軟な対応を可能とする技術を提供することを目的とする。   The present invention has been made in view of the above points. In addition to simplifying the translation information when converting from an IPv4 address to an IPv6 address, the restrictions on address translation are eliminated and routing in IPv6 is performed. The purpose is to provide a technology that enables flexible response.

上記の課題を解決するために、本発明は、IPv4アドレスとIPv6アドレス間の変換を行うアドレス変換装置が実行するアドレス変換方法であって、
IPv4ネットワークからIPv6ネットワーク宛のパケットを受信した場合において、IPv4のネットワークアドレスとIPv6のネットマスクに対応するプレフィックスとを対応付けて保持する変換データベースを参照することにより、前記パケットの送信元、及び送信先それぞれのIPv4アドレスについて、当該IPv4アドレスのネットワークアドレスに対応したIPv6アドレスのプレフィックスを取得するステップと、
前記IPv6アドレスのプレフィックスに前記IPv4アドレスを付加することにより、送信元、及び送信先それぞれのIPv6アドレスを生成し、前記パケットにおけるIPv4アドレスを前記IPv6アドレスに置き換えるステップとを有することを特徴とするアドレス変換方法として構成される。
In order to solve the above problem, the present invention is an address translation method executed by an address translation device that translates between an IPv4 address and an IPv6 address,
When the packet addressed to the IPv6 network is received from the IPv4 network, the packet source and the transmission are transmitted by referring to the conversion database that holds the IPv4 network address and the prefix corresponding to the IPv6 netmask in association with each other. Obtaining an IPv6 address prefix corresponding to the network address of the IPv4 address for each of the IPv4 addresses;
Adding the IPv4 address to the prefix of the IPv6 address to generate an IPv6 address for each of the source and destination, and replacing the IPv4 address in the packet with the IPv6 address. Configured as a conversion method.

前記アドレス変換方法において、IPv6ネットワークからIPv4ネットワーク宛のパケットを受信した場合には、当該パケットの送信元、及び送信先それぞれのIPv6アドレスについて、当該IPv6アドレスのプレフィックスを削除することにより、IPv4アドレスを取得し、前記パケットにおけるIPv6アドレスを当該IPv4アドレスに置き換えるようにしてもよい。   In the address translation method, when a packet addressed to the IPv4 network is received from the IPv6 network, the IPv4 address is changed by deleting the IPv6 address prefix for the source and destination IPv6 addresses of the packet. The IPv6 address in the packet may be acquired and replaced with the IPv4 address.

前記アドレス変換方法において、IPv6ネットワークからIPv4ネットワーク宛のパケットを受信した場合に、前記変換データベースを参照することにより、当該パケットの送信元、及び送信先それぞれのIPv6アドレスについて、当該IPv6アドレスのプレフィックスに対応するIPv4のネットワークアドレスを取得するステップと、
前記パケットのIPv6アドレスにおける下位所定ビットをIPv4アドレスとして前記取得したIPv4のネットワークアドレスと比較し、当該下位所定ビットのIPv4アドレスが、前記IPv4のネットワークアドレスに含まれているか否かを調べることにより、前記パケットが正常か否かを判定するステップとを備えるようにしてもよい。
In the address translation method, when a packet addressed to an IPv4 network is received from an IPv6 network, the IPv6 address of each of the source and destination of the packet is referred to as a prefix of the IPv6 address by referring to the translation database. Obtaining a corresponding IPv4 network address;
By comparing a lower predetermined bit in the IPv6 address of the packet as an IPv4 address with the acquired IPv4 network address, and checking whether the IPv4 address of the lower predetermined bit is included in the IPv4 network address, Determining whether or not the packet is normal.

また、本発明は、IPv4アドレスとIPv6アドレス間の変換を行うアドレス変換装置であって、
IPv4のネットワークアドレスとIPv6のネットマスクに対応するプレフィックスとを対応付けて保持する変換データベースと、
IPv4ネットワークからIPv6ネットワーク宛のパケットを受信した場合において、前記変換データベースを参照することにより、前記パケットの送信元、及び送信先それぞれのIPv4アドレスについて、当該IPv4アドレスのネットワークアドレスに対応したIPv6アドレスのプレフィックスを取得する手段と、
前記IPv6アドレスのプレフィックスに前記IPv4アドレスを付加することにより、送信元、及び送信先それぞれのIPv6アドレスを生成し、前記パケットにおけるIPv4アドレスを前記IPv6アドレスに置き換える手段とを有することを特徴とするアドレス変換装置として構成することもできる。
The present invention also relates to an address translation device that translates between IPv4 addresses and IPv6 addresses,
A translation database that stores the IPv4 network address and the prefix corresponding to the IPv6 netmask in association with each other;
When a packet addressed to an IPv6 network is received from an IPv4 network, an IPv6 address corresponding to the network address of the IPv4 address is determined for each IPv4 address of the source and destination of the packet by referring to the conversion database. A means of obtaining a prefix;
An address that includes means for generating an IPv6 address for each of a transmission source and a transmission destination by adding the IPv4 address to a prefix of the IPv6 address, and replacing the IPv4 address in the packet with the IPv6 address. It can also be configured as a conversion device.

本発明によれば、IPv4アドレスとIPv6アドレスの変換として個々に変換するための設定を要していた事を簡素に実現する事が可能となり、IPv4からIPv6に変換された接続に対するルーティングによるネットワーク設計の柔軟化が可能となる。   According to the present invention, it is possible to simply realize that the setting for individual conversion is required as the conversion between the IPv4 address and the IPv6 address, and the network design by routing for the connection converted from IPv4 to IPv6 can be realized. Flexibility becomes possible.

本発明の実施の形態に係るシステム構成図である。It is a system configuration figure concerning an embodiment of the invention. 本発明の実施の形態に係るIPv4−IPv6変換装置の機能構成図である。It is a functional block diagram of the IPv4-IPv6 conversion apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係るシステムの動作例(IPv4−>IPv6)を説明するためのシーケンス図である。It is a sequence diagram for demonstrating the operation example (IPv4-> IPv6) of the system which concerns on embodiment of this invention. IPv4パケットからIPv6パケットへの変換例を説明するための図である。It is a figure for demonstrating the example of a conversion from an IPv4 packet to an IPv6 packet. 本発明の実施の形態に係るシステムの動作例(IPv6−>IPv4)を説明するためのシーケンス図である。It is a sequence diagram for demonstrating the operation example (IPv6-> IPv4) of the system which concerns on embodiment of this invention. 本発明の実施の形態に係る具体的なシステム構成の一例を示す図である。It is a figure which shows an example of the specific system configuration | structure which concerns on embodiment of this invention.

以下、図面を参照して本発明の実施の形態を説明する。なお、以下で説明する実施の形態は一例に過ぎず、本発明が適用される実施の形態は、以下の実施の形態に限られるわけではない。   Embodiments of the present invention will be described below with reference to the drawings. The embodiment described below is only an example, and the embodiment to which the present invention is applied is not limited to the following embodiment.

(実施の形態の概要)
本実施の形態では、IPv4アドレスを払い出された装置がIPv6アドレスの装置へ接続する際に、アドレス変換機能を有する装置でアドレスの付け替え(NAT)をする際に、ネットワークセグメント単位でIPv4アドレスとIPv6アドレスを変換する。
(Outline of the embodiment)
In the present embodiment, when a device that has been issued an IPv4 address connects to a device having an IPv6 address, when an address change function (NAT) is performed by a device having an address translation function, Translates IPv6 address.

つまり、IPv4アドレス装置からIPv6アドレス装置に対してパケットを送信する場合、送信元のIPv4アドレス、送信先のIPv4アドレスのそれぞれを変換する必要があるが、IPv4アドレス個々では無くネットワーク単位で、対応させるIPv6アドレスのプレフィックスを選択して付与し、IPv6アドレスの下位32ビットにIPv4アドレスを格納することで、IPv4アドレスからIPv6アドレスへの変換を行う。このことにより、送信先のIPv6アドレスについて、送信元となるIPv6アドレスとは異なるプレフィックスを付与することを可能とする。   In other words, when a packet is transmitted from an IPv4 address device to an IPv6 address device, it is necessary to convert each of the IPv4 address of the transmission source and the IPv4 address of the transmission destination. By selecting and assigning an IPv6 address prefix and storing the IPv4 address in the lower 32 bits of the IPv6 address, conversion from the IPv4 address to the IPv6 address is performed. This makes it possible to assign a prefix different from the IPv6 address that is the transmission source to the IPv6 address that is the transmission destination.

逆にIPv6アドレス装置からIPv4アドレス装置に対しての通信は送信元、送信先ともにIPv6アドレスの下位32bitを取り出し、上位96bitを削除することで、IPv6アドレスからIPv4アドレスへの変換を行う。   Conversely, communication from the IPv6 address device to the IPv4 address device takes out the lower 32 bits of the IPv6 address for both the transmission source and the transmission destination and deletes the upper 96 bits, thereby converting the IPv6 address to the IPv4 address.

(システム構成、装置構成)
図1に、本発明の実施の形態に係る通信システムの構成例を示す。図1に示すように、本実施の形態に係る通信ネットワークは、ユーザ装置20、IPv4−IPv6変換装置10、及び、サーバA、サーバBが通信可能にネットワークで接続された構成を有する。図1に示すように、ユーザ装置20とIPv4−IPv6変換装置10はIPv4ネットワークで接続され、IPv4−IPv6変換装置10と各サーバはIPv6ネットワークで接続されている。
(System configuration, device configuration)
FIG. 1 shows a configuration example of a communication system according to an embodiment of the present invention. As shown in FIG. 1, the communication network according to the present embodiment has a configuration in which a user device 20, an IPv4-IPv6 conversion device 10, and servers A and B are communicably connected via a network. As shown in FIG. 1, the user apparatus 20 and the IPv4-IPv6 translation apparatus 10 are connected by an IPv4 network, and the IPv4-IPv6 translation apparatus 10 and each server are connected by an IPv6 network.

ユーザ装置20は、例えばCPE(customer premises equipment)である。ユーザ装置20はIPv4アドレスに対応しており、上述したIPv4アドレス装置に相当する。サーバA、Bは、例えばユーザ装置20にサービスを提供するサーバである。サーバA、Bは、IPv6アドレスに対応しており、上述したIPv6アドレス装置に対応する。図1に示すように、2つの異なるIPv6ネットワークが存在し、サーバAはプレフィックス2001:db8:F:10::/64で識別されるIPv6ネットワーク上に存在し、サーバBは、プレフィックス2001:db8:F:20::/64で識別されるIPv6ネットワーク上に存在する。すなわち、サーバAとサーバBは異なるプレフィックス空間に存在する。   The user device 20 is, for example, a CPE (customer prescription equipment). The user device 20 corresponds to the IPv4 address, and corresponds to the IPv4 address device described above. The servers A and B are servers that provide services to the user device 20, for example. Servers A and B correspond to IPv6 addresses and correspond to the IPv6 address device described above. As shown in FIG. 1, there are two different IPv6 networks, server A exists on the IPv6 network identified by the prefix 2001: db8: F: 10 :: / 64, and server B has the prefix 2001: db8. : F: 20 exists on the IPv6 network identified by 20 :: / 64. That is, server A and server B exist in different prefix spaces.

IPv4−IPv6変換装置10は、ルータであり、本発明に係るIPv4−IPv6変換機能を備える。なお、本実施の形態のIPv4−IPv6変換装置10は、IPv6ネットワークにおけるエッジ装置に相当する。   The IPv4-IPv6 translation device 10 is a router and has an IPv4-IPv6 translation function according to the present invention. Note that the IPv4-IPv6 translation device 10 of the present embodiment corresponds to an edge device in an IPv6 network.

各装置には、図示するように実アドレスと仮想アドレスが割り当てられている。すなわち、ユーザ装置20には、IPv4実アドレスとして30.30.30.30が割り当てられ、IPv6仮想アドレスとして2001:db8:1:1::1E1E:1E1Eが割り当てられている。IPv4実アドレスは、ユーザ装置20に払い出され、パケット送受信に使用するアドレスである。IPv6仮想アドレスは、IPv6ネットワークから見たユーザ装置20のIPv6アドレスであり、ユーザ装置20に対して仮想的に割り当てられるものである。本実施の形態では、ユーザ装置20に割り当てられるIPv6仮想アドレスは、ユーザ装置20のIPv4実アドレスのネットワークアドレスに対応付けて予め定められたIPv6プレフィックス(96bit)にIPv4実アドレス(32bit)を付加したものである。   Each device is assigned a real address and a virtual address as shown. That is, 30.30.30.30 is assigned to the user device 20 as the IPv4 real address, and 2001: db8: 1: 1: 1: 1: 1E1E: 1E1E is assigned as the IPv6 virtual address. The IPv4 real address is an address that is issued to the user apparatus 20 and used for packet transmission / reception. The IPv6 virtual address is the IPv6 address of the user device 20 as viewed from the IPv6 network, and is virtually assigned to the user device 20. In the present embodiment, the IPv6 virtual address assigned to the user device 20 is obtained by adding the IPv4 real address (32 bits) to the IPv6 prefix (96 bits) predetermined in association with the network address of the IPv4 real address of the user device 20. Is.

サーバA、Bには、それぞれ、IPv6実アドレスとIPv4仮想アドレスが割り当てられる。IPv6実アドレスは、各サーバが保持し、パケット送受信に使用するアドレスである。IPv4仮想アドレスは、IPv4ネットワークから見たサーバのIPv4アドレスであり、サーバに対して仮想的に割り当てられるものである。本実施の形態では、サーバに割り当てられるIPv4仮想アドレスは、サーバのIPv6実アドレスの下部の32bitである。   Servers A and B are assigned an IPv6 real address and an IPv4 virtual address, respectively. The IPv6 real address is an address held by each server and used for packet transmission / reception. The IPv4 virtual address is an IPv4 address of the server as seen from the IPv4 network, and is virtually assigned to the server. In this embodiment, the IPv4 virtual address assigned to the server is 32 bits below the IPv6 real address of the server.

図1に示したアドレス構成において、IPv4−IPv6変換装置10は、図示するように、IPv4アドレスとIPv6アドレス間のネットワーク単位の対応関係をデータベースとして保持している。図1に示すように、IPv4のネットワークアドレスと、IPv6のプレフィックス(96bit)が対応付けられている。IPv6のプレフィックス(96bit)は、IPv6のネットワークに対応するものであるから、図1に示すデータベースは、ネットワーク単位の対応関係を保持するものである。このように、ネットワーク単位の対応関係をデータベースとして持つことで、変換情報の簡素化と、柔軟性とを同時に達成することが可能となる。   In the address configuration shown in FIG. 1, the IPv4-IPv6 translation apparatus 10 holds a correspondence relationship in units of networks between IPv4 addresses and IPv6 addresses as a database, as shown in the figure. As shown in FIG. 1, an IPv4 network address is associated with an IPv6 prefix (96 bits). Since the IPv6 prefix (96 bits) corresponds to an IPv6 network, the database shown in FIG. 1 holds a correspondence relationship in units of networks. Thus, by having a correspondence relationship in units of networks as a database, it is possible to simultaneously achieve simplification of conversion information and flexibility.

IPv4−IPv6変換装置10は、当該データベースにおける対応関係に従って、IPv4ネットワークから受信するパケットにおけるIPv4アドレスをIPv6アドレスに変換して、IPv6ネットワークに送出し、IPv6ネットワークから受信するパケットにおけるIPv6アドレスをIPv4アドレスに変換してIPv4ネットワークに送出する動作を行う。   The IPv4-IPv6 translation device 10 converts an IPv4 address in a packet received from the IPv4 network into an IPv6 address according to the correspondence relationship in the database, sends the packet to the IPv6 network, and sends an IPv6 address in the packet received from the IPv6 network to the IPv4 address. The operation of transmitting to the IPv4 network is performed.

図2に、本実施の形態に係るIPv4−IPv6変換装置10の機能構成図を示す。なお、図2は、ルータであるIPv4−IPv6変換装置10において、特に本発明に関する部分を示すものであり、ルータとして機能するための図示しない機能部も含むものである。   FIG. 2 shows a functional configuration diagram of the IPv4-IPv6 translation device 10 according to the present embodiment. FIG. 2 particularly shows a part related to the present invention in the IPv4-IPv6 translation device 10 that is a router, and includes a functional unit (not shown) for functioning as a router.

図2に示すように、本実施の形態に係るIPv4−IPv6変換装置10は、IPv4インターフェース11、IPv6インターフェース12、IPv4−IPv6変換DB(データベース)13、変換機能部14を備える。また、変換機能部14は、その内部に正常性判定部141を含む。   As shown in FIG. 2, the IPv4-IPv6 translation device 10 according to the present embodiment includes an IPv4 interface 11, an IPv6 interface 12, an IPv4-IPv6 translation DB (database) 13, and a translation function unit 14. Moreover, the conversion function part 14 contains the normality determination part 141 in the inside.

IPv4インターフェース11は、IPv4ネットワークに接続され、IPv4ネットワークとパケット送受信を行う。IPv6ネットワーク12は、IPv6ネットワークに接続され、IPv6ネットワークとパケット送受信を行う。   The IPv4 interface 11 is connected to the IPv4 network and performs packet transmission / reception with the IPv4 network. The IPv6 network 12 is connected to the IPv6 network and performs packet transmission / reception with the IPv6 network.

IPv4−IPv6変換DB(データベース)13は、図1に示したように、IPv4とIPv6間でのネットワーク単位の対応関係を保持する記憶部である。すなわち、IPv4−IPv6変換DB13は、IPv4のネットワークを示すアドレスとネットマスクに対応するIPv6のプレフィックス(96bit)を対応付けて保持する。   As shown in FIG. 1, the IPv4-IPv6 conversion DB (database) 13 is a storage unit that holds a correspondence relationship in units of networks between IPv4 and IPv6. That is, the IPv4-IPv6 conversion DB 13 holds an address indicating an IPv4 network and an IPv6 prefix (96 bits) corresponding to the netmask in association with each other.

変換機能部14は、受信したパケットにおけるIPv4アドレスとIPv6アドレスを相互に変換する機能部である。より詳細には、変換機能部14は、IPv4アドレスからIPv6アドレスへ変換する場合、IPv4インターフェース11を介して入力されたパケットのIPv4アドレスについて、送信元、送信先の両方について、それぞれ、IPv4−IPv6変換DB13を参照し、当該IPv4アドレスのIPv4のネットワークに対応したIPv6アドレスのプレフィックスを検索し、選択し、当該IPv6アドレスのプレフィックス(96bit)の下部に、当該IPv4アドレス(32bit)を格納し、IPv6アドレスに変換する。IPv4アドレスからIPv6アドレスへの変換が行われたパケットはIPv6インターフェース12を介してIPv6ネットワークに送出される。   The translation function unit 14 is a function unit that translates the IPv4 address and the IPv6 address in the received packet. More specifically, when converting from an IPv4 address to an IPv6 address, the conversion function unit 14 uses IPv4-IPv6 for both the transmission source and the transmission destination for the IPv4 address of the packet input via the IPv4 interface 11, respectively. Referring to the translation DB 13, the IPv6 address prefix corresponding to the IPv4 network of the IPv4 address is searched and selected, and the IPv4 address (32 bits) is stored below the IPv6 address prefix (96 bits). Convert to address. A packet that has been converted from an IPv4 address to an IPv6 address is sent to the IPv6 network via the IPv6 interface 12.

また、変換機能部14は、IPv6アドレスからIPV4アドレスへ変換する場合、IPv6インターフェース12を介して入力されたパケットのIPv6アドレスについて、送信元、送信先の両方について、それぞれ、当該IPv6アドレスのプレフィックス(上位96bit)を削除し、下部をIPv4アドレス(32bit)として変換する。IPv6アドレスからIPv4アドレスへの変換が行われたパケットはIPv4インターフェース11を介してIPv4ネットワークに送出される。   In addition, when converting from an IPv6 address to an IPv4 address, the conversion function unit 14 converts the IPv6 address prefix (for both the transmission source and the transmission destination) for the IPv6 address of the packet input via the IPv6 interface 12. The upper 96 bits are deleted, and the lower part is converted as an IPv4 address (32 bits). A packet that has been converted from an IPv6 address to an IPv4 address is sent to the IPv4 network via the IPv4 interface 11.

正常性判定部141は、IPv6ネットワークからIPv4ネットワーク宛のパケットを受信したときに、パケットの正常性を判定するための機能部である。より詳細には、正常性判定部141は、IPv6インターフェース12を介して入力されるパケットのIPv6アドレスについて、送信元、送信先の両方について、それぞれ、当該IPv6アドレスのプレフィックス(上位96bit)について、IPv4−IPv6変換DB13を参照し、対応するIPv4のネットワークアドレスを検索し、入力パケットの当該IPv6アドレスの下位32bitをIPv4アドレスとして比較し、当該下位32bitのIPv4アドレスが、当該のIPv4ネットワークアドレスに含まれている場合を正常、含まれていない場合を異常と判定する。   The normality determination unit 141 is a functional unit for determining the normality of a packet when a packet addressed to the IPv4 network is received from the IPv6 network. More specifically, the normality determination unit 141 determines the IPv4 address of the packet input via the IPv6 interface 12 for the IPv6 address prefix (upper 96 bits) for both the transmission source and the transmission destination. -Refers to the IPv6 translation DB 13, searches the corresponding IPv4 network address, compares the lower 32 bits of the IPv6 address of the input packet as an IPv4 address, and the IPv4 address of the lower 32 bits is included in the IPv4 network address. If it is not normal, it is determined as abnormal.

本実施の形態に係るIPv4−IPv6変換装置10における変換機能部14は、コンピュータの機能を持つ通信装置(本実施の形態ではルータ)に、本実施の形態で説明する処理に対応するプログラムを実行させることにより実現可能である。当該プログラムは、可搬メモリ等の記憶媒体に格納して配布し、上記通信装置にインストールして用いてもよいし、ネットワーク上のサーバからダウンロードして上記通信装置にインストールしてもよい。また、本実施の形態で説明する処理をハードウェア回路として実現し、当該ハードウェア回路を通信装置に備えることとしてもよい。   The conversion function unit 14 in the IPv4-IPv6 conversion device 10 according to the present embodiment executes a program corresponding to the processing described in the present embodiment on a communication device having a computer function (a router in the present embodiment). This can be realized. The program may be stored in a storage medium such as a portable memory, distributed, installed in the communication device, or downloaded from a server on the network and installed in the communication device. Further, the processing described in the present embodiment may be realized as a hardware circuit, and the hardware circuit may be provided in the communication device.

(システムの動作例)
図1、図2に示すシステム構成においてユーザ装置20からサーバAにパケットを送信する場合の動作例について、図3のシーケンス図を参照して説明する。すなわち、ユーザ装置20がサーバAに接続する際の動作例を説明する。以下の動作の前提として、IPv4−IPv6変換DB13には、図1に示すとおりの対応関係のデータが格納されているものとする。
(System operation example)
An example of operation when a packet is transmitted from the user apparatus 20 to the server A in the system configuration shown in FIGS. 1 and 2 will be described with reference to the sequence diagram of FIG. That is, an operation example when the user apparatus 20 connects to the server A will be described. As a premise of the following operation, it is assumed that the correspondence data as shown in FIG. 1 is stored in the IPv4-IPv6 conversion DB 13.

IPv4実アドレス(30.30.30.30)が払い出されたユーザ装置20は、サーバAへの接続を行うために、サーバAのIPv4仮想アドレス(10.10.10.10)宛てにパケットを送信する。つまり、送信先アドレスとして10.10.10.10を有し、送信元アドレスとして30.30.30.30を有するパケットを送信する(ステップ1)。   The user device 20 to which the IPv4 real address (30.30.30.30) has been issued is a packet addressed to the IPv4 virtual address (10.10.10.10.) Of the server A in order to connect to the server A. Send. That is, a packet having 10.10.10.10 as the transmission destination address and 30.30.30.30 as the transmission source address is transmitted (step 1).

IPv4−IPv6変換装置10において、IPv4インターフェース11により受信されたパケットは、変換機能部14に渡され、変換機能部14はアドレス変換処理を行う(ステップ2)。   In the IPv4-IPv6 translation device 10, the packet received by the IPv4 interface 11 is transferred to the translation function unit 14, and the translation function unit 14 performs an address translation process (step 2).

ここでは、変換機能部14は、IPv4−IPv6変換DB13を参照することにより、受信したパケットの送信先IPv4アドレス(10.10.10.10)におけるIPv4ネットワークアドレス(10.10.10.0/24)と一致するIPv4ネットワークアドレスを検索する。本例では、10.10.10.0/24と一致するIPv4ネットワークアドレスが検出され、これに対応するIPv6プレフィックス(2001:db8:F:10::/96)を取得する。そして、変換機能部14は、当該IPv6プレフィックス(2001:db8:F:10::/96)の下部32bit(97bit〜128bit)に送信先IPv4アドレス(10.10.10.10)を付加することにより、送信先IPv6アドレスを生成する。このIPv6アドレスは、2001:db8:F:10::A0A:A0A(サーバAのIPv6実アドレス)となる。   Here, the translation function unit 14 refers to the IPv4-IPv6 translation DB 13, so that the IPv4 network address (10.10.10.10/10) in the destination IPv4 address (10.10.10.10) of the received packet. Search for an IPv4 network address that matches 24). In this example, an IPv4 network address matching 10.10.10.0.0 / 24 is detected, and an IPv6 prefix (2001: db8: F: 10 :: / 96) corresponding to this is acquired. Then, the conversion function unit 14 adds the destination IPv4 address (10.10.10.10) to the lower 32 bits (97 bits to 128 bits) of the IPv6 prefix (2001: db8: F: 10 :: / 96). To generate a destination IPv6 address. This IPv6 address is 2001: db8: F: 10 :: A0A: A0A (the IPv6 real address of server A).

同様に、変換機能部14は、IPv4−IPv6変換DB13を参照することにより、受信したパケットの送信元IPv4アドレス(30.30.30.30)におけるIPv4ネットワークアドレス(30.30.30.0/24)と一致するIPv4ネットワークアドレスを検索する。本例では、30.30.30.0/24と一致するIPv4ネットワークアドレスが検出され、これに対応するIPv6プレフィックス(2001:db8:1:1::/96)を取得する。そして、変換機能部14は、当該IPv6プレフィックス(2001:db8:1:1::/96)の下部32bit(97bit〜128bit)に送信元IPv4アドレス(30.30.30.30)を付加することにより、送信元IPv6アドレスを生成する。このIPv6アドレスは、2001:db8:1:1::1E1E:1E1E(ユーザ装置20のIPv6仮想アドレス)となる。   Similarly, the translation function unit 14 refers to the IPv4-IPv6 translation DB 13, so that the IPv4 network address (30.30.30.0/3) in the source IPv4 address (30.30.30.30) of the received packet is obtained. Search for an IPv4 network address that matches 24). In this example, an IPv4 network address that matches 30.30.30.0/24 is detected, and the corresponding IPv6 prefix (2001: db8: 1: 1 :: / 96) is acquired. Then, the conversion function unit 14 adds the source IPv4 address (30.30.30.30) to the lower 32 bits (97 bits to 128 bits) of the IPv6 prefix (2001: db8: 1: 1 :: / 96). Thus, a source IPv6 address is generated. The IPv6 address is 2001: db8: 1: 1: 1: 1: 1E1E: 1E1E (the IPv6 virtual address of the user device 20).

元のパケットにおける送信先IPv4アドレスと送信元IPv4アドレスは、上記のようにして生成された送信先IPv6アドレスと送信元IPv6アドレスに置き換えられ、IPv6パケットが生成され、サーバAに送信される(ステップ3)。   The destination IPv4 address and the source IPv4 address in the original packet are replaced with the destination IPv6 address and the source IPv6 address generated as described above, and an IPv6 packet is generated and transmitted to the server A (step) 3).

図4に、IPv4パケットをIPv6パケットに変換する際のデータ構成を示す。図4に示すように、IPv6パケットのペイロード部に、IPv4パケットのペイロードが格納される。また、送信先IPv6プレフィックスに送信先IPv4アドレスを付加したものがIPv6パケットの送信先アドレスになり、送信元IPv6プレフィックスに送信元IPv4アドレスを付加したものがIPv6パケットの送信元アドレスになる。   FIG. 4 shows a data structure when converting an IPv4 packet into an IPv6 packet. As shown in FIG. 4, the payload of the IPv4 packet is stored in the payload portion of the IPv6 packet. Further, a transmission destination address of the IPv6 packet is obtained by adding the transmission destination IPv4 address to the transmission destination IPv6 prefix, and a transmission source address of the IPv6 packet is obtained by adding the transmission source IPv4 address to the transmission source IPv6 prefix.

次に、サーバAからユーザ装置20にパケットを送信する場合の動作例について、図5のシーケンス図を参照して説明する。   Next, an operation example when a packet is transmitted from the server A to the user apparatus 20 will be described with reference to the sequence diagram of FIG.

IPv6実アドレス(2001:db8:F:10::A0A:A0A)を持つサーバAは、ユーザ装置20への接続を行うために、ユーザ装置20のIPv6仮想アドレス(2001:db8:1:1::1E1E:1E1E)宛てにパケットを送信する。つまり、送信先アドレスとして2001:db8:1:1::1E1E:1E1Eを有し、送信元アドレスとして2001:db8:F:10::A0A:A0Aを有するパケットを送信する(ステップ11)。   The server A having the IPv6 real address (2001: db8: F: 10 :: A0A: A0A) is connected to the user device 20, and the IPv6 virtual address (2001: db8: 1: 1 :) of the user device 20 is used. : 1E1E: 1E1E). That is, a packet having 2001: db8: 1: 1: 1: 1: 1E1E: 1E1E as the transmission destination address and 2001: db8: F: 10 :: A0A: A0A as the transmission source address is transmitted (step 11).

IPv4−IPv6変換装置10において、IPv6インターフェース12により受信されたパケットは、変換機能部14に渡される。変換機能部14はまず、正常性判定部141により、正常性判定処理を行う(ステップ12)。   In the IPv4-IPv6 translation device 10, the packet received by the IPv6 interface 12 is passed to the translation function unit 14. The conversion function unit 14 first performs normality determination processing by the normality determination unit 141 (step 12).

すなわち、正常性判定部141は、IPv4−IPv6変換DB13を参照し、送信先IPv6アドレス(2001:db8:1:1::1E1E:1E1E)のプレフィックス(2001:db8:1:1::/96)と一致するプレフィックスを検索する。本例では、2001:db8:1:1::/96と一致するプレフィックスが検出され、これに対応するIPv4のネットワークアドレス(30.30.30.0/24)を取得する。そして、正常性判定部141は、当該ネットワークアドレス(30.30.30.0/24)と、受信したパケットの送信先IPv6アドレスの下位32bitをIPv4アドレスとして比較し、当該下位32bitのIPv4アドレスが、ネットワークアドレス(30.30.30.0/24)に含まれているかどうか、すなわち、当該下位32bitのIPv4アドレスにおけるネットワークアドレス(24bit)と、上記ネットワークアドレス(30.30.30.0/24)が一致するかどうかを判定する。一致する場合に正常であると判定し、不一致である場合に異常であると判定する。   That is, the normality determination unit 141 refers to the IPv4-IPv6 translation DB 13 and prefixes (2001: db8: 1: 1 :: / 96) of the destination IPv6 address (2001: db8: 1: 1: 1: 1: 1E1E: 1E1E). ) Is searched for a prefix that matches. In this example, a prefix that matches 2001: db8: 1: 1 :: / 96 is detected, and a corresponding IPv4 network address (30.30.30.0/24) is acquired. The normality determination unit 141 compares the network address (30.30.30.0/24) with the lower 32 bits of the destination IPv6 address of the received packet as an IPv4 address, and the lower 4 bits of the IPv4 address is Included in the network address (30.30.30.0/24), that is, the network address (24 bits) in the lower 32-bit IPv4 address and the network address (30.30.30.0/24). ) Match. If they match, it is determined to be normal, and if they do not match, it is determined to be abnormal.

更に、正常性判定部141は、IPv4−IPv6変換DB13を参照し、送信元IPv6アドレス(2001:db8:F:10::A0A:A0A)のプレフィックス(2001:db8:F:10::/96)と一致するプレフィックスを検索する。本例では、2001:db8:F:10::/96と一致するプレフィックスが検出され、これに対応するIPv4のネットワークアドレス(10.10.10.0/24)を取得する。そして、正常性判定部141は、当該ネットワークアドレス(10.10.10.0/24)と、受信したパケットの送信元IPv6アドレスの下位32bitをIPv4アドレスとして比較し、当該下位32bitのIPv4アドレスが、ネットワークアドレス(10.10.10.0/24)に含まれているかどうか、すなわち、当該下位32bitのIPv4アドレスにおけるネットワークアドレス(24ビット)と、上記ネットワークアドレス(10.10.10.0/24)が一致するかどうかを判定する。一致する場合に正常であると判定し、不一致である場合に異常であると判定する。   Furthermore, the normality determination unit 141 refers to the IPv4-IPv6 conversion DB 13 and prefixes (2001: db8: F: 10 :: / 96) of the source IPv6 address (2001: db8: F: 10 :: A0A: A0A). ) Is searched for a prefix that matches. In this example, a prefix that matches 2001: db8: F: 10 :: / 96 is detected, and a corresponding IPv4 network address (10.10.10.0.0 / 24) is acquired. Then, the normality determination unit 141 compares the network address (10.10.10.0.0 / 24) with the lower 32 bits of the source IPv6 address of the received packet as an IPv4 address, and the lower 4 bits of the IPv4 address is Included in the network address (10.10.10.0/24), that is, the network address (24 bits) in the lower 32-bit IPv4 address and the network address (10.10.10.0.0 / 24) Determine whether they match. If they match, it is determined to be normal, and if they do not match, it is determined to be abnormal.

上記のような正常性判定を行うことで、パケットの受け入れに関するセキュリティブロックを実現することができる。   By performing the normality determination as described above, a security block relating to packet acceptance can be realized.

本例では、送信元アドレスと送信先アドレスのいずれも正常と判定され、処理はステップ14に進む。もし、送信元アドレスと送信先アドレスのいずれか又は両方が異常であると判定された場合、ステップ13の異常時処理に進む。異常時処理としては、例えば、エラーを示すパケットを送信元に返すなどの処理がある。   In this example, it is determined that both the transmission source address and the transmission destination address are normal, and the process proceeds to step 14. If it is determined that either or both of the transmission source address and the transmission destination address are abnormal, the process proceeds to step 13 in case of abnormality. The abnormal time process includes, for example, a process of returning a packet indicating an error to the transmission source.

正常性判定部141による判定結果が正常であった場合のステップ14では、IPv6からIPv4へのアドレス変換処理がなされる。ここでは、変換機能部14は、送信先IPv6アドレス(2001:db8:1:1::1E1E:1E1E)のプレフィックスである上位96bit(1bit〜96bit目まで)を削除すことで、変換後の送信先IPv4アドレス(30.30.30.30)を生成し、送信元IPv6アドレス(2001:db8:F:10::A0A:A0A)のプレフィックスである上位96bitを削除することで、変換後の送信元IPv4アドレス(10.10.10.10)を生成する。   In step 14 when the determination result by the normality determination unit 141 is normal, an address conversion process from IPv6 to IPv4 is performed. Here, the conversion function unit 14 deletes the upper 96 bits (from 1 bit to 96 bits) which are prefixes of the destination IPv6 address (2001: db8: 1: 1: 1: 1: 1E1E), thereby transmitting the converted data. The destination IPv4 address (30.30.30.30) is generated, and the higher-order 96 bits that are the prefixes of the source IPv6 address (2001: db8: F: 10 :: A0A: A0A) are deleted, so that transmission after conversion is performed. A source IPv4 address (10.10.10.10) is generated.

IPv6インターフェース12から入力されたパケットにおける送信先IPv6アドレスと送信元IPv6アドレスは、上記のようにして生成された送信先IPv4アドレスと送信元IPv4アドレスに置き換えられ、IPv4パケットとしてユーザ装置20に送信される(ステップ15)。   The destination IPv6 address and the source IPv6 address in the packet input from the IPv6 interface 12 are replaced with the destination IPv4 address and the source IPv4 address generated as described above, and transmitted to the user apparatus 20 as an IPv4 packet. (Step 15).

なお、上述した例では、ユーザ装置20とサーバA間の通信について説明したが、ユーザ装置20とサーバB間でも同様の処理で通信可能である。   In the above-described example, the communication between the user device 20 and the server A has been described. However, the communication between the user device 20 and the server B can be performed by the same process.

(他のシステム構成例)
図1に示す構成は、IPv4ネットワークに存在するユーザ装置20とIPv6ネットワークに存在するサーバA、Bとを接続する構成であったが、これは一例に過ぎない。その他の例として、図6に示すように、複数のIPv4ネットワーク(例:企業網)をIPv6ネットワークを介して接続する構成とすることもできる。この場合でも、各IPv4−IPv6変換装置10の動作は、これまでに説明した動作と同様である。
(Other system configuration examples)
The configuration shown in FIG. 1 is a configuration in which the user apparatus 20 existing in the IPv4 network is connected to the servers A and B existing in the IPv6 network, but this is only an example. As another example, as shown in FIG. 6, a plurality of IPv4 networks (for example, a corporate network) may be connected via an IPv6 network. Even in this case, the operation of each IPv4-IPv6 translation apparatus 10 is the same as the operation described so far.

本発明は、上記の実施の形態に限定されることなく、特許請求の範囲内において、種々変更・応用が可能である。   The present invention is not limited to the above-described embodiments, and various modifications and applications are possible within the scope of the claims.

A、B サーバ
10 IPv4−IPv6変換装置
20 ユーザ装置
11 IPv4インターフェース
12 IPv6インターフェース
13 IPv4−IPv6変換DB
14 変換機能部
141 正常性判定部
A, B Server 10 IPv4-IPv6 translation device 20 User device 11 IPv4 interface 12 IPv6 interface 13 IPv4-IPv6 translation DB
14 Conversion function unit 141 Normality determination unit

Claims (5)

IPv4アドレスとIPv6アドレス間の変換を行うアドレス変換装置が実行するアドレス変換方法であって、
IPv4ネットワークからIPv6ネットワーク宛のパケットを受信した場合において、IPv4のネットワークアドレスとIPv6のネットマスクに対応するプレフィックスとを対応付けて保持する変換データベースを参照することにより、前記パケットの送信元、及び送信先それぞれのIPv4アドレスについて、当該IPv4アドレスのネットワークアドレスに対応したIPv6アドレスのプレフィックスを取得するステップと、
前記IPv6アドレスのプレフィックスに前記IPv4アドレスを付加することにより、送信元、及び送信先それぞれのIPv6アドレスを生成し、前記パケットにおけるIPv4アドレスを前記IPv6アドレスに置き換えるステップと
を有することを特徴とするアドレス変換方法。
An address translation method executed by an address translation device that translates between an IPv4 address and an IPv6 address,
When the packet addressed to the IPv6 network is received from the IPv4 network, the packet source and the transmission are transmitted by referring to the conversion database that holds the IPv4 network address and the prefix corresponding to the IPv6 netmask in association with each other. Obtaining an IPv6 address prefix corresponding to the network address of the IPv4 address for each of the IPv4 addresses;
Adding the IPv4 address to the prefix of the IPv6 address to generate an IPv6 address for each of the source and destination, and replacing the IPv4 address in the packet with the IPv6 address. Conversion method.
IPv6ネットワークからIPv4ネットワーク宛のパケットを受信した場合において、当該パケットの送信元、及び送信先それぞれのIPv6アドレスについて、当該IPv6アドレスのプレフィックスを削除することにより、IPv4アドレスを取得し、前記パケットにおけるIPv6アドレスを当該IPv4アドレスに置き換えるステップ
を有することを特徴とする請求項1に記載のアドレス変換方法。
When a packet addressed to an IPv4 network is received from an IPv6 network, an IPv4 address is obtained by deleting the IPv6 address prefix for the IPv6 address of each source and destination of the packet, and IPv6 in the packet The address conversion method according to claim 1, further comprising: replacing an address with the IPv4 address.
IPv6ネットワークからIPv4ネットワーク宛のパケットを受信した場合において、前記変換データベースを参照することにより、当該パケットの送信元、及び送信先それぞれのIPv6アドレスについて、当該IPv6アドレスのプレフィックスに対応するIPv4のネットワークアドレスを取得するステップと、
前記パケットのIPv6アドレスにおける下位所定ビットをIPv4アドレスとして前記取得したIPv4のネットワークアドレスと比較し、当該下位所定ビットのIPv4アドレスが、前記IPv4のネットワークアドレスに含まれているか否かを調べることにより、前記パケットが正常か否かを判定するステップと
を有することを特徴とする請求項1又は2に記載のアドレス変換方法。
When a packet addressed to the IPv4 network is received from the IPv6 network, the IPv4 network address corresponding to the IPv6 address prefix for the IPv6 address of each of the source and destination of the packet by referring to the conversion database Step to get the
By comparing a lower predetermined bit in the IPv6 address of the packet as an IPv4 address with the acquired IPv4 network address, and checking whether the IPv4 address of the lower predetermined bit is included in the IPv4 network address, The address conversion method according to claim 1, further comprising a step of determining whether or not the packet is normal.
前記IPv6アドレスのプレフィックスは96ビット長であることを特徴とする請求項1ないし3のうちいずれか1項に記載のアドレス変換方法。   4. The address conversion method according to claim 1, wherein the IPv6 address prefix is 96 bits long. IPv4アドレスとIPv6アドレス間の変換を行うアドレス変換装置であって、
IPv4のネットワークアドレスとIPv6のネットマスクに対応するプレフィックスとを対応付けて保持する変換データベースと、
IPv4ネットワークからIPv6ネットワーク宛のパケットを受信した場合において、前記変換データベースを参照することにより、前記パケットの送信元、及び送信先それぞれのIPv4アドレスについて、当該IPv4アドレスのネットワークアドレスに対応したIPv6アドレスのプレフィックスを取得する手段と、
前記IPv6アドレスのプレフィックスに前記IPv4アドレスを付加することにより、送信元、及び送信先それぞれのIPv6アドレスを生成し、前記パケットにおけるIPv4アドレスを前記IPv6アドレスに置き換える手段と
を有することを特徴とするアドレス変換装置。
An address translation device that translates between an IPv4 address and an IPv6 address,
A translation database that stores the IPv4 network address and the prefix corresponding to the IPv6 netmask in association with each other;
When a packet addressed to an IPv6 network is received from an IPv4 network, an IPv6 address corresponding to the network address of the IPv4 address is determined for each IPv4 address of the source and destination of the packet by referring to the conversion database. A means of obtaining a prefix;
Means for generating an IPv6 address for each of a transmission source and a transmission destination by adding the IPv4 address to a prefix of the IPv6 address, and replacing the IPv4 address in the packet with the IPv6 address. Conversion device.
JP2012272877A 2012-12-13 2012-12-13 Address conversion method and address conversion device Pending JP2014120828A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012272877A JP2014120828A (en) 2012-12-13 2012-12-13 Address conversion method and address conversion device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012272877A JP2014120828A (en) 2012-12-13 2012-12-13 Address conversion method and address conversion device

Publications (1)

Publication Number Publication Date
JP2014120828A true JP2014120828A (en) 2014-06-30

Family

ID=51175345

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012272877A Pending JP2014120828A (en) 2012-12-13 2012-12-13 Address conversion method and address conversion device

Country Status (1)

Country Link
JP (1) JP2014120828A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110198365A (en) * 2019-05-27 2019-09-03 杭州迪普科技股份有限公司 A kind of address conversion detection method and system
CN113938459A (en) * 2021-09-06 2022-01-14 锐捷网络股份有限公司 IPv6 configuration method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110198365A (en) * 2019-05-27 2019-09-03 杭州迪普科技股份有限公司 A kind of address conversion detection method and system
CN110198365B (en) * 2019-05-27 2022-12-23 杭州迪普科技股份有限公司 Address translation detection method and system
CN113938459A (en) * 2021-09-06 2022-01-14 锐捷网络股份有限公司 IPv6 configuration method and device

Similar Documents

Publication Publication Date Title
JP5817299B2 (en) Address translation apparatus, communication system, and address translation method
US9787503B2 (en) Utilizing proxy internet protocol addressing in a gateway for communicating with multiple service provider networks
KR100560737B1 (en) appatus for converting IPv4-to-IPv6 using dual stack and method thereof
US9185072B2 (en) Stateless NAT44
WO2013123420A1 (en) Load balancing using dns in a ipv4/ipv6 environment
US20100085984A1 (en) Method and ip translator for translating protocol to support compatibility between networks each employing different types of protocols
CN103618801A (en) Method, device and system for sharing P2P (Peer-to-Peer) resources
US20160028628A1 (en) Communication system, control apparatus, address allocation method, and program
US20050265340A1 (en) Network address-port translation apparatus and method
JP6104406B2 (en) Method and processing device for handling network protocol addresses
CN103369065A (en) Massage forwarding method and equipment
CN105515995A (en) Message processing method and apparatus, and flow table generation method and apparatus
JP2014120828A (en) Address conversion method and address conversion device
JP2011061541A (en) Address/protocol translation system, translator device and translator program
CN115225606B (en) Domain name access method and system of cross-network protocol of container cloud platform
CN102238084B (en) Method and device for forwarding cross-domain message, route equipment and client
JP5054666B2 (en) VPN connection device, packet control method, and program
WO2019142327A1 (en) Relay device and relay method
WO2015184979A1 (en) Methods and devices for processing packet, sending information, and receiving information
EP2961110A1 (en) Packet transmission method and apparatus, and server
JP3905067B2 (en) Communication method between hosts via network
US11962502B2 (en) Control apparatus, communication system, control method and program
JP5843707B2 (en) IPv4-IPv6 conversion processing method, IPv4-IPv6 conversion processing apparatus, and IPv4-IPv6 integrated network system
KR100711163B1 (en) Address mapping apparatus and the method of the data packet repeater
Chimiak et al. Enhanced IP: IPv4 with 64-bit addresses