JP2008219187A - Route information changing method, route information changing device, and route information changing program - Google Patents

Route information changing method, route information changing device, and route information changing program Download PDF

Info

Publication number
JP2008219187A
JP2008219187A JP2007050628A JP2007050628A JP2008219187A JP 2008219187 A JP2008219187 A JP 2008219187A JP 2007050628 A JP2007050628 A JP 2007050628A JP 2007050628 A JP2007050628 A JP 2007050628A JP 2008219187 A JP2008219187 A JP 2008219187A
Authority
JP
Japan
Prior art keywords
route information
route
information
router
change
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
JP2007050628A
Other languages
Japanese (ja)
Other versions
JP4365869B2 (en
Inventor
Mitsuo Tawara
光穂 田原
Toshimitsu Oshima
利充 大島
Ritsu Kusaba
律 草場
Sohei Majima
宗平 馬島
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2007050628A priority Critical patent/JP4365869B2/en
Publication of JP2008219187A publication Critical patent/JP2008219187A/en
Application granted granted Critical
Publication of JP4365869B2 publication Critical patent/JP4365869B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To easily change route information to be advertised to a local AS and other ASs. <P>SOLUTION: A route information changing device 100 which gathers the route information of a router 10R is installed in an AS. When receiving a route information change request from the outside, the route information changing device 100 retrieves a route indicated in the route information changing request from a routing table in a storage unit. Then the property information of the retrieved route information is changed. For example, a community property is changed to NO-EXPORT. Further, the priority of the route information is made high and new route information is generated. Then the route information changing device 100 advertises the new route information to a router 10R in its AS and the router 10R advertises the new route information to other routers 10. Then the router 10 does not advertise the route information to other ASs based upon the community property NO-EXPORT of the route information. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、インターネットの経路情報変更技術に関する。   The present invention relates to Internet route information change technology.

インターネットは、ISP(商用プロバイダ、Internet Service Provider)や企業や大学等の異なる組織によって運営される1万以上のAS(自律システム、Autonomous System)が有機的に接続されたものである。このAS間は、専用線、あるいはIX(Internet eXchange)によって接続される。   The Internet is an organic connection of 10,000 or more ASs (autonomous systems) operated by ISPs (commercial providers, Internet service providers) and different organizations such as companies and universities. The ASs are connected by a dedicated line or IX (Internet eXchange).

ASのネットワーク接続装置(ルータ)は、BGP(Border Gateway Protocol)により、互いの経路情報を交換し、この交換した経路情報をもとに、所定のネットワーク宛にデータを転送するときの経路を決定する。この経路情報は、プレフィックスとパス属性とを含んで構成される。このプレフィックスとは経路とも言い、ネットワークアドレスとそのネットワークアドレスのネットマスク長(以下、経路長ともいう)により、宛先となるIP(Internet Protocol)アドレス空間を示した情報である。また、パス属性は経路情報に付加される当該経路の属性情報であり、例えば、ASパス属性等がある。このASパス属性は、宛先のASへ到達するまでに経由するASのAS番号のリストを示した情報である。   AS network connection device (router) exchanges each other's route information by BGP (Border Gateway Protocol), and determines the route for transferring data to a predetermined network based on the exchanged route information. To do. This route information includes a prefix and a path attribute. This prefix is also called a route, and is information indicating an IP (Internet Protocol) address space as a destination by a network address and a netmask length of the network address (hereinafter also referred to as a route length). The path attribute is attribute information of the route added to the route information, such as an AS path attribute. The AS path attribute is information indicating a list of AS numbers of ASs that are passed through to reach the destination AS.

BGPはパスベクトル型のルーティングプロトコルであり、あるASが広告した経路情報は、各ASをホップバイホップで伝播し、インターネット中に拡散する。例えば、この経路情報の伝播の過程で、各ASのルータは自ASのAS番号をASパス属性に追加していく。このように、各ASで経路情報のパス属性の操作や経路フィルタリング等を行うことで、各AS独自の運用ポリシーに基づいた経路制御を行なっている。   BGP is a path vector type routing protocol, and route information advertised by a certain AS propagates each AS hop-by-hop and spreads throughout the Internet. For example, in the process of propagation of this route information, each AS router adds the AS number of its own AS to the AS path attribute. In this way, path control based on each AS's own operation policy is performed by performing path attribute operations, path filtering, and the like in each AS.

しかし、BGPには伝播する経路情報の正当性を確認する機能がない。そのため、オペレータの設定ミスや悪意のある設定によって、いったん誤った経路情報が広告されると、インターネット全体にその誤った経路情報が伝播してしまう。   However, BGP does not have a function for confirming the correctness of propagation path information. Therefore, once incorrect route information is advertised due to an operator setting mistake or malicious setting, the incorrect route information is propagated to the entire Internet.

誤った経路情報の広告の具体的な例としては、経路ハイジャックがある。これはあるASが、ネットワークアドレス管理団体より正当に割り当てられたネットワークアドレスを経路広告しているところに、そのネットワークアドレスを割り当てられていないASがそのネットワークアドレスまたはその一部を経路広告することである。   A specific example of advertising incorrect route information is route hijacking. This is because a certain AS is advertising a route for a network address that is legitimately assigned by a network address management organization, and an AS that is not assigned a network address routes that network address or a part thereof. is there.

この経路ハイジャックが発生し、誤った経路情報がインターネット全体に伝播すると、本来、そのネットワークアドレスヘ転送すべきパケットは、その誤った経路情報を広告したASへ転送される。このため、そのネットワークアドレスが正当に割り当てられたASへの通信に障害が発生する。   When this route hijacking occurs and incorrect route information propagates throughout the Internet, the packet that should be transferred to the network address is transferred to the AS that advertised the incorrect route information. For this reason, a failure occurs in communication with the AS to which the network address is properly assigned.

この経路ハイジャックについて、図面を参照しながら詳細に説明する。図1は、経路ハイジャックを説明するために引用した図である。   This path hijack will be described in detail with reference to the drawings. FIG. 1 is a diagram cited for explaining the path hijacking.

ここでは、AS−A(AS番号「1000」)、AS−B(AS番号「2000」)、AS−C(AS番号「3000」)、AS−D(AS番号「4000」)およびAS−X(AS番号「5000」)のルータがそれぞれ、お互いの経路情報を交換し、経路表を作成する。例えば、AS−Aのルータは符号1001に示すような経路表を作成する。なお、ここでは図示を省略しているが、この経路表の経路情報は、前記したASパス属性等、様々なパス属性を含む。各ASのルータは、このようにして作成した経路表に基づきパケットの転送を行う。   Here, AS-A (AS number “1000”), AS-B (AS number “2000”), AS-C (AS number “3000”), AS-D (AS number “4000”) and AS-X Each router (AS number “5000”) exchanges route information with each other and creates a route table. For example, the AS-A router creates a routing table as indicated by reference numeral 1001. Although illustration is omitted here, the route information of this route table includes various path attributes such as the AS path attribute described above. Each AS router transfers packets based on the route table created in this way.

ここで、AS−Xのルータが、AS−Dの経路の一部を誤って広告すると、この経路の経路情報が到達したルータ(例えば、AS−Aのルータ)には、プレフィックス「10.4.128.0/17」のASパス属性は「2000 3000 5000」であるという情報が経路表に書き込まれる(符号1003に示すハイジャック経路参照)。   If the AS-X router advertises a part of the AS-D route by mistake, the prefix “10.4” is sent to the router (for example, the AS-A router) to which the route information of this route has arrived. The information that the AS path attribute of “.128.0 / 17” is “2000 3000 5000” is written in the route table (see the hijack route indicated by reference numeral 1003).

つまり、図1の符号1002に示す経路情報によれば、AS−Aから送信されたプレフィックス「10.4.128.0/17」宛のパケットは、本来、AS−Bを経由して、AS−Dへ転送されるべきところ、図1の符号1003に示すハイジャック経路が選択されると、AS−BからAS−Cを経由してAS−Xへ吸い込まれてしまい、AS−Dにパケットが届かないことになる。   In other words, according to the route information indicated by reference numeral 1002 in FIG. 1, the packet addressed to the prefix “10.418.0 / 17” transmitted from the AS-A is originally transmitted via the AS-B to the AS. -D, when the hijacking route indicated by reference numeral 1003 in FIG. 1 is selected, the AS-B is sucked into the AS-X via the AS-C, and the packet is sent to the AS-D. Will not arrive.

なお、各ASのルータがパケットを転送する場合において、符号1002に示す元の広告経路(「10.4.0.0/16」)ではなく、符号1003に示すハイジャック経路(「10.4.128.0/17」)を選択するのは、経路表に宛先アドレスを包含する経路が複数あるときに、ルータはよりネットマスク長の長い経路情報を選択する最長一致規則を用いているからである。   Note that when the router of each AS transfers a packet, it is not the original advertising route (“10.4.0.0/16”) indicated by reference numeral 1002, but the hijacking route (“10.4. .128.0 / 17 ") is selected because the router uses the longest match rule to select route information with a longer netmask length when there are multiple routes including the destination address in the route table. It is.

このような経路ハイジャックが発生したとき、被害を受けたAS−Dのオペレータ等はAS−Xのオペレータに依頼し、誤った経路情報(ハイジャック経路の経路情報)をこのAS−Xのルータから削除してもらうことが本格的な対処となる。しかし、AS−Xのオペレータへ連絡できない場合もあり、対処には時間を要することもある。   When such a path hijacking occurs, the damaged AS-D operator or the like asks the AS-X operator to send incorrect path information (hijack path path information) to this AS-X router. It will be a full-fledged deal to be deleted from. However, it may not be possible to contact the AS-X operator, and it may take time to deal with it.

そこで、自ASにおいて経路ハイジャックの発生を検知したとき、まずハイジャック経路の経路情報を他のASに伝播させないようにすることが重要である。このようにハイジャック経路の経路情報を他のASに伝播させないようにする技術として、以下の技術が提案されている。この技術を、図2を参照しながら説明する。   Therefore, when the occurrence of path hijacking is detected in the own AS, it is important to first prevent the path information of the hijack path from propagating to other ASs. As described above, the following technique has been proposed as a technique for preventing the route information of the hijack route from being propagated to other ASs. This technique will be described with reference to FIG.

図2は、従来技術を説明するために引用した図である。なお、この図2において、図1のAS−Aの記載は省略している。   FIG. 2 is a diagram cited for explaining the prior art. In FIG. 2, the description of AS-A in FIG. 1 is omitted.

図2に示すように、AS−Cは、4台のルータ10(10R,10A,10B,10C)を備える。また、AS−Bは、ルータ10Yを備え、AS−Dは、ルータ10Dを備える。さらに、AS−Xは、ルータ10Xを備える。   As shown in FIG. 2, AS-C includes four routers 10 (10R, 10A, 10B, 10C). The AS-B includes a router 10Y, and the AS-D includes a router 10D. Further, the AS-X includes a router 10X.

また、AS−Cのルータ10Rは、ルータ10A,10B,10Cと接続し、ルータ10Cは、AS−Cのルータ10Yと接続している。ルータ10Aは、AS−Xのルータ10Xと接続している。ルータ10Rは、経路情報を反射させるルートリフレクタであり、ルータ10A,10B,10CとiBGP(internal Border Gateway Protocol、内部BGP)セッションを張り、経路情報を交換している。ルータ10Cは、ルータ10RとのiBGPセッションに加えて、AS−Bのルータ10YとeBGP(external Border Gateway Protocol、外部BGP)セッションを張り、経路情報を交換している。また、ルータ10Aも、ルータ10RとのiBGPセッションに加えて、AS−Xのルータ10XとeBGPセッションを張り、経路情報を交換している。なお、ここでは説明を簡単にするためルータ10Rをルートリフレクタとして用いる構成としたが、このルータ10Rをルートリフレクタとして用いず、ルータ10R,10A,10B,10CがフルメッシュでiBGPセッションを張り、経路情報を交換するようにしてもよい。   The AS-C router 10R is connected to the routers 10A, 10B, and 10C, and the router 10C is connected to the AS-C router 10Y. The router 10A is connected to the AS-X router 10X. The router 10R is a route reflector that reflects route information, and establishes an iBGP (internal Border Gateway Protocol, internal BGP) session with the routers 10A, 10B, and 10C to exchange route information. In addition to the iBGP session with the router 10R, the router 10C establishes an eBGP (external Border Gateway Protocol, external BGP) session with the AS-B router 10Y to exchange route information. In addition to the iBGP session with the router 10R, the router 10A also establishes an eBGP session with the AS-X router 10X to exchange route information. Here, in order to simplify the explanation, the router 10R is used as a route reflector. However, the router 10R is not used as a route reflector, and the routers 10R, 10A, 10B, and 10C have a full mesh and establish an iBGP session. Information may be exchanged.

また、図2において、AS−Xのルータ10Xが、ハイジャック経路(例えば、「10.4.128.0/17」)の経路情報を、AS−Cのルータ10Aへ広告すると、この経路情報は、ルータ10A→ルータ10R→ルータ10Cという経路を辿り、AS−Bのルータ10Yへ到達する。   Further, in FIG. 2, when the AS-X router 10X advertises the route information of the hijack route (for example, “10.418.0 / 17”) to the AS-C router 10A, this route information. Follows the route of router 10A → router 10R → router 10C and reaches router 10Y of AS-B.

ここで、AS−Cのオペレータが、他のAS(例えば、AS−B)へハイジャック経路が拡散するのを防ぐには、このハイジャック経路の経路情報におけるコミュニティー属性に「NO−EXPORT」という情報を付与すればよい。このコミュニティー属性とは、経路情報の広告範囲を制限するための属性情報であり、RFC1997に規定されている。また、この「NO−EXPORT」とは「この経路情報を他のASへ広告しない」ことを示すコミュニティー属性の情報である。   Here, in order to prevent the AS-C operator from spreading the hijack route to other ASs (for example, AS-B), the community attribute in the route information of the hijack route is “NO-EXPORT”. Information only needs to be given. This community attribute is attribute information for limiting the advertising range of route information, and is defined in RFC1997. The “NO-EXPORT” is community attribute information indicating that this route information is not advertised to other ASs.

このようにコミュニティー属性に「NO−EXPORT」が付与された経路情報を受け取ったルータ10Cは、この経路情報を他のASのルータ(例えば、AS−Bのルータ10Y)に広告しない。これにより、AS−Bのルータ10Yは、このAS−Dから正しい経路情報であるプレフィクス「10.4.0.0/16」の経路情報の広告を受けると、この正しい経路情報に基づき経路制御を行う。   Thus, the router 10C that has received the route information with “NO-EXPORT” as the community attribute does not advertise this route information to other AS routers (for example, the AS-B router 10Y). As a result, when the AS-B router 10Y receives the advertisement of the route information of the prefix “10.4.0.0/16” which is the correct route information from the AS-D, the route based on the correct route information. Take control.

ここで、ハイジャック経路の広告を受けたAS(例えば、図2のAS−C)から他のASへハイジャック経路を拡散させないようにするためには、自AS内のルータのうち、そのハイジャック経路を受け取ったルータ(例えば、ルータ10A)においてコミュニティー属性に「NO−EXPORT」を付与する必要がある。つまり、当該ASのルータ10のうち、ハイジャック経路が最初に入ってくる入口のルータ10において、このハイジャック経路のコミュニティー属性に「NO−EXPORT」を付与する必要がある。これは、この入口以外のルータ(例えば、ルータ10C)で、ハイジャック経路のコミュニティー属性に「NO−EXPORT」を付与すれば、そのルータ10Cからつながる他のAS(例えば、AS−B)へハイジャック経路が拡散しないが、それ以外のルータ10(例えば、ルータ10B)から他のASへハイジャック経路が拡散してしまう可能性があるからである。ここで、例えば、ルータ10Cが、ハイジャック経路のコミュニティー属性に「NO−EXPORT」を付与した経路情報を、自AS内(AS−C内)のルータ10へ再度広告する方法も考えられる。しかし、BGPを実装したルータ10は、自AS内のルータ10からiBGPにより広告された経路情報を再度広告するとはできないため(非特許文献1参照)、このような方法をとることはできない。
サム・ハラビ他、「インターネットルーティングアーキテクチャ」、第2版、ソフトバンクパブリッシング、2001年8月22日、p142
Here, in order not to spread the hijacking route from the AS (for example, AS-C in FIG. 2) that has received the advertisement of the hijacking route to other ASs, among the routers in the own AS. It is necessary to assign “NO-EXPORT” to the community attribute in the router (for example, router 10A) that has received the jack route. In other words, among the AS routers 10, it is necessary to assign “NO-EXPORT” to the community attribute of the hijack route at the entrance router 10 where the hijack route enters first. This is because if a router other than the entrance (for example, the router 10C) adds “NO-EXPORT” to the community attribute of the hijack route, it is high to another AS (for example, AS-B) connected from the router 10C. This is because the jack path does not spread, but there is a possibility that the hijack path may spread from other routers 10 (for example, the router 10B) to other ASs. Here, for example, a method in which the router 10C advertises again the route information in which “NO-EXPORT” is added to the community attribute of the hijack route to the router 10 in its own AS (in AS-C) is also conceivable. However, since the router 10 equipped with BGP cannot advertise again the route information advertised by iBGP from the router 10 in its own AS (see Non-Patent Document 1), it cannot take such a method.
Sam Harabi et al., “Internet Routing Architecture”, 2nd edition, Softbank Publishing, August 22, 2001, p142

このように、他のASから広告された経路情報を変更し、その変更後の経路情報を自ASから繋がる他のASへ伝播させるためには、その他のASから経路情報を受信したルータ(入口のルータ)を特定し、この特定したルータにおいて経路情報の変更を行う必要がある。しかし、AS内に多数のルータが存在する場合、その経路情報の変更を行うルータの特定が難しく、経路情報の変更に時間がかかるという問題があった。   In this way, in order to change the route information advertised from other ASs and propagate the changed route information to other ASs connected from the own AS, the router (entrance) that has received the route information from other ASs. Router) and the routing information needs to be changed in the identified router. However, when there are a large number of routers in the AS, there is a problem that it is difficult to specify a router for changing the route information, and it takes time to change the route information.

本発明は、前記した問題を解決し、自ASおよび他のASへ広告する経路情報の変更を容易にする手段を提供することを目的とする。   An object of the present invention is to solve the above-described problems and to provide means for facilitating change of route information advertised to the own AS and other ASs.

前記した課題を解決するため請求項1に記載の発明は、BGP(Border Gateway Protocol)により交換される経路情報を変更する経路情報変更方法であって、前記経路情報を交換する経路情報処理装置に接続される経路情報変更装置が、前記経路情報処理装置の保持する経路情報を取得し、当該経路情報変更装置の記憶部の経路情報を更新するステップと、変更対象の経路のプレフィックスと、その変更対象の経路の属性情報の変更内容を示した経路情報変更依頼を受信するステップと、この経路情報変更依頼に示されるプレフィックスの経路情報を、前記記憶部の経路情報から検索するステップと、前記受信した経路情報変更依頼に基づき、前記検索した経路情報の属性情報を変更し、この属性情報を変更した経路情報における優先度を、前記検索した経路情報よりも高く設定した経路情報を生成するステップと、前記生成した経路情報を、前記経路情報処理装置へ広告するステップとを実行することを特徴とする経路情報変更方法とした。   In order to solve the above-mentioned problem, the invention according to claim 1 is a route information changing method for changing route information exchanged by BGP (Border Gateway Protocol), and is provided in a route information processing device for exchanging the route information. The connected route information change device acquires route information held by the route information processing device, updates the route information in the storage unit of the route information change device, the prefix of the route to be changed, and the change A step of receiving a route information change request indicating change contents of attribute information of the target route, a step of searching the route information of the prefix indicated in the route information change request from the route information of the storage unit, and the reception Based on the route information change request, the attribute information of the searched route information is changed, and the priority in the route information whose attribute information is changed is determined as the priority. Generating a route path information is set higher than the information, the generated route information, and the route information change method characterized by performing a step of advertising to the route information processing apparatus.

請求項4に記載の発明は、BGP(Border Gateway Protocol)により交換される経路情報を交換する経路情報処理装置に接続される経路情報変更装置であって、前記経路情報処理装置の保持する経路情報を記憶する記憶部と、データの入出力を司る入出力部と、前記経路情報処理装置の保持する経路情報を取得し、当該経路情報変更装置の記憶部の経路情報を更新する経路情報収集部と、前記変更対象の経路のプレフィックスと、その変更対象の経路の属性情報の変更内容を示した経路情報変更依頼を受信したとき、この経路情報変更依頼に示されるプレフィックスの経路情報を、前記記憶部の経路情報から検索し、前記経路情報変更依頼に基づき、前記検索した経路情報の属性情報を変更し、この属性情報を変更した経路情報における優先度を、前記検索した経路情報よりも高く設定した経路情報を生成し、前記生成した経路情報を、前記経路情報処理装置へ広告する経路情報生成部とを備えることを特徴とする経路情報変更装置とした。   The invention according to claim 4 is a route information changing device connected to a route information processing device for exchanging route information exchanged by BGP (Border Gateway Protocol), the route information held by the route information processing device. A path information collection unit that acquires path information held by the path information processing apparatus and updates path information in the storage unit of the path information change apparatus And the route information of the prefix indicated in the route information change request when the route information change request indicating the change contents of the attribute information of the route to be changed and the attribute information of the change target route is received. Search from the route information of the part, based on the route information change request, change the attribute information of the searched route information, the priority in the route information changed this attribute information, Generates route information set higher than the serial search route information, the generated route information, and the route information changing device, characterized in that it comprises a path information generation unit for advertising to the routing information processing apparatus.

このように、経路情報処理装置とは別に経路情報変更装置を設け、この経路情報変更装置が経路情報処理装置の経路情報を収集して、記憶部に記憶しておく。そして、この経路情報変更装置が、経路情報変更依頼を受信すると、自身の記憶部からこの変更依頼の対象である経路情報を検索する。次に、経路情報変更装置は、この検索した経路情報における属性情報を変更し、その経路情報の優先度(例えば、ローカルプレフ(Local_Pref)属性の値)を、前記検索した経路情報よりも高くした経路情報を生成し、各経路情報処理装置へ広告する。このような経路情報を受信した各経路情報処理装置は、例えば、同じ経路に関する経路情報を受信したとしても、優先度の高い経路情報を選択し、その経路情報を広告する。これにより、他のASから広告された経路情報を変更して自ASおよび他のASへ広告するとき、その経路情報の変更を行う経路情報処理装置を特定する必要がなくなる。つまり、自ASおよび他のASへ広告する経路情報の変更にかかる手間を低減できる。   In this way, the route information change device is provided separately from the route information processing device, and the route information change device collects the route information of the route information processing device and stores it in the storage unit. When the route information change device receives the route information change request, the route information change device retrieves the route information that is the subject of the change request from its own storage unit. Next, the route information changing device changes the attribute information in the searched route information, and the priority of the route information (for example, the value of the local prefix (Local_Pref) attribute) is higher than that of the searched route information. Route information is generated and advertised to each route information processing device. Each route information processing apparatus that has received such route information selects route information with a high priority and advertises the route information even if route information related to the same route is received, for example. Thus, when the route information advertised from another AS is changed and advertised to the local AS and the other AS, it is not necessary to specify a route information processing apparatus that changes the route information. That is, it is possible to reduce time and effort required for changing the route information advertised to the own AS and other AS.

請求項2に記載の発明は、請求項1に記載の経路情報変更方法において、前記経路情報を生成するステップは、前記経路情報変更依頼に基づき、前記検索した経路情報の属性情報のうち、コミュニティー属性にNO−EXPORTを追加し、この属性情報を変更した経路情報における優先度を、前記検索した経路情報よりも高く設定した経路情報を生成することを特徴とする経路情報変更方法とした。   According to a second aspect of the present invention, in the route information changing method according to the first aspect, the step of generating the route information includes, based on the route information change request, among the attribute information of the searched route information. The route information changing method is characterized in that NO-EXPORT is added to the attribute, and route information in which the priority in the route information whose attribute information has been changed is set higher than that of the searched route information is generated.

請求項5に記載の発明は、請求項4に記載の経路情報変更装置において、前記経路情報生成部は、前記受信した経路情報変更依頼に基づき、前記検索した経路情報の属性情報のうち、コミュニティー属性にNO−EXPORTを追加し、この属性情報を変更した経路情報における優先度を、前記検索した経路情報よりも高く設定した経路情報を生成することを特徴とする経路情報変更装置とした。   According to a fifth aspect of the present invention, in the route information changing device according to the fourth aspect, the route information generating unit is configured to select a community among the attribute information of the searched route information based on the received route information change request. The route information changing device is characterized in that NO-EXPORT is added to the attribute, and route information in which the priority in the route information whose attribute information is changed is set higher than the searched route information is generated.

このようにすることで、例えば、ハイジャック経路の経路情報等、他のASへ拡散させたくない経路情報について、他のASに拡散させないように経路情報の属性情報を変更するとき、その経路情報の属性情報の変更を行う経路情報処理装置を特定する必要がなくなる。つまり、不正な経路情報等について、他のASに拡散させないようにするときの手間を低減できる。   In this way, for example, when changing the route information attribute information so as not to be diffused to other ASs, such as route information of the hijack route, which is not to be diffused to other ASs, the route information This eliminates the need to specify the route information processing apparatus that changes the attribute information of the route information. That is, it is possible to reduce the time and effort for preventing unauthorized route information and the like from being diffused to other ASs.

請求項3に記載の発明は、請求項1または請求項2に記載の経路情報変更方法において、変更解除対象の経路情報のプレフィックスを示した経路情報変更解除依頼を受信するステップと、この経路情報変更解除依頼に示されるプレフィックスを含むwithdrawメッセージを、前記経路情報処理装置へ広告するステップとを実行することを特徴とする経路情報変更方法とした。   According to a third aspect of the present invention, in the route information changing method according to the first or second aspect, a step of receiving a route information change release request indicating a prefix of the route information to be changed, and the route information And a step of advertising a withdraw message including a prefix indicated in the change cancellation request to the route information processing apparatus.

請求項6に記載の発明は、請求項4または請求項5に記載の経路情報変更装置において、前記経路情報生成部は、変更解除対象の経路情報のプレフィックスを示した経路情報変更解除依頼を受信したとき、この経路情報変更解除依頼に示されるプレフィックスを含むwithdrawメッセージを、前記経路情報処理装置へ広告することを特徴とする経路情報変更装置とした。   According to a sixth aspect of the present invention, in the route information changing device according to the fourth or fifth aspect, the route information generating unit receives a route information change release request indicating a prefix of the route information to be changed. Then, the route information change device is characterized in that the withdraw message including the prefix indicated in the route information change release request is advertised to the route information processing device.

このようにすることで、経路情報変更装置は、いったん変更した経路情報の変更解除を容易に行うことができる。   In this way, the route information changing device can easily release the change of the route information once changed.

請求項7に記載の発明は、請求項1ないし請求項3のいずれか1項に記載の経路情報変更方法を、経路情報変更装置であるコンピュータに実行させることを特徴とする経路情報変更プログラムとした。   According to a seventh aspect of the present invention, there is provided a route information change program that causes a computer that is a route information change device to execute the route information change method according to any one of the first to third aspects. did.

このような経路情報変更プログラムによれば、請求項1ないし請求項3のいずれか1項に記載の経路情報変更方法を、経路情報変更装置であるコンピュータに実行させることができる。   According to such a route information change program, the route information change method according to any one of claims 1 to 3 can be executed by a computer that is a route information change device.

本発明によれば、ASのルータ(経路情報処理装置)に経路情報変更装置を接続し、この経路情報変更装置が、経路情報の属性情報を変更し、この経路情報の優先度を高くした新たな経路情報を生成し、広告する。そして、このような新たな経路情報の広告を受けたルータは、この優先度の値に基づき、元の経路情報よりも、新たな経路情報の方を選択し、この選択した経路情報を他のルータへ広告する。従って、経路情報の変更を行うルータを特定し、この特定したルータに経路情報に変更の設定を行う必要がなくなるので、経路情報の変更を速やかに行うことができる。   According to the present invention, a route information change device is connected to an AS router (route information processing device), and the route information change device changes the attribute information of the route information and increases the priority of the route information. To generate and advertise detailed route information. Then, the router that has received the advertisement of the new route information selects the new route information rather than the original route information based on the priority value, and uses the selected route information for the other route information. Advertise to the router. Accordingly, it is not necessary to specify a router for changing the route information and to set the change to the route information for the specified router, so that the route information can be changed promptly.

例えば、ハイジャック経路の経路情報等、不正な経路情報を受けたASにおいて、この経路情報が他のASに拡散しないようにするとき、経路情報の変更を行うルータを特定する必要がないので、速やかに対応することができる。   For example, in an AS that receives illegal route information such as route information of a hijack route, it is not necessary to specify a router for changing the route information when the route information is not spread to other ASs. We can respond promptly.

以下、本発明を実施するための最良の形態(以下、実施の形態という)について説明する。   Hereinafter, the best mode for carrying out the present invention (hereinafter referred to as an embodiment) will be described.

図3は、本実施の形態の経路情報生成装置を含むシステムの構成例を示した図である。図3を用いて、システムの構成を説明する。図3に示すように、システムは、AS−X(AS番号「5000」)、AS−C(AS番号「3000」)、AS−B(AS番号「2000」)およびAS−D(AS番号「4000」)を含んで構成される。なお、各ルータ10は、前記したBGP(eBGPおよびiBGP)により経路情報を交換する。   FIG. 3 is a diagram illustrating a configuration example of a system including the route information generation apparatus according to the present embodiment. The configuration of the system will be described with reference to FIG. As shown in FIG. 3, the system includes AS-X (AS number “5000”), AS-C (AS number “3000”), AS-B (AS number “2000”), and AS-D (AS number “ 4000 "). Each router 10 exchanges route information using the above-described BGP (eBGP and iBGP).

AS−Bは、ルータ10Yを備え、AS−Dは、ルータ10Dを備える。さらに、AS−Xは、ルータ10Xを備える。AS−Cは、4台のルータ(経路情報処理装置)10(10R,10A,10B,10C)と、経路情報変更装置100とを備える。ルータ10Rは、ルートリフレクタであり、ルータ10A,10B,10C、経路情報変更装置100とiBGPセッションを張り、経路情報を交換している。ルータ10Cは、ルータ10RとのiBGPセッションに加えて、AS−Bのルータ10YとeBGPセッションを張り、経路情報を交換している。また、ルータ10Aは、ルータ10RとのiBGPセッションに加えて、AS−Xのルータ10XとeBGPセッションを張り、経路情報を交換している。   AS-B includes a router 10Y, and AS-D includes a router 10D. Further, the AS-X includes a router 10X. The AS-C includes four routers (route information processing devices) 10 (10R, 10A, 10B, 10C) and a route information change device 100. The router 10R is a route reflector, and establishes an iBGP session with the routers 10A, 10B, and 10C and the route information change device 100 to exchange route information. In addition to the iBGP session with the router 10R, the router 10C establishes an eBGP session with the AS-B router 10Y to exchange route information. In addition to the iBGP session with the router 10R, the router 10A establishes an eBGP session with the AS-X router 10X to exchange route information.

ここでは説明を簡単にするため、ルータ10Rをルートリフレクタとして用いる構成としたが、ルータ10Rを通常のルータとして用いて、ルータ10R,10A,10B,10Cおよび経路情報変更装置100がフルメッシュでiBGPセッションを張り、経路情報を交換するようにしてもよい。   Here, for simplicity of explanation, the router 10R is used as a route reflector. However, the router 10R is used as a normal router, and the routers 10R, 10A, 10B, and 10C and the route information changing device 100 are full mesh and iBGP. A session may be established to exchange route information.

各ルータ10および経路情報変更装置100で交換される経路情報は、プレフィックス属性(プレフィックス)とパス属性とを含んで構成される。プレフィックスは経路とも言い、ネットワークアドレスとそのネットワークアドレスのネットマスク長(以下、経路長ともいう)を含む。また、パス属性として、ASパス属性、コニュニティー属性、Local_Pref(ローカルプレフ)属性等を含む。このローカルプレフ属性とは、同じ宛先ネットワークに対して複数の経路がある場合に、その宛先ネットワークの経路を選択するときの優先度を示す。つまり、各ルータ10において、同じ宛先ネットワークに対して複数の経路がある場合に、このローカル属性値がより大きく設定された経路が優先的に選択される。   The route information exchanged between each router 10 and the route information change device 100 includes a prefix attribute (prefix) and a path attribute. The prefix is also called a route, and includes a network address and a netmask length of the network address (hereinafter also referred to as a route length). The path attributes include an AS path attribute, a community attribute, a Local_Pref (local prefix) attribute, and the like. The local prefix attribute indicates a priority when selecting a route of the destination network when there are a plurality of routes for the same destination network. That is, in each router 10, when there are a plurality of routes for the same destination network, a route having a larger local attribute value is preferentially selected.

経路情報変更装置100は、この経路情報変更装置100に接続されるルータ10から経路情報を取得(収集)し、この取得した経路情報を記憶部(後記)に記憶している。そして、経路情報変更装置100は、記憶部に記憶された経路情報を利用し、新たな経路情報を生成し広告する。広告された新たな経路情報は、この経路情報変更装置100に接続するルータ10経由でAS内および他のASに伝播し、拡散していく。   The route information changing device 100 acquires (collects) route information from the router 10 connected to the route information changing device 100, and stores the acquired route information in a storage unit (described later). Then, the route information changing device 100 uses the route information stored in the storage unit to generate and advertise new route information. The advertised new route information is propagated through the router 10 connected to the route information changing device 100 and to other ASs and spreads.

ここで、図3に示すシステムの動作概要を説明する。ここでも、AS−Xが、AS−D内の経路の一部である「10.4.128.0/17」を誤って広告する場合を例に説明する。また、経路情報変更装置100は、この「10.4.128.0/17」に関する経路情報に「NO−EXPORT」のコニュニティー属性を付与せよ、という経路情報変更依頼を受信しているものとする。   Here, an outline of the operation of the system shown in FIG. 3 will be described. Here, the case where AS-X advertises “10.4.12.88.0 / 17”, which is a part of the route in AS-D, by mistake will be described as an example. In addition, it is assumed that the route information change device 100 has received a route information change request for adding the “NO-EXPORT” community attribute to the route information related to “10.418.0 / 17”. .

AS−Xのルータ10Xが、誤って、本来AS−Dの経路の一部である「10.4.128.0/17」(ハイジャック経路)の経路情報をAS−Cのルータ10Aへ広告すると、この経路情報は、ルータ10Rに到達する。経路情報変更装置100は、このルータ10R経由でハイジャック経路の経路情報を取得する。そして、経路情報変更装置100は、経路情報変更依頼を参照して、このハイジャック経路の経路情報を変更対象の経路情報と判断すると、この経路情報をもとに、「NO−EXPORT」コミュニティー属性を付与し、そのLocal_Pref(ローカルプレフ)属性値を増加させた新たな経路情報を生成する。つまり、属性情報を変更した新たな経路情報を生成する。そして、経路情報変更装置100は、この新たな経路情報を、ルータ10Rへ広告すると、このルータ10R経由で自AS(AS−C)内の各ルータ10に広告される。このようにすることで、自AS(AS−C)内のルータ10(例えば、ルータ10C)へハイジャック経路が広告されたとしても、このルータ10Cは、よりLocal_Pref(ローカルプレフ)属性値の高い経路情報(「NO−EXPORT」コミュニティー属性が付与された経路情報)を最適経路として選択する。そして、ルータ10Cはその選択した経路情報の属性情報に基づく経路制御処理を行う。すなわち、ルータ10Cは「NO−EXPORT」コミュニティー属性が付与された経路情報(ハイジャック経路の経路情報)を他のASには広告しないようにする。   The AS-X router 10X erroneously advertises the route information of “10.128.0 / 17” (hijacking route), which is originally part of the AS-D route, to the AS-C router 10A. Then, this route information reaches the router 10R. The route information changing device 100 acquires route information of the hijack route via the router 10R. Then, when the route information change device 100 refers to the route information change request and determines that the route information of the hijack route is the route information to be changed, based on this route information, the “NO-EXPORT” community attribute Is added, and new route information is generated by increasing the Local_Pref attribute value. That is, new route information in which attribute information is changed is generated. Then, when the new route information is advertised to the router 10R, the route information changing device 100 is advertised to each router 10 in its own AS (AS-C) via this router 10R. By doing in this way, even if the hijacking route is advertised to the router 10 (for example, the router 10C) in the self AS (AS-C), the router 10C is more able to set the Local_Pref attribute value. High route information (route information with the “NO-EXPORT” community attribute) is selected as the optimum route. Then, the router 10C performs a route control process based on the attribute information of the selected route information. That is, the router 10C does not advertise the route information to which the “NO-EXPORT” community attribute is given (route information of the hijack route) to other ASs.

具体的には、ルータ10Cは、BGPのwithdrawメッセージ(RFC1771参照)により、他のルータ10へ、その経路情報に示されるプレフィックスについて取り消し(withdraw)を広告する。つまり、このようなwithdrawメッセージを受けたルータ10(
例えば、ルータ10Y)は、それまで受け取っていた当該プレフィックスに関する経路情報が取り消されたと認識する。これにより、AS−Bのルータ10Yは、AS−Dから広告された正しい経路情報「10.4.0.0/16」に基づき、正常に通信を行うことができる。また、ルータ10は、前記したwithdrawメッセージを受信したことにより、最適経路(ベストパス)が無くなった場合には、他のルータ10にもこのwithdrawメッセージを広告する。これにより、他のルータ10においても、変更後の経路情報がベストパスとして選択されるようになる。
Specifically, the router 10C advertises cancellation (withdraw) of the prefix indicated by the route information to another router 10 by a BGP withdraw message (see RFC1771). In other words, the router 10 (
For example, the router 10Y) recognizes that the route information related to the prefix received so far has been canceled. Thereby, the router 10Y of AS-B can perform normal communication based on the correct route information “10.4.0.0/16” advertised from AS-D. Further, when the optimum route (best path) is lost due to the reception of the withdraw message, the router 10 advertises the withdraw message to other routers 10. As a result, the route information after the change is also selected as the best path in the other routers 10.

次に、図4を用いて、経路情報変更装置100を詳細に説明する。図4は、図3の経路情報変更装置の機能ブロック図である。   Next, the route information changing device 100 will be described in detail with reference to FIG. FIG. 4 is a functional block diagram of the path information changing device of FIG.

図4に示すように、経路情報変更装置100は、経路情報や経路情報変更依頼等の各種データの入出力を司る入出力部11と、経路情報の収集や、属性情報を変更した経路情報を生成する処理部12と、経路情報を示した経路表131を記憶する記憶部13とを備える。なお、経路情報変更依頼は、変更対象経路(変更対象プレフィックス)と、その変更内容を示した情報である。   As shown in FIG. 4, the route information changing device 100 includes an input / output unit 11 that controls input / output of various data such as route information and route information change requests, route information collection, and route information whose attribute information has been changed. A processing unit 12 to be generated and a storage unit 13 for storing a route table 131 showing route information are provided. The route information change request is information indicating a change target route (change target prefix) and details of the change.

入出力部11は、ルータ10等とのデータ入出力を行うための入出力インタフェースから構成される。また、処理部12は、この経路情報変更装置100が備えるCPU(Central Processing Unit)によるプログラム実行処理や、専用回路等により実現される。さらに、記憶部13は、RAM(Random Access Memory)、ROM(Read Only Memory)、HDD(Hard Disk Drive)、フラッシュメモリ等の記憶媒体から構成される。なお、経路情報変更装置100をプログラム実行処理により実現する場合、記憶部13には、この経路情報変更装置100の機能を実現するための経路情報変更プログラムが格納される。   The input / output unit 11 includes an input / output interface for performing data input / output with the router 10 and the like. The processing unit 12 is realized by a program execution process by a CPU (Central Processing Unit) included in the route information change device 100, a dedicated circuit, or the like. Further, the storage unit 13 includes a storage medium such as a random access memory (RAM), a read only memory (ROM), a hard disk drive (HDD), and a flash memory. When the route information change device 100 is realized by program execution processing, the storage unit 13 stores a route information change program for realizing the function of the route information change device 100.

<入出力部>
入出力部11は、この経路情報変更装置100に接続されるルータ10(例えば、図3のルータ10R)から経路情報や、外部装置からの経路情報変更依頼(経路情報変更依頼情報)を受信すると、この情報を処理部12に受け渡す。なお、この経路情報変更依頼は、図示しない外部装置から受信してもよいし、オペレータが入力装置等により直接入力したものでもよい。また、入出力部11は、処理部12で生成された新たな経路情報を受信すると、その経路情報をルータ10へ送信(広告)する。
<Input / output unit>
When the input / output unit 11 receives route information from the router 10 (for example, the router 10R in FIG. 3) connected to the route information change device 100 or a route information change request (route information change request information) from an external device. The information is transferred to the processing unit 12. The route information change request may be received from an external device (not shown), or may be directly input by an operator using an input device or the like. When the input / output unit 11 receives new route information generated by the processing unit 12, the input / output unit 11 transmits (advertises) the route information to the router 10.

図5は、本実施の形態の経路情報変更依頼を例示した図である。図5の符号501に示すように、経路情報変更依頼は、変更対象経路(変更対象プレフィックス)と、その変更内容とを含む。例えば、変更対象プレフィックス「10.4.128.0/17」の経路情報のコニュニティー属性に対し「NO−EXPORT」を追加するという情報を示す。   FIG. 5 is a diagram illustrating a route information change request according to the present embodiment. As indicated by reference numeral 501 in FIG. 5, the route information change request includes a change target route (change target prefix) and the content of the change. For example, information indicating that “NO-EXPORT” is added to the community attribute of the route information of the prefix to be changed “10.418.0 / 17” is shown.

<処理部>
図4の説明に戻る。処理部12は、経路情報変更装置100全体の制御を司り、経路情報収集部121と、経路情報生成部122とを備える。この処理部12は、経路情報交換プロトコルとしてBGP(eBGPおよびiBGP)を備える。
<Processing unit>
Returning to the description of FIG. The processing unit 12 controls the entire route information change device 100 and includes a route information collection unit 121 and a route information generation unit 122. The processing unit 12 includes BGP (eBGP and iBGP) as a route information exchange protocol.

経路情報収集部121は、この経路情報変更装置100に接続されるルータ10の経路表(図示省略)が更新されると、更新された経路情報を受信する。そして、経路情報収集部121は、この受信した経路情報をもとに、記憶部13の経路表131を更新する。つまり、経路情報収集部121は、ルータ10の経路表と同じ経路表131を記憶部13に作成する。   When the route table (not shown) of the router 10 connected to the route information changing device 100 is updated, the route information collection unit 121 receives the updated route information. Then, the route information collection unit 121 updates the route table 131 of the storage unit 13 based on the received route information. That is, the route information collection unit 121 creates the same route table 131 as the route table of the router 10 in the storage unit 13.

経路情報生成部122は、前記した経路情報変更依頼を受信すると、経路表13から、この変更依頼対象プレフィックスの経路情報を読み出す。そして、経路情報変更依頼に従い、その読み出した経路情報の属性情報を変更して、新たな経路情報を生成する。経路情報生成部122は、この生成した新たな経路情報を、入出力部11経由で、ルータ10へ広告する。例えば、経路情報生成部122は、変更対象プレフィックス「10.4.128.0/17」の経路情報のコニュニティー属性に対し「NO−EXPORT」を追加した経路情報を生成し、この生成した経路情報を入出力部11経由でルータ10Rへ広告する。   When receiving the above-described route information change request, the route information generation unit 122 reads the route information of the change request target prefix from the route table 13. Then, in accordance with the route information change request, the attribute information of the read route information is changed to generate new route information. The route information generation unit 122 advertises the generated new route information to the router 10 via the input / output unit 11. For example, the route information generation unit 122 generates route information in which “NO-EXPORT” is added to the community attribute of the route information of the change target prefix “10.418.0 / 17”, and the generated route information Is advertised to the router 10R via the input / output unit 11.

<記憶部>
記憶部13は、経路表131を記憶する。この経路表131を、図6を用いて説明する。図6は、図4の経路表を例示した図である。図6に示すように、経路表131は、1以上の経路情報を含んで構成され、それぞれの経路情報は、プレフィックスと、そのプレフィックスのパス属性とを含む。ここでのパス属性は、ASパス(ASパス属性)、コミュニティー(コミュニティー属性)およびローカルプレフ(ローカルプレフ属性)を含むものを示しているが、これらに限定されない。
<Storage unit>
The storage unit 13 stores a route table 131. The route table 131 will be described with reference to FIG. FIG. 6 is a diagram illustrating the route table of FIG. As illustrated in FIG. 6, the route table 131 includes one or more pieces of route information, and each route information includes a prefix and a path attribute of the prefix. Here, the path attribute indicates an AS path (AS path attribute), a community (community attribute), and a local prefix (local prefix attribute), but is not limited thereto.

例えば、図6の符号601に示す経路情報は、プレフィックス「10.4.128.0/17」のASパスは「5000」であり、コミュニティーについては特に設定されておらず、ローカルプレフは「100」であることを示す。   For example, in the route information indicated by reference numeral 601 in FIG. 6, the AS path of the prefix “14.14.18.0/17” is “5000”, the community is not particularly set, and the local prefix is “ 100 ".

<処理手順>
次に、図3〜図6を参照しつつ、図7および図8を用いて、経路情報変更装置100の処理手順を説明する。図7は、図4の経路情報変更装置の処理手順を示したフローチャートである。図8は、図4の経路情報変更装置が生成した変更後の経路情報を例示した図である。
<Processing procedure>
Next, the processing procedure of the route information changing apparatus 100 will be described using FIGS. 7 and 8 with reference to FIGS. FIG. 7 is a flowchart showing a processing procedure of the route information changing apparatus of FIG. FIG. 8 is a diagram illustrating the changed route information generated by the route information changing device of FIG.

なお、図7のフローチャートにおいて、説明を省略しているが、経路情報収集部121はルータ10から経路情報を受信すると、随時、経路表131を更新していくものとする。   Although the description is omitted in the flowchart of FIG. 7, it is assumed that the route information collection unit 121 updates the route table 131 as needed when receiving route information from the router 10.

まず、経路情報変更装置100の経路情報生成部122は、経路情報変更依頼の受信を待ち(S701)、経路情報変更依頼を受信すると(S701のyes)、この経路情報変更依頼に示される経路情報を経路表131から抽出する(S702)。つまり、経路情報生成部122は、変更対象プレフィックスの経路情報を経路表131から検索し、抽出する。なお、なお、経路情報生成部122が、まだ経路情報変更依頼を受信していない状態のときは(S701のno)、S702の処理はまだ実行しない。   First, the route information generation unit 122 of the route information change device 100 waits for reception of a route information change request (S701). When the route information change request is received (yes in S701), the route information indicated in this route information change request. Are extracted from the routing table 131 (S702). That is, the route information generation unit 122 searches the route table 131 for the route information of the change target prefix and extracts it. Note that when the route information generation unit 122 has not yet received a route information change request (No in S701), the processing in S702 is not yet executed.

例えば、経路情報生成部122が、図5の符号501に示すような経路情報変更依頼(変更対象プレフィックス「10.4.128.0/17」の経路情報のコニュニティー属性に対し「NO−EXPORT」を追加)を受信したとき、変更対象プレフィックスの経路情報として、図6に例示する経路表131から、符号601に示すプレフィックス(「10.4.128.0/17」)の経路情報を抽出する。   For example, the route information generation unit 122 performs a route information change request (“NO-EXPORT” for the route attribute community attribute of the change target prefix “10.418.0 / 17” as indicated by reference numeral 501 in FIG. 6) is extracted as route information of the prefix to be changed from the route table 131 illustrated in FIG. 6 as the route information of the prefix (“10.4.128.0/17”) indicated by reference numeral 601. .

図7の説明に戻る。経路情報生成部122は、経路表131から変更対象プレフィックスの経路情報の抽出に成功すると(S702のyes)、この抽出した経路情報の属性情報を経路情報変更依頼に基づいて変更した経路情報を生成する(S703)。そして、この変更した経路情報を他のルータ10へ広告する(S704)。   Returning to the description of FIG. When the route information generation unit 122 succeeds in extracting the route information of the change target prefix from the route table 131 (Yes in S702), the route information generation unit 122 generates the route information in which the attribute information of the extracted route information is changed based on the route information change request. (S703). Then, the changed route information is advertised to other routers 10 (S704).

例えば、経路情報生成部122は、図5の符号501に示す経路情報変更依頼に基づき、経路情報を変更し、図8の符号801に示す経路情報を生成する。つまり、図6の符号601に示す経路情報のプレフィックス「10.4.128.0/17」、ASパス「5000」はそのままで、コミュニティーを「NO−EXPORT」、ローカルプレフの値は元の値に1を加えた「101」に変更した経路情報を生成する。そして、経路情報生成部122は、このようにして生成した経路情報を、この経路情報変更装置100に接続されるルータ10(例えば、ルータ10R)へ広告する。   For example, the route information generation unit 122 changes the route information based on the route information change request indicated by reference numeral 501 in FIG. 5 and generates the route information indicated by reference numeral 801 in FIG. That is, the prefix “10.4.18.0/17” of the route information indicated by reference numeral 601 in FIG. 6 and the AS path “5000” remain unchanged, the community is “NO-EXPORT”, and the local prefix value is the original value. The route information changed to “101” obtained by adding 1 to the value is generated. Then, the route information generation unit 122 advertises the route information generated in this way to the router 10 (for example, the router 10R) connected to the route information change device 100.

ここで、経路情報生成部122が、ローカルプレフの値に「1」を加えた経路情報を広告するのは、以下の理由による。すなわち、ルータ10(10R)が、複数ある経路情報から最適経路を選択するとき、この経路情報に含まれる様々なパス属性(ASパス、コミュニティー、ローカルプレフ等)を参照して選択する。ここで、BGPを実装したルータ10が、これらのASパス属性のうち最も優先的に参照する情報は、ローカルプレフである。つまり、経路情報生成部122が、ローカルプレフの値がより高い経路情報を生成し、ルータ10(10R)に広告しておけば、ルータ10(10R)は、最適経路として、この変更後の経路情報の方を選択する。そして、ルータ10Rが選択した最適経路は、自AS内の他のルータ10にも広告される。そして、他のASとの境界にあるルータ10は、この最適経路の経路情報のコミュニティーの「NO−EXPORT」を参照して、この経路情報を他のASに広告しない。なお、ここでは経路情報生成部122が、経路情報のローカルプレフの値を「1」増加させる場合を例に説明したが、「2以上」増加させるようにしてもよい。   Here, the reason why the route information generation unit 122 advertises route information obtained by adding “1” to the local prefix value is as follows. That is, when the router 10 (10R) selects an optimum route from a plurality of pieces of route information, the route is selected with reference to various path attributes (AS path, community, local prefix, etc.) included in the route information. Here, the information that the router 10 that implements BGP refers to most preferentially among these AS path attributes is a local prefix. In other words, if the route information generation unit 122 generates route information with a higher local prefix value and advertises it to the router 10 (10R), the router 10 (10R) determines the optimum route as the changed route. Select the route information. Then, the optimum route selected by the router 10R is advertised to other routers 10 in its own AS. Then, the router 10 at the boundary with the other AS refers to “NO-EXPORT” of the route information community of the optimum route, and does not advertise this route information to the other AS. Here, the case where the route information generation unit 122 increases the local prefix value of the route information by “1” has been described as an example, but may be increased by “2 or more”.

なお、ここでは、経路情報のパス属性のうち、コミュニティーの属性値を変更する場合を例に説明を行ったが、これに限定されない。例えば、経路情報に含まれるパス属性のうち、AS−PATH(ASパス)属性、ORIGIN属性(その経路情報の出発となるASのAS番号を示す属性)、NEXT_HOP属性(そのプレフィックスに対する次ホップとして使うべきルータのIPアドレスを示す属性)、ATOMIC_AGGREGATE属性(ルータが重複した経路の経路情報を受け取り、何らかのポリシーのために、そのプレフィックス長の短い経路情報を選択して、広告を行う際に付与する属性)等、様々なパス属性の変更にも適用可能である。その場合でも、経路情報生成部122は、変更対象経路のローカルプレフの値を、元の経路情報よりも増加させて広告する。このように、ルータ10に接続される経路情報変更装置100が、ローカルプレフの値を増加させた経路情報をルータ10へ広告し、このルータ10経由でこの変更後の経路情報を自ASおよび他のASへ拡散させることで、各ASのルータ10において元の経路情報よりも、このパス属性の情報を変更した経路情報の方が優先的に選択されるようになる。つまり、各ASのルータ10は、この変更後の経路情報に基づく経路制御を行うようになる。   In addition, although the case where the community attribute value among the path attributes of the route information is changed has been described as an example here, the present invention is not limited to this. For example, among the path attributes included in the route information, an AS-PATH (AS path) attribute, an ORIGIN attribute (an attribute indicating the AS number of the AS from which the route information starts), a NEXT_HOP attribute (used as the next hop for the prefix) Attribute indicating the IP address of the router to be used), ATOMIC_AGGREGATE attribute (attributes to be given when the router receives route information of a duplicate route, selects route information with a short prefix length for some policy, and advertises it) Etc.), and can be applied to various path attribute changes. Even in that case, the route information generation unit 122 advertises the value of the local prefix of the change target route by increasing it from the original route information. In this way, the route information changing device 100 connected to the router 10 advertises the route information in which the local prefix value is increased to the router 10, and the route information after the change is sent to the AS and the route information via the router 10. By spreading to other ASs, the route information in which the information of the path attribute is changed is preferentially selected over the original route information in the router 10 of each AS. That is, the router 10 of each AS performs route control based on this changed route information.

なお、経路情報変更装置100は、前記した手順により経路情報の変更をした後、この経路情報の変更の解除をする場合、以下のような処理を行う。   Note that the route information changing apparatus 100 performs the following processing when canceling the change of the route information after changing the route information according to the above-described procedure.

例えば、経路情報変更装置100の経路情報生成部122が、外部の装置等から、経路情報変更依頼(経路情報変更解除依頼)として、以下の表1に例示するような、変更解除対象プレフィックスと、変更内容(変更解除)とを示す情報を受け取る。次に、経路情報生成部122は、変更解除対象のプレフィックスを含めたwithdrawメッセージを生成し、このメッセージを、ルータ10(10R)に広告する。   For example, the route information generation unit 122 of the route information change device 100 receives a change release target prefix as exemplified in Table 1 below as a route information change request (route information change release request) from an external device or the like, Information indicating the change contents (change release) is received. Next, the route information generation unit 122 generates a withdraw message including the prefix to be changed and advertises this message to the router 10 (10R).

すなわち、経路情報生成部122が、表1に例示するような経路情報変更依頼(経路情報変更解除依頼)を受信したとき、ルータ10Rに対し、プレフィックス「10.4.128.0/17」の経路を取り消すwithdrawメッセージを生成し、広告する。   That is, when the route information generation unit 122 receives a route information change request (route information change release request) as exemplified in Table 1, the route information generation unit 122 sends the prefix “10.418.0 / 17” to the router 10R. Generate and advertise withdraw message to cancel the route.

Figure 2008219187
Figure 2008219187

経路情報生成部122が、このようなwithdrawメッセージを生成し、ルータ10Rに、広告すると、ルータ10R経由で各ルータ10にも、このwithdrawメッセージが広告される。つまり、このようなwithdrawメッセージの広告を受けた各ASのルータ10において、当該プレフィックスの経路情報があった場合にはこれを削除し、その結果、最適経路(ベストパス)が無くなった場合には、他のルータ10にもこのwithdrawメッセージを広告する。これにより、各ASのルータ10においても、当該プレフィックスの経路情報が削除されるので、結果として、経路情報の変更解除をすることができる。なお、この経路情報変更依頼(経路情報変更解除依頼)は、例えば、経路情報の変更を行ったASのオペレータ等が図示しない端末装置等を用いて経路情報変更装置100へ送信する。   When the route information generating unit 122 generates such a withdraw message and advertises it to the router 10R, the withdraw message is also advertised to each router 10 via the router 10R. In other words, in each AS router 10 that has received the advertisement of such withdraw message, if there is route information of the prefix, it is deleted, and as a result, the optimum route (best path) is lost. The withdraw message is advertised to other routers 10. As a result, the route information of the prefix is deleted also in each AS router 10, and as a result, the change of the route information can be canceled. This route information change request (route information change release request) is transmitted to the route information change device 100 by using, for example, a terminal device (not shown) by an AS operator who has changed the route information.

本実施の形態に係る経路情報変更装置100は、前記したような処理を実行させる経路情報生成広告用プログラムによって実現することができ、そのプログラムをコンピュータによる読み取り可能な記憶媒体(CD−ROM等)に記憶して提供することが可能である。また、そのプログラムを、インターネット等のネットワークを通して提供することも可能である。   The route information changing apparatus 100 according to the present embodiment can be realized by a route information generation / advertisement program for executing the processing as described above, and the program can be read by a computer (such as a CD-ROM). Can be stored and provided. It is also possible to provide the program through a network such as the Internet.

経路ハイジャックを説明するために引用した図である。It is the figure quoted in order to demonstrate path | route hijacking. 従来技術を説明するために引用した図である。It is the figure quoted in order to demonstrate a prior art. 本実施の形態の経路情報生成装置を含むシステムの構成例を示した図である。It is the figure which showed the structural example of the system containing the path | route information generation apparatus of this Embodiment. 図3の経路情報変更装置の機能ブロック図である。FIG. 4 is a functional block diagram of the route information change device in FIG. 3. 本実施の形態の経路情報変更依頼を例示した図である。It is the figure which illustrated the route information change request of this embodiment. 図4の経路表を例示した図である。FIG. 5 is a diagram illustrating the route table of FIG. 4. 図4の経路情報変更装置の処理手順を示したフローチャートである。It is the flowchart which showed the process sequence of the path | route information change apparatus of FIG. 図4の経路情報変更装置が生成した変更後の経路情報を例示した図である。It is the figure which illustrated the route information after the change which the route information change device of Drawing 4 generated.

符号の説明Explanation of symbols

10(10A,10B,10C,10Z) ルータ(経路情報処理装置)
11 入出力部
12 処理部
13 記憶部
100 経路情報変更装置
121 経路情報収集部
122 経路情報生成部
131 経路表(経路情報)
10 (10A, 10B, 10C, 10Z) Router (route information processing device)
DESCRIPTION OF SYMBOLS 11 Input / output part 12 Processing part 13 Storage part 100 Path information change device 121 Path information collection part 122 Path information generation part 131 Path table (path information)

Claims (7)

BGP(Border Gateway Protocol)により交換される経路情報を変更する経路情報変更方法であって、
前記経路情報を交換する経路情報処理装置に接続される経路情報変更装置が、
前記経路情報処理装置の保持する経路情報を取得し、当該経路情報変更装置の記憶部の経路情報を更新するステップと、
変更対象の経路のプレフィックスと、その変更対象の経路の属性情報の変更内容を示した経路情報変更依頼を受信するステップと、
この経路情報変更依頼に示されるプレフィックスの経路情報を、前記記憶部の経路情報から検索するステップと、
前記受信した経路情報変更依頼に基づき、前記検索した経路情報の属性情報を変更し、この属性情報を変更した経路情報における優先度を、前記検索した経路情報よりも高く設定した経路情報を生成するステップと、
前記生成した経路情報を、前記経路情報処理装置へ広告するステップとを実行することを特徴とする経路情報変更方法。
A route information changing method for changing route information exchanged by BGP (Border Gateway Protocol),
A route information changing device connected to the route information processing device exchanging the route information,
Obtaining route information held by the route information processing device and updating route information in a storage unit of the route information changing device;
A step of receiving a route information change request indicating a change of the route information of the route to be changed and the attribute information of the route to be changed;
Searching the route information of the prefix indicated in the route information change request from the route information of the storage unit;
Based on the received route information change request, the attribute information of the searched route information is changed, and the route information in which the priority in the route information whose attribute information is changed is set higher than that of the searched route information is generated. Steps,
A step of advertising the generated route information to the route information processing apparatus.
前記経路情報を生成するステップにおいて、前記受信した経路情報変更依頼に基づき、前記検索した経路情報の属性情報を変更するとき、前記経路情報のコミュニティー属性にNO−EXPORTを追加することを特徴とする請求項1に記載の経路情報変更方法。   In the step of generating the route information, when changing the attribute information of the searched route information based on the received route information change request, NO-EXPORT is added to the community attribute of the route information. The route information changing method according to claim 1. 変更解除対象の経路情報のプレフィックスを示した経路情報変更解除依頼を受信するステップと、
この経路情報変更解除依頼に示されるプレフィックスを含むwithdrawメッセージを、前記経路情報処理装置へ広告するステップとを実行することを特徴とする請求項1または請求項2に記載の経路情報変更方法。
Receiving a route information change release request indicating the prefix of the route information to be changed;
The route information changing method according to claim 1 or 2, wherein a step of advertising a withdraw message including a prefix indicated in the route information change release request to the route information processing apparatus is executed.
BGP(Border Gateway Protocol)により経路情報を交換する経路情報処理装置に接続される経路情報変更装置であって、
前記経路情報処理装置の保持する経路情報を記憶する記憶部と、
データの入出力を司る入出力部と、
前記経路情報処理装置の保持する経路情報を取得し、当該経路情報変更装置の記憶部の経路情報を更新する経路情報収集部と、
変更対象の経路のプレフィックスと、その変更対象の経路の属性情報の変更内容を示した経路情報変更依頼を受信したとき、この経路情報変更依頼に示されるプレフィックスの経路情報を、前記記憶部の経路情報から検索し、前記経路情報変更依頼に基づき、前記検索した経路情報の属性情報を変更し、この属性情報を変更した経路情報における優先度を、前記検索した経路情報よりも高く設定した経路情報を生成し、前記生成した経路情報を、前記経路情報処理装置へ広告する経路情報生成部とを備えることを特徴とする経路情報変更装置。
A route information changing device connected to a route information processing device that exchanges route information by BGP (Border Gateway Protocol),
A storage unit for storing route information held by the route information processing apparatus;
An input / output unit for data input / output;
A route information collection unit that acquires route information held by the route information processing device and updates route information in a storage unit of the route information change device;
When a route information change request indicating the change contents of the route information to be changed and the attribute information of the change target route is received, the route information of the prefix indicated in the route information change request is received as the route of the storage unit. Route information retrieved from information, and based on the route information change request, the attribute information of the searched route information is changed, and the priority in the route information in which the attribute information is changed is set higher than that of the searched route information And a route information generation unit that advertises the generated route information to the route information processing device.
前記経路情報生成部は、
前記受信した経路情報変更依頼に基づき、前記検索した経路情報の属性情報を変更するとき、前記検索した経路情報の属性情報のコミュニティー属性にNO−EXPORTを追加することを特徴とする請求項4に記載の経路情報変更装置。
The route information generation unit
5. The NO-EXPORT is added to the community attribute of the attribute information of the searched route information when the attribute information of the searched route information is changed based on the received route information change request. The route information change device described.
前記経路情報生成部は、
変更解除対象の経路情報のプレフィックスを示した経路情報変更解除依頼を受信したとき、この経路情報変更解除依頼に示されるプレフィックスを含むwithdrawメッセージを、前記経路情報処理装置へ広告することを特徴とする請求項4または請求項5に記載の経路情報変更装置。
The route information generation unit
When a route information change release request indicating a prefix of route information to be changed is received, a withdraw message including the prefix indicated in the route information change release request is advertised to the route information processing apparatus. The route information change device according to claim 4 or 5.
請求項1ないし請求項3のいずれか1項に記載の経路情報変更方法を、経路情報変更装置であるコンピュータに実行させることを特徴とする経路情報変更プログラム。   A route information changing program that causes a computer that is a route information changing device to execute the route information changing method according to any one of claims 1 to 3.
JP2007050628A 2007-02-28 2007-02-28 ROUTE INFORMATION CHANGE METHOD, ROUTE INFORMATION CHANGE DEVICE, AND ROUTE INFORMATION CHANGE PROGRAM Expired - Fee Related JP4365869B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007050628A JP4365869B2 (en) 2007-02-28 2007-02-28 ROUTE INFORMATION CHANGE METHOD, ROUTE INFORMATION CHANGE DEVICE, AND ROUTE INFORMATION CHANGE PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007050628A JP4365869B2 (en) 2007-02-28 2007-02-28 ROUTE INFORMATION CHANGE METHOD, ROUTE INFORMATION CHANGE DEVICE, AND ROUTE INFORMATION CHANGE PROGRAM

Publications (2)

Publication Number Publication Date
JP2008219187A true JP2008219187A (en) 2008-09-18
JP4365869B2 JP4365869B2 (en) 2009-11-18

Family

ID=39838749

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007050628A Expired - Fee Related JP4365869B2 (en) 2007-02-28 2007-02-28 ROUTE INFORMATION CHANGE METHOD, ROUTE INFORMATION CHANGE DEVICE, AND ROUTE INFORMATION CHANGE PROGRAM

Country Status (1)

Country Link
JP (1) JP4365869B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010178310A (en) * 2009-02-02 2010-08-12 Kddi Corp Route control system and route control apparatus
JP5916164B1 (en) * 2014-12-09 2016-05-11 ソフトバンク株式会社 Route control apparatus and program
JP2017034321A (en) * 2015-07-29 2017-02-09 日本電信電話株式会社 Aggregation route calculation system and aggregation route calculation method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010178310A (en) * 2009-02-02 2010-08-12 Kddi Corp Route control system and route control apparatus
JP5916164B1 (en) * 2014-12-09 2016-05-11 ソフトバンク株式会社 Route control apparatus and program
JP2017034321A (en) * 2015-07-29 2017-02-09 日本電信電話株式会社 Aggregation route calculation system and aggregation route calculation method

Also Published As

Publication number Publication date
JP4365869B2 (en) 2009-11-18

Similar Documents

Publication Publication Date Title
US6968393B1 (en) Method and apparatus for an attribute oriented routing update
US9584398B2 (en) Methods and apparatus to utilize route parameter sets for exchanging routes in a communication network
US8923293B2 (en) Adaptive multi-interface use for content networking
JP2022186731A (en) Method, device, and system for handling transmission path failure
RU2517312C2 (en) Link state identifier conflict resolution
US10404598B1 (en) Managing next hop groups in routers
JP2023024483A (en) Route processing method and network device
CN102752205A (en) Route iteration method and device
WO2019160005A1 (en) Path information transmission device, path information transmission method and path information transmission program
CN112702773A (en) Communication method and device
US7894462B2 (en) Boundary routers providing redistribution and related backbone networks, computer program products, and methods
JP4365869B2 (en) ROUTE INFORMATION CHANGE METHOD, ROUTE INFORMATION CHANGE DEVICE, AND ROUTE INFORMATION CHANGE PROGRAM
JP4391960B2 (en) Resource management apparatus, system and method
JP5598474B2 (en) Network design system, network design method, data transfer route determination method, network design program
JP4365868B2 (en) Route information generation / advertisement method, route information generation / advertisement apparatus, and route information generation / advertisement program
CN108540343B (en) Path detection method and device
JP4044007B2 (en) Route information management method and route information management device
US7423974B2 (en) Disabling mutually recursive routes
CN115499361B (en) Processing method and device of route data, storage medium and processor
JP4809824B2 (en) BGP session design method, session design apparatus, and BGP session design program
JP5532818B2 (en) ID / locator association apparatus, ID / locator association method and program
WO2020054637A1 (en) Transfer device and transfer method
CN113472699A (en) Network table item synchronization method and device
TW202232920A (en) Best path computation offload in a network computing environment and non-transitory computer readable storage media
CN116260763A (en) Routing information processing method, OSPF (open shortest path first) equipment and OSPF network

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090122

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090519

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090821

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

Free format text: PAYMENT UNTIL: 20120828

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130828

Year of fee payment: 4

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees