JP3999353B2 - Method and system for determining communication path in computer network, and recording medium on which program is recorded - Google Patents

Method and system for determining communication path in computer network, and recording medium on which program is recorded Download PDF

Info

Publication number
JP3999353B2
JP3999353B2 JP15003998A JP15003998A JP3999353B2 JP 3999353 B2 JP3999353 B2 JP 3999353B2 JP 15003998 A JP15003998 A JP 15003998A JP 15003998 A JP15003998 A JP 15003998A JP 3999353 B2 JP3999353 B2 JP 3999353B2
Authority
JP
Japan
Prior art keywords
address
communication path
communication
normal
routing table
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 - Fee Related
Application number
JP15003998A
Other languages
Japanese (ja)
Other versions
JPH11341042A (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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP15003998A priority Critical patent/JP3999353B2/en
Publication of JPH11341042A publication Critical patent/JPH11341042A/en
Application granted granted Critical
Publication of JP3999353B2 publication Critical patent/JP3999353B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Hardware Redundancy (AREA)
  • Multi Processors (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、コンピュータネットワークにおける通信経路の決定方法ならびにシステム及び同方法がプログラムされ記録される記録媒体に関する。
【0002】
【従来の技術】
メインフレームからパソコンに至るコンピュータの飛躍的な発展に伴い、公衆パケット交換網、付加価値通信網(VAN)、広域専用網(WAN)、ローカルエリアネットワーク(LAN)等種々のコンピュータネットワークが構築されてきた。近年、これらのネットワーク間を相互に接続することにより、個別の枠を超えた情報交換やコンピュータ資源の共有も可能になった。
【0003】
ところで、LANが二重化されたコンピュータネットワークでは、ネットワークに接続されたそれぞれのコンピュータ及びプリンタ等周辺装置に、LAN毎通信が可能であるか否かの情報を設定する回線管理テーブルが用意される。ネットワークに接続された機器間で通信を行う場合、それぞれの回線テーブルの情報を元に、通信が可能な方のLANを指定してデータを送信する。回線管理テーブルは、いずれかのLANを経由して通信を行った際の通信結果、もしくは定期的に検査用のデータを送信し、その検査データの通信結果を基に更新される。
【0004】
【発明が解決しようとする課題】
上述したLANが二重化されたコンピュータネットワークシステムにおいて、通信を行うプログラムは、通信が可能なLANを直接指定してデータを送信する。従って、通信プログラムをLAN多重化対応とするためには、LAN障害時にLANの切り替えが行われるように、通信が可能なLANを直接指定して通信を行う処理を追加する必要がある。このように、どのような経路で相手に接続するかを常に考慮し、また、障害発生等によっても通信経路を切り換える必要があり、このために、IPアドレスの再設定等プログラマにかかる負担が大きかった。
【0005】
本発明は上記事情に鑑みてなされたものであり、通常のIPアドレスとは別の、通信経路情報が明示的でない論理IPアドレスをLANに接続される個々の装置に割付け、ルーティングテーブルの設定を通信経路の状態に応じてダイナミックに変更することにより、プログラムの内部処理を変更せずに、プログラマの負担軽減をはかったコンピュータネットワークにおける通信経路の決定方法ならびにシステム及び同方法がプログラムされ記録される記録媒体を提供することを目的とする。
【0006】
【課題を解決するための手段】
本発明によるコンピュータネットワークにおける通信経路の決定方法は、通信回線が多重化され、上記多重化された回線毎それぞれのネットワークアダプタを介して接続される複数の機器から成るコンピュータネットワークにおける通信経路の決定方法であって、ネットワークアダプタに対しては通信経路が明示的なアドレスを割り付けられ、前記複数の機器には上記アドレスとは別の通信経路情報が明示的でない論理アドレスが個々に割り付けられており、相手機器に対し、多重化された回線経由で通信経路が正常か否かを確認するためのパケットを送信し、
この送信パケットに対し前記相手機器からどの通信経路による返信パケットを受信できたかによりその通信路の正常異常を判断し、第1の通信経路が正常であると判断されたとき、ルーティングテーブルに対し、論理アドレスの経路情報として第1のネットワークアダプタのアドレスがゲートウェイであることを登録し、
第2の通信経路が正常であると判断されたときは、前記ルーティングテーブルに対し、論理アドレスの経路情報として第2のネットワークアダプタのアドレスがゲートウェイであることを登録し、前記いずれかのネットワークアダプタのアドレスがゲートウェイであることを登録されたルーティングテーブルを参照して通信経路を決定することを特徴とする。
【0007】
また、本発明方法では、多重化された回線毎それぞれのネットワークアダプタを介して接続される複数の機器の一方であるクライアントコンピュータが、相手機器であるサーバコンピュータに接続する際、ルーティングテーブルに、通信経路が明示的でない論理アドレスの経路情報として、第1のネットワークアダプタに割り付けられたIPアドレスがゲートウェイとして登録されているとき、第1の通信回線を使用し、第2のネットワークアダプタに割り付けられたIPアドレスがゲートウェイとして登録されているとき、第2の通信回線を使用する。
【0008】
本発明によるコンピュータネットワークシステムは、通信回線が多重化され、上記多重化された回線毎それぞれのネットワークアダプタを介して接続される複数の機器から成るコンピュータネットワークシステムであって、ネットワークアダプタに対しては通信経路が明示的なアドレスが割り付けられ、前記複数の機器には上記アドレスとは別の通信経路情報が明示的でない論理アドレスが個々に割り付けられており、前記複数の機器の一方には前記論理アドレスへの経路情報を登録可能なルーティングテーブルが設けられ、一方の機器から相手機器に対し、多重化された回線経由で通信路が正常か否かを確認するためのパケットを送信し、この送信パケットに対する前記相手機器からの返信パケットを受信することにより、この受信パケットが送られてきた通信経路を正常と判断し、第1の通信経路が正常と判断されたときは、前記ルーティングテーブルに対し、論理アドレスの経路情報として第1のネットワークアダプタのアドレスがゲートウェイであることを登録し、第2の通信経路が正常と判断されたときは、前記ルーティングテーブルに対し、論理アドレスの経路情報として第2のネットワークアダプタのアドレスがゲートウェイであることを登録する経路情報更新手段を備え、前記一方の機器は相手機器との通信経路を、前記いずれかのネットワークアダプタのアドレスがゲートウェイであることを登録されたルーティングテーブルを参照して決定することを特徴とする。
【0010】
本発明の記録媒体は、通信回線が多重化され、上記多重化された回線毎それぞれのネットワークアダプタを介して接続される複数の機器から成り、ネットワークアダプタに対して割り付けられる通常のアドレスとは別の通信経路情報が明示的でない論理アドレスを個々の機器に割り付け、ルーティングテーブルの設定を通信経路の状態に応じて変更するコンピュータネットワークシステムにおいて用いられ、相手機器に対し、多重化された回線経由で通信路が正常か否かを確認するためのパケットを送信するステップと、どの通信路からの返信パケットを受信できたかによりその通信路の正常異常を判断するステップと、第1の通信路が正常であると判断されたとき、ルーティングテーブルに対し、論理アドレスの経路情報として第1のネットワークアダプタのアドレスがゲートウェイであることを登録するステップと、第2の通信路が正常であると判断されたとき、ルーティングテーブルに対し、論理アドレスの経路情報として第2のネットワークアダプタのアドレスがゲートウェイであることを登録するステップと、ルーティングテーブルを参照して通信路を決定するステップとがプログラムされ記録されることを特徴とする。
【0012】
このことにより、論理IPアドレスを使用して通信するプログラムは、どのような経路で相手に接続しているか意識する必要がなく、また、障害等の発生により通信経路を切り替える際もこの論理IPアドレスを指定して接続すればIPアドレスの再設定等の手間を要しない。
【0013】
【発明の実施の形態】
図1は本発明の一実施形態を示すブロック図である。図において、11,12は多重化されたLAN回線であり、このLAN回線11,12にコンピュータ13,14が接続されている。コンピュータ3,4は、それぞれネットワークアダプタ13a及び14aを介してLAN11へ、ネットワークアダプタ13b及び14bを介してLAN12へ接続される。
【0014】
コンピュータ13ではユーザプロセスであるサーバプログラム13dが、コンピュータ14ではそのクライアントプログラム14dが動作している。コンピュータ13は、宛先として論理IPアドレスである13cを指定されたパケットがLAN11及びLAN12経由で受け取られるように構成されているものとする。また、論理アドレス13cには、LAN11及びLAN12ともネットワーク部のアドレスが異なるIPアドレスが割り当てられている。従って、コンピュータ14から見ると、論理アドレス13Cへの経路情報が明示的でないため、コンピュータ14のルーティングテーブル14cに論理IPアドレス1cへの経路情報がないと、コンピュータ14から論理IPアドレス13cを指定して接続することができない。
【0015】
図1に示すコンピュータネットワークシステムにおけるコンピュータ間結合動作について図2に示すフローチャートを参照しながら説明する。クライアントプログラム14dが、サーバプログラム13dへ接続しようとするとき、相手装置のIPアドレスとしてコンピュータ13の論理IPアドレス13cを指定して接続を開始(ステップS21)する。このシステムでは、論理IPアドレス13cへの経路情報が、経路情報更新プログラム13e及び14eによって通信可能なLAN11(12)を使用して接続るように常に更新されている。
【0016】
ここで、ルーティングテーブル14cに、論理IPアドレス13cの経路情報として、ネットワークアダプタ13aのIPアドレスがゲートウェイであると登録されているとLAN11を使用して接続されることになる。一方、ネットワークアダプタ13bのIPアドレスがケートウェイとして登録されているとLAN12が使用されることになる(ステップS22,S23)。
【0017】
図1に示す経路情報更新プログラム13e(14e)は、図3に示すフローチャートに従った手順で処理を行う。経路情報更新プログラム14eは、定期的に経路情報更新プログラム13eに対して、通信路が正常か否かを確認するためのパケットをLAN 11及びLAN12経由で送信(ステップS31)する。そのパケットを受信した経路情報更新プログラム13eは、パケットが送られてきたLAN11(12)を使用して返事を経路情報更新プログラム14eに返す(ステップS32)。返事を受信した経路情報更新プログラム14eは、どの通信路からのパケットを受信できたかによって、その通信路が正常であるか否かを判断する。
【0018】
ここで、正常な通信路がLAN11であった場合、ルーティングテーブル14cに論理IPアドレス13cの経路情報として、ネットワークアダプタ13aのIPアドレスがゲートウェイであると登録(ステップS33)する。一方、正常な通信路がLAN12であると判断された場合、ルーティングテーブル14cに論理IPアドレス13cの経路情報として、ネットワークアダプタ13bのIPアドレスがゲートウェイであると登録(ステップS34)する。LAN11,12共に正常と判断された場合には、あらかじめ指定してある優先度に従いいずれのLANを使用するかが決定(ステップS35)し、決定された方のLANを使用する経路情報を登録する。LAN11,12共に異常であった場合は何もしない(ステップS36)。
【0019】
上記のようにコントロールすることで、クライアントプログラムがサーバプログラムに接続する際に、論理IPアドレスを用いることにより、多重化されたLANのいずれを使用して通信しているかを全く意識せずに接続が可能となる。
【0020】
図4は本発明のコンピュータネットワークシステムにおける他の実施形態を示すブロック図である。図では、同一の論理IPアドレス45が割り付けられたコンピュータ41,42とそのクライアントとしてのコンピュータ43が他の論理IPアドレスが割り付けられたコンピュータ43が単位のLAN44に接続される。コンピュータ41,52,43は、それぞれ、ネットワークアダプタ41a,42a,43aを介してLAN44に接続される。コンピュータ41,42は、宛先として、論理アドレス45を指定されたパケットがLAN44経由で受け取れるよう構成されているものとする。
【0021】
論理IPアドレス45には、LAN44とネットワーク部のアドレスが異なるIPアドレスが割り付けられている。従って、コンピュータ43のルーティングテーブル43eに、コンピュータ41または42のいずれかへの経路情報がないとコンピュータ43から論理IPアドレス45を指定して接続することができない。コンピュータ41,及び42では、ユーザプロセスであるサーバプログラム41bと42bが、コンピュータ43ではそのクライアントプログラム43bが動作している。
【0022】
図5に示すフローチャートを使用して図4に示すコンピュータネットワークシステムの基本動作について説明する。クライアントプログラム43bが、サーバプログラム41bもしくは42bのどちらかへ接続しようとするとき、相手機器のIPアドレスとしてコンピュータ42と42に割り付けられた論理IPアドレス45を指定して接続を開始(ステップS51)する。このシステムでは、クライアントプログラム43bが常に通信可能なサーバプログラム41b(42b)に接続できるように、論理IPアドレス45の経路情報が、経路情報更新プログラム41c,42c,43cによって更新されている。
【0023】
ルーティングテーブル43eに、論理IPアドレス45の経路情報としてネットワークアダプタ41aのIPアドレスがゲートウェイであると登録されていると、クライアントプログラム43bは、サーバプログラム42bに接続され、ネットワークアダプタ42aのIPアドレスがゲートウェイとして登録されているとサーバプログラム42bに接続されるようになっている(ステップS52,S53)。
【0024】
図6に示すフローチャートを参照して経路情報更新プログラム41c,42c,43cの処理手順について説明する。経路情報更新プログラム43cは、定期的に経路情報更新プログラム41c,42cに対して正常に通信を行うことができるか否かを確認するためのパケットを送信(ステップS61)する。そのパケットを受信した経路情報更新プログラム41c及び42cは、返事を経路情報更新プログラム43cに送り返す(ステップS62)。
【0025】
返事を受信した経路情報変更プログラム43cは、返事のパケットを受信できたか否かによって、その通信路及びコンピュータが正常であるか否かを判断する。コンピュータ41との通信が正常に行えると判断した場合はルーティングテーブル43eに論理IPアドレス45の経路情報として、ネットワークアダプタ41aのIPアドレスがゲートウェイであるとして登録(ステップS63)する。コンピュータ42との通信が正常に行えると判断した場合はルーティングテーブル43eに論理IPアドレス45の経路情報として、ネットワークアダプタ42aのIPアドレスがゲートウェイであるとして登録(ステップS64)する。コンピュータ41,42共に通信が正常であった場合は、あらかじめ指定される優先度によっていずれのコンピュータに接続するかが決定(ステップS65)され、決定されたコンピュータへの経路情報がルーティングテーブル43eに登録される。コンピュータ41,42共に通信が不可能であった場合には何もしない(ステップS66)。
【0026】
このように、クライアントプログラムがサーバプログラムに接続を行う際に論理IPアドレスを用いることにより、多重化されたコンピュータのいずれに接続しているかを意識する必要がなくなり、また、接続先のコンピュータを切り替える場合もIPアドレスを再設定することなく切り替えが可能となる。
【0027】
【発明の効果】
以上説明のように本発明は、例えばTCP/IPプロトコルを用いたLANが多重化されたコンピュータネットワークシステムにおいて、LANに接続されるそれぞれの機器がネットワークアダプタに割り付けられているIPアドレスとは別に割り付けられる論理IPアドレスを持ち、装置間の通信をこの論理IPアドレスを用い、また、通信経路の特定をルーティングテーブルを用いて行うことにより、障害等の状態に応じてルーティングテーブルの内容をダイナミックに更新するものであり、このことにより、論理IPアドレスを使用して通信するプログラムは、どのような経路で相手に接続しているかを考慮する必要が無く、また、障害等の発生により通信経路を切り替える際も、論理IPアドレスを指定して接続していればIPアドレスの再設定等の煩わしい作業が不要になる。
【0029】
従って、LANが多重化されたコンピュータネットワークシステムにおいて、そのシステム構成を考慮していない通信プログラムであっても内部のロジックの変更を要せず、論理IPアドレスを指定して接続するように設定するだけで多重化対応を実現できる。
【図面の簡単な説明】
【図1】本発明のコンピュータネットワークシステムにおける一実施形態を示すブロック図、
【図2】図1におけるコンピュータネットワークシステムの基本動作を示すフローチャート、
【図3】本発明の実施形態において使用される経路情報更新プログラムの処理手順を示すフローチャート、
【図4】本発明のコンピュータネットワークシステムにおける他の実施形態を示すブロック図、
【図5】図4におけるコンピュータネットワークシステムの基本動作を示すフローチャート、
【図6】本発明の実施形態において使用される経路情報更新プログラムの処理手順を示すフローチャート、
【符号の説明】
11(12,44)…LAN、13(14,41,42,43)…コンピュータ、13a(13b,14a,14b,41a,42a,43a)…ネットワークアダプタ、13c(45)…論理IPアドレス、13d(41b,42b)…サーバプログラム、14c(43e)…ルーティングテーブル、14d(43b)…クライアントプログラム、13e(14e,41c,42c,43c)…経路情報更新プログラム、
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a method and system for determining a communication path in a computer network, and a recording medium on which the method is programmed and recorded.
[0002]
[Prior art]
With the dramatic development of computers from mainframes to personal computers, various computer networks such as public packet switching networks, value added communication networks (VAN), wide area dedicated networks (WAN), local area networks (LAN) have been constructed. It was. In recent years, it has become possible to exchange information and share computer resources beyond individual boundaries by interconnecting these networks.
[0003]
By the way, in a computer network in which a LAN is duplicated, a line management table for setting information on whether or not communication for each LAN is possible is prepared for each computer and peripheral device such as a printer connected to the network. When communication is performed between devices connected to a network, data is transmitted by designating a LAN capable of communication based on information in each line table. The line management table is updated based on the communication result when communication is performed via any one of the LANs or periodically transmitting inspection data, and the communication result of the inspection data.
[0004]
[Problems to be solved by the invention]
In the above-described computer network system in which the LAN is duplicated, a program for performing communication directly designates a communicable LAN and transmits data. Therefore, in order to make the communication program compatible with LAN multiplexing, it is necessary to add a process for performing communication by directly specifying a LAN capable of communication so that the LAN is switched when a LAN failure occurs. In this way, it is necessary to always consider what route is used to connect to the other party, and it is necessary to switch the communication route even if a failure occurs, which places a heavy burden on the programmer, such as resetting the IP address. It was.
[0005]
The present invention has been made in view of the above circumstances, and assigns a logical IP address whose communication path information is not explicit different from a normal IP address to each device connected to the LAN, and sets a routing table. A method and system for determining a communication path in a computer network that reduces the burden on the programmer without changing the internal processing of the program by dynamically changing according to the state of the communication path, and the same method are programmed and recorded. An object is to provide a recording medium.
[0006]
[Means for Solving the Problems]
A method for determining a communication path in a computer network according to the present invention is a method for determining a communication path in a computer network comprising a plurality of devices in which communication lines are multiplexed and connected via respective network adapters for each of the multiplexed lines. The network adapter is assigned an explicit address as a communication path, and the plurality of devices are individually assigned logical addresses whose communication path information other than the address is not explicit, Send a packet to the partner device to check whether the communication path is normal via the multiplexed line,
Based on which communication path the reply packet can be received from the counterpart device for this transmission packet, it is determined whether the communication path is normal or abnormal, and when it is determined that the first communication path is normal, Register that the address of the first network adapter is a gateway as route information of the logical address,
When it is determined that the second communication route is normal, the fact that the address of the second network adapter is a gateway is registered as route information of the logical address in the routing table, and any one of the network adapters The communication path is determined with reference to a routing table registered that the address of the address is a gateway .
[0007]
In the method of the present invention , when a client computer that is one of a plurality of devices connected via each network adapter for each multiplexed line connects to a server computer that is a counterpart device, a communication is made in the routing table. When the IP address assigned to the first network adapter is registered as a gateway as route information of a logical address whose route is not explicit, it is assigned to the second network adapter using the first communication line. When the IP address is registered as a gateway, the second communication line is used.
[0008]
A computer network system according to the present invention is a computer network system comprising a plurality of devices in which communication lines are multiplexed and connected via respective network adapters for each of the multiplexed lines. An explicit address is assigned to the communication path, and a logical address whose communication path information different from the address is not explicitly assigned to each of the plurality of devices is individually assigned, and one of the plurality of devices has the logical address. A routing table that can register route information to the address is provided, and a packet is sent from one device to the other device via the multiplexed line to check whether the communication path is normal. The received packet is received by receiving a reply packet from the partner device for the packet. When the first communication path is determined to be normal, the address of the first network adapter is the gateway as the logical address path information with respect to the routing table. And when the second communication path is determined to be normal, path information update means for registering that the address of the second network adapter is a gateway as path information of the logical address with respect to the routing table. The one device determines a communication path with the counterpart device by referring to a registered routing table that the address of any one of the network adapters is a gateway.
[0010]
The recording medium of the present invention comprises a plurality of devices in which communication lines are multiplexed and connected via the respective network adapters for each of the multiplexed lines, and is different from the normal addresses assigned to the network adapters. Used in a computer network system that assigns logical addresses whose communication path information is not explicit to individual devices and changes the setting of the routing table according to the state of the communication path. A step of transmitting a packet for confirming whether or not the communication path is normal, a step of determining whether the communication path is normal or not based on which communication path has been received, and the first communication path is normal If the first network is determined as route information of the logical address with respect to the routing table. The step of registering that the address of the work adapter is a gateway, and when the second communication path is determined to be normal, the address of the second network adapter is the gateway information as the logical address path information with respect to the routing table. And the step of referring to the routing table to determine the communication path are programmed and recorded.
[0012]
As a result, a program that communicates using a logical IP address does not need to be aware of what route is used to connect to the other party, and this logical IP address is also used when a communication route is switched due to the occurrence of a failure or the like. If you specify and connect, there is no need to re-set the IP address.
[0013]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 is a block diagram showing an embodiment of the present invention. In the figure, reference numerals 11 and 12 denote multiplexed LAN lines, and computers 13 and 14 are connected to the LAN lines 11 and 12, respectively. The computers 3 and 4 are connected to the LAN 11 via the network adapters 13a and 14a, respectively, and to the LAN 12 via the network adapters 13b and 14b.
[0014]
A server program 13d, which is a user process, runs on the computer 13, and a client program 14d runs on the computer 14. Assume that the computer 13 is configured so that a packet in which the logical IP address 13c is specified as a destination is received via the LAN 11 and the LAN 12. The logical address 13c is assigned an IP address having a different network address for both the LAN 11 and the LAN 12. Therefore, when viewed from the computer 14, for routing information to the logical addresses 13C is not explicit, without the path information to the logical IP address 1 3 c in the routing table 14c of the computer 14, the logical IP address 13c of the computer 14 Cannot connect by specifying.
[0015]
An inter-computer coupling operation in the computer network system shown in FIG. 1 will be described with reference to the flowchart shown in FIG. When the client program 14d tries to connect to the server program 13d, the logical IP address 13c of the computer 13 is designated as the IP address of the partner apparatus and connection is started (step S21). In this system, the route information to the logical IP address 13c, are constantly updated so that to connect using the LAN 11 (12) which can communicate by routing information update program 13e and 14e.
[0016]
Here, if the IP address of the network adapter 13a is registered as a gateway as route information of the logical IP address 13c in the routing table 14c, the LAN 11 is used for connection. On the other hand, if the IP address of the network adapter 13b is registered as a gateway, the LAN 12 is used (steps S22 and S23).
[0017]
The route information update program 13e (14e) shown in FIG. 1 performs processing according to the procedure according to the flowchart shown in FIG. The route information update program 14e periodically transmits a packet for confirming whether the communication path is normal to the route information update program 13e via the LAN 11 and the LAN 12 (step S31). The route information update program 13e that has received the packet returns a reply to the route information update program 14e using the LAN 11 (12) to which the packet has been sent (step S32). The path information update program 14e that has received the reply determines whether or not the communication path is normal depending on from which communication path the packet has been received.
[0018]
Here, if the normal communication path is the LAN 11, the IP address of the network adapter 13a is registered as the gateway as the path information of the logical IP address 13c in the routing table 14c (step S33). On the other hand, when it is determined that the normal communication path is the LAN 12, the IP address of the network adapter 13b is registered as a gateway in the routing table 14c as the path information of the logical IP address 13c (step S34). When it is determined that both the LANs 11 and 12 are normal, it is determined which LAN is to be used in accordance with the priorities specified in advance (step S35), and route information using the determined LAN is registered. . If both the LANs 11 and 12 are abnormal, nothing is done (step S36).
[0019]
By controlling as described above, when a client program connects to a server program, it uses a logical IP address to connect without being aware of which of the multiplexed LANs is used for communication. Is possible.
[0020]
FIG. 4 is a block diagram showing another embodiment of the computer network system of the present invention. In the figure, computers 41 and 42 to which the same logical IP address 45 is assigned and a computer 43 as a client thereof are connected to a LAN 44 in units of computers 43 to which other logical IP addresses are assigned. The computers 41, 52, and 43 are connected to the LAN 44 via network adapters 41a, 42a, and 43a, respectively. It is assumed that the computers 41 and 42 are configured so that a packet having a logical address 45 specified as a destination can be received via the LAN 44.
[0021]
The logical IP address 45 is assigned an IP address having a different address from the LAN 44 and the network unit. Therefore, if the routing table 43e of the computer 43 does not have route information to either the computer 41 or 42, the computer 43 cannot specify and connect to the logical IP address 45. In the computers 41 and 42, server programs 41b and 42b, which are user processes, operate, and in the computer 43, the client program 43b operates.
[0022]
The basic operation of the computer network system shown in FIG. 4 will be described using the flowchart shown in FIG. When the client program 43b tries to connect to either the server program 41b or 42b, the logical IP address 45 assigned to the computers 42 and 42 is designated as the IP address of the counterpart device and connection is started (step S51). . In this system, the route information of the logical IP address 45 is updated by the route information update programs 41c, 42c, and 43c so that the client program 43b can always connect to the server program 41b (42b) that can communicate.
[0023]
If the IP address of the network adapter 41a is registered as the gateway as the route information of the logical IP address 45 in the routing table 43e, the client program 43b is connected to the server program 42b, and the IP address of the network adapter 42a is the gateway. Are registered to the server program 42b (steps S52 and S53).
[0024]
The processing procedure of the route information update programs 41c, 42c, 43c will be described with reference to the flowchart shown in FIG. The route information update program 43c periodically transmits a packet for confirming whether or not normal communication with the route information update programs 41c and 42c can be performed (step S61). The route information update programs 41c and 42c that have received the packet send a reply back to the route information update program 43c (step S62).
[0025]
The route information change program 43c that received the reply determines whether or not the communication path and the computer are normal depending on whether or not the reply packet has been received. If it is determined that communication with the computer 41 can be normally performed, the IP address of the network adapter 41a is registered as the gateway in the routing table 43e as the route information of the logical IP address 45 (step S63). If it is determined that communication with the computer 42 can be normally performed, the IP address of the network adapter 42a is registered as a gateway in the routing table 43e as route information of the logical IP address 45 (step S64). If both the computers 41 and 42 communicate normally, it is determined which computer to connect to according to the priority specified in advance (step S65), and the route information to the determined computer is registered in the routing table 43e. Is done. If the computers 41 and 42 cannot communicate with each other, nothing is done (step S66).
[0026]
In this way, by using the logical IP address when the client program connects to the server program, there is no need to be aware of which of the multiplexed computers is connected, and the connection destination computer is switched. Even in this case, switching is possible without resetting the IP address.
[0027]
【The invention's effect】
As described above, according to the present invention, in a computer network system in which, for example, a LAN using the TCP / IP protocol is multiplexed, each device connected to the LAN is assigned separately from the IP address assigned to the network adapter. By using this logical IP address for communication between devices and specifying the communication path using the routing table, the contents of the routing table are dynamically updated according to the state of failure, etc. As a result, a program that communicates using a logical IP address does not need to consider what route is used to connect to the other party, and switches the communication route when a failure occurs. If a logical IP address is specified and connected, the IP address Troublesome work such as re-setting of the scan is not required.
[0029]
Therefore, LAN is in multiplexed computer network system, without the need to change the internal logic be a communication program that does not consider the system configuration, set up to connect by specifying the logical IP address Multiplexing support can be realized simply by
[Brief description of the drawings]
FIG. 1 is a block diagram showing an embodiment of a computer network system of the present invention;
FIG. 2 is a flowchart showing basic operations of the computer network system in FIG.
FIG. 3 is a flowchart showing a processing procedure of a route information update program used in the embodiment of the present invention;
FIG. 4 is a block diagram showing another embodiment of the computer network system of the present invention;
FIG. 5 is a flowchart showing the basic operation of the computer network system in FIG. 4;
FIG. 6 is a flowchart showing a processing procedure of a route information update program used in the embodiment of the present invention;
[Explanation of symbols]
11 (12, 44) ... LAN, 13 (14, 41, 42, 43) ... Computer, 13a (13b, 14a, 14b, 41a, 42a, 43a) ... Network adapter, 13c (45) ... Logical IP address, 13d (41b, 42b) ... server program, 14c (43e) ... routing table, 14d (43b) ... client program, 13e (14e, 41c, 42c, 43c) ... route information update program,

Claims (6)

通信回線が多重化され、上記多重化された回線毎それぞれのネットワークアダプタを介して接続される複数の機器から成るコンピュータネットワークにおける通信経路の決定方法であって、
ネットワークアダプタに対しては通信経路が明示的なアドレスを割り付けられ、前記複数の機器には上記アドレスとは別の通信経路情報が明示的でない論理アドレスが個々に割り付けられており、
相手機器に対し、多重化された回線経由で通信経路が正常か否かを確認するためのパケットを送信し、
この送信パケットに対し前記相手機器からどの通信経路による返信パケットを受信できたかによりその通信路の正常異常を判断し、
第1の通信経路が正常であると判断されたとき、ルーティングテーブルに対し、論理アドレスの経路情報として第1のネットワークアダプタのアドレスがゲートウェイであることを登録し、
第2の通信経路が正常であると判断されたときは、前記ルーティングテーブルに対し、論理アドレスの経路情報として第2のネットワークアダプタのアドレスがゲートウェイであることを登録し、
前記いずれかのネットワークアダプタのアドレスがゲートウェイであることを登録されたルーティングテーブルを参照して通信経路を決定する
ことを特徴とするコンピュータネットワークにおける通信経路の決定方法。
A method for determining a communication path in a computer network comprising a plurality of devices in which communication lines are multiplexed and connected via respective network adapters for each of the multiplexed lines ,
The network adapter is assigned an explicit address as a communication path, and the plurality of devices are individually assigned logical addresses whose communication path information other than the address is not explicit,
Send a packet to the partner device to check whether the communication path is normal via the multiplexed line,
Determine whether the communication path is normal or abnormal depending on which communication path the reply packet has been received from the counterpart device for this transmission packet,
When it is determined that the first communication path is normal, the fact that the address of the first network adapter is a gateway is registered as the logical address path information in the routing table;
When it is determined that the second communication path is normal, the fact that the address of the second network adapter is a gateway as the logical address path information is registered in the routing table;
A communication path determination method in a computer network, wherein a communication path is determined by referring to a routing table in which the address of any one of the network adapters is registered as a gateway .
多重化された回線毎それぞれのネットワークアダプタを介して接続される複数の機器の一方であるクライアントコンピュータが、相手機器であるサーバコンピュータに接続する際、ルーティングテーブルに、通信経路が明示的でない論理アドレスの経路情報として、第1のネットワークアダプタに割り付けられたIPアドレスがゲートウェイとして登録されているとき、第1の通信回線を使用し、第2のネットワークアダプタに割り付けられたIPアドレスがゲートウェイとして登録されているとき、第2の通信回線を使用することを特徴とする請求項1記載のコンピュータネットワークにおける通信経路の決定方法。 When a client computer that is one of multiple devices connected via each network adapter for each multiplexed line connects to a server computer that is a partner device, a logical address whose communication path is not explicit in the routing table As the routing information, when the IP address assigned to the first network adapter is registered as a gateway, the IP address assigned to the second network adapter is registered as a gateway using the first communication line. 2. A method for determining a communication path in a computer network according to claim 1, wherein the second communication line is used when the communication network is connected. 通信回線が多重化され、上記多重化された回線毎それぞれのネットワークアダプタを介して接続される複数の機器から成るコンピュータネットワークシステムであって、A computer network system comprising a plurality of devices in which communication lines are multiplexed and connected via respective network adapters for each of the multiplexed lines,
ネットワークアダプタに対しては通信経路が明示的なアドレスが割り付けられ、前記複数の機器には上記アドレスとは別の通信経路情報が明示的でない論理アドレスが個々に割り付けられており、  The network adapter is assigned an explicit address as a communication path, and the plurality of devices are individually assigned logical addresses whose communication path information other than the address is not explicit,
前記複数の機器の一方には前記論理アドレスへの経路情報を登録可能なルーティングテーブルが設けられ、  One of the plurality of devices is provided with a routing table capable of registering route information to the logical address,
一方の機器から相手機器に対し、多重化された回線経由で通信路が正常か否かを確認するためのパケットを送信し、この送信パケットに対する前記相手機器からの返信パケットを受信することにより、この受信パケットが送られてきた通信経路を正常と判断し、第1の通信経路が正常と判断されたときは、前記ルーティングテーブルに対し、論理アドレスの経路情報として第1のネットワークアダプタのアドレスがゲートウェイであることを登録し、第2の通信経路が正常と判断されたときは、前記ルーティングテーブルに対し、論理アドレスの経路情報として第2のネットワークアダプタのアドレスがゲートウェイであることを登録する経路情報更新手段を備え、  By transmitting a packet for confirming whether or not the communication path is normal via a multiplexed line from one device to the other device, and receiving a reply packet from the other device for this transmission packet, When the communication path through which the received packet is sent is determined to be normal and the first communication path is determined to be normal, the address of the first network adapter is stored as the logical address path information with respect to the routing table. A route for registering that the address of the second network adapter is a gateway as the logical address route information with respect to the routing table when it is determined that the second communication route is normal when it is registered as a gateway With information update means,
前記一方の機器は相手機器との通信経路を、前記いずれかのネットワークアダプタのアドレスがゲートウェイであることを登録されたルーティングテーブルを参照して決定する  The one device determines a communication path with the counterpart device by referring to the registered routing table that the address of one of the network adapters is a gateway.
ことを特徴とするコンピュータネットワークシステム。  A computer network system characterized by the above.
通信回線が多重化され、上記多重化された回線毎それぞれのネットワークアダプタを介して接続される複数の機器から成り、ネットワークアダプタに対して割り付けられる通常のアドレスとは別の通信経路情報が明示的でない論理アドレスを個々の機器に割り付け、ルーティングテーブルの設定を通信経路の状態に応じて変更するコンピュータネットワークシステムにおいて用いられ、相手機器に対し、多重化された回線経由で通信路が正常か否かを確認するためのパケットを送信するステップと、どの通信路からの返信パケットを受信できたかによりその通信路の正常異常を判断するステップと、第1の通信路が正常であると判断されたとき、ルーティングテーブルに対し、論理アドレスの経路情報として第1のネットワークアダプタのアドレスがゲートウェイであることを登録するステップと、第2の通信路が正常であると判断されたとき、ルーティングテーブルに対し、論理アドレスの経路情報として第2のネットワークアダプタのアドレスがゲートウェイであることを登録するステップと、ルーティングテーブルを参照して通信路を決定するステップとがプログラムされ記録されるコンピュータ読み取り可能な記録媒体。  The communication line is multiplexed, and consists of a plurality of devices connected via the respective network adapters for each of the multiplexed lines. The communication path information different from the normal address assigned to the network adapter is explicitly shown. Is used in a computer network system that assigns non-logical addresses to individual devices and changes the setting of the routing table according to the status of the communication path. Whether the communication path is normal to the other device via the multiplexed line A step of transmitting a packet for confirming the communication, a step of determining normality / abnormality of the communication channel according to which communication channel has been received, and when the first communication channel is determined to be normal In the routing table, the address of the first network adapter is used as the logical address route information. If the second communication path is determined to be normal, and the step of registering that the second network adapter is normal, the address of the second network adapter is the gateway as the logical address path information with respect to the routing table. A computer-readable recording medium in which a step of registering and a step of determining a communication path with reference to a routing table are programmed and recorded. いずれの通信路も正常であると判断された場合、あらかじめ定義された優先度に従い一方の通信路を選択するステップが更にプログラムされ記録されるコンピュータ読み取り可能な請求項記載の記録媒体。5. The computer-readable recording medium according to claim 4 , wherein when any communication path is determined to be normal, a step of selecting one of the communication paths according to a predetermined priority is further programmed and recorded. いずれの通信路も異常であると判断された場合、何もしないことを指示するステップが更にプログラムされ記録されるコンピュータ読み取り可能な請求項記載の記録媒体。5. The computer-readable recording medium according to claim 4, wherein a step of instructing to do nothing is further programmed and recorded when it is determined that any communication path is abnormal.
JP15003998A 1998-05-29 1998-05-29 Method and system for determining communication path in computer network, and recording medium on which program is recorded Expired - Fee Related JP3999353B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15003998A JP3999353B2 (en) 1998-05-29 1998-05-29 Method and system for determining communication path in computer network, and recording medium on which program is recorded

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15003998A JP3999353B2 (en) 1998-05-29 1998-05-29 Method and system for determining communication path in computer network, and recording medium on which program is recorded

Publications (2)

Publication Number Publication Date
JPH11341042A JPH11341042A (en) 1999-12-10
JP3999353B2 true JP3999353B2 (en) 2007-10-31

Family

ID=15488174

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15003998A Expired - Fee Related JP3999353B2 (en) 1998-05-29 1998-05-29 Method and system for determining communication path in computer network, and recording medium on which program is recorded

Country Status (1)

Country Link
JP (1) JP3999353B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3587159B2 (en) 2000-10-25 2004-11-10 日本電気株式会社 Satellite communication system and routing method used therefor
JP4021780B2 (en) * 2003-02-20 2007-12-12 富士通株式会社 Computer node, cluster system, cluster management method, cluster management program
US7499451B2 (en) 2003-02-20 2009-03-03 Fujitsu Limited Computer node, cluster system, cluster managing method, and cluster managing program
US8335909B2 (en) 2004-04-15 2012-12-18 Raytheon Company Coupling processors to each other for high performance computing (HPC)
US8336040B2 (en) 2004-04-15 2012-12-18 Raytheon Company System and method for topology-aware job scheduling and backfilling in an HPC environment
US9178784B2 (en) 2004-04-15 2015-11-03 Raytheon Company System and method for cluster management based on HPC architecture
US7475274B2 (en) * 2004-11-17 2009-01-06 Raytheon Company Fault tolerance and recovery in a high-performance computing (HPC) system

Also Published As

Publication number Publication date
JPH11341042A (en) 1999-12-10

Similar Documents

Publication Publication Date Title
JP4598462B2 (en) Provider network providing an L2-VPN service and edge router
KR101177203B1 (en) Mapless global traffic load balancing via anycast
EP1379038B1 (en) Method for implementing router interface backup with virtual router redundancy protocol
JP3185762B2 (en) Network address setting method
US20040085965A1 (en) Redundant router network
JP4751811B2 (en) Network setting method, network system, and relay device
US7532620B2 (en) Routing table synchronization method, network apparatus, and routing table synchronization program
JPH1093573A (en) Communication system and communication path control method
JP3999353B2 (en) Method and system for determining communication path in computer network, and recording medium on which program is recorded
US20030120767A1 (en) Network and wireless LAN authentication method used therein
JPH1065735A (en) Address resolving device
US20090055521A1 (en) Method for managing network connection and information processing apparatus
JP4011528B2 (en) Network virtualization system
JP2771437B2 (en) Network configuration setting information input method
JP2002208946A (en) Route information notification method and vpn service and edge router device
Cisco Routing DECnet
Cisco Internetworking Design Basics
Cisco Internetworking Design Basics
Cisco Internetworking Design Basics
Cisco Internetworking Design Basics
Cisco Routing DECnet
Cisco Configuring Banyan VINES
Cisco Configuring DECnet
Cisco Routing DECnet
Cisco Routing DECnet

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040929

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20040929

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061211

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061219

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070219

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070807

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070809

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

Free format text: PAYMENT UNTIL: 20100817

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100817

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110817

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120817

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120817

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130817

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees