JP2007243489A - Route variation determining device and computer program - Google Patents

Route variation determining device and computer program Download PDF

Info

Publication number
JP2007243489A
JP2007243489A JP2006061792A JP2006061792A JP2007243489A JP 2007243489 A JP2007243489 A JP 2007243489A JP 2006061792 A JP2006061792 A JP 2006061792A JP 2006061792 A JP2006061792 A JP 2006061792A JP 2007243489 A JP2007243489 A JP 2007243489A
Authority
JP
Japan
Prior art keywords
route
bgp
event
flap
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006061792A
Other languages
Japanese (ja)
Inventor
Yuichiro Hei
雄一郎 屏
Tomohiko Ogishi
智彦 大岸
Shigehiro Ano
茂浩 阿野
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.)
KDDI Corp
Original Assignee
KDDI Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by KDDI Corp filed Critical KDDI Corp
Priority to JP2006061792A priority Critical patent/JP2007243489A/en
Publication of JP2007243489A publication Critical patent/JP2007243489A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a route variation determining device for specifying an unstable route in Internet path control and quickly notify a source of the route for handling to contribute to stabilization of the Internet path control. <P>SOLUTION: The route variation determining device 30 identifies occurrence of route flap and its location, by extracting a message pattern characteristic to the route flap occurrence among BGP (border gateway protocol) route updating messages received from a plurality of BGP routers 40. Moreover, the device obtains the property of a receiving pattern of a BGP route updating message when the route flap occurs. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、経路変動判定装置及びコンピュータプログラムに関する。   The present invention relates to a path variation determination device and a computer program.

インターネットは、図14に示されるように、自律システム(AS:Autonomous System)と呼ばれる独立した管理単位(AS100〜AS500)が結合して構成されたネットワークである。AS間では、BGP(Border Gateway Protocol)と呼ばれる経路制御プロトコルを利用して経路情報の交換を行うことで、ネットワークの接続性を維持している。BGPでは、経路情報が変更された場合のみBGP経路更新メッセージにより隣接するBGPルータに変更された経路情報を通知する。また、BGPでは、ある宛先(プレフィックス)へ到達可能となった場合、または経路の属性(ASパス等)が変更された場合、Announceメッセージとして通知され、プレフィックスへの到達性がなくなった場合はWithdrawメッセージとして通知される。なお、経路情報の変更は、BGPルータの故障等により発生する不安定な経路情報だけでなく、設定変更等で発生する正常な経路変動の通知も含まれる。   As shown in FIG. 14, the Internet is a network configured by combining independent management units (AS100 to AS500) called autonomous systems (AS). Between ASs, network connectivity is maintained by exchanging route information using a route control protocol called BGP (Border Gateway Protocol). In BGP, the changed route information is notified to the adjacent BGP router by the BGP route update message only when the route information is changed. In BGP, when a destination (prefix) can be reached, or when a route attribute (such as an AS path) is changed, it is notified as an Announce message, and when the reachability to the prefix is lost, Withdraw It is notified as a message. Note that the change of the route information includes not only unstable route information generated due to a failure of the BGP router or the like, but also a notification of a normal route change caused by a setting change or the like.

ところで、不安定な経路情報のうち、頻繁に経路のAnnounce、Withdrawを繰り返す経路変動(ルートフラップ)と呼ばれる現象がある。ルートフラップが発生すると、多くのBGP経路更新メッセージが各BGPルータに伝搬されるため、BGPルータの負荷増大や、インターネット全体の経路制御の不安定を誘発する可能性がある。従ってルートフラップを検知することは、インターネット経路制御の安定性を維持するために重要となる。   By the way, among unstable route information, there is a phenomenon called route fluctuation (route flap) that frequently repeats Announce and Withdraw of a route. When a route flap occurs, many BGP route update messages are propagated to each BGP router, which may cause an increase in the load on the BGP router and instability of route control of the entire Internet. Therefore, detecting route flaps is important for maintaining the stability of Internet routing.

一方、ルートフラップによるBGP経路更新メッセージ増加を抑える手法として、ルートフラップダンピングと呼ばれる手法がある(例えば、非特許文献1参照)。ルートフラップダンピングは、AS内にそれぞれ設けられるBGPルータに実装され、各BGP接続先からBGP経路更新メッセージで受信するプレフィックスの経路毎に、それが安定しているか否かを判定する。ルートフラップダンピングでは、プレフィックスはその経路が変動するたびにペナルティが与えられる。   On the other hand, as a technique for suppressing an increase in BGP route update messages due to route flaps, there is a technique called route flap damping (see, for example, Non-Patent Document 1). Route flap dumping is implemented in a BGP router provided in each AS, and determines whether or not it is stable for each prefix route received by a BGP route update message from each BGP connection destination. In route flap damping, a prefix is penalized each time its route changes.

図15は、ルートフラップダンピングにおけるペナルティの変化をグラフ表示したものである。図15において、ペナルティがあらかじめ決められた抑制値に達したときに経路は抑制され、他のBGPルータに広報されなくなる。また、ペナルティは指数的に減少し、その値が再利用値より小さくなったとき、経路は再び広報される。また、ルートフラップダンピングにより、頻繁に経路変動が発生するプレフィックスの広報が抑制され、その結果、BGP経路更新メッセージも減少する。
RFC2439“BGP Route Flap Damping”
FIG. 15 is a graphical representation of the change in penalty in route flap damping. In FIG. 15, when the penalty reaches a predetermined suppression value, the route is suppressed and is not advertised to other BGP routers. Also, the penalty decreases exponentially, and when the value becomes smaller than the reuse value, the route is broadcast again. Also, route flap damping suppresses the publicity of prefixes that frequently undergo route fluctuations, and as a result, BGP route update messages also decrease.
RFC2439 “BGP Route Flap Damping”

上記したルートフラップダンピングは、一つのBGP接続先から受信するBGP経路更新メッセージの受信頻度のみで、その経路がフラップしているか否かを判定する。しかしながら、実際には正常な経路変動であっても、BGPの接続トポロジーや、BGPルータに設定された経路ポリシー、あるいは、BGP経路更新メッセージの受信や送信タイミング等により、伝搬されるBGP経路更新メッセージの数が増える場合がある。その結果、あるBGPルータでは、あるプレフィックスに関して複数のBGP経路更新メッセージを受信し、その結果、その経路がフラップしていると判断され、経路が抑制されてしまう場合がある。   The route flap damping described above determines whether or not the route is flapped only by the reception frequency of the BGP route update message received from one BGP connection destination. However, even if the route is actually normal, the BGP route update message that is propagated depends on the BGP connection topology, the route policy set in the BGP router, or the reception or transmission timing of the BGP route update message. May increase in number. As a result, a certain BGP router receives a plurality of BGP route update messages for a certain prefix, and as a result, it is determined that the route is flapping, and the route may be suppressed.

その現象に関し、図16を用いて説明する。図16は、BGP経路更新メッセージがAS間を伝播するにつれ、BGP経路変動メッセージ数が増加する様子を示した図である。なお、図16中の数字はAS番号を、「W」はWithdrawを、{}内の数字列はAnnounceにおける経路のASパスをそれぞれ示している。図16において、例えば、AS1においてBGPルータの再起動を実行した場合、そのBGPルータから広報される経路は、一度、Withdrawされた後、ルータの起動後、再びAnnounceされる。この一度の経路変動は、BGP経路更新メッセージによって隣接するAS2、AS3、AS4に広報される。AS5では、AS2とAS3からBGP経路更新メッセージを受信するが、AS5の経路ポリシーによりAS3からの経路を優先すると仮定する。ここでAS5がWithdrawを受信後、先にAS2からAnnounceを受信し、AS3からはAnnounceを受信していないとすると、AS5は隣接のAS9に対してAS2からの経路を広報する。その後AS5がAS3からAnnounceを受信したとすると、AS5はAS9に対してAS3からの経路を広報する。その結果、AS9ではAS1での一度の経路変動により、3つのBGP経路変動メッセージを受信することになる。同様に、AS11はAS10からBGP経路変動メッセージを受信するが、AS10でのBGP経路変動メッセージの受信や送信タイミングにより、AS11は4つのBGP経路変動メッセージを受信する。   This phenomenon will be described with reference to FIG. FIG. 16 is a diagram showing how the number of BGP path change messages increases as the BGP path update message propagates between ASs. Note that the numbers in FIG. 16 indicate AS numbers, “W” indicates Withdraw, and the numbers in {} indicate AS paths of routes in Announce. In FIG. 16, for example, when the BGP router is restarted in AS1, the route advertised from the BGP router is once drawn and then announced again after the router is started. This one-time route change is broadcast to the adjacent AS2, AS3, and AS4 by the BGP route update message. In AS5, BGP route update messages are received from AS2 and AS3, but it is assumed that the route from AS3 is given priority according to the route policy of AS5. Assuming that AS5 receives Announce from AS2 first after receiving Withdraw and does not receive Announce from AS3, AS5 advertises the route from AS2 to adjacent AS9. If AS5 subsequently receives Announce from AS3, AS5 advertises the route from AS3 to AS9. As a result, in AS9, three BGP route change messages are received by one route change in AS1. Similarly, the AS 11 receives a BGP route change message from the AS 10, but the AS 11 receives four BGP route change messages according to the reception and transmission timing of the BGP route change message in the AS 10.

このように、正常な一度の経路変動であっても、あるASでは複数のBGP経路更新メッセージを受信する場合があり、そこでルートフラップダンピングが実施されているとすると、その経路がフラップしていると判定され、不必要に経路が抑制されてしまう。   As described above, even if the route changes normally once, a certain AS may receive a plurality of BGP route update messages. If route flap damping is performed there, the route is flapping. And the route is unnecessarily suppressed.

本発明は、このような事情を考慮してなされたもので、その目的は、インターネット経路制御における不安定経路を特定することにより、その経路の生成元への連絡と対処を迅速に行い、インターネット経路制御の安定化に貢献することのできる経路変動判定装置を提供することにある。   The present invention has been made in consideration of such circumstances, and its purpose is to identify an unstable route in Internet route control, to quickly contact the source of the route and deal with it, and to An object of the present invention is to provide a path variation determination device that can contribute to stabilization of path control.

また、本発明の他の目的は、本発明の経路変動判定装置をコンピュータを利用して実現するためのコンピュータプログラムを提供することにある。   Another object of the present invention is to provide a computer program for realizing the path fluctuation judging device of the present invention using a computer.

上記の課題を解決するために、本発明に係る経路変動判定装置は、独立した管理単位であるAS(Autonomous System)が結合して構成されるネットワークシステムにおいて、ある特定のプレフィックスに関してルートフラップが発生しているか否かを判定する経路変動判定装置であって、観測点の前記ASに隣接する複数のBGP(Border Gateway Protocol)ルータから、BGP経路更新メッセージを取得するメッセージ取得部と、前記取得した複数のBGP経路更新メッセージからルートフラップ発生時の特徴的なメッセージパターンを抽出し、前記ある特定のプレフィックスに関してルートフラップが発生しているか否かを判定する経路変動判定部とを備えたことを特徴とする。   In order to solve the above-described problems, the route fluctuation determination device according to the present invention generates a route flap for a specific prefix in a network system configured by combining AS (Autonomous System) as independent management units. A route change determination device for determining whether or not a message is obtained from a plurality of BGP (Border Gateway Protocol) routers adjacent to the AS at an observation point; A path variation determining unit that extracts a characteristic message pattern at the time of occurrence of a route flap from a plurality of BGP route update messages and determines whether or not a route flap has occurred with respect to the specific prefix; And

本発明に係る経路変動判定装置においては、前記経路変動判定部は、前記ある特定のプレフィックスにルートフラップが発生していると判定したとき、前記ルートフラップの発生場所を特定することを特徴とする。   In the route variation determination device according to the present invention, the route variation determination unit identifies a location where the route flap occurs when it is determined that a route flap has occurred in the specific prefix. .

本発明に係る経路変動判定装置においては、前記メッセージ取得部は、前記複数のBGPルータと接続を行い、それぞれのBGPルータからBGP経路更新メッセージを受信することを特徴とする。   In the route variation determination apparatus according to the present invention, the message acquisition unit connects to the plurality of BGP routers and receives a BGP route update message from each BGP router.

本発明に係る経路変動判定装置においては、前記メッセージ取得部は、あらかじめ前記複数のBGPルータから取得されファイルに格納されているBGP経路更新メッセージを、取得することを特徴とする。   In the route variation determination apparatus according to the present invention, the message acquisition unit acquires a BGP route update message that is acquired in advance from the plurality of BGP routers and stored in a file.

本発明に係る経路変動判定装置においては、前記取得したBGP経路更新メッセージをプレフィックス毎に分類し、少なくとも、時間と経路の属性に関する情報を抽出して前記経路変動判定部へ出力するか、若しくは前記プレフィックス毎に少なくとも時間と経路の属性に関する情報を持つ一つのBGP経路更新メッセージファイルを生成し保存するメッセージ処理部を更に備えたことを特徴とする。   In the route fluctuation determination apparatus according to the present invention, the obtained BGP route update message is classified for each prefix, and at least information on time and route attributes is extracted and output to the route fluctuation determination unit, or A message processing unit is further provided for generating and storing one BGP route update message file having information on at least time and route attributes for each prefix.

本発明に係る経路変動判定装置においては、前記経路変動判定部は、前記BGP経路更新メッセージを新たに取得したとき、前に取得したBGP経路更新メッセージとの間隔により、該新たに取得したBGP経路更新メッセージが、前記複数のBGPルータから受信したBGP経路更新メッセージを時系列に並べた場合の時間的に所定の条件を満たすメッセージ群をグルーピングしたイベントに属するか否かを判定し、前記イベントに属さないと判定したとき、前記イベントの最後に取得したBGP経路更新メッセージとの間隔が所定の値以下の場合に関連イベントと判定し、前記所定の値を越えた場合、更に、ある接続先から受信したBGP経路更新メッセージにおいて、前記イベント内に同じ属性を持つ経路が存在するか否かを判定し、存在しないときに、前記イベントはルートフラップよるイベントでないと判定することを特徴とする。   In the route variation determination device according to the present invention, when the route variation determination unit newly acquires the BGP route update message, the newly acquired BGP route is determined according to an interval from the previously acquired BGP route update message. It is determined whether or not the update message belongs to an event in which a group of messages satisfying a predetermined condition in time when the BGP route update messages received from the plurality of BGP routers are arranged in time series, When it is determined that it does not belong, it is determined as a related event when the interval with the BGP route update message acquired at the end of the event is equal to or smaller than a predetermined value. In the received BGP route update message, determine whether there is a route having the same attribute in the event, When not standing, and judging with the event is not an event with root flap.

本発明に係る経路変動判定装置においては、前記経路変動判定部は、前記イベント内に同じ属性を持つ経路が存在する場合、全ての接続先BGPルータから最後にWithdrawを受信するイベントは、そのプレフィックスの生成元でのルートフラップによるイベントであると判定することを特徴とする。   In the route variation determination device according to the present invention, the route variation determination unit, when there is a route having the same attribute in the event, the event that finally receives Withdraw from all connected BGP routers is the prefix It is determined that the event is caused by a route flap at the generation source.

本発明に係る経路変動判定装置においては、前記経路変動判定部は、前記イベント内に同じ属性を持つ経路が存在する場合、少なくとも一つの接続先BGPルータから最後にWithdrawを受信するイベントは、経路途中でのルートフラップによるイベントであると判定することを特徴とする。   In the route variation determination apparatus according to the present invention, when a route having the same attribute exists in the event, the route variation determination unit determines whether an event that finally receives Withdraw from at least one connection destination BGP router is a route It is determined that the event is caused by a route flap on the way.

本発明に係る経路変動判定装置においては、前記経路変動判定部は、ルートフラップによるイベントであると判定された前記イベントについて、前記関連するBGP経路更新メッセージからルートフラップ発生時の特徴的なメッセージパターンを抽出し、その結果をログとして保存することを特徴とする。   In the route variation determination device according to the present invention, the route variation determination unit determines a characteristic message pattern when a route flap occurs from the related BGP route update message for the event determined to be an event due to a route flap. Is extracted, and the result is stored as a log.

本発明に係るコンピュータプログラムは、独立した管理単位であるAS(Autonomous System)が結合して構成されるネットワークシステムにおいて、ある特定のプレフィックスに関してルートフラップが発生しているか否かを判定する経路変動判定処理を行うためのコンピュータプログラムであって、観測点の前記ASに隣接する複数のBGP(Border Gateway Protocol)ルータから、BGP経路更新メッセージを取得する機能と、前記取得した複数のBGP経路更新メッセージからルートフラップ発生時の特徴的なメッセージパターンを抽出し、前記ある特定のプレフィックスに関してルートフラップが発生しているか否かを判定する機能とをコンピュータに実現させることを特徴とする。
これにより、前述の経路変動判定装置がコンピュータを利用して実現できるようになる。
The computer program according to the present invention is a path fluctuation determination that determines whether or not a route flap has occurred with respect to a specific prefix in a network system configured by combining AS (Autonomous System) as independent management units. A computer program for performing processing, comprising: a function of acquiring a BGP route update message from a plurality of BGP (Border Gateway Protocol) routers adjacent to the AS at an observation point; and a plurality of BGP route update messages acquired A characteristic message pattern at the time of occurrence of a route flap is extracted, and a function of determining whether or not a route flap has occurred with respect to the specific prefix is realized in a computer.
As a result, the above-described path variation determination apparatus can be realized using a computer.

本発明によれば、複数のBGPルータから受信したBGP経路更新メッセージから、ルートフラップ発生時の特徴的なメッセージパターンを抽出することにより、ルートフラップ発生の有無や発生場所を特定することができる。またルートフラップ発生時のBGP経路更新メッセージの受信パターンの特性を把握することができる。したがって、インターネット経路制御における不安定経路を特定することで、その経路の生成元への連絡と対処を迅速に行うことが可能となり、インターネット経路制御の安定化維持に貢献することができる。   According to the present invention, by extracting a characteristic message pattern at the time of occurrence of a route flap from a BGP route update message received from a plurality of BGP routers, it is possible to specify the presence / absence and occurrence location of a route flap. Further, it is possible to grasp the characteristics of the reception pattern of the BGP route update message when the route flap occurs. Therefore, by specifying an unstable route in Internet route control, it is possible to quickly contact and deal with the origin of the route, and contribute to maintaining stable Internet route control.

以下、図面を参照し、本発明の一実施形態について説明する。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

初めに、ルートフラップが発生した場合の、BGP経路更新メッセージの伝達モデルについて、図1、図2を参照しながら説明する。
あるプレフィックスP0に関するルートフラップは、プレフィックスP0の生成元で発生する場合と、経路途中で発生する場合が考えられる。前者の原因としてBGPルータのインタフェース故障等があり、後者の原因としては、RFC3345で説明されているRoute Oscillationと呼ばれる現象による発生等が考えられる。前者の例を図1に、後者の例を図2に示す。
First, a BGP route update message transmission model when a route flap occurs will be described with reference to FIGS. 1 and 2.
A route flap related to a certain prefix P0 can be considered to occur in the origin of the prefix P0 or in the middle of the route. The cause of the former is an interface failure of the BGP router, and the latter is considered to be caused by a phenomenon called Route Oscillation described in RFC3345. An example of the former is shown in FIG. 1, and an example of the latter is shown in FIG.

図1に示されるように、ルートフラップがプレフィックスの生成元で発生した場合、観測点となる、あるASでは、プレフィックスP0に関してAnnounce(A)とWithdraw(W)を繰り返し受信する。ここで、ルートフラップダンピングを実施するBGPルータが経路上に存在すると仮定し、ルートフラップダンピング実施ルータでプレフィックスP0のペナルティが抑制値に達すると、プレフィックスP0関してWithdrawが送信された後、一定期間プレフィックスP0に関するBGP経路更新メッセージは抑制される。その結果、観測点では、経路が異なる全てのBGP接続先からプレフィックスP0に関してWithdrawを受信した後、一定期間プレフィックスP0に関するBGP経路更新メッセージは受信されなくなる。   As shown in FIG. 1, when a route flap occurs at a prefix generation source, an AS serving as an observation point repeatedly receives Announce (A) and Withdraw (W) regarding the prefix P0. Here, it is assumed that a BGP router that performs route flap damping exists on the route, and when the penalty of the prefix P0 reaches the suppression value at the route flap damping execution router, after a Withdraw is transmitted for the prefix P0, a certain period of time is transmitted. The BGP route update message for the prefix P0 is suppressed. As a result, at the observation point, after receiving Withdraw regarding the prefix P0 from all BGP connection destinations with different paths, the BGP path update message regarding the prefix P0 is not received for a certain period.

一方、図2に示されるように、ルートフラップが経路途中で発生した場合、ルートフラップダンピング実施ルータが経路上に存在するとしても、観測点では、プレフィックスP0に関してルートフラップ発生地点を通らない安定した経路(AS5→AS4)をAnnounce(A)メッセージで受信する可能性がある。   On the other hand, as shown in FIG. 2, when a route flap occurs in the middle of a route, even if a route flap damping execution router exists on the route, the observation point is stable and does not pass the route flap occurrence point with respect to the prefix P0. There is a possibility that the route (AS5 → AS4) is received by an Announce (A) message.

図3は、本発明の一実施形態に係る経路変動判定装置30の構成を示すブロック図である。
図3において、経路変動判定装置30は、メッセージ取得部A(31)と、メッセージ取得部B(32)と、メッセージ処理部33と、ファイル格納部34と、経路変動判定部35と、ファイル出力部36とを備える。
FIG. 3 is a block diagram showing a configuration of the path variation determination apparatus 30 according to an embodiment of the present invention.
In FIG. 3, the path variation determination device 30 includes a message acquisition unit A (31), a message acquisition unit B (32), a message processing unit 33, a file storage unit 34, a path variation determination unit 35, and a file output. Part 36.

メッセージ取得部A(31)は、隣接するBGPルータ40(1〜n)と接続を行い、それぞれのBGPルータ40(1〜n)からBGP経路更新メッセージを受信し、受信したBGP経路更新メッセージを標準フォーマットに変換してメッセージ処理部33へ出力する。   The message acquisition unit A (31) connects to the adjacent BGP routers 40 (1-n), receives the BGP route update messages from the respective BGP routers 40 (1-n), and receives the received BGP route update messages. The data is converted into a standard format and output to the message processing unit 33.

メッセージ取得部B(32)は、BGP経路更新メッセージダンプファイル41から標準フォーマットに変換済みのBGP経路更新メッセージを取得してメッセージ処理部33へ出力する。BGP経路更新メッセージダンプファイル41には、あらかじめ、BGPルータ40(1〜n)から取得されたBGP経路更新メッセージが標準フォーマットに変換されて格納されている。   The message acquisition unit B (32) acquires the BGP route update message converted into the standard format from the BGP route update message dump file 41, and outputs it to the message processing unit 33. In the BGP route update message dump file 41, a BGP route update message acquired from the BGP router 40 (1 to n) is converted into a standard format and stored in advance.

メッセージ処理部33は、メッセージ取得部A(31)、メッセージ取得部B(32)によって取得されたメッセージをプレフィックス毎に分類し、少なくとも、時間と経路の属性情報を抽出して経路判定部35へ出力するか、若しくは、プレフィックス毎に、少なくとも、時間と経路の属性に関する情報を持つ一つのBGP経路更新メッセージファイルを生成してファイル格納部34へ保存する。   The message processing unit 33 classifies the messages acquired by the message acquisition unit A (31) and the message acquisition unit B (32) for each prefix, and extracts at least time and route attribute information to the route determination unit 35. For each prefix, one BGP route update message file having at least information about time and route attributes is generated and stored in the file storage unit 34.

経路変動判定部35は、後述するように、取得した複数のBGP経路更新メッセージからルートフラップ発生時の特徴的なメッセージパターンを抽出し、ある特定のプレフィックスに関してルートフラップが発生しているか否かを判定し、ある特定のプレフィックスにルートフラップが発生していると判定したとき、ルートフラップの発生場所を推定演算してファイル出力部36へ出力する機能を有する。   As will be described later, the route fluctuation determination unit 35 extracts a characteristic message pattern at the time of occurrence of a route flap from a plurality of acquired BGP route update messages, and determines whether or not a route flap has occurred for a specific prefix. When it is determined and it is determined that a route flap has occurred in a specific prefix, a function for estimating the location where the route flap is generated and outputting it to the file output unit 36 is provided.

また、経路変動判定部35は、関連するBGP経路更新メッセージからルートフラップ発生時の特徴的なメッセージパターンを抽出し、その結果を、ファイル出力部36により、BGP経路変動ログ42として保存する機能もあわせ持つ。   The route fluctuation determination unit 35 also has a function of extracting a characteristic message pattern when a route flap occurs from a related BGP route update message and storing the result as a BGP route fluctuation log 42 by the file output unit 36. Have both.

以下、図3に示す本実施形態に係る経路変動判定装置30の動作について説明する。
ここでは、以下に説明するいずれかの方法に従い、BGP経路更新メッセージを収集することができるものとする。一つは、図1、図2に示す観測点において、複数のBGPルータ40(1〜n)とBGP接続を行い、各BGPルータ40(1〜n)からBGP経路更新メッセージを受信する方法である。この場合、メッセージ取得部A(31)において、受信したBGP経路更新メッセージをMRTフォーマットと呼ばれる標準フォーマットに変換して保存する。他の一つは、あらかじめ収集しておいた、BGP経路更新メッセージのダンプファイル41を入力する方法である。BGP経路更新メッセージダンプファイル41には、複数のBGPルータ40(1〜n)ルータから受信したBGP経路更新メッセージがMRTフォーマットに変換され格納されている。
Hereinafter, the operation of the route variation determination apparatus 30 according to the present embodiment illustrated in FIG. 3 will be described.
Here, it is assumed that BGP route update messages can be collected according to any of the methods described below. One is a method of performing BGP connection with a plurality of BGP routers 40 (1 to n) at the observation points shown in FIGS. 1 and 2 and receiving a BGP route update message from each BGP router 40 (1 to n). is there. In this case, the message acquisition unit A (31) converts the received BGP route update message into a standard format called an MRT format and stores it. The other is a method of inputting a dump file 41 of a BGP route update message collected in advance. In the BGP route update message dump file 41, BGP route update messages received from a plurality of BGP routers 40 (1 to n) routers are converted into an MRT format and stored.

図4に、MRTフォーマットで表記されたBGP経路更新メッセージの一例が示されている。図4に示されるように、MRTフォーマットで表されたメッセージには、メッセージの受信時刻(TIME)、メッセージの送信元(FROM)、ASパス(ASPATH)、MED値(MULTI_EXIT_DISC)、コミュニティ値(COMMUNITY)、広報されるプレフィックス(ANNOUNCE)、取り消されるプレフィックス(WITHDRAW)等の情報が含まれている。   FIG. 4 shows an example of a BGP route update message written in the MRT format. As shown in FIG. 4, the message expressed in the MRT format includes a message reception time (TIME), a message transmission source (FROM), an AS path (ASPATH), a MED value (MULTI_EXIT_DISC), a community value (COMMUNITY). ), Prefixes to be publicized (ANNOUNCE), prefixes to be canceled (WITHDRAW), and so on.

上記の方法で収集したBGP経路更新メッセージは、メッセージ処理部33においてプレフィックス毎に分類され、必要な情報が抽出される。その後、実時間で経路変動判定を実行する場合、メッセージ処理部33は、処理後のメッセージを経路変動判定部35に出力し、一方、非実時間で経路変動判定を実行する場合は、プレフィックス毎に一つのBGP経路更新メッセージファイルとして編集し、ファイル格納部34にメッセージファイルとして保存する。このメッセージファイルの一例が図5に示されている。   The BGP route update messages collected by the above method are classified for each prefix by the message processing unit 33, and necessary information is extracted. Thereafter, when the path variation determination is performed in real time, the message processing unit 33 outputs the processed message to the path variation determination unit 35. On the other hand, when the path variation determination is performed in non-real time, for each prefix. Are edited as one BGP route update message file and stored in the file storage unit 34 as a message file. An example of this message file is shown in FIG.

図5において、ファイルを構成する各エントリが一つのBGP経路更新メッセージを表しており、情報として、メッセージの受信日時、メッセージの種別(AnnounceまたはWithdraw)、接続先、MED値(ここではmed)、ASパス(ここではaspath)、コミュニティ値(ここではcommunity)が含まれる。なお、メッセージがWithdrawの場合は、記録される情報はメッセージの受信日時と接続先のみである。   In FIG. 5, each entry constituting the file represents one BGP route update message. Information includes the date and time of message reception, message type (Announce or Withdraw), connection destination, MED value (here, med), An AS path (here aspath) and a community value (here community) are included. If the message is Withdraw, the information to be recorded is only the message reception date and connection destination.

図6、図7は、経路変動判定部35によるルートフラップ判定処理の流れをフローチャートで示した図である。
以下、図6、図7のフローチャートを参照しながら、経路変動判定部35によるルートフラップ判定処理を詳細に説明する。
6 and 7 are flowcharts showing the flow of the route flap determination process by the route fluctuation determination unit 35.
Hereinafter, the route flap determination process performed by the route variation determination unit 35 will be described in detail with reference to the flowcharts of FIGS. 6 and 7.

まず、経路変動判定部35は、メッセージ取得部A(31)、あるいはメッセージ取得部B(32)を介して取得される新規BGP経路更新メッセージが到着したか否かを判定する(図6のステップS601)。ここで、新規BGP経路更新メッセージが到着した場合、経路変動判定処理部35は、前に到着したBGP経路更新メッセージとの間隔を参照する(ステップS602)。ここで、その間隔が、ある閾値Isよりも大きい場合(ステップS602“YES”)、新規に到着したBGP経路更新メッセージは、新しいイベントに属すると判定し(ステップS603)、閾値Is以下の場合は(ステップS602“NO”)、新たに到着したBGP経路更新メッセージは前のBGP経路更新メッセージと同じイベントに属すると判定する(ステップS608)。   First, the route fluctuation determination unit 35 determines whether a new BGP route update message acquired via the message acquisition unit A (31) or the message acquisition unit B (32) has arrived (step in FIG. 6). S601). Here, when a new BGP route update message has arrived, the route fluctuation determination processing unit 35 refers to the interval with the previously arrived BGP route update message (step S602). Here, when the interval is larger than a certain threshold value Is (step S602 “YES”), it is determined that the newly arrived BGP route update message belongs to a new event (step S603). (Step S602 “NO”), it is determined that the newly arrived BGP route update message belongs to the same event as the previous BGP route update message (Step S608).

なお、閾値Isは、BGPルータでのBGP経路更新メッセージの送出間隔から、30〜50秒程度に設定されるものとする。また、「イベント」とは、本実施形態に係る経路変動判定装置30が、複数のBGPルータ40(1〜n)から受信したBGP経路更新メッセージを時系列に並べた場合の、時間的に一定の条件を満たすメッセージ群を一纏めにしたものとする。   Note that the threshold Is is set to about 30 to 50 seconds from the transmission interval of the BGP route update message in the BGP router. The “event” is constant in time when the route variation determination apparatus 30 according to the present embodiment arranges BGP route update messages received from a plurality of BGP routers 40 (1 to n) in time series. It is assumed that a group of messages satisfying the condition is grouped.

ここで、新しいイベントが発生した場合、前のイベントがルートフラップにより発生したイベントであるか否かの判定処理を行う。
まず、前のイベントの最後のBGP経路更新メッセージとの間隔を参照する(ステップS604)。それがある閾値Rs以下の場合(ステップS604“NO”)、新たなイベントは、前のイベントとの関連イベントであると推定し(ステップS609)、ここではルートフラップ判定は行わない。ここで、閾値Rsは、BGPルータでのルートフラップダンピングによって抑制された経路が再広報される時間を考慮し、10〜30分程度に設定されるものとする。
Here, when a new event occurs, it is determined whether or not the previous event is an event caused by a route flap.
First, the interval between the previous event and the last BGP route update message is referred to (step S604). If it is less than or equal to a certain threshold value Rs (step S604 “NO”), it is estimated that the new event is a related event with the previous event (step S609), and no route flap determination is performed here. Here, the threshold value Rs is set to about 10 to 30 minutes in consideration of the time during which the route suppressed by route flap damping at the BGP router is re-advertised.

一方、前のイベントの最後のBGP経路更新メッセージとの間隔がRsよりも大きい場合には(ステップS604“YES”)、ある接続先から受信したBGP経路更新メッセージにおいて、イベント内に同じASパス、属性を持つ経路が存在するか否かを判定する(図7のステップS605)。この判定の意図について、以下に説明する。
正常な経路変動の場合は、イベント内に同じ経路が繰り返し現れることはないと考えられる。しかしながら、ルートフラップが発生した場合は、例えば、図8において、AS3がAS1とAS2からBGP経路更新メッセージを受信する場合、そのBGP経路更新メッセージの受信タイミングや観測点へのメッセージ送信タイミングにより、観測点で同じイベント内に同一経路が観測される場合が考えられる。ここで同一経路とは、BGP経路更新メッセージ内に含まれる情報(ASパス、MED値、Community値)が全て同じメッセージのことをいう。なお、図8は、イベント内の同一経路について説明するために引用した概念図である。
On the other hand, when the interval between the previous event and the last BGP route update message is larger than Rs (step S604 “YES”), in the BGP route update message received from a certain connection destination, the same AS path in the event, It is determined whether or not there is a route having an attribute (step S605 in FIG. 7). The intention of this determination will be described below.
In the case of normal route fluctuation, it is considered that the same route does not appear repeatedly in the event. However, when a route flap occurs, for example, in FIG. 8, when AS 3 receives a BGP route update message from AS 1 and AS 2, an observation is made depending on the reception timing of the BGP route update message and the message transmission timing to the observation point. It can be considered that the same route is observed in the same event at a point. Here, the same route refers to a message having the same information (AS path, MED value, Community value) included in the BGP route update message. FIG. 8 is a conceptual diagram quoted for explaining the same route in the event.

説明を、図6、図7のフローチャートに戻す。ステップ605の処理において、イベント内に同じASパス、属性を持つ経路が存在しない場合(ステップS605“NO”)、前のイベントはルートフラップによるイベントではないと判定し、判定処理を終了する(ステップS614)。   The description returns to the flowcharts of FIGS. If there is no route having the same AS path and attribute in the event in the process of step 605 (step S605 “NO”), it is determined that the previous event is not an event due to a route flap, and the determination process is terminated (step S605). S614).

一方、イベント内に同じASパス、属性を持つ経路が存在する場合には(ステップS605“YES”)、次に、全ての接続先から最後にWithdrawを受信しているか否かを判定する(ステップS606)。上記のように、プレフィックス生成元でルートフラップが発生した場合、経路上でルートフラップダンピングが実行されているとすれば、接続先からのイベントの最後のメッセージはWithdrawとなる。また、例えば、図9に示す接続先#2のように、あるイベントにおいて接続先からメッセージを全く受信しなかった場合は、直前のイベントにおける最後の受信メッセージを参照し、それがWithdrawであれば本条件を満たすものと考える。なお、図9は、メッセージ間隔、イベント間隔を説明するために引用した概念図である。   On the other hand, if a route having the same AS path and attribute exists in the event (step S605 “YES”), it is next determined whether or not Withdraw has been received last from all connection destinations (step S605). S606). As described above, when a route flap occurs at the prefix generation source, if the route flap damping is executed on the route, the last message of the event from the connection destination is Withdraw. Also, for example, when no message is received from the connection destination in a certain event as in connection # 2 shown in FIG. 9, the last received message in the immediately preceding event is referred to, and if it is Withdraw It is considered that this condition is satisfied. FIG. 9 is a conceptual diagram quoted for explaining message intervals and event intervals.

このことから、経路変動判定部35は、全ての接続先から最後にWithdrawを受信しているか否かを判定し(ステップS606)、ここで、YESの場合、イベントは、プレフィックス生成元でのルートフラップによるイベントであると判定する(ステップS612)。また、経路変動判定部35は、少なくとも一つの接続先から最後にWithdrawを受信しているか否かを判定し(ステップS607)、ここで、YESの場合、イベントは、経路途中でのルートフラップによるイベントであると判定し(ステップS613)、一方、全ての接続先から最後にAnnounceを受信している場合は(ステップS607“NO”)、ルートフラップによるイベントではないと判定する(ステップS614)。   From this, the path variation determination unit 35 determines whether or not Withdraw is received last from all the connection destinations (step S606). Here, in the case of YES, the event is the route at the prefix generation source. It is determined that the event is due to a flap (step S612). Further, the route fluctuation determination unit 35 determines whether or not Withdraw is received last from at least one connection destination (step S607). Here, in the case of YES, the event is due to a route flap in the middle of the route. It is determined that the event is an event (step S613). On the other hand, if Announce is finally received from all connection destinations ("NO" in step S607), it is determined that the event is not a route flap event (step S614).

なお、参考として、図10に、プレフィックス生成元でのルートフラップによるイベントの場合のBGP経路更新メッセージのパターン例を示し、また、図11に、経路途中でのルートフラップによるイベントの場合のBGP経路更新メッセージのパターン例を、また、図12に、ルートフラップイベントではない場合のBGP経路更新メッセージのパターン例をそれぞれ示す。図10、図11、図12に示す例では、4つの接続先(IPアドレスは、10.0.0.1、10.0.0.2、10.0.0.3、10.0.0.4)とBGP接続を行い、BGP経路更新メッセージを受信している場合を示している。   For reference, FIG. 10 shows a pattern example of a BGP route update message in the event of a route flap at the prefix generation source, and FIG. 11 shows a BGP route in the event of a route flap in the middle of the route. FIG. 12 shows a pattern example of an update message, and FIG. 12 shows a pattern example of a BGP route update message when it is not a route flap event. In the example shown in FIGS. 10, 11, and 12, BGP connection is made with four connection destinations (IP addresses are 10.0.0.1, 10.0.0.2, 10.0.0.3, 10.0.0.4), and a BGP route update message is received. It shows the case.

説明を、図6、図7に示すフローチャートに戻す。新規のBGP経路更新メッセージが到着しない場合においては(図6のステップS601“NO”)、前のイベントの最後のBGP経路更新メッセージとの間隔を参照し(ステップS611)、それが閾値Rs以下の場合は(ステップS611“NO”)、ここではルートフラップ判定は行わない。一方、閾値Rsよりも大きい場合には(ステップS611“YES”)、ある接続先から受信したBGP経路更新メッセージにおいて、イベント内に同じASパス、属性を持つ経路が存在するか否かを判定する(ステップS605)。以降の処理は上記と同様であるため、その説明を省略する。   The description returns to the flowcharts shown in FIGS. When a new BGP route update message does not arrive (step S601 “NO” in FIG. 6), the interval between the previous event and the last BGP route update message is referred to (step S611), which is equal to or less than the threshold value Rs. In this case (step S611 “NO”), the route flap determination is not performed here. On the other hand, if it is larger than the threshold value Rs (step S611 “YES”), it is determined whether there is a route having the same AS path and attribute in the event in the BGP route update message received from a certain connection destination. (Step S605). Since the subsequent processing is the same as described above, the description thereof is omitted.

最後に、経路変動判定部35は、ルートフラップと判定されたイベントであるBGP経路更新メッセージ群をファイル出力部36に出力する。ファイル出力部36は、ルートフラップと判定されたイベントについて必要な情報を抽出し、BGP経路変動ログ42として保存する。ここで、抽出し、保持する情報は、図13に示されるように、プレフィックス、ルートフラップの発生場所、イベントの開始時刻、終了時刻、継続時間、イベントに含まれるメッセージ数、等が考えられる。   Finally, the route fluctuation determination unit 35 outputs a BGP route update message group, which is an event determined as a route flap, to the file output unit 36. The file output unit 36 extracts information necessary for the event determined to be the route flap and stores it as the BGP route fluctuation log 42. Here, as shown in FIG. 13, information extracted and held includes a prefix, a location where a route flap occurs, an event start time, an end time, a duration, the number of messages included in the event, and the like.

上述したように、本実施形態によれば、単一のBGPルータからではなく、複数のBGPルータから受信したBGP経路更新メッセージから、ルートフラップ発生時の特徴的なメッセージパターンを抽出することにより、ルートフラップ発生の有無や発生場所を特定し、また、ルートフラップ発生時のBGP経路更新メッセージの受信パターンを抽出し、保存する。
このことにより、ルートフラップ発生の有無や発生場所を特定することができ、また、ルートフラップ発生時のBGP経路更新メッセージの受信パターンの特性を把握することができる。したがって、インターネット経路制御における不安定経路を特定することで、その経路の生成元への連絡と対処を迅速に行うことが可能となり、インターネット経路制御の安定化維持に貢献することができる。
As described above, according to the present embodiment, by extracting a characteristic message pattern at the time of occurrence of a route flap from a BGP route update message received from a plurality of BGP routers instead of from a single BGP router, The presence or absence and occurrence location of the route flap are specified, and the reception pattern of the BGP route update message when the route flap occurs is extracted and stored.
This makes it possible to specify whether or not a route flap has occurred, and to determine the location of the occurrence, and to understand the characteristics of the reception pattern of the BGP route update message when the route flap occurs. Therefore, by specifying an unstable route in Internet route control, it is possible to quickly contact and deal with the origin of the route, and contribute to maintaining stable Internet route control.

なお、本実施形態において、経路変動判定部35が、参照し、判定し、特定する機能は、いずれも経路変動判定装置30がハードウェアとして持つ演算装置が実行するものであり、また、ファイル格納部34により生成されるファイル、および、BGP経路更新メッセージダンプファイル41、BGP経路変動ログ42は、ともに記憶装置に割り当てられ格納されるものである。ここでは、演算装置、記憶装置とも図示省略してある。   In the present embodiment, the functions that the path variation determination unit 35 refers to, determines, and specifies are all executed by the arithmetic unit that the path variation determination apparatus 30 has as hardware, and is stored in a file. The file generated by the unit 34, the BGP route update message dump file 41, and the BGP route fluctuation log 42 are all assigned to and stored in a storage device. Here, both the arithmetic unit and the storage device are not shown.

また、図3に示す経路変動判定装置30の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより、経路変動判定処理を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものであってもよい。
また、「コンピュータシステム」は、WWWシステムを利用している場合であれば、ホームページ提供環境(あるいは表示環境)も含むものとする。
また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、フラッシュメモリ等の書き込み可能な不揮発性メモリ、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。
Further, by recording a program for realizing the function of the path variation determination device 30 shown in FIG. 3 on a computer-readable recording medium, causing the computer system to read and execute the program recorded on the recording medium. The route variation determination process may be performed. Here, the “computer system” may include an OS and hardware such as peripheral devices.
Further, the “computer system” includes a homepage providing environment (or display environment) if a WWW system is used.
The “computer-readable recording medium” means a flexible disk, a magneto-optical disk, a ROM, a writable nonvolatile memory such as a flash memory, a portable medium such as a CD-ROM, a hard disk built in a computer system, etc. This is a storage device.

さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムが送信された場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリ(例えばDRAM(Dynamic Random Access Memory))のように、一定時間プログラムを保持しているものも含むものとする。
また、上記プログラムは、このプログラムを記憶装置等に格納したコンピュータシステムから、伝送媒体を介して、あるいは、伝送媒体中の伝送波により他のコンピュータシステムに伝送されてもよい。ここで、プログラムを伝送する「伝送媒体」は、インターネット等のネットワーク(通信網)や電話回線等の通信回線(通信線)のように情報を伝送する機能を有する媒体のことをいう。
また、上記プログラムは、前述した機能の一部を実現するためのものであっても良い。さらに、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であっても良い。
Further, the “computer-readable recording medium” means a volatile memory (for example, DRAM (Dynamic DRAM) in a computer system that becomes a server or a client when a program is transmitted through a network such as the Internet or a communication line such as a telephone line. Random Access Memory)), etc., which hold programs for a certain period of time.
The program may be transmitted from a computer system storing the program in a storage device or the like to another computer system via a transmission medium or by a transmission wave in the transmission medium. Here, the “transmission medium” for transmitting the program refers to a medium having a function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line.
The program may be for realizing a part of the functions described above. Furthermore, what can implement | achieve the function mentioned above in combination with the program already recorded on the computer system, and what is called a difference file (difference program) may be sufficient.

以上、本発明の実施形態を図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、本発明の要旨を逸脱しない範囲の設計変更等も含まれる。   The embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to this embodiment, and includes design changes and the like within a scope not departing from the gist of the present invention.

ルートフラップが発生した場合におけるBGP経路更新メッセージの伝達モデルについて説明するために引用した図である。It is the figure quoted in order to demonstrate the transmission model of a BGP path | route update message when a route flap generate | occur | produces. ルートフラップが発生した場合におけるBGP経路更新メッセージの伝達モデルについて説明するために引用した図である。It is the figure quoted in order to demonstrate the transmission model of a BGP path | route update message when a route flap generate | occur | produces. 本発明の一実施形態による経路変動判定装置30の構成を示すブロック図である。It is a block diagram which shows the structure of the path | route fluctuation | variation determination apparatus 30 by one Embodiment of this invention. MRTフォーマットで表されるBGP経路更新メッセージの一例を示す図である。It is a figure which shows an example of the BGP path | route update message represented with a MRT format. 図3に示す経路変動判定装置30により生成されるメッセージファイルの一例を示す図である。It is a figure which shows an example of the message file produced | generated by the path | route fluctuation | variation determination apparatus 30 shown in FIG. 本発明の一実施形態に係る経路変動判定処理の流れ示すフローチャートである。It is a flowchart which shows the flow of the route fluctuation | variation determination process which concerns on one Embodiment of this invention. 本発明の一実施形態に係る経路変動判定処理の流れ示すフローチャートである。It is a flowchart which shows the flow of the route fluctuation | variation determination process which concerns on one Embodiment of this invention. 本発明の一実施形態に係る経路変動判定処理を説明するために引用した図であり、イベント内の同一経路を表した図である。It is the figure quoted in order to demonstrate the path | route fluctuation | variation determination process which concerns on one Embodiment of this invention, and is the figure showing the same path | route in an event. 本発明の一実施形態に係る経路変動判定処理を説明するために引用した図であり、メッセージ間隔、イベント間隔を表した図である。It is the figure quoted in order to demonstrate the route fluctuation | variation determination process which concerns on one Embodiment of this invention, and is a figure showing the message interval and the event interval. 本発明の一実施形態に係るBGP経路更新メッセージのパターンの一例を示す図である。It is a figure which shows an example of the pattern of the BGP path | route update message which concerns on one Embodiment of this invention. 本発明の一実施形態に係るBGP経路更新メッセージのパターンの一例を示す図である。It is a figure which shows an example of the pattern of the BGP path | route update message which concerns on one Embodiment of this invention. 本発明の一実施形態に係るBGP経路更新メッセージのパターンの一例を示す図である。It is a figure which shows an example of the pattern of the BGP path | route update message which concerns on one Embodiment of this invention. 図3に示す経路変動判定装置30により生成されるBGP経路変動ログのデータ構造の一例を示す図である。It is a figure which shows an example of the data structure of the BGP path | route fluctuation log produced | generated by the path | route fluctuation | variation determination apparatus 30 shown in FIG. ネットワーク構成をAS単位で表現した図である。It is the figure which expressed the network configuration in AS unit. ルートフラップダンピングにおけるペナルティの変化を説明するために引用した図である。It is the figure quoted in order to demonstrate the change of the penalty in route flap damping. BGP経路更新メッセージがAS間を伝搬するにつれ、メッセージ数が増加する様子を説明するために引用した図である。It is the figure quoted in order to demonstrate a mode that the number of messages increases as a BGP path | route update message propagates between AS.

符号の説明Explanation of symbols

30…経路変動判定装置、31…メッセージ取得部A、32…メッセージ取得部B、33…メッセージ処理部、34…ファイル格納部、35…経路変動判定部、36…ファイル出力部、40…BGPルータ、41…BGP経路更新メッセージダンプファイル、42…BGP経路変動ログ

DESCRIPTION OF SYMBOLS 30 ... Path | route fluctuation | variation determination apparatus, 31 ... Message acquisition part A, 32 ... Message acquisition part B, 33 ... Message processing part, 34 ... File storage part, 35 ... Path | route fluctuation determination part, 36 ... File output part, 40 ... BGP router 41 ... BGP route update message dump file, 42 ... BGP route fluctuation log

Claims (10)

独立した管理単位であるAS(Autonomous System)が結合して構成されるネットワークシステムにおいて、ある特定のプレフィックスに関してルートフラップが発生しているか否かを判定する経路変動判定装置であって、
観測点の前記ASに隣接する複数のBGP(Border Gateway Protocol)ルータから、BGP経路更新メッセージを取得するメッセージ取得部と、
前記取得した複数のBGP経路更新メッセージからルートフラップ発生時の特徴的なメッセージパターンを抽出し、前記ある特定のプレフィックスに関してルートフラップが発生しているか否かを判定する経路変動判定部と、
を備えたことを特徴とする経路変動判定装置。
In a network system configured by combining ASs (Autonomous Systems) that are independent management units, a path variation determination device that determines whether or not a route flap has occurred with respect to a specific prefix,
A message acquisition unit for acquiring a BGP route update message from a plurality of BGP (Border Gateway Protocol) routers adjacent to the AS at the observation point;
A route fluctuation determining unit that extracts a characteristic message pattern at the time of occurrence of a route flap from the plurality of obtained BGP route update messages, and determines whether or not a route flap has occurred with respect to the specific prefix;
A path fluctuation judging device comprising:
前記経路変動判定部は、
前記ある特定のプレフィックスにルートフラップが発生していると判定したとき、前記ルートフラップの発生場所を特定することを特徴とする請求項1に記載の経路変動判定装置。
The route fluctuation determination unit
2. The route variation determination device according to claim 1, wherein when it is determined that a route flap has occurred in the specific prefix, the route flap generation location is specified.
前記メッセージ取得部は、
前記複数のBGPルータと接続を行い、それぞれのBGPルータからBGP経路更新メッセージを受信することを特徴とする請求項1に記載の経路変動判定装置。
The message acquisition unit
2. The path variation determination device according to claim 1, wherein the apparatus is connected to the plurality of BGP routers and receives a BGP path update message from each of the BGP routers.
前記メッセージ取得部は、
あらかじめ前記複数のBGPルータから取得されファイルに格納されているBGP経路更新メッセージを、取得することを特徴とする請求項1に記載の経路変動判定装置。
The message acquisition unit
2. The route fluctuation determination device according to claim 1, wherein a BGP route update message obtained in advance from the plurality of BGP routers and stored in a file is obtained.
前記取得したBGP経路更新メッセージをプレフィックス毎に分類し、少なくとも、時間と経路の属性に関する情報を抽出して前記経路変動判定部へ出力するか、若しくは前記プレフィックス毎に少なくとも時間と経路の属性に関する情報を持つ一つのBGP経路更新メッセージファイルを生成し保存するメッセージ処理部、
を更に備えたことを特徴とする請求項1から4のいずれかの項に記載の経路変動判定装置。
The obtained BGP route update message is classified for each prefix, and at least information related to time and route attributes is extracted and output to the route variation determination unit, or information related to at least time and route attributes for each prefix. A message processing unit for generating and storing one BGP route update message file having
5. The path variation determination device according to claim 1, further comprising:
前記経路変動判定部は、
前記BGP経路更新メッセージを新たに取得したとき、前に取得したBGP経路更新メッセージとの間隔により、該新たに取得したBGP経路更新メッセージが、前記複数のBGPルータから受信したBGP経路更新メッセージを時系列に並べた場合の時間的に所定の条件を満たすメッセージ群をグルーピングしたイベントに属するか否かを判定し、
前記イベントに属さないと判定したとき、前記イベントの最後に取得したBGP経路更新メッセージとの間隔が所定の値以下の場合に関連イベントと判定し、前記所定の値を越えた場合、更に、ある接続先から受信したBGP経路更新メッセージにおいて、前記イベント内に同じ属性を持つ経路が存在するか否かを判定し、存在しないときに、前記イベントはルートフラップよるイベントでないと判定することを特徴とする請求項1または2に記載の経路変動判定装置。
The route fluctuation determination unit
When the BGP route update message is newly acquired, the newly acquired BGP route update message may receive the BGP route update message received from the plurality of BGP routers according to the interval with the previously acquired BGP route update message. Determine whether it belongs to the event that grouped the message group that satisfies the predetermined condition in time when arranged in the series,
When it is determined that it does not belong to the event, it is determined as a related event when the interval with the BGP route update message acquired at the end of the event is equal to or smaller than a predetermined value. In the BGP route update message received from the connection destination, it is determined whether or not a route having the same attribute exists in the event, and when the route does not exist, it is determined that the event is not an event due to a route flap. The path | route fluctuation | variation determination apparatus of Claim 1 or 2 to do.
前記経路変動判定部は、
前記イベント内に同じ属性を持つ経路が存在する場合、全ての接続先BGPルータから最後にWithdrawを受信するイベントは、そのプレフィックスの生成元でのルートフラップによるイベントであると判定することを特徴とする請求項6に記載の経路変動判定装置。
The route fluctuation determination unit
When there is a route having the same attribute in the event, it is determined that an event that finally receives Withdraw from all connection destination BGP routers is an event due to a route flap at a source of the prefix. The path | route fluctuation | variation determination apparatus of Claim 6.
前記経路変動判定部は、
前記イベント内に同じ属性を持つ経路が存在する場合、少なくとも一つの接続先BGPルータから最後にWithdrawを受信するイベントは、経路途中でのルートフラップによるイベントであると判定することを特徴とする請求項6に記載の経路変動判定装置。
The route fluctuation determination unit
When a route having the same attribute exists in the event, it is determined that an event that finally receives Withdraw from at least one connected BGP router is an event due to a route flap in the middle of the route. Item 7. The path variation determination device according to Item 6.
前記経路変動判定部は、
ルートフラップによるイベントであると判定された前記イベントについて、前記関連するBGP経路更新メッセージからルートフラップ発生時の特徴的なメッセージパターンを抽出し、その結果をログとして保存することを特徴とする請求項7又は8に記載の経路変動判定装置。
The route fluctuation determination unit
A characteristic message pattern at the time of occurrence of a route flap is extracted from the related BGP route update message for the event determined to be an event due to a route flap, and the result is stored as a log. The path fluctuation determination device according to 7 or 8.
独立した管理単位であるAS(Autonomous System)が結合して構成されるネットワークシステムにおいて、ある特定のプレフィックスに関してルートフラップが発生しているか否かを判定する経路変動判定処理を行うためのコンピュータプログラムであって、
観測点の前記ASに隣接する複数のBGP(Border Gateway Protocol)ルータから、BGP経路更新メッセージを取得する機能と、
前記取得した複数のBGP経路更新メッセージからルートフラップ発生時の特徴的なメッセージパターンを抽出し、前記ある特定のプレフィックスに関してルートフラップが発生しているか否かを判定する機能と、
をコンピュータに実現させることを特徴とするコンピュータプログラム。


A computer program for performing path variation determination processing for determining whether or not a route flap has occurred with respect to a specific prefix in a network system configured by combining AS (Autonomous System) as independent management units There,
A function of acquiring a BGP route update message from a plurality of BGP (Border Gateway Protocol) routers adjacent to the AS at the observation point;
A function of extracting a characteristic message pattern at the time of occurrence of a route flap from the obtained plurality of BGP route update messages and determining whether or not a route flap has occurred with respect to the specific prefix;
A computer program for causing a computer to realize the above.


JP2006061792A 2006-03-07 2006-03-07 Route variation determining device and computer program Pending JP2007243489A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006061792A JP2007243489A (en) 2006-03-07 2006-03-07 Route variation determining device and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006061792A JP2007243489A (en) 2006-03-07 2006-03-07 Route variation determining device and computer program

Publications (1)

Publication Number Publication Date
JP2007243489A true JP2007243489A (en) 2007-09-20

Family

ID=38588593

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006061792A Pending JP2007243489A (en) 2006-03-07 2006-03-07 Route variation determining device and computer program

Country Status (1)

Country Link
JP (1) JP2007243489A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009239645A (en) * 2008-03-27 2009-10-15 Nomura Research Institute Ltd Route flapping preventing apparatus and route flapping preventing router
JP2010183526A (en) * 2009-02-09 2010-08-19 Kddi Corp Route control method based on route control protocol using link availability rate, node device and program
JP2011109587A (en) * 2009-11-20 2011-06-02 Nippon Telegr & Teleph Corp <Ntt> Device, method, and system for monitoring bgp traffic variation
JP2018500828A (en) * 2014-12-18 2018-01-11 ノキア ソリューションズ アンド ネットワークス オサケユキチュア Reliable routing between communication network systems

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009239645A (en) * 2008-03-27 2009-10-15 Nomura Research Institute Ltd Route flapping preventing apparatus and route flapping preventing router
JP2010183526A (en) * 2009-02-09 2010-08-19 Kddi Corp Route control method based on route control protocol using link availability rate, node device and program
JP2011109587A (en) * 2009-11-20 2011-06-02 Nippon Telegr & Teleph Corp <Ntt> Device, method, and system for monitoring bgp traffic variation
JP2018500828A (en) * 2014-12-18 2018-01-11 ノキア ソリューションズ アンド ネットワークス オサケユキチュア Reliable routing between communication network systems

Similar Documents

Publication Publication Date Title
US11716202B2 (en) Techniques for secure blockchain routing
US9584398B2 (en) Methods and apparatus to utilize route parameter sets for exchanging routes in a communication network
US6567380B1 (en) Technique for selective routing updates
US8265058B2 (en) Method and an apparatus for route selection in routing protocols
US7411963B2 (en) Method for dissemination of non-routing information using the IS-IS protocol
US8817798B2 (en) Constraining topology size and recursively calculating routes in large networks
US20080253306A1 (en) Distributed routing table architecture and design
JP6313140B2 (en) Communication device and multi-hopping network
US20150146525A1 (en) Transfer apparatus, server, and route changing method
JP2007243489A (en) Route variation determining device and computer program
CN112929269A (en) Distributed generation method and device for source address verification table between internet domains
EP2991288B1 (en) Method and device for determining next hop and distributing routing information
CN107872383B (en) Parameter notification method, parameter acquisition method and parameter acquisition device
JP2009199394A (en) Software update management system, device, manager program and agent program
JP2008054211A (en) Routing method, apparatus and program
Fu et al. Formal modeling and analysis of ad hoc Zone Routing Protocol in Event-B
CN107347034B (en) Link information processing method, device and system
JP4365869B2 (en) ROUTE INFORMATION CHANGE METHOD, ROUTE INFORMATION CHANGE DEVICE, AND ROUTE INFORMATION CHANGE PROGRAM
EP1673901B1 (en) Method and apparatus for generating routing information in a data communications network
CN108965120B (en) Route notification method, device, communication equipment and storage medium
JP2002152252A (en) Path calculation device and path calculation method used therefor, and recording medium with its control program recorded
JP2008054129A (en) Functionally distributed communication apparatus, and route control method
CN111865786B (en) Method and apparatus for propagating link markers
CN107070787A (en) A kind of default route cancelling method and device
JP4365868B2 (en) Route information generation / advertisement method, route information generation / advertisement apparatus, and route information generation / advertisement program

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20071016

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20071016