JP2000261485A - Network address converting system - Google Patents

Network address converting system

Info

Publication number
JP2000261485A
JP2000261485A JP6180799A JP6180799A JP2000261485A JP 2000261485 A JP2000261485 A JP 2000261485A JP 6180799 A JP6180799 A JP 6180799A JP 6180799 A JP6180799 A JP 6180799A JP 2000261485 A JP2000261485 A JP 2000261485A
Authority
JP
Japan
Prior art keywords
address
data packet
server
network
client
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
JP6180799A
Other languages
Japanese (ja)
Inventor
Koichi Yada
浩一 矢田
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.)
NEC Engineering Ltd
Original Assignee
NEC Engineering Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP6180799A priority Critical patent/JP2000261485A/en
Publication of JP2000261485A publication Critical patent/JP2000261485A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a network address converting system that quickly relays a data packet between a client and a server under a client-server environment where a plurality of servers share loads of tasks of the same kind. SOLUTION: The same IP address is given to server computers connected to a plurality of server connection ports 10, 20 and conducting decentralizing processing, the re-configuration processing of a data packet is omitted for a client-server communication and an address transforming device 1 having an IP address transforming mechanism 2 and address conversion databases 3-5 conduct inter-network address conversion processing limited only to an inter- server communication.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はネットワークアドレ
ス変換方式、特に複数のネットワーク間でデータパケッ
トの中継を行うネットワーク間接続装置のアドレス変換
方式に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a network address translation system, and more particularly to an address translation system for an inter-network connecting device that relays data packets between a plurality of networks.

【0002】[0002]

【従来の技術】従来より、複数のネットワーク同士をネ
ットワーク間接続装置を介して相互接続したインターネ
ットワーク環境が整備されており、端末装置(以下:ク
ライアント)と遠隔地のサーバマシン(以下:ホスト)
との間のデータ通信が可能となっている。
2. Description of the Related Art Conventionally, an internetwork environment in which a plurality of networks are interconnected via a network connecting device has been prepared, and a terminal device (hereinafter, referred to as a client) and a remote server machine (hereinafter, referred to as a host).
And data communication with the server.

【0003】インターネットワークを構築する際、ホス
ト/クライアントを識別するために、OSIの第3層
(以下:ネットワーク層)のアドレス(TCP/IP(T
ransmission Control Protocol / Internet Protocol)
通信ではIPアドレス)をホスト及びクライアントに割
り当てる必要がある。ここでは、ネットワーク層のアド
レスをIPアドレスとして説明する。
When constructing an internetwork, an address (TCP / IP (T) of the third layer (hereinafter referred to as a network layer) of OSI is used to identify a host / client.
(ransmission Control Protocol / Internet Protocol)
In communication, it is necessary to assign an IP address) to a host and a client. Here, a description will be given assuming that the address of the network layer is an IP address.

【0004】近年、ホストの処理能力に比べホストの業
務量は増加する傾向にあり、同種の業務を処理する複数
のサーバマシンを用意することで、処理能力の負荷分散
を行う、クライアント・サーバ環境が多くなってきた。
[0004] In recent years, the workload of a host has tended to increase compared to the throughput of a host, and a client / server environment in which the load of the workload is distributed by preparing a plurality of server machines for processing the same type of business. Has increased.

【0005】しかしながら、各クライアントに全てのサ
ーバのIPアドレスを意識させることなく、前述の負荷
分散を行うために、クライアントとサーバ間に設置され
たネットワーク接続装置がクライアント側に1つの仮想
IPアドレスを用意し、ネットワーク接続装置は各クラ
イアントから前述の仮想IPアドレスへのアクセス毎
に、そのデータパケット内のネットワークアドレスを各
サーバが持つ固有のIPアドレスに変換し、クライアン
トが要求する業務を複数のサーバへ振り分ける負荷分散
方式(ロードバランシング(Load Balancing))が浸透し
つつある。
However, in order to perform the above-mentioned load distribution without making each client aware of the IP addresses of all servers, a network connection device installed between the client and the server assigns one virtual IP address to the client side. Prepared, the network connection device converts the network address in the data packet into a unique IP address of each server each time each client accesses the above-mentioned virtual IP address, and performs a task requested by the client on a plurality of servers. A load balancing method (Load Balancing) is spreading.

【0006】前述のネットワークアドレス変換の1例
が、特開平10−154995号公報の「ゲートウェイ
装置及びパケット中継方法」に開示されている。
An example of the above-described network address translation is disclosed in Japanese Patent Application Laid-Open No. 10-154995, entitled "Gateway Device and Packet Relay Method".

【0007】この公報に開示されたゲートウェイ装置
は、複数端末よりなるユーザネットワークを外部ネット
ワークに1端末として接続複数端末が実質的に同時に通
信できる装置である。その実現手段としては、ローカル
ネットワークと外部ネットワークとの間でパケット中継
を行うゲートウェイ装置において、ローカルネットワー
クの少なくとも1つの端末から外部ネットワークに転送
するパケットのヘッダをゲートウェイ装置固有のヘッダ
に変換する第1の変換手段と、この第1の変換手段の変
換内容を記憶する変換テーブルと、外部ネットワークか
らローカルネットワークに転送するパケットのヘッダを
ローカルネットワークの端末のためのヘッダに逆変換す
る第2の変換手段とを有し、ローカルネットワークに対
してはレイヤ3の中継装置として動作し、且つ外部ネッ
トワークに対しては1つの端末として動作することを特
徴とする。
The gateway device disclosed in this publication is a device in which a user network composed of a plurality of terminals is connected to an external network as one terminal, and a plurality of terminals can communicate substantially simultaneously. As a means for realizing this, in a gateway device that relays a packet between a local network and an external network, a first device that converts a header of a packet transferred from at least one terminal of the local network to the external network into a header unique to the gateway device. Conversion means, a conversion table for storing conversion contents of the first conversion means, and a second conversion means for reversely converting a header of a packet transferred from the external network to the local network into a header for a terminal of the local network. And operates as a layer 3 relay device for a local network and operates as one terminal for an external network.

【0008】また、他のネットワークアドレス変換の1
例が、特開平10−23074号公報に開示されてい
る。
[0008] Also, one of the other network address translations
An example is disclosed in JP-A-10-23074.

【0009】この公報に開示されたシステムは、クライ
アント・サーバ環境下において、クライアント側での設
定を変更することなく、現用系サーバから予備系サーバ
へのサーバ切替を行うシステムである。その実現方法と
しては、サーバ側のネットワークに接続された複数のサ
ーバの動作を監視するネットワーク監視手段と、ネット
ワークに接続された特定のサーバのIPアドレスを他の
サーバのIPアドレスとして仮想的に設定して、特定の
サーバの機能を他のサーバによって代替するサーバ切替
を行うサーバ切替手段と、特定のサーバとクライアント
の間で送受信されるデータパケットを、サーバ切り替え
された他のサーバとクライアントとの間で送受信される
データパケットに変換するパケット変換手段とを備えて
いる。
The system disclosed in this publication is a system in which a server is switched from an active server to a standby server in a client-server environment without changing settings on the client side. As a method of realizing this, network monitoring means for monitoring the operation of a plurality of servers connected to the network on the server side, and virtually setting the IP address of a specific server connected to the network as the IP address of another server And a server switching unit for performing server switching for substituting a function of a specific server by another server, and a data packet transmitted / received between the specific server and the client between the server and the client whose server has been switched. Packet conversion means for converting the data packets into data packets transmitted and received between them.

【0010】[0010]

【発明が解決しようとする課題】ロードバランシングで
のデータパケットの中継速度に関する特徴は、クライア
ントの業務を迅速に行うために、クライアントとサーバ
とのデータパケットの中継はできる限り迅速に行うこ
と、複数台の各サーバ間におけるデータパケットの中継
はクライアントの業務に直接影響しないので若干のオー
バヘッドが許されることにある。
A characteristic relating to a data packet relay speed in load balancing is that data packets are relayed between a client and a server as quickly as possible in order to speed up client operations. The relay of data packets between the servers does not directly affect the client's business, so that some overhead is allowed.

【0011】しかしながら、上述した特開平10−15
4995号公報に開示のゲートウェイ装置では、各サー
バ間通信に比べて、クライアントとサーバ間のデータパ
ケットの中継に時間を要する問題がある。その理由は、
クライアントがアクセスするIPアドレスは複数台のサ
ーバの代表ともいえる1つの仮想IPアドレスのため、
クライアントとサーバとのデータパケットの中継には必
ず、仮想IPアドレスと各サーバが持つ固有のIPアド
レスとのネットワークアドレスの変換が必要であり、こ
のアドレス変換処理の実行によりクライアントとサーバ
間においてデータパケットの中継に時間を要していたた
めである。
However, the above-mentioned Japanese Patent Application Laid-Open No. 10-15 / 1998
The gateway device disclosed in Japanese Patent No. 4995 has a problem that it takes more time to relay a data packet between a client and a server than communication between servers. The reason is,
Since the IP address accessed by the client is one virtual IP address that can be said to be representative of multiple servers,
In order to relay a data packet between a client and a server, it is necessary to convert a network address between a virtual IP address and a unique IP address possessed by each server. Because it took a long time to broadcast.

【0012】また、前述した特開平10−23074号
公報に開示のネットワークシステムでは、各クライアン
トコンピュータと予備系サーバ間のデータパケットの中
継に時間を要する問題がある。その理由は、クライアン
トがアクセスするIPアドレスは現用系サーバのIPア
ドレスであり、クライアントと予備系サーバとのデータ
パケットの中継には必ず、現用系サーバのIPアドレス
と予備系サーバのIPアドレスの変換が必要であり、こ
のアドレス変換処理の実行によりクライアントと予備系
サーバ間においてデータパケットの中継に時間を要して
いたためである。
Further, the network system disclosed in the above-mentioned Japanese Patent Application Laid-Open No. 10-23074 has a problem that it takes time to relay data packets between each client computer and the backup server. The reason is that the IP address accessed by the client is the IP address of the active server, and the IP address of the active server and the IP address of the standby server must be converted for relaying data packets between the client and the standby server. This is because the execution of the address conversion process requires time for relaying data packets between the client and the backup server.

【0013】本発明の目的は、同種の業務を複数台のサ
ーバで負荷分散している環境のクライアントサーバ環境
下において、クライアントとサーバ間のデータパケット
をより迅速に中継するネットワークアドレス変換方式を
提供することにある。
An object of the present invention is to provide a network address translation method for more quickly relaying data packets between a client and a server in a client-server environment in which the same kind of work is load-balanced by a plurality of servers. Is to do.

【0014】[0014]

【課題を解決するための手段】前述の課題を解決するた
め、本発明によるネットワークアドレス変換方式は、次
のような特徴的な構成を採用している。
In order to solve the above-mentioned problems, a network address translation system according to the present invention employs the following characteristic configuration.

【0015】(1)複数のクライアントネットワーク接
続ポート及びサーバ接続ポートを有するネットワーク間
でデータパケットの中継を行うネットワーク間接続装置
のネットワークアドレス変換方式において、前記ネット
ワーク上のデータパケットの宛先が前記サーバであるこ
とを知る手段と、前記データパケットの送信元が前記サ
ーバであることを知る手段と、前記データパケットの宛
先と送信元が共に前記サーバである場合に前記データパ
ケット中の宛先ネットワークアドレスと送信元ネットワ
ークアドレスとを変換する手段と、前記ネットワークア
ドレスの変換イメージを記憶する手段とを有するネット
ワークアドレス変換方式。
(1) In a network address translation method of an inter-network connecting device for relaying a data packet between networks having a plurality of client network connection ports and a server connection port, the destination of the data packet on the network is the server. Means for knowing that there is, a means for knowing that the source of the data packet is the server, and a destination network address in the data packet when the destination and the source of the data packet are both the server. A network address translation method comprising: means for translating an original network address; and means for storing a translation image of the network address.

【0016】(2)前記サーバの物理アドレスと前記ネ
ットワークアドレスとの対応を記憶する手段と、前記ネ
ットワークアドレスから前記物理アドレスを求める手段
とを有する上記(1)のネットワークアドレス変換方
式。
(2) The network address conversion method according to (1), further comprising means for storing a correspondence between the physical address of the server and the network address, and means for obtaining the physical address from the network address.

【0017】(3)同種の業務を複数台のサーバコンピ
ュータで負荷分担し、複数のクライアントコンピュータ
とデータパケット通信を行うネットワークにおいて、前
記サーバコンピュータと前記クライアントコンピュータ
との間にIP(インターネットプロトコル)アドレスの
変換機能を有するIPアドレス変換装置を備え、該IP
アドレス変換装置は、前記ネットワークのサーバ接続ポ
ートと、クライアントネットワーク接続ポートと、前記
サーバ接続ポート間のデータパケットのIPアドレス変
換機構と、前記IPアドレス変換の為のアドレス変換デ
ータを記憶するアドレス変換データベース部とを有する
ネットワークアドレス変換方式。
(3) In a network in which the same kind of work is load-shared by a plurality of server computers and performs data packet communication with a plurality of client computers, an IP (Internet Protocol) address is provided between the server computers and the client computers. IP address translation device having a translation function of
The address translation device includes a server connection port of the network, a client network connection port, an IP address translation mechanism for a data packet between the server connection port, and an address translation database storing address translation data for the IP address translation. And a network address translation system.

【0018】(4)前記サーバコンピュータには同じI
Pアドレスを割り当てる上記(3)のネットワークアド
レス変換方式。間でデータパケットの中継を行うネット
ワーク間接続装置のアドレス変換方式に関する。
(4) The server computer has the same I
The network address translation method according to the above (3), wherein the P address is allocated. The present invention relates to an address conversion method for an inter-network connecting device that relays a data packet between them.

【0019】[0019]

【発明の実施の形態】次に、本発明によるネットワーク
アドレス変換方式の実施の形態について、添付図を参照
して詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, an embodiment of a network address translation system according to the present invention will be described in detail with reference to the accompanying drawings.

【0020】先ず図1は、本発明による第1実施の形態
例のブロック図を示している。図1において、アドレス
変換装置1は、本発明によるアドレス変換方式を備えた
ネットワーク接続装置である。アドレス変換装置1で
は、物理的なネットワーク接続ポートを4個備えてお
り、それぞれ、第1のサーバ接続ポート10と、第2の
サーバ接続ポート20と、第1のクライアントネットワ
ーク接続ポート30と、第2のクライアントネットワー
ク接続ポート40とから成る。また、アドレス変換装置
1には、サーバ接続ポート間のデータパケットのIPア
ドレスを書き換えるIPアドレス変換機構2と、IPア
ドレス変換のためのアドレス変換データを記憶するアド
レス変換データベース部3、4、5とを備えている。
FIG. 1 is a block diagram showing a first embodiment according to the present invention. In FIG. 1, an address translation device 1 is a network connection device provided with an address translation method according to the present invention. The address translator 1 has four physical network connection ports, each of which has a first server connection port 10, a second server connection port 20, a first client network connection port 30, 2 client network connection ports 40. The address translation device 1 includes an IP address translation mechanism 2 for rewriting an IP address of a data packet between server connection ports, and address translation database units 3, 4, and 5 for storing address translation data for IP address translation. It has.

【0021】第1のサーバ接続ポート10は、データパ
ケットをサーバコンピュータへ送信する第1のデータパ
ケット送信部11と、サーバコンピュータからのデータ
パケットを受信する第1のデータパケット受信部12
と、サーバコンピュータから受信したデータパケットの
宛先IPアドレスから、データパケットの方路すなわち
データパケットを送出する物理ポートを決定する第1の
アドレス解決部13とから成る。同様に、第2のサーバ
接続ポート20は、第2のデータパケット送信部21
と、第2のデータパケット受信部22と、第2のアドレ
ス解決部23とから成る。また、第1のクライアントネ
ットワーク接続ポート30は、第3のデータパケット送
信部31と、第3のデータパケット受信部32と、第3
のアドレス解決部33とから成る。同様に、第2のクラ
イアントネットワーク接続ポート40は、第4のデータ
パケット送信部41と、第4のデータパケット受信部4
2と、第4のアドレス解決部43とから成る。
The first server connection port 10 includes a first data packet transmitting unit 11 for transmitting a data packet to a server computer, and a first data packet receiving unit 12 for receiving a data packet from the server computer.
And a first address resolution unit 13 for determining a route of the data packet, that is, a physical port to which the data packet is transmitted, from a destination IP address of the data packet received from the server computer. Similarly, the second server connection port 20 is connected to the second data packet transmitting unit 21
, A second data packet receiving unit 22 and a second address resolution unit 23. In addition, the first client network connection port 30 includes a third data packet transmitting unit 31, a third data packet receiving unit 32, and a third
And an address resolution unit 33. Similarly, the second client network connection port 40 includes a fourth data packet transmitting unit 41 and a fourth data packet receiving unit 4.
2 and a fourth address resolution unit 43.

【0022】データパケット送信部11、21、31、
41は、各ポートが接続しているネットワークへトラフ
ィックを発生する機能を持ち、アドレス変換装置1内か
ら与えられたデータパケットを接続しているネットワー
クへ送信する。
The data packet transmission units 11, 21, 31,
Reference numeral 41 has a function of generating traffic to the network to which each port is connected, and transmits a data packet given from inside the address translation device 1 to the connected network.

【0023】データパケット受信部12、22、32、
42は、各ポートが接続しているネットワーク上を通過
しているデータパケットを読み取ることができる。この
とき、受信したパケットのエラーチェック等も必要に応
じて行う。
The data packet receiving units 12, 22, 32,
42 can read data packets passing over the network to which each port is connected. At this time, an error check or the like of the received packet is also performed as necessary.

【0024】アドレス解決部13、23、33、43
は、各ポートが接続しているネットワークから受信した
パケットの宛先IPアドレスをキーにして、そのデータ
パケットの方路を決定し、該当する物理ポートのデータ
パケット送信部へデータパケットを渡す。
Address resolution units 13, 23, 33, 43
Uses the destination IP address of a packet received from the network connected to each port as a key, determines the route of the data packet, and passes the data packet to the data packet transmission unit of the corresponding physical port.

【0025】特に、クライアントネットワーク接続ポー
ト30、40のアドレス解決部33、43は、データパ
ケットの宛先IPアドレスとサーバコンピュータのIP
アドレスとが一致する場合、サーバコンピュータ処理能
力の負荷分散のために、複数のサーバコンピュータから
1つのサーバコンピュータを選択し、データパケットの
方路を決める機能を有する。
In particular, the address resolution units 33 and 43 of the client network connection ports 30 and 40 determine the destination IP address of the data packet and the IP address of the server computer.
If the addresses match, a function of selecting one server computer from a plurality of server computers and deciding the route of the data packet is provided to distribute the load of the server computer processing capacity.

【0026】次に、クライアントネットワーク接続ポー
ト30、40のアドレス解決部33、43の動作を図3
のフローチャートを用いて説明する。
Next, the operation of the address resolution units 33 and 43 of the client network connection ports 30 and 40 will be described with reference to FIG.
This will be described with reference to the flowchart of FIG.

【0027】最初に、ステップS11で、データパケッ
ト受信部から渡された受信パケットの宛先IPアドレス
を読み出す。その読み出したIPアドレスと、サーバコ
ンピュータのIPアドレスとをステップS12で比較
し、一致ならばステップS13の処理を、不一致ならば
ステップS15の処理を行う。
First, in step S11, the destination IP address of the received packet passed from the data packet receiving unit is read. The read IP address is compared with the IP address of the server computer in step S12. If they match, the process in step S13 is performed. If they do not match, the process in step S15 is performed.

【0028】受信パケットがサーバコンピュータ宛のデ
ータパケットの場合、ステップS13では、複数のサー
バコンピュータから1台のサーバコンピュータを選択
し、データパケットの方路を決定する。次に、ステップ
S14では、ステップS13で決定した方路に該当する
物理ポートのデータパケット送信部へ受信パケットを渡
す。
If the received packet is a data packet addressed to a server computer, in step S13, one server computer is selected from the plurality of server computers, and the route of the data packet is determined. Next, in step S14, the received packet is passed to the data packet transmitting unit of the physical port corresponding to the route determined in step S13.

【0029】受信パケットがクライアントコンピュータ
宛のデータパケットの場合、ステップS15では、宛先
IPアドレスが属しているネットワークへ接続している
物理ポートをルーティングテーブルから求め、該当する
物理ポートのデータパケット送信部へ受信パケットを渡
す。
If the received packet is a data packet addressed to the client computer, in step S15, a physical port connected to the network to which the destination IP address belongs is obtained from the routing table, and sent to the data packet transmitting unit of the corresponding physical port. Pass the received packet.

【0030】また、サーバ接続ポート10、20のアド
レス解決部13、23は、それぞれアドレス変換データ
ベース部4、5と接続しており、データパケットの宛先
IPアドレスとサーバコンピュータのIPアドレスとが
一致する場合、データパケットの方路に該当する物理ポ
ートのデータパケット送信部へIPアドレス変換機構2
を介して渡す機能を有する。
The address resolution units 13 and 23 of the server connection ports 10 and 20 are connected to the address conversion database units 4 and 5, respectively, and the destination IP address of the data packet matches the IP address of the server computer. In this case, the IP address conversion mechanism 2 is sent to the data packet transmission unit of the physical port corresponding to the route of the data packet.
It has a function to pass through.

【0031】次に、サーバ接続ポート10、20のアド
レス解決部13、23の動作を図4のフローチャートを
用いて説明する。最初にステップS21で、データパケ
ット受信部12、22から渡された受信パケットの宛先
IPアドレスを読み出す。その読み出したIPアドレス
と、アドレス変換データベース部に登録している全ての
サーバコンピュータのIPアドレスとをステップS22
で比較し、アドレス変換データベースに、一致するIP
アドレスが登録してある場合はステップS23の処理
を、一致するIPアドレスが1つもなければステップS
24の処理を行う。
Next, the operation of the address resolution units 13 and 23 of the server connection ports 10 and 20 will be described with reference to the flowchart of FIG. First, in step S21, the destination IP address of the received packet passed from the data packet receiving units 12, 22 is read. The read IP address and the IP addresses of all the server computers registered in the address conversion database unit are stored in step S22.
IP addresses that match in the address translation database
If the address has been registered, the process of step S23 is performed. If there is no matching IP address, the process proceeds to step S23.
Step 24 is performed.

【0032】受信パケットがサーバコンピュータ宛のデ
ータパケットの場合、ステップS23では、データパケ
ットをIPアドレス変換機構2へ渡す。受信パケットが
クライアントコンピュータ宛の場合、ステップS24で
は、宛先IPアドレスが属しているネットワークへ接続
している物理ポートをルーティングテーブルから求め、
該当する物理ポートのデータパケット送信部へ受信パケ
ットを渡す。
If the received packet is a data packet addressed to the server computer, the data packet is passed to the IP address translator 2 in step S23. If the received packet is addressed to the client computer, in step S24, a physical port connected to the network to which the destination IP address belongs is obtained from the routing table.
The received packet is passed to the data packet transmitting unit of the corresponding physical port.

【0033】IPアドレス変換機構2は、複数のサーバ
間のデータパケット内の宛先IPアドレス、及び送信元
IPアドレスを書き換える機能を有する。
The IP address conversion mechanism 2 has a function of rewriting a destination IP address and a source IP address in a data packet between a plurality of servers.

【0034】アドレス変換データベース部3は、アドレ
ス変換装置1に接続している全てのサーバ間を通過する
データパケットの宛先IPアドレス、及び送信元IPア
ドレスを、どのように書き換えるかを記憶している。こ
のアドレス変換データベースの1例を図8に示す。
The address translation database unit 3 stores how to rewrite the destination IP address and the source IP address of a data packet passing between all servers connected to the address translation device 1. . FIG. 8 shows an example of this address conversion database.

【0035】アドレス変換データベース部4、5が持つ
データベースの内容は、アドレス変換データベース部3
が持つデータベースの内容と一致している。
The contents of the databases of the address translation database units 4 and 5 are
Matches the contents of the database of.

【0036】次に、図2は、アドレス変換装置1を使用
したクライアント・サーバ環境のネットワーク構成図を
示す。図2において、サーバコンピュータ100はアド
レス変換装置1の第1のサーバ接続ポート10と、サー
バコンピュータ200はアドレス変換装置1の第2のサ
ーバ接続ポート20と、クライアントネットワーク30
0はアドレス変換装置1の第1のクライアントネットワ
ーク接続ポート30と、クライアントネットワーク40
0はアドレス変換装置1の第2のクライアントネットワ
ーク接続ポート40と、それぞれ接続している。
Next, FIG. 2 shows a network configuration diagram of a client-server environment using the address translator 1. In FIG. 2, a server computer 100 has a first server connection port 10 of the address translator 1, a server computer 200 has a second server connection port 20 of the address translator 1, and a client network 30.
0 is the first client network connection port 30 of the address translator 1 and the client network 40
0 is connected to the second client network connection port 40 of the address translation device 1.

【0037】クライアントネットワーク300には、ク
ライアントコンピュータ301とクライアントコンピュ
ータ302とが含まれており、クライアントネットワー
ク400には、クライアントコンピュータ401とクラ
イアントコンピュータ402とが含まれている。
The client network 300 includes a client computer 301 and a client computer 302, and the client network 400 includes a client computer 401 and a client computer 402.

【0038】以上詳細に実施例の構成を述べたが、図1
のアドレス解決部13、23での、負荷分散により複数
のサーバから1つのサーバを選択する手段と、受信デー
タパケットの宛先IPアドレスから方路を決定する手段
は、それぞれ当業者にとってよく知られており、また本
発明とは直接関係しないので、その詳細な構成は省略す
る。
The configuration of the embodiment has been described in detail above.
The means for selecting one server from a plurality of servers by load distribution and the means for determining a route from the destination IP address of a received data packet in the address resolution units 13 and 23 are well known to those skilled in the art. Since it is not directly related to the present invention, its detailed configuration is omitted.

【0039】次に、図1乃至図5を参照して、本発明に
よるネットワークアドレス変換方式の第1実施形態例の
動作を説明する。
Next, the operation of the first embodiment of the network address translation system according to the present invention will be described with reference to FIGS.

【0040】この実施形態例では、サーバコンピュータ
100、及びサーバコンピュータ200のIPアドレス
はどちらも127.80.2.1を割り当てることとす
る。また、クライアントコンピュータ301のIPアド
レスは10.32.3.1を、クライアントコンピュー
タ302のIPアドレスは10.32.3.2を、クラ
イアントコンピュータ401のIPアドレスは10.3
2.4.1を、クライアントコンピュータのIPアドレ
スは10.32.4.2を、それぞれ割り当てることと
する。
In this embodiment, the IP addresses of the server computer 100 and the server computer 200 are both assigned 127.80.2.1. Further, the IP address of the client computer 301 is 10.32.3.1, the IP address of the client computer 302 is 10.32.3.2, and the IP address of the client computer 401 is 10.3.
2.4.1 and the client computer IP address 10.32.4.2 are assigned.

【0041】但し、サーバコンピュータ100において
は、サーバコンピュータ200のIPアドレスを12
7.80.2.3と認識することとする。同様に、サー
バコンピュータ200においては、サーバコンピュータ
100のIPアドレスを127.80.2.2と認識す
ることとする。
However, in the server computer 100, the IP address of the server computer 200 is set to 12
It will be recognized as 7.80.2.3. Similarly, the server computer 200 recognizes the IP address of the server computer 100 as 127.80.2.2.

【0042】即ち、サーバコンピュータ100とサーバ
コンピュータ200とには、同じIPアドレス127.
80.2.1を割り当てているものの、サーバコンピュ
ータ100からサーバコンピュータ200へデータパケ
ットを投じる場合には宛先IPアドレスを127.8
0.2.3とし、サーバコンピュータ200からサーバ
コンピュータ100へデータパケットを投じる場合には
宛先IPアドレスを127.80.2.2とする。
That is, the server computer 100 and the server computer 200 have the same IP address 127.
Although 80.2.1 is assigned, when a data packet is sent from the server computer 100 to the server computer 200, the destination IP address is set to 127.8.
When the data packet is sent from the server computer 200 to the server computer 100, the destination IP address is set to 127.80.2.2.

【0043】第1の動作説明では、クライアントコンピ
ュータ301からサーバコンピュータへデータパケット
を投じたときのアドレス変換装置1内でのデータパケッ
トの流れを説明する。
In the first operation description, the flow of a data packet in the address translation device 1 when a data packet is thrown from the client computer 301 to the server computer will be described.

【0044】クライアントコンピュータ301が送信し
たデータパケットは、クライアントネットワーク300
を介して、アドレス変換装置1のクライアントネットワ
ーク接続ポート30へ到達する。このデータパケットの
宛先IPアドレスは、サーバコンピュータのIPアドレ
ス127.80.2.1であり、送信元IPアドレス
は、クライアントコンピュータ301のIPアドレス1
0.32.3.1である。
The data packet transmitted by the client computer 301 is transmitted to the client network 300
To the client network connection port 30 of the address translation device 1 via The destination IP address of this data packet is the IP address 127.80.2.1 of the server computer, and the source IP address is the IP address 1 of the client computer 301.
0.32.3.1.

【0045】アドレス変換装置1は、このデータパケッ
トが正しいデータパケットであることをデータパケット
受信部32で確認した後、アドレス解決部33へと渡
す。アドレス解決部33では、図3に示すフローチャー
トに従い、データパケットの方路を決定する。
The address translator 1 confirms that the data packet is a correct data packet by the data packet receiving section 32 and then passes it to the address resolving section 33. The address resolution unit 33 determines the route of the data packet according to the flowchart shown in FIG.

【0046】最初にステップS11で、クライアントネ
ットワーク接続ポート30が受信したデータパケットの
宛先IPアドレスを読み込む。この例では、ステップS
11で読み込んだ宛先IPアドレスは、127.80.
2.1となる。次に、ステップS12で、データパケッ
トの宛先IPアドレスとサーバコンピュータのIPアド
レス(この例では、127.80.2.1)とを比較す
る。比較した結果、一致するので、ステップS13を行
う。ステップS13では、サーバコンピュータ処理の負
荷分散のため、2台あるサーバコンピュータから、1台
を選択する。ここでは、サーバコンピュータ200を選
択したこととする。最後にステップS14では、サーバ
コンピュータ200を接続している、サーバ接続ポート
20のデータパケット送信部21へ、経路35を介して
データパケットを渡す。
First, in step S11, the destination IP address of the data packet received by the client network connection port 30 is read. In this example, step S
11 is 127.80.
2.1. Next, in step S12, the destination IP address of the data packet is compared with the IP address of the server computer (127.80.2.1 in this example). As a result of the comparison, they match, so step S13 is performed. In step S13, one of the two server computers is selected to distribute the load of the server computer processing. Here, it is assumed that the server computer 200 has been selected. Lastly, in step S14, the data packet is transferred via the path 35 to the data packet transmitting section 21 of the server connection port 20 to which the server computer 200 is connected.

【0047】データパケット送信部21は、経路35を
介して与えられたデータパケットを物理ポート20が接
続しているネットワークへと送信する。その結果、サー
バコンピュータ200がクライアントコンピュータ30
1からのデータパケットを受信することになる。このと
き、アドレス変換装置1内部では、このデータパケット
のIPアドレスの書き換えは行っていない。
The data packet transmitting section 21 transmits the data packet given via the path 35 to the network to which the physical port 20 is connected. As a result, the server computer 200
1 will be received. At this time, the IP address of this data packet is not rewritten inside the address translator 1.

【0048】次に、第2の動作説明では、サーバコンピ
ュータ200からクライアントコンピュータ301へデ
ータパケットを投じたときのアドレス変換装置1内での
データパケットの流れを説明する。
Next, in the second operation description, the flow of a data packet in the address translator 1 when a data packet is thrown from the server computer 200 to the client computer 301 will be described.

【0049】サーバコンピュータ200が送信したデー
タパケットは、アドレス変換装置1のサーバ接続ポート
20へ到達する。このデータパケットの宛先IPアドレ
スは、クライアントコンピュータ301のIPアドレス
10.32.3.1であり、送信元IPアドレスは、サ
ーバコンピュータ200のIPアドレス127.80.
2.1である。アドレス変換装置1は、このデータパケ
ットが正しいデータパケットであることをデータパケッ
ト受信部22で確認した後、アドレス解決部23へと渡
す。アドレス解決部23では、図4に示すフローチャー
トに従い、データパケットの方路を決定する。
The data packet transmitted by server computer 200 reaches server connection port 20 of address translator 1. The destination IP address of this data packet is the IP address 10.32.3.1 of the client computer 301, and the source IP address is the IP address 127.80.
2.1. The address translator 1 checks that the data packet is a correct data packet by the data packet receiving unit 22 and then passes it to the address resolving unit 23. The address resolution unit 23 determines the route of the data packet according to the flowchart shown in FIG.

【0050】最初にステップS21で、サーバ接続ポー
ト20が受信したデータパケットの宛先IPアドレスを
読み込む。この例では、ステップS21で読み込んだ宛
先IPアドレスは、10.32.3.1となる。次に、
ステップS22で、データパケットの宛先IPアドレス
とサーバコンピュータのIPアドレスとを比較する。ア
ドレス変換装置1に接続している全てのサーバコンピュ
ータのIPアドレスは、アドレス変換データベース部5
に登録してある。この例におけるデータベースの内容は
先に例示した。ステップS21で読み込んだ宛先IPア
ドレスと一致するIPアドレスがアドレス変換データベ
ース部5には登録されていないので、比較した結果、不
一致となり、ステップS23を行う。
First, in step S21, the destination IP address of the data packet received by the server connection port 20 is read. In this example, the destination IP address read in step S21 is 10.32.3.1. next,
In step S22, the destination IP address of the data packet is compared with the IP address of the server computer. The IP addresses of all server computers connected to the address translator 1 are stored in the address translation database 5
Registered in. The contents of the database in this example have been illustrated earlier. Since an IP address that matches the destination IP address read in step S21 is not registered in the address conversion database unit 5, the result of the comparison is a mismatch, and step S23 is performed.

【0051】ステップS23では、クライアントコンピ
ュータ301が属しているクライアントネットワーク3
00を接続している、クライアントネットワーク接続ポ
ート30のデータパケット送信部31へ、経路25を介
してデータパケットを渡す。データパケット送信部31
は、経路25を介して与えられたデータパケットを物理
ポート30が接続しているネットワークへと送信する。
その結果、クライアントコンピュータ301がサーバコ
ンピュータ200からのデータパケットを受信すること
になる。このとき、アドレス変換装置1内部では、この
データパケットのIPアドレスの書き換えは行っていな
い。
In step S23, the client network 3 to which the client computer 301 belongs
The data packet is passed via the path 25 to the data packet transmission unit 31 of the client network connection port 30 to which 00 is connected. Data packet transmission unit 31
Transmits the data packet given via the path 25 to the network to which the physical port 30 is connected.
As a result, the client computer 301 receives the data packet from the server computer 200. At this time, the IP address of this data packet is not rewritten inside the address translator 1.

【0052】次に、第3の動作説明では、クライアント
コンピュータ301からクライアントコンピュータ40
2へデータパケットを投じたときのアドレス変換装置1
内でのデータパケットの流れを説明する。
Next, in the third operation description, the client computer 301 transmits
Address translation device 1 when a data packet is thrown to
The flow of the data packet in the inside will be described.

【0053】クライアントコンピュータ301が送信し
たデータパケットは、クライアントネットワーク300
を介して、アドレス変換装置1のクライアントネットワ
ーク接続ポート30へ到達する。このデータパケットの
宛先IPアドレスは、クライアントコンピュータ402
のIPアドレス10.32.4.2であり、送信元IP
アドレスは、クライアントコンピュータ301のIPア
ドレス10.32.3.1である。
The data packet transmitted by the client computer 301 is transmitted to the client network 300
To the client network connection port 30 of the address translation device 1 via The destination IP address of this data packet is
Is the IP address of 10.3.4.2.2.
The address is the IP address 10.32.3.1 of the client computer 301.

【0054】アドレス変換装置1は、このデータパケッ
トが正しいデータパケットであることをデータパケット
受信部32で確認した後、アドレス解決部33へと渡
す。アドレス解決部33では、図3に示すフローチャー
トに従い、データパケットの方路を決定する。
The address translator 1 confirms that the data packet is a correct data packet by the data packet receiving section 32 and then passes it to the address resolving section 33. The address resolution unit 33 determines the route of the data packet according to the flowchart shown in FIG.

【0055】最初にステップS11で、クライアントネ
ットワーク接続ポート30が受信したデータパケットの
宛先IPアドレスを読み込む。この例では、ステップS
11で読み込んだ宛先IPアドレスは、10.32.
4.2となる。
First, in step S11, the destination IP address of the data packet received by the client network connection port 30 is read. In this example, step S
11 is 10.32.
4.2.

【0056】次に、ステップS12で、データパケット
の宛先IPアドレスとサーバコンピュータのIPアドレ
ス(この例では、192.80.2.1)とを比較す
る。比較した結果、不一致なので、ステップS15を行
う。最後にステップS15では、データパケットの宛先
IPアドレス(この例では10.32.4.2)が属し
ているクライアントネットワーク400に接続している
物理ポート40のデータパケット送信部41に、経路3
6を介して受信パケットを渡す。
Next, in step S12, the destination IP address of the data packet is compared with the IP address of the server computer (192.80.2.1 in this example). As a result of the comparison, since they do not match, step S15 is performed. Finally, in step S15, the route 3 is sent to the data packet transmission unit 41 of the physical port 40 connected to the client network 400 to which the destination IP address of the data packet (in this example, 10.32.4.2) belongs.
6 to pass the received packet.

【0057】データパケット送信部41は、経路36を
介して与えられたデータパケットを物理ポート40が接
続しているネットワークへと送信する。その結果、クラ
イアントコンピュータ402がクライアントコンピュー
タ301からのデータパケットを受信することになる。
このとき、アドレス変換装置1内部では、このデータパ
ケットのIPアドレスの書き換えは行っていない。
The data packet transmitting section 41 transmits the data packet given via the path 36 to the network to which the physical port 40 is connected. As a result, the client computer 402 receives the data packet from the client computer 301.
At this time, the IP address of this data packet is not rewritten inside the address translator 1.

【0058】次に、第4の動作説明では、サーバコンピ
ュータ200からサーバコンピュータ100へデータパ
ケットを投じたときのアドレス変換装置1内でのデータ
パケットの流れを説明する。
Next, in a fourth operation description, a flow of a data packet in the address translation device 1 when a data packet is thrown from the server computer 200 to the server computer 100 will be described.

【0059】サーバコンピュータ200が送信したデー
タパケットは、アドレス変換装置1のサーバ接続ポート
20へ到達する。このデータパケットの宛先IPアドレ
スは、サーバコンピュータ200が認識しているサーバ
コンピュータ100のIPアドレス127.80.2.
2であり、送信元IPアドレスは、サーバコンピュータ
200に割り当てたIPアドレス127.80.2.1
である。
The data packet transmitted by the server computer 200 reaches the server connection port 20 of the address translation device 1. The destination IP address of this data packet is the IP address 127.80.2.
2 and the source IP address is the IP address 127.80.2.1 assigned to the server computer 200.
It is.

【0060】アドレス変換装置1は、このデータパケッ
トが正しいデータパケットであることをデータパケット
受信部22で確認した後、アドレス解決部23へと渡
す。アドレス解決部23では、図4に示すフローチャー
トに従い、データパケットの方路を決定する。最初にス
テップS21で、ステップサーバ接続ポート20が受信
したデータパケットの宛先IPアドレスを読み込む。本
実施例では、S21で読み込んだIPアドレスは、12
7.80.2.2となる。
The address translator 1 confirms that this data packet is a correct data packet by the data packet receiving section 22 and then passes it to the address resolving section 23. The address resolution unit 23 determines the route of the data packet according to the flowchart shown in FIG. First, in step S21, the destination IP address of the data packet received by the step server connection port 20 is read. In this embodiment, the IP address read in S21 is 12
7.80.2.2.

【0061】次に、ステップS22で、データパケット
の宛先IPアドレスとサーバコンピュータのIPアドレ
スとを比較する。アドレス変換装置1に接続している全
てのサーバコンピュータのIPアドレスは、アドレス変
換データベース部5に登録してある。この例におけるデ
ータベースの内容は上述した。ステップS21で読み込
んだ宛先IPアドレス127.80.2.2と一致する
IPアドレスがアドレス変換データベース部5に登録し
ているので、比較した結果、一致となり、ステップS2
3を行う。
Next, in step S22, the destination IP address of the data packet is compared with the IP address of the server computer. The IP addresses of all server computers connected to the address translator 1 are registered in the address translation database unit 5. The contents of the database in this example have been described above. Since an IP address that matches the destination IP address 127.80.2.2 read in step S21 is registered in the address conversion database unit 5, the result of the comparison is a match, and the result is step S2.
Perform Step 3.

【0062】ステップS23では、アドレス解決部23
は経路24を介してIPアドレス変換機構2へ受信パケ
ットを渡す。
In step S23, the address resolution unit 23
Passes the received packet to the IP address translation mechanism 2 via the path 24.

【0063】IPアドレス変換機構2は、経路24を介
してデータパケットを受け取ると、図5に示すフローチ
ャートに従い、データパケットの宛先IPアドレス、及
び送信元IPアドレスを書き換える。
When receiving the data packet via the path 24, the IP address translator 2 rewrites the destination IP address and the source IP address of the data packet according to the flowchart shown in FIG.

【0064】最初に、ステップS31で、データパケッ
トの送信元IPアドレスを書き換える。この動作説明で
は、データパケットの受信ポートは、サーバ接続ポート
20である。IPアドレス変換機構2は、経路24を介
してデータパケットを受け取っていることから、データ
パケットの受信ポートがサーバ接続ポート20であるこ
とを知る。また、IPアドレス変換機構2は、アドレス
変換データベース部3のデータベースを用いて、サーバ
接続ポート20に接続しているサーバコンピュータに対
応するIPアドレスを検索する。本実施例では図5よ
り、サーバ接続ポート20に接続しているサーバコンピ
ュータはサーバコンピュータ200であり、サーバコン
ピュータ200に対応するIPアドレスは127.8
0.2.3であることが分かる。よって、IPアドレス
変換機構2は、データパケットの送信元IPアドレスを
127.80.2.3に書き換える。
First, in step S31, the source IP address of the data packet is rewritten. In this operation description, the data packet reception port is the server connection port 20. Since the IP address translator 2 has received the data packet via the path 24, it knows that the data packet receiving port is the server connection port 20. Further, the IP address conversion mechanism 2 searches the IP address corresponding to the server computer connected to the server connection port 20 using the database of the address conversion database unit 3. In this embodiment, as shown in FIG. 5, the server computer connected to the server connection port 20 is the server computer 200, and the IP address corresponding to the server computer 200 is 127.8.
It turns out that it is 0.2.3. Therefore, the IP address translator 2 rewrites the source IP address of the data packet to 127.80.2.3.

【0065】次に、ステップS32で、宛先IPアドレ
スから送信ポートを決める。この動作説明では、アドレ
ス変換装置1が受信したデータパケットの宛先IPアド
レスは、127.80.2.2である。これは、サーバ
コンピュータ200が、サーバコンピュータ100のI
Pアドレスを127.80.2.2であると認識してい
ることによる。IPアドレス変換機構2は、アドレス変
換データベース部3のデータベースを用いて、IPアド
レス127.80.2.2に対応する物理ポートを検索
する。この例では図1より、127.80.2.2に対
応する物理ポートは、サーバ接続ポート10であること
が分かる。
Next, in step S32, a transmission port is determined from the destination IP address. In this description of the operation, the destination IP address of the data packet received by the address translator 1 is 127.80.2.2. This is because the server computer 200
This is because the P address is recognized as 127.80.2.2. The IP address translation mechanism 2 searches the physical port corresponding to the IP address 127.80.2.2.2 using the database of the address translation database unit 3. In this example, it can be seen from FIG. 1 that the physical port corresponding to 127.80.2.2.2 is the server connection port 10.

【0066】次に、ステップS33で、データパケット
の宛先IPアドレスを代表サーバのIPアドレスに書き
換える。この例では、図8より、代表サーバのIPアド
レスは127.80.2.1が登録してある。IPアド
レス変換機構2は、データパケットの宛先IPアドレス
を127.80.2.1に書き換える。
Next, in step S33, the destination IP address of the data packet is rewritten to the IP address of the representative server. In this example, from FIG. 8, the IP address of the representative server is registered as 127.80.2.1. The IP address conversion mechanism 2 rewrites the destination IP address of the data packet to 127.80.2.1.

【0067】最後に、IPアドレス変換機構2はデータ
パケットのIPアドレスを書き換えたので、ステップS
34にて、IPヘッダのチェックサムの再計算を行う。
Lastly, the IP address translator 2 rewrites the IP address of the data packet.
At 34, the checksum of the IP header is recalculated.

【0068】IPアドレス変換機構2は、図5の処理を
全て終えると、ステップS32で求めた送信ポートに対
応するデータパケット送信部11にデータパケットを渡
す。データパケット送信部11は、経路17を介して与
えられたデータパケットを物理ポート10が接続してい
るネットワークへと送信する。
When all the processes in FIG. 5 have been completed, the IP address translator 2 passes the data packet to the data packet transmitter 11 corresponding to the transmission port determined in step S32. The data packet transmitting unit 11 transmits a data packet provided via the path 17 to a network to which the physical port 10 is connected.

【0069】この例におけるサーバコンピュータ間のデ
ータパケットのIPアドレス変換イメージを図9に示
す。本動作例でのIPアドレスの変換イメージを、この
図9のの上段に示している。また、この図9の下段に
は、サーバコンピュータ100からサーバコンピュータ
200へのデータパケット中継時のIPアドレス変換イ
メージを示している。
FIG. 9 shows an IP address conversion image of a data packet between server computers in this example. The conversion image of the IP address in this operation example is shown in the upper part of FIG. 9 shows an IP address conversion image at the time of data packet relay from the server computer 100 to the server computer 200.

【0070】その結果、サーバコンピュータ100がサ
ーバコンピュータ200からのデータパケットを受信す
ることになる。このとき、サーバコンピュータ100が
受け取るデータパケットのIPアドレスはアドレス変換
装置1が書き換えており、宛先IPアドレスは127.
80.2.1であり、サーバコンピュータ100に割り
当てているIPアドレスも127.80.2.1なの
で、サーバコンピュータ100は自分宛のデータパケッ
トであると判断する。また、サーバコンピュータ100
が受け取ったデータパケットの送信元IPアドレスは1
27.80.2.3なので、 サーバコンピュータ10
0はデータパケットの送信元がサーバコンピュータ20
0であると知る。
As a result, server computer 100 receives the data packet from server computer 200. At this time, the IP address of the data packet received by the server computer 100 is rewritten by the address translator 1, and the destination IP address is 127.
80.2.1 and the IP address assigned to the server computer 100 is also 127.80.2.1, so the server computer 100 determines that the data packet is addressed to itself. Also, the server computer 100
The source IP address of the data packet received by is 1
27.8.2.3, the server computer 10
0 indicates that the source of the data packet is the server computer 20
Know that it is 0.

【0071】このように、上記実施例では、複数のサー
バコンピュータ間のデータパケットの中継に関しては、
IPアドレスの変換を行うが、クライアントコンピュー
タとサーバコンピュータ間のデータパケットの中継に関
しては、IPアドレスの変換を行わないので、従来技術
に比べて、より迅速にデータパケットの中継を行うこと
ができる。
As described above, in the above embodiment, the relay of a data packet between a plurality of server computers is as follows.
Although the IP address is converted, the relay of the data packet between the client computer and the server computer is not performed, so that the data packet can be relayed more quickly than in the related art.

【0072】さらには、本実施例では、アドレス変換装
置1にクライアントネットワーク接続ポートを複数設け
ているので、アドレス変換装置1を介してのクライアン
トコンピュータ間のデータパケットの中継もできる。
Further, in this embodiment, since the address translator 1 is provided with a plurality of client network connection ports, data packets can be relayed between client computers via the address translator 1.

【0073】尚、上記実施例では、アドレス変換データ
ベース部を、IPアドレス変換機構2と、アドレス解決
部13と、アドレス解決部23との3カ所に設け、全て
のデータベースで同じ内容を管理していたが、ハードウ
ェア資源を節約する等の目的に応じて、1つのデータベ
ースとして統括しても良い。
In the above-described embodiment, the address translation database units are provided at three locations, that is, the IP address translation mechanism 2, the address resolution unit 13, and the address resolution unit 23, and the same contents are managed in all databases. However, it may be integrated as one database for the purpose of saving hardware resources.

【0074】[0074]

【発明の他の実施例】本発明の他の実施形態例を、図6
及び図7を参照して説明する。その基本構成は上記の通
りであるが、サーバコンピュータとアドレス変換装置1
との接続にEthernetを用いている場合についてさらに工
夫している。
FIG. 6 shows another embodiment of the present invention.
This will be described with reference to FIG. Although the basic configuration is as described above, the server computer and the address translator 1
We have further devised the case where Ethernet is used to connect to the Internet.

【0075】サーバコンピュータとアドレス変換装置1
とをEthernetで接続する場合、各サーバコンピュータは
アドレス変換装置1にEthernetで接続している他のサー
バコンピュータへデータパケットを投じる場合、相手の
サーバコンピュータのMACアドレスを認識する必要が
ある。一般にEthernetに接続している端末は、データパ
ケットの送信相手のMACアドレスを知るために、送信
相手のIPアドレスからARP(Address Resolution P
rotocol)を使用する。
Server Computer and Address Translator 1
When the server computers are connected to each other by Ethernet, and each server computer sends a data packet to another server computer connected to the address translator 1 via Ethernet, it is necessary to recognize the MAC address of the other server computer. In general, a terminal connected to Ethernet uses an ARP (Address Resolution P.P.) from an IP address of a transmission destination to know a MAC address of a transmission destination of a data packet.
rotocol).

【0076】本発明では、アドレス変換装置1に接続し
ている各サーバコンピュータが認識している自分のIP
アドレスは、他のサーバコンピュータが認識しているI
Pアドレスとは異なる。例えば、前述した実施例では、
サーバコンピュータ100において、サーバコンピュー
タ100が認識している自分のIPアドレスは127.
80.2.1だが、サーバコンピュータ200において
は、サーバコンピュータ100のIPアドレスは12
7.80.2.2であり、互いのサーバコンピュータに
おいて認識しているサーバコンピュータ100のIPは
異なっている。
In the present invention, each server computer connected to the address translator 1 recognizes its own IP address.
The address is an IP address recognized by another server computer.
Different from P address. For example, in the above-described embodiment,
In the server computer 100, the own IP address recognized by the server computer 100 is 127.
However, in the server computer 200, the IP address of the server computer 100 is 12
7.80.2.2, and the IPs of the server computers 100 recognized by each other are different.

【0077】このため、前述の実施形態例で、サーバコ
ンピュータ100とサーバコンピュータ200とがEthe
rnetでアドレス変換装置1に接続した場合は、サーバコ
ンピュータ100からサーバコンピュータ200のMA
Cアドレスを知るためにARPを使用すると、ARPの
データパケットはIPのデータパケットと形式が異なる
ためIPアドレス変換機構2では、IPアドレスの変換
ができない。図7に、ARP要求データパケットと、A
RP応答データパケットと、IPデータパケットとのフ
ォーマットを示す。なお、図中の数値はすべて16進数
で表記している。
For this reason, in the above-described embodiment, the server computer 100 and the server computer 200
When connected to the address translator 1 via rnet, the server computer 100
If the ARP is used to know the C address, the ARP data packet has a different format from the IP data packet, so that the IP address conversion mechanism 2 cannot convert the IP address. FIG. 7 shows an ARP request data packet and A
4 shows formats of an RP response data packet and an IP data packet. It should be noted that all numerical values in the figure are expressed in hexadecimal.

【0078】ここでの本発明の他の実施例では、図1の
アドレス変換装置1は、サーバ接続ポートに属するアド
レス解決部13、23に、ARPのデータパケットを認
識し、ARPの処理を行う機能を有する。また、アドレ
ス解決部13、23からIPアドレス変換機構2への経
路14及び24にはデータパケットがARPデータパケ
ットとIPデータパケットのどちらであるかを判断でき
る手段を有し、IPアドレス変換機構2ではARPデー
タパケットの宛先IPアドレス及び送信元IPアドレス
を、アドレス変換データベース部3を使用して変換する
機能を有する。さらに、アドレス変換データベース部が
管理するデータベースには、各サーバコンピュータに対
応するMACアドレスも記憶する機能を有する。次に、
図10にこの実施形態例のアドレス変換データベース例
を示す。
In another embodiment of the present invention, the address translator 1 of FIG. 1 recognizes an ARP data packet by the address resolution units 13 and 23 belonging to the server connection port and performs ARP processing. Has functions. The paths 14 and 24 from the address resolution units 13 and 23 to the IP address translation mechanism 2 have means for determining whether the data packet is an ARP data packet or an IP data packet. Has a function of converting the destination IP address and the source IP address of the ARP data packet using the address conversion database unit 3. Further, the database managed by the address conversion database unit has a function of storing the MAC address corresponding to each server computer. next,
FIG. 10 shows an example of the address conversion database of this embodiment.

【0079】アドレス解決部13、23の動作のフロー
チャートを図6に示す。以下、図6の各ステップを説明
する。アドレス解決部13、23は、それぞれデータパ
ケット受信部12、22からデータパケットを受け取る
と、ステップS41でデータパケットのMACヘッダを
読み込む。MACヘッダの範囲を、図7に示す。
FIG. 6 shows a flowchart of the operation of the address resolution units 13 and 23. Hereinafter, each step of FIG. 6 will be described. Upon receiving the data packet from the data packet receiving units 12 and 22, the address resolution units 13 and 23 read the MAC header of the data packet in step S41. FIG. 7 shows the range of the MAC header.

【0080】ステップS42で、受信したデータパケッ
トがARP要求データパケット(以下:ARP-Req)また
はARP応答データパケット(以下:ARP-Rep)である
場合は、更にデータパケットの先読みを行い、受信パケ
ットがARP-Reqであるかを判断する。ARP-Reqである場合
にはステップS43を行い、ARP-Reqでなければステッ
プS48でさらにARP-Repであるかを判断し、ARP-Repで
あればステップS49を行い、ARP-Repでもなければ、
受信パケットはIPデータパケットとして図4の処理を
行う。
At step S42, if the received data packet is an ARP request data packet (hereinafter ARP-Req) or an ARP response data packet (hereinafter ARP-Rep), the data packet is further prefetched and the received packet is read. Is ARP-Req. If it is ARP-Req, step S43 is performed. If it is not ARP-Req, it is determined in step S48 whether or not it is ARP-Rep. If it is ARP-Rep, step S49 is performed. ,
The received packet performs the processing of FIG. 4 as an IP data packet.

【0081】ステップS43では、アドレス変換装置1
が受信したARP-Reqから、送信元IPアドレスと送信元
MACアドレスの対を求め、アドレス変換データベース
部に記憶しておく。
In step S43, the address translator 1
A pair of a transmission source IP address and a transmission source MAC address is obtained from the received ARP-Req and stored in the address conversion database unit.

【0082】ステップS44では、アドレス変換データ
ベース部を用いて、アドレス変換装置1が受信したARP-
Reqの宛先IPアドレスに対応するMACアドレスを求
める。
In step S44, the address translation database 1 uses the ARP-
A MAC address corresponding to the destination IP address of Req is obtained.

【0083】ステップS45では、アドレス変換データ
ベース部にARP解決対象のサーバのMACアドレスが
登録済みであればステップS47を行い、未登録であれ
ばステップS46を行う。
In step S45, if the MAC address of the ARP resolution target server has been registered in the address conversion database unit, step S47 is performed, and if not, step S46 is performed.

【0084】ステップS46では、アドレス変換データ
ベース部を用いて、ARP解決対象のサーバコンピュー
タのIPアドレスから、ARP解決すべきサーバコンピ
ュータが接続している物理ポートを求め、そのポートの
データパケット送信部へARP-Reqを渡す。サーバコンピ
ュータからのARP-Rep受信により目的のサーバコンピュ
ータのIPアドレスとMACアドレスとの対をする事が
でき、アドレス変換データベースにMACアドレスを登
録する。
In step S46, the physical port to which the server computer to be ARP-solved is connected is determined from the IP address of the server computer to be ARP-solved, using the address translation database unit, and sent to the data packet transmitting unit of that port. Pass ARP-Req. By receiving the ARP-Rep from the server computer, the IP address and the MAC address of the target server computer can be paired, and the MAC address is registered in the address conversion database.

【0085】ステップS47では、ステップS44又は
ステップS46で求めたMACアドレスを元にARP-Rep
を作成し、同一ポート内のデータパケット送信部へARP-
Repを渡し、ARPの応答を行う。
In step S47, ARP-Rep based on the MAC address obtained in step S44 or S46.
ARP- to the data packet transmitter in the same port
Passes Rep and responds to ARP.

【0086】ステップS49では、ステップS43と同
様に、アドレス変換装置1が受信したARP-Repから、送
信元IPアドレスと送信元MACアドレスの対を求め、
アドレス変換データベース部に記憶しておく。
In step S49, as in step S43, a pair of the source IP address and the source MAC address is obtained from the ARP-Rep received by the address translator 1, and
It is stored in the address conversion database unit.

【0087】以下、この実施形態例において、アドレス
変換装置1をとりまくネットワーク構成が、図2に示す
接続形態の時に、サーバコンピュータ100とサーバコ
ンピュータ200とが、互いのMACアドレスをARP
を用いて求める際の動作を説明する。
Hereinafter, in this embodiment, when the network configuration surrounding the address translator 1 is in the connection configuration shown in FIG. 2, the server computer 100 and the server computer 200 transmit their MAC addresses by ARP.
The operation at the time of finding using will be described.

【0088】第1にサーバコンピュータ100がサーバ
コンピュータ200のMACアドレスを求める動作を説
明する。サーバコンピュータ100が投じたARP-Req
は、アドレス変換装置1のサーバ接続ポート10が受信
する。データパケット受信部12で正しいデータパケッ
トと判断されたARP-Reqは、アドレス解決部13へ渡
る。アドレス解決部13では、図6のフローチャートに
従い、ステップS41で受信パケットのMACヘッダを
読み込むと、MACヘッダの最終2バイトが0806
(2)であるため、ARPのデータパケットであると判断
し、更に先読みを行う。
First, the operation in which the server computer 100 obtains the MAC address of the server computer 200 will be described. ARP-Req cast by server computer 100
Is received by the server connection port 10 of the address translator 1. The ARP-Req determined as a correct data packet by the data packet receiving unit 12 passes to the address resolution unit 13. The address resolution unit 13 reads the MAC header of the received packet in step S41 according to the flowchart of FIG.
Since it is (2), it is determined that the packet is an ARP data packet, and prefetching is further performed.

【0089】ステップS42では、MACヘッダに続く
データが、0001080006040001(16)なの
でARP-Reqであると判断する。図 9に示すARP-Reqのフ
ォーマットにおいて、送信元MACアドレスはサーバコ
ンピュータ100のMACアドレスであり、送信元IP
アドレスはサーバコンピュータ100が認識しているサ
ーバコンピュータ100のIPアドレス127.80.
2.1であり、宛先IPアドレスはサーバコンピュータ
100が認識しているサーバコンピュータ200のIP
アドレス127.80.2.3である。
In step S42, since the data following the MAC header is 000108006040001 (16), it is determined that the data is ARP-Req. In the ARP-Req format shown in FIG. 9, the source MAC address is the MAC address of the server computer 100, and the source IP address is
The IP address of the server computer 100 recognized by the server computer 100 is 127.80.
2.1, and the destination IP address is the IP address of the server computer 200 recognized by the server computer 100.
The address is 127.82.3.

【0090】ステップS43では、アドレス変換装置1
が受信したARP-Reqの送信元MACアドレスを、アドレ
ス変換装置1が認識するサーバコンピュータ100のI
Pアドレス127.80.2.2に対応するMACアド
レスとしてアドレス変換データベースに登録する。
In the step S43, the address translator 1
Of the server computer 100 that recognizes the source MAC address of the ARP-Req received by
It is registered in the address conversion database as a MAC address corresponding to the P address 127.80.2.2.2.

【0091】ステップS44では、アドレス変換装置1
が受信したARP-Reqの宛先IPアドレス127.80.
2.3に対応するMACアドレスを、アドレス変換デー
タベース部を使用して検索する。ところが、アドレス変
換装置1は、サーバコンピュータ200のMACアドレ
スをアドレス変換データベースへ未だ登録していないの
で、ステップS44の検索は失敗する(ステップS4
5)。
In step S44, the address translator 1
, The destination IP address of the received ARP-Req 127.80.
The MAC address corresponding to 2.3 is searched using the address conversion database unit. However, since the address translation device 1 has not yet registered the MAC address of the server computer 200 in the address translation database, the search in step S44 fails (step S4).
5).

【0092】アドレス変換データベースには、サーバコ
ンピュータ200のMACアドレスは登録されていない
ものの、サーバコンピュータ200が接続しているポー
トがサーバ接続ポート20であることがアドレス変換デ
ータベースから分かる。よって、ステップS46では、
IPアドレス変換機構2を介して、データパケット送信
部21へARP-Reqを渡す。但し、IPアドレス変換機構
2により、送信元IPアドレスは127.80.2.1
から127.80.2.2へ、宛先IPアドレスは12
7.80.2.3から127.80.2.1へ変換して
いる。送信元MACアドレスは、サーバコンピュータ1
00のMACアドレスをそのまま使用する。
Although the MAC address of the server computer 200 is not registered in the address translation database, it can be seen from the address translation database that the port connected to the server computer 200 is the server connection port 20. Therefore, in step S46,
The ARP-Req is passed to the data packet transmitting unit 21 via the IP address conversion mechanism 2. However, the source IP address is 127.80.2.1 by the IP address conversion mechanism 2.
To 127.80.2.2, the destination IP address is 12
It has been converted from 7.80.2.3 to 127.80.2.1. The source MAC address is the server computer 1
The MAC address of 00 is used as it is.

【0093】ARP-Reqを受信したサーバコンピュータ2
00は、アドレス変換装置1へARP-Repを返却する。こ
のとき、図7のARP-Repのフォーマットにおいて、宛先
MACアドレスはサーバコンピュータ100のMACア
ドレスであり、送信元MACアドレスはサーバコンピュ
ータ200のMACアドレスであり、送信元IPアドレ
スはサーバコンピュータ200が認識しているサーバコ
ンピュータ200のIPアドレス127.80.2.1
であり、宛先IPアドレスはサーバコンピュータ200
が認識しているサーバコンピュータ100のIPアドレ
ス127.80.2.2である。
Server computer 2 that received ARP-Req
00 returns ARP-Rep to the address translation device 1. At this time, in the ARP-Rep format of FIG. 7, the destination MAC address is the MAC address of the server computer 100, the source MAC address is the MAC address of the server computer 200, and the source IP address is recognized by the server computer 200. Address 127.80.2.1 of the server computer 200
And the destination IP address is the server computer 200
Is the IP address 127.80.2.2.2 of the server computer 100 recognized.

【0094】このARP-Repが正しいデータパケットであ
ることをデータパケット受信部22が確認した後、アド
レス解決部23は図6のフローチャートに従い、ARP
処理を行う。
After the data packet receiving unit 22 confirms that this ARP-Rep is a correct data packet, the address resolution unit 23 follows the ARP
Perform processing.

【0095】ステップS41でMACヘッダを読み込む
と、MACヘッダの最終2バイトが0806(2)である
ため、ARPのデータパケットであると判断し、更に先
読みを行う。
When the MAC header is read in step S41, since the last two bytes of the MAC header are 0806 (2), it is determined that the data packet is an ARP data packet, and further prefetching is performed.

【0096】ステップS42及びステップS48では、
MACヘッダに続くデータが、00010800060
40002(16)なのでARP-Repであると判断する。
In steps S42 and S48,
The data following the MAC header is 00010800060
Since it is 40002 (16), it is determined to be ARP-Rep.

【0097】ステップS49では、受信したARP-Repの
送信元MACアドレスを、アドレス変換データベースに
おいて、ARP-Repの送信元であるサーバコンピュータ2
00のIPアドレス127.80.2.3に対応するM
ACアドレスとして、アドレス変換データベースに登録
する。ここで、サーバコンピュータ200のMACアド
レスが求められたので、サーバコンピュータ100から
のARP-Req受信処理のステップS46を終えたことにな
る。
In step S49, the source MAC address of the received ARP-Rep is stored in the address translation database in the server computer 2 which is the source of the ARP-Rep.
M corresponding to IP address 127.80.2.2.3 of 00
Register as an AC address in the address translation database. Here, since the MAC address of the server computer 200 has been obtained, step S46 of the ARP-Req receiving process from the server computer 100 has been completed.

【0098】最後にステップS47では、IPアドレス
変換機構2を介して、データパケット送信部11へ、サ
ーバ接続ポート20で受信したARP-Repを渡す。但し、
IPアドレス変換機構2により、送信元IPアドレスは
127.80.2.1から127.80.2.3へ、宛
先IPアドレスは127.80.2.2〜127.8
0.2.1へ変換している。宛先MACアドレスにはサ
ーバコンピュータ100のMACアドレスを、送信元M
ACアドレスにはサーバコンピュータ200のMACア
ドレスをそれぞれそのまま使用する。
Finally, in step S47, the ARP-Rep received at the server connection port 20 is passed to the data packet transmitting unit 11 via the IP address conversion mechanism 2. However,
The IP address conversion mechanism 2 changes the source IP address from 127.80.2.1 to 127.80.2.3, and the destination IP address from 127.80.2.2 to 127.8.
Converted to 0.2.1. The destination MAC address is the MAC address of the server computer 100, and the source M
The MAC address of the server computer 200 is used as it is for the AC address.

【0099】その結果、サーバコンピュータ100は、
サーバコンピュータ200のMACアドレスを知ること
ができる。
As a result, the server computer 100
The MAC address of the server computer 200 can be known.

【0100】次に、サーバコンピュータ200がサーバ
コンピュータ100のMACアドレスを求める動作を説
明する。サーバコンピュータ200が投じたARP-Req
は、アドレス変換装置1のサーバ接続ポート20が受信
する。データパケット受信部22で正しいデータパケッ
トと判断されたARP-Reqは、アドレス解決部23へ渡
る。アドレス解決部23では、図6のフローチャートに
従い、ステップS41で受信パケットのMACヘッダを
読み込むと、MACヘッダの最終2バイトが0806
(2)であるため、ARPのデータパケットであると判断
し、更に先読みを行う。
Next, the operation in which the server computer 200 obtains the MAC address of the server computer 100 will be described. ARP-Req cast by server computer 200
Is received by the server connection port 20 of the address translator 1. The ARP-Req determined as a correct data packet by the data packet receiving unit 22 passes to the address resolution unit 23. The address resolution unit 23 reads the MAC header of the received packet in step S41 according to the flowchart of FIG.
Since it is (2), it is determined that the packet is an ARP data packet, and prefetching is further performed.

【0101】ステップS42では、MACヘッダに続く
データが、0001080006040001(16)なの
でARP-Reqであると判断する。
In step S42, since the data following the MAC header is 000108006040001 (16), it is determined that the data is ARP-Req.

【0102】ステップS44で、宛先IPアドレス12
7.80.2.2に対応するMACアドレスを検索する
と、サーバコンピュータ100のMACアドレスはアド
レス変換データベースに既に登録済みなのでデータパケ
ット送信部21へARP-Repを渡す。但し、宛先IPアド
レスは、サーバコンピュータ200が認識するサーバコ
ンピュータ200のIPアドレス127.80.2.1
であり、送信元IPアドレスは、サーバコンピュータ2
00が認識するサーバコンピュータ100のIPアドレ
ス127.80.2.2とする。宛先MACアドレスに
はサーバコンピュータ100のMACアドレスを、送信
元MACアドレスにはサーバコンピュータ200のMA
Cアドレスをそれぞれそのまま使用する。
In step S44, the destination IP address 12
When the MAC address corresponding to 7.80.2.2 is searched, the ARP-Rep is passed to the data packet transmitting unit 21 because the MAC address of the server computer 100 has already been registered in the address conversion database. However, the destination IP address is the IP address 127.80.2.1 of the server computer 200 recognized by the server computer 200.
And the source IP address is the server computer 2
It is assumed that the IP address of the server computer 100 recognized by 00 is 127.80.2.2.2. The destination MAC address is the MAC address of the server computer 100, and the source MAC address is the MA address of the server computer 200.
The C address is used as it is.

【0103】その結果、サーバコンピュータ200は、
サーバコンピュータ100のMACアドレスを知ること
ができる。このように、ARP処理に対応できる手段を
追加することにより、アドレス変換装置1の基本構成は
ほとんど変えずに、各サーバコンピュータとアドレス変
換装置1とのEthernetを介しての接続を実現できる。
As a result, the server computer 200
The MAC address of the server computer 100 can be known. As described above, by adding means capable of coping with the ARP processing, connection between each server computer and the address translator 1 via Ethernet can be realized with almost no change in the basic configuration of the address translator 1.

【0104】[0104]

【発明の効果】以上説明したように、本発明のネットワ
ークアドレス変換方式によると、次のような効果を奏す
る。
As described above, according to the network address translation method of the present invention, the following effects can be obtained.

【0105】第1の効果は、同種の業務を複数台のサー
バコンピュータで負荷分散している環境のクライアント
サーバ環境下において、クライアントとサーバとの間の
データパケットの中継を迅速に行うことができることに
ある。その理由は、各サーバに同じネットワークアドレ
スを割り当てることにより、クライアントにはどのサー
バと通信しているかを意識させることなく、データパケ
ットのネットワークアドレスの変換なしに中継が可能な
ためである。
The first effect is that data packets can be quickly relayed between a client and a server in a client-server environment in which the same kind of work is load-balanced by a plurality of server computers. It is in. The reason is that by allocating the same network address to each server, the relay can be performed without converting the network address of the data packet without making the client conscious of which server is communicating.

【0106】第2の効果は、最も一般的に普及している
Ethernetを使用してのクライアントサーバ環境下でも、
各サーバに同じネットワークアドレスを割り当てたまま
物理(MAC)アドレスの解決ができることにある。そ
の理由は、MACアドレスを解決するためのARPデー
タパケットを認識し、ARP処理を独自に行うことがで
きるためである。
The second effect is the most common
Even in a client-server environment using Ethernet,
A physical (MAC) address can be resolved while the same network address is assigned to each server. The reason is that an ARP data packet for resolving a MAC address can be recognized and ARP processing can be independently performed.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明によるネットワークアドレス変換方式の
好適実施形態例のブロック図である。
FIG. 1 is a block diagram of a preferred embodiment of a network address translation system according to the present invention.

【図2】本発明を採用するネットワーク接続装置のネッ
トワーク構成図である。
FIG. 2 is a network configuration diagram of a network connection device employing the present invention.

【図3】図1に示すクライアントネットワーク接続ポー
トのアドレス解決部の動作を示すフローチャートであ
る。
FIG. 3 is a flowchart showing an operation of an address resolution unit of a client network connection port shown in FIG. 1;

【図4】図1に示すサーバ接続ポートのアドレス解決部
の動作を示すフローチャートである。
FIG. 4 is a flowchart showing an operation of an address resolution unit of a server connection port shown in FIG. 1;

【図5】図1に示すIPアドレス変換機構の動作を示す
フローチャートである。
FIG. 5 is a flowchart showing the operation of the IP address translation mechanism shown in FIG.

【図6】図1に示すサーバ接続ポートのアドレス解決部
の動作を示すフローチャートである。
FIG. 6 is a flowchart showing an operation of an address resolution unit of a server connection port shown in FIG. 1;

【図7】本発明のネットワークにおけるデータパケット
のフォーマットの例を示し、(A)はARP_Reqの
フォーマット、(B)はARP_Reqのフォーマッ
ト、(C)はIPデータパケットのフォーマットを示す。
7A and 7B show examples of data packet formats in the network of the present invention, wherein FIG. 7A shows an ARP_Req format, FIG. 7B shows an ARP_Req format, and FIG. 7C shows an IP data packet format.

【図8】本発明による実施形態におけるアドレス変換デ
ータベースの1例を示す図である。
FIG. 8 is a diagram showing an example of an address translation database in the embodiment according to the present invention.

【図9】本発明による実施形態におけるアドレス変換デ
ータベースの他例を示す図である。
FIG. 9 is a diagram showing another example of the address translation database in the embodiment according to the present invention.

【図10】本発明による実施形態におけるアドレス変換
データベースの更に他例を示す図である。
FIG. 10 is a diagram showing still another example of the address translation database in the embodiment according to the present invention.

【符号の説明】[Explanation of symbols]

1 アドレス変換装置 2 IPアドレス変換機構 3〜5 アドレス変換データベース 10、20 サーバ接続ポート 30、40 クライアントネットワーク接続ポー
ト 100、200 サーバコンピュータ 300、400 クライアントネットワーク 301、302、401、402 クライアントコン
ピュータ
DESCRIPTION OF SYMBOLS 1 Address translation device 2 IP address translation mechanism 3-5 Address translation database 10, 20 Server connection port 30, 40 Client network connection port 100, 200 Server computer 300, 400 Client network 301, 302, 401, 402 Client computer

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】複数のクライアントネットワーク接続ポー
ト及びサーバ接続ポートを有するネットワーク間でデー
タパケットの中継を行うネットワーク間接続装置のネッ
トワークアドレス変換方式において、 前記ネットワーク上のデータパケットの宛先が前記サー
バであることを知る手段と、 前記データパケットの送信元が前記サーバであることを
知る手段と、 前記データパケットの宛先と送信元が共に前記サーバで
ある場合に前記データパケット中の宛先ネットワークア
ドレスと送信元ネットワークアドレスとを変換する手段
と、 前記ネットワークアドレスの変換イメージを記憶する手
段とを有することを特徴とするネットワークアドレス変
換方式。
1. A network address translation method for an inter-network connection device for relaying data packets between networks having a plurality of client network connection ports and server connection ports, wherein a destination of the data packets on the network is the server. A means for knowing that the source of the data packet is the server; and a destination network address and a source in the data packet when both the destination and the source of the data packet are the server. A network address conversion method comprising: means for converting a network address; and means for storing a conversion image of the network address.
【請求項2】前記サーバの物理アドレスと前記ネットワ
ークアドレスとの対応を記憶する手段と、前記ネットワ
ークアドレスから前記物理アドレスを求める手段とを有
することを特徴とする請求項1に記載のネットワークア
ドレス変換方式。
2. The network address conversion according to claim 1, further comprising means for storing a correspondence between the physical address of the server and the network address, and means for obtaining the physical address from the network address. method.
【請求項3】同種の業務を複数台のサーバコンピュータ
で負荷分担し、複数のクライアントコンピュータとデー
タパケット通信を行うネットワークにおいて、 前記サーバコンピュータと前記クライアントコンピュー
タとの間にIP(インターネットプロトコル)アドレス
の変換機能を有するIPアドレス変換装置を備え、該I
Pアドレス変換装置は、前記ネットワークのサーバ接続
ポートと、クライアントネットワーク接続ポートと、前
記サーバ接続ポート間のデータパケットのIPアドレス
変換機構と、前記IPアドレス変換の為のアドレス変換
データを記憶するアドレス変換データベース部とを有す
ることを特徴とするネットワークアドレス変換方式。
3. In a network in which the same kind of work is load-shared by a plurality of server computers and performs data packet communication with a plurality of client computers, an IP (Internet Protocol) address of an IP (Internet Protocol) address is provided between the server computers and the client computers. An IP address translation device having a translation function;
A P address translation device, a server connection port of the network, a client network connection port, an IP address translation mechanism for a data packet between the server connection port, and an address translation for storing address translation data for the IP address translation. A network address translation system comprising a database unit.
【請求項4】前記サーバコンピュータには同じIPアド
レスを割り当てることを特徴とする請求項3に記載のネ
ットワークアドレス変換方式。
4. The network address translation method according to claim 3, wherein the same IP address is assigned to the server computer.
JP6180799A 1999-03-09 1999-03-09 Network address converting system Pending JP2000261485A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6180799A JP2000261485A (en) 1999-03-09 1999-03-09 Network address converting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6180799A JP2000261485A (en) 1999-03-09 1999-03-09 Network address converting system

Publications (1)

Publication Number Publication Date
JP2000261485A true JP2000261485A (en) 2000-09-22

Family

ID=13181744

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6180799A Pending JP2000261485A (en) 1999-03-09 1999-03-09 Network address converting system

Country Status (1)

Country Link
JP (1) JP2000261485A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003131961A (en) * 2001-07-09 2003-05-09 Hitachi Ltd Network system and load distribution method
JP2003152729A (en) * 2001-11-19 2003-05-23 Nec Access Technica Ltd Load distribution method, contents distribution system, and load distribution device
JP2003158535A (en) * 2001-11-22 2003-05-30 Nec System Technologies Ltd Two-way communication system and method
EP3771185A1 (en) 2019-07-25 2021-01-27 Fujitsu Limited Verification program, verification method, and verification device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003131961A (en) * 2001-07-09 2003-05-09 Hitachi Ltd Network system and load distribution method
JP2003152729A (en) * 2001-11-19 2003-05-23 Nec Access Technica Ltd Load distribution method, contents distribution system, and load distribution device
JP2003158535A (en) * 2001-11-22 2003-05-30 Nec System Technologies Ltd Two-way communication system and method
EP3771185A1 (en) 2019-07-25 2021-01-27 Fujitsu Limited Verification program, verification method, and verification device

Similar Documents

Publication Publication Date Title
US10819678B2 (en) Data network address sharing between multiple elements associated with a shared network interface unit
US6816890B2 (en) Gateway apparatus with LAC function
JP2561797B2 (en) Routing method and device
CA2112885C (en) Multi-protocol packet switching network
US6112248A (en) Method and system for dynamically balancing network traffic using address resolution protocol
JP3857183B2 (en) Packet transfer device with address translation function
US7290050B1 (en) Transparent load balancer for network connections
US20030101275A1 (en) Information processing system accessed through network and control method of packet transfer load
JPH11112577A (en) Interconnection system between lan systems and network service system
JP2002532013A (en) Network management system
JP2001230818A (en) Route server
JPH10247946A (en) Network connection system, method and name server
CN104718733A (en) Method and system of packet based identifier locator network protocol (ILNP) load balancing and routing
US20030169766A1 (en) Communications apparatus and network system
US20060209830A1 (en) Packet processing system including control device and packet forwarding device
US11316739B2 (en) Methods, controller manager and controller agent for enabling a connection between a switch of a communication network and a switch controller
JP2000295291A (en) Data transmission system
JP2004510394A (en) Virtual IP framework and interface connection method
JP2605544B2 (en) Internetwork equipment
US10924397B2 (en) Multi-VRF and multi-service insertion on edge gateway virtual machines
JP2000261485A (en) Network address converting system
JP4015770B2 (en) Cluster system, server computer, and load balancing method
US20210352004A1 (en) Multi-vrf and multi-service insertion on edge gateway virtual machines
Cisco Routing DECnet
Cisco AppleTalk Commands