JPH06132959A - Routing control system - Google Patents

Routing control system

Info

Publication number
JPH06132959A
JPH06132959A JP4306460A JP30646092A JPH06132959A JP H06132959 A JPH06132959 A JP H06132959A JP 4306460 A JP4306460 A JP 4306460A JP 30646092 A JP30646092 A JP 30646092A JP H06132959 A JPH06132959 A JP H06132959A
Authority
JP
Japan
Prior art keywords
routing
router
manager
information
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP4306460A
Other languages
Japanese (ja)
Inventor
Makoto Soejima
真 副島
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP4306460A priority Critical patent/JPH06132959A/en
Publication of JPH06132959A publication Critical patent/JPH06132959A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To ensure the dynamic change of the routing information in the small traffic as less as possible against the change of numbers of routers and LANs connected to a routing control system or against the faults. CONSTITUTION:A routing manager 101 is added to a public network 100 to attain the integrated network control and routing control. The manager 101 also contains a routing subject list 11 to show the routers 104-110 set at the relaying points of all LAN 120-130 that can be connected to each other via the network 100. The addition or deletion of routers, the switching of the relaying routes, the addition or deletion of LANs, etc., are all informed to the manager 101. Receiving these information, the manager 101 updates the list 11. Then the manager 101 informs each router of the necessary minimum information for the updating of the routing information.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、公衆網(WAN)を介
して接続されたローカルエリアネットワーク(LAN)
間を、中継点に設けられたルータによりOSI参照モデ
ルのネットワーク層レベルで中継する場合に、動的なル
ーティング情報の管理を行うルーティング管理システム
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a local area network (LAN) connected through a public network (WAN).
The present invention relates to a routing management system that dynamically manages routing information when relaying data between networks at the network layer level of the OSI reference model by a router provided at a relay point.

【0002】[0002]

【従来の技術】従来の大規模なローカルエリアネットワ
ークにおいては、複数のローカルエリアネットワークの
間をルータ(中継装置)を介して接続するとともに、公
衆網を利用して広域の情報交換を可能としている。図2
に従来システムのネットワークブロック図を示す。この
システムでは、公衆網200に対し、それぞれルータ2
04〜210を介してLAN220〜230が接続され
ている。また、これらのLANの間は適宜ルータ211
〜216により中継接続されている。
2. Description of the Related Art In a conventional large-scale local area network, a plurality of local area networks are connected via a router (relay device), and wide area information can be exchanged using a public network. . Figure 2
Figure 1 shows the network block diagram of the conventional system. In this system, the public network 200 is connected to the router 2
LANs 220 to 230 are connected via 04 to 210. In addition, a router 211 is appropriately provided between these LANs.
~ 216 for relay connection.

【0003】このようなシステムにおいて、各ルータ2
04〜216は、いずれもOSI参照モデルのネットワ
ーク層レベルにおける中継を行うために、それぞれ信号
を転送する経路を管理するためのルーティング情報を保
持している。例えば、図2に示すルータ204が公衆網
200を介して入力した信号をLAN221に転送する
という要求を受けた場合、その信号をLAN220を介
してルータ211に転送するという判断をそのルーティ
ング情報を用いて行う。このようなルーティング情報の
取得手段には、従来次のような方法が提案されている。
In such a system, each router 2
Each of 04 to 216 holds routing information for managing a route for transferring a signal in order to perform relay at the network layer level of the OSI reference model. For example, when the router 204 shown in FIG. 2 receives a request to transfer a signal input via the public network 200 to the LAN 221, the routing information is used to determine that the signal should be transferred to the router 211 via the LAN 220. Do it. The following methods have been conventionally proposed as means for acquiring such routing information.

【0004】まず、LANを介して相互に直接接続され
たルータ、例えばLAN220やLAN222を介して
接続されたルータ204、205、211、212等
は、LANのルーティング情報通知のための一般的な処
理であるルーティングプロトコルによって動的にルーテ
ィング情報を取得する。即ち、LANに接続されたルー
タが増減したり新たなLANが接続されたような場合、
LANのルーティングプロトコルによって、その都度詳
細なルーティング情報の通知が行われる。
First, the routers directly connected to each other via the LAN, for example, the routers 204, 205, 211 and 212 connected via the LAN 220 and the LAN 222, perform a general process for notifying the routing information of the LAN. The routing information is dynamically obtained by the routing protocol. That is, when the number of routers connected to the LAN increases or decreases or a new LAN is connected,
Detailed routing information is notified each time by the LAN routing protocol.

【0005】一方、公衆網を介して相互に接続されたル
ータ204〜210の間は、公衆網自身にこの種のルー
ティングプロトコルが存在しないため、予めルータごと
に到達可能なLANのネットワークアドレスを固定的に
登録しておく。従って、例えばルータ204には、ルー
タ208を通じて到達できるLANは、LAN229と
LAN230であるというように登録しておく。そし
て、各ルータに対し新たにルータが接続されたり、LA
Nが接続されたような場合、適当なタイミングで人為的
にそのルーティング情報を更新する。
On the other hand, between the routers 204 to 210 connected to each other via the public network, since the public network itself does not have this kind of routing protocol, the network address of the LAN reachable by each router is fixed in advance. Register in advance. Therefore, for example, LANs that can be reached through the router 208 are registered in the router 204, such as LAN 229 and LAN 230. Then, a router is newly connected to each router, LA
When N is connected, its routing information is artificially updated at an appropriate timing.

【0006】なお、このようなルーティング情報を固定
的に登録し、定期的に人為的にその内容を更新する方法
では、ルータの増減やLANの増減に迅速に対応できな
いため、従来のLAN内のルーティングプロトコルと同
様のプロトコルを用いて、公衆網に接続されたルータ間
のルーティング情報を更新する方法も提案されている。
[0006] It should be noted that the method of registering such routing information in a fixed manner and periodically updating its contents artificially cannot deal with the increase or decrease of the number of routers or the increase or decrease of the number of LANs. A method of updating routing information between routers connected to a public network using a protocol similar to the routing protocol has also been proposed.

【0007】[0007]

【発明が解決しようとする課題】ところで、上記のよう
な従来システムにおいては次のような解決すべき課題が
あった。まず、例えば公衆網を経由して通信を行うシス
テムで、そのネットワーク内のどこか1箇所に障害が発
生したような場合、それを迂回するための代替ルートを
設定しなければならない。しかしながら、通常、ルータ
は1つのルートのみを保持しており、適宜そのルートを
動的に変更することは不可能であった。一方、先に説明
したように、公衆網にLANと同様のルーティングプロ
トコルによってルーティング情報の通知を行えば、この
ような動的な変更が可能となる。しかしながら、この場
合ルーティング情報通知のために、公衆網においてもL
ANと同様の同報通信を行う必要がある。
The conventional system as described above has the following problems to be solved. First, for example, in a system that communicates via a public network, if a failure occurs at any one place in the network, an alternative route for bypassing the failure must be set. However, usually, a router holds only one route, and it is impossible to dynamically change the route as needed. On the other hand, as described above, if the public network is notified of the routing information by the same routing protocol as the LAN, such a dynamic change becomes possible. However, in this case, L is also used in the public network for notifying the routing information.
It is necessary to perform the same broadcast communication as the AN.

【0008】図3に、この種の同報通信比較説明図を示
す。図3(a)に示したのは、LANを使用した同報通
信の説明図である。この図に示すように、例えばLAN
240を介して接続された3台のルータ251、25
2、253が、ルータ250からルーティング情報の変
更通知を受けるものとする。この場合、ルータ250は
LAN240に対し1回だけ放送用のパケットを送信す
る。ルータ251、252、253は、それぞれその情
報を自分に対する情報として受取り、それぞれのルーテ
ィング情報を更新する。
FIG. 3 shows a comparative explanatory diagram of this type of broadcast communication. FIG. 3A is an explanatory diagram of broadcast communication using a LAN. As shown in this figure, for example, LAN
Three routers 251, 25 connected via 240
It is assumed that the routers 2, 253 receive the routing information change notification from the router 250. In this case, the router 250 transmits the broadcast packet to the LAN 240 only once. Each of the routers 251, 252, 253 receives the information as its own information and updates the respective routing information.

【0009】また、図3(b)には、公衆網による同報
通信説明図を示す。図に示すように、公衆網を用いた場
合、同じ内容のルーティング情報をルータ250から3
台のルータ251、252、253に送る場合、一般に
個別に各ルータを呼び出して、この例では3回に分けて
個別通信を行う必要がある。即ち、公衆網による場合、
ルーティング情報を通知すべきルータが多いと、非常に
多くの個別通信を必要とし、トラフィックが増大すると
いう問題があった。特に、ルータの障害やLANの追加
削除、ルータの追加削除等が生じた場合、その都度新た
なルーティング情報を全ての該当するルータに通知する
ことから、この種のトラフィック増大は無視することが
できないものであった。しかも、各ルータの実施するル
ーティング情報は、到達可能なLANのネットワークア
ドレスを基準に管理されており、特定のルータについて
その削除や追加等が生じた場合、ルーティング情報の更
新のための演算処理が非常に煩雑になるという問題があ
った。本発明は以上の点に着目してなされたもので、シ
ステムに接続されたルータやLANの増減変更あるいは
障害に際しても、可能な限り低いトラフィックによって
ルーティング情報を動的に変更でき、かつその変更を効
率的に行うことができるルーティング管理システムを提
供することを目的とするものである。
Further, FIG. 3B shows a broadcast communication explanatory diagram by the public network. As shown in the figure, when the public network is used, the same routing information as the routers 250 to 3 is used.
When sending to a single router 251, 252, 253, it is generally necessary to call each router individually, and in this example, perform individual communication in three times. That is, when using the public network,
If there are many routers that should notify the routing information, there is a problem that a large amount of individual communication is required and the traffic increases. In particular, when a router failure, LAN addition / deletion, router addition / deletion, etc. occur, new routing information is notified to all applicable routers each time, so this kind of traffic increase cannot be ignored. It was a thing. Moreover, the routing information executed by each router is managed based on the network address of the reachable LAN, and when the deletion or addition of the specific router occurs, the calculation processing for updating the routing information is performed. There was a problem that it became very complicated. The present invention has been made paying attention to the above points. Even when the number of routers or LANs connected to the system is increased or decreased or a failure occurs, the routing information can be dynamically changed with the lowest possible traffic, and the change can be made. It is an object of the present invention to provide a routing management system that can be efficiently performed.

【0010】[0010]

【課題を解決するための手段】本発明のルーティング管
理システムは、公衆網を介して接続された複数のローカ
ルエリアネットワーク間を、中継点に設けられたルータ
により、ネットワーク層レベルで中継して、接続する場
合において、前記公衆網に、ルーティングマネージャを
設け、このルーティングマネージャは、前記ネットワー
ク層レベルでの中継接続に必要な接続経路を示すルーテ
ィング情報を保持し、前記ルータを含む接続経路を監視
し、前記ルータからネットワーク加入要求とルーティン
グ情報変更要求を受けたとき、保持しているルーティン
グ情報を更新するとともに、必要最小限の更新情報を生
成して、各ルータに通知することを特徴とするものであ
る。
A routing management system of the present invention relays between a plurality of local area networks connected via a public network at a network layer level by a router provided at a relay point, When connecting, a routing manager is provided in the public network, the routing manager holds routing information indicating a connection route necessary for the relay connection at the network layer level, and monitors the connection route including the router. When the network joining request and the routing information change request are received from the router, the routing information held is updated and the minimum necessary update information is generated to notify each router. Is.

【0011】なお、第2発明は、同一の機能を持つ2台
のルーティングマネージャを公衆網に接続して、一方が
他方に対してポーリングを実行したとき、所定の応答が
あれば他方を運用系と見なして、一方は予備系として動
作し、所定の応答がなければ、前記ポーリングを実行し
た一方が運用系として動作することを特徴とする。第3
発明は、ルーティング情報中に、接続対象となる全ての
各ローカルエリアネットワークまで中継を行なうための
ルータを特定した最適経路を、その代替経路とともに格
納して、前記最適経路中での障害発生時に、各ルータに
最適経路の取消しと代替経路の通知をすることを特徴と
する。
According to the second aspect of the invention, two routing managers having the same function are connected to the public network, and when one polls the other, if there is a predetermined response, the other is operated. One of them is operated as a standby system, and if there is no predetermined response, one of the polled systems is operated as an active system. Third
The invention stores, in the routing information, an optimal route specifying a router for relaying to all the respective local area networks to be connected together with its alternative route, and when a failure occurs in the optimal route, The feature is that each router cancels the optimum route and notifies the alternative route.

【0012】第4発明は、ルーティング情報中に、接続
対象となる全ての各ローカルエリアネットワークごと
に、そのローカルエリアネットワークまで中継を行なう
ためのルータを特定した経路をルーティング対象リスト
を設けるとともに、前記ルータごとに、前記ルーティン
グ対象リストと対応付けた加入ルータリストを設けて、
前記ルータからネットワーク加入要求とルーティング情
報変更要求を受けたとき、前記加入ルータリストを参照
して、ルータ単位で中継を行なうための経路を更新する
ことを特徴とする。
According to a fourth aspect of the present invention, a routing target list is provided in the routing information for each of all the local area networks to be connected, and a route specifying a router for relaying to the local area network is provided. For each router, provide a joining router list associated with the routing target list,
When a network joining request and a routing information change request are received from the router, the joining router list is referred to and the route for relaying is updated in router units.

【0013】第5発明は、公衆網とローカルエリアネッ
トワークとの間の中継点に設けられたルータに、ローカ
ルエリアネットワーク側のルーティング情報管理を実行
させる一方、公衆網側のルーティング情報管理を、公衆
網に接続されたルーティングマネージャが実行すること
を特徴とする。
According to a fifth aspect of the invention, a router provided at a relay point between a public network and a local area network executes routing information management on the local area network side, while the routing information management on the public network side is managed by the public. It is characterized by being executed by a routing manager connected to the network.

【0014】[0014]

【作用】このシステムには、公衆網に対しネットワーク
管理とルーティング管理を集中的に行うルーティングマ
ネージャを設ける。ルーティングマネージャは、公衆網
を介して相互に接続できる全てのLANについて、その
中継点にあるルータを示すルーティング対象リストを備
える。ネットワークの障害等によるルータの追加、削
除、中継経路の切換え、LANの追加、削除等の通知
は、全てこのルーティングマネージャに対して行う。ル
ーティングマネージャは、この通知を受けると、ルーテ
ィング対象リストの更新を行う。そして、各ルータに対
しルーティング情報を更新するための必要最小限の情報
を通知する。これにより、LAN間での動的なルーティ
ング情報の変更を低トラフィックにより実現できる。
In this system, a routing manager for centrally performing network management and routing management for the public network is provided. The routing manager has a routing target list indicating routers at relay points of all LANs that can be connected to each other via the public network. Notifications such as addition / deletion of routers, switching of relay routes, addition / deletion of LANs, etc. due to network failures are all sent to this routing manager. Upon receipt of this notification, the routing manager updates the routing target list. Then, each router is notified of the minimum necessary information for updating the routing information. This makes it possible to dynamically change routing information between LANs with low traffic.

【0015】また、ルーティングマネージャを2重化
し、相互にポーリングを行う機能を持たせ、常に相手の
動作を監視し、運用系として動作していたルーティング
マネージャに応答がなくなれば、障害発生と見なして、
予備系が運用系に切り替わるようにする。これによっ
て、容易に2重化を達成できる。また、ルーティングマ
ネージャが、ルーティング対象リストとして複数のルー
トを予め演算処理し登録しておけば、障害発生等の際
に、新たな再計算処理無しに代替ルートを直ちに検出し
て通知することが可能となる。更に、ルーティング対象
リストとともにルータ単位にルータ情報を管理する加入
ルータリストを設けることによって、例えばいずれかの
ルータに障害が発生した場合、そのルータが保持してい
る中継経路を迅速に変更することが可能になる。また、
この加入ルータリストによって管理下になるルータを一
元管理し、ネットワーク管理の効率化が図れる。また、
LAN側のルーティング情報管理は、従来のLAN用ル
ーティングプロトコルを採用し、公衆網側については、
本発明のルーティング情報管理を行うようにすれば、よ
り効率的なルーティング管理が可能となる。
In addition, the routing managers are duplicated so as to have a function of polling each other, the operation of the other party is constantly monitored, and if there is no response from the routing manager operating as an active system, it is considered that a failure has occurred. ,
Make sure that the standby system switches to the active system. This makes it possible to easily achieve duplexing. Also, if the routing manager pre-calculates and registers multiple routes as a routing target list, it is possible to immediately detect and notify an alternative route without a new recalculation process when a failure occurs. Becomes Furthermore, by providing a joining router list that manages router information for each router together with the routing target list, for example, when a failure occurs in any router, the relay route held by that router can be quickly changed. It will be possible. Also,
With this joining router list, the routers under management can be centrally managed, and the efficiency of network management can be improved. Also,
For the routing information management on the LAN side, the conventional LAN routing protocol is adopted, and on the public network side,
If the routing information management of the present invention is performed, more efficient routing management becomes possible.

【0016】[0016]

【実施例】以下、本発明を図の実施例を用いて詳細に説
明する。図1は、本発明のルーティング管理システム実
施例ブロック図である。図において、このシステムは、
公衆網100に対し複数のルータ104〜110が接続
され、各ルータを介してLAN120〜130の間が相
互に中継される構成となっている。このような構成は、
図2で説明した従来のシステムと変わるところはない。
The present invention will be described in detail below with reference to the embodiments shown in the drawings. FIG. 1 is a block diagram of an embodiment of a routing management system of the present invention. In the figure, this system is
A plurality of routers 104 to 110 are connected to the public network 100, and LANs 120 to 130 are relayed to each other via each router. Such a configuration
There is no difference from the conventional system described in FIG.

【0017】ここで、本発明のシステムにおいては、公
衆網100に対し、この公衆網に接続されたルータ10
4〜110の監視と、そのルーティング情報管理を行う
ために、ルーティングマネージャ101が接続されてい
る。なお、この実施例では管理の信頼性を高めるため
に、ルーティングマネージャ101の他にルーティング
マネージャ102を接続し、一方を運用系(ACT)、
他方を予備系(SBY)として使用するようにしてい
る。
Here, in the system of the present invention, with respect to the public network 100, the router 10 connected to this public network is used.
A routing manager 101 is connected to monitor 4 to 110 and manage the routing information. In this embodiment, in order to improve the management reliability, a routing manager 102 is connected in addition to the routing manager 101, and one of them is used as an active system (ACT),
The other is used as a backup system (SBY).

【0018】また、このルーティングマネージャ101
は、公衆網100に直接接続されたルータの管理を行う
ことにし、各LANに直接接続されたルータ間のルーテ
ィング情報管理は、従来通りの既存のプロトコルを利用
するようにしている。これは、先に説明したルーティン
グ情報の通知に伴うトラフィックの増大が、公衆網につ
いて特有の問題とされているからである。また、ルーテ
ィングマネージャの管轄範囲を制限することによって、
その負担を軽くし、ルーティング情報通知のための情報
量を少なくすることが可能になるからである。
The routing manager 101
Manages routers directly connected to the public network 100, and manages routing information between routers directly connected to each LAN by using existing existing protocols. This is because the increase in traffic due to the notification of the routing information described above is a problem peculiar to the public network. Also, by limiting the jurisdiction of the Routing Manager,
This is because it is possible to reduce the burden and reduce the amount of information for notifying the routing information.

【0019】図4に、上記のようなルーティングマネー
ジャのルーティング情報説明図を示す。ルーティングマ
ネージャは、管理下にある各ルータのネットワーク監視
を行い、動的にネットワーク構成の変換に対応する中継
経路を決定し、各ルータに伝達する機能を持つ。この機
能を実現するために、図に示すようなルーティング情報
がルーティングマネージャに備えられる。なお、これら
の情報は初期状態では一切存在しない。即ち、ルーティ
ングマネージャはルーティング情報を固定的に保持する
ことはない。このような情報は、原則として全て運用時
に作成する。
FIG. 4 is a diagram for explaining the routing information of the above routing manager. The routing manager has a function of monitoring the network of each router under its control, dynamically determining a relay route corresponding to the conversion of the network configuration, and transmitting it to each router. To realize this function, the routing manager is provided with the routing information as shown in the figure. Note that this information does not exist at all in the initial state. That is, the routing manager does not hold the routing information fixedly. In principle, all such information is created during operation.

【0020】まず、ルーティング情報は、ルーティング
対象リスト11と加入ルータリスト12とから構成され
る。ルーティング対象リスト11は、このネットワーク
に接続され、到達可能な全てのLANについてそのネッ
トワークアドレス単位に集められた情報である。また、
加入ルータリスト12は、公衆網に直結された各ルータ
について、そのアドレスと公衆網の番号とを一体にして
集められた情報である。ルーティング対象リスト11に
リストアップされたLANに対しては、加入ルータリス
ト12にリストアップされたいずれかのルータを介して
通信が行われる。
First, the routing information is composed of a routing target list 11 and a joining router list 12. The routing target list 11 is information that is connected to this network and is collected in network address units for all reachable LANs. Also,
The joining router list 12 is information in which the addresses of the routers directly connected to the public network and the public network numbers are collected together. The LANs listed in the routing target list 11 are communicated via any of the routers listed in the joining router list 12.

【0021】どのLANは、どのルータを介して通信を
行うべきかを示したのは、その図の右側に示すエレメン
ト303〜305である。このエレメントは、1つのL
ANに対し1個以上設定することができ、最適のルート
を示すエレメントを先頭にして、代替ルートを示すエレ
メントを順番に接続し、並べる構成とされている。そし
て、ルーティング対象リスト11の到達可能なLANネ
ットワークアドレスと各エレメントとは、キューによっ
てチェインされている。例えば、到達可能なLANネッ
トワークアドレス301のLANネットワークアドレス
キュー302は、エレメント303にチェインするため
のキューである。また、エレメント303に設けられた
LANネットワークアドレスポインタ307は、到達可
能なLANネットワークアドレス301を示す。
It is the elements 303 to 305 shown on the right side of the figure that indicate which LAN should be used for communication through which router. This element is an L
One or more can be set for the AN, and the element indicating the optimum route is headed, and the elements indicating the alternative routes are sequentially connected and arranged. The reachable LAN network address and each element of the routing target list 11 are chained by a queue. For example, the LAN network address queue 302 of the reachable LAN network address 301 is a queue for chaining to the element 303. The LAN network address pointer 307 provided in the element 303 indicates the reachable LAN network address 301.

【0022】一方、加入ルータリスト12のWAN直結
ルータアドレス311についても、ルータアドレスキュ
ー313が設けられている。このルータアドレスキュー
313はエレメント303にチェインするためのキュー
である。また、エレメント303のルータアドレスポイ
ンタ309は、WAN直結ルータアドレス311を示
す。このようにして、各エレメントとルーティング対象
リスト11と加入ルータリスト12とが相互にチェイン
によりデータ検索可能な構成となっている。
On the other hand, a router address queue 313 is also provided for the WAN direct connection router address 311 of the joining router list 12. The router address queue 313 is a queue for chaining to the element 303. The router address pointer 309 of the element 303 indicates the WAN direct connection router address 311. In this way, the elements, the routing target list 11, and the joining router list 12 are mutually chained so that data can be searched.

【0023】また、エレメント303のメトリック値3
10というのは、WAN直結のルータから実際に到達し
ようとするLANに進むまでに通過するルータの数を表
わしている。このメトリック値が多ければ多数のルータ
を通過して目的のLANに達する。従って、できるだけ
少ない数のルータを通過して目的のLANに到達する中
継経路を最適のものとして選択する。エレメント30
3、304、305は、このような基準でメトリック値
の少ないものほど先頭になるようにチェインされてい
る。
Further, the metric value 3 of the element 303
The number 10 represents the number of routers that pass through from the router directly connected to the WAN to the LAN that is actually trying to reach. If this metric value is large, it will pass through many routers to reach the target LAN. Therefore, a relay route that passes through as few routers as possible and reaches the target LAN is selected as the optimum route. Element 30
3, 304 and 305 are chained in such a manner that the smaller the metric value is, the earlier the head is.

【0024】図5に、上記のようなルーティング情報の
具体例を示す説明図を図示した。また、図6及び図7に
も同様の具体例を図示した。これらは、図1に示す各ル
ータ及びLANについての全てのルーティング情報であ
る。例えば、図1に示すルータ104、105を経由し
て接続されるLAN120、121、122についての
ルーティング情報は図5に示すようになる。即ち、ルー
ティング対象リストには、LAN120、121、12
2がリストアップされる。また、加入ルータリストには
ルータ104、105がリストアップされる。そして、
LAN120はエレメント320、321とチェインさ
れている。
FIG. 5 is an explanatory view showing a concrete example of the above routing information. Further, similar specific examples are illustrated in FIGS. 6 and 7. These are all the routing information for each router and LAN shown in FIG. For example, the routing information about the LANs 120, 121, 122 connected via the routers 104, 105 shown in FIG. 1 is as shown in FIG. That is, the routing target list includes LANs 120, 121, 12
2 is listed. Further, the routers 104 and 105 are listed in the joining router list. And
The LAN 120 is chained with the elements 320 and 321.

【0025】エレメント320はLAN120に到達す
るための最適経路がルータ104を経由するものである
ことを示している。また、そのメトリック値は“1”と
なる。即ち、1台のルータを経由してLAN120に到
達するという意味を表わしている。また、この中継経路
に対する代替ルートは、図1に示すようにルータ105
及びルータ112を経由するものとなる。従って、その
代替ルートとして、エレメント321がチェインされて
おり、ここにルータ105を経由し、メトリック値2の
中継経路が存在することを示している。ここで、これ以
上の代替ルートが存在しない場合には、エレメント32
1のネットワークアドレスキューは“0”となり、それ
以上チェインするべきエレメントがないことを示してい
る。その他のエレメントについても同様にして作成され
る。
Element 320 indicates that the optimum route to reach LAN 120 is via router 104. The metric value is "1". That is, it means that the LAN 120 is reached via one router. Further, as shown in FIG. 1, the alternative route to this relay route is the router 105.
And the router 112. Therefore, as an alternative route, the element 321 is chained, which indicates that there is a relay route having the metric value of 2 via the router 105. Here, if there are no more alternative routes, the element 32
The network address queue of 1 becomes "0", indicating that there are no more elements to chain. The other elements are similarly created.

【0026】こうして図1に示すシステムでは、図5、
図6及び図7に示すように、合計11個のLANに関す
るルーティング対象リストと合計7台のルータに関する
加入ルータリストが作成される。なお、図5、図6及び
図7に示す各エレメントのNWアドレスPというのは、
ネットワークアドレス、即ち該当するLANのアドレス
を表わす部分で、ルータアドレスPというのは対応する
ルータのアドレスを示すものである。これらはルーティ
ング対象リストあるいは加入ルータリストの内容と一致
する。上記のようなルーティング対象リストや加入ルー
タリストの生成機能や管理機能については、後で具体的
に説明する。
Thus, in the system shown in FIG.
As shown in FIGS. 6 and 7, a routing target list for 11 LANs in total and a joining router list for 7 routers in total are created. The NW address P of each element shown in FIGS. 5, 6 and 7 is
The router address P is a part of the network address, that is, the address of the corresponding LAN, and represents the address of the corresponding router. These match the contents of the routing target list or the joining router list. The generation function and management function of the routing target list and the joining router list as described above will be specifically described later.

【0027】図8に2重化されたルーティングマネージ
ャの情報説明図を示す。ルーティングマネージャが2重
化された場合、互いにもう一方のルーティングマネージ
ャを認識し、後で説明するポーリング機能を実行するた
めに、この図に示すような情報が格納される。即ち、例
えば運用系のルーティングマネージャには、図に示すよ
うに予備系のルーティングマネージャアドレス316と
その公衆網番号317が書き込まれる。この情報の形式
は、図4に示した加入ルータリスト12の各ルータ用の
情報と同様の形式にしている。従って、最後の部分31
8にはルータアドレスキューが入るが、これはどのエレ
メントともチェインしないため“0”とされている。こ
のようにして、他のルーティングマネージャに関する情
報も加入ルータリストと同様の形式にして取り扱われ
る。
FIG. 8 is a diagram for explaining information of the duplicated routing manager. When the routing managers are duplicated, information as shown in this figure is stored in order to recognize the other routing manager from each other and perform the polling function described later. That is, for example, the standby routing manager address 316 and its public network number 317 are written in the active routing manager, as shown in the figure. The format of this information is similar to the information for each router in the joining router list 12 shown in FIG. Therefore, the last part 31
A router address queue is entered in 8, but it is set to "0" because it does not chain with any element. In this way, information about other routing managers is handled in the same format as the joining router list.

【0028】図9に各ルータにおける管理情報説明図を
示す。各ルータには、この図に示すような自ルータ情報
400と、ルーティングマネージャ情報403と、LA
N側のルーティングテーブル410と、公衆網側のルー
ティングテーブル415が設けられる。自ルータ情報4
00は、自ルータ公衆網側アドレス401と、自ルータ
公衆網番号402とで構成される。これは、予め設定さ
れる固定情報である。また、ルーティングマネージャ情
報403は、ルーティングマネージャが2台ある場合2
個設けられる。この情報は、それぞれルーティングマネ
ージャアドレス404、ルーティングマネージャ公衆番
号405及び状態406から成る。状態406というの
は、該当するルーティングマネージャが運用系か予備系
かを示すデータである。
FIG. 9 shows an explanatory view of management information in each router. Each router has its own router information 400, routing manager information 403, and LA as shown in this figure.
A routing table 410 on the N side and a routing table 415 on the public network side are provided. Own router information 4
00 is composed of an own router public network side address 401 and an own router public network number 402. This is fixed information set in advance. The routing manager information 403 is 2 when there are two routing managers.
Individually provided. This information consists of the routing manager address 404, the routing manager public number 405 and the status 406, respectively. The state 406 is data indicating whether the corresponding routing manager is the active system or the standby system.

【0029】また、LAN側ルーティングテーブルリス
ト410には、到達可能なLANネットワークアドレス
411と、メトリック値412と NextHopルータアドレ
ス413が格納される。これは、LAN側において、従
来のルーティング情報管理のためのプロトコルを実行し
て得られたデータである。公衆網側のルーティングテー
ブルリスト415は、到達可能なLANネットワークア
ドレス416と、 NextHopルータアドレス417と、 N
extHopルータ公衆網番号418等で構成される。本発明
のシステムにおいて、ルーティングマネージャが各ルー
タに対し必要な情報を提供する部分は、この公衆網側の
ルーティングテーブルリストである。従って、ここに公
衆網を介して接続される他のLANに対しどのルータを
経由すべきか、その最適経路が各LAN毎にリストアッ
プされる。これが動的にルーティングマネージャによっ
て更新される。
Further, the LAN side routing table list 410 stores reachable LAN network addresses 411, metric values 412 and NextHop router addresses 413. This is data obtained by executing a conventional routing information management protocol on the LAN side. The routing table list 415 on the public network side has a reachable LAN network address 416, NextHop router address 417, N
The extHop router is composed of a public network number 418 and the like. In the system of the present invention, the part where the routing manager provides necessary information to each router is the routing table list on the public network side. Therefore, the optimum route of which router should be passed to another LAN connected via the public network is listed for each LAN. This is updated dynamically by the Routing Manager.

【0030】さて、運用側のルーティングマネージャ
は、このシステムにおいて新たにルータを登録する登録
機能と、一旦登録されたルータについてその内容を変更
して登録する再登録機能と、各ルータに対し各種のルー
ティング情報変更内容を通知するリダイレクト機能と、
各ルータの動作を監視するポーリング機能とを備えてい
る。また、ルーティングマネージャが2重化され、一方
が運用系他方が予備系となった場合、予備系にはポーリ
ング受信機能とリダイレクト受信機能とが必要となる。
以下、これらの機能を順を追って説明する。
Now, the routing manager on the operation side has a registration function of newly registering a router in this system, a re-registration function of changing the contents of a once-registered router and registering it, and various kinds of routers. A redirect function that notifies you of routing information changes,
It has a polling function for monitoring the operation of each router. Further, when the routing manager is duplicated and one of them becomes the active system and the other becomes the standby system, the standby system needs the polling reception function and the redirect reception function.
Hereinafter, these functions will be described step by step.

【0031】図10にルーティングマネージャの登録動
作フローチャートを示す。まず、先に説明したように、
ルーティングマネージャは、各ルータに関するルーティ
ング情報について固定的なものを持たない。各ルータ
は、その立ち上がり時に登録要求を代表ルーティングマ
ネージャに対して送信する。代表ルーティングマネージ
ャがこのような登録要求を受信し、その都度実行する処
理が登録機能である。
FIG. 10 shows a flowchart of the registration operation of the routing manager. First, as explained earlier,
The routing manager has no fixed information about the routing for each router. Each router sends a registration request to the representative routing manager when it starts up. The registration function is a process executed by the representative routing manager each time it receives such a registration request.

【0032】各ルータからの入力パラメータは、新規加
入したルータアドレスとそのルータの公衆網番号及びそ
のルータのLAN側ルーティングテーブルリストであ
る。このLAN側ルーティングテーブルリストというの
は、そのルータを介して到達可能なLAN側ネットワー
クアドレスと、メトリック値のシーケンスで構成された
ものである。このLAN側ルーティングテーブルリスト
は、各ルータがLAN内で使用されているルーティング
プロトコルを使用して作成する。
The input parameters from each router are the newly added router address, the public network number of the router, and the LAN side routing table list of the router. The LAN side routing table list is composed of a LAN side network address reachable via the router and a sequence of metric values. This LAN side routing table list is created by each router using the routing protocol used in the LAN.

【0033】登録機能を開始する場合、まずステップS
1において、図に示したようなパラメータ、即ち新規加
入ルータアドレスと、公衆網番号とを加入ルータリスト
に登録する。更にステップS2において、LAN側ルー
ティングテーブルリストの到達可能なLANアドレス毎
に、それぞれ演算に必要なエントリを確保する。
When starting the registration function, first, step S
In step 1, the parameters shown in the figure, that is, the new joining router address and the public network number are registered in the joining router list. Further, in step S2, for each reachable LAN address in the LAN side routing table list, an entry required for calculation is secured.

【0034】ステップS3とS4において、上記のよう
なルーティングテーブルリストの数の分だけ処理が終わ
ったかどうかを判断する。これは、登録処理の全てが完
了したかどうかを判断するための処理である。登録動作
はステップS5からステップS11の処理を繰り返す。
まずステップS5において、エレメントにメトリック値
を設定し、到達可能ネットワークアドレスポインタを設
定する。そして、ステップS6において、到達可能ネッ
トワークアドレスキューをたどり、各エレメント内のメ
トリック値と、このエレメントに設定したメトリック値
とを比較する。そして、ステップS7において、到達可
能なネットワークアドレスキュー内の適切な位置に新た
なエレメントを挿入する。この実施例では、メトリック
値の少ない順にエレメントを配列している。従って、エ
レメントの中間に新たなエレメントが挿入された場合、
上流と下流及び自エレメントのキューの再設定を行う。
In steps S3 and S4, it is determined whether the processing has been completed by the number of routing table lists as described above. This is a process for determining whether or not all the registration processes have been completed. The registration operation repeats the processing from step S5 to step S11.
First, in step S5, a metric value is set in the element and a reachable network address pointer is set. Then, in step S6, the reachable network address queue is traced, and the metric value in each element is compared with the metric value set in this element. Then, in step S7, a new element is inserted at an appropriate position in the reachable network address queue. In this embodiment, the elements are arranged in ascending order of the metric value. Therefore, when a new element is inserted in the middle of the element,
Reset the queues of upstream and downstream and the own element.

【0035】ステップS8において、挿入されたエレメ
ントはキューの先頭かどうかが判断される。もし、その
エレメントがキューの先頭であればその中継経路は最適
な経路であるため、他のルータ等にも通知する必要があ
る。従って、ステップS9からステップS10に移り、
全加入ルータリストに登録済みのルータに対してリダイ
レクト機能を実行する準備を行う。即ち、これまで加入
していたルータに対してその旨を通知するために、この
情報を一時記憶しておく。この情報を通知する処理であ
るリダイレクト機能については後で説明する。代替のル
ーターが存在するときは、先頭でなくても、代替のルー
ティングマネージャへのリダイレクト用として、変更が
あったもの全てを送信する。
In step S8, it is determined whether the inserted element is the head of the queue. If the element is the head of the queue, the relay route is the optimum route, so it is necessary to notify other routers. Therefore, the process moves from step S9 to step S10,
Prepare to execute the redirect function for the routers registered in the list of all participating routers. That is, this information is temporarily stored in order to notify the router that has been subscribed so far. The redirect function that is a process of notifying this information will be described later. If an alternate router exists, it sends whatever has changed, even if it's not the first one, for redirection to the alternate routing manager.

【0036】その後、ステップS11において、エレメ
ントにルータアドレスキューを設定し、ルータポインタ
を設定する。これによって、新たなルータの加入による
エレメントの設定が1つ終了する。そのエレメントに到
達可能なLANが複数ある場合、ステップS3からステ
ップS11の処理が繰り返され、必要なエレメントが追
加更新される。なお、そのエレメントがステップS8に
おいて、キューの先頭でないと判断された場合には、ス
テップS9からステップS11にジャンプする。即ち、
この場合には、ルーティングマネージャに代替用のルー
トとして登録するとしても、その通知は行わない。即
ち、各ルータはこれまで通り最適のルートのみを保持す
るようにしている。
Then, in step S11, a router address queue is set in the element and a router pointer is set. This completes one element setting by joining a new router. When there are a plurality of LANs that can reach the element, the processes of steps S3 to S11 are repeated, and necessary elements are additionally updated. If it is determined in step S8 that the element is not the head of the queue, the process jumps from step S9 to step S11. That is,
In this case, even if the route is registered in the routing manager as an alternative route, the notification is not sent. That is, each router keeps only the optimum route as before.

【0037】なお、ステップS3において、ルータ立ち
上げ時に供給されたパラメータであるルーティングテー
ブルリストのリスト数分だけ処理が終えたと判断した場
合には、ステップS4からステップS12に移り、新規
加入ルータに対してベストルートを示すルーティングテ
ーブルを作成し、送信する。即ち、ステップS10にお
いて記憶しておいた情報をここでルータに伝えることに
なる。この場合の情報はベストルーティングテーブル、
即ち到達可能なLANネットワークアドレスと、キュー
の先頭のエレメントのルータポインタで示すルータアド
レスと、その公衆網番号となる。これによって、各ルー
タには最新のベストルートのルーティング情報ベースが
格納される。その内容は、図9で説明したルーティング
テーブル415の通りである。
If it is determined in step S3 that the processing has been completed by the number of routing table lists, which are the parameters supplied when the router is started up, the process proceeds from step S4 to step S12, and the newly added router is instructed. Create and send a routing table that shows the best routes. That is, the information stored in step S10 is transmitted to the router here. The information in this case is the best routing table,
That is, the reachable LAN network address, the router address indicated by the router pointer of the head element of the queue, and its public network number. As a result, each router stores the latest best route routing information base. The contents are as shown in the routing table 415 described in FIG.

【0038】このステップS12は、新規加入ルータに
対して送信される情報であって、ステップS13におい
ては加入ルータリストに登録された全ルータに対し、必
要な場合リダイレクト機能を実行する。即ち、各ルータ
のルーティング情報を更新するための処理を実行する。
なお、ステップS12において、新規加入ルータに対し
ルーティング情報ベース(RIB)の送信を行った場合
には、これが登録動作の終了応答メッセージとされ登録
動作は終了する。その後のステップS13の処理はリダ
イレクト機能によるものである。
This step S12 is the information transmitted to the newly added router. In step S13, the redirect function is executed for all the routers registered in the added router list if necessary. That is, the processing for updating the routing information of each router is executed.
In step S12, when the routing information base (RIB) is transmitted to the newly added router, this is used as the end response message of the registration operation, and the registration operation ends. The subsequent process of step S13 is based on the redirect function.

【0039】次に、既に登録済みのルータについて、ル
ーティング構成の変更等の再登録を行う機能について説
明する。図11は、ルーティングマネージャの再登録動
作フローチャートである。図1に示すような各ルータ1
04〜110は、それぞれLAN側のルーティング構成
に変更があったような場合、再登録要求を代表ルーティ
ングマネージャに対して送信する。代表ルーティングマ
ネージャはこれを受信した場合、その都度この再登録動
作を実行する。まず、ステップS1において、加入ルー
タリストから再登録要求ルータアドレスと、再登録要求
ルータの公衆網番号と、LAN側ルーティングテーブル
リストがパラメータとして入力する。このパラメータの
内容は、既に図11で説明した登録動作の際、ルーティ
ングマネージャに送り込まれるものと同一である。ステ
ップS1において、加入ルータリストを検索し、同一の
ルータアドレスを見つける。そして、ステップS2にお
いて、そのルータアドレスとチェインされているエレメ
ントをたどる。次に、その各エレメント毎に次のような
処理を実行する。なお、ステップS3は、キューが終了
した場合の分岐を示す。
Next, the function of re-registering the routing configuration and the like of the already registered router will be described. FIG. 11 is a flowchart of the re-registration operation of the routing manager. Each router 1 as shown in FIG.
Each of 04 to 110 transmits a re-registration request to the representative routing manager when there is a change in the routing configuration on the LAN side. When the representative routing manager receives this, it executes this re-registration operation each time. First, in step S1, the re-registration request router address, the public network number of the re-registration request router, and the LAN side routing table list are input as parameters from the joining router list. The contents of this parameter are the same as those sent to the routing manager during the registration operation already described in FIG. In step S1, the joining router list is searched to find the same router address. Then, in step S2, the element that is chained with the router address is traced. Next, the following processing is executed for each element. Note that step S3 shows a branch when the queue is completed.

【0040】ステップS4において、エレメント内の到
達可能LANネットワークアドレスと同じアドレスを入
力パラメータのテーブルリストから検索する。そして、
ステップS4において、該当するものがあると判断した
場合には、ステップS6に移りメトリック値を比較す
る。メトリック値が相違していれば、その内容を変更す
るため、ステップ7からステップS8に移り、メトリッ
ク値の再設定を行う。これは、登録機能の説明で行った
通りの動作である。そして、ステップS9において、メ
トリック値変更に伴うキューの位置変更があるかどうか
を判断する。位置変更があると判断された場合、ステッ
プS11に移り、移動前及び移動後のキューの位置が先
頭であるかどうかを判断する。代替となるルーティング
マネージャには、変更のあったエレメントは全てリダイ
レクトとして送信される。もし、先頭のキューにあるエ
レメントが変更になった場合には、ルーティング情報変
更のための通知を発する必要がある。従って、この場合
ステップS13に移り、先頭のエレメントをリダイレク
ト機能実行用に記憶しておく。
In step S4, the same address as the reachable LAN network address in the element is searched from the table of input parameters. And
If it is determined in step S4 that there is a corresponding item, the process proceeds to step S6 to compare the metric values. If the metric values are different, in order to change the contents, the process proceeds from step 7 to step S8, and the metric values are reset. This is the same operation as described in the description of the registration function. Then, in step S9, it is determined whether or not the position of the queue is changed due to the change of the metric value. If it is determined that there is a position change, the process proceeds to step S11, and it is determined whether or not the position of the cue before and after the movement is the head. All modified elements are sent as redirects to the alternate routing manager. If the element in the first queue is changed, it is necessary to issue a notification for changing the routing information. Therefore, in this case, the process moves to step S13 and the first element is stored for executing the redirect function.

【0041】以上のような処理と判断を実行することに
よって、変更になった部分のみを変更処理してステップ
S2に戻る。そして、必要な変更全てを終え、キューが
終了した場合には、ステップS14に移る。ここで、ま
だ未処理のエレメントがルーティングテーブルリストの
中にあるかどうかを判断する(ステップS14)。も
し、ある場合には、ステップS15からS16に移り、
新しいエレメントを確保し、その登録を実行する(ステ
ップS17)。そして、このようなエレメントの登録等
が終了した場合、ステップS18に移り、加入ルータリ
ストの全ての登録済みルータに対して、ステップS13
のような処理によってリダイレクトを必要とする場合、
リダイレクト機能を実行する。なお、この場合、代替ル
ーティングマネージャに対しては、変更になった全ての
情報を送信する。
By executing the processing and judgment as described above, only the changed portion is changed and the processing returns to step S2. When all the necessary changes are completed and the queue is completed, the process proceeds to step S14. Here, it is determined whether or not there is an unprocessed element in the routing table list (step S14). If there is, move from step S15 to S16,
A new element is secured and its registration is executed (step S17). When the registration of such elements is completed, the process proceeds to step S18 and step S13 is performed for all registered routers in the joining router list.
If you need redirect by processing like
Perform the redirect function. In this case, all the changed information is transmitted to the alternative routing manager.

【0042】図12に、ルーティングマネージャのリダ
イレクト動作フローチャートを示す。このリダイレクト
機能は、先に説明したルータの新規加入による登録機能
実行の際、新規に加入したルータに対する応答として実
行され、またその他のルータに対し経路変更通知として
実行される。また、各ルータからLAN側の経路変更が
あった場合の通知を受け、これに対する再登録機能を実
行した際、その他の加入ルータへの経路変更通知として
実行される。更に、上記のようなルーティング情報の変
更があった場合、常に運用系のルーティングマネージャ
は、予備系のルーティングマネージャに対し同様のリダ
イレクト処理を実行する。
FIG. 12 shows a flow chart of the redirect operation of the routing manager. This redirect function is executed as a response to the newly added router when the registration function is executed by the router newly added as described above, and is also executed as a route change notification to the other routers. Also, when a notification is received from each router when there is a route change on the LAN side, and when the re-registration function for this is executed, it is executed as a route change notification to other joining routers. Furthermore, when there is a change in the routing information as described above, the active routing manager always executes the same redirect processing for the standby routing manager.

【0043】この場合の入力パラメータは、到達可能L
ANネットワークアドレスと、ルータアドレスと、その
ルータ公衆網番号及びメトリック値の図4で説明したエ
レメントリストから構成される。これらのパラメータを
1つのパケットデータユニットにまとめ、目的の相手に
送信する。なお、1つのパケットデータユニットにまと
められない場合には、従来からネットワーク層に設けら
れた機能を用いてそのデータを分割して送信する。フロ
ーチャートとしては、ステップS1において、エレメン
トリストが存在するかどうかを判断し、存在した場合に
はエレメントを1つリードし、リダイレクトPDU、即
ちパケットデータユニットに設定する。そして、全ての
エレメントをパケット化した場合、ステップS2からス
テップS4に移り、加入ルータリストから1リストをリ
ードする。次に、ステップS5からステップS6に移
り、リードしたデータにリダイレクトPDUを送信を実
行する。その後ステップS4に戻り、次の加入ルータリ
ストから1リストをリードする。そして、全ての加入ル
ータについてのリダイレクト処理が実行すると、この機
能を抜ける。
The input parameter in this case is the reachable L
It is composed of the AN network address, the router address, the router public network number, and the element list of the metric value described in FIG. These parameters are collected in one packet data unit and transmitted to the intended partner. If the packet data units cannot be combined into one packet data unit, the data is divided and transmitted using the function conventionally provided in the network layer. As a flowchart, in step S1, it is determined whether or not an element list exists, and if it exists, one element is read and set in a redirect PDU, that is, a packet data unit. When all the elements are packetized, the process moves from step S2 to step S4 and one list is read from the joining router list. Next, the process proceeds from step S5 to step S6, and the redirect PDU is transmitted to the read data. After that, the process returns to step S4, and one list is read from the next joining router list. When the redirect processing for all the joining routers is executed, this function is exited.

【0044】図13にルーティングマネージャのポーリ
ング動作フローチャートを示す。この機能は、代表ルー
ティングマネージャが各加入ルータに対し一定の周期で
ポーリングを行い、これらが正常に運用しているかどう
かをチェックするために使用される。このポーリングを
もう一方のルーティングマネージャに対して実行するこ
とによって、運用系と予備系との切換えの際のトリガに
することもできる。まず、ステップS1において、加入
ルータリストから1リストをリードする。そしてステッ
プS2において、ポーリングPDU送信を実行する。こ
の場合、回線の都合によるリトライ等も実行される。次
にステップS3において、該当ルータから応答があるか
否かが判断される。
FIG. 13 shows a polling operation flowchart of the routing manager. This function is used by the representative routing manager to poll each joining router at regular intervals to check whether they are operating normally. By executing this polling for the other routing manager, it can be used as a trigger for switching between the active system and the standby system. First, in step S1, one list is read from the joining router list. Then, in step S2, polling PDU transmission is executed. In this case, a retry or the like is also executed due to the circumstances of the line. Next, in step S3, it is determined whether or not there is a response from the corresponding router.

【0045】もし応答があれば、そのルータは正常に作
動しているものとし、次のルータに対しポーリングを実
行するためにステップS1に戻る。一方、応答がない場
合には、ステップS4からステップS5に移り、該当ル
ータの加入ルータチェインのエレメントを到達可能ネッ
トワークアドレスチェインから抜く。即ち、該当するル
ータを加入ルータリストから検索し、そのルータアドレ
スキューにチェインされている全エレメントを、各到達
可能LANネットワークアドレスのネットワークアドレ
スキューから抜き去る。こうして、もしネットワークア
ドレスキューの先頭が変更した場合には、その変更を他
のルータに通知するため、ステップS6において、その
エレメントを記憶する。そしてステップS7において、
リダイレクト機能を実行する。
If there is a response, it means that the router is operating normally, and the process returns to step S1 to execute the polling for the next router. On the other hand, if there is no response, the process moves from step S4 to step S5, and the element of the joining router chain of the corresponding router is removed from the reachable network address chain. That is, the applicable router is searched from the joining router list, and all the elements chained to the router address queue are removed from the network address queue of each reachable LAN network address. Thus, if the head of the network address queue is changed, the element is stored in step S6 in order to notify the other router of the change. Then, in step S7,
Perform the redirect function.

【0046】このような処理を行うことによって、各ル
ータからの通知を受けることなくルーティングマネージ
ャが積極的に各ルータの動作状態を確認し、ルータの応
答がないような場合には、直ちにその旨を他のルータに
も通知し、ルーティング情報の最適化を図る。この機能
は、ルーティングマネージャが立ち上がった後、常に適
当なタイミングで実行される。
By carrying out such processing, the routing manager positively confirms the operating state of each router without receiving notification from each router, and if there is no response from the router, it is immediately notified. To other routers to optimize the routing information. This function is always executed at an appropriate time after the routing manager is started.

【0047】図14にルーティングマネージャの初期動
作フローチャートを示す。ここで、ルーティングマネー
ジャ自体が立ち上げられた場合の動作について説明す
る。図1に示す実施例では、公衆網に対し2台のルーテ
ィングマネージャが接続されているが、ルーティングマ
ネージャの立ち上げ時、各ルーティングマネージャは、
それぞれいずれが運用系で、いずれが予備系かを認識し
ていない。しかしながら、この図に示すようなアルゴリ
ズムによって、自動的に運用系か予備系かを決定するこ
とができる。即ち、ステップS1において、ルーティン
グマネージャの立ち上げ時、代替ルーティングマネージ
ャ、即ち予備系のルーティングマネージャに対して自分
のルーティングマネージャ情報の登録要求を送信する。
そして、ステップS2において、相手ルーティングマネ
ージャから応答があるかどうかを判断する。
FIG. 14 shows a flow chart of the initial operation of the routing manager. Here, the operation when the routing manager itself is started up will be described. In the embodiment shown in FIG. 1, two routing managers are connected to the public network, but when the routing managers are started up, each routing manager
They do not know which is the active system and which is the standby system. However, it is possible to automatically determine the active system or the standby system by the algorithm shown in this figure. That is, in step S1, when the routing manager is started up, a registration request of its own routing manager information is transmitted to the alternative routing manager, that is, the standby routing manager.
Then, in step S2, it is determined whether or not there is a response from the partner routing manager.

【0048】もし応答があれば、ステップS3からステ
ップS4に移り、そのルーティングマネージャは代替モ
ード、即ち予備系のルーティングマネージャとして動作
する。その後、予備系のルーティングマネージャとして
は、ポーリング受信機能とリダイレクト受信機能を実行
する。また、一方ステップS2において、相手ルーティ
ングマネージャから応答がないと判断された場合、ステ
ップS3からステップS5に移り、自己が運用系のルー
ティングマネージャとして動作する。この場合には、先
に説明した登録機能や、再登録機能及びリダイレクト機
能、ポーリング機能等の実行が行われる。こうして、運
用系のルーティングマネージャから予備系のルーティン
グマネージャに対し必要なルーティング情報ベースを返
す応答を行うことによって、運用系と予備系のルーティ
ング情報を一致させ、常に一方が他方に切り換えられる
ような構成とされる。
If there is a response, the process moves from step S3 to step S4, and the routing manager operates as an alternative mode, that is, a standby routing manager. After that, the standby routing manager executes the polling reception function and the redirect reception function. On the other hand, in step S2, when it is determined that there is no response from the partner routing manager, the process proceeds from step S3 to step S5, and the node itself operates as an active routing manager. In this case, the registration function, the re-registration function, the redirect function, the polling function, and the like described above are executed. In this way, a configuration in which the routing information of the active system and that of the standby system are matched and one is always switched to the other by making a response in which the required routing information base is returned from the active routing manager to the standby routing manager It is said that

【0049】図15に予備系ルーティングマネージャの
ポーリング受信動作フローチャートを示す。既に、図1
3で示したポーリング機能によって、運用系のルーティ
ングマネージャは予備系のルーティングマネージャに対
しポーリングを実行し、運用系に何らかの異常があった
場合、予備系のルーティングマネージャが運用系に切り
替わる動作を行う。即ち、この実施例では、予備系のル
ーティングマネージャが、一定時間毎に運用系のルーテ
ィングマネージャからポーリングがあることを認識し、
もし、そのポーリングが来なくなったことをタイムアウ
トにより検知した場合、自動的に運用系に切り替わると
いった動作を行う。具体的には次の通りである。
FIG. 15 shows a polling reception operation flowchart of the standby routing manager. Already in Figure 1
By the polling function shown in 3, the active routing manager polls the standby routing manager, and if there is any abnormality in the active system, the standby routing manager switches to the active system. That is, in this embodiment, the standby routing manager recognizes that there is polling from the active routing manager at regular time intervals,
If it detects that the polling has stopped, it will automatically switch to the active system. Specifically, it is as follows.

【0050】まず、ステップS1において、代表ルーテ
ィングマネージャからポーリングがあるかどうかを判断
する。そして、ポーリングがあった場合にはステップS
2に移り、ポーリング応答を代表ルーティングマネージ
ャに送信する。そして、タイマ等を使って一定時間以内
にポーリングがないと判断された場合、ステップS3か
らステップS4に移る。ここでは、自分の所有する図8
に示すルーティングマネージャ情報について、運用系の
ルーティングマネージャとして自分のルータアドレスと
公衆網番号を設定する。そして、全ての加入ルータに対
しリダイレクトを実行する。これによって、全ての加入
ルータは、これまでの予備系のルーティングマネージャ
が運用系に切り替わったことを認識する。最後に、ステ
ップS5において、運用系のルーティングマネージャモ
ードに移行する。この機能は、ルーティングマネージャ
が立ち上がり後常に有効となっている。
First, in step S1, it is determined whether or not there is polling from the representative routing manager. If there is polling, step S
2, the polling response is sent to the representative routing manager. Then, when it is determined that there is no polling within a certain time using a timer or the like, the process proceeds from step S3 to step S4. Here, Figure 8 owned by me
For the routing manager information shown in, set your router address and public network number as the active routing manager. Then, the redirect is executed for all the joining routers. As a result, all the joining routers recognize that the routing manager of the standby system has been switched to the active system. Finally, in step S5, the operation transits to the active routing manager mode. This function is always valid after the routing manager starts up.

【0051】図16に予備系ルーティングマネージャの
リダイレクト受信動作フローチャートを示す。この機能
は、予備系ルーティングマネージャが運用系ルーティン
グマネージャからリダイレクトを受信した場合に起動さ
れる。これは、運用系のルーティングマネージャからリ
ダイレクトされてくる情報を元に、運用系のルーティン
グマネージャが保持しているルーティング情報ベースと
同一のルーティング情報ベースを予備系のルーティング
マネージャに作成するための処理である。この場合の入
力パラメータは、新ルートリスト1101と、到達可能
ネットワークアドレス1102、ルータアドレス110
3、ルータ公衆網番号1104及びメトリック値110
5である。
FIG. 16 shows a flowchart of the redirect receiving operation of the standby routing manager. This function is activated when the standby routing manager receives a redirect from the active routing manager. This is a process to create the same routing information base as the routing information base held by the active routing manager in the standby routing manager based on the information redirected from the active routing manager. is there. The input parameters in this case are the new route list 1101, the reachable network address 1102, and the router address 110.
3, router public network number 1104 and metric value 110
It is 5.

【0052】まず、ステップS1において、リダイレク
トを受信したルーティングマネージャは入力パラメータ
のルータアドレス単位にその処理を実行する。そして、
ステップS2において、1つのルータアドレスを持つリ
ストを抽出する。そのリストがあれば、ステップS3か
らステップS4に移り、既に図10を用いて説明した登
録機能を実行する。リストが全てなくなった場合には処
理を終了する。即ち、入力パラメータの1リスト毎に運
用系のルーティングマネージャで行う登録機能と同様の
処理を実行し、全ての入力パラメータリストの処理を終
える。このようにして、運用系のルーティングマネージ
ャと同一のルーティング情報を保持し、いつでも予備系
から運用系に切り換えることができるように待機する。
First, in step S1, the routing manager that has received the redirect executes the processing for each router address of the input parameter. And
In step S2, a list having one router address is extracted. If there is such a list, the process moves from step S3 to step S4, and the registration function already described with reference to FIG. 10 is executed. If all the lists are exhausted, the process ends. That is, the same process as the registration function performed by the active routing manager is executed for each list of input parameters, and the process of all input parameter lists is completed. In this way, the same routing information as that of the active routing manager is held, and the standby system is on standby so that the standby system can be switched to the active system at any time.

【0053】図17に各ルータにおけるリダイレクト受
信動作フローチャートを示す。以下に、各ルータにおけ
る各種の処理動作について説明する。まず、各ルータが
リダイレクト受信を行った場合、この図17に示すよう
な処理が実行される。これは、ルーティングマネージャ
からリダイレクトされてくる情報を元にルーティングマ
ネージャが保持しているルーティング情報ベース(RI
B)と同じものを作成することが目的である。なお、各
ルータは最適のルートのみをルーティング情報として保
持し、代替ルートについては、ルーティングマネージャ
のみが保持していることは既に説明した通りである。ま
ず、入力パラメータは、新ルータリスト1201と、到
達可能なネットワークアドレス1202と、ルータアド
レス1203及びルータ公衆網番号1204である。
FIG. 17 shows a redirect receiving operation flowchart in each router. Various processing operations in each router will be described below. First, when each router receives a redirect, the processing shown in FIG. 17 is executed. This is a routing information base (RI) held by the routing manager based on the information redirected from the routing manager.
The purpose is to create the same as B). As described above, each router holds only the optimum route as the routing information, and the alternative route is held only by the routing manager. First, the input parameters are the new router list 1201, the reachable network address 1202, the router address 1203, and the router public network number 1204.

【0054】ステップS1において、このようなリスト
をリードし、ステップS2からステップS3に移り、公
衆網側のルーティングテーブルリストから該当する到達
可能ネットワークアドレスを検索する。そして、ステッ
プS4において、該当するものがあると判断された場合
にはステップS5に移り、ルータアドレス、ルータ公衆
網番号等を更新する。また、リスト内容が“0”なら
ば、これを削除する。一方、ステップS4において、該
当するネットワークアドレスがないと判断された場合に
はステップS6に移り、テーブルの追加を実行する。こ
れによって、到達可能ネットワークアドレス、ルータア
ドレス、公衆網番号の新たなリストが登録される。こう
して、図9に示すルーティングテーブル415の更新が
行われる。
In step S1, such a list is read, and the process proceeds from step S2 to step S3 to search for a corresponding reachable network address from the routing table list on the public network side. If it is determined in step S4 that there is a corresponding item, the process proceeds to step S5, and the router address, router public network number, etc. are updated. If the list content is "0", it is deleted. On the other hand, if it is determined in step S4 that there is no corresponding network address, the process proceeds to step S6, and a table is added. As a result, a new list of reachable network addresses, router addresses, and public network numbers is registered. In this way, the routing table 415 shown in FIG. 9 is updated.

【0055】なお、図9に示したLAN側ルーティング
テーブルの一例を図1のネットワークについて示すと以
下の通りとなる。 到達可能LANネットワークアト゛レス(411)+メトリック値(412)+NextHopルータアト゛レス(413) LAN(123) 0 − LAN(124) 0 − LAN(125) 1 ルータ(113) LAN(126) 1 ルータ(114) LAN(127) 2 ルータ(113) LAN(128) 2 ルータ(114)
An example of the LAN side routing table shown in FIG. 9 for the network of FIG. 1 is as follows. Reachable LAN network address (411) + metric value (412) + NextHop router address (413) LAN (123) 0-LAN (124) 0-LAN (125) 1 router (113) LAN (126) 1 router (114) LAN (127) 2 router (113) LAN (128) 2 router (114)

【0056】また、公衆網側のルーティングテーブルリ
スト415は、図1に示すネットワークについて生成し
た場合、次の通りとなる。 到達可能LANネットワークアト゛レス(416)+NextHopルータアト゛レス(417)+公衆網番号(418) LAN(120) ルータ(104) (104)の番号 LAN(121) ルータ(104) (104)の番号 LAN(122) ルータ(105) (105)の番号 LAN(123) ルータ(106) (106)の番号 LAN(124) ルータ(106) (106)の番号 LAN(125) ルータ(106) (106)の番号 LAN(126) ルータ(106) (106)の番号 LAN(127) ルータ(106) (106)の番号 LAN(128) ルータ(107) (107)の番号 LAN(129) ルータ(108) (108)の番号 LAN(130) ルータ(108) (108)の番号
The routing table list 415 on the public network side is as follows when generated for the network shown in FIG. Reachable LAN network address (416) + NextHop router address (417) + public network number (418) LAN (120) router (104) (104) number LAN (121) router (104) (104) number LAN (122) ) Router (105) (105) number LAN (123) Router (106) (106) number LAN (124) Router (106) (106) number LAN (125) Router (106) (106) number LAN (126) Router (106) (106) number LAN (127) Router (106) (106) number LAN (128) Router (107) (107) number LAN (129) Router (108) (108) number Number LAN (130) Router (108) (108) number

【0057】図18は各ルータにおける初期動作フロー
チャートである。各ルータは立ち上がりの際、この図に
示すような順に従って初期動作を実行する。まず、ステ
ップS1において、LAN側のルーティングプロトコル
によりLAN側のルーティングテーブルが作成される。
これは、既存のルーティングプロトコルを用いて実行さ
れる。その後、先に説明した自ルータアドレス、自ルー
タ公衆網番号及びLAN側ルーティングテーブルリスト
から作成した到達可能なLANネットワークアドレスや
メトリック値を含むシーケンスをパラメータとして運用
系のルーティングマネージャに登録要求を発行する(ス
テップS2)。
FIG. 18 is a flowchart of the initial operation in each router. At startup, each router executes the initial operation in the order shown in this figure. First, in step S1, a LAN side routing table is created by the LAN side routing protocol.
This is done using existing routing protocols. After that, a registration request is issued to the active routing manager using the sequence including the own router address, the own router public network number, and the reachable LAN network address and the metric value created from the LAN side routing table list described above as parameters. (Step S2).

【0058】そして、ステップS3において、ルーティ
ングマネージャより応答があるかどうかを判断する。ル
ータは、いずれのルーティングマネージャが運用系かを
初期状態においては知らないため、とりあえずどちらか
のルーティングマネージャにこのような登録要求を送信
する。もし、ルーティングマネージャから応答がない場
合には、そのルーティングマネージャは予備系と判断
し、ステップS5においてルーティングマネージャの状
態を予備系というように登録し、ステップS2に戻る。
そして、ステップS3においてルーティングマネージャ
から応答があった場合には、ステップS4からステップ
S6に移り、そのルーティングマネージャの状態を運用
系に設定する。そして、ステップS7に移り、応答メッ
セージ内の情報から公衆網側のルーティングテーブルを
作成する。こうして、ルータは中継動作を開始するが、
ルータの運用モードにおいては、再登録要求機能とリダ
イレクト受信機能とが、その後必要となる(ステップS
8)。
Then, in step S3, it is determined whether or not there is a response from the routing manager. Since the router does not know which routing manager is the active system in the initial state, it sends such a registration request to either routing manager for the time being. If there is no response from the routing manager, the routing manager judges that it is the standby system, registers the state of the routing manager as the standby system in step S5, and returns to step S2.
Then, when there is a response from the routing manager in step S3, the process proceeds from step S4 to step S6, and the state of the routing manager is set to the active system. Then, the process proceeds to step S7, and a routing table on the public network side is created from the information in the response message. Thus, the router starts the relay operation,
In the router operation mode, the re-registration request function and the redirect reception function are required thereafter (step S
8).

【0059】図19に各ルータにおける再登録要求動作
フローチャートを示す。各ルータにおいては、LAN内
において用いられているルーティングプロトコルによっ
てLAN側のルーティングテーブルリストが作成され
る。このルーティングテーブルリストは、その後ルーテ
ィングプロトコルによってルータの追加、変更、削除等
の際、動的に更新される。そして各ルータは、そのルー
ティング情報ベースに変化が生じた場合には、先に説明
した要領でルーティングマネージャに対し再登録を要求
する。この場合、ステップS1において、まずルーティ
ングプロトコルによりLAN側ルーティングテーブルに
変化があったかどうかを判断する。
FIG. 19 shows a re-registration request operation flowchart in each router. In each router, a routing table list on the LAN side is created by the routing protocol used in the LAN. This routing table list is dynamically updated by a routing protocol when a router is added, changed, or deleted thereafter. Then, when a change occurs in the routing information base, each router requests the routing manager to re-register in the same manner as described above. In this case, in step S1, it is first determined whether or not the LAN side routing table has been changed by the routing protocol.

【0060】そして、変化がないと判断された場合には
ステップS1の判断が繰り返され、変化があった場合に
はステップS3に移る。このとき、ルーティングマネー
ジャに送信するための再登録機能のパラメータリストを
作成する。この内容は先に説明した通りのもので、自ル
ータ公衆網側アドレスと、自ルータ公衆網番号と、到達
可能LANネットワークアドレス及びメトリック値のリ
ストである。なお、ルータが削除されたような場合に
は、メトリック値に−1等を入れて区別する。ステップ
S4に移り、ルーティングマネージャに再登録機能を要
求する。こうして、先に説明した要領で再登録が実行さ
れる。
When it is determined that there is no change, the determination of step S1 is repeated, and when there is a change, the process proceeds to step S3. At this time, a parameter list of the re-registration function to be sent to the routing manager is created. This content is as described above, and is a list of its own router public network side address, its own router public network number, reachable LAN network address and metric value. If the router is deleted, -1 is added to the metric value to distinguish it. In step S4, the routing manager is requested to perform the re-registration function. In this way, re-registration is executed in the manner described above.

【0061】なお、リダイレクト受信機能を実行する場
合には、ルーティングマネージャからの受信メッセージ
に、新ルートのリストと、到達可能LANネットワーク
アドレスと、 NextHopルータアドレス、 NextHopルータ
公衆網番号のリストが含まれる。この機能では、この入
力情報リストを元に公衆網側ルーティングテーブルリス
トの更新を行う。この場合、到達可能LANネットワー
クアドレスと同じアドレスを持つリストを公衆網側ルー
ティングテーブルリストから検索し、該当するリストが
存在する場合、そのリストの NextHopルータアドレス部
にパラメータを代入し、 NextHopルータ公衆網番号部に
該当するパラメータを代入する。この場合、両者が
“0”であった場合には、そのルートの削除を意味す
る。また、該当アドレスが公衆網側ルーティングテーブ
ルリストに存在しない場合には、ルートの追加として処
理を行う。この場合には、新たなリストを公衆網側ルー
ティングテーブルリストに追加する。その場合、リスト
の到達可能LANネットワークアドレス部と NextHopル
ータアドレス部と NextHopルータ公衆網番号部に対応す
るパラメータを代入する。
When the redirect reception function is executed, the received message from the routing manager includes a list of new routes, reachable LAN network addresses, NextHop router addresses, and a list of NextHop router public network numbers. . In this function, the public network side routing table list is updated based on this input information list. In this case, a list having the same address as the reachable LAN network address is searched from the public network side routing table list, and if the corresponding list exists, the parameter is substituted in the NextHop router address part of the list and the NextHop router public network Substitute the parameter corresponding to the number part. In this case, when both are “0”, it means that the route is deleted. If the corresponding address does not exist in the public network side routing table list, the process is performed by adding a route. In this case, a new list is added to the public network side routing table list. In that case, the parameters corresponding to the reachable LAN network address part, the NextHop router address part, and the NextHop router public network number part of the list are substituted.

【0062】各ルーティングマネージャやルータの機能
は以上説明した通りである。以下、これらの間の連携動
作をシーケンスチャートを用いて説明する。図20は、
ルーティングマネージャ立ち上がりシーケンスチャート
である。図に示すように、ルーティングマネージャをR
M1、RM2と表示すれば、まず、ルーティングマネー
ジャRM1が立ち上がり、RM2に対し登録要求を行
い、一定時間を計測し、タイムアウトの場合には、ルー
ティングマネージャRM1が代表モード、即ち運用系の
ルーティングマネージャとして立ち上がる。一方、その
後にルーティングマネージャRM2が立ち上がったと
き、RM1に対し登録要求を行うと、ルーティングマネ
ージャRM1は、ルーティングマネージャRM2に対し
RIBを送信する。これによって、同一のルーティング
情報作成がルーティングマネージャRM2に対して要求
される。ルーティングマネージャRM2はこれを受信し
た場合、自己を代替モード、即ち予備系のルーティング
マネージャと設定し、必要なルーティング情報を生成す
る。一方、ルーティングマネージャRM1は、その後一
定時間おきにポーリングを行い、ルーティングマネージ
ャRM2はその応答を返すというように、互いの障害検
出を実行する。
The function of each routing manager or router is as described above. Hereinafter, the cooperation operation between them will be described using a sequence chart. 20
It is a routing manager start-up sequence chart. R as shown in the figure
If M1 and RM2 are displayed, first, the routing manager RM1 starts up, makes a registration request to the RM2, measures a certain time, and when the time-out occurs, the routing manager RM1 serves as a representative mode, that is, an active routing manager stand up. On the other hand, when the routing manager RM2 is subsequently started up and a registration request is made to the RM1, the routing manager RM1 sends a RIB to the routing manager RM2. This requests the routing manager RM2 to create the same routing information. When receiving this, the routing manager RM2 sets itself as an alternative mode, that is, a standby routing manager, and generates necessary routing information. On the other hand, the routing manager RM1 performs polling at regular intervals thereafter, and the routing manager RM2 returns the response, thereby performing mutual failure detection.

【0063】図21にルーティングマネージャの系切換
えシーケンスチャートを示す。この図では、ルーティン
グマネージャRM1、RM2の他、4台のルータRT
1、RT2、RT3、RT4が関係し、ルータRT1と
ルータRT3は、未加入で、ルータRT2とルータRT
4は加入済みのものとする。この場合、例えばルーティ
ングマネージャRM1がポーリングを実行し、ルーティ
ングマネージャRM2が応答を返す処理がルーティング
マネージャRM1のダウンによって停止すると、一定時
間ポーリングを受信しないことをルーティングマネージ
ャRM2が検出し、ルーティングマネージャRM2が代
表モード、即ち運用系のルーティングマネージャとして
立ち上がる。その後、ルーティングマネージャRM2
は、既に加入済みのルータRT2及びRT4に対し事故
が運用系のルーティングマネージャにあったことを通知
する。
FIG. 21 shows a system switching sequence chart of the routing manager. In this figure, in addition to the routing managers RM1 and RM2, four routers RT
1, RT2, RT3, and RT4 are related, the router RT1 and the router RT3 are not joined, and the router RT2 and the router RT are not joined.
4 is already subscribed. In this case, for example, when the routing manager RM1 executes polling and the process in which the routing manager RM2 returns a response is stopped due to the routing manager RM1 being down, the routing manager RM2 detects that it does not receive the polling for a certain period of time, and the routing manager RM2 Start up in the representative mode, that is, as the routing manager of the operation system. Then the routing manager RM2
Informs the already-joined routers RT2 and RT4 that the accident was in the active routing manager.

【0064】図22に新規ルータ加入シーケンスチャー
トを示す。このシーケンスチャートにおいては、図21
と同様にルータRT1とRT3は未加入であって、ルー
タRT2とRT4は加入済みであるとする。このとき、
ルータRT1が立ち上げられ、LAN側のRIBを作成
した後、ルーティングマネージャRM2に対し登録要求
を実行する。この場合、ルーティングマネージャRM1
が運用系とすれば、タイムアウトによって応答のないこ
とをルータRT1が認識する。その後、RT1はルーテ
ィングマネージャRM1に登録要求を行う。次に、ルー
ティングマネージャRM1は、ルータRT1に対しRI
Bを送信する。これによって、ルータRT1は必要なル
ーティング情報を得て運用を開始する。
FIG. 22 shows a new router joining sequence chart. In this sequence chart, FIG.
Similarly, it is assumed that the routers RT1 and RT3 are not joined and the routers RT2 and RT4 are already joined. At this time,
After the router RT1 is started up and the RIB on the LAN side is created, a registration request is made to the routing manager RM2. In this case, the routing manager RM1
Is an active system, the router RT1 recognizes that there is no response due to a timeout. After that, RT1 makes a registration request to the routing manager RM1. Next, the routing manager RM1 sends an RI to the router RT1.
Send B. As a result, the router RT1 obtains necessary routing information and starts operation.

【0065】一方、ルーティングマネージャRM1は、
リダイレクト機能によってルーティングマネージャRM
2に対しルーティング情報を更新するためのリダイレク
トを行う。また、ルータRT2及びRT4に対しても同
様のリダイレクトが行われる。こうして、各ルータでは
動的にルーティング情報の更新が行われる。なお、その
後ルーティングマネージャRM1は、ルータRT1に対
し周期的にポーリングを行い、その応答が返ることを認
識して、正常に動作しているかどうかを確認し監視す
る。
On the other hand, the routing manager RM1
Routing manager RM by redirect function
2 is redirected to update the routing information. In addition, the same redirect is performed for the routers RT2 and RT4. In this way, the routing information is dynamically updated in each router. After that, the routing manager RM1 periodically polls the router RT1, recognizes that the response is returned, and confirms and monitors whether it is operating normally.

【0066】図23に経路変更時のシーケンスチャート
を示す。この例では、ルータRT1、RT2、RT4が
加入済みで、ルータRT3が未加入の状態であるものと
する。この場合に、ルータRT2のLAN側RIBに変
更が発生したとする。このとき、ルータRT2からはル
ーティングマネージャRM1に対し再登録要求が行われ
る。ルーティングマネージャRM1は、この要求を受け
ると再登録機能を実行すると共に、ルーティングマネー
ジャRM2とルータRT1及びルータRT4に対しリダ
イレクト動作を実行する。これらによって、ルータRT
2に接続されたLANの変更等が動的に通知され、各ル
ータのルーティング情報が更新される。
FIG. 23 shows a sequence chart when the route is changed. In this example, it is assumed that the routers RT1, RT2, RT4 have already joined and the router RT3 has not joined. In this case, it is assumed that the LAN-side RIB of the router RT2 has changed. At this time, the router RT2 issues a re-registration request to the routing manager RM1. Upon receipt of this request, the routing manager RM1 executes the re-registration function and also executes the redirect operation for the routing manager RM2 and the routers RT1 and RT4. By these, router RT
The change of the LAN connected to 2 is dynamically notified, and the routing information of each router is updated.

【0067】図24にネットワーク監視による経路変更
シーケンスチャートを示す。この例では、ルータRT
1、RT2及びRT4が加入済みであるものとする。ま
ず、この場合、ルーティングマネージャRM1は、ポー
リング機能によって一定周期で各ルータに対しポーリン
グを行い、その応答を受ける。応答があれば、そのルー
タは正常に動作しているものと判断し、次のルータに対
してポーリングを行う。ここで、例えばルータRT2対
しポーリングを行ったとき、そのRT2は直前にダウン
していたものとする。このとき、ルーティングマネージ
ャRM1はタイムアウトによって応答が無しと確認する
と、ルーティングマネージャRM2に対しリダイレクト
を行い、更に他のルータRT1、RT4に対してリダイ
レクトを行う。こうして、各ルータのルーティング情報
が更新される。
FIG. 24 shows a route change sequence chart by network monitoring. In this example, the router RT
It is assumed that 1, RT2 and RT4 are already subscribed. First, in this case, the routing manager RM1 polls each router at regular intervals by the polling function and receives the response. If there is a response, the router determines that it is operating normally and polls the next router. Here, for example, when polling is performed on the router RT2, it is assumed that the RT2 is down immediately before. At this time, when the routing manager RM1 confirms that there is no response due to timeout, it redirects to the routing manager RM2 and further redirects to the other routers RT1 and RT4. In this way, the routing information of each router is updated.

【0068】上記のような登録機能、再登録機能、リダ
イレクト機能、ポーリング機能、リダイレクト受信機
能、再登録要求機能等を利用することによって、各ルー
タの公衆網に接続されたルーティング情報ベースが動的
に変更される。この場合、ルーティング情報ベースを変
更するために必要な最小限の情報しか送信されないた
め、従来のように一切のルーティング情報を交換する方
法に比べ、低コストでルーティング情報の動的な変更が
可能となる。
By utilizing the above-mentioned registration function, re-registration function, redirect function, polling function, redirect reception function, re-registration request function, etc., the routing information base connected to the public network of each router is dynamically changed. Is changed to. In this case, the minimum amount of information required to change the routing information base is sent, so it is possible to dynamically change routing information at a lower cost than the conventional method of exchanging all routing information. Become.

【0069】また、ポーリング機能とポーリング受信機
能によって、ルーティングマネージャが、全てのルータ
の動作を監視するだけでなく、運用系と予備系のルーテ
ィングマネージャ同士の間で互いの動作を監視し、2重
化を容易にすることができる。更に、各ルータには最適
ルートのみがルーティング情報として格納されるが、ル
ーティングマネージャには、最適ルートの他に代替ルー
トがエレメントとして格納され、これが優先順位に配列
されているため、もし最適ルートに障害等が発生した場
合、あらたなルートを直ちに決定し、複雑な再計算処理
等無しに他のルータに通知することが可能となる。ま
た、ルーティングマネージャに加入ルータリストを設
け、公衆網に直結したルータ毎のリストを設けるように
したので、そのルータアドレスキューをたどることによ
って、迅速に該当ルータの経路更新等を行うことが可能
になる。
Further, the polling function and the polling reception function allow the routing manager not only to monitor the operations of all the routers but also to monitor the mutual operations between the active and standby routing managers to duplicate each other. Can be easily realized. Furthermore, each router stores only the optimum route as routing information, but the routing manager stores alternative routes in addition to the optimum route as elements, which are arranged in priority order. When a failure occurs, it is possible to immediately determine a new route and notify other routers without complicated recalculation processing. In addition, since the joining router list is provided in the routing manager and the list for each router directly connected to the public network is provided, it is possible to quickly update the route of the corresponding router by following the router address queue. Become.

【0070】更に、加入ルータリストによって、全管理
下にあるルータを一元管理することができ、公衆網上の
ネットワーク監視のためのリストとして利用することが
できる。また、公衆網に直接接続されたルータにおいて
は本発明の管理を行い、LAN側についてはルーティン
グに効率のよい既存のルーティングプロトコルを採用す
ることによって適切な規模で機能的なシステムを実現で
きる。本発明は以上の実施例に限定されない。ネットワ
ークの構成やルーティング情報の細部の構成等は、本発
明の目的を達成することができる範囲で適宜変更して差
し支えない。また、上記各機能は必ずしも全てのルーテ
ィングマネージャやルータに備えられる必要はなく、必
要に応じて自由に増減設定が可能である。
Further, the subordinate router list can centrally manage the routers under all management and can be used as a list for network monitoring on the public network. Further, a router directly connected to the public network manages the present invention, and a LAN side adopts an existing efficient routing protocol for routing, whereby a functional system can be realized at an appropriate scale. The present invention is not limited to the above embodiments. The configuration of the network, the detailed configuration of the routing information, and the like may be appropriately changed within the range in which the object of the present invention can be achieved. Further, the above-mentioned functions do not necessarily have to be provided in all the routing managers and routers, and increase / decrease settings can be freely set as necessary.

【0071】[0071]

【発明の効果】以上説明した本発明のルーティング管理
システムは、公衆網にネットワークの監視とルーティン
グ情報管理を行うルーティングマネージャを設け、各ル
ータからネットワーク加入要求やルーティング情報変更
要求等を受けたとき、保持しているルーティング情報を
更新し、必要最小限の更新情報を各ルータに通知するよ
うにしたので、この種のルーティング情報変更の際に公
衆網を介して行われる情報交換のためのトラフィックを
最小にすることができる。
The routing management system of the present invention described above is provided with a routing manager for monitoring the network and managing the routing information in the public network, and when receiving a network joining request or a routing information change request from each router, Since the routing information held is updated and the minimum necessary update information is notified to each router, the traffic for information exchange performed via the public network when changing this kind of routing information is performed. Can be minimized.

【0072】また、2台のルーティングマネージャを公
衆網に接続し、予備系が運用系に対しポーリングを実行
し、応答があれば運用系と見なし、応答がなくなれば予
備系が運用系に切り替わるといった処理を行うようにす
れば、ルーティングマネージャの2重化を容易にでき
る。更に、ルーティング情報中にローカルエリアネット
ワークまで中継を行うためのルータを特定した最適経路
を代替経路とともに格納するようにすれば、障害発生の
際、新たな代替経路を直ちに決定し、通知を行うことが
できる。
Further, two routing managers are connected to the public network, the standby system polls the active system, and if there is a response, it is regarded as the active system, and if there is no response, the standby system switches to the active system. If processing is performed, the duplication of the routing manager can be facilitated. Furthermore, if the optimal route that specifies the router for relaying to the local area network is stored in the routing information together with the alternative route, a new alternative route can be immediately determined and notified when a failure occurs. You can

【0073】更に、ローカルエリアネットワークごとに
中継ルータを特定したルーティング対象リストを設ける
とともに、各ルータごとにそのルーティング対象リスト
と対応付けた加入ルータリストを設けるようにすれば、
特定のルータ単位で中継経路を変更しようとする場合、
加入ルータリストを参照しながらルーティング対象リス
トを修正でき、この種のルーティング情報更新が容易に
なる。更に、ローカルエリアネットワーク側では、従来
ローカルエリアネットワークに採用されていたルーティ
ング情報管理用のプロトコルを実行し、公衆網側で本発
明のルーティング管理を行うようにすれば、全体として
システムを効率的に運用管理することができる。
Further, by providing a routing target list specifying a relay router for each local area network, and providing a joining router list associated with the routing target list for each router,
When changing the relay route for each specific router,
The routing target list can be modified while referring to the joining router list, and this kind of routing information update becomes easy. Further, if the local area network side executes the routing information management protocol conventionally adopted in the local area network and the public network side performs the routing management according to the present invention, the system as a whole becomes efficient. Can be operated and managed.

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

【図1】本発明のルーティング管理システム実施例を示
すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a routing management system of the present invention.

【図2】従来システムのネットワークブロック図であ
る。
FIG. 2 is a network block diagram of a conventional system.

【図3】同報通信比較説明図で、(a)はLANを使用
した同報通信、(b)は公衆網による同報通信の説明図
である。
3A and 3B are explanatory views of a broadcast communication comparison, in which FIG. 3A is a broadcast communication using a LAN, and FIG.

【図4】ルーティングマネージャのルーティング情報説
明図である。
FIG. 4 is an explanatory diagram of routing information of a routing manager.

【図5】ルーティング情報具体例説明図(その1)であ
る。
FIG. 5 is a diagram (part 1) for explaining a specific example of routing information.

【図6】ルーティング情報具体例説明図(その2)であ
る。
FIG. 6 is a diagram (part 2) for explaining a specific example of routing information.

【図7】ルーティング情報具体例説明図(その3)であ
る。
FIG. 7 is a diagram (part 3) for explaining a specific example of routing information.

【図8】2重化されたルーティングマネージャの情報説
明図である。
FIG. 8 is an explanatory diagram of information of a duplicated routing manager.

【図9】各ルータにおける管理情報説明図である。FIG. 9 is an explanatory diagram of management information in each router.

【図10】ルーティングマネージャの登録動作フローチ
ャートである。
FIG. 10 is a flow chart of a registration operation of a routing manager.

【図11】ルーティングマネージャの再登録動作フロー
チャートである。
FIG. 11 is a flowchart of re-registration operation of a routing manager.

【図12】ルーティングマネージャのリダイレクト動作
フローチャートである。
FIG. 12 is a flowchart of a redirect operation of a routing manager.

【図13】ルーティングマネージャのポーリング動作フ
ローチャートである。
FIG. 13 is a flowchart of a polling operation of the routing manager.

【図14】ルーティングマネージャの初期動作フローチ
ャートである。
FIG. 14 is a flowchart of an initial operation of a routing manager.

【図15】予備系ルーティングマネージャのポーリング
受信動作フローチャートである。
FIG. 15 is a flowchart of the polling reception operation of the standby routing manager.

【図16】予備系ルーティングマネージャのリダイレク
ト受信動作フローチャートである。
FIG. 16 is a flowchart of a redirect receiving operation of the standby routing manager.

【図17】各ルータにおけるリダイレクト受信動作フロ
ーチャートである。
FIG. 17 is a flowchart of a redirect receiving operation in each router.

【図18】各ルータにおける初期動作フローチャートで
ある。
FIG. 18 is a flowchart of an initial operation in each router.

【図19】各ルータにおける再登録要求動作フローチャ
ートである。
FIG. 19 is a flowchart of a reregistration request operation in each router.

【図20】ルーティングマネージャ立ち上がりシーケン
スチャートである。
FIG. 20 is a routing manager startup sequence chart.

【図21】ルーティングマネージャの系切換えシーケン
スチャートである。
FIG. 21 is a system switching sequence chart of the routing manager.

【図22】新規ルータ加入シーケンスチャートである。FIG. 22 is a new router joining sequence chart.

【図23】経路変更時のシーケンスチャートである。FIG. 23 is a sequence chart when a route is changed.

【図24】ネットワーク監視による経路変更シーケンス
チャートである。
FIG. 24 is a route change sequence chart by network monitoring.

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

10 ルーティング情報 11 ルーティング対象リスト 12 加入ルータリスト 100 公衆網 101、102 ルーティングマネージャ 104〜117 ルータ 120〜130 LAN 10 Routing Information 11 Routing Target List 12 Joined Router List 100 Public Network 101, 102 Routing Manager 104-117 Router 120-130 LAN

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 公衆網を介して接続された複数のローカ
ルエリアネットワーク間を、中継点に設けられたルータ
により、ネットワーク層レベルで中継して、接続する場
合において、 前記公衆網に、ルーティングマネージャを設け、 このルーティングマネージャは、 前記ネットワーク層レベルでの中継接続に必要な接続経
路を示すルーティング情報を保持し、 前記ルータを含む接続経路を監視し、 前記ルータからネットワーク加入要求とルーティング情
報変更要求を受けたとき、 保持しているルーティング情報を更新するとともに、 必要最小限の更新情報を生成して、各ルータに通知する
ことを特徴とするルーティング管理システム。
1. When connecting between a plurality of local area networks connected via a public network by a router provided at a relay point at a network layer level, the routing manager is connected to the public network. The routing manager holds routing information indicating a connection route necessary for relay connection at the network layer level, monitors a connection route including the router, and requests a network joining request and a routing information change request from the router. A routing management system that updates the routing information it holds when it receives a request, generates the minimum necessary update information, and notifies each router.
【請求項2】 同一の機能を持つ2台のルーティングマ
ネージャを公衆網に接続して、一方が他方に対してポー
リングを実行したとき、 所定の応答があれば他方を運用系と見なして、一方は予
備系として動作し、 所定の応答がなければ、前記ポーリングを実行した一方
が運用系として動作することを特徴とする請求項1記載
のルーティング管理システム。
2. When two routing managers having the same function are connected to a public network and one polls the other, if there is a predetermined response, the other is regarded as an active system and one 2. The routing management system according to claim 1, wherein the routing management system operates as a standby system, and if there is no predetermined response, one of the polling executions operates as an active system.
【請求項3】 ルーティング情報中に、接続対象となる
全ての各ローカルエリアネットワークまで中継を行なう
ためのルータを特定した最適経路を、その代替経路とと
もに格納して、 前記最適経路中での障害発生時に、各ルータに最適経路
の取消しと代替経路の通知をすることを特徴とする請求
項1記載のルーティング管理システム。
3. An optimal route specifying a router for relaying to each of the local area networks to be connected is stored in the routing information together with its alternative route, and a failure occurs in the optimal route. The routing management system according to claim 1, characterized in that the optimum route is canceled and the alternative route is notified to each router.
【請求項4】 ルーティング情報中に、 接続対象となる全ての各ローカルエリアネットワークご
とに、そのローカルエリアネットワークまで中継を行な
うためのルータを特定した経路をルーティング対象リス
トを設けるとともに、 前記ルータごとに、前記ルーティング対象リストと対応
付けた加入ルータリストを設けて、 前記ルータからネットワーク加入要求とルーティング情
報変更要求を受けたとき、 前記加入ルータリストを参照して、ルータ単位で中継を
行なうための経路を更新することを特徴とする請求項1
記載のルーティング管理システム。
4. A routing target list is provided in the routing information for each of all the local area networks to be connected, and a route specifying a router for relaying to the local area network is provided, and for each of the routers. , A route for relaying in router units by providing a joining router list associated with the routing target list and referring to the joining router list when receiving a network joining request and a routing information change request from the router Is updated.
The described routing management system.
【請求項5】 公衆網とローカルエリアネットワークと
の間の中継点に設けられたルータに、 ローカルエリアネットワーク側のルーティング情報管理
を実行させる一方、 公衆網側のルーティング情報管理を、公衆網に接続され
たルーティングマネージャが実行することを特徴とする
請求項1記載のルーティング管理システム。
5. A router provided at a relay point between a public network and a local area network is made to execute routing information management on the local area network side, while routing information management on the public network side is connected to the public network. The routing management system according to claim 1, wherein the routing management system is executed by a specified routing manager.
JP4306460A 1992-10-20 1992-10-20 Routing control system Pending JPH06132959A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4306460A JPH06132959A (en) 1992-10-20 1992-10-20 Routing control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4306460A JPH06132959A (en) 1992-10-20 1992-10-20 Routing control system

Publications (1)

Publication Number Publication Date
JPH06132959A true JPH06132959A (en) 1994-05-13

Family

ID=17957282

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4306460A Pending JPH06132959A (en) 1992-10-20 1992-10-20 Routing control system

Country Status (1)

Country Link
JP (1) JPH06132959A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002158680A (en) * 2000-09-08 2002-05-31 Fisher Rosemount Syst Inc Searching algorithm for foundation field bus protocol
KR100514681B1 (en) * 2000-09-22 2005-09-13 주식회사 케이티 Method for providing an optimal route in an asynchronous transfer mode and apparatus therefor
US7974188B2 (en) 2008-03-25 2011-07-05 Nec Corporation Repeater and communication method
JP2013198027A (en) * 2012-03-22 2013-09-30 Mitsubishi Electric Information Systems Corp Communication system
JP2014519783A (en) * 2011-06-27 2014-08-14 アルカテル−ルーセント Protection against failures in computer networks

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002158680A (en) * 2000-09-08 2002-05-31 Fisher Rosemount Syst Inc Searching algorithm for foundation field bus protocol
KR100514681B1 (en) * 2000-09-22 2005-09-13 주식회사 케이티 Method for providing an optimal route in an asynchronous transfer mode and apparatus therefor
US7974188B2 (en) 2008-03-25 2011-07-05 Nec Corporation Repeater and communication method
JP2014519783A (en) * 2011-06-27 2014-08-14 アルカテル−ルーセント Protection against failures in computer networks
US9372753B2 (en) 2011-06-27 2016-06-21 Alcatel Lucent Protection against a failure in a computer network
JP2013198027A (en) * 2012-03-22 2013-09-30 Mitsubishi Electric Information Systems Corp Communication system

Similar Documents

Publication Publication Date Title
KR100445374B1 (en) Topology propagation in a distributed computing environment with no topology message traffic in steady state
US7835303B2 (en) Packet-switched network topology tracking method and system
JP3286584B2 (en) Multiplexed router device
JP4484803B2 (en) Network operation management system
JP2006229967A (en) High-speed multicast path switching
KR20040097368A (en) Methods and apparatus for providing ad-hoc networked sensors and protocols
JP2003051835A (en) Method for connecting between networks, virtual router, and system for connecting between networks by using this virtual router
JPH07297854A (en) Destination fixing connection management system for switching network, node management system and node
US20170214609A1 (en) Forwarding method and forwarding device
CN104144124B (en) Data forwarding method, Apparatus and system
KR20150068317A (en) Method of failover for network device in software defined network environment
JPH06132959A (en) Routing control system
JP2002016622A (en) Network managing system
JP4909147B2 (en) Communication network system
JP2001237889A (en) Bypass control method and system in data communication network
JP3395703B2 (en) Point-to-point communication network system and communication control method therefor
JPH10285214A (en) Fault recovery system
JP3246409B2 (en) Fault monitoring method
JP2005184666A (en) Ring-type network device, redundant method of ring-type network and node device of ring-type network
US20210006512A1 (en) Packet forwarding apparatus, network system, and packet forwarding method
JPH08181713A (en) Position registration method and system thereof
JP3159129B2 (en) Network monitoring method
JP3000932B2 (en) Communication network detour route management method and apparatus
JP2004007078A (en) Radio communication system, radio management device, accommodation device selection method and program
JPH10285175A (en) Transmission path autonomous change-over system