JP4480702B2 - Communication method, communication system, router and program thereof - Google Patents
Communication method, communication system, router and program thereof Download PDFInfo
- Publication number
- JP4480702B2 JP4480702B2 JP2006273591A JP2006273591A JP4480702B2 JP 4480702 B2 JP4480702 B2 JP 4480702B2 JP 2006273591 A JP2006273591 A JP 2006273591A JP 2006273591 A JP2006273591 A JP 2006273591A JP 4480702 B2 JP4480702 B2 JP 4480702B2
- Authority
- JP
- Japan
- Prior art keywords
- router
- setting information
- address
- transmission request
- transmitted
- 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.)
- Active
Links
- 238000004891 communication Methods 0.000 title claims description 19
- 238000000034 method Methods 0.000 title claims description 18
- 230000005540 biological transmission Effects 0.000 claims description 61
- 230000004044 response Effects 0.000 claims description 10
- 238000012790 confirmation Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000012806 monitoring device Methods 0.000 description 2
- 238000004590 computer program Methods 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Description
本発明はルータに関する技術であり、特に隣接ルータの最新の設定情報を互いに管理する技術に関する。 The present invention relates to router technology, and more particularly to technology for mutually managing the latest setting information of neighboring routers.
従来、ネットワークにおけるルータの設定情報の管理は、紙、フロッピーディスク(登録商標)等の記録媒体に記録することによって行われていた。また、各ルータの設定情報をネットワーク管理装置に送信してネットワーク管理装置に集中管理させていた。 Conventionally, management of router setting information in a network has been performed by recording on a recording medium such as paper or a floppy disk (registered trademark). In addition, the setting information of each router is transmitted to the network management apparatus so that it is centrally managed by the network management apparatus.
上記の記録媒体にルータの設定情報をバックアップする方法を用いた場合、設定変更があったときには設定変更する度に設定情報を媒体に記録する必要があり、その作業の手間とコストとがかかる。また、ルータに何かしらの障害が発生してルータを交換する場合、媒体に記録した設定情報を用いてルータを設定する作業を手動で行っている為、人為的なミスなどが発生してネットワークの停止時間が長くなることがある。 When the method of backing up the router setting information on the above recording medium is used, it is necessary to record the setting information on the medium every time the setting is changed, which takes time and labor. In addition, when a router is replaced in the event of any failure, the router is manually set using the setting information recorded on the medium. Stop time may be longer.
更に、ネットワーク監視装置によって集中管理する方法を用いた場合、ルータに障害が発生してルータを交換する際に、ネットワーク監視装置への接続ができるまでの設定を入力しなければならなかった。 Furthermore, when the method of centralized management by the network monitoring device is used, when a router has failed and the router is replaced, it is necessary to input settings until the connection to the network monitoring device is established.
また、ネットワークを管理する方法として例えば特許文献1のようにルータが保持している情報をルータ同士で交換してネットワークを管理する方法がある。しかしながら、特許文献1は経路情報を交換してネットワークを管理するための技術であり、ルータの設定情報を管理する技術ではない為、その技術を用いてルータの設定情報を管理しようとしても適用することができなかった。
As a method for managing a network, for example, there is a method for managing a network by exchanging information held by routers between routers as in
そこで、本発明が解決しようとする課題は、上記問題点を解決することであって、ルータの設定情報を管理するための技術を提供することにある。 Therefore, the problem to be solved by the present invention is to solve the above-mentioned problems and to provide a technique for managing router setting information.
また、ルータの設定情報を管理するにあたって、ルータの設定情報を登録するための作業の手間とコストとをかけることなく管理ができ、更に、新規ルータに確実に正しい設定情報を登録することができる技術を提供することにある。
上記課題を解決するための第1の発明は、通信システムであって、
所定のタイミングで自ルータの設定情報を他のルータに通知する通知手段と、
他のルータの設定情報を受信すると、前記受信した設定情報を通知したルータのアドレスが自ルータのルーティングテーブルに存在するかを確認し、存在する場合にはそのルータのアドレスと前記受信した設定情報とを対応付けてコンフィグテーブルを生成する生成手段と、
自ルータの設定情報が登録されていない場合、自ルータの設定情報の送信要求を他のルータに送信する送信手段と、
他のルータから送信要求を受信すると、その送信要求を送信したルータのアドレスに基づいて前記コンフィグテーブルから該アドレスに対応付けられている設定情報を検索し、前記送信要求を送信したルータに前記検索した設定情報を送信する検索手段と、
自ルータが送信した送信要求に対して他のルータから送信された設定情報を自ルータの設定情報として記憶する記憶手段と
を有することを特徴とする。
A first invention for solving the above problem is a communication system,
Notification means for notifying other routers of the setting information of the own router at a predetermined timing;
When setting information of another router is received, it is confirmed whether the address of the router that notified the received setting information exists in the routing table of the own router, and if there is, the address of the router and the received setting information a generating means for generating a configuration table in association bets,
When the setting information of the own router is not registered, a transmission means for transmitting a transmission request for the setting information of the own router to another router,
When a transmission request is received from another router, setting information associated with the address is searched from the configuration table based on the address of the router that transmitted the transmission request, and the search is performed on the router that transmitted the transmission request. Search means for transmitting the set information,
Storage means for storing setting information transmitted from another router in response to a transmission request transmitted by the own router as setting information of the own router .
上記課題を解決するための第2の発明は、上記第1の発明において、
前記記憶した設定情報に基づいて自ルータの設定を行う設定手段
を有することを特徴とする。
According to a second invention for solving the above-mentioned problem, in the first invention,
It has a setting means for setting its own router based on the stored setting information.
上記課題を解決するための第3の発明は、上記第1又は第2の発明において、
前記通知手段は、自ルータの設定情報が更新される度に設定情報を通知するように構成されていることを特徴とする。
According to a third invention for solving the above-described problem, in the first or second invention,
The notifying unit is configured to notify the setting information every time the setting information of the own router is updated.
上記課題を解決するための第4の発明は、上記第1又は第2の発明において、
前記通知手段は、自ルータの設定情報が登録されていない場合、設定情報を通知しないように構成されていることを特徴とする。
According to a fourth invention for solving the above-mentioned problem, in the first or second invention,
The notification means is configured not to notify the setting information when the setting information of the own router is not registered.
上記課題を解決するための第5の発明は、上記第1から第4のいずれかの発明において、
前記通知手段は、前記ルーティングテーブルに基づいて、設定情報を通知するルータを決定するように構成されていることを特徴とする。
A fifth invention for solving the above-described problems is any one of the first to fourth inventions,
The notifying means is configured to determine a router to notify setting information based on the routing table.
上記課題を解決するための第6の発明は、ルータであって、
所定のタイミングで自ルータの設定情報を他のルータに通知する通知手段と、
他のルータの設定情報を受信すると、前記受信した設定情報を通知したルータのアドレスが自ルータのルーティングテーブルに存在するかを確認し、存在する場合にはそのルータのアドレスと前記受信した設定情報とを対応付けてコンフィグテーブルを生成する生成手段と、
自ルータの設定情報が登録されていない場合、自ルータの設定情報の送信要求を送信する送信手段と、
他のルータから送信要求を受信すると、その送信要求を送信したルータのアドレスに基づいて前記コンフィグテーブルから該アドレスに対応付けられている設定情報を検索し、前記送信要求を送信したルータに前記検索した設定情報を送信する検索手段と、
自ルータが送信した送信要求に対して他のルータから送信された設定情報を自ルータの設定情報として記憶する記憶手段と
を有することを特徴とする。
A sixth invention for solving the above problem is a router,
Notification means for notifying other routers of the setting information of the own router at a predetermined timing;
When setting information of another router is received, it is confirmed whether the address of the router that notified the received setting information exists in the routing table of the own router, and if there is, the address of the router and the received setting information Generating means for generating a configuration table in association with
When the setting information of the own router is not registered, a transmission means for transmitting a transmission request for the setting information of the own router;
When a transmission request is received from another router, setting information associated with the address is searched from the configuration table based on the address of the router that transmitted the transmission request, and the search is performed on the router that transmitted the transmission request. Search means for transmitting the set information,
Storage means for storing setting information transmitted from another router in response to a transmission request transmitted by the own router as setting information of the own router;
It is characterized by having .
上記課題を解決するための第7の発明は、通信方法であって、
所定のタイミングで自ルータの設定情報を他のルータに通知する通知ステップと、
他のルータの設定情報を受信すると、前記受信した設定情報を通知したルータのアドレスが自ルータのルーティングテーブルに存在するかを確認する確認ステップと、
前記確認の結果、そのアドレスが存在する場合にはそのルータのアドレスと前記受信した設定情報とを対応付けてコンフィグテーブルを生成する生成ステップと、
自ルータの設定情報が登録されていない場合、自ルータの設定情報の送信要求を他のルータに送信する送信ステップと、
他のルータから送信要求を受信すると、その送信要求を送信したルータのアドレスに基づいて前記コンフィグテーブルから該アドレスに対応付けられている設定情報を検索し、前記送信要求を送信したルータに前記検索した設定情報を送信する検索ステップと、
自ルータが送信した送信要求に対して他のルータから送信された設定情報を自ルータの設定情報として記憶する記憶ステップと
を有することを特徴とする。
A seventh invention for solving the above problem is a communication method,
A notification step of notifying the other router of the setting information of the own router at a predetermined timing;
Upon receiving the setting information of the other router, a confirmation step for confirming whether the address of the router that notified the received setting information exists in the routing table of the own router;
As a result of the confirmation, if the address exists, a generation step of generating a configuration table by associating the address of the router with the received setting information ;
When the setting information of the own router is not registered, a sending step of sending a request for sending the setting information of the own router to another router;
When a transmission request is received from another router, setting information associated with the address is searched from the configuration table based on the address of the router that transmitted the transmission request, and the search is performed on the router that transmitted the transmission request. A search step for sending the set information,
A storage step of storing the setting information transmitted from another router in response to the transmission request transmitted by the own router as the setting information of the own router .
上記課題を解決するための第8の発明は、上記第7の発明において、
前記記憶した設定情報に基づいて自ルータの設定を行う設定ステップ
を有することを特徴とする。
An eighth invention for solving the above-described problem is the seventh invention, wherein
It has a setting step for setting its own router based on the stored setting information.
上記課題を解決するための第9の発明は、上記第7又は第8の発明において、
前記通知ステップは、自ルータの設定情報が更新される度に設定情報を通知することを特徴とする。
A ninth invention for solving the above-described problems is the seventh or eighth invention,
The notifying step notifies the setting information every time the setting information of the own router is updated.
上記課題を解決するための第10の発明は、上記第7又は第8の発明において、
前記通知ステップは、自ルータの設定情報が登録されていない場合には行われないことを特徴とする。
The tenth invention for solving the above-mentioned problems is the above-mentioned seventh or eighth invention,
The notifying step is not performed when the setting information of the own router is not registered.
上記課題を解決するための第11の発明は、上記第7から第10のいずれかの発明において、
前記ルーティングテーブルに基づいて、設定情報を通知するルータを決定することを特徴とする。
An eleventh invention for solving the above-mentioned problems is any one of the seventh to tenth inventions,
A router for notifying setting information is determined based on the routing table.
上記課題を解決するための第12の発明は、ルータのプログラムであって、前記プログラムは前記ルータを、
所定のタイミングで自ルータの設定情報を他のルータに通知する通知手段と、
他のルータの設定情報を受信すると、前記受信した設定情報を通知したルータのアドレスが自ルータのルーティングテーブルに存在するかを確認し、存在する場合にはそのルータのアドレスと前記受信した設定情報とを対応付けてコンフィグテーブルを生成する生成部と、
自ルータの設定情報が登録されていない場合、自ルータの設定情報の送信要求を送信する送信手段と、
他のルータから送信要求を受信すると、その送信要求を送信したルータのアドレスに基づいて前記コンフィグテーブルから該アドレスに対応付けられている設定情報を検索し、前記送信要求を送信したルータに前記検索した設定情報を送信する検索手段と、
自ルータが送信した送信要求に対して他のルータから送信された設定情報を自ルータの設定情報として記憶する記憶手段と
して機能させることを特徴とする。
A twelfth invention for solving the above-mentioned problems is a router program, wherein the program
Notification means for notifying other routers of the setting information of the own router at a predetermined timing;
When setting information of another router is received, it is confirmed whether the address of the router that notified the received setting information exists in the routing table of the own router, and if there is, the address of the router and the received setting information And a generation unit that generates a configuration table in association with
When the setting information of the own router is not registered, a transmission means for transmitting a transmission request for the setting information of the own router;
When a transmission request is received from another router, setting information associated with the address is searched from the configuration table based on the address of the router that transmitted the transmission request, and the search is performed on the router that transmitted the transmission request. Search means for transmitting the set information ,
In response to a transmission request transmitted by the own router, the setting information transmitted from another router is functioned as a storage unit that stores the setting information as the setting information of the own router.
本発明は、自身の経路情報と自身の設定情報とを組み合わせて、隣接ルータへ設定情報を通知する機能と、ある隣接ルータからの問い合わせに対し、自身で管理している複数の隣接ルータの設定情報から適切な設定情報を選択し通知する機能と、隣接ルータから通知された設定情報に基づいて設定する機能とを有する。 The present invention combines the own route information and the own setting information to notify the neighboring router of the setting information, and the setting of a plurality of neighboring routers managed by itself in response to an inquiry from a certain neighboring router. A function for selecting and notifying appropriate setting information from the information, and a function for setting based on the setting information notified from the adjacent router.
本発明によると、ルータの設定情報を管理するための作業の手間とコストとをかけることなく、確実に正しい設定情報を登録することができる。 According to the present invention, correct setting information can be surely registered without taking the labor and cost of managing router setting information.
これは、隣接するルータ同士で、自ルータの設定情報を交換して互いに管理しており、新規のルータに交換する際、隣接ルータに保持されている設定情報に基づいて新規のルータの設定情報を登録する構成をとっているためである。 This is because neighboring routers exchange their own router configuration information and manage each other. When exchanging with a new router, the new router configuration information is based on the configuration information held in the neighboring router. This is because the configuration for registering is taken.
また、本発明は、自ルータに記憶されているルーティングテーブルに基づいて、自ルータの設定情報を交換するルータを決定する構成をとっているので、人為的な作業が削除でき、手間とコストを減らすことができる。 In addition, since the present invention has a configuration in which the router for exchanging the setting information of the own router is determined based on the routing table stored in the own router, human work can be eliminated, and labor and cost can be saved. Can be reduced.
また、本発明は、自ルータの設定情報が更新される度に設定情報を隣接ルータに通知するので、新規のルータに交換する際、確実に新しい設定情報を新規のルータに登録することができる。 In addition, since the present invention notifies the neighboring router of the setting information every time the setting information of the own router is updated, the new setting information can be surely registered in the new router when exchanging with a new router. .
本発明の特徴を説明するために、以下において、図面を参照して具体的に述べる。 In order to explain the features of the present invention, it will be specifically described below with reference to the drawings.
図1は、本発明における通信システムの概要図である。 FIG. 1 is a schematic diagram of a communication system according to the present invention.
図1に示すように、本発明の通信システムは、ルータ1、ルータ2、及びルータ3と、ネットワーク11、ネットワーク12、ネットワーク13、及びネットワーク14とから構成されている。
As shown in FIG. 1, the communication system of the present invention includes a
ルータ1は、ネットワーク11とネットワーク12とに接続されており、ネットワーク11にはIPアドレス21で定義付けられて接続されており、ネットワーク12にはIPアドレス22で定義付けられて接続されている。ルータ1には、コンフィグテーブル31とルーティングテーブル51とが保持されている。コンフィグテーブル31は、図2に示すとおり、ルータ1の隣接ルータであるルータ2へのネクストホップIPアドレスと、このIPアドレスで定義されて接続している隣接ルータ2のコンフィグファイル42とが互いに対応付けられている。ネクストホップIPアドレスは、図3に示すとおり、ルータ1のルーティングテーブル51から抽出される。コンフィグファイルはルータの設定情報であり、例えばインタフェースのIPアドレス、インタフェースの制御情報、SNMP(Simple Network Management Protocol)の設定情報、ホスト名等が記述されている。
The
ルータ2は、ネットワーク12とネットワーク13とに接続されており、ネットワーク12にはIPアドレス23で定義付けられて接続されており、ネットワーク13にはIPアドレス24で定義付けられて接続されている。ルータ2には、コンフィグテーブル32とルーティングテーブル52とが保持されている。コンフィグテーブル32は、図2に示すとおり、ルータ2の隣接ルータであるルータ1及びルータ2へのネクストホップIPアドレスと、このIPアドレスで定義されて接続している隣接ルータのコンフィグファイル41又はコンフィグファイル42とが互いに対応付けられている。ネクストホップIPアドレスは、図3に示すとおり、ルータ2のルーティングテーブル52から抽出される。
The router 2 is connected to the network 12 and the network 13. The router 12 is defined and connected to the network 12 by the IP address 23, and is defined and connected to the network 13 by the IP address 24. The router 2 holds a configuration table 32 and a routing table 52. As shown in FIG. 2, the configuration table 32 includes the
ルータ3は、ネットワーク13とネットワーク14とに接続されており、ネットワーク13にはIPアドレス25で定義付けられて接続されており、ネットワーク14にはIPアドレス26で定義付けられて接続されている。ルータ3には、コンフィグテーブル33とルーティングテーブル53とが保持されている。コンフィグテーブル33は、図2に示すとおり、ルータ3の隣接ルータであるルータ3へのネクストホップIPアドレスと、このIPアドレスで定義されて接続している隣接ルータのコンフィグファイル42とが互いに対応付けられている。ネクストホップIPアドレスは、図3に示すとおり、ルータ3のルーティングテーブル53から抽出される。 The router 3 is connected to the network 13 and the network 14, and is defined and connected to the network 13 by the IP address 25, and is defined and connected to the network 14 by the IP address 26. The router 3 holds a configuration table 33 and a routing table 53. As shown in FIG. 2, in the configuration table 33, the next hop IP address to the router 3 which is the neighboring router of the router 3 and the configuration file 42 of the neighboring router defined and connected by this IP address are associated with each other. It has been. The next hop IP address is extracted from the routing table 53 of the router 3 as shown in FIG.
ルータ1、ルータ2、及びルータ3は、図4に示すように、記憶部101、通知部102、生成部103、送信要求生成部104、検索部105、設定部106、送信部107、及び受信部108を有する。
As illustrated in FIG. 4, the
記憶部101には、コンフィグテーブル、ルーティングテーブル、及びコンフィグファイルが格納されている。
The
通知部102は、自ルータのコンフィグファイル(設定情報)が登録又は設定変更やルーティングテーブルの変更等によってコンフィグファイルが更新されるとそれを検出し、記憶部101に格納されているルーティングテーブルを参照して、隣接するルータへのネクストホップIPアドレスを抽出する。そして、抽出したネクストホップIPアドレスに対して自ルータの新しいコンフィグファイルを通知する。また、誤って空のコンフィグファイルを通知して、隣接ルータに格納されている自ルータのコンフィグファイルが上書きされてしまうのを防ぐために、新規ルータのコンフィグファイルが空の時には自ルータのコンフィグファイルの通知を行わない。尚、本明細書では、コンフィグファイルの更新を検出してコンフィグファイルを通知する場合を用いて説明するが、コンフィグファイルの通知処理は定期的に行ってもよい。但し、設定変更や、ルーティングテーブルの変更等によってコンフィグファイルが更新される度に通知処理を行う方が望ましい。
The
生成部103は、コンフィグファイルの通知を受けると、記憶部101に格納されているルーティングテーブルを参照して、自ルータの隣接ルータ(ネクストホップIPアドレス)からの通知であることを確認する。確認後、ルータ2へのネクストホップIPアドレスとそのルータのコンフィグファイルとを対応付けて記憶して新しいコンフィグテーブルを生成する。また、ある一定の期間、コンフィグファイルを通知しないルータがある場合は、記憶部101に格納されているコンフィグテーブルから、その対応するルータのコンフィグファイルを削除し、そのルータへのネクストホップIPアドレスもコンフィグテーブルからも削除する。
Upon receiving the notification of the configuration file, the
送信要求生成部104は、自ルータのコンフィグファイルが記憶部101に格納されていない場合、それを検出して自ルータに接続されているネットワークに対して自ルータのコンフィグファイルの送信要求を生成して送信部107を介して送信する。尚、複数のネットワークに接続されている場合、先に接続されたネットワークに対して送信要求を送信しても、全ネットワークに対して送信しても良い。
If the configuration file of the own router is not stored in the
検索部105は、受信部108を介して送信要求を受信すると、その送信要求を送信したルータのアドレスに基づいて記憶部101に格納されているコンフィグテーブルからそのアドレスに対応付けられているコンフィグファイルを検索し、そのコンフィグファイルを送信部107を介して送信する。
When the
設定部106は、送信要求に応じて送信されたコンフィグファイルを受信部108を介して受け取り、そのコンフィグファイルに基づいて、自ルータの設定を行う。尚、送信要求生成部104が複数のネットワークに対して送信要求を送信した場合、最初に受け取ったコンフィグファイルに基づいて設定しても、全送信要求に応じて送信された全コンフィグファイルを受信して、全コンフィグファイルが同一の場合にいずれかのコンフィグファイルに基づいて設定しても良く、任意であってよい。
The
続いて、本発明の動作について図4及び図5を用いて説明する。 Next, the operation of the present invention will be described with reference to FIGS.
まず、通常時の動作について図4を用いて説明する。図4は、通常時、自身のコンフィグファイルを隣接ルータに通知する場合を説明する為のチャート図である。 First, normal operation will be described with reference to FIG. FIG. 4 is a chart for explaining a case where the own configuration file is notified to the adjacent router in the normal state.
ルータ2の通知部102は、記憶部101に格納されている自ルータのルーティングテーブル52を参照し(ステップA1)、隣接するルータ1へのネクストホップIPアドレス22及び隣接するルータ3へのネクストホップIPアドレス25を抽出する(ステップA2)。
The
更に通知部102はネクストホップIPアドレス22及びネクストホップIPアドレス25に対して、自ルータ2のコンフィグファイル42を送信部107を介して送信して通知する(ステップA3)。
Further, the
通知を受けたルータ1及びルータ3の生成部103は、記憶部101に格納されている自ルータのルーティングテーブル51及びルーティングテーブル53をそれぞれ参照し(ステップA6、A7)、ネクストホップIPアドレスからの通知であることを確認する(ステップA8、A9)。
Upon receipt of the notification, the
確認後、ルータ1及びルータ3の生成部103は、ルータ2へのネクストホップIPアドレス23、ネクストホップIPアドレス24とコンフィグファイル42とをペアにして保存し(ステップA10、A11)、コンフィグテーブル31、コンフィグテーブル33をそれぞれ更新する(ステップA12、A13)。
After the confirmation, the
ルータ1及びルータ3でも上記と同様の動作を行い、隣接ルータの設定情報の保存とコンフィグテーブルの更新とを行う。更新の結果作成されるコンフィグテーブルが図2である。一連の動作は、定期的におこなわれ、常に最新の設定情報を保存する。設定変更、ルーティングテーブルの変更等の突発的な処理が行われたときは、その都度通知処理を行う。また、長期間通知を受けない場合は、保存してある設定情報を削除し、コンフィグテーブルからも削除する。
The
次に、機器交換等によって、自ルータのコンフィグファイルが空の場合に自ルータのコンフィグファイルを送信してもらう為の動作について図6を用いて説明する。図6は、自ルータのコンフィグファイルを送信してもらう場合の動作を説明する為のチャート図である。 Next, an operation for receiving the configuration file of the own router when the configuration file of the own router is empty due to device exchange or the like will be described with reference to FIG. FIG. 6 is a chart for explaining the operation when the configuration file of the own router is transmitted.
ルータ3に障害が発生して新しいルータ4に交換する場合、ルータ4は新規ルータのためコンフィグファイルも無く、何の設定もされていない状態である(ステップB1)。そして、ルータ4にIPアドレス25が設定され、ルータ4はネットワーク13に接続する(ステップB2)。 When a failure occurs in the router 3 and the router 4 is replaced with a new router 4, the router 4 is a new router and there is no configuration file and no settings are made (step B1). Then, the IP address 25 is set in the router 4, and the router 4 is connected to the network 13 (step B2).
ルータ4の送信要求生成部104は送信要求を生成して、ネットワーク13に対してコンフィグファイルの問い合わせを実行する(ステップB3)。
The transmission
ネットワーク13に接続されているルータ2はルータ4からの問い合わせを受信部108を介して受信すると、問い合わせ元のIPアドレス25を確認する(ステップB5)。
When the router 2 connected to the network 13 receives the inquiry from the router 4 via the receiving
ルータ2の検索部105は、記憶部101に格納されているコンフィグテーブル32を参照してIPアドレス25に対応付けられているコンフィグファイルを検索する(ステップB6)。本動作においてはコンフィグファイル43を検索する。
The
検索部105は、検索されたコンフィグファイル43を問合せ元であるルータ4に送信部107を介して返信する(ステップB7)。
The
ルータ4の設定部106は、コンフィグファイル43を受け取ると、コンフィグファイルを記憶部101に格納し、このコンフィグファイルに基づいて設定を開始する(ステップB9)。
Upon receiving the configuration file 43, the
新規ルータ4が設置された時、新規ルータ4が誤って空のコンフィグファイルを隣接ルータに通知して、隣接ファイルに格納されている自ルータのコンフィグファイル43が上書きされてしまうのを防ぐために、新規ルータのコンフィグファイルが空の時には自身のコンフィグファイルを通知しない。よって、ルータ4は、ルータ2に保存されているコンフィグファイル43を、変更されることなく入手することができる。ルータ4は、コンフィグファイル43を入手後、通常通り自身のコンフィグファイルの通知を行う(ステップB10)。 In order to prevent the new router 4 from notifying the neighboring router of an empty configuration file by mistake when the new router 4 is installed and overwriting the configuration file 43 of the own router stored in the neighboring file. When the configuration file of the new router is empty, its own configuration file is not notified. Therefore, the router 4 can obtain the configuration file 43 stored in the router 2 without being changed. After obtaining the configuration file 43, the router 4 notifies its own configuration file as usual (step B10).
上述した本発明によると、隣接するルータ同士で自ルータの設定情報を交換して互いに管理し、新規のルータに交換する際に隣接ルータに保持されている設定情報に基づいて新規のルータの設定情報を登録する構成をとっているため、ルータの設定情報を管理するための作業の手間とコストとをかけることなく、確実に正しい設定情報を登録することができる。 According to the present invention described above, the setting information of the own router is exchanged between adjacent routers to manage each other, and the setting of the new router is performed based on the setting information held in the adjacent router when exchanging with the new router. Since the configuration for registering information is adopted, correct setting information can be surely registered without taking the labor and cost of managing router setting information.
尚、上述した本発明のルータは、上記説明からも明らかなように、ハードウェアで構成することも可能であるが、プログラムにより実現することも可能である。このような構成の場合、プログラムメモリに格納されているプログラムで動作するプロセッサによって、上述した実施の形態と同様の機能、動作を実現させる。尚、上述した実施の形態の一部の機能のみをコンピュータプログラムにより実現することも可能である。 The router of the present invention described above can be configured by hardware as is apparent from the above description, but can also be realized by a program. In such a configuration, functions and operations similar to those of the above-described embodiments are realized by a processor that operates according to a program stored in a program memory. Note that only a part of the functions of the above-described embodiment can be realized by a computer program.
1,2,3 ルータ
11,12,13 ネットワーク
31,32,33 コンフィグテーブル
41,42,43 コンフィグファイル
51,52,53 ルーティングテーブル
1, 2, 3 Router 11, 12, 13 Network 31, 32, 33 Configuration table 41, 42, 43 Configuration file 51, 52, 53 Routing table
Claims (12)
所定のタイミングで自ルータの設定情報を他のルータに通知する通知手段と、
他のルータの設定情報を受信すると、前記受信した設定情報を通知したルータのアドレスが自ルータのルーティングテーブルに存在するかを確認し、存在する場合にはそのルータのアドレスと前記受信した設定情報とを対応付けてコンフィグテーブルを生成する生成手段と、
自ルータの設定情報が自ルータに登録されていない場合、自ルータの設定情報の送信要求を他のルータに送信する送信手段と、
他のルータから送信要求を受信すると、その送信要求を送信したルータのアドレスに基づいて前記コンフィグテーブルから該アドレスに対応付けられている設定情報を検索し、前記送信要求を送信したルータに前記検索した設定情報を送信する検索手段と、
自ルータが送信した送信要求に対して他のルータから送信された設定情報を自ルータの設定情報として記憶する記憶手段と
を有することを特徴とする通信システム。 A communication system,
Notification means for notifying other routers of the setting information of the own router at a predetermined timing;
When setting information of another router is received, it is confirmed whether the address of the router that notified the received setting information exists in the routing table of the own router, and if there is, the address of the router and the received setting information Generating means for generating a configuration table in association with
When the setting information of the own router is not registered in the own router, a transmission means for transmitting a transmission request for the setting information of the own router to another router,
When a transmission request is received from another router, setting information associated with the address is searched from the configuration table based on the address of the router that transmitted the transmission request, and the search is performed on the router that transmitted the transmission request. Search means for transmitting the set information,
A communication system comprising: storage means for storing setting information transmitted from another router in response to a transmission request transmitted by the own router as setting information of the own router .
所定のタイミングで自ルータの設定情報を他のルータに通知する通知手段と、
他のルータの設定情報を受信すると、前記受信した設定情報を通知したルータのアドレスが自ルータのルーティングテーブルに存在するかを確認し、存在する場合にはそのルータのアドレスと前記受信した設定情報とを対応付けてコンフィグテーブルを生成する生成手段と、
自ルータの設定情報が登録されていない場合、自ルータの設定情報の送信要求を送信する送信手段と、
他のルータから送信要求を受信すると、その送信要求を送信したルータのアドレスに基づいて前記コンフィグテーブルから該アドレスに対応付けられている設定情報を検索し、前記送信要求を送信したルータに前記検索した設定情報を送信する検索手段と、
自ルータが送信した送信要求に対して他のルータから送信された設定情報を自ルータの設定情報として記憶する記憶手段と
を有することを特徴とするルータ。 A router,
Notification means for notifying other routers of the setting information of the own router at a predetermined timing;
When setting information of another router is received, it is confirmed whether the address of the router that notified the received setting information exists in the routing table of the own router, and if there is, the address of the router and the received setting information Generating means for generating a configuration table in association with
When the setting information of the own router is not registered, a transmission means for transmitting a transmission request for the setting information of the own router;
When a transmission request is received from another router, setting information associated with the address is searched from the configuration table based on the address of the router that transmitted the transmission request, and the search is performed on the router that transmitted the transmission request. Search means for transmitting the set information,
Storage means for storing setting information transmitted from another router in response to a transmission request transmitted by the own router as setting information of the own router;
Router characterized in that it comprises a.
所定のタイミングで自ルータの設定情報を他のルータに通知する通知ステップと、
他のルータの設定情報を受信すると、前記受信した設定情報を通知したルータのアドレスが自ルータのルーティングテーブルに存在するかを確認する確認ステップと、
前記確認の結果、そのアドレスが存在する場合にはそのルータのアドレスと前記受信した設定情報とを対応付けてコンフィグテーブルを生成する生成ステップと、
自ルータの設定情報が自ルータに登録されていない場合、自ルータの設定情報の送信要求を他のルータに送信する送信ステップと、
他のルータから送信要求を受信すると、その送信要求を送信したルータのアドレスに基づいて前記コンフィグテーブルから該アドレスに対応付けられている設定情報を検索し、前記送信要求を送信したルータに前記検索した設定情報を送信する検索ステップと、
自ルータが送信した送信要求に対して他のルータから送信された設定情報を自ルータの設定情報として記憶する記憶ステップと
を有することを特徴とする通信方法。 A communication method,
A notification step of notifying the other router of the setting information of the own router at a predetermined timing;
Upon receiving the setting information of the other router, a confirmation step for confirming whether the address of the router that notified the received setting information exists in the routing table of the own router;
As a result of the confirmation, if the address exists, a generation step of generating a configuration table by associating the address of the router with the received setting information ;
When the setting information of the own router is not registered in the own router, a sending step of sending a request for sending the setting information of the own router to another router;
When a transmission request is received from another router, setting information associated with the address is searched from the configuration table based on the address of the router that transmitted the transmission request, and the search is performed on the router that transmitted the transmission request. A search step for sending the set information,
A communication method comprising: a storing step of storing setting information transmitted from another router in response to a transmission request transmitted by the own router as setting information of the own router .
所定のタイミングで自ルータの設定情報を他のルータに通知する通知手段と、
他のルータの設定情報を受信すると、前記受信した設定情報を通知したルータのアドレスが自ルータのルーティングテーブルに存在するかを確認し、存在する場合にはそのルータのアドレスと前記受信した設定情報とを対応付けてコンフィグテーブルを生成する生成手段と、
自ルータの設定情報が登録されていない場合、自ルータの設定情報の送信要求を送信する送信手段と、
他のルータから送信要求を受信すると、その送信要求を送信したルータのアドレスに基づいて前記コンフィグテーブルから該アドレスに対応付けられている設定情報を検索し、前記送信要求を送信したルータに前記検索した設定情報を送信する検索手段と、
自ルータが送信した送信要求に対して他のルータから送信された設定情報を自ルータの設定情報として記憶する記憶手段と
して機能させることを特徴とするプログラム。 A router program, wherein the program
Notification means for notifying other routers of the setting information of the own router at a predetermined timing;
When setting information of another router is received, it is confirmed whether the address of the router that notified the received setting information exists in the routing table of the own router, and if there is, the address of the router and the received setting information Generating means for generating a configuration table in association with
When the setting information of the own router is not registered, a transmission means for transmitting a transmission request for the setting information of the own router;
When a transmission request is received from another router, setting information associated with the address is searched from the configuration table based on the address of the router that transmitted the transmission request, and the search is performed on the router that transmitted the transmission request. Search means for transmitting the set information ,
Program for causing to function as storage means for storing setting information transmitted from another router to the transmission request local router sends a setting information of the router.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006273591A JP4480702B2 (en) | 2006-10-05 | 2006-10-05 | Communication method, communication system, router and program thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006273591A JP4480702B2 (en) | 2006-10-05 | 2006-10-05 | Communication method, communication system, router and program thereof |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2008092486A JP2008092486A (en) | 2008-04-17 |
| JP4480702B2 true JP4480702B2 (en) | 2010-06-16 |
Family
ID=39376108
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2006273591A Active JP4480702B2 (en) | 2006-10-05 | 2006-10-05 | Communication method, communication system, router and program thereof |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4480702B2 (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2014147745A1 (en) * | 2013-03-19 | 2014-09-25 | 富士通株式会社 | Network switch, and method for setting configuration definition information |
| JP6060950B2 (en) * | 2014-09-10 | 2017-01-18 | コニカミノルタ株式会社 | Information processing system, license server, communication relay device, program, and data recovery method |
| JP6537115B2 (en) * | 2016-03-30 | 2019-07-03 | Necプラットフォームズ株式会社 | Network device, configuration exchange method, maintenance exchange method, configuration exchange program, and maintenance exchange program |
| KR102471892B1 (en) * | 2019-01-21 | 2022-11-29 | 주식회사 엘지유플러스 | Apparatus and method for registration of routing information |
| KR102092668B1 (en) * | 2019-01-21 | 2020-03-24 | 주식회사 엘지유플러스 | Apparatus and method for registration of routing information |
-
2006
- 2006-10-05 JP JP2006273591A patent/JP4480702B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2008092486A (en) | 2008-04-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP3190775B1 (en) | Cloud data backup and recovery method | |
| JP5982842B2 (en) | Computer fault monitoring program, method, and apparatus | |
| EP2122917B1 (en) | Change of subscriber information in a multi-chassis network access environment | |
| TWI485567B (en) | Relay communication system and access management device | |
| US20040028069A1 (en) | Event bus with passive queuing and active routing | |
| JP2004272770A (en) | Network device relay device management system, network device relay device, authentication server, update server, and network device relay device management method | |
| JP3774433B2 (en) | Centralized management system and method for network connection means | |
| JP4480702B2 (en) | Communication method, communication system, router and program thereof | |
| JP5048254B2 (en) | Communication device and device remote management system | |
| JP6537115B2 (en) | Network device, configuration exchange method, maintenance exchange method, configuration exchange program, and maintenance exchange program | |
| JP2009111758A (en) | Transfer system and transfer device | |
| JP2006011703A (en) | Information collection apparatus, information collection method, information collection program, and device management system | |
| JP2014175841A (en) | Network communication system, communication device, data backup method and program therefor | |
| JP2004235791A (en) | Method for altering setting of transmitter | |
| JP2004500778A (en) | Non-fault-tolerant network nodes in multiple fault-tolerant networks | |
| JP6147092B2 (en) | Network system, control method, monitoring apparatus, and program | |
| JP4658901B2 (en) | System and network monitoring method | |
| JP6179981B2 (en) | Information processing system, information processing apparatus, information processing method, and program | |
| JP6989457B2 (en) | External information receiving / distributing device, data transmission method, and program | |
| JP6669382B2 (en) | Device device, information processing method and program | |
| KR101783094B1 (en) | Method and apparatus for reporting bundle capabilities between controller and network equipments | |
| KR101740799B1 (en) | Method of failover for network service in software defined networking environment | |
| JP2005080032A (en) | COMMUNICATION CONTROL METHOD, COMMUNICATION CONTROL DEVICE, AND PROGRAM | |
| JP5606598B1 (en) | Communication system and communication method | |
| TWI502373B (en) | Data exchange management system and method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20091113 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20091118 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20091224 |
|
| 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: 20100310 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100316 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130326 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 4480702 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130326 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140326 Year of fee payment: 4 |
|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |