JP2011055334A - Bgp failure location estimating method and apparatus - Google Patents

Bgp failure location estimating method and apparatus Download PDF

Info

Publication number
JP2011055334A
JP2011055334A JP2009203597A JP2009203597A JP2011055334A JP 2011055334 A JP2011055334 A JP 2011055334A JP 2009203597 A JP2009203597 A JP 2009203597A JP 2009203597 A JP2009203597 A JP 2009203597A JP 2011055334 A JP2011055334 A JP 2011055334A
Authority
JP
Japan
Prior art keywords
prefixes
bgp
link
path
failure
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.)
Granted
Application number
JP2009203597A
Other languages
Japanese (ja)
Other versions
JP5170778B2 (en
Inventor
Masafumi Watari
雅史 渡里
Tokuo Tachibana
篤男 立花
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 JP2009203597A priority Critical patent/JP5170778B2/en
Publication of JP2011055334A publication Critical patent/JP2011055334A/en
Application granted granted Critical
Publication of JP5170778B2 publication Critical patent/JP5170778B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a BGP (Border Gateway Protocol) failure location estimating method and an apparatus therefor, which accurately estimate a failure location based on variation in the number of prefixes via each AS (Autonomous System) link in a BGP network. <P>SOLUTION: In the BGP failure location estimating apparatus, a BGP message receiving section 11 receives a BGP Update message announced from each AS. An AS path extracting section 12 extracts an AS path from the BGP Update message. An optimal path calculating section 13 calculates an optimal path from the AS to another AS based on the AS path extracted, and registers the calculated path on a path table 14 as path information. A prefix calculation section 15 includes An extracting section 15a for extracting an AS link of each AS path, and a prefix selecting part 15b for calculating the number of prefixes for each AS link extracted only for prefixes starting with one AS to another AS, and calculates the total number of prefixes on each AS link. A failure location estimating section 16 estimates a failure location based on a result of calculating the total number of prefixes. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、BGPネットワークを対象に各AS間のリンクを通過する経路数(プレフィックス)の変動に基づいて障害箇所を推定するBGP障害箇所推定方法および装置に関する   The present invention relates to a BGP fault location estimation method and apparatus for estimating a fault location based on a change in the number of paths (prefix) passing through a link between ASs for a BGP network.

現在のインターネットは、各組織が保有・運用する小規模な自律ネットワークシステム(AS:Autonomous System)を単位としたドメインの集合であり、各ドメインは特定の他のドメインとBGP(Border Gateway Protocol)を用いたピアリングを行うことで相互に接続されている。   The current Internet is a collection of domains based on a small autonomous network (AS) owned and operated by each organization. Each domain has a BGP (Border Gateway Protocol) with a specific other domain. They are connected to each other by performing peering.

BGPネットワークでは、各ASのルータがRIBと呼ばれる経路表を内部で管理しており、BGPにより互いの経路情報を交換して経路表を構築し、この経路表に基づいて、所定のネットワーク宛にデータを転送するときの最適経路が決定される。経路情報は、宛先アドレスの集合であるプレフィックス(IPアドレスとサブネットマスクのビット数との組)とパス属性とを含んで構成され、プレフィックスが経路と表現されることもある。   In the BGP network, each AS router internally manages a routing table called RIB. The routing table is constructed by exchanging each other's routing information by BGP, and based on this routing table, it is addressed to a predetermined network. The optimum route for transferring data is determined. The route information includes a prefix (a combination of an IP address and the number of bits of the subnet mask) that is a set of destination addresses and a path attribute, and the prefix may be expressed as a route.

ある宛先アドレスが経路表に登録されていれば、その経路表によって該当ルータからその宛先アドレスへの経路(ASパス)が存在し、パケットが到達可能であることが示される。経路情報は、BGP経路更新メッセージ(BGP Updateメッセージ)に記述されて定期的に広報され、各ASのルータは、受信したBGP Updateメッセージに記述されているASパスを抽出し、これに基づいて自身の経路表を更新する。   If a certain destination address is registered in the route table, the route table indicates that a route (AS path) from the corresponding router to the destination address exists and the packet is reachable. The route information is described in a BGP route update message (BGP Update message) and periodically publicized. The router of each AS extracts the AS path described in the received BGP Update message, and based on this, it extracts itself. Update the routing table.

非特許文献1,2には、BGPネットワーク上で観測されるBGP Updateメッセージから各AS間リンクを通過するプレフィックス数(経路数)を算出し、プレフィックス数の増減から障害箇所を推定する障害箇所推定手法が開示されている。   Non-Patent Documents 1 and 2 calculate the number of prefixes (number of routes) that pass through each AS link from the BGP Update message observed on the BGP network, and estimate the failure location from the increase or decrease in the number of prefixes. A technique is disclosed.

M. Lad, R. Oliveira, D. Massey, L. Zhang, Inferring the Origin of Routing Changes using Link Weights, IEEE ICNP 2007.M. Lad, R. Oliveira, D. Massey, L. Zhang, Inferring the Origin of Routing Changes using Link Weights, IEEE ICNP 2007. A. Campisano, L. Cittadini, G. Di Battista, T. Refice, C. Sasso, Tracking back the root cause of a path change in interdomain routing, IEEE Network Operations and Management Symposium, 2008.A. Campisano, L. Cittadini, G. Di Battista, T. Refice, C. Sasso, Tracking back the root cause of a path change in interdomain routing, IEEE Network Operations and Management Symposium, 2008.

上記の従来技術では、以下に詳述するように、障害箇所を正確に推定することができなかった。図16は、BGPネットワークの一例を示した図であり、ここでは、BGPネットワークが7つのAS(AS10〜AS70)で構成され、AS10がリンク障害の観測点であるものとして説明する。なお、各ASに付された符号pは各ASが広報するBGP Updateメッセージに記述されるプレフィックスを示しており、その一覧を図17に示す。   In the above prior art, as will be described in detail below, the fault location cannot be accurately estimated. FIG. 16 is a diagram illustrating an example of a BGP network. Here, a description will be given assuming that the BGP network is configured by seven ASs (AS10 to AS70), and AS10 is an observation point of a link failure. In addition, the code | symbol p attached | subjected to each AS has shown the prefix described in the BGP Update message which each AS publicize | reports, The list | wrist is shown in FIG.

観測点のAS10では、自身が受信したBGP Updateメッセージに基づいて、図18に一例を示した経路表が作成され、さらに、この経路表に基づいて各AS間リンクのプレフィックス数が集計され、図19に一例を示したリンク別プレフィックス集計表が生成される。このリンク別プレフィックス集計表では、例えばリンクL10-20を通るプレフィックス(経路)数が「10」であり、リンクL20-30を通るプレフィックス(経路)数が「1」であることを示している。   In the observation point AS10, a route table shown in FIG. 18 is created based on the BGP Update message received by itself, and the number of prefixes for each inter-AS link is aggregated based on this route table. A link-specific prefix tabulation table, an example of which is shown in FIG. 19, is generated. In this link-specific prefix tabulation table, for example, the number of prefixes (routes) passing through the link L10-20 is “10”, and the number of prefixes (routes) passing through the link L20-30 is “1”.

ここで、図20に示したようにAS40とAS60との間のリンク(以下、L40-60と表現する場合もある)で障害が発生し、BGP Updateメッセージが交換されると、AS10からAS60,AS70へ至る経路はAS50を中継するようになるので、観測点のAS10では経路表が図21に示したように再構築され、これに応じてリンク別プレフィックス集計表も図22のように更新される。   Here, as shown in FIG. 20, when a failure occurs in the link between AS40 and AS60 (hereinafter also referred to as L40-60) and the BGP Update message is exchanged, AS10 to AS60, Since the route to AS70 is relayed by AS50, the route table is reconstructed as shown in FIG. 21 at AS10 of the observation point, and accordingly, the prefix table for each link is updated as shown in FIG. The

図23は、障害発生前のリンク別プレフィックス集計表(図19)と障害発生後のリンク別プレフィックス集計表(図22)とを比較した図であり、プレフィックス数の減少が、障害発生リンクL40-60のみならず障害の発生していないリンクL20-40でも認められる。したがって、プレフィックス数の減少だけでは障害発生リンクを識別することができない。   FIG. 23 is a diagram comparing the link-specific prefix tabulation table before failure (FIG. 19) and the link-specific prefix tabulation table after failure (FIG. 22). Not only for link 60 but also for link L20-40 where no failure has occurred. Therefore, the failure link cannot be identified only by reducing the number of prefixes.

本発明の目的は、上記した従来技術の課題を解決し、BGPネットワークにおいて、各AS間リンクを経由するプレフィックス数の変動に基づいて障害箇所を正確に推定できるBGP障害箇所推定方法および装置を提供することにある。   An object of the present invention is to solve the above-described problems of the prior art and provide a BGP failure location estimation method and apparatus capable of accurately estimating a failure location based on fluctuations in the number of prefixes that pass through each AS link in a BGP network. There is to do.

上記の目的を達成するために、本発明は、BGPネットワーク上で障害箇所を推定するBGP障害箇所推定装置において、以下のような手段を講じた点に特徴がある。   In order to achieve the above object, the present invention is characterized in that the following measures are taken in a BGP fault location estimation apparatus that estimates a fault location on a BGP network.

(1)BGPネットワーク上の各ASからBGPメッセージを受信する手段と、受信したBGPメッセージからASパスを抽出する手段と、抽出されたASパスに基づいて各AS間リンクのプレフィックス数を集計する手段と、障害発生の前後に集計されたプレフィックス数をAS間リンクごとに比較して障害箇所を推定する手段とを具備し、プレフィックス数を集計する手段は、各AS間リンクに関して集計するプレフィックス数を、一方のASを広報元として他方のASを経由するプレフィックスに限ることを特徴とする。   (1) Means for receiving BGP messages from each AS on the BGP network, means for extracting AS paths from the received BGP messages, and means for counting the number of prefixes for each AS link based on the extracted AS paths And means for estimating the location of the failure by comparing the number of prefixes collected before and after the occurrence of the failure for each inter-AS link. It is characterized in that it is limited to prefixes that use one AS as a public information source and the other AS.

(2)観測点のASについて、その経路表および当該経路表が構築された以降に当該ASが受信したBGPメッセージを所定のBGP管理ノードから取得する手段と、取得した経路表に基づいて各AS間リンクのプレフィックス数を集計する手段と、取得したBGPメッセージからASパスを抽出する手段と、抽出されたASパスに基づいて前記プレフィックス数の集計結果を更新する手段と、更新前後のプレフィックス数をAS間リンクごとに比較して障害箇所を推定する手段とを具備し、プレフィックス数を集計する手段は、各AS間リンクに関して集計するプレフィックス数を、一方のASを広報元として他方のASを経由するプレフィックスに限ることを特徴とする。   (2) For the AS at the observation point, the route table and means for acquiring the BGP message received by the AS after the route table was constructed from a predetermined BGP management node, and each AS based on the acquired route table Means for counting the number of prefixes of the interlink, means for extracting the AS path from the acquired BGP message, means for updating the count result of the number of prefixes based on the extracted AS path, and the number of prefixes before and after the update. Comparing each inter-AS link with a means for estimating the location of failure, and the means for counting the number of prefixes is based on the number of prefixes to be counted for each inter-AS link via one AS It is limited to the prefix to be used.

(3)各ASパスの利用時間を計測する手段を具備し、障害箇所を推定する手段は、利用時間が所定の基準時間を超えるASパスのAS間リンクを対象にプレフィックス数を比較して障害箇所を推定することを特徴とする。   (3) A means for measuring the usage time of each AS path is provided, and the means for estimating the fault location is a fault by comparing the number of prefixes between AS paths of AS paths whose usage time exceeds a predetermined reference time. The point is estimated.

本発明によれば、以下のような効果が達成される。   According to the present invention, the following effects are achieved.

(1)各AS間リンクのプレフィックス数を集計する際、障害が発生したAS間リンクにおけるプレフィックス数の変動が、それ以外のAS間リンクよりも大きくなるようにしたので、障害箇所を簡単かつ正確に推定できるようになる。   (1) When counting the number of prefixes for each inter-AS link, the fluctuation in the number of prefixes in the inter-AS link where the failure occurred is larger than other inter-AS links, so the location of the failure can be easily and accurately Can be estimated.

(2)観察点の経路情報および当該観察点が受信したBGPメッセージを所定のBGP管理ノードから取得し、これらに基づいて各AS間リンクのプレフィックス数を集計するようにしたので、BGPネットワークに接続されていない障害箇所推定装置でもBGPネットワークの障害箇所を推定できるようになる。   (2) Route information of the observation point and the BGP message received by the observation point are obtained from the specified BGP management node, and based on these, the number of prefixes of each inter-AS link is aggregated, so it connects to the BGP network It is possible to estimate a fault location of a BGP network even with a fault location estimation device that is not used.

(3)各AS間リンクのプレフィックス数の集計結果を比較して障害箇所を推定する際、利用時間の短いASパスのリンクを対象外としたので、一つの障害に対して経路更新が繰り返される場合でも障害箇所を簡単かつ正確に推定できるようになる。   (3) When estimating the failure location by comparing the count results of the number of prefixes between each AS link, the AS path link with a short usage time is excluded, so the route update is repeated for one failure. Even in this case, it becomes possible to easily and accurately estimate the fault location.

本発明が適用されるBGPネットワークの構成を示した図である。It is the figure which showed the structure of the BGP network to which this invention is applied. 本発明の第1実施形態に係る障害箇所推定装置のブロック図である。1 is a block diagram of a failure location estimation apparatus according to a first embodiment of the present invention. 障害発生前のリンク別プレフィックス集計表の一例を示した図である。It is the figure which showed an example of the prefix summary table according to link before failure generation. 障害発生後のリンク別プレフィックス集計表の一例を示した図である。It is the figure which showed an example of the prefix total table according to a link after failure occurrence. 障害発生前後のリンク別プレフィックス集計表を比較した図である。It is the figure which compared the prefix summary table according to link before and after failure occurrence. 本発明の第1実施形態の動作を示したフローチャートである。It is the flowchart which showed the operation | movement of 1st Embodiment of this invention. 障害発生後にASリンクが更新される様子を示した図である。It is the figure which showed a mode that AS link was updated after failure occurrence. 障害発生後にASリンクが更新される様子を時系列で示した図である。It is the figure which showed a mode that AS link was updated after failure occurrence in time series. 時刻T1,T4で最適経路(A)が確立されているときの経路表を示した図である。FIG. 6 is a diagram showing a route table when an optimum route (A) is established at times T1 and T4. 時刻T2で代替経路(B)が確立されているときの経路表を示した図である。FIG. 6 is a diagram showing a route table when an alternative route (B) is established at time T2. 時刻T3で代替経路(C)が確立されているときの経路表を示した図である。FIG. 6 is a diagram showing a route table when an alternative route (C) is established at time T3. 障害発生後に各ASリンクのプレフィックス数が変動する様子を示した図である。It is the figure which showed a mode that the number of prefixes of each AS link fluctuates after failure occurrence. 本発明の第2実施形態に係る障害箇所推定装置のブロック図である。It is a block diagram of the failure location estimation apparatus which concerns on 2nd Embodiment of this invention. ASパスの利用時間に関する計測結果を示した図である。It is the figure which showed the measurement result regarding the utilization time of AS path. 障害箇所推定装置を専用ノードとして配置する実施例の図である。It is a figure of the Example which arrange | positions a failure location estimation apparatus as a dedicated node. BGPネットワークの構成を示した図である。It is the figure which showed the structure of the BGP network. 各ASから広報されるプレフィックスを一覧表示した図である。It is the figure which displayed the prefix publicized from each AS as a list. 障害発生前のネットワークトポロジにおける経路表を示した図である。It is the figure which showed the routing table in the network topology before failure occurrence. 従来技術における障害発生前のリンク別プレフィックス集計表を示した図である。It is the figure which showed the prefix summary table according to link before the failure generation in a prior art. 障害発生後のネットワークトポロジを示した図である。It is the figure which showed the network topology after a failure occurrence. 障害発生後のネットワークトポロジにおける経路表を示した図である。It is the figure which showed the routing table in the network topology after failure occurrence. 従来技術における障害発生後のリンク別プレフィックス集計表を示した図である。It is the figure which showed the prefix total table according to a link after the failure generation in a prior art. 障害発生前後のリンク別プレフィックス集計表を比較した図である。It is the figure which compared the prefix summary table according to link before and after failure occurrence.

以下、図面を参照して本発明の実施の形態について詳細に説明する。図1は、本発明が適用されるBGPネットワークの主要部の構成を示した図であり、前記と同一の符号は同一または同等部分を表している。本実施形態では、各AS間リンクのプレフィックス数を障害発生の前後で比較し、比較結果に基づいて障害箇所を推定する障害箇所推定装置1が観測点のAS10に実装されている。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a diagram showing a configuration of a main part of a BGP network to which the present invention is applied. The same reference numerals as those described above represent the same or equivalent parts. In this embodiment, a failure location estimation apparatus 1 that compares the number of prefixes of each inter-AS link before and after the occurrence of a failure and estimates a failure location based on the comparison result is installed in the observation point AS 10.

図2は、本発明の第1実施形態に係る障害箇所推定装置1の構成を示したブロック図である。BGPメッセージ受信部11は、BGPネットワーク上の各ASから広報されるBGP Updateメッセージを受信する。ASパス抽出部12は、BGP UpdateメッセージからASパスを抽出する。最適経路計算部13は、抽出されたASパスに基づいて自ASから他のASへ至る最適経路を計算し、これを経路情報として経路表14に登録する。   FIG. 2 is a block diagram showing the configuration of the failure location estimation apparatus 1 according to the first embodiment of the present invention. The BGP message receiving unit 11 receives a BGP Update message broadcast from each AS on the BGP network. The AS path extraction unit 12 extracts an AS path from the BGP Update message. The optimum route calculation unit 13 calculates the optimum route from the self AS to another AS based on the extracted AS path, and registers this as route information in the route table 14.

プレフィックス集計部15は、各ASパスのAS間リンクを抽出するAS間リンク抽出部15a、および抽出された各AS間リンクに関して集計するプレフィックス数を、一方のASを広報元として他方のASを経由するプレフィックスに限定するプレフィックス選別部15bを具備し、各AS間リンクのプレフィックス数を集計する。   The prefix totaling unit 15 extracts the inter-AS link of each AS path 15a, and the number of prefixes to be totaled for each extracted inter-AS link, using one AS as a public information source and passing through the other AS And a prefix selection unit 15b that limits the number of prefixes for each AS link.

図3は、障害発生前のネットワークトポロジ(図1)において前記プレフィックス集計部15により集計された各AS間リンクのプレフィックス数を示した図である。図4は、前記図20と同様にリンクL40-60で障害が発生した後のネットワークトポロジにおいて前記プレフィックス集計部15により集計された各AS間リンクのプレフィックス数を示した図である。   FIG. 3 is a diagram showing the number of prefixes of each AS link aggregated by the prefix aggregation unit 15 in the network topology (FIG. 1) before the failure occurs. FIG. 4 is a diagram showing the number of prefixes of each inter-AS link aggregated by the prefix aggregation unit 15 in the network topology after a failure has occurred in the link L40-60 as in FIG.

本実施形態では、各AS間リンクのプレフィックス数を集計する際に、前記プレフィックス選別部15bにより、観測点に近い側をASj、観測点に遠い側をASkとしたとき、集計対象が「ASkが広報元であり、かつASjを経由するプレフィックス」に限定される。したがって、図1に示した障害発生前のトポロジであれば、図3に示したように、例えばリンクL40-60であれば、従来技術では集計対象であったプレフィックスp7が、その広報元はAS70であってAS60ではないので本実施形態では集計対象とされない。同様に、リンクL10-20,リンクL20-30,リンクL20-40,リンクL20-50,リンクL60-70のプレフィックス数も、各リンクLの観測点から遠い側のAS20,AS30,AS40,AS50およびAS70を広報元とするp2,p3,p4,p5,p7の各1つのみとなる。また、リンクL40-60のプレフィックス数は、AS60を広報元とするp6,p10,p11,p12,p13の5つとなる。   In the present embodiment, when the number of prefixes for each AS link is counted, the prefix selection unit 15b sets the side closer to the observation point as ASj and the side far from the observation point as ASk. Limited to prefixes that are publicity sources and via ASj. Therefore, in the topology before the failure shown in FIG. 1, as shown in FIG. 3, for example, in the case of the link L40-60, the prefix p7, which was the subject of aggregation in the prior art, is the publicity source AS70. Since it is not AS60, it is not counted in this embodiment. Similarly, the number of prefixes of link L10-20, link L20-30, link L20-40, link L20-50, and link L60-70 is also the same as AS20, AS30, AS40, AS50 on the side far from the observation point of each link L. There is only one each of p2, p3, p4, p5, p7 with AS70 as the public relations source. Further, the number of prefixes of the link L40-60 is five, that is, p6, p10, p11, p12, and p13 having AS60 as a public information source.

これに対して、図20と同様にAS40とAS60との間のリンクL40-60で障害が発生し、BGP Updateメッセージが交換されると、AS10からAS40を経由してAS60,AS70へ至るASパスは削除され、AS10からAS50を経由してAS60,AS70へ至るASパスが追加される。したがって、観測点のAS10では、経路表14が前記図21に示した従来技術と同様に再構築される一方、リンク別プレフィックス集計表は図4のように更新される。   On the other hand, when a failure occurs in the link L40-60 between AS40 and AS60 and the BGP Update message is exchanged as in FIG. 20, the AS path from AS10 to AS60 and AS70 via AS40. Is deleted, and AS paths from AS10 to AS60 and AS70 via AS50 are added. Therefore, in the observation point AS10, the route table 14 is reconstructed in the same manner as the prior art shown in FIG. 21, while the link-specific prefix tabulation table is updated as shown in FIG.

図2へ戻り、以上のようにして障害発生前後のプレフィックス数の集計が完了すると、障害箇所推定部16では各集計結果が比較される。図5は、障害発生前後のリンク別プレフィックス集計表を比較した図であり、障害が発生したリンクL40-60のみでプレフィックス数が大きく減少している様子が確認できる。したがって、障害箇所推定部16はリンクL40-60を障害箇所と容易に推定できるようになる。   Returning to FIG. 2, when the aggregation of the number of prefixes before and after the occurrence of the failure is completed as described above, the failure location estimation unit 16 compares the aggregation results. FIG. 5 is a diagram comparing the link-specific prefix tabulation tables before and after the failure occurrence, and it can be confirmed that the number of prefixes is greatly reduced only in the link L40-60 in which the failure has occurred. Therefore, the failure location estimation unit 16 can easily estimate the link L40-60 as a failure location.

図6は、本実施形態における障害箇所の推定手順を示したフローチャートである。ステップS1では、現在の経路表14あるいはそれ以前の経路表とその後に受信したBGP Updateメッセージとに基づいて、現在のネットワークトポロジ(図1)に関するリンク別プレフィックス集計表が前記図3のように作成される。ステップS2においてBGP Updateメッセージの受信が検知されるとステップS3へ進み、当該BGP UpdateメッセージからASパスが抽出される。   FIG. 6 is a flowchart showing a procedure for estimating a fault location in the present embodiment. In step S1, a link-specific prefix tabulation table for the current network topology (FIG. 1) is created as shown in FIG. 3 on the basis of the current route table 14 or earlier and the BGP Update message received thereafter. Is done. When reception of the BGP Update message is detected in Step S2, the process proceeds to Step S3, and an AS path is extracted from the BGP Update message.

ステップS4では、抽出されたASパスに基づいて経路表14が更新される。すなわち、BGP Updateメッセージが"Withdraw(経路取消)"であれば、広報されたASパスが削除される一方、"Announce(経路通知)"であれば、広報されたASパスが追加される。ステップS5では、抽出されたASパスがリンク別プレフィックス数の集計対象であるか否かが前記プレフィックス選別部15bにより判別される。集計対象であればステップS6へ進み、リンク別プレフィックス集計表が更新される。ステップS7では、前記障害箇所推定部16において更新前後のリンク別プレフィックス集計表が比較される。ステップS8では、前記比較結果に基づいて障害箇所が推定される。   In step S4, the route table 14 is updated based on the extracted AS path. That is, if the BGP Update message is “Withdraw”, the advertised AS path is deleted, while if “Announce (route notification)”, the advertised AS path is added. In step S5, the prefix selection unit 15b determines whether or not the extracted AS path is a target for counting the number of prefixes by link. If so, the process proceeds to step S6, where the link-specific prefix tabulation table is updated. In step S7, the fault location estimation unit 16 compares the link-specific prefix tabulation tables before and after the update. In step S8, a fault location is estimated based on the comparison result.

ところで、上記の第1実施形態のように、BGP Updateメッセージの受信毎にプレフィックス数を集計すると、通常は使用しないリンクも障害箇所の推定対象となり、障害箇所ではないAS間リンクが障害箇所と誤認されてしまうことがある。   By the way, as in the first embodiment, when the number of prefixes is counted every time a BGP Update message is received, links that are not normally used are also subject to failure location estimation, and an inter-AS link that is not a failure location is misidentified as a failure location. It may be done.

例えば、図7に示したBGPネットワークにおいて、図8に示したように、AS70からAS10へ至る最適なASパス[10 20 40 60 70]が時刻T1で観測されているとき、観測点のAS10では、図9に示した経路表が作成されている。ここで、時刻T2でAS間リンクL40-60に障害が発生すると、初めにAS40からAS20およびAS30の双方に対して、プレフィックスp6,p7,p10,p11,p12,p13の記述されたWithdrawメッセージが送信される。AS20は、このWithdrawメッセージをAS40から先に受信するため、AS30経由でAS70への到達性を確保できると判断する。そして、図7,8に示したように、AS10に対して新たなASパス[20 30 40 60 70]の記述されたAnnounceメッセージを広報し、その結果、AS10の経路表14が図10のように変化して代替形路(B)が確立されてしまう。   For example, in the BGP network shown in FIG. 7, when the optimum AS path [10 20 40 60 70] from AS 70 to AS 10 is observed at time T1, as shown in FIG. The route table shown in FIG. 9 is created. Here, when a failure occurs in the inter-AS link L40-60 at time T2, the Withdraw message with prefixes p6, p7, p10, p11, p12, and p13 is first written from AS40 to both AS20 and AS30. Sent. Since AS20 receives this Withdraw message first from AS40, it determines that reachability to AS70 can be secured via AS30. As shown in FIGS. 7 and 8, the Announce message in which the new AS path [20 30 40 60 70] is described is advertised to AS 10, and as a result, the routing table 14 of AS 10 is as shown in FIG. And the alternative path (B) is established.

しかしながら、AS20は時刻T3において、今度はAS30からもWithdrawメッセージを受信するため、図7,8に示したように、AS10に対して今度はAS50を経由する新たなASパス[20 50 60 70]の記述されたAnnounceメッセージを広報し、その結果、AS10の経路表14が図11のように変化して新たな代替形路(C)が確立されてしまう。   However, since AS20 receives the Withdraw message from AS30 at time T3, as shown in FIGS. 7 and 8, a new AS path is now sent to AS10 via AS50 [20 50 60 70]. As a result, the route table 14 of the AS 10 changes as shown in FIG. 11 and a new alternative route (C) is established.

さらに、時刻T4においてリンクL40-60が復旧すると、AS40はAS20に対して、ASパス「40 60 70」の記述されたAnnounceメッセージを広報するため、AS20はAS10に対して新たなASパス「20 40 60 70」の記述されたAnnounceメッセージを広報する。その結果、AS10の経路表14は前記図9の状態に戻る。   Furthermore, when link L40-60 is restored at time T4, AS40 advertises an Announce message in which AS path “40 60 70” is described to AS20, and AS20 then sends a new AS path “20 to AS10. Publicize the Announce message described in “40 60 70”. As a result, the route table 14 of the AS 10 returns to the state shown in FIG.

このように、一つの障害に対して経路更新が繰り返されると、各ASリンクにおけるプレフィックス数の集計結果が図12に示したように遷移する。その結果、障害箇所ではないリンクL50-60でもプレフィックス数の減少が観測されてしまい、当該リンクL50-60が障害箇所と誤認される場合がある。   As described above, when the route update is repeated for one failure, the total number of prefixes in each AS link changes as shown in FIG. As a result, a decrease in the number of prefixes is observed even in the link L50-60 that is not the failure location, and the link L50-60 may be mistaken for the failure location.

本発明の第2実施形態では、このような技術課題を解決すべく、各ASパスの利用時間を観察し、利用時間の少ないASパスを集計対象から外し、利用時間の多い現用系のASパスのみを集計対象とした点に特徴がある。   In the second embodiment of the present invention, in order to solve such a technical problem, the usage time of each AS path is observed, the AS paths having a low usage time are excluded from the aggregation target, and the active AS paths having a high usage time are excluded. There is a feature in that only the target of aggregation.

図13は、本発明の第2実施形態に係る障害箇所推定装置1の構成を示したブロック図であり、前記と同一の符号は同一または同等部分を表している。本実施形態では、経路表14に登録されているASパスごとに利用時間を計測し、計測結果を障害箇所推定部16へ通知する利用時間計測部17を設け、障害箇所推定部16は、各AS間リンクのプレフィックス数を比較する際に、利用時間が所定の基準時間を下回るASパスのリンクを参照対象から外し、利用時間が所定の基準時間を上回るASパスのリンクについてのみ、障害発生前後におけるプレフィックス数の変化を参照して障害箇所を推定するようにした点に特徴がある。   FIG. 13 is a block diagram showing the configuration of the failure location estimation apparatus 1 according to the second embodiment of the present invention, where the same reference numerals as those described above represent the same or equivalent parts. In the present embodiment, a usage time measurement unit 17 that measures the usage time for each AS path registered in the route table 14 and notifies the fault location estimation unit 16 of the measurement result is provided. When comparing the number of prefixes between AS links, the AS path link whose usage time is less than the specified reference time is excluded from the reference target, and only for the AS path link whose usage time exceeds the specified reference time, before and after the failure The failure point is estimated by referring to the change in the number of prefixes.

図14は、AS70へのパスとして観測した各ASパスの利用時間の計測結果の一例を示した図であり、ASパス[10 20 40 60 70]の利用時間が240時間であるのに対して、他の二つのASパスは0.1時間および1時間であり、利用時間が極端に短くなっている。したがって、本実施形態ではASパス[10 20 40 60 70]が重要経路とされる。その結果、4つのAS間リンクL10-20,L20-40L40-60、L60-70のみが比較対象とされ、他のAS間リンク(例えば、AS間リンクL50-60)は比較対象とされない。したがって、プレフィックス数の減少数が唯一大きいAS間リンクL40-60が障害箇所と推定される。   FIG. 14 is a diagram showing an example of a measurement result of the usage time of each AS path observed as a path to the AS 70, whereas the usage time of the AS path [10 20 40 60 70] is 240 hours. The other two AS paths are 0.1 hour and 1 hour, and the usage time is extremely short. Therefore, in this embodiment, the AS path [10 20 40 60 70] is an important route. As a result, only the four inter-AS links L10-20, L20-40L40-60, and L60-70 are compared, and the other inter-AS links (for example, the inter-AS link L50-60) are not compared. Therefore, it is estimated that the inter-AS link L40-60 having the largest decrease in the number of prefixes is the failure location.

なお、上記の各実施形態では、本発明の障害箇所推定装置1を観測点のASに実装し、障害箇所をほぼリアルタイムで推定するものとして説明したが、本発明はこれのみに限定されるものではなく、図15に示したように、障害箇所推定装置1を専用ノードとして配置してもよい。この場合、障害箇所推定装置1は、多数のASとEBGP(External BGP)接続を行って各ASが送信するBGP経路更新メッセージを収集し、BGP経路表を定期的に公開しているRIPE [http://www.ripe.net/]やRouteViews [http://www.ripe.net/]から経路表およびBGPメッセージを別途に取得し、これらに基づいて障害発生前後の各AS間リンクのプレフィックス数の集計して障害発生箇所を推定する。   In each of the above-described embodiments, the fault location estimation apparatus 1 of the present invention is mounted on the observation point AS and the fault location is estimated almost in real time. However, the present invention is not limited to this. Instead, as shown in FIG. 15, the failure location estimation apparatus 1 may be arranged as a dedicated node. In this case, the failure location estimating apparatus 1 performs an EBGP (External BGP) connection with a large number of ASs, collects BGP route update messages transmitted by each AS, and periodically releases a BGP route table [http Obtain the routing table and BGP message separately from: //www.ripe.net/] and RouteViews [http://www.ripe.net/], and based on these, the prefix of each AS link before and after the failure occurs The number of faults is estimated by counting the numbers.

11…BGPメッセージ受信部,12…ASパス抽出部,13…最適経路計算部,14…経路表,15…プレフィックス集計部,15a…AS間リンク抽出部,15b…プレフィックス選別部,16…障害箇所推定部,17…利用時間計測部   DESCRIPTION OF SYMBOLS 11 ... BGP message receiving part, 12 ... AS path extraction part, 13 ... Optimum route calculation part, 14 ... Route table, 15 ... Prefix totaling part, 15a ... Inter-AS link extraction part, 15b ... Prefix selection part, 16 ... Fault location Estimating unit, 17 ... Usage time measuring unit

Claims (6)

BGPネットワーク上で障害箇所を推定するBGP障害箇所推定装置において、
BGPネットワーク上の各ASからBGPメッセージを受信する手段と、
受信したBGPメッセージからASパスを抽出する手段と、
抽出されたASパスに基づいて各AS間リンクのプレフィックス数を集計する手段と、
障害発生の前後に集計されたプレフィックス数をAS間リンクごとに比較して障害箇所を推定する手段とを具備し、
前記プレフィックス数を集計する手段は、各AS間リンクに関して集計するプレフィックス数を、一方のASを広報元として他方のASを経由するプレフィックスに限ることを特徴とするBGP障害箇所推定装置。
In the BGP fault location estimation device that estimates the fault location on the BGP network,
Means for receiving BGP messages from each AS on the BGP network;
Means for extracting the AS path from the received BGP message;
A means for aggregating the number of prefixes of each inter-AS link based on the extracted AS path;
A means for comparing the number of prefixes counted before and after the occurrence of a failure for each link between ASs and estimating the location of the failure,
The BGP fault location estimation apparatus characterized in that the means for counting the number of prefixes limits the number of prefixes to be counted for each inter-AS link to prefixes that use one AS as a public information source and pass through the other AS.
BGPネットワークの障害箇所を推定するBGP障害箇所推定装置において、
観測点のASについて、その経路表および当該経路表が構築された以降に当該ASが受信したBGPメッセージを所定のBGP管理ノードから取得する手段と、
取得した経路表に基づいて各AS間リンクのプレフィックス数を集計する手段と、
取得したBGPメッセージからASパスを抽出する手段と、
抽出されたASパスに基づいて前記プレフィックス数の集計結果を更新する手段と、
更新前後のプレフィックス数をAS間リンクごとに比較して障害箇所を推定する手段とを具備し、
前記プレフィックス数を集計する手段は、各AS間リンクに関して集計するプレフィックス数を、一方のASを広報元として他方のASを経由するプレフィックスに限ることを特徴とするBGP障害箇所推定装置。
In the BGP fault location estimation device that estimates the fault location of the BGP network,
With respect to the AS of the observation point, means for acquiring from the predetermined BGP management node the BGP message received by the AS after the routing table and the routing table are constructed;
A means of counting the number of prefixes for each AS link based on the acquired routing table;
Means for extracting the AS path from the obtained BGP message;
Means for updating the total number of prefixes based on the extracted AS path;
Comparing the number of prefixes before and after update for each AS link, and estimating the failure location,
The BGP fault location estimation apparatus characterized in that the means for counting the number of prefixes limits the number of prefixes to be counted for each inter-AS link to prefixes that use one AS as a public information source and pass through the other AS.
前記プレフィックス数を集計する手段は、一方のASを経由して他方のASを経由するプレフィックスを集計しない特徴とする請求項1または2に記載のBGP障害箇所推定装置。   The BGP fault location estimation apparatus according to claim 1 or 2, wherein the means for counting the number of prefixes does not count prefixes that pass through one AS and the other AS. 各ASパスの利用時間を計測する手段を具備し、
前記障害箇所を推定する手段は、利用時間が所定の基準時間を超えるASパスのAS間リンクを対象にプレフィックス数を比較して障害箇所を推定することを特徴とする請求項1ないし3のいずれかに記載のBGP障害箇所推定装置。
It has means to measure the usage time of each AS path,
The means for estimating a failure location estimates a failure location by comparing the number of prefixes for an AS link of AS paths whose usage time exceeds a predetermined reference time. The BGP fault location estimation device according to claim 1.
前記障害箇所を推定する手段は、利用時間が所定の基準時間を下回るASパスについて、そのAS間リンクのプレフィックス数を比較対象としないことを特徴とする請求項4に記載のBGP障害箇所推定装置。   The BGP failure location estimation apparatus according to claim 4, wherein the failure location estimation means does not compare the number of prefixes of the link between ASs for an AS path whose usage time is less than a predetermined reference time. . BGPネットワーク上で障害箇所を推定するBGP障害箇所推定方法において、
BGPネットワーク上の各ASからBGPメッセージを受信する手順と、
受信したBGPメッセージからASパスを抽出する手順と、
抽出されたASパスに基づいて各AS間リンクのプレフィックス数を集計する手順と、
障害発生の前後に集計されたプレフィックス数をAS間リンクごとに比較して障害箇所を推定する手順とを具備し、
前記プレフィックス数を集計する手順では、各AS間リンクに関して集計するプレフィックス数が、一方のASを広報元として他方のASを経由するプレフィックスに限られることを特徴とするBGP障害箇所推定方法。
In the BGP fault location estimation method that estimates the fault location on the BGP network,
Receiving BGP messages from each AS on the BGP network;
A procedure to extract the AS path from the received BGP message;
A procedure for aggregating the number of prefixes for each inter-AS link based on the extracted AS path;
A procedure for comparing the number of prefixes counted before and after the occurrence of a failure for each link between ASs and estimating the location of the failure,
In the procedure of counting the number of prefixes, a BGP failure location estimation method, wherein the number of prefixes to be counted for each inter-AS link is limited to prefixes that use one AS as a public information source and pass through the other AS.
JP2009203597A 2009-09-03 2009-09-03 BGP fault location estimation method and apparatus Expired - Fee Related JP5170778B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009203597A JP5170778B2 (en) 2009-09-03 2009-09-03 BGP fault location estimation method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009203597A JP5170778B2 (en) 2009-09-03 2009-09-03 BGP fault location estimation method and apparatus

Publications (2)

Publication Number Publication Date
JP2011055334A true JP2011055334A (en) 2011-03-17
JP5170778B2 JP5170778B2 (en) 2013-03-27

Family

ID=43943870

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009203597A Expired - Fee Related JP5170778B2 (en) 2009-09-03 2009-09-03 BGP fault location estimation method and apparatus

Country Status (1)

Country Link
JP (1) JP5170778B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011082943A (en) * 2009-09-08 2011-04-21 Kddi Corp Method, node device and program for real-time detection of failed link based upon route control protocol
JP2011166248A (en) * 2010-02-05 2011-08-25 Kddi Corp Method for detecting fault link based on path control protocol, node device and program
JP2012205156A (en) * 2011-03-25 2012-10-22 Kddi Corp Method, node device and program for detecting faulty link based on route control protocol
CN113225194A (en) * 2020-01-21 2021-08-06 华为技术有限公司 Routing abnormity detection method, device and system and computer storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006067286A (en) * 2004-08-27 2006-03-09 Kddi Corp Information generation device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006067286A (en) * 2004-08-27 2006-03-09 Kddi Corp Information generation device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JPN6012066559; Alessio Campisano: 'Tracking back the root cause of a path change in interdomain routing' Network Operations and Management Symposium, 2008. NOMS 2008. IEEE , 20080411, 441-448頁, IEEE *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011082943A (en) * 2009-09-08 2011-04-21 Kddi Corp Method, node device and program for real-time detection of failed link based upon route control protocol
JP2011166248A (en) * 2010-02-05 2011-08-25 Kddi Corp Method for detecting fault link based on path control protocol, node device and program
JP2012205156A (en) * 2011-03-25 2012-10-22 Kddi Corp Method, node device and program for detecting faulty link based on route control protocol
CN113225194A (en) * 2020-01-21 2021-08-06 华为技术有限公司 Routing abnormity detection method, device and system and computer storage medium

Also Published As

Publication number Publication date
JP5170778B2 (en) 2013-03-27

Similar Documents

Publication Publication Date Title
US7675861B2 (en) Active probe target management
JP5283192B2 (en) Method, node device, and program for detecting faulty link in real time based on routing protocol
JP5120784B2 (en) Method for estimating quality degradation points on a network in a communication network system
Fontugne et al. The (thin) bridges of as connectivity: Measuring dependency using as hegemony
KR101629533B1 (en) Ldp igp synchronization for broadcast networks
JP2009171194A (en) Packet sampling method, packet sampling device, and network monitoring device
JP5170778B2 (en) BGP fault location estimation method and apparatus
Marchetta et al. Quantifying and mitigating IGMP filtering in topology discovery
JP2010245866A (en) Communication route presumption program, method and computer
WO2011124178A2 (en) Fault detection method, route node and system
Ahmad et al. A tale of nine internet exchange points: Studying path latencies through major regional ixps
WO2016070483A1 (en) Ip address database inferring and filling method
JP2011244312A (en) Node device, optimal path determination method, and program
JP2024500161A (en) Optimized routes for time-critical traffic in mesh networks
JP2010161524A (en) Method for detecting failure link based on path control protocol, node device and program
JP4455285B2 (en) Route analyzer
JP5576837B2 (en) Route information update system and route information update method
JP5829183B2 (en) Method, node device, and program for detecting faulty node device or faulted link in real time based on routing protocol
JP5587232B2 (en) Method, node device, and program for detecting faulty link based on routing protocol
Lor et al. Recursive loop-free alternates for full protection against transient link failures
JP5274494B2 (en) Method, node device, and program for detecting faulty link based on routing protocol
US8659991B2 (en) Minimizing the number of not-via addresses
JP4906764B2 (en) Route loop detection apparatus, route loop detection method, and computer program
Alberro et al. BGP Control Plane Overhead in Fat-Trees: An Analytical Approach
Guo et al. Partial probing for scaling overlay routing

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120224

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121213

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121221

R150 Certificate of patent or registration of utility model

Ref document number: 5170778

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees