JP3678669B2 - Matching method and matching method between routers in dynamic routing protocol - Google Patents

Matching method and matching method between routers in dynamic routing protocol Download PDF

Info

Publication number
JP3678669B2
JP3678669B2 JP2001126066A JP2001126066A JP3678669B2 JP 3678669 B2 JP3678669 B2 JP 3678669B2 JP 2001126066 A JP2001126066 A JP 2001126066A JP 2001126066 A JP2001126066 A JP 2001126066A JP 3678669 B2 JP3678669 B2 JP 3678669B2
Authority
JP
Japan
Prior art keywords
router
lsa
routers
change
connection information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2001126066A
Other languages
Japanese (ja)
Other versions
JP2002319962A (en
Inventor
匡 森山
昭彦 秋田谷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
NEC Communication Systems Ltd
Original Assignee
NEC Corp
NEC Communication Systems Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp, NEC Communication Systems Ltd filed Critical NEC Corp
Priority to JP2001126066A priority Critical patent/JP3678669B2/en
Publication of JP2002319962A publication Critical patent/JP2002319962A/en
Application granted granted Critical
Publication of JP3678669B2 publication Critical patent/JP3678669B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、ダイナミックルーティングプロトコルにおけるルータ間の整合処理方式および整合処理方法に関し、特に、ダイナミックプロトコルにおけるルータのルータIDを変更した場合のルータ間の整合処理方式および整合処理方法に関する。
【0002】
【従来の技術】
ネットワーク上にあるルータを介して通信を行っているシステムにおいて、ルータ間の通信経路を確保するために、各ルータは、ルーティングを行う必要がある。そのルーティングを行うためのルーティングプロトコルには、ルーティング情報を交換しながら最適な経路を自動的に選択させるダイナミックルーティングとして、業界標準であるRIP(Routing Information Protocol),OSPF(Open Shortest Path Firt)等がRFC(Request for Comments)により規定されている。
【0003】
このRFC1583によるOSPFのプロトコルの基で、ルータ間で通信を行うネットワークシステムとして、図3を参照すると、ルータID(AS内のルータを一意に識別する32ビットで示される識別番号)が「A」であるルータ51と、ルータIDが「B」であるルータ52と、ルータIDが「C」であるルータ53とから構成される。ルータ51,52,53は、ルーティング情報を管理するために、30分毎に各ルータがルータ自身の接続情報を乗せたLSA(Link−State Advertise)を他のルータに送信し、変更があれば、各ルータが受信したLSAに基づいて管理しているデータベースおよびルーティングテーブルを更新している。なお、AS(Autonomous System)とは、インターネット管理単位であって、通常インターネットの通信路を提供している組織には、組織の独自運用ルールを持っており、ASはその組織単位となる。
【0004】
【発明が解決しようとする課題】
しかしながら、OSPFのプロトコルにおいては、相手のルータから受信した接続先のルータIDを含む接続情報であるLSAを最大値(1時間:Agingタイムアウト値)に達するまでルータが保持しなければならないという規約とLSAを相手のルータに送信した場合に相手が応答するまで無制限に送りつづけなければならないという規約とがある。この規約の基で、従来技術である図5において、今、ネットワークの収容替え等により、ルータ53のルータIDを「C」から「D」に変更する。すると、ルータ「D」は、自分の一致したものを待つが、IPアドレスが変更前と同じIPアドレスのため、その前にID変更する以前に送信したLSAを基で作成されたLSA(以降、旧LSAと称す)をルータ51または52から受信してしまう。ルータIDを変更したことによりルータ53からのルータ「D」に対するLSA送信によって、正規のLSAがルータ51およびルータ52に登録される。しかし、旧ルータIDは、ルータ51またはルータ52においてAgingタイムアウトにより検出し、ルータ53にLSAにより通知することになるが、ルータ53ではルータ「C」が存在しないので送信されたLSAを無視する。一方、送信したルータ51またはルータ52は、変更したことがわからないので旧ルータIDであるルータ「C」の接続情報がルータ51およびルータ52に残ると共に、ルータ「C」に対するAgingタイムアウトによるLSAの送信が繰り返されることになる。そのため、OSPFがダイナミックルーティングプロトコルに関わらず、保守員(またはネットワーク管理者)が設定変更以外のルータにおいて、変更ルータの「C」におけるLSAに伴う情報を網内から削除してルータIDを変更する必要がある。
【0005】
すなわち、図5のようにルータ53のルータIDを変更した場合に、ルータ53に対するルータIDの変更されていないルータ51,52がルータIDを変更したルータにAgingタイムアウトのLSAを送信し続け、更に、旧ルータIDに対する接続情報が網内から消えないという問題点が発生する。更に、このことを回避するために、OSPFがダイナミックルーティングであることから、その他ルータの全てであるルータ51とルータ52(図5を参照)とが保有しているルーティングテーブルを保守者(または管理者)が時間をかけて内容に十分に注意をしながらマニュアルで変更しなければならないという問題点が発生する。
【0006】
本発明の目的は、上記問題点を鑑み、OSPF適用のネットワークにおいて、ルータIDの設定変更時にその他のルータに保持されている旧ルータIDの接続情報および旧ルータIDの基で作成される旧LSAを自動的に消滅させて、新規の接続情報を確立することことにある。
【0007】
【課題を解決するための手段】
上記の目的を達成するために、本発明の第1のダイナミックルーティングプロトコルにおけるルータ間の整合処理方式は、前記複数のルータ間で各前記ルータがOSPFプロトコルの基で定期的にLSAのパケットにより接続情報のやり取りを行うダイナミックルーティングプロトコルにおけるルータ間の整合処理方式において、前記ルータの識別を示すルータIDの設定変更時に、そのルータIDを変更したルータは、変更前のルータIDに対するLSAを受信したときに無応答にする無応答手段を有し、前記変更前のルータIDに対するLSAを送信したルータは、あらかじめ決められた時間後に自分の保有しているデータベースから前記変更前のルータIDに関する接続情報を削除する第1の削除手段を有し、あらかじめ決められた前記時間後に前記変更前のルータIDに対するLSAを受信したルータは、自分の保有しているデータベースから前記変更前のルータIDに関する接続情報を削除する第2の削除手段を有することを特徴としている。
【0008】
更に、上記の第1のダイナミックルーティングプロトコルにおけるルータ間の整合処理方式において、ルータIDを変更したルータを除く前記ルータは、変更後のルータIDに対するLSAを受信したときに前記変更後のルータIDに対する接続情報をデータベースに登録する登録手段とを有することを特徴としている。
【0009】
また、本発明の第2のダイナミックルーティングプロトコルにおけるルータ間の整合処理方式は、複数のルータ間で各ルータがOSPFプロトコルの基で定期的にLSAのパケットにより接続情報のやり取りを行うダイナミックルーティングプロトコルにおけるルータ間の整合処理方式において、前記複数のルータの内の第1のルータは、前記定期的にやり取りを行う第1のLSAの作成を行って、前記複数のルータの内ののルータに送信する第1の送信手段と、前記第1のLSAに対する応答を全て確認する過程で無応答を検出した場合には無応答のルータに対してあらかじめ決められた回数だけ前記第1のLSAの再送を行う再送手段と、前記あらかじめ決められた回数でも前記第1のLSAに対する応答の確認が取れない場合にはあらかじめ決められた時間後に前記無応答のルータに対応するルータIDの接続情報を前記第1のルータの保有しているデータベースから削除する第1の削除手段と、前記第1のルータのルータIDを変更していた場合に、前記他のルータから定期的にやり取りを行う第2のLSAを受信してその受信した第2のLSAに変更前のルータIDに関する情報が含まれていた場合には無応答にする無応答手段と、を有することを特徴としている。
【0010】
更に、上記の第2のダイナミックルーティングプロトコルにおけるルータ間の整合処理方式において、前記削除手段は、前記あらかじめ決められた時間後に前記無応答のルータIDに関するタイムアウト通知を示す第のLSAを送信して前記第1のルータの保有しているデータベースから前記無応答のルータIDに関する接続情報を削除することを特徴としている。
【0011】
更に、上記の第2のダイナミックルーティングプロトコルにおけるルータ間の整合処理方式において、前記第1のルータは、ルータIDを変更していた場合に、前記第のLSAを受信した場合には前記第1のルータの保有しているデータベースから前記変更前のルータIDに関する接続情報を削除する第2の削除手段を有することを特徴としている。
【0012】
また、本発明の第1のダイナミックルーティングプロトコルにおけるルータ間の整合処理方法は、複数のルータ間で各前記ルータがOSPFプロトコルの基で定期的にLSAのパケットにより接続情報のやり取りを行うダイナミックルーティングプロトコルにおけるルータ間の整合処理方法であって、前記ルータの識別を示すルータIDの設定変更時に、そのルータIDを変更したルータが変更前のルータIDに対するLSAを受信したときに無応答にし、前記変更前のルータIDに対するLSAを送信したルータが無応答を検出した場合にあらかじめ決められた回数だけリトライを行い、前記変更前のルータIDに対するLSAを送信したルータがあらかじめ決められた前記回数でも応答を受信しない場合にはあらかじめ決められた時間後に自分の保有しているデータベースから前記変更前のルータIDに関する接続情報を削除し、あらかじめ決められた前記時間後に前記変更前のルータIDに対するLSAを受信したルータが自分の保有しているデータベースから前記変更前のルータIDに関する接続情報を削除することを特徴としている。
【0013】
更に、上記の第1のダイナミックルーティングプロトコルにおけるルータ間の整合処理方法において、前記ルータIDを変更したルータが変更後のルータIDに対するLSAを送信した場合にその変更後のルータIDに対するLSAを受信したルータが変更後のルータIDに対する接続情報をデータベースに登録することを特徴としている。
【0014】
また、本発明の第2のダイナミックルーティングプロトコルにおけるルータ間の整合処理方法は、複数のルータ間で各ルータがOSPFプロトコルの基で定期的にLSAのパケットにより接続情報のやり取りを行うダイナミックルーティングプロトコルにおけるルータ間の整合処理方法であって、前記複数のルータの内の第1のルータは、前記定期的にやり取りを行う第1のLSAの作成を行って、前記複数の内ののルータに送信し、前記第1のLSAに対する応答を全て確認する過程で無応答を検出した場合には無応答のルータに対してあらかじめ決められた回数だけ前記第1のLSAの再送を行い、前記あらかじめ決められた回数でも前記第1のLSAに対する応答の確認が取れない場合にはあらかじめ決められた時間後に前記無応答のルータに対応するルータIDに関する接続情報を前記第1のルータの保有しているデータベースから削除し、前記第1のルータのルータIDを変更していた場合に、前記他のルータから定期的にやり取りを行う第2のLSAを受信してその受信した第2のLSAに変更前のルータIDに関する情報が含まれていた場合には無応答にすることを特徴としている。
【0015】
更に、上記の第2のダイナミックルーティングプロトコルにおけるルータ間の整合処理方法において、前記第1のルータは、前記あらかじめ決められた時間後に前記無応答のルータIDに関するタイムアウト通知を示す第のLSAを送信し、前記第1のルータの保有しているデータベースから前記無応答のルータIDに関する接続情報を削除することを特徴としている。
【0016】
更に、上記の第2のダイナミックルーティングプロトコルにおけるルータ間の整合処理方法において、前記第1のルータは、ルータIDを変更していた場合に、前記第のLSAを受信した場合には前記第1のルータの保有しているデータベースから前記変更前のルータIDに関する接続情報を削除することを特徴としている。
【0017】
【発明の実施の形態】
図1を参照すると、本発明の実施の形態は、LAN901と、LAN901に接続されたルータ1と、LAN902と、LAN902に接続されたルータ2と、LAN903と、LAN903に接続されたルータ3と、ルータ2とルータ3とを接続するネットワーク900とから構成される。各LAN内に存在する装置間で通信を行うために、ルータは中継するときに宛先のIPアドレスを見てルーティング(経路制御)を行う。
【0018】
ルータ1,2,3は、図示していないプロセッサによりプログラム制御で動作する。ルータ1,2,3は、RFC1583で規定されているOSPFのルーティングプロトコルに準じて、ルーティングを行っており、その経路情報を管理するために、定期的(30分毎)に各ルータの持つ接続情報(ルータそれぞれのLAN内の情報)であるLSAをお互いにやり取りを行っている。すなわち、自分の持っている接続情報のみを、自分の情報が現われ広告した時点から30分毎に、Age情報を「0」にして、となりのルータ宛に更新LSAを発行する。他のルータの更新LSAを受けたルータは、自データベースを更新し、送信元にはACK(応答)を返信すると共に、他の別の隣接ルータに対して受け取ったAge情報に転送遅延(例えば60秒)を加えて受信した更新情報(接続情報)を転送し、ACKを待つ。この場合、LSAで直接データを交換するのは、隣同士であり、LSAを送信したルータがACKを待つことになる。
【0019】
ルータ1,2,3は、受信したLSAを基にデータベースを更新することになるが、そのデータベースは、電源のON/OFFでクリアできるように各ルータ内の図示していない揮発性メモリ(例えば、RAM)内に割り当てられており、ルータID単位に接続情報および監視時間(Age)が登録されている。また、更新されたデータベースを基にルーティングテーブルを更新することになるが、そのルーティングテーブルは、各ルータ内の図示していない揮発性のメモリ(例えば、RAM)に内に割り当てられており、経路情報が登録されている。また、ルータ1,2,3には不揮発性メモリ(例えば、フラッシュメモリ)を持っており、不揮発性のメモリ内には、送信回数の規定値(閾値)等があらかじめ設定されている。この送信回数の規定値は、図示していない入力部(例えば、キーボード)から値を設定することにより変更できるようになっている。
【0020】
データベース内にルータID毎に割り当てられている監視時間(Age)は、ルータのプロセッサのタイマ処理によりカウントアップする(例えば、10秒毎にルータ内の図示していないタイマによりタイマ割り込みを発生させ、プロセッサによりルータID毎に割り当てられている監視時間の内容を+10する)。更に、プロセッサは、カウントアップするときに各監視時間が3600の値になったかどうかをチェックすることで、OSPFで規定されているAgingタイムアウトの管理を行う。なお、各ルータのプロセッサは、隣接のルータに対して30分毎に自分のルータIDの接続情報をLSAで送信するときに自分のルータIDの監視時間をクリア(「0」に設定)し、定期的に送信される各ルータIDに対するLSAを受信したときに自ルータ内のデータベース内にある送信先のルータIDの監視時間をクリアする。
【0021】
次に、図1〜5を参照して、本発明の実施の形態の動作について説明する。
今、ルータ3のルータIDを「C」から「D」に変更するために、ルータ3の入力部からデータベースに登録されているルータIDを「C」から「D」に変更する。この場合、ルータ3のIPアドレスは変更されない。なお、以降の説明において、変更前の旧ルータIDをルータ「C」と称し、変更後の新ルータIDをルータ「D」と称す場合もある。また、ルータ1のルータIDはルータ「A」で、ルータ2のルータIDはルータ「B」である。
【0022】
ルータ3のルータIDが変更された後に、ルータ2内の図示していないタイマが、LSAを送信(パケットにして送信)させるために、30分毎に割り込みをプロセッサにかけるが、その割り込みが発生すると、ルータ2のプロセッサは、データベースを基にLSAを作成する(図3のステップS101)。この場合、ルータ2のデータベースに登録されている隣のルータ3の情報としてはルータ「C」の接続情報であるために、ルータ2のプロセッサが作成したLSAのルータ3への宛先として、隣接のルータ3の旧ルータID(ルータ「C」)になっている。また、LSAのパケットヘッダのAgeフィールドには、「0」の値が設定される。この後、ルータ2のプロセッサは、データベース内の自分のルータIDであるルータ「B」の監視時間を「0」に設定すると共に、ルータ1およびルータ2の送信回数(メモリ内に設定)を1に設定し、ルータ1およびルータ3に対して作成したLSAを送信する(ステップS102,S103)。この場合、送信回数はルータ2の図示していない読み出し書き込みのできるメモリ内にプロセッサにより設定される。
【0023】
ルータ1がルータ2からのLSAを受信すると、ルータ1のプロセッサは、LSAのパケットヘッダを解析することになるが、受信したLSAの宛先(ルータ「A」)が自分自身のルータIDの値になっているかどうかを判定する(図5のステップS201,S202)。しかしながら、ルータ1は、自分自身のルータIDを変更していないので宛先のルータ「A」と一致し、ステップS203に進み、指示内容がタイムアウト通知かどうかを分析する(ステップS203)。なお、タイムアウト通知とは、LSAのパケットヘッダ内にあるAgeフィールドの内容が3600の値(LSAパケット内のLink−StateIDフィールドに設定されているルータIDの接続情報が1時間、ルータ間で情報交換されなかったことを示す)になっていることを意味する。
【0024】
ステップS203において、タイムアウト通知でないので、ルータ1のプロセッサは、指示内容に従った処理を行う。この場合、ルータ2からのLSA上の接続情報に以前と変更がないので、ルータ1のプロセッサは、ルータID(ルータ「B」)の監視時間を受信したLSAパケット内のAgeフィールドの値(この場合「0」)に設定すると共に、ルータ2にACK(受信したLSAに対する応答パケット)を返信し、処理を終了する(ステップS205,S206)。なお、ステップS205において、もし以前と違う接続情報が変更されていれば、ルータ1のプロセッサは、LSA内の受信データを基にデータベースを更新し、そのデータベースを基にルーティングテーブルを更新する。
【0025】
一方、ルータ3がルータ2からのLSAを受信すると、ルータ3のプロセッサは、LSAのパケットヘッダを解析することになるが、受信したLSAのパケットの宛先が変更したルータIDの「D」宛になっているかどうかを判定する(図4のステップS201,S202)。
【0026】
ステップS202において、宛先が旧ルータID(ルータ「C」)対するパケットであるため、ルータ3のプロセッサは、一致しないでステップS207に進み、ルータ2に対して応答(ACK)を返さないで処理を終了する(ステップS207)。
【0027】
一方、ルータ2のプロセッサは、ステップS101で作成したLSAを送信した後、ルータ1からACKを受信すると、隣接したルータに対して全て終了したかチェックを行う(図3のステップS104,S109)。ルータ3からACKが送信されてこない(送信タイムアウトで検出)ため、ルータ2のプロセッサは、ルータ3に対してメモリに格納されている送信回数が不揮発性のメモリに設定されている規定回数(例えば3回)を超えたかどうかをチェックする(図3のステップS104,S105)。規定回数を超えていないため、ルータ3への送信回数を+1加算してメモリに保存し、ルータ3に対してステップS101で作成したLSAを再送する(ステップS108)。再送しても、LSAを受信したルータ3が上述のステップS201,S202,S207と同じ動作を行うことになり、ACKが返信されないため、ルータ2のプロセッサは、規定回数を超えるまでLSAの再送を繰り返す。やがて、ステップS105において、規定回数を超えると、ルータ2のプロセッサは、ステップS101で作成したLSAの送信の中止を行う(図3のステップS106)。
【0028】
次にルータ2のプロセッサは、全隣接のルータ(例ではルータ1とルータ3)に対して処理が終わっているかどうかを確認し、終わっていれば、処理を終了する(ステップS107)。
【0029】
一方、ルータ2は、ルータ1のルータ「A」およびルータ3のルータ「D」から30分毎に送信されるLSAを受信することになるが、ルータ3のルータ「C」からはLSAが送信されて来ないため、ルータ「C」に対する監視時間はクリアされないでカウントアップ(ルータ内にある図示していないタイマでカウントアップする)され続け、やがて、1時間になると、プロセッサに3600秒のタイムアウト処理の割り込みがかかる。
【0030】
すると、ルータ2のプロセッサは、タイムアウトしたルータ3の旧ルータID(ルータ「C」)に対するタイムアウト通知のLSAを作成する。この場合、LSAのパケットヘッダにあるLink−StateIDフィールドにルータ「C」を設定し、Ageフィールドに3600(1時間に相当)の値を設定する(図4のステップS111)。
【0031】
ルータ1およびルータ3の送信回数を1に設定し、ルータ1およびルータ3に対して作成したタイムアウト通知のLSAを送信する(ステップS112)。
【0032】
ルータ1がルータ2からルータ「C」に対するタイムアウト通知のLSAを受信すると、ルータ1のプロセッサは、LSAのパケットヘッダを解析することになるが、受信したLSAの宛先(ルータ「A」)が自分自身のルータIDの値になっているかどうかを判定する(図5のステップS201,S202)。ルータ1のプロセッサは、宛先が自分自身のルータIDであるのでステップS203に進み、タイムアウト通知かどうかを受信したLSAのパケットヘッダにあるAgeフィールドの値が3600になっているかどうかで分析する(ステップS203)。
【0033】
ステップS203において、分析結果はタイムアウト通知であるので、ルータ1のプロセッサは、指示のあったルータID(ルータ「C」)に関する情報をデータベースから削除すると共に、ルータ2にACKを返信し、処理を終了する(ステップS204,S206)。
【0034】
一方、ルータ3がルータ2からのルータ「C」に対するタイムアウト通知のLSAを受信すると、ルータ3のプロセッサは、LSAの内容を解析することになるが、受信したLSAの宛先のルータIDが「D」になっているかどうかを判定する(図5のステップS201,S202)。
【0035】
ステップS202において、旧ルータID(ルータ「C」)宛に対するLSAであるため、変更したルータID(ルータ「D」)と一致しない。そのため、ルータ3のプロセッサは、ステップS207に進み、ルータ2に対して応答を返さないで処理を終了する(ステップS207)。なお、ステップS207において、ルータ3のプロセッサは、旧ルータIDであるルータ「C」と判断して、ルータ「C」に関する情報を自分のデータベースから削除するようにしても良い。
【0036】
一方、ルータ2のプロセッサは、タイムアウト通知のLSAを送信した後、ルータ1からACKを受信するが、ルータ3からACKが送信されてこないため、ルータ3に対してメモリに格納されている送信回数が不揮発性のメモリに設定されている規定回数(例えば3回)を超えたかどうかをチェックする(図4のステップS110,S111)。規定回数を超えていないため、ルータ3への送信回数を+1加算してメモリに保存し、ルータ3に対してステップS111で作成したタイムアウト通知のLSAを再送する(ステップS112)。再送しても、LSAを受信したルータ3が上述のステップS201,S202,S207と同じ動作を行うことになり、ACKが返信されないため、ルータ2のプロセッサは、規定回数を超えるまでLSAの再送を繰り返す(ステップS113,S114,S115)。やがて、ステップS114において、規定回数を超えると、ルータ2のプロセッサは、ステップS111で作成したタイムアウト通知のLSAの送信の中止を行う(図4のステップS116)。
【0037】
次にルータ2のプロセッサは、全隣接ルータ(例ではルータ1とルータ3)に対して処理が終わっているかどうかを確認し、終わっていれば、タイムアウト通知を行ったルータID(ルータ「C」)に関する接続情報をデータベースから削除し、処理を終了する(ステップS117,S118)。
【0038】
一方、ルータ3は、上記で説明した動作とは別に、ルータIDを「C」から「D」に変更したことで30分後との割り込みにより、ルータ「D」に変更したデータベースを基にLSAの作成を行い、自分のルータIDであるルータ「D」の監視時間を「0」に設定し、送信回数を「1」に設定してルータ1に送信する(図3のステップS101,102)。
【0039】
ルータ2のプロセッサは、新規のLSAを受信すると、LSAのパケットヘッダを解析することになるが、通常の処理のため、ステップS205の処理に進む(図5のステップS201,S202,S203)。
【0040】
このとき、ステップS205において、ルータ2のプロセッサは、受信したLSAの内容に基づき、自ルータ内のデータベースを更新し(この場合、新規にルータ「D」の接続情報、監視時間を追加登録する)、更新したデータベースを基に、ルーティングテーブルを更新(この場合、ルータIDが変わっているだけなので実際には更新されない)する。更新処理が終了すると、ルータ1およびルータ2のプロセッサは、ルータ3に対してACKを返信して処理を終了する(ステップS206)。なお、ルータ2のプロセッサは、ステップS205において、隣接のルータ1に対してルータ3のルータ「D」に対するLSA(ルータ3からのLSA)を送信する。この場合の送信処理は、ステップS102の処理を除き、図3のタイムチャートの動作と同じので説明を省略する。なお、中継時におけるステップS102におけるルータ2のプロセッサは、自分の接続情報に関するLSAの発行でないので何もしない。
【0041】
ルータ2のプロセッサはルータ1からACKを受信し、ルータ3のプロセッサはルータ2からACKを受信し、それぞれのプロセッサは、正常終了する(ステップS104,S109)。
【0042】
従って、図2(図1)のシステム構成において、ルータ「C」に対する接続情報が網内から自動的に削除され、ルータ「A」、「B」、および「D」に基づいてルーティングテーブルが構成されて、ルート情報(経路情報)が管理されることになる。また、各ルータのデータベースにおいては、更新されたルータ「D」を新しいルータIDとしてルータ3の接続情報が管理されることになる。
【0043】
なお、上記の説明において、ルータ3がルータIDを変更した後、定期的に送信するLSAの最初の発信ルータをルータ2として説明したが、ルータ1にしたとしても、ルータ2が中継するだけでルータ1の動作は、ルータ2と同じになるので説明を省略する。
【0044】
なお、上記の説明において、ルータ2のプロセッサが、ステップS113,114,S115におけるルータ「C」へのLSAの再送をルータ「C」に対する監視時間がタイムアウト(1時間)になるまで続けても良い。
【0045】
以上説明したように、変更前のルータ「C」に作成されたLSAを受信したルータ2は、1時間後に変更前のルータ「C」に対するタイムアウト通知を隣接したルータに送信すると共に、変更前のルータ「C」に関する接続情報をデータベースから削除するようにしているため、ルータ2が過去にルータ「C」を基に生成した接続情報(および旧LSA)は網内(この場合、図1のネットワークシステムを意味する)から自動的に消すことができる。すなわち、ルータ3内に変更前のルータIDが存在しないと認識させることにより、自動的に旧LSA情報が消え、マニュアルによる新旧書き換えを行う必要がなくなる。
【0046】
【発明の効果】
以上説明したように、本発明は、ルータの識別を示すルータIDの設定変更時に、変更したルータが変更前のルータにIDに対するLSAを受信したときに無応答にし、変更前のルータIDに関する接続情報を受信したルータがあらかじめ決められた時間(1時間)後に自分の保有しているデータベースから変更前のルータIDに関する接続情報を削除するようにしているため、変更前のルータIDで生成した接続情報およびLSAを網内から自動的に消すことができるという効果がある。
【図面の簡単な説明】
【図1】図1は、本発明の実施の形態のネットワークシステムの構成を示すシステムブロック図である。
【図2】図1の各ルータ間でLSAのやり取りを示す概略図である。
【図3】図1の各ルータが30分毎に作成したLSAの送信処理における動作を示すフローチャートである。
【図4】図1の各ルータが3600秒後のタイムアウト時の動作を示すフローチャートである。
【図5】図1の各ルータがLSAを受信したときの動作を示すフローチャートである。
【図6】従来技術におけるルータ間におけるLSAのやり取りを示した概略図である。
【符号の説明】
1,2,3 ルータ
900 ネットワーク
901,902,903 LAN
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a matching processing method and a matching processing method between routers in a dynamic routing protocol, and more particularly to a matching processing method and a matching processing method between routers when a router ID of a router in a dynamic protocol is changed.
[0002]
[Prior art]
In a system that performs communication via a router on the network, each router needs to perform routing in order to secure a communication path between the routers. The routing protocol for performing the routing includes industry standard RIP (Routing Information Protocol), OSPF (Open Shortest Path First), etc. as dynamic routing that automatically selects an optimum route while exchanging routing information. It is defined by RFC (Request for Comments).
[0003]
As a network system for performing communication between routers based on the OSPF protocol according to RFC1583, referring to FIG. 3, the router ID (identification number indicated by 32 bits uniquely identifying the router in the AS) is “A”. , A router 52 whose router ID is “B”, and a router 53 whose router ID is “C”. In order to manage routing information, the routers 51, 52, and 53 send LSA (Link-State Advertise) on which each router carries its own connection information to other routers every 30 minutes. The database and the routing table managed based on the LSA received by each router are updated. An AS (Autonomous System) is an Internet management unit, and an organization that normally provides an Internet communication path has its own operation rule, and AS is the organizational unit.
[0004]
[Problems to be solved by the invention]
However, in the OSPF protocol, the router must hold the LSA, which is connection information including the connection destination router ID received from the partner router, until the maximum value (1 hour: aging timeout value) is reached. There is a rule that when an LSA is transmitted to the other router, it must be sent indefinitely until the other party responds. Based on this convention, the router ID of the router 53 is changed from “C” to “D” in FIG. Then, the router “D” waits for the matching IP address, but since the IP address is the same IP address as before the change, the LSA created based on the LSA transmitted before the ID change before that (hereinafter, (Referred to as the old LSA) from the router 51 or 52. The regular LSA is registered in the router 51 and the router 52 by the LSA transmission from the router 53 to the router “D” by changing the router ID. However, the old router ID is detected by the router 51 or 52 due to the aging timeout, and is notified to the router 53 by LSA. However, since the router “C” does not exist in the router 53, the transmitted LSA is ignored. On the other hand, since the transmitting router 51 or 52 does not know that it has been changed, the connection information of the router “C”, which is the old router ID, remains in the router 51 and the router 52, and the LSA is transmitted due to the aging timeout for the router “C”. Will be repeated. Therefore, regardless of the dynamic routing protocol, OSPF deletes information associated with the LSA in “C” of the changed router from the network and changes the router ID in the router other than the setting change by the maintenance staff (or network administrator). There is a need.
[0005]
That is, when the router ID of the router 53 is changed as shown in FIG. 5, the routers 51 and 52 whose router IDs are not changed for the router 53 continue to transmit the LSA of the aging timeout to the router whose router ID has been changed. This causes a problem that the connection information for the old router ID does not disappear from the network. Further, in order to avoid this, since OSPF is dynamic routing, the maintenance table (or management) manages the routing tables held by the routers 51 and 52 (see FIG. 5) which are all other routers. The problem arises that a person has to change manually while paying sufficient attention to the content.
[0006]
In view of the above problems, an object of the present invention is to provide an old LSA created based on old router ID connection information and old router ID held in other routers when a router ID setting is changed in an OSPF application network. Is to automatically disappear and establish new connection information.
[0007]
[Means for Solving the Problems]
In order to achieve the above object, the matching processing method between routers in the first dynamic routing protocol of the present invention is such that each of the routers is periodically connected by LSA packets based on the OSPF protocol between the plurality of routers. In the matching processing method between routers in the dynamic routing protocol for exchanging information, when the router ID setting indicating the router identification is changed, the router that has changed the router ID receives the LSA for the router ID before the change The router that has sent no response to the router ID and sends the LSA for the router ID before the change receives connection information related to the router ID before the change from its own database after a predetermined time. Having a first deletion means to delete, before the predetermined Router receiving an LSA for the pre-change router ID in time after is characterized by having a second deletion means for deleting the connection information for the router ID before the change from the database that their holdings.
[0008]
Furthermore, in the matching processing method between routers in the first dynamic routing protocol, when the router except the router whose router ID has been changed receives the LSA for the router ID after the change, It has a registration means for registering connection information in a database.
[0009]
The matching processing method between routers in the second dynamic routing protocol of the present invention is between a plurality of routers. Each In the matching processing method between routers in a dynamic routing protocol in which connection information is periodically exchanged using LSA packets based on the OSPF protocol, The first of the plurality of routers The router creates the first LSA that regularly communicates. Of the plurality of routers other The le First response means for transmitting to the data and no response when no response is detected in the process of confirming all responses to the first LSA The le A retransmission means for retransmitting the first LSA a predetermined number of times for the data; Said Predetermined Times If the response to the first LSA cannot be confirmed even with the number, it is determined in advance. Was After hours Said No reply The le Connection information of the router ID corresponding to the data Said first router First deleting means for deleting from the database held by When the router ID of the first router has been changed, the second LSA periodically exchanged from the other router is received, and the received second LSA relates to the router ID before the change. A non-response means for making no response when information is included, doing.
[0010]
Furthermore, in the matching processing method between routers in the second dynamic routing protocol, the deletion unit includes: Said Predetermined When A second time-out notification indicating the non-response router ID 3 Send LSA for Said first router The connection information related to the non-response router ID is deleted from the database held by.
[0011]
Furthermore, in the matching processing method between routers in the second dynamic routing protocol, First Router If the router ID has been changed, Said 3 If you received the LSA Said first router The second deletion method for deleting the connection information related to the router ID before the change from the database held by Step It is characterized by having.
[0012]
In addition, the matching processing method between routers in the first dynamic routing protocol of the present invention is a dynamic routing protocol in which each router regularly exchanges connection information using LSA packets based on the OSPF protocol between a plurality of routers. The inter-router matching processing method, wherein when changing the setting of the router ID indicating the identification of the router, when the router having changed the router ID receives LSA for the router ID before the change, no response is made. When the router that has transmitted the LSA for the previous router ID detects no response, the router performs a retry for a predetermined number of times, and the router that has transmitted the LSA for the previous router ID does not respond even if the predetermined number of times. If not received after a predetermined time The connection information related to the router ID before the change is deleted from the database owned by the router, and the router that has received the LSA for the router ID before the change after the predetermined time from the database owned by the router It is characterized in that connection information related to the router ID before the change is deleted.
[0013]
Furthermore, in the matching processing method between routers in the first dynamic routing protocol, when the router having changed the router ID transmits LSA for the changed router ID, the LSA for the changed router ID is received. The router is characterized in that connection information for the changed router ID is registered in a database.
[0014]
In addition, the matching processing method between routers in the second dynamic routing protocol of the present invention is performed between a plurality of routers. Each A method for matching between routers in a dynamic routing protocol in which data exchanges connection information using LSA packets periodically based on the OSPF protocol, The first of the plurality of routers The router creates the first LSA that regularly communicates. Within the plurality other The le No response when no response is detected in the process of confirming all responses to the first LSA. The le The first LSA is retransmitted a predetermined number of times for the data, Said Predetermined Times If the response to the first LSA cannot be confirmed even with the number, after a predetermined time Said No reply The le Connection information regarding the router ID corresponding to the data Said first router Delete from database owned by When the router ID of the first router has been changed, the second LSA periodically exchanged from the other router is received, and the router ID before the change is received by the received second LSA. If there was information about It is characterized by doing.
[0015]
Furthermore, in the matching processing method between routers in the second dynamic routing protocol, First Router Said Predetermined When Shortly Before No. indicating a timeout notification for non-response router ID 3 Send LSA Said first router The connection information related to the non-response router ID is deleted from the database held by.
[0016]
Furthermore, in the matching processing method between routers in the second dynamic routing protocol, First Router If the router ID has been changed, Said 3 If you received the LSA Said first router The connection information related to the router ID before the change is deleted from the database held by.
[0017]
DETAILED DESCRIPTION OF THE INVENTION
Referring to FIG. 1, an embodiment of the present invention includes a LAN 901, a router 1 connected to the LAN 901, a LAN 902, a router 2 connected to the LAN 902, a LAN 903, and a router 3 connected to the LAN 903. A network 900 connecting the router 2 and the router 3 is configured. In order to perform communication between devices existing in each LAN, the router performs routing (route control) by looking at the destination IP address when relaying.
[0018]
The routers 1, 2, and 3 operate under program control by a processor (not shown). The routers 1, 2, and 3 perform routing in accordance with the OSPF routing protocol defined in RFC1583. In order to manage the routing information, the connections of each router periodically (every 30 minutes). LSA which is information (information in LAN of each router) is exchanged with each other. That is, only the connection information that the user has, and every 30 minutes from the time when the information appears and advertises, the Age information is set to “0”, and an updated LSA is issued to the next router. The router that has received the updated LSA of the other router updates its own database, sends back an ACK (response) to the transmission source, and transfers a delay (for example, 60) to the Age information received for another adjacent router. Seconds) and the received update information (connection information) is transferred, and ACK is waited for. In this case, it is the neighbors that exchange data directly with the LSA, and the router that sent the LSA waits for an ACK.
[0019]
The routers 1, 2, and 3 update the database based on the received LSA, and the database is volatile memory (not shown) in each router so that it can be cleared by turning on / off the power (for example, , RAM), and connection information and monitoring time (Age) are registered for each router ID. In addition, the routing table is updated based on the updated database. The routing table is allocated in a volatile memory (for example, RAM) (not shown) in each router. Information is registered. The routers 1, 2, and 3 have a nonvolatile memory (for example, a flash memory), and a predetermined value (threshold value) for the number of transmissions is set in advance in the nonvolatile memory. The prescribed value of the number of transmissions can be changed by setting a value from an input unit (for example, a keyboard) not shown.
[0020]
The monitoring time (Age) assigned to each router ID in the database is counted up by the timer processing of the router processor (for example, a timer interrupt is generated by a timer not shown in the router every 10 seconds, The content of the monitoring time allocated for each router ID by the processor is incremented by 10). Furthermore, the processor manages the aging timeout defined by OSPF by checking whether each monitoring time has reached a value of 3600 when counting up. The processor of each router clears the monitoring time of its own router ID (set to “0”) when transmitting connection information of its own router ID by LSA every 30 minutes to the adjacent router, When the LSA for each router ID transmitted periodically is received, the monitoring time of the destination router ID in the database in the own router is cleared.
[0021]
Next, with reference to FIGS. 1-5, operation | movement of embodiment of this invention is demonstrated.
Now, in order to change the router ID of the router 3 from “C” to “D”, the router ID registered in the database from the input unit of the router 3 is changed from “C” to “D”. In this case, the IP address of the router 3 is not changed. In the following description, the old router ID before the change may be referred to as router “C”, and the new router ID after the change may be referred to as router “D”. The router ID of the router 1 is the router “A”, and the router ID of the router 2 is the router “B”.
[0022]
After the router ID of the router 3 is changed, a timer (not shown) in the router 2 interrupts the processor every 30 minutes to transmit the LSA (transmit it as a packet). Then, the processor of the router 2 creates an LSA based on the database (step S101 in FIG. 3). In this case, since the information of the adjacent router 3 registered in the database of the router 2 is the connection information of the router “C”, as the destination to the router 3 of the LSA created by the processor of the router 2, The old router ID of the router 3 (router “C”). A value of “0” is set in the Age field of the LSA packet header. Thereafter, the processor of the router 2 sets the monitoring time of the router “B”, which is its router ID in the database, to “0” and sets the number of transmissions of the router 1 and router 2 (set in the memory) to 1. The created LSA is transmitted to the router 1 and the router 3 (steps S102 and S103). In this case, the number of transmissions is set by the processor in a memory that can read and write (not shown) of the router 2.
[0023]
When the router 1 receives the LSA from the router 2, the processor of the router 1 analyzes the packet header of the LSA, but the destination of the received LSA (router “A”) becomes the value of its own router ID. Is determined (steps S201 and S202 in FIG. 5). However, since the router 1 has not changed its own router ID, the router 1 matches the destination router “A”, and proceeds to step S203 to analyze whether the instruction content is a timeout notification (step S203). Note that timeout notification means that the value of the Age field in the LSA packet header is 3600 (the router ID connection information set in the Link-StateID field in the LSA packet is exchanged between routers for one hour. It means that it was not done).
[0024]
In step S203, since there is no timeout notification, the processor of the router 1 performs processing according to the instruction content. In this case, since there is no change in the connection information on the LSA from the router 2, the processor of the router 1 determines the value of the Age field in the LSA packet that received the monitoring time of the router ID (router “B”) (this In this case, “0”) is set, and ACK (response packet to the received LSA) is returned to the router 2, and the process is terminated (steps S 205 and S 206). In step S205, if connection information different from the previous one has been changed, the processor of the router 1 updates the database based on the received data in the LSA, and updates the routing table based on the database.
[0025]
On the other hand, when the router 3 receives the LSA from the router 2, the processor of the router 3 analyzes the LSA packet header, but the destination of the received LSA packet is addressed to “D” of the changed router ID. It is determined whether or not (steps S201 and S202 in FIG. 4).
[0026]
In step S202, since the destination is a packet for the old router ID (router “C”), the processor of the router 3 proceeds to step S207 without matching and performs the process without returning a response (ACK) to the router 2. The process ends (step S207).
[0027]
On the other hand, when the processor of the router 2 receives the ACK from the router 1 after transmitting the LSA created in step S101, the processor of the router 2 checks whether all the adjacent routers have been completed (steps S104 and S109 in FIG. 3). Since ACK is not transmitted from the router 3 (detected by transmission timeout), the processor of the router 2 sets the number of transmissions stored in the memory for the router 3 to a specified number of times set in the nonvolatile memory (for example, 3 times) is checked (steps S104 and S105 in FIG. 3). Since the specified number of times has not been exceeded, the number of transmissions to the router 3 is incremented by 1 and stored in the memory, and the LSA created in step S101 is retransmitted to the router 3 (step S108). Even if it is retransmitted, the router 3 that has received the LSA performs the same operation as the above-described steps S201, S202, and S207, and ACK is not returned. repeat. Eventually, when the specified number of times is exceeded in step S105, the processor of the router 2 stops transmission of the LSA created in step S101 (step S106 in FIG. 3).
[0028]
Next, the processor of the router 2 confirms whether or not the processing has been completed for all adjacent routers (in the example, the router 1 and the router 3), and if completed, ends the processing (step S107).
[0029]
On the other hand, the router 2 receives the LSA transmitted every 30 minutes from the router “A” of the router 1 and the router “D” of the router 3, but the LSA is transmitted from the router “C” of the router 3. Therefore, the monitoring time for the router “C” is not cleared and continues to be counted up (it is counted up by a timer (not shown) in the router). Processing interruption occurs.
[0030]
Then, the processor of the router 2 creates a timeout notification LSA for the old router ID (router “C”) of the router 3 that has timed out. In this case, router “C” is set in the Link-State ID field in the LSA packet header, and a value of 3600 (corresponding to one hour) is set in the Age field (step S111 in FIG. 4).
[0031]
The number of transmissions of the router 1 and the router 3 is set to 1, and the created timeout notification LSA is transmitted to the router 1 and the router 3 (step S112).
[0032]
When the router 1 receives the LSA for the timeout notification from the router 2 to the router “C”, the processor of the router 1 analyzes the LSA packet header, but the destination of the received LSA (router “A”) is itself It is determined whether or not it is the value of its own router ID (steps S201 and S202 in FIG. 5). Since the destination of the router 1 is its own router ID, the processor of the router 1 proceeds to step S203, and analyzes whether the value of the Age field in the packet header of the received LSA is 3600, whether or not it is a timeout notification (step S203). S203).
[0033]
In step S203, since the analysis result is a timeout notification, the processor of the router 1 deletes the information related to the instructed router ID (router “C”) from the database, and returns an ACK to the router 2 for processing. The process ends (steps S204 and S206).
[0034]
On the other hand, when the router 3 receives the LSA of the timeout notification from the router 2 to the router “C”, the processor of the router 3 analyzes the contents of the LSA, but the router ID of the destination of the received LSA is “D Is determined (steps S201 and S202 in FIG. 5).
[0035]
In step S202, since the LSA is addressed to the old router ID (router “C”), it does not match the changed router ID (router “D”). Therefore, the processor of the router 3 proceeds to step S207, and ends the process without returning a response to the router 2 (step S207). In step S207, the processor of the router 3 may determine that the router “C” is the old router ID, and delete the information related to the router “C” from its own database.
[0036]
On the other hand, the processor of the router 2 receives the ACK from the router 1 after transmitting the time-out notification LSA, but does not receive the ACK from the router 3, so the number of transmissions stored in the memory for the router 3 It is checked whether or not a specified number of times (for example, three times) set in the nonvolatile memory has been exceeded (steps S110 and S111 in FIG. 4). Since the specified number of times has not been exceeded, the number of transmissions to the router 3 is incremented by 1 and stored in the memory, and the LSA for the timeout notification created in step S111 is retransmitted to the router 3 (step S112). Even if it is retransmitted, the router 3 that has received the LSA performs the same operation as the above-described steps S201, S202, and S207, and ACK is not returned. Repeat (Steps S113, S114, S115). Eventually, when the specified number of times is exceeded in step S114, the processor of the router 2 cancels the transmission of the LSA for the timeout notification created in step S111 (step S116 in FIG. 4).
[0037]
Next, the processor of the router 2 confirms whether or not the processing has been completed for all adjacent routers (in the example, the router 1 and the router 3), and if completed, the router ID (router “C”) that issued the timeout notification. ) Is deleted from the database, and the process is terminated (steps S117 and S118).
[0038]
On the other hand, separately from the operation described above, the router 3 changes the router ID from “C” to “D” and interrupts after 30 minutes, so that the LSA is based on the database changed to the router “D”. Is set, the monitoring time of the router “D”, which is its own router ID, is set to “0”, the number of transmissions is set to “1” and transmitted to the router 1 (steps S101 and S102 in FIG. 3). .
[0039]
When the processor of the router 2 receives the new LSA, it analyzes the packet header of the LSA, but proceeds to step S205 for normal processing (steps S201, S202, and S203 in FIG. 5).
[0040]
At this time, in step S205, the processor of the router 2 updates the database in the own router based on the content of the received LSA (in this case, the connection information and the monitoring time of the router “D” are newly registered). Based on the updated database, the routing table is updated (in this case, the router ID is only changed, so it is not actually updated). When the update process ends, the processors of router 1 and router 2 return ACK to router 3 and end the process (step S206). Note that the processor of the router 2 transmits the LSA for the router “D” of the router 3 (LSA from the router 3) to the adjacent router 1 in step S205. The transmission process in this case is the same as the operation of the time chart of FIG. Note that the processor of the router 2 in step S102 at the time of relay does nothing because it does not issue an LSA related to its own connection information.
[0041]
The processor of the router 2 receives the ACK from the router 1, the processor of the router 3 receives the ACK from the router 2, and each processor ends normally (steps S104 and S109).
[0042]
Therefore, in the system configuration of FIG. 2 (FIG. 1), the connection information for the router “C” is automatically deleted from the network, and the routing table is configured based on the routers “A”, “B”, and “D”. Thus, route information (route information) is managed. In the database of each router, the connection information of the router 3 is managed with the updated router “D” as a new router ID.
[0043]
In the above description, the router 2 is described as the first transmitting router of LSA that is periodically transmitted after the router 3 changes the router ID. However, even if the router 1 is used, only the router 2 relays it. Since the operation of the router 1 is the same as that of the router 2, the description thereof is omitted.
[0044]
In the above description, the processor of the router 2 may continue resending the LSA to the router “C” in steps S113, 114, and S115 until the monitoring time for the router “C” times out (1 hour). .
[0045]
As described above, the router 2 that has received the LSA created in the router “C” before the change transmits a timeout notification for the router “C” before the change to the adjacent router one hour later, and before the change. Since the connection information related to the router “C” is deleted from the database, the connection information (and the old LSA) generated by the router 2 based on the router “C” in the past is stored in the network (in this case, the network shown in FIG. 1). Can be automatically turned off. That is, by recognizing that the router ID before the change does not exist in the router 3, the old LSA information automatically disappears, and there is no need to manually rewrite the old and new.
[0046]
【The invention's effect】
As described above, according to the present invention, when the router ID setting indicating the router identification is changed, the changed router makes no response when the LSA for the ID is received by the router before the change, and the connection related to the router ID before the change. Since the router that received the information deletes the connection information related to the router ID before the change from its own database after a predetermined time (one hour), the connection generated with the router ID before the change There is an effect that information and LSA can be automatically deleted from the network.
[Brief description of the drawings]
FIG. 1 is a system block diagram showing a configuration of a network system according to an embodiment of this invention.
FIG. 2 is a schematic diagram showing LSA exchange between routers in FIG. 1;
FIG. 3 is a flowchart showing an operation in an LSA transmission process created by each router in FIG. 1 every 30 minutes;
FIG. 4 is a flowchart showing an operation when each router in FIG. 1 times out after 3600 seconds;
FIG. 5 is a flowchart showing an operation when each router in FIG. 1 receives an LSA;
FIG. 6 is a schematic diagram showing LSA exchange between routers in the prior art.
[Explanation of symbols]
1, 2, 3 routers
900 network
901, 902, 903 LAN

Claims (10)

前記複数のルータ間で各前記ルータがOSPFプロトコルの基で定期的にLSAのパケットにより接続情報のやり取りを行うダイナミックルーティングプロトコルにおけるルータ間の整合処理方式において、
前記ルータの識別を示すルータIDの設定変更時に、そのルータIDを変更したルータは、変更前のルータIDに対するLSAを受信したときに無応答にする無応答手段を有し、
前記変更前のルータIDに対するLSAを送信したルータは、あらかじめ決められた時間後に自分の保有しているデータベースから前記変更前のルータIDに関する接続情報を削除する第1の削除手段を有し、
あらかじめ決められた前記時間後に前記変更前のルータIDに対するLSAを受信したルータは、自分の保有しているデータベースから前記変更前のルータIDに関する接続情報を削除する第2の削除手段を有することを特徴とするダイナミックルーティングプロトコルにおけるルータ間の整合処理方式。
In a matching processing method between routers in a dynamic routing protocol in which each router exchanges connection information by LSA packets periodically based on the OSPF protocol between the plurality of routers.
When changing the setting of the router ID indicating the router identification, the router that has changed the router ID has no-response means for making no response when receiving the LSA for the router ID before the change,
The router that has transmitted the LSA for the router ID before the change has a first deletion unit that deletes the connection information related to the router ID before the change from the database held by the router after a predetermined time,
The router that has received the LSA for the router ID before the change after the predetermined time has second deletion means for deleting the connection information related to the router ID before the change from its own database. A matching processing method between routers in the dynamic routing protocol.
ルータIDを変更したルータを除く前記ルータは、変更後のルータIDに対するLSAを受信したときに前記変更後のルータIDに対する接続情報をデータベースに登録する登録手段とを有することを特徴とする請求項1記載のダイナミックルーティングプロトコルにおけるルータ間の整合処理方式。  The router excluding the router whose router ID has been changed has registration means for registering connection information for the router ID after the change in a database when receiving an LSA for the router ID after the change. A matching processing method between routers in the dynamic routing protocol according to 1. 複数のルータ間で各ルータがOSPFプロトコルの基で定期的にLSAのパケットにより接続情報のやり取りを行うダイナミックルーティングプロトコルにおけるルータ間の整合処理方式において、
前記複数のルータの内の第1のルータは、
前記定期的にやり取りを行う第1のLSAの作成を行って、前記複数のルータの内ののルータに送信する第1の送信手段と、
前記第1のLSAに対する応答を全て確認する過程で無応答を検出した場合には無応答のルータに対してあらかじめ決められた回数だけ前記第1のLSAの再送を行う再送手段と、
前記あらかじめ決められた回数でも前記第1のLSAに対する応答の確認が取れない場合にはあらかじめ決められた時間後に前記無応答のルータに対応するルータIDの接続情報を前記第1のルータの保有しているデータベースから削除する第1の削除手段と
前記第1のルータのルータIDを変更していた場合に、前記他のルータから定期的にやり取りを行う第2のLSAを受信してその受信した第2のLSAに変更前のルータIDに関する情報が含まれていた場合には無応答にする無応答手段と、
を有することを特徴とするダイナミックルーティングプロトコルにおけるルータ間の整合処理方式。
In matching processing method between routers each Le chromatography data between a plurality of routers in the dynamic routing protocol for exchanging connection information by the packet periodically LSA under the OSPF protocol,
A first router of the plurality of routers is
Performs creation of the first LSA performing the regularly exchanged, a first transmission means for transmitting to other Le chromatography data of the plurality of routers,
And retransmitting means to perform retransmission of previously the number of times determined first LSA against Le chromatography data of no response if it detects no response in the process of confirming all the response to the first LSA,
Said predetermined router ID corresponding to Le chromatography data of the unacknowledged after a predetermined et time if no 0.00 confirmation response to the first LSA by the number of times the connection information the first A first deleting means for deleting from the database held by the router ;
When the router ID of the first router has been changed, the second LSA periodically exchanged from the other router is received, and the received information about the router ID before the change to the second LSA If there is included, no response means to make no response,
A matching processing method between routers in a dynamic routing protocol characterized by comprising:
前記削除手段は、前記あらかじめ決められた時間後に前記無応答のルータIDに関するタイムアウト通知を示す第のLSAを送信して前記第1のルータの保有しているデータベースから前記無応答のルータIDに関する接続情報を削除することを特徴とする請求項3記載のダイナミックルーティングプロトコルにおけるルータ間の整合処理方式。The deletion unit, the predetermined third LSA indicating a time-out notification of the router ID of the non-response after between when the database sent to holds the first router of the unresponsive router ID 4. The matching processing method between routers in the dynamic routing protocol according to claim 3, wherein the connection information regarding is deleted. 前記第1のルータは、ルータIDを変更していた場合に、前記第のLSAを受信した場合には前記第1のルータの保有しているデータベースから前記変更前のルータIDに関する接続情報を削除する第2の削除手段を有することを特徴とする請求項4記載のダイナミックルーティングプロトコルにおけるルータ間の整合処理方式。When the first router has changed the router ID and receives the third LSA, the first router obtains connection information related to the router ID before the change from the database held by the first router. matching processing system between routers in the dynamic routing protocol according to claim 4, wherein a second deletion means to delete. 複数のルータ間で各前記ルータがOSPFプロトコルの基で定期的にLSAのパケットにより接続情報のやり取りを行うダイナミックルーティングプロトコルにおけるルータ間の整合処理方法であって、
前記ルータの識別を示すルータIDの設定変更時に、そのルータIDを変更したルータが変更前のルータIDに対するLSAを受信したときに無応答にし、
前記変更前のルータIDに対するLSAを送信したルータが無応答を検出した場合にあらかじめ決められた回数だけリトライを行い、
前記変更前のルータIDに対するLSAを送信したルータがあらかじめ決められた前記回数でも応答を受信しない場合にはあらかじめ決められた時間後に自分の保有しているデータベースから前記変更前のルータIDに関する接続情報を削除し、
あらかじめ決められた前記時間後に前記変更前のルータIDに対するLSAを受信したルータが自分の保有しているデータベースから前記変更前のルータIDに関する接続情報を削除することを特徴とするダイナミックルーティングプロトコルにおけるルータ間の整合処理方法。
A matching processing method between routers in a dynamic routing protocol in which each of the routers exchanges connection information using LSA packets periodically based on an OSPF protocol between a plurality of routers,
When changing the setting of the router ID indicating the identification of the router, when the router that has changed the router ID receives the LSA for the router ID before the change,
If the router that sent the LSA for the router ID before the change detects no response, it will retry a predetermined number of times,
If the router that has transmitted the LSA for the router ID before the change does not receive a response even after the predetermined number of times, the connection information related to the router ID before the change is stored from the database owned by itself after a predetermined time. Delete
A router in a dynamic routing protocol, wherein a router that has received an LSA for the router ID before the change after the predetermined time deletes connection information relating to the router ID before the change from a database held by the router Processing method between the two.
前記ルータIDを変更したルータが変更後のルータIDに対するLSAを送信した場合にその変更後のルータIDに対するLSAを受信したルータが変更後のルータIDに対する接続情報をデータベースに登録することを特徴とする請求項6記載のダイナミックルーティングプロトコルにおけるルータ間の整合処理方法。  When the router that has changed the router ID transmits an LSA for the changed router ID, the router that has received the LSA for the changed router ID registers connection information for the changed router ID in the database. A matching processing method between routers in the dynamic routing protocol according to claim 6. 複数のルータ間で各ルータがOSPFプロトコルの基で定期的にLSAのパケットにより接続情報のやり取りを行うダイナミックルーティングプロトコルにおけるルータ間の整合処理方法であって、
前記複数のルータの内の第1のルータは、
前記定期的にやり取りを行う第1のLSAの作成を行って、前記複数の内ののルータに送信し、前記第1のLSAに対する応答を全て確認する過程で無応答を検出した場合には無応答のルータに対してあらかじめ決められた回数だけ前記第1のLSAの再送を行い、
前記あらかじめ決められた回数でも前記第1のLSAに対する応答の確認が取れない場合にはあらかじめ決められた時間後に前記無応答のルータに対応するルータIDに関する接続情報を前記第1のルータの保有しているデータベースから削除し、
前記第1のルータのルータIDを変更していた場合に、前記他のルータから定期的にやり取りを行う第2のLSAを受信してその受信した第2のLSAに変更前のルータIDに関する情報が含まれていた場合には無応答にすることを特徴とするダイナミックルーティングプロトコルにおけるルータ間の整合処理方法。
Each Le chromatography data between a plurality of routers is a match processing method between routers in the dynamic routing protocol for exchanging connection information by the packet periodically LSA under the OSPF protocol,
A first router of the plurality of routers is
Performs creation of the first LSA performing the regularly exchanged if, to send to the other Le chromatography data of the plurality, is detected no response in the process of confirming all the response to the first LSA number of times a predetermined relative Le chromatography data unresponsive to perform retransmission of the first LSA,
Wherein the first router connection information about the router ID corresponding to the unanswered Le over data after a predetermined time when it is not possible to confirm the response to the first LSA in advance the number-determined times Delete from the database owned by
When the router ID of the first router has been changed, the second LSA periodically exchanged from the other router is received, and the received information about the router ID before the change to the second LSA A matching processing method between routers in a dynamic routing protocol, characterized in that no response is made when a message is included .
前記第1のルータは、
前記あらかじめ決められた時間後に前記無応答のルータIDに関するタイムアウト通知を示す第のLSAを送信し、
前記第1のルータの保有しているデータベースから前記無応答のルータIDに関する接続情報を削除することを特徴とする請求項8記載のダイナミックルーティングプロトコルにおけるルータ間の整合処理方法。
The first router is:
Send a third LSA indicating a time-out notification of the router ID of the previous SL unanswered after the time that the predetermined,
9. The matching processing method between routers in a dynamic routing protocol according to claim 8, wherein connection information relating to the non-response router ID is deleted from a database held by the first router .
前記第1のルータは、
ルータIDを変更していた場合に、前記第のLSAを受信した場合には前記第1のルータの保有しているデータベースから前記変更前のルータIDに関する接続情報を削除することを特徴とする請求項9記載のダイナミックルーティングプロトコルにおけるルータ間の整合処理方法。
The first router is:
When the router ID is changed and the third LSA is received, the connection information related to the router ID before the change is deleted from the database held by the first router. The matching processing method between routers in the dynamic routing protocol according to claim 9 .
JP2001126066A 2001-04-24 2001-04-24 Matching method and matching method between routers in dynamic routing protocol Expired - Fee Related JP3678669B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001126066A JP3678669B2 (en) 2001-04-24 2001-04-24 Matching method and matching method between routers in dynamic routing protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001126066A JP3678669B2 (en) 2001-04-24 2001-04-24 Matching method and matching method between routers in dynamic routing protocol

Publications (2)

Publication Number Publication Date
JP2002319962A JP2002319962A (en) 2002-10-31
JP3678669B2 true JP3678669B2 (en) 2005-08-03

Family

ID=18975169

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001126066A Expired - Fee Related JP3678669B2 (en) 2001-04-24 2001-04-24 Matching method and matching method between routers in dynamic routing protocol

Country Status (1)

Country Link
JP (1) JP3678669B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3844768B2 (en) * 2002-11-20 2006-11-15 富士通株式会社 Wireless terminal device
KR100570821B1 (en) 2004-03-05 2006-04-12 삼성전자주식회사 Apparatus and method for processing ospf in distributed router
WO2013161873A1 (en) * 2012-04-27 2013-10-31 株式会社フジクラ Communication system
US10069716B2 (en) 2015-07-29 2018-09-04 At&T Intellectual Property I, L.P. Methods and apparatus to reflect routes from a remotely located virtual route reflector

Also Published As

Publication number Publication date
JP2002319962A (en) 2002-10-31

Similar Documents

Publication Publication Date Title
US20170214609A1 (en) Forwarding method and forwarding device
JP3678669B2 (en) Matching method and matching method between routers in dynamic routing protocol
Cisco Novell IPX Commands
Cisco Novell IPX Commands
Cisco Novell IPX Commands
Cisco Novell IPX Commands
Cisco Novell IPX Commands
Cisco Novell IPX Commands
Cisco Novell IPX Commands
Cisco Novell IPX Commands
Cisco Novell IPX Commands
Cisco Novell IPX Commands
Cisco Novell IPX Commands
Cisco Novell IPX Commands
Cisco Novell IPX Commands
Cisco Novell IPX Commands
Cisco Novell IPX Commands
Cisco Novell IPX Commands
Cisco Novell IPX Commands
Cisco Novell IPX Commands
Cisco Novell IPX Commands
Cisco Novell IPX Commands
Cisco Novell IPX Commands
Cisco Novell IPX Commands
Cisco Router Software Configuration: Desktop Protocols Internetwork Operating System Release 10

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040628

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040706

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050118

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20050304

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050322

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: 20050419

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050510

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090520

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100520

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees