JP2911431B2 - Local area network system and address translator in local area network system - Google Patents

Local area network system and address translator in local area network system

Info

Publication number
JP2911431B2
JP2911431B2 JP9252226A JP25222697A JP2911431B2 JP 2911431 B2 JP2911431 B2 JP 2911431B2 JP 9252226 A JP9252226 A JP 9252226A JP 25222697 A JP25222697 A JP 25222697A JP 2911431 B2 JP2911431 B2 JP 2911431B2
Authority
JP
Japan
Prior art keywords
address
server
computer
server computer
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.)
Expired - Lifetime
Application number
JP9252226A
Other languages
Japanese (ja)
Other versions
JPH1198144A (en
Inventor
光成 魚住
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP9252226A priority Critical patent/JP2911431B2/en
Publication of JPH1198144A publication Critical patent/JPH1198144A/en
Application granted granted Critical
Publication of JP2911431B2 publication Critical patent/JP2911431B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ローカルエリアネ
ットワーク(LAN)システムにおいて、特にアクセス
元コンピュータ側におけるアクセス先の指定を変えるこ
となく異なるコンピュータにアクセス先を切り替えるア
ドレス変換装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a local area network (LAN) system and, more particularly, to an address translator for switching an access destination to a different computer without changing the designation of the access destination on the access source computer.

【0002】[0002]

【従来の技術】例えば、TCP/IPのような通信プロ
トコルを採用した二重系システムやクラスタシステムで
は、ネットワーク上の各コンピュータに付与された論理
アドレスをパケットに付加することで宛先を特定してデ
ータ通信を実現している。TCP/IPにおいては、I
Pアドレスが上記論理アドレスに相当するが、ここで、
IPアドレスについて詳述する。
2. Description of the Related Art For example, in a duplex system or a cluster system employing a communication protocol such as TCP / IP, a logical address given to each computer on a network is added to a packet to specify a destination. Data communication is realized. In TCP / IP, I
The P address corresponds to the above logical address, where
The IP address will be described in detail.

【0003】TCP/IP通信プロトコルを利用したネ
ットワークシステムを構築する場合、ネットワークシス
テム内の各コンピュータには、一意に定まったIPアド
レスが割り振られる。このIPアドレスは、全世界でユ
ニークに割り振られており、利用者は、申請により登録
許可されたIPアドレスを使用することができる。IP
アドレスというのは、許可されたネットID(ネットワ
ークアドレス)及びネットワークシステム内でユニーク
に割り振ることができるホストID(ホストアドレス)
から構成される32ビットのネットワーク通信用の論理
アドレスである。ネットIDは、登録されたクラスによ
って8、16、24ビット長となり、ホストIDは、こ
れに対応して24、16、8ビット長となる。なお、ネ
ットIDにの先頭1〜4ビットには、クラスを識別する
ためのビットが含まれている。IPアドレスは、3つの
ドットで区切られた4つの数列で表現される。このよう
な規則に従いIPアドレスが割り振られた各コンピュー
タは、通信相手のIPアドレスを指定することによって
データ通信を行うことができるが、コンピュータは、ネ
ットIDが異なるコンピュータに直接アクセスをするこ
とができない。ネットIDが異なれば、異なるネットワ
ークシステムが構築されるからである。但し、通常は通
信路上に存在するルータ等の中継装置が送信パケットに
付加された宛先アドレスの変換を行うことによって異な
るネットワークシステムを構築するコンピュータ間での
アクセスを可能としている。
When constructing a network system using the TCP / IP communication protocol, a unique IP address is assigned to each computer in the network system. This IP address is uniquely assigned all over the world, and the user can use an IP address whose registration has been permitted by application. IP
An address is a permitted net ID (network address) and a host ID (host address) that can be uniquely assigned in a network system.
Are 32-bit logical addresses for network communication. The net ID has a length of 8, 16, or 24 bits depending on the registered class, and the host ID has a length of 24, 16, or 8 bits correspondingly. The first 1 to 4 bits of the net ID include bits for identifying the class. The IP address is represented by four sequences separated by three dots. Each computer to which an IP address is assigned according to such a rule can perform data communication by designating the IP address of a communication partner, but the computer cannot directly access a computer having a different net ID. This is because different network systems are constructed if the net IDs are different. However, usually, a relay device such as a router existing on a communication path converts a destination address added to a transmission packet, thereby enabling access between computers configuring different network systems.

【0004】ところで、二重系システムやクラスタシス
テムにおいては、サービスを提供しているコンピュータ
が故障等により停止したとしても代替用のコンピュータ
が継続してサービスを提供できるようにしている。この
稼動系から待機系へのコンピュータの切替動作について
説明する。
Incidentally, in a dual system or a cluster system, even if a computer providing a service is stopped due to a failure or the like, a substitute computer can continuously provide the service. The switching operation of the computer from the active system to the standby system will be described.

【0005】図12は、従来のネットワークシステムの
一例を示した全体構成図である。このシステムは、サー
ビスを提供する2台のサーバコンピュータ1,2と、サ
ービスを利用する1台のクライアントコンピュータ3
と、受け取ったコンピュータ名称をIPアドレスに変換
して返すネームサーバ4とをLAN5に接続して構成さ
れており、TCP/IPに基づいてデータ通信を行って
いる。このシステムでは、通常、サーバコンピュータ1
が常時稼動していてクライアントコンピュータ3に対し
てサービスを提供しており、サーバコンピュータ2はサ
ーバコンピュータ1の故障時の代替用として待機してい
る。また、名称“PC1”のクライアントコンピュータ
3にはIPアドレス“1.3”が、ネームサーバ4には
IPアドレス“1.4”が、名称“SVR1”のサーバ
コンピュータ1にはIPアドレス“1.5”が、名称
“SVR2”のサーバコンピュータ2にはIPアドレス
“1.6”が、それぞれ割り当てられている。なお、I
Pアドレスは、通常3つのドットで区切られた4つの数
列で表現されるが、ここでは、ネットID“1”の部分
とホストID“3”〜“6”の部分とに分けた記載とし
て説明を簡略化している。
FIG. 12 is an overall configuration diagram showing an example of a conventional network system. This system comprises two server computers 1 and 2 for providing a service and one client computer 3 for using the service.
And a name server 4 that converts the received computer name into an IP address and returns it to the LAN 5, and is configured to perform data communication based on TCP / IP. In this system, usually, the server computer 1
Are always running and provide services to the client computer 3, and the server computer 2 is on standby as a substitute for the failure of the server computer 1. The client computer 3 having the name “PC1” has the IP address “1.3”, the name server 4 has the IP address “1.4”, and the server computer 1 having the name “SVR1” has the IP address “1. 5 "is assigned to the server computer 2 having the name" SVR2 ", respectively. Note that I
The P address is usually represented by four numerical sequences separated by three dots. Here, the P address is described as a description divided into a net ID “1” portion and host ID “3” to “6” portions. Has been simplified.

【0006】次に、従来のシステムにおけるサービスを
提供しているときの動作について説明する。
Next, an operation of the conventional system when a service is provided will be described.

【0007】クライアントコンピュータ3は、サービス
を利用する際、ターゲットとなるサーバコンピュータ1
の名称“SVR1”からIPアドレスを取得するために
ネームサーバ4に照会する。なお、クライアントコンピ
ュータ3は、サーバコンピュータ1の名称“SVR1”
を予め知っているものとする。ネームサーバ4には、サ
ーバコンピュータ1の名称“SVR1”に対応するIP
アドレスが予め登録されており、クライアントコンピュ
ータ3からの問合せに応じてサーバコンピュータ1のI
Pアドレス“1.5”を返す。クライアントコンピュー
タ3は、受け取ったIPアドレスを送信パケットに指定
することによってサーバコンピュータ1に対してアクセ
スを行うことができる。このとき、待機系のサーバコン
ピュータ2は、サーバコンピュータ1の稼動状態を常時
監視しながら待機している。
[0007] When using the service, the client computer 3 becomes a target server computer 1.
The name server 4 is queried to obtain an IP address from the name “SVR1”. Note that the client computer 3 has the name “SVR1” of the server computer 1.
Is assumed to be known in advance. The name server 4 has an IP address corresponding to the name "SVR1" of the server computer 1.
The address is registered in advance, and in response to an inquiry from the client computer 3, the I
Returns P address "1.5". The client computer 3 can access the server computer 1 by specifying the received IP address in the transmission packet. At this time, the standby server computer 2 is on standby while constantly monitoring the operation state of the server computer 1.

【0008】ここで、待機系のサーバコンピュータ2
は、サーバコンピュータ1の故障を検知すると、ネーム
サーバ4に対してサーバコンピュータ1の名称“SVR
1”に対応するIPアドレスをサーバコンピュータ2の
IPアドレスに変更するよう指示をすると共にサーバコ
ンピュータ2のIPアドレス“1.6”を通知する。ネ
ームサーバ4は、サーバコンピュータ1の名称“SVR
1”に対応するIPアドレスを“1.5”から“1.
6”に変更する。
Here, the standby server computer 2
Detects the failure of the server computer 1, and sends the name “SVR” of the server computer 1 to the name server 4.
1 "and an instruction to change the IP address of the server computer 2 to the IP address of the server computer 2. The name server 4 notifies the IP address" 1.6 "of the server computer 2 to the name" SVR ".
The IP address corresponding to “1.” is changed from “1.5” to “1.
6 ".

【0009】その後、ネームサーバ4は、クライアント
コンピュータ3からサーバコンピュータ1の名称“SV
R1”に対応するIPアドレスの問合せを受けると、上
記変更処理に伴い、実際にはサーバコンピュータ2のI
Pアドレス“1.6”を返すことになる。
Thereafter, the name server 4 sends the name “SV” of the server computer 1 from the client computer 3.
When an inquiry about the IP address corresponding to R1 "is received, the I
The P address "1.6" will be returned.

【0010】このように、ネームサーバ4は、サーバコ
ンピュータ1の故障時にはサーバコンピュータ1に対す
る問合せに対してサーバコンピュータ1のではなく待機
系のサーバコンピュータ2のIPアドレスを返すように
動作することになる。これにより、クライアントコンピ
ュータ3は、サーバコンピュータ1にアクセスしている
つもりでも実際にはサーバコンピュータ2からのサービ
スを受けていることになるが、継続して同様のサービス
を利用することができる。
As described above, the name server 4 operates to return the IP address of the standby server computer 2 instead of the server computer 1 in response to the inquiry to the server computer 1 when the server computer 1 fails. . Thus, the client computer 3 actually receives the service from the server computer 2 even though the client computer 3 intends to access the server computer 1, but can continuously use the same service.

【0011】また、図13は、特開平5−120188
号公報に開示された通信システムのブロック構成図であ
る。この通信システムは、サービスを受けるワークステ
ーション6と、ワークステーション6にサービスを提供
する業務サーバ7と、業務サーバ7の固有アドレスと仮
想アドレスとを対応付けして管理するアドレス管理サー
バ8とをLANで接続した構成を有している。このシス
テムにおいて、アドレス管理サーバ8は、ワークステー
ション6からの業務サーバ7の固有アドレスが指定され
た仮想アドレス要求に基づき、アドレス管理情報9を参
照することによって業務サーバ7に割当可能な仮想アド
レスを返す。ワークステーション6は、この後、受け取
った仮想アドレスを指定してサービスの提供を受けるこ
とになるが、アドレス管理サーバ8は、仮に指定された
業務サーバ7が停止していたとしても他の業務サーバ7
に割当可能な仮想アドレスを返すので、ワークステーシ
ョン6は、受け取った仮想アドレスを指定することによ
って指定以外の業務サーバ7からサービスの提供を受け
ることができる。なお、この例のアドレス管理サーバ8
は、前述したネームサーバに相当し、また、ワークステ
ーション6はクライアントコンピュータに、業務サーバ
7はサーバコンピュータにそれぞれ相当する。
FIG. 13 is a diagram showing the configuration of Japanese Patent Laid-Open No. 5-120188.
FIG. 1 is a block diagram of a communication system disclosed in Japanese Patent Laid-Open Publication No. H10-26095. The communication system includes a workstation 6 that receives a service, a business server 7 that provides a service to the workstation 6, and an address management server 8 that manages a unique address of the business server 7 in association with a virtual address. Are connected. In this system, the address management server 8 refers to the address management information 9 based on a virtual address request from the workstation 6 in which the unique address of the business server 7 is specified, and assigns a virtual address that can be assigned to the business server 7. return. After that, the workstation 6 receives the service by designating the received virtual address. However, even if the designated business server 7 has been stopped, the address management server 8 can execute the other business server. 7
The workstation 6 can receive the service from the business server 7 other than the designated virtual address by designating the received virtual address. The address management server 8 in this example
Corresponds to the above-described name server, the workstation 6 corresponds to a client computer, and the business server 7 corresponds to a server computer.

【0012】[0012]

【発明が解決しようとする課題】しかしながら、従来に
おいてクライアントコンピュータが待機系のサーバコン
ピュータにアクセス先を切り替えることができるのは、
クライアントコンピュータがネームサーバに照会をした
ときに、ネームサーバが切替先のサーバコンピュータの
IPアドレスを通知するようにしているからである。従
って、クライアントコンピュータが、サーバコンピュー
タの名称とIPアドレスの対応テーブルを自ら保持して
いる場合、IPアドレスを問い合わせることなく直接指
定するアプリケーションを実行する場合、ネームサーバ
からの照会結果をキャッシュする場合などは、ネームサ
ーバへの照会を毎回行わないため、サーバコンピュータ
の名称とIPアドレスとの対応付けの変更が反映され
ず、結果として待機系のサーバコンピュータへの切替え
をすることができない。
However, in the prior art, the client computer can switch the access destination to the standby server computer because of the following reason.
This is because when the client computer makes an inquiry to the name server, the name server notifies the IP address of the server computer of the switching destination. Therefore, when the client computer has its own correspondence table between the name of the server computer and the IP address, when executing an application that directly specifies the IP address without inquiring about the IP address, when caching the query result from the name server, etc. Does not make an inquiry to the name server every time, the change of the association between the name of the server computer and the IP address is not reflected, and as a result, the server computer cannot be switched to the standby server computer.

【0013】また、前述した従来例では、各コンピュー
タに同一ネットIDが割り振られているため、クライア
ントコンピュータは、待機系のサーバコンピュータに直
接アクセスをすることができる。しかしながら、待機系
のサーバコンピュータにクライアントコンピュータや稼
動系のサーバコンピュータと異なるネットIDが割り振
られていたとしたら、稼動系と待機系のサーバコンピュ
ータが物理的に同じLANに接続されていたとしても、
クライアントコンピュータは、待機系のサーバコンピュ
ータに直接アクセスをすることができない。このため、
クライアントコンピュータは、サーバコンピュータが提
供するサービスを継続して利用することができなくな
る。
In the above-described conventional example, since the same net ID is assigned to each computer, the client computer can directly access the standby server computer. However, if the standby server computer is assigned a different net ID than the client computer or the active server computer, even if the active and standby server computers are physically connected to the same LAN,
The client computer cannot directly access the standby server computer. For this reason,
The client computer cannot continue to use the service provided by the server computer.

【0014】本発明は以上のような問題を解決するため
になされたものであり、その目的は、コンピュータの名
称と論理アドレスとの対応付けの操作をしなくても利用
するコンピュータの切替えを可能とするLANシステム
及びLANシステムにおけるアドレス変換装置を提供す
ることにある。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and an object of the present invention is to make it possible to switch a computer to be used without performing an operation of associating a computer name with a logical address. And an address translation device in the LAN system.

【0015】[0015]

【課題を解決するための手段】以上のような目的を達成
するために、第1の発明に係るローカルエリアネットワ
ークシステムにおけるアドレス変換装置は、サービスを
提供する第1のサーバコンピュータと、前記第1のサー
バコンピュータと異なる論理アドレスが設定され、前記
第1のサーバコンピュータと同一のサービスを提供する
第2のサーバコンピュータと、前記サーバコンピュータ
が提供するサービスを利用するクライアントコンピュー
タとを有し、前記各コンピュータは、同一ローカルエリ
アネットワークに接続され、宛先の論理アドレスを指定
してパケット通信を行うローカルエリアネットワークシ
ステムにおいて、前記第1のサーバコンピュータの動作
状態を監視するサーバ監視手段と、停止した前記第1の
サーバコンピュータの論理アドレスを引き継ぐことで前
記第1のサーバコンピュータに代わって前記クライアン
トコンピュータが送信したパケットを受信するクライア
ント間通信処理手段と、前記クライアント間通信処理手
段が受信したパケットの宛先を前記第2のサーバコンピ
ュータに変換するアドレス変換手段と、前記アドレス変
換手段によりアドレス変換されたパケットを前記第2の
サーバコンピュータに送信するサーバ間通信処理手段と
を有し、前記各サーバコンピュータと別個に設けられ、
前記第1のサーバコンピュータの正常動作時には前記各
コンピュータが送信したパケットを中継せず、前記第1
のサーバコンピュータの停止時のみ前記クライアントコ
ンピュータが送信した前記第1のサーバコンピュータ宛
のパケットのアドレス変換を行うものである。
In order to achieve the above object, an address translation device in a local area network system according to a first aspect of the present invention includes a first server computer for providing a service, and a first server computer for providing a service . The sir
A logical address different from that of the first computer, a second server computer providing the same service as the first server computer, and a client computer utilizing the service provided by the server computer. Is an operation of the first server computer in a local area network system connected to the same local area network and performing packet communication by designating a destination logical address.
Server monitoring means for monitoring a state, client-to-client communication processing means for receiving a packet transmitted by the client computer on behalf of the first server computer by taking over a logical address of the stopped first server computer, Address translation means for translating the destination of the packet received by the inter-client communication processing means to the second server computer, and inter-server communication for transmitting the packet translated by the address translation means to the second server computer have a processing means provided separately and each server computer,
During normal operation of the first server computer,
Do not relay the packet transmitted by the computer,
Only when the server computer is stopped, the client
To the first server computer transmitted by the computer
Of the packet .

【0016】第2の発明に係るローカルエリアネットワ
ークシステムにおけるアドレス変換装置は、第1の発明
において、前記サーバ間通信処理手段は、送信した前記
アドレス変換されたパケットに応じて前記第2のサーバ
コンピュータが送出した前記クライアントコンピュータ
へのパケットを中継するために受信し、前記アドレス変
換手段は、前記サーバ間通信処理手段が受信したパケッ
トの送信元を前記第1のサーバコンピュータに変換し、
前記クライアント間通信処理手段は、前記アドレス変換
手段によりアドレス変換されたパケットを前記クライア
ントコンピュータに送信するものである。
According to a second aspect of the present invention, in the local area network system according to the first aspect, the server-to-server communication processing means is configured to transmit the transmitted
The second server computer receives, in response to the translated packet, a packet transmitted to the client computer from the second server computer for relaying, and the address translation unit transmits the packet received by the server-to-server communication processing unit. Into the first server computer,
The client-to-client communication processing means transmits a packet whose address has been converted by the address conversion means to the client computer.

【0017】第3の発明に係るローカルエリアネットワ
ークシステムにおけるアドレス変換装置は、第1又は第
2の発明において、受け取った照会用パケットに基づき
前記ローカルエリアネットワークに接続されたコンピュ
ータの論理アドレスに対応する物理アドレスを返すアド
レス解決手段を有するものである。
According to a third aspect of the present invention, in the first or second aspect, the address translation device in the local area network system corresponds to a logical address of a computer connected to the local area network based on the received inquiry packet. It has address resolution means for returning a physical address.

【0018】第4の発明に係るローカルエリアネットワ
ークシステムは、宛先の論理アドレスを指定して同一ロ
ーカルエリアネットワークを介してパケット通信を行う
ローカルエリアネットワークシステムにおいて、サービ
スを提供する第1のサーバコンピュータと、前記第1の
サーバコンピュータと異なる論理アドレスが設定され、
前記第1のサーバコンピュータと同一のサービスを提供
する代替用の第2のサーバコンピュータと、前記サーバ
コンピュータが提供するサービスを利用するクライアン
トコンピュータと、前記各サーバコンピュータと別個に
設けられ、前記第1のサーバコンピュータの停止時のみ
前記クライアントコンピュータと前記サーバコンピュー
タとの間で送受されるパケットを中継するアドレス変換
装置とを有し、同一のサービスを提供する前記第1及び
前記第2のサーバコンピュータが少なくとも1組形成さ
れており、前記アドレス変換装置は、前記第1のサーバ
コンピュータが停止した時点で、その停止した前記第1
のサーバコンピュータの論理アドレスを引き継ぐことで
当該第1のサーバコンピュータに代わって前記クライア
ントコンピュータが送信したパケットを受信するクライ
アント間通信処理手段と、前記クライアント間通信処理
手段が受信したパケットの宛先を当該第1のサーバコン
ピュータと組を形成する前記第2のサーバコンピュータ
に変換するアドレス変換手段と、前記アドレス変換手段
によりアドレス変換されたパケットを当該第2のサーバ
コンピュータに送信するサーバ間通信処理手段とを有
し、前記第1のサーバコンピュータの停止に伴う前記第
2のサーバコンピュータの論理アドレスの変更を行うこ
となく前記クライアントコンピュータへのサービスを継
続して提供するものである。
A local area network system according to a fourth aspect of the present invention is a local area network system which performs a packet communication via the same local area network by designating a logical address of a destination. , The first
A logical address different from the server computer is set,
An alternative second server computer that provides the same service as the first server computer, a client computer that uses a service provided by the server computer, and a separate server computer
An address translation device that relays packets transmitted and received between the client computer and the server computer only when the first server computer is stopped , and provides the same service. First and
At least one set of the second server computer is formed.
And wherein the address translation device is the first server
When the computer is stopped, the first stopped computer is stopped .
By taking over the logical address of the server computer
The first and the client communication processing means for said on behalf of the server computer the client computer receives the transmitted packets, the client inter-communication processing means the first to the destination of the packet received in server configuration
Yes address conversion means for converting the second server computer forming a computer and set, and a server communication processing means for transmitting the address conversion packet to the second server computer by said address translation means
The first server computer is shut down,
Change the logical address of the server computer
Service to the client computer
It is provided continuously .

【0019】第5の発明に係るローカルエリアネットワ
ークシステムは、第4の発明において、前記サーバ間通
信処理手段は、送信した前記アドレス変換されたパケッ
トに応じて前記第2のサーバコンピュータが送出した前
記クライアントコンピュータへのパケットを中継するた
めに受信し、前記アドレス変換手段は、前記サーバ間通
信処理手段が受信したパケットの送信元を前記第2のサ
ーバコンピュータと組を形成する前記第1のサーバコン
ピュータに変換し、前記クライアント間通信処理手段
は、前記アドレス変換手段によりアドレス変換されたパ
ケットを前記クライアントコンピュータに送信するもの
である。
According to a fifth aspect of the present invention, in the local area network system according to the fourth aspect, the server-to-server communication processing means transmits the transmitted address-converted packet.
Depending on the preparative received for relaying a packet to the second server the client computer the computer is sent, the address conversion means, wherein the source of said received server communication processing unit packets second No
The first server computer forming a pair with the server computer, and the client-to-client communication processing means transmits the packet whose address has been converted by the address conversion means to the client computer.

【0020】第6の発明に係るローカルエリアネットワ
ークシステムは、第4又は第5の発明において、代替用
の前記アドレス変換装置を設けたものである。
A local area network system according to a sixth aspect of the present invention is the local area network system according to the fourth or fifth aspect of the present invention, wherein the alternative address translator is provided .

【0021】第7の発明に係るローカルエリアネットワ
ークシステムは、第4又は第5の発明において、前記ロ
ーカルエリアネットワークには、ネットワークアドレス
によって分割された異なるネットワークシステムが複数
混在しており、組を形成する前記第1のサーバコンピュ
ータ及び前記第2のサーバコンピュータは、それぞれの
論理アドレスに異なるネットワークアドレスが割り当て
られることによって異なるネットワークシステムに属し
ているものである。
A local area network system according to a seventh aspect of the present invention is the local area network system according to the fourth or fifth aspect, wherein
Local area network has a network address
Different network systems divided by
The first server computers, which are mixed and form a set,
Data and the second server computer have respective
Different network addresses are assigned to logical addresses
Belonging to different network systems
Is what it is.

【0022】第8の発明に係るローカルエリアネットワ
ークシステムは、第7の発明において、前記アドレス変
換装置を前記各組に対応させて設けたものである。
According to an eighth aspect of the present invention, in the local area network system according to the seventh aspect, the address translator is provided corresponding to each of the sets.

【0023】第9の発明に係るローカルエリアネットワ
ークシステムは、第4又は第5の発明において、前記ア
ドレス変換装置にゲートウェイとしての機能を持たせた
ものである。
A local area network system according to a ninth invention is the local area network system according to the fourth or fifth invention, wherein the address translation device has a function as a gateway.

【0024】[0024]

【発明の実施の形態】以下、図面に基づいて、本発明の
好適な実施の形態について説明する。なお、従来例と同
じ構成要素には同じ符号を付ける。
Preferred embodiments of the present invention will be described below with reference to the drawings. The same components as those in the conventional example are denoted by the same reference numerals.

【0025】実施の形態1.図1は、本発明に係るアド
レス変換装置の実施の形態1を示した機能ブロック図で
あり、本実施の形態におけるアドレス変換装置を使用し
たLANシステムの構成とともに示している。図1に示
したLANシステムは、クライアントコンピュータ3と
2台のサーバコンピュータ1,2と、アドレス変換装置
10とを同一のLAN5に接続して構成されており、T
CP/IPに基づいてデータ通信を行っている。このL
ANシステムは、通常、サーバコンピュータ1が常時稼
動していてクライアントコンピュータ3に対してサービ
スを提供しており、サーバコンピュータ2はサーバコン
ピュータ1の故障時の代替用として待機している。
Embodiment 1 FIG. 1 is a functional block diagram showing Embodiment 1 of an address translation device according to the present invention, and shows a configuration of a LAN system using the address translation device according to the present embodiment. The LAN system shown in FIG. 1 is configured by connecting a client computer 3, two server computers 1 and 2, and an address translator 10 to the same LAN 5,
Data communication is performed based on CP / IP. This L
In the AN system, usually, the server computer 1 is always running and providing a service to the client computer 3, and the server computer 2 is on standby as a substitute when the server computer 1 fails.

【0026】アドレス変換装置10は、クライアント間
通信処理部11、サーバ間通信処理部12、アドレス変
換部13、アドレス解決部14及びサーバ監視部15を
有している。クライアント間通信処理部11は、LAN
5を介してTCP/IPに基づき他のコンピュータとの
通信を可能とする通信インタフェースであり、本実施の
形態では、クライアントコンピュータ3との間でパケッ
ト通信を行う。具体的には、停止した第1のサーバコン
ピュータ1の論理アドレスを引き継ぐことでサーバコン
ピュータ1に代わってクライアントコンピュータ3が送
信したパケットを受信するとともにアドレス変換された
第2のサーバコンピュータ2からのパケットをクライア
ントコンピュータ3に送信する。サーバ間通信処理部1
2は、クライアント間通信処理部11と同様の機能を持
つ通信インタフェースであり、本実施の形態では、サー
バコンピュータ1,2との間でパケット通信を行う。具
体的には、アドレス変換されたクライアントコンピュー
タ3からのパケットをサーバコンピュータ2に送信する
とともにサーバコンピュータ2が送出したクライアント
コンピュータ3へのパケットを中継するために受信す
る。アドレス変換部13は、受信したパケットのアドレ
スを変換する。具体的には、クライアント間通信処理部
11が受信したパケットの宛先をサーバコンピュータ2
に変換し、また、サーバ間通信処理部12が受信したパ
ケットの送信元をサーバコンピュータ1に変換する。ア
ドレス解決部14は、受信した照会用パケットに含まれ
ている論理アドレス(IPアドレス)に対応する物理ア
ドレス(MACアドレス)を返す機能を有しており、本
実施の形態ではTCP/IPにおいて通常使用するAR
P(Address Resolution Prot
ocol)を用いる。サーバ監視部15は、サーバコン
ピュータ1の動作の停止をリアルタイムに検知する。本
実施の形態においては、サーバコンピュータ2がサーバ
コンピュータ1の動作を常時監視しているので、LAN
5を経由しサーバ間通信処理部12から受信したサーバ
コンピュータ2からの通知によりサーバコンピュータ1
の停止を検知するようにしている。もちろん、サーバ監
視部15がサーバコンピュータ1の動作を直接監視した
り、LAN5とは別の専用線でサーバコンピュータ1,
2と接続したりするようにしてもよい。アドレス変換装
置10は、通常のコンピュータで実現することができ、
本実施の形態においては、TCP/IPに基づきデータ
通信をすることができる。
The address translator 10 has a client-to-client communication processor 11, a server-to-server communication processor 12, an address converter 13, an address resolution unit 14, and a server monitoring unit 15. The client-to-client communication processing unit 11
5 is a communication interface that enables communication with another computer based on TCP / IP via the client computer 5. In the present embodiment, packet communication is performed with the client computer 3. Specifically, by taking over the logical address of the stopped first server computer 1, the packet transmitted from the client computer 3 on behalf of the server computer 1 is received, and the packet from the second server computer 2 whose address is converted is transferred. Is transmitted to the client computer 3. Inter-server communication processing unit 1
Reference numeral 2 denotes a communication interface having the same function as that of the inter-client communication processing unit 11, and in the present embodiment, performs packet communication with the server computers 1 and 2. Specifically, it transmits the address-translated packet from the client computer 3 to the server computer 2 and receives the packet transmitted from the server computer 2 to the client computer 3 for relaying. The address conversion unit 13 converts the address of the received packet. Specifically, the destination of the packet received by the inter-client communication processing unit 11 is
And the source of the packet received by the server-to-server communication processing unit 12 is converted to the server computer 1. The address resolving unit 14 has a function of returning a physical address (MAC address) corresponding to a logical address (IP address) included in the received inquiry packet. AR to use
P (Address Resolution Prot)
ocol). The server monitoring unit 15 detects the stop of the operation of the server computer 1 in real time. In the present embodiment, since the server computer 2 constantly monitors the operation of the server computer 1, the LAN
5, the server computer 1 receives the notification from the server computer 2 received from the server-to-server communication processing unit 12
Stop is detected. Of course, the server monitoring unit 15 directly monitors the operation of the server computer 1 or uses a dedicated line separate from the LAN 5
2 may be connected. The address translator 10 can be realized by a normal computer,
In the present embodiment, data communication can be performed based on TCP / IP.

【0027】図2は、本実施の形態におけるLAN構成
図であり、従来例の図12に相当する図である。本実施
の形態においても従来例と同様にサーバコンピュータ1
が常時稼動していてクライアントコンピュータ3に対し
てサービスを提供しており、サーバコンピュータ2はサ
ーバコンピュータ1の故障時の代替用として待機してい
る。また、名称“PC1”のクライアントコンピュータ
3には論理アドレスとしてIPアドレス“1.3”及び
物理アドレスとしてMACアドレス“1”が、名称“S
VR1”のサーバコンピュータ1にはIPアドレス
“1.5”及びMACアドレス“4”が、名称“SVR
2”のサーバコンピュータ2にはIPアドレス“2.
5”及びMACアドレス“5”が、それぞれ割り当てら
れている。また、アドレス変換装置10のサーバ間通信
処理部12には、IPアドレス“2.1”及びMACア
ドレス“3”が、クライアント間通信処理部11には、
MACアドレス“2”が、それぞれ割り当てられてい
る。アドレス変換装置10がパケットを中継する必要が
ないときには、アドレス変換装置10のいずれか一方の
通信インタフェースのみを動作させておけばLAN5を
介してデータ通信を行うことができる。従って、本実施
の形態では、サーバ間通信処理部12のネットワークイ
ンタフェースを介してデータ通信を行うようにしている
ので、クライアント間通信処理部11へのIPアドレス
の初期設定は不要である。なお、IPアドレスの表現
は、従来例と同様にネットID及びホストIDのみを示
し簡略化している。
FIG. 2 is a block diagram of a LAN according to the present embodiment, which corresponds to FIG. 12 of a conventional example. Also in the present embodiment, the server computer 1 is similar to the conventional example.
Are always running and provide services to the client computer 3, and the server computer 2 is on standby as a substitute for the failure of the server computer 1. The client computer 3 with the name “PC1” has an IP address “1.3” as a logical address and a MAC address “1” as a physical address, and a name “S1”.
The IP address “1.5” and the MAC address “4” are assigned to the server computer 1 of “VR1” by the name “SVR”.
2 is assigned to the IP address "2.
In addition, the IP address “2.1” and the MAC address “3” are assigned to the server-to-server communication processing unit 12 of the address translator 10 in the client-to-client communication. The processing unit 11 includes:
MAC address “2” is assigned to each. When it is not necessary for the address translation device 10 to relay a packet, data communication can be performed via the LAN 5 by operating only one of the communication interfaces of the address translation device 10. Therefore, in the present embodiment, since data communication is performed via the network interface of the server-to-server communication processing unit 12, the initial setting of the IP address to the client-to-client communication processing unit 11 is unnecessary. The expression of the IP address is simplified by showing only the net ID and the host ID as in the conventional example.

【0028】ここで、図2から明らかなように、クライ
アントコンピュータ3は、サーバコンピュータ1と同じ
ネットID“1”が付与されているので、同じネットワ
ークシステムに属しているが、ネットID“2”のサー
バコンピュータ2とは、物理的に同一のLAN5に接続
されているとしても異なるネットワークシステムに属し
ていることがわかる。すなわち、クライアントコンピュ
ータ3とサーバコンピュータ2とは、直接パケットの送
受信をすることができない。
As apparent from FIG. 2, the client computer 3 belongs to the same network system because the same net ID “1” is assigned to the server computer 1, but the client computer 3 has the net ID “2”. It can be understood that the server computer 2 belongs to a different network system even though it is physically connected to the same LAN 5. That is, the client computer 3 and the server computer 2 cannot directly transmit and receive packets.

【0029】図3は、図2においてサーバコンピュータ
1が正常に稼動しているときのIPパケットの流れとそ
のアドレス情報を示した図であり、図4及び図5は、図
2においてサーバコンピュータ1が故障しているときの
IPパケットの流れとそのアドレス情報を示した図であ
る。次に、これらの図を用いてクライアントコンピュー
タ3がサーバコンピュータ1,2が提供するサービスを
利用するときのLANシステムにおける動作について説
明する。まず最初にサーバコンピュータ1が正常に稼動
しているときの動作から説明する。
FIG. 3 is a diagram showing the flow of IP packets and their address information when the server computer 1 is operating normally in FIG. 2, and FIGS. 4 and 5 show the server computer 1 in FIG. FIG. 3 is a diagram showing a flow of an IP packet and address information of the IP packet when a failure occurs. Next, the operation in the LAN system when the client computer 3 uses the service provided by the server computers 1 and 2 will be described with reference to these drawings. First, the operation when the server computer 1 is operating normally will be described.

【0030】クライアントコンピュータ3は、サービス
を受けるサーバコンピュータ1の名称“SVR1”を事
前に知っており、この名称に基づき従来例に示したネー
ムサーバや自ら保持するホストファイルからサーバコン
ピュータ1のIPアドレス“1.5”を取得する。更
に、クライアントコンピュータ3は、取得したIPアド
レスに基づきサーバコンピュータ1のMACアドレス
“4”を取得する。なお、ARPは、各コンピュータ
1,2,3にも実装されているので、クライアントコン
ピュータ3は、IPアドレス“1.5”を指定した照会
用パケットを送出することで、サーバコンピュータ1の
ARPからの応答によりMACアドレス“4”を取得す
ることができる。そして、クライアントコンピュータ3
は、図3に示したように送信元のクライアントコンピュ
ータ3のIPアドレス及びMACアドレスと宛先のサー
バコンピュータ1のIPアドレス及びMACアドレスを
サービスを利用するための要求用IPパケット21に付
加してサーバコンピュータ1へ送信する。
The client computer 3 knows in advance the name "SVR1" of the server computer 1 to receive the service and, based on this name, obtains the IP address of the server computer 1 from the name server shown in the conventional example or a host file held by itself. “1.5” is acquired. Further, the client computer 3 acquires the MAC address “4” of the server computer 1 based on the acquired IP address. Since the ARP is also implemented in each of the computers 1, 2, and 3, the client computer 3 sends out an inquiry packet specifying the IP address "1.5", so that the ARP of the server computer 1 , The MAC address “4” can be obtained. And the client computer 3
As shown in FIG. 3, the server adds the IP address and MAC address of the source client computer 3 and the IP address and MAC address of the destination server computer 1 to the request IP packet 21 for using the service. Send to computer 1.

【0031】サーバコンピュータ1は、受信したIPパ
ケット21の宛先アドレス情報を参照することでIPパ
ケット21が自己宛であると認識すると、IPパケット
21の内容に基づきアプリケーションを実行して所定の
結果を得る。そして、その処理結果をサービスを提供す
るための提供用IPパケット22にセットする。更に、
受信したIPパケット21に含まれているIPアドレス
“1.3”に基づきクライアントコンピュータ3のMA
Cアドレス“1”を取得する。サーバコンピュータ1
は、IPアドレス“1.3”を指定した照会用パケット
を送出することで、クライアントコンピュータ3のAR
Pからの応答によりMACアドレス“1”を取得するこ
とができる。そして、サーバコンピュータ1は、図3に
示したように送信元のサーバコンピュータ1のIPアド
レス及びMACアドレスと宛先のクライアントコンピュ
ータ3のIPアドレス及びMACアドレスをIPパケッ
ト22に付加してクライアントコンピュータ3へ送信す
る。
When the server computer 1 recognizes that the IP packet 21 is addressed to itself by referring to the destination address information of the received IP packet 21, the server computer 1 executes an application based on the contents of the IP packet 21 and obtains a predetermined result. obtain. Then, the processing result is set in the providing IP packet 22 for providing the service. Furthermore,
Based on the IP address “1.3” included in the received IP packet 21, the MA of the client computer 3
Acquire the C address "1". Server computer 1
Sends an inquiry packet designating the IP address “1.3”, so that the client computer 3
The MAC address “1” can be obtained by the response from P. Then, the server computer 1 adds the IP address and MAC address of the source server computer 1 and the IP address and MAC address of the destination client computer 3 to the IP packet 22 as shown in FIG. Send.

【0032】クライアントコンピュータ3は、IPパケ
ット22の宛先アドレス情報を参照することでIPパケ
ット22が自己宛であると認識してIPパケット22を
受け取る。この結果、クライアントコンピュータ3は、
サーバコンピュータ1が提供するサービスを利用するこ
とができる。
The client computer 3 receives the IP packet 22 by referring to the destination address information of the IP packet 22 and recognizing that the IP packet 22 is addressed to itself. As a result, the client computer 3
The service provided by the server computer 1 can be used.

【0033】以上のように、アドレス変換装置10は、
サーバコンピュータ1が正常に稼動しているときにはコ
ンピュータ間通信に何ら利用されることはない。続い
て、サーバコンピュータ1が故障により停止したときの
本実施の形態におけるLANシステムの動作について図
6に示したフローチャートに基づき説明する。
As described above, the address translator 10
When the server computer 1 is operating normally, it is not used for inter-computer communication at all. Next, the operation of the LAN system according to the present embodiment when the server computer 1 stops due to a failure will be described with reference to the flowchart shown in FIG.

【0034】サーバコンピュータ2は、サーバコンピュ
ータ1の故障などによる停止を検知すると、予め保持し
ておいたサーバコンピュータ1のIPアドレス“1.
5”とMACアドレス“4”をアドレス変換装置10へ
送信する。
When the server computer 2 detects a stop due to a failure of the server computer 1 or the like, the server computer 2 stores the IP address “1.
5 ”and the MAC address“ 4 ”are transmitted to the address translator 10.

【0035】アドレス変換装置10は、サーバコンピュ
ータ2からの通知を受信することでサーバコンピュータ
1の停止を検知すると(ステップ101)、図に示し
たようにその通知に含まれているサーバコンピュータ1
のIPアドレスとMACアドレスでクライアント間通信
処理部11の各アドレスを更新する(ステップ10
2)。そして、クライアント間通信処理部11を再起動
することでその設定を有効にする。なお、サーバコンピ
ュータ2とサーバ間通信処理部12のIPアドレスは、
同じネットID“2”であり、同じネットワークシステ
ムを構成しているので、アドレス変換装置10とサーバ
コンピュータ2とは、LAN5経由で直接通信すること
ができる。
The address converting apparatus 10, upon detecting the stop server computer 1 by receiving the notification from the server computer 2 (step 101), the server computer 1 included in the notification as shown in FIG. 4
Update each address of the client-to-client communication processing unit 11 with the IP address and the MAC address (step 10).
2). Then, the setting is made effective by restarting the inter-client communication processing unit 11. The IP addresses of the server computer 2 and the server-to-server communication processing unit 12 are as follows:
Since the same network ID “2” and the same network system are configured, the address translation device 10 and the server computer 2 can communicate directly via the LAN 5.

【0036】以上のようなアドレス変換装置10への設
定が終了した後、クライアントコンピュータ3は、サー
バコンピュータ1からサービスの提供を受けるために、
サーバコンピュータ1の正常動作時と同様にしてサーバ
コンピュータ1の名称“SVR1”に基づきサーバコン
ピュータ1のIPアドレス“1.5”を取得し、更に取
得したIPアドレスに基づきサーバコンピュータ1のM
ACアドレスを取得要求を発する。このとき、IPアド
レス“1.5”は、上記設定によりアドレス変換装置1
0のクライアント間通信処理部11に設定されているの
で、この取得要求に対してアドレス変換装置10のアド
レス解決部14がサーバコンピュータ1の代わりにMA
Cアドレス“4”を返すことになる。なお、クライアン
トコンピュータ3には、サーバコンピュータ1の停止が
知らされていないので、クライアントコンピュータ3
は、当然サーバコンピュータ1の正常動作時と同様の処
理を行うことになる。そして、クライアントコンピュー
タ3は、アドレス情報を要求用IPパケット23に付加
してサーバコンピュータ1へ送信するが、この作成した
IPパケット23のアドレス情報の指定は、正常時に作
成したIPパケット21と全く同じとなる。このよう
に、本実施の形態によれば、サーバコンピュータ1の稼
動状況を意識させることなく要求用IPパケットの作成
をクライアントコンピュータ3にさせることができる。
After the above-described settings in the address translation device 10 have been completed, the client computer 3 receives the service from the server computer 1.
As in the normal operation of the server computer 1, the IP address "1.5" of the server computer 1 is obtained based on the name "SVR1" of the server computer 1, and the M of the server computer 1 is further determined based on the obtained IP address.
A request for acquiring an AC address is issued. At this time, the IP address “1.5” is set to the address
0, the address resolution unit 14 of the address translator 10 responds to this acquisition request by using the MA instead of the server computer 1.
C address "4" is returned. Since the client computer 3 is not informed of the stop of the server computer 1, the client computer 3
Performs the same processing as in the normal operation of the server computer 1. Then, the client computer 3 adds the address information to the request IP packet 23 and transmits the request to the server computer 1. The designation of the address information of the created IP packet 23 is exactly the same as that of the IP packet 21 created under normal conditions. Becomes As described above, according to the present embodiment, it is possible to cause the client computer 3 to create a request IP packet without being conscious of the operation status of the server computer 1.

【0037】クライアントコンピュータ3が送出したI
Pパケット23の宛先IPアドレス“1.5”及びMA
Cアドレス“4”は、アドレス変換装置10のクライア
ント間通信処理部11に設定されているので、アドレス
変換装置10がIPパケット23を受信することになる
(ステップ103)。アドレス変換装置10のアドレス
変換部13は、IPパケット23とサーバコンピュータ
1の故障時に受けた代替用のサーバコンピュータ2から
の通知に基づき次のようなアドレス変換処理を行う(ス
テップ104)。
The I sent by the client computer 3
Destination IP address “1.5” of P packet 23 and MA
Since the C address “4” is set in the inter-client communication processing unit 11 of the address translation device 10, the address translation device 10 receives the IP packet 23 (step 103). The address translation unit 13 of the address translation device 10 performs the following address translation process based on the IP packet 23 and the notification from the substitute server computer 2 received when the server computer 1 fails (step 104).

【0038】まず、アドレス変換部13は、送信元IP
アドレスを、受信したIPパケット23に設定された
“1.3”のままにし、宛先IPアドレスを上記通知に
基づき“1.5”からサーバコンピュータ2のIPアド
レス“2.5”に変換する。また、アドレス変換部13
は、送信元MACアドレスを、IPパケット23に設定
された“4”からパケットを送信するサーバ間通信処理
部12のMACアドレス“3”に変換する。また、アド
レス変換部13は、宛先MACアドレスを、IPパケッ
ト23に設定された“3”からIPアドレス“2.5”
に基づきサーバコンピュータ2から取得した“5”に変
換する。このサーバコンピュータ2のMACアドレス
は、照会用パケットを送出することでサーバコンピュー
タ2のARPにより応答されてくる。サーバ間通信処理
部12は、このようにして作成したIPパケット24を
送信する(ステップ105)。
First, the address conversion unit 13 checks the source IP
The address is kept at “1.3” set in the received IP packet 23, and the destination IP address is converted from “1.5” to the IP address “2.5” of the server computer 2 based on the notification. The address conversion unit 13
Converts the source MAC address from “4” set in the IP packet 23 to the MAC address “3” of the inter-server communication processing unit 12 that transmits the packet. The address conversion unit 13 changes the destination MAC address from “3” set in the IP packet 23 to the IP address “2.5”.
Is converted to “5” obtained from the server computer 2 based on The MAC address of the server computer 2 is responded to by the ARP of the server computer 2 by transmitting an inquiry packet. The server-to-server communication processing unit 12 transmits the IP packet 24 created in this way (step 105).

【0039】サーバコンピュータ2は、IPパケット2
4の宛先アドレス情報を参照することで自己宛のパケッ
トであることを認識してIPパケット24を受信する。
なお、サーバコンピュータ2は、サーバ間通信処理部1
2と同じネットID“2”が設定されているので、アド
レス変換装置10のサーバ間通信処理部12から直接受
信することができる。このように、クライアントコンピ
ュータ3とサーバコンピュータ2のネットIDは異なる
ため、サーバコンピュータ2は、クライアントコンピュ
ータ3がサーバコンピュータ1宛に送信したIPパケッ
ト23を、サーバコンピュータ1の代わりに直接受信す
ることはできない。しかし、アドレス変換装置10は、
IPパケット23のアドレス情報をサーバコンピュータ
2宛に変換するので、サーバコンピュータ2は、クライ
アントコンピュータ3が送出した要求用IPパケットを
アドレス変換装置10経由で受け取ることができるよう
になる。
The server computer 2 receives the IP packet 2
The IP packet 24 is received by recognizing that the packet is addressed to itself by referring to the destination address information of No. 4.
The server computer 2 includes an inter-server communication processing unit 1
Since the same net ID “2” as “2” is set, it can be directly received from the server-to-server communication processing unit 12 of the address translation device 10. As described above, since the net IDs of the client computer 3 and the server computer 2 are different, the server computer 2 cannot directly receive the IP packet 23 transmitted to the server computer 1 by the client computer 3 instead of the server computer 1. Can not. However, the address translator 10
Since the address information of the IP packet 23 is translated to the server computer 2, the server computer 2 can receive the request IP packet transmitted by the client computer 3 via the address translator 10.

【0040】サーバコンピュータ2は、要求用IPパケ
ットを受け取ると、サーバコンピュータ1に代わってサ
ービスの提供をするために次のようなアドレス情報を付
加した提供用IPパケット25を作成し返信する。
Upon receiving the requesting IP packet, the server computer 2 creates and returns a providing IP packet 25 to which the following address information is added in order to provide a service on behalf of the server computer 1.

【0041】まず、サーバコンピュータ2は、送信元の
IPアドレス及びMACアドレスに、自己のIPアドレ
ス“2.5”及び“5”をそれぞれ設定する。また、宛
先IPアドレスに、受信したIPパケット24から取得
したIPアドレス“1.3”をそのまま設定する。そし
て、サーバコンピュータ2は、宛先MACアドレスを取
得するためにIPアドレス“1.3”に基づき照会用パ
ケットを送出する。しかし、サーバコンピュータ2は、
IPアドレス“1.3”であるクライアントコンピュー
タ3に直接アクセスすることはできない。そこで、サー
バコンピュータ2と同じネットIDが設定されたアドレ
ス変換装置10のサーバ間通信処理部12がその照会用
パケットを受け取り、アドレス解決部14が自己のMA
Cアドレス“3”を返信することになる。この結果、提
供用IPパケット25の宛先MACアドレスには、
“3”が設定されることになる。サーバコンピュータ2
は、以上のようにして設定したアドレス情報を付加して
IPパケット25を送出する。なお、サーバコンピュー
タ2において実行された処理は、TCP/IPに基づき
一般的に行われるパケット送信時の処理である。
First, the server computer 2 sets its own IP addresses “2.5” and “5” as the source IP address and MAC address, respectively. Also, the IP address “1.3” obtained from the received IP packet 24 is set as it is for the destination IP address. Then, the server computer 2 sends out an inquiry packet based on the IP address “1.3” to obtain the destination MAC address. However, the server computer 2
It is not possible to directly access the client computer 3 having the IP address “1.3”. Therefore, the server-to-server communication processing unit 12 of the address translator 10 in which the same net ID as the server computer 2 is set receives the inquiry packet, and the address resolution unit 14 transmits its own MA.
The C address "3" is returned. As a result, the destination MAC address of the providing IP packet 25 includes
“3” is set. Server computer 2
Sends the IP packet 25 with the address information set as described above. Note that the processing executed in the server computer 2 is processing at the time of packet transmission generally performed based on TCP / IP.

【0042】ところで、サーバコンピュータ2とクライ
アントコンピュータ3とは、異なるネットワークシステ
ムに属するため、サーバコンピュータ2は、IPアドレ
ス“1.3”であるクライアントコンピュータへIP
パケット25を直接送信することはできない。従って、
サーバコンピュータは、ゲートウェイを探すことにな
る。ここで、サーバコンピュータ2にデフォルト・ゲー
トウェイとしてアドレス変換装置10のサーバ間通信処
理部12のIPアドレスを登録しておくか、アドレス変
換装置10に予め設定しておくことで、クライアントコ
ンピュータ3へのIPパケットをアドレス変換装置10
が中継するようにしておく。
Since the server computer 2 and the client computer 3 belong to different network systems, the server computer 2 sends an IP address to the client computer 3 having the IP address “1.3”.
Packet 25 cannot be transmitted directly. Therefore,
The server computer 2 will look for a gateway. Here, the IP address of the server-to-server communication processing unit 12 of the address translation device 10 is registered as a default gateway in the server computer 2 or the IP address of the client computer 3 is set in advance in the address translation device 10. IP packet to address translation device 10
To be relayed.

【0043】アドレス変換装置10は、IPパケット2
5の宛先MACアドレスに“3”が設定されているの
で、IPパケット25を受け取ることができる(ステッ
プ106)。そして、アドレス変換装置10のアドレス
変換部13は、IPパケット25に基づき次のようなア
ドレス変換処理を行う(ステップ107)。
The address translator 10 transmits the IP packet 2
Since “3” is set in the destination MAC address of No. 5, the IP packet 25 can be received (step 106). Then, the address translator 13 of the address translator 10 performs the following address translation process based on the IP packet 25 (Step 107).

【0044】まず、アドレス変換部13は、送信元IP
アドレスを、IPパケット25に設定された“2.5”
から変換後のIPパケット26を送出するクライアント
間通信処理部11のIPアドレス“1.5”に変換す
る。送信元MACアドレスも同様にして“5”から
“4”に変換する。この結果、送信元のIPアドレス及
びMACアドレスには、本来サーバコンピュータ1に割
り当てられていたIPアドレス“1.5”及びMACア
ドレス“4”が設定されることになる。また、アドレス
変換部13は、宛先IPアドレスを、受信したIPパケ
ット25に設定された“1.3”のままにし、また、宛
先MACアドレスを、IPパケット25に設定された
“5”からIPアドレス“1.3”に基づきクライアン
トコンピュータ3から取得した“1”に変換する。この
クライアントコンピュータ3のMACアドレスは、照会
用パケットを送出することでクライアントコンピュータ
3のARPにより応答されてくる。クライアント間通信
処理部11は、このようにして作成したIPパケット2
6を送信する(ステップ108)。
First, the address conversion unit 13 checks the source IP
Address is set to “2.5” set in IP packet 25
Is converted to the IP address “1.5” of the inter-client communication processing unit 11 that sends out the IP packet 26 after the conversion. Similarly, the source MAC address is converted from “5” to “4”. As a result, the IP address “1.5” and the MAC address “4” originally assigned to the server computer 1 are set as the source IP address and the MAC address. In addition, the address conversion unit 13 keeps the destination IP address at “1.3” set in the received IP packet 25 and changes the destination MAC address from “5” set in the IP packet 25 to the IP address. It is converted to “1” obtained from the client computer 3 based on the address “1.3”. The MAC address of the client computer 3 is responded to by the ARP of the client computer 3 by transmitting an inquiry packet. The client-to-client communication processing unit 11 transmits the IP packet 2
6 is transmitted (step 108).

【0045】この結果、クライアントコンピュータ3
は、アドレス変換装置10から送られてきたIPパケッ
ト26を受け取ることができるので、サーバコンピュー
タ1,2が提供するサービスを利用することができる。
As a result, the client computer 3
Can receive the IP packet 26 sent from the address translator 10, so that the services provided by the server computers 1 and 2 can be used.

【0046】ここで、図3に示したIPパケット22と
図5に示したIPパケット26を比べてみれば理解でき
るように、クライアントコンピュータ3が受け取るIP
パケットは、サーバコンピュータ1の故障等の有無に関
係なく同じ内容となる。すなわち、クライアントコンピ
ュータ3は、サーバコンピュータ1の稼動状況に関係な
くサーバコンピュータ1に対してサービスの提供の要求
さえしておけば、見た目にはサーバコンピュータ1のサ
ービスを利用したことになる。クライアントコンピュー
タ3からしてみれば、実際にはサーバコンピュータ2が
サービスの提供先であったとしても結果としてサービス
を確実に利用することができるので、何ら問題はない。
Here, as can be understood from a comparison between the IP packet 22 shown in FIG. 3 and the IP packet 26 shown in FIG.
The packet has the same content irrespective of whether or not the server computer 1 has a failure or the like. That is, as long as the client computer 3 only requests the server computer 1 to provide a service irrespective of the operating status of the server computer 1, the client computer 3 apparently uses the service of the server computer 1. From the viewpoint of the client computer 3, there is no problem because the service can be reliably used as a result even if the server computer 2 actually provides the service.

【0047】以上のように、本実施の形態によれば、ク
ライアントコンピュータ3がサービスの利用先を常にサ
ーバコンピュータ1と指定していたとしても、クライア
ントコンピュータ3にサービスを利用させることができ
る。従って、クライアントコンピュータ3がサーバコン
ピュータ1の名称とIPアドレスとの対応関係を保持し
ていても、あるいはIPアドレスの照会結果をキャッシ
ュし、毎回それを使用するようにしていても何ら問題は
発生しない。
As described above, according to the present embodiment, even if the client computer 3 always designates the use destination of the service as the server computer 1, the client computer 3 can use the service. Therefore, no problem occurs even if the client computer 3 holds the correspondence between the name of the server computer 1 and the IP address, or caches the query result of the IP address and uses it every time. .

【0048】また、本実施の形態によれば、クライアン
トコンピュータ3にサービスの提供先を意識させること
なくサービスを利用させることができる。もちろん、サ
ーバコンピュータ1が復旧し、サービスの提供を再開す
るようになったとしても、クライアントコンピュータ3
にその再開を認識させる必要もない。
Further, according to the present embodiment, the service can be used without making the client computer 3 aware of the service providing destination. Of course, even if the server computer 1 recovers and resumes providing services, the client computer 3
There is no need to let the system recognize that resumption.

【0049】更に、本実施の形態においては、サーバコ
ンピュータ1が故障しサービスの提供先を切り替えるこ
とになったとしても、代替用のサーバコンピュータ2の
IPアドレスやMACアドレスを更新する必要もないた
め、サーバコンピュータ2にもその切替えに伴う余計な
負担をかけずにすむ。
Further, in the present embodiment, even if the server computer 1 breaks down and the service destination is switched, there is no need to update the IP address or MAC address of the substitute server computer 2. In addition, the server computer 2 does not need to put an extra burden due to the switching.

【0050】また、クライアントコンピュータ3は、ネ
ットIDが異なるためサーバコンピュータ2から直接サ
ービスを受けることはできないが、本実施の形態によれ
ば、前述したようなアドレス変換処理を行うため、クラ
イアントコンピュータ3は、異なるネットワークシステ
ムに属するサーバコンピュータ2からサービスを受ける
ことができるようになる。従って、ネットワークシステ
ム毎に代替用のサーバコンピュータを用意しなくても異
なるネットワークシステムにおいて共通の待機系サーバ
コンピュータを設けることが可能となる。なお、実施の
形態において用いる「待機系」というのは、通常提供さ
れているサービスに対して待機をしているという意味で
あって、他の目的のためにサーバコンピュータを使用さ
せずに待機させておくという意味ではない。もちろん、
二重系システムであれば、通常の稼動系に対する待機系
と解釈してよい。
Further, the client computer 3 cannot directly receive the service from the server computer 2 because the network ID is different. However, according to the present embodiment, the client computer 3 performs the address conversion processing as described above. Can receive a service from the server computer 2 belonging to a different network system. Therefore, it is possible to provide a common standby server computer in different network systems without preparing a substitute server computer for each network system. The “standby system” used in the embodiment means that the system is in standby for a service that is normally provided, and is made to wait without using the server computer for another purpose. It does not mean to keep. of course,
If it is a dual system, it may be interpreted as a standby system for a normal operating system.

【0051】また、本実施の形態におけるアドレス変換
装置10は、TCP/IPに基づきネットワーク通信を
行うことができる汎用的なコンピュータに上記処理を実
行するアプリケーションをインストールすることで実現
することができるため、ルータ等のネットワーク間の中
継機能を持つ装置を使用する必要はない。
The address translator 10 according to the present embodiment can be realized by installing an application for executing the above-described processing in a general-purpose computer capable of performing network communication based on TCP / IP. It is not necessary to use a device having a relay function between networks, such as a router.

【0052】なお、上記説明においては、本実施の形態
におけるアドレス変換装置10を、サービスを利用する
コンピュータとして1台のクライアントコンピュータ
3、また、サービスを提供するコンピュータとしてサー
バコンピュータ1とその代替用として1台のサーバコン
ピュータ2をLAN5に接続したネットワーク構成の例
を用いたが、例えば複数台のクライアントコンピュータ
が接続されているなど他の接続形態を持つLANシステ
ムにおいても適用できることはいうまでもない。
In the above description, the address translation device 10 according to the present embodiment uses one client computer 3 as a computer using a service, and the server computer 1 as a computer providing a service, and the server computer 1 as an alternative. Although the example of the network configuration in which one server computer 2 is connected to the LAN 5 is used, it is needless to say that the present invention can be applied to a LAN system having another connection form such as a plurality of client computers being connected.

【0053】実施の形態2.図7は、本発明に係るLA
Nシステムの実施の形態2を示した全体構成図である。
上記実施の形態1では、1台のアドレス変換装置10を
LAN5に接続するようにしたが、本実施の形態では、
更に代替用のアドレス変換装置27をLAN5に接続し
たことを特徴としている。LANシステムが1台のアド
レス変換装置10のみで構成されている場合、アドレス
変換装置10が故障等により動作不能になると、クライ
アントコンピュータ3は、サービスの利用先を意識しな
くてはならなくなり、また、異なるネットワークシステ
ムに属するサーバコンピュータ2とデータ通信ができな
くなってしまう。そこで、本実施の形態では、代替用の
アドレス変換装置27を設けることにより、アドレス変
換装置10が故障したとしてもクライアントコンピュー
タ3は、サーバコンピュータが提供するサービスを継続
して利用することができるようにした。
Embodiment 2 FIG. 7 shows the LA according to the present invention.
FIG. 1 is an overall configuration diagram showing Embodiment 2 of an N system.
In the first embodiment, one address translation device 10 is connected to the LAN 5, but in the present embodiment,
Further, it is characterized in that a substitute address translator 27 is connected to the LAN 5. If the LAN system is composed of only one address translation device 10, and the address translation device 10 becomes inoperable due to a failure or the like, the client computer 3 must be aware of the service use destination, and Therefore, data communication with the server computer 2 belonging to a different network system cannot be performed. Therefore, in the present embodiment, by providing the substitute address translation device 27, even if the address translation device 10 fails, the client computer 3 can continue to use the service provided by the server computer. I made it.

【0054】アドレス変換装置27の構成は、アドレス
変換装置10と全く同じでよく、アドレス変換装置10
のクライアント間通信処理部及びサーバ間通信処理部へ
のIPアドレス及びMACアドレスの各設定内容は、L
AN5を介してあるいは図示しない専用線でアドレス変
換装置27に知らせるようにする。そして、アドレス変
換装置27は、アドレス変換装置10の停止を検知した
ときには、アドレス変換装置10の各通信処理部に設定
されていたIPアドレス及びMACアドレスで自己のI
Pアドレス及びMACアドレスを更新する。
The configuration of the address translator 27 may be exactly the same as that of the address translator 10;
The setting contents of the IP address and the MAC address for the client-to-client communication processing unit and the server-to-server communication processing unit are L
The address conversion device 27 is notified via the AN 5 or a dedicated line (not shown). When the address translator 27 detects that the address translator 10 has stopped, the address translator 27 uses its IP address and MAC address set in each communication processing unit of the address translator 10 to control its own I / O.
Update the P address and the MAC address.

【0055】これにより、アドレス変換装置27は、ア
ドレス変換装置10に代わってサーバコンピュータ2が
提供するサービスをクライアントコンピュータ3に利用
させることができるので、LANシステムにおける信頼
性を向上させることができる。
Thus, the address translator 27 allows the client computer 3 to use the service provided by the server computer 2 instead of the address translator 10, so that the reliability in the LAN system can be improved.

【0056】なお、本実施の形態では、代替用のアドレ
ス変換装置として1台だけ設けた構成を例にして説明し
たが、優先付けして複数台設けるようにしてもよい。
In the present embodiment, an example has been described in which only one substitute address translation device is provided, but a plurality of substitute address translation devices may be provided with priority.

【0057】実施の形態3.図8は、本発明に係るLA
Nシステムの実施の形態3を示した全体構成図である。
上記実施の形態1では、通常クライアントコンピュータ
3にサービスを提供する稼動系のサーバコンピュータ1
と待機系のサーバコンピュータ2を1台ずつ設けた構成
で説明したが、本実施の形態では、稼動系と待機系の組
を同一LAN5に2組(サーバコンピュータ1,2とサ
ーバコンピュータ28,29)接続していることを特徴
としている。そして、このような構成においても本実施
の形態におけるアドレス変換装置10を1台のみで適用
することができる。アドレス変換装置10における動作
は、基本的には実施の形態1と同じである。
Embodiment 3 FIG. 8 shows the LA according to the present invention.
FIG. 9 is an overall configuration diagram showing a third embodiment of the N system.
In the first embodiment, the active server computer 1 that normally provides a service to the client computer 3
In the present embodiment, two sets of the active system and the standby system are provided in the same LAN 5 (the server computers 1 and 2 and the server computers 28 and 29). ) Are connected. And even in such a configuration, only one address translation device 10 in the present embodiment can be applied. The operation in the address translator 10 is basically the same as in the first embodiment.

【0058】例えば、各コンピュータ1,2,3,2
8,29及びアドレス変換装置10に図8に示したIP
アドレスが設定されている場合において、サーバコンピ
ュータ1が故障したとすると、アドレス変換装置10の
クライアント間通信処理部11には、サーバコンピュー
タ1のIPアドレス“1.5”が設定される。これによ
り、クライアントコンピュータ3は、サーバコンピュー
タ1に対してサービスを利用するための要求用パケット
を送信したとしてもアドレス変換装置10によるアドレ
ス変換機能及び中継機能により実際にはサーバコンピュ
ータ2からサービスの提供を受けることができる。な
お、アドレス変換装置10におけるパケットのアドレス
情報の変換処理及びパケットの中継処理は、実施の形態
1と同じなので、説明を省略する。
For example, each of the computers 1, 2, 3, 2
8, 29 and the address translator 10
If the address is set and the server computer 1 fails, the IP address “1.5” of the server computer 1 is set in the inter-client communication processing unit 11 of the address translator 10. Thus, even if the client computer 3 transmits a request packet for using the service to the server computer 1, the service is actually provided from the server computer 2 by the address translation function and the relay function of the address translation device 10. Can receive. The process of converting the address information of the packet and the process of relaying the packet in the address translator 10 are the same as those in the first embodiment, and a description thereof will be omitted.

【0059】また、サーバコンピュータ28が故障した
とすると、アドレス変換装置10のクライアント間通信
処理部11には、サーバコンピュータ28のIPアドレ
ス“1.6”が設定される。これにより、クライアント
コンピュータ3は、サーバコンピュータ28に対してサ
ービスを利用するための要求用パケットを送信したとし
てもアドレス変換装置10によるアドレス変換機能及び
中継機能により実際にはサーバコンピュータ29からサ
ービスの提供を受けることができる。なお、この処理に
おいてもIPアドレスの設定値が異なるだけで実行され
る処理は、上記と全く同じである。
If the server computer 28 breaks down, the IP address “1.6” of the server computer 28 is set in the inter-client communication processing section 11 of the address translator 10. Thereby, even if the client computer 3 transmits a request packet for using the service to the server computer 28, the client computer 3 actually provides the service from the server computer 29 by the address translation function and the relay function by the address translation device 10. Can receive. In this process, the process executed only by changing the set value of the IP address is exactly the same as described above.

【0060】なお、本実施の形態では、稼動系と待機系
のサーバコンピュータを2組LAN5に接続した例で説
明したが、より多くの組を複数接続しても適用すること
ができる。
Although the present embodiment has been described with reference to an example in which two sets of active and standby server computers are connected to the LAN 5, the present invention can be applied to a case where a plurality of sets are connected.

【0061】また、本実施の形態では、物理アドレスで
あるMACアドレスに関する記載を省略したが、実際に
は実施の形態1と同じである。
Further, in the present embodiment, the description regarding the MAC address which is the physical address is omitted, but it is actually the same as the first embodiment.

【0062】実施の形態4.図9は、本発明に係るLA
Nシステムの実施の形態4を示した全体構成図である。
本実施の形態におけるLANシステムは、稼動系と待機
系のサーバコンピュータの組にそれぞれ対応させてアド
レス変換装置10,30を設けたことを特徴としてい
る。
Embodiment 4 FIG. 9 shows the LA according to the present invention.
FIG. 13 is an overall configuration diagram showing Embodiment 4 of the N system.
The LAN system according to the present embodiment is characterized in that address translation devices 10 and 30 are provided so as to correspond to sets of active and standby server computers, respectively.

【0063】ところで、上記実施の形態3では、稼動系
のサーバコンピュータ1,28が同時に故障したときに
は対応することができない。そこで、本実施の形態で
は、各サーバコンピュータの組、すなわちサーバコンピ
ュータ1,2とサーバコンピュータ28,29の組それ
ぞれに対応させてアドレス変換装置10,30を設ける
ようにした。これにより、サーバコンピュータ1とサー
バコンピュータ28とが同時に停止した場合でも、クラ
イアントコンピュータ3は、代替用のサーバコンピュー
タ2,29からサービスの提供を受けることができる。
また、この例では、1台のクライアントコンピュータ3
のみをLAN5に接続しているが、複数のクライアント
コンピュータが接続されている場合、複数のクライアン
トコンピュータから同時に送出された要求用パケットを
それぞれのアドレス変換装置10,30が並行して処理
することができるようになる。
In the third embodiment, it is not possible to cope with simultaneous failure of the active server computers 1 and 28. Therefore, in the present embodiment, the address translators 10 and 30 are provided in correspondence with each set of server computers, that is, each set of the server computers 1 and 2 and the server computers 28 and 29. Thus, even when the server computer 1 and the server computer 28 stop at the same time, the client computer 3 can receive the service from the substitute server computers 2 and 29.
In this example, one client computer 3
Although only the LAN 5 is connected to the LAN 5 but a plurality of client computers are connected, the address translators 10 and 30 may process request packets simultaneously transmitted from the plurality of client computers in parallel. become able to.

【0064】更に、本実施の形態によれば、図9に示し
たように、稼動系のサーバコンピュータ1,28と待機
系のサーバコンピュータ2と待機系のサーバコンピュー
タ29とがそれぞれ異なるネットワークシステム1,
2,3に属するような場合でも、アドレス変換装置10
のサーバ間通信処理部12にはサーバコンピュータ2と
同じネットワークシステム2のIPアドレスを、アドレ
ス変換装置30のサーバ間通信処理部32にはサーバコ
ンピュータ29と同じネットワークシステム3のIPア
ドレスをそれぞれ設定しておけば、3つの異なるネット
ワークシステムが構成されている場合にも対応すること
ができる。
Further, according to the present embodiment, as shown in FIG. 9, the active server computers 1 and 28, the standby server computer 2 and the standby server computer 29 are different from each other in the network system 1. ,
Even in the case where the address conversion device belongs to
The IP address of the same network system 2 as the server computer 2 is set in the server-to-server communication processing unit 12 and the IP address of the same network system 3 as the server computer 29 is set in the server-to-server communication processing unit 32 of the address translator 30. By doing so, it is possible to cope with a case where three different network systems are configured.

【0065】具体的には、サーバコンピュータ1が故障
した場合、アドレス変換装置10は、実施の形態1と同
様に動作してサーバコンピュータ1のIPアドレス
“1.5”を引き継ぐことによってネットワークシステ
ム1に属するクライアントコンピュータ3とネットワー
クシステム2に属するサーバコンピュータ2との間で通
信を行わせることができる。
More specifically, when the server computer 1 fails, the address translation device 10 operates in the same manner as in the first embodiment and takes over the IP address “1.5” of the server computer 1 so as to take over the network system 1. Between the client computer 3 belonging to the network system 2 and the server computer 2 belonging to the network system 2.

【0066】また、サーバコンピュータ28が故障した
場合、アドレス変換装置30は、実施の形態1と同様に
動作してサーバコンピュータ28のIPアドレス“1.
6”を引き継ぐことによってネットワークシステム1に
属するクライアントコンピュータ3とネットワークシス
テム3に属するサーバコンピュータ29との間で通信を
行わせることができる。
When the server computer 28 breaks down, the address translator 30 operates in the same manner as in the first embodiment to operate the IP address “1.
By taking over 6 ″, communication can be performed between the client computer 3 belonging to the network system 1 and the server computer 29 belonging to the network system 3.

【0067】以上のことから、本実施の形態は、実施の
形態1に示した構成を重畳させた構成を有しているとい
うことができる。本実施の形態では、2台のアドレス変
換装置10,30をLAN5に接続している場合を例に
しているので、3つの異なるネットワークシステムに対
応することができるが、より多くのサーバコンピュータ
とアドレス変換装置との組を接続すれば、更に多くのネ
ットワークシステムにも対応することができる。
From the above, it can be said that this embodiment has a structure in which the structure shown in Embodiment 1 is superimposed. In the present embodiment, the case where two address translators 10 and 30 are connected to the LAN 5 is taken as an example, so that three different network systems can be handled. By connecting a set with a conversion device, it is possible to cope with even more network systems.

【0068】なお、このようなIPアドレスの設定処理
のみならず、アドレス変換装置10,30が行うアドレ
ス変換、パケットの中継などの処理は、実施の形態1に
おいて説明した図6に基づく処理をそのまま実行すれば
よいため説明を省略する。
It is to be noted that not only the IP address setting processing but also the processing such as address conversion and packet relay performed by the address conversion apparatuses 10 and 30 are the same as the processing based on FIG. 6 described in the first embodiment. The description will be omitted because it may be executed.

【0069】実施の形態5.本実施の形態は、異なるク
ラスのIPアドレスを有するコンピュータ間のパケット
通信について説明する。
Embodiment 5 In this embodiment, packet communication between computers having different classes of IP addresses will be described.

【0070】図10は、本実施の形態におけるLANシ
ステムの全体構成図である。図10には、同一LAN
(図示せず)に接続された2台のクライアントコンピュ
ータ33,34と2台のサーバコンピュータ35,36
とアドレス変換装置37とが示されている。この構成に
おいて、サーバコンピュータ35は、本発明に係る第1
のコンピュータに相当し、動作時にはクライアントコン
ピュータ33にサービスを提供している。サーバコンピ
ュータ36は、本発明に係る第2のコンピュータに相当
し、サーバコンピュータ35の停止時にクライアントコ
ンピュータ33にサービスを提供している。各コンピュ
ータ33〜36には、それぞれ“5.5.5.3”、
“5.5.4.3”、“5.5.5.5”、“5.5.
4.5”というIPアドレスが設定されている。このI
Pアドレスにサブネットマスクを設定することにより、
クライアントコンピュータ33,34のネットIDは
“5.5”と、サーバコンピュータ35のネットIDは
“5.5.5”と、サーバコンピュータ36のネットI
Dは“5.5.4”と、それぞれ認識される。また、ア
ドレス変換装置37のサーバ間通信処理部39には、
“5.5.4.6”というIPアドレスが設定され、そ
のネットIDは“5.5.4”である。また、本実施の
形態においては、稼動系のサーバコンピュータ35が停
止していないときにもクライアントコンピュータ33と
待機系のサーバコンピュータ36との間での通信を可能
とするためにアドレス変換装置37のサーバ間通信処理
部39に“5.5.5.6”というIPアドレスを設定
している。このネットIDは“5.5”である。
FIG. 10 is an overall configuration diagram of a LAN system according to the present embodiment. FIG. 10 shows the same LAN.
(Not shown) and two client computers 33 and 34 and two server computers 35 and 36
And an address translation device 37 are shown. In this configuration, the server computer 35 is the first computer according to the present invention.
And provides a service to the client computer 33 during operation. The server computer 36 corresponds to the second computer according to the present invention, and provides a service to the client computer 33 when the server computer 35 is stopped. Each of the computers 33 to 36 has “5.5.5.3”,
“5.5.4.3”, “5.5.5.5”, “5.5.
The IP address “4.5” is set.
By setting the subnet mask to the P address,
The net IDs of the client computers 33 and 34 are “5.5”, the net ID of the server computer 35 is “5.5.
D is recognized as “5.5.4”. The server-to-server communication processing unit 39 of the address translator 37 includes:
An IP address “5.5.4.6” is set, and its net ID is “5.5.4”. Further, in the present embodiment, even when the active server computer 35 is not stopped, communication between the client computer 33 and the standby server computer 36 is enabled so that the address translator 37 can be used. An IP address “5.5.5.6” is set in the server communication processing unit 39. This net ID is “5.5”.

【0071】また、図10においては、通常クライアン
トコンピュータ33にサービスを提供しているサーバコ
ンピュータ35が正常に動作しているときのIPパケッ
トの流れを矢印で示している。
In FIG. 10, arrows indicate the flow of IP packets when the server computer 35 which normally provides services to the client computer 33 is operating normally.

【0072】以上の構成を有するLANシステムにおい
て、サーバコンピュータ35が正常に動作している場
合、クライアントコンピュータ33がサーバコンピュー
タ35のサービスを利用する際に送出するIPパケット
は、サーバコンピュータ35の上位2バイト“5.5”
がクライアントコンピュータ33のネットID“5.
5”と同一であるためサーバコンピュータ35へ直接送
信される。一方、サーバコンピュータ35がクライアン
トコンピュータ33へ返信するIPパケットは、クライ
アントコンピュータ31のIPアドレスの上位3バイト
“5.5.5”がサーバコンピュータ35のネットID
“5.5.5”と同一であるためクライアントコンピュ
ータ33へ直接送信される。なお、同様にしてクライア
ントコンピュータ34とサーバコンピュータ36とは、
相互に直接IPパケットの送受信をすることができる。
In the LAN system having the above configuration, when the server computer 35 is operating normally, the IP packet transmitted when the client computer 33 uses the service of the server computer 35 is transmitted to the upper two Byte "5.5"
Is the net ID “5.
5 ”is transmitted directly to the server computer 35. On the other hand, in the IP packet returned from the server computer 35 to the client computer 33, the upper three bytes“ 5.5.5 ”of the IP address of the client computer 31 are the same. Net ID of server computer 35
Since it is the same as “5.5.5”, it is transmitted directly to the client computer 33. Similarly, the client computer 34 and the server computer 36
IP packets can be transmitted and received directly to each other.

【0073】また、クライアントコンピュータ33がサ
ーバコンピュータ36のサービスを利用する際に送出す
るIPパケットは、サーバコンピュータ36の上位2バ
イト“5.5”がクライアントコンピュータ33のネッ
トID“5.5”と同一であるためサーバコンピュータ
36へ直接送信される。一方、サーバコンピュータ36
がクライアントコンピュータ33へ返信するIPパケッ
トは、クライアントコンピュータ33のIPアドレスの
上位3バイト“5.5.5”がサーバコンピュータ36
のネットID“5.5.4”と同一でないためクライア
ントコンピュータ33へ直接送信されない。そこで、ア
ドレス変換装置37は、クライアントコンピュータ33
に代わってサーバコンピュータ36のネットID“5.
5.4”と同一であるサーバ間通信処理部39からその
IPパケットを受信し、そのIPパケットのIPアドレ
スを“5.5.5.6”に変換する。このIPアドレス
は、クライアント間通信処理部38に設定されているア
ドレスであり、ネットIDは“5.5”である。クライ
アントコンピュータ33は、このようなアドレス変換を
行うアドレス変換装置37を介することによって、サー
バコンピュータ36が送出したIPパケットを受信する
ことができる。
In the IP packet transmitted when the client computer 33 uses the service of the server computer 36, the upper two bytes “5.5” of the server computer 36 have the net ID “5.5” of the client computer 33. Since they are the same, they are transmitted directly to the server computer 36. On the other hand, the server computer 36
Returns the upper three bytes “5.5.5” of the IP address of the client computer 33 to the client computer 33.
And is not directly transmitted to the client computer 33 because it is not the same as the net ID “5.5. Therefore, the address translation device 37
Instead of the net ID “5.
The IP packet is received from the server-to-server communication processing unit 39 which is the same as “5.4”, and the IP address of the IP packet is converted to “5.5.5.6”. The address is the address set in the processing unit 38, and the net ID is “5.5.” The client computer 33 transmits the address from the server computer 36 via the address translation device 37 that performs such address translation. An IP packet can be received.

【0074】このように、サーバコンピュータ35の正
常時においては、本実施の形態のアドレス変換装置37
がゲートウェイとしての機能も発揮できることを明らか
にしている。
As described above, when the server computer 35 is operating normally, the address translator 37 of this embodiment is used.
Can also function as a gateway.

【0075】次に、サーバコンピュータ35が故障など
により停止したときの本実施の形態におけるLANシス
テムの動作について説明する。ここで説明する動作は、
異なるクラスのIPアドレスを有するコンピュータ間に
おけるパケット通信を例にしているだけで、基本的には
実施の形態1と同じである。
Next, the operation of the LAN system according to the present embodiment when the server computer 35 stops due to a failure or the like will be described. The operation described here is
This embodiment is basically the same as the first embodiment except that packet communication between computers having different classes of IP addresses is taken as an example.

【0076】アドレス変換装置37は、サーバコンピュ
ータ36からの通知によりサーバコンピュータ35の故
障を検知すると、その通知に含まれていたサーバコンピ
ュータ35のIPアドレス“5.5.5.5”でクライ
アント間通信処理部38のIPアドレスを変更する。こ
のとき、クライアント間通信処理部38に設定されるI
PアドレスのネットIDは、サブネットマスクの設定に
より“5.5”となる。
When the address translation device 37 detects a failure of the server computer 35 based on the notification from the server computer 36, the address translation device 37 transmits the IP address "5.5.5.5" The IP address of the communication processing unit 38 is changed. At this time, the I set in the inter-client communication processing unit 38
The net ID of the P address is “5.5” depending on the setting of the subnet mask.

【0077】その後、クライアントコンピュータ33
は、サーバコンピュータ35を指定したサービス要求用
のIPパケットを送出すると、サーバコンピュータ35
のIPアドレスを引き継いだアドレス変換装置37がサ
ーバコンピュータ35に代わってそのIPパケットを受
信する。このとき、クライアントコンピュータ33及び
クライアント間通信処理部38ともネットIDは“5.
5”なので、アドレス変換装置37は、クライアントコ
ンピュータ33からのIPパケットを直接受信すること
ができる。そして、宛先のIPアドレスをサーバコンピ
ュータ36のIPアドレス“5.5.4.5”に変換し
て送出する。
Thereafter, the client computer 33
Sends out a service request IP packet designating the server computer 35,
The address translator 37, which has succeeded the IP address of the above, receives the IP packet on behalf of the server computer 35. At this time, both the client computer 33 and the inter-client communication processing unit 38 have the net ID “5.
5 ", the address translation device 37 can directly receive the IP packet from the client computer 33. Then, the destination translation IP address is translated into the IP address" 5.5.4.5 "of the server computer 36. And send it out.

【0078】サーバコンピュータ36は、クライアント
コンピュータ33からのIPパケットをアドレス変換装
置37経由で受信する。なお、サーバ間通信処理部39
及びサーバコンピュータ36のネットIDは、共に
“5.5.4”なので、サーバコンピュータ36は、ア
ドレス変換装置37からのIPパケットを直接受信する
ことができる。サーバコンピュータ36は、サービス要
求に応えてIPパケットを返信するが、このIPパケッ
トの送信元IPアドレスにサーバコンピュータ36のI
Pアドレス“5.5.4.5”を、宛先IPアドレスに
クライアントコンピュータ33の“5.5.5.3”
を、それぞれ設定する。
The server computer 36 receives the IP packet from the client computer 33 via the address translator 37. The server-to-server communication processing unit 39
Since the server computer 36 and the net ID of the server computer 36 are both “5.5.4”, the server computer 36 can directly receive the IP packet from the address translation device 37. The server computer 36 returns an IP packet in response to the service request, and the IP address of the server computer 36 is added to the source IP address of the IP packet.
The P address “5.5.4.5” is set to “5.5.5.3” of the client computer 33 as the destination IP address.
Are set respectively.

【0079】アドレス変換装置37は、サーバコンピュ
ータ36がクライアントコンピュータ33へ送出したI
Pパケットを、実施の形態1と同様にしてサーバ間通信
処理部39から受け取ると、そのIPパケットの送信元
IPアドレスをクライアント間通信処理部38のIPア
ドレスすなわちサーバコンピュータ35のIPアドレス
“5.5.5.5”に変換して送出する。
The address translator 37 transmits the I data transmitted from the server computer 36 to the client computer 33.
When the P packet is received from the server-to-server communication processing unit 39 in the same manner as in the first embodiment, the source IP address of the IP packet is changed to the IP address of the client-to-client communication processing unit 38, that is, the IP address of the server computer 35 "5. 5.5.5 "and send.

【0080】これにより、クライアントコンピュータ3
3は、サーバコンピュータ35へ送出した要求用のIP
パケットの応答として、実際にはサーバコンピュータ3
6が提供したサービスを受けることができる。
Thus, the client computer 3
3 is the IP for the request sent to the server computer 35
In response to the packet, the server computer 3
6 can receive the service provided.

【0081】以上のように、本実施の形態によれば、異
なるクラスのIPアドレスを有するコンピュータ間にお
いても実施の形態1と同様の効果を奏することができ
る。
As described above, according to the present embodiment, the same effects as in the first embodiment can be obtained between computers having different classes of IP addresses.

【0082】なお、本実施の形態においては、アドレス
変換装置37がゲートウェイとしての機能を発揮するこ
とにより、クライアントコンピュータ33は、サーバコ
ンピュータ36が独自に提供するサービスを受けること
ができるようにした。しかし、停止したサーバコンピュ
ータ35の代替用としてサーバコンピュータ36が動作
しているときには、サーバコンピュータ36は、独自の
サービスをクライアントコンピュータ33に対して提供
することはできない。これは、アドレス変換装置37の
アドレス変換機能によりサーバコンピュータ36がクラ
イアントコンピュータ33へ送出するIPパケットの送
信元IPアドレスをサーバコンピュータ35のIPアド
レスに自動的に変換してしまうからである。但し、IP
パケットに他の識別情報を付加するなど対処することに
よって解消することは可能である。
In the present embodiment, the client computer 33 can receive the service provided by the server computer 36 independently by the function of the address translator 37 as a gateway. However, when the server computer 36 is operating as a substitute for the stopped server computer 35, the server computer 36 cannot provide its own service to the client computer 33. This is because the server computer 36 automatically translates the source IP address of the IP packet sent to the client computer 33 into the IP address of the server computer 35 by the address translation function of the address translation device 37. However, IP
The problem can be solved by taking measures such as adding other identification information to the packet.

【0083】なお、上記各実施の形態では、TCP/I
Pに基づく通信を行うLANシステムを例にして説明し
たが、TCP/IPと同様にパケットの宛先として論理
アドレスを指定するような通信プロトコルにも適用する
ことができる。
In each of the above embodiments, the TCP / I
Although a LAN system that performs communication based on P has been described as an example, the present invention can also be applied to a communication protocol that specifies a logical address as a destination of a packet, similarly to TCP / IP.

【0084】[0084]

【発明の効果】本発明によれば、クライアントコンピュ
ータがサービスの利用先を常に第1のサーバコンピュー
タと指定してパケットを送出したとしても、第1のサー
バコンピュータが停止しているときには第1のサーバコ
ンピュータに代わってパケットを受信し、その宛先を第
2のサーバコンピュータへとアドレス変換をするように
したので、クライアントコンピュータが送出したパケッ
トを代替用の第2のサーバコンピュータへ送り届けるこ
とができる。また、第2のサーバコンピュータが送出し
たパケットを中継し、そのパケットに対してアドレス変
換を行うようにしたので、第1のサーバコンピュータの
稼動状態に関係なくクライアントコンピュータにサービ
スを利用させることができる。従って、クライアントコ
ンピュータが第1のサーバコンピュータの名称と論理ア
ドレスとの対応関係を保持していても、あるいは論理ア
ドレスの照会結果をキャッシュし、毎回それを使用する
ようにしていても、クライアントコンピュータは、サー
ビスを確実に利用することができる。
According to the present invention, even if a client computer always sends a packet specifying a service use destination as a first server computer, the first server computer is stopped when the first server computer is stopped. Since the packet is received on behalf of the server computer and its destination is translated to the second server computer, the packet sent by the client computer can be delivered to the second server computer for substitution. In addition, since the packet transmitted by the second server computer is relayed and the packet is subjected to the address translation, the service can be used by the client computer regardless of the operation state of the first server computer. . Therefore, even if the client computer holds the correspondence between the name of the first server computer and the logical address, or caches the query result of the logical address and uses it every time, the client computer is , The service can be reliably used.

【0085】また、クライアントコンピュータは、異な
るネットワークシステムに属する第2のサーバコンピュ
ータから直接サービスを受けることはできないが、本発
明のように、クライアントコンピュータが送出したパケ
ットに対してアドレス変換処理を行うようにしているた
め、クライアントコンピュータは、異なるネットワーク
システムに属する第2のサーバコンピュータが提供する
サービスを利用することができるようになる。これは、
例えばTCP/IPに基づくLANシステムにおいて、
クラスの異なるIPアドレスのコンピュータが同一LA
Nに接続されている場合でも可能である。
Although the client computer cannot directly receive the service from the second server computer belonging to a different network system, the client computer performs an address conversion process on the packet transmitted by the client computer as in the present invention. Therefore, the client computer can use the service provided by the second server computer belonging to a different network system. this is,
For example, in a LAN system based on TCP / IP,
Computers with IP addresses of different classes are in the same LA
It is possible even when connected to N.

【0086】また、アドレス解決手段を設けたので、第
1のサーバコンピュータに代わって他のコンピュータか
らの問合せに対して物理アドレスを返すことができる。
Further, since the address resolution means is provided, a physical address can be returned in response to an inquiry from another computer in place of the first server computer.

【0087】また、代替用のアドレス変換装置を設ける
ことにより動作中のアドレス変換装置が故障等により停
止したときにでも、停止したアドレス変換装置が行って
いた同様の処理を継続して行うことができるので、LA
Nシステムにおける信頼性を向上させることができる。
Further, by providing a substitute address translator, even when the operating address translator is stopped due to a failure or the like, the same processing performed by the stopped address translator can be continuously performed. LA
The reliability in the N system can be improved.

【0088】また、アドレス変換装置にゲートウェイと
しての機能を持たせることにより、第1のサーバコンピ
ュータの正常動作時においてクライアントコンピュータ
は、異なるネットワークシステムに属する第2のサーバ
コンピュータが独自に提供するサービスを受けることが
できる。
Also, by providing the address translation device with a function as a gateway, when the first server computer is operating normally, the client computer can provide services independently provided by the second server computer belonging to a different network system. Can receive.

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

【図1】 本発明に係るアドレス変換装置の実施の形態
1を示した機能ブロック図である。
FIG. 1 is a functional block diagram showing a first embodiment of an address translation device according to the present invention.

【図2】 実施の形態1におけるLANシステムの全体
構成図である。
FIG. 2 is an overall configuration diagram of a LAN system according to the first embodiment.

【図3】 図2に示したLAN構成において稼動系のサ
ーバコンピュータが正常に稼動しているときのIPパケ
ットの流れとそのアドレス情報とを示した図である。
FIG. 3 is a diagram showing a flow of an IP packet and address information thereof when an active server computer is operating normally in the LAN configuration shown in FIG. 2;

【図4】 図2に示したLAN構成において稼動系のサ
ーバコンピュータが故障しているときのIPパケットの
流れとそのアドレス情報を示した図である。
4 is a diagram showing a flow of IP packets and address information when an active server computer has failed in the LAN configuration shown in FIG. 2;

【図5】 図2に示したLAN構成においてサーバコン
ピュータが故障しているときのIPパケットの流れとそ
のアドレス情報を示した図である。
5 is a diagram showing a flow of IP packets and address information thereof when a server computer has failed in the LAN configuration shown in FIG. 2;

【図6】 実施の形態1におけるアドレス変換装置の処
理を示したフローチャートである。
FIG. 6 is a flowchart showing processing of the address translation device according to the first embodiment.

【図7】 実施の形態2におけるLANシステムの全体
構成図である。
FIG. 7 is an overall configuration diagram of a LAN system according to a second embodiment.

【図8】 実施の形態3におけるLANシステムの全体
構成図である。
FIG. 8 is an overall configuration diagram of a LAN system according to a third embodiment.

【図9】 実施の形態4におけるLANシステムの全体
構成図である。
FIG. 9 is an overall configuration diagram of a LAN system according to a fourth embodiment.

【図10】 実施の形態5におけるLANシステムの全
体構成を稼動系のサーバコンピュータの正常動作時にお
けるIPパケットの流れと共に示した図である。
FIG. 10 is a diagram showing an overall configuration of a LAN system according to a fifth embodiment together with a flow of an IP packet during a normal operation of an active server computer.

【図11】 実施の形態5におけるLANシステムの全
体構成を稼動系のサーバコンピュータの停止時における
IPパケットの流れと共に示した図である。
FIG. 11 is a diagram showing an entire configuration of a LAN system according to a fifth embodiment together with a flow of IP packets when an active server computer is stopped.

【図12】 従来のネットワークシステムの一例を示し
た全体構成図である。
FIG. 12 is an overall configuration diagram showing an example of a conventional network system.

【図13】 従来の通信システムのブロック構成図であ
る。
FIG. 13 is a block diagram of a conventional communication system.

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

1,2,28,29,35,36 サーバコンピュー
タ、3,33,34 クライアントコンピュータ、5
LAN、10,27,30,37 アドレス変換装置、
11,31,38 クライアント間通信処理部、12,
32,39 サーバ間通信処理部、13 アドレス変換
部、14 アドレス解決部、15 サーバ監視部、21
〜26 IPパケット。
1, 2, 28, 29, 35, 36 server computer, 3, 33, 34 client computer, 5
LAN, 10, 27, 30, 37 address translator,
11, 31, 38 inter-client communication processing unit, 12,
32, 39 inter-server communication processing unit, 13 address conversion unit, 14 address resolution unit, 15 server monitoring unit, 21
~ 26 IP packets.

フロントページの続き (56)参考文献 特開 昭62−198238(JP,A) 特開 平4−27239(JP,A) 特開 平6−318946(JP,A) 特開 平8−235084(JP,A) 特開 平8−335198(JP,A) 特開 平9−224048(JP,A) 特開 平9−326810(JP,A) 特開 平10−23074(JP,A) RFC826:Request For Comments 826,An Et hernet Address Res olution Protocol o r Converting Netwo rk Protocol Addres ses to 48.bit Ether net Address for Tr ansmission on Ethe rnet Hardware,Davi d C.P,Nov,1982 (58)調査した分野(Int.Cl.6,DB名) H04L 12/28 G06F 13/00 355 INSPEC(DIALOG) JICSTファイル(JOIS) WPI(DIALOG)Continuation of the front page (56) References JP-A-62-198238 (JP, A) JP-A-4-27239 (JP, A) JP-A-6-318946 (JP, A) JP-A-8-235084 (JP) JP-A-8-335198 (JP, A) JP-A-9-224048 (JP, A) JP-A-9-326810 (JP, A) JP-A-10-23074 (JP, A) RFC826: Request For Comments 826, An Ethernet Address Resolution Protocol Converting Network Talk Protocol Addresses to 48. bit Ethernet address for Transaction on Ethernet Hardware, David C. et al. P, Nov, 1982 (58) Fields investigated (Int. Cl. 6 , DB name) H04L 12/28 G06F 13/00 355 INSPEC (DIALOG) JICST file (JOIS) WPI (DIALOG)

Claims (9)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 サービスを提供する第1のサーバコンピ
ュータと、前記第1のサーバコンピュータと異なる論理アドレスが
設定され、 前記第1のサーバコンピュータと同一のサー
ビスを提供する第2のサーバコンピュータと、 前記サーバコンピュータが提供するサービスを利用する
クライアントコンピュータと、 を有し、前記各コンピュータは、同一ローカルエリアネ
ットワークに接続され、宛先の論理アドレスを指定して
パケット通信を行うローカルエリアネットワークシステ
ムにおいて、前記第1のサーバコンピュータの動作状態を監視するサ
ーバ監視手段と、 停止した前記第1のサーバコンピュータの論理アドレス
を引き継ぐことで前記第1のサーバコンピュータに代わ
って前記クライアントコンピュータが送信したパケット
を受信するクライアント間通信処理手段と、 前記クライアント間通信処理手段が受信したパケットの
宛先を前記第2のサーバコンピュータに変換するアドレ
ス変換手段と、 前記アドレス変換手段によりアドレス変換されたパケッ
トを前記第2のサーバコンピュータに送信するサーバ間
通信処理手段と、 を有し、前記各サーバコンピュータと別個に設けられ、
前記第1のサーバコンピュータの正常動作時には前記各
コンピュータが送信したパケットを中継せず、前記第1
のサーバコンピュータの停止時のみ前記クライアントコ
ンピュータが送信した前記第1のサーバコンピュータ宛
のパケットのアドレス変換を行うことを特徴とするロー
カルエリアネットワークシステムにおけるアドレス変換
装置。
A first server computer for providing a service and a logical address different from the first server computer are provided.
A second server computer configured to provide the same service as the first server computer, and a client computer using a service provided by the server computer, wherein each computer has the same local area network In a local area network system connected to the network and performing packet communication by designating a destination logical address, a server for monitoring an operation state of the first server computer.
Server monitoring means, client-to-client communication processing means for receiving a packet transmitted by the client computer on behalf of the first server computer by taking over the logical address of the stopped first server computer, Address conversion means for converting the destination of the packet received by the communication processing means to the second server computer, and server-to-server communication processing means for transmitting the packet whose address has been converted by the address conversion means to the second server computer; , it has a separately provided with the respective server computer,
During normal operation of the first server computer,
Do not relay the packet transmitted by the computer,
Only when the server computer is stopped, the client
To the first server computer transmitted by the computer
An address translation device in a local area network system, which performs address translation of a packet .
【請求項2】 前記サーバ間通信処理手段は、送信した
前記アドレス変換されたパケットに応じて前記第2のサ
ーバコンピュータが送出した前記クライアントコンピュ
ータへのパケットを中継するために受信し、 前記アドレス変換手段は、前記サーバ間通信処理手段が
受信したパケットの送信元を前記第1のサーバコンピュ
ータに変換し、 前記クライアント間通信処理手段は、前記アドレス変換
手段によりアドレス変換されたパケットを前記クライア
ントコンピュータに送信することを特徴とする請求項1
記載のローカルエリアネットワークシステムにおけるア
ドレス変換装置。
2. The server-to-server communication processing means transmits
Receiving the packet transmitted from the second server computer to the client computer in accordance with the address-translated packet, to relay the packet received by the server-to-server communication processing unit; 2. The apparatus according to claim 1, wherein the first server computer converts the packet to the first server computer, and wherein the client-to-client communication processing unit transmits the packet whose address has been converted by the address conversion unit to the client computer.
An address translation device in a local area network system as described in the above.
【請求項3】 受け取った照会用パケットに基づき前記
ローカルエリアネットワークに接続されたコンピュータ
の論理アドレスに対応する物理アドレスを返すアドレス
解決手段を有することを特徴とする請求項1又は2いず
れかに記載のローカルエリアネットワークシステムにお
けるアドレス変換装置。
3. An apparatus according to claim 1, further comprising address resolution means for returning a physical address corresponding to a logical address of a computer connected to the local area network based on the received inquiry packet. Address translation device in a local area network system.
【請求項4】 宛先の論理アドレスを指定して同一ロー
カルエリアネットワークを介してパケット通信を行うロ
ーカルエリアネットワークシステムにおいて、 サービスを提供する第1のサーバコンピュータと、前記第1のサーバコンピュータと異なる論理アドレスが
設定され、 前記第1のサーバコンピュータと同一のサー
ビスを提供する代替用の第2のサーバコンピュータと、 前記サーバコンピュータが提供するサービスを利用する
クライアントコンピュータと、前記各サーバコンピュータと別個に設けられ、前記第1
のサーバコンピュータの停止時のみ 前記クライアントコ
ンピュータと前記サーバコンピュータとの間で送受され
るパケットを中継するアドレス変換装置と、 を有し、同一のサービスを提供する前記第1及び前記第2のサー
バコンピュータが少なくとも1組形成されており、 前記アドレス変換装置は、前記第1のサーバコンピュータが停止した時点で、その
停止した前記第1のサーバコンピュータの論理アドレス
を引き継ぐことで当該第1のサーバコンピュータに代わ
って前記クライアントコンピュータが送信したパケット
を受信するクライアント間通信処理手段と、 前記クライアント間通信処理手段が受信したパケットの
宛先を当該第1のサーバコンピュータと組を形成する
記第2のサーバコンピュータに変換するアドレス変換手
段と、 前記アドレス変換手段によりアドレス変換されたパケッ
トを当該第2のサーバコンピュータに送信するサーバ間
通信処理手段と、 を有し、前記第1のサーバコンピュータの停止に伴う前
記第2のサーバコンピュータの論理アドレスの変更を行
うことなく前記クライアントコンピュータへのサービス
を継続して提供することを特徴とするローカルエリアネ
ットワークシステム。
4. In a local area network system for performing packet communication via the same local area network by designating a destination logical address, a first server computer for providing a service, and a logic different from the first server computer. Address is
A second server computer that is set and provides the same service as the first server computer, a client computer that uses a service provided by the server computer, and is provided separately from each of the server computers. The first
An address translation device that relays a packet transmitted / received between the client computer and the server computer only when the server computer is stopped, wherein the first and second servers provide the same service.
Ba computer has at least one pair formed, said address translation unit, wherein when the first server computer is down, it in the first to take over the logical address of the first server computer that has stopped server A client-to-client communication processing unit for receiving a packet transmitted by the client computer on behalf of a computer; and a destination of the packet received by the client-to-client communication processing unit before forming a pair with the first server computer. possess a serial second server into a computer address conversion means, and the inter-server communication processing means for transmitting the address conversion packet to the second server computer by said address converting means, wherein the first server Before computer shutdown
Change the logical address of the second server computer
Service to the client computer
A local area network system characterized by continuously providing services .
【請求項5】 前記サーバ間通信処理手段は、送信した
前記アドレス変換されたパケットに応じて前記第2のサ
ーバコンピュータが送出した前記クライアントコンピュ
ータへのパケットを中継するために受信し、 前記アドレス変換手段は、前記サーバ間通信処理手段が
受信したパケットの送信元を前記第2のサーバコンピュ
ータと組を形成する前記第1のサーバコンピュータに変
換し、 前記クライアント間通信処理手段は、前記アドレス変換
手段によりアドレス変換されたパケットを前記クライア
ントコンピュータに送信することを特徴とする請求項4
記載のローカルエリアネットワークシステム。
5. The server-to-server communication processing means transmits
Receiving the packet transmitted from the second server computer to the client computer in accordance with the address-translated packet, to relay the packet received by the server-to-server communication processing unit; Source to the second server computer
5. The method according to claim 4, wherein the first server computer forms a pair with the data, and the client-to-client communication processing unit transmits the packet whose address has been converted by the address conversion unit to the client computer.
The local area network system as described.
【請求項6】 代替用の前記アドレス変換装置を設けた
ことを特徴とする請求項4又は5いずれかに記載のロー
カルエリアネットワークシステム。
6. Local area network system according to claim 4 or 5, characterized in that <br/> provided with the address translator for substitution.
【請求項7】 前記ローカルエリアネットワークには、
ネットワークアドレスによって分割された異なるネット
ワークシステムが複数混在しており、 組を形成する前記第1のサーバコンピュータ及び前記第
2のサーバコンピュータは、それぞれの論理アドレスに
異なるネットワークアドレスが割り当てられることによ
って異なるネットワークシステムに属している ことを特
徴とする請求項4又は5いずれかに記載のローカルエリ
アネットワークシステム。
7. The local area network includes:
Different nets divided by network address
A plurality of work systems are mixed, and the first server computer and the
The two server computers have their own logical addresses
By assigning different network addresses
6. The local area network system according to claim 4, wherein the local area network system belongs to different network systems.
【請求項8】 前記アドレス変換装置を前記各組に対応
させて設けることを特徴とする請求項7記載のローカル
エリアネットワークシステム。
8. The local area network system according to claim 7, wherein said address translator is provided corresponding to each of said sets.
【請求項9】 前記アドレス変換装置にゲートウェイと
しての機能を持たせたことを特徴とする請求項4又は5
いずれかに記載のローカルエリアネットワークシステ
ム。
9. The address translation device according to claim 4, wherein said address translation device has a function as a gateway.
The local area network system according to any one of the above.
JP9252226A 1997-09-17 1997-09-17 Local area network system and address translator in local area network system Expired - Lifetime JP2911431B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9252226A JP2911431B2 (en) 1997-09-17 1997-09-17 Local area network system and address translator in local area network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9252226A JP2911431B2 (en) 1997-09-17 1997-09-17 Local area network system and address translator in local area network system

Publications (2)

Publication Number Publication Date
JPH1198144A JPH1198144A (en) 1999-04-09
JP2911431B2 true JP2911431B2 (en) 1999-06-23

Family

ID=17234277

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9252226A Expired - Lifetime JP2911431B2 (en) 1997-09-17 1997-09-17 Local area network system and address translator in local area network system

Country Status (1)

Country Link
JP (1) JP2911431B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3525842B2 (en) 2000-02-01 2004-05-10 日本電気株式会社 Network scanner device and recording medium recording program
JP5270603B2 (en) * 2010-03-25 2013-08-21 株式会社野村総合研究所 Virtual environment data transfer system and virtual environment data transfer device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
RFC826:Request For Comments 826,An Ethernet Address Resolution Protocol or Converting Network Protocol Addresses to 48.bit Ethernet Address for Transmission on Ethernet Hardware,David C.P,Nov,1982

Also Published As

Publication number Publication date
JPH1198144A (en) 1999-04-09

Similar Documents

Publication Publication Date Title
JP3224745B2 (en) High reliability network system and server switching method
US5805924A (en) Method and apparatus for configuring fabrics within a fibre channel system
US6049825A (en) Method and system for switching between duplicated network interface adapters for host computer communications
US20060206611A1 (en) Method and system for managing programs with network address
JP4231773B2 (en) VRRP technology that maintains the confidentiality of VR
JP4789425B2 (en) Route table synchronization method, network device, and route table synchronization program
JPH11205356A (en) Communication control system
JP2002057682A (en) Network interface changeover method and computer connectable to network
JPH09259096A (en) System for enhancing reliability of network
US20040199644A1 (en) Method of assigning a virtual network identifier to a terminal, and a terminal, a dynamic host configuration server, and a directory server for implementing the method
JP2002217941A (en) Network address reallocating method and router
JP2911431B2 (en) Local area network system and address translator in local area network system
JPH10320327A (en) Method for switching duplexed communication adapter and switching system and recording medium for storing program for switching
JP4015770B2 (en) Cluster system, server computer, and load balancing method
JP2004306200A (en) Robot control system
US20020154644A1 (en) Method and router for switching data between a local area network and an external appliance
Cisco Protocol Translation
Cisco Protocol Translation
Cisco Protocol Translation
Cisco Protocol Translation
Cisco Protocol Translation
Cisco Protocol Translation
Cisco Protocol Translation
Cisco Protocol Translation
US10931565B2 (en) Multi-VRF and multi-service insertion on edge gateway virtual machines