JP3836854B2 - Packet relay apparatus and packet relay program - Google Patents

Packet relay apparatus and packet relay program Download PDF

Info

Publication number
JP3836854B2
JP3836854B2 JP2004191673A JP2004191673A JP3836854B2 JP 3836854 B2 JP3836854 B2 JP 3836854B2 JP 2004191673 A JP2004191673 A JP 2004191673A JP 2004191673 A JP2004191673 A JP 2004191673A JP 3836854 B2 JP3836854 B2 JP 3836854B2
Authority
JP
Japan
Prior art keywords
route information
priority
packet
route
packet relay
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2004191673A
Other languages
Japanese (ja)
Other versions
JP2006014198A (en
Inventor
哲也 村上
聡 松嶋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Furukawa Electric Co Ltd
Original Assignee
Furukawa Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Furukawa Electric Co Ltd filed Critical Furukawa Electric Co Ltd
Priority to JP2004191673A priority Critical patent/JP3836854B2/en
Publication of JP2006014198A publication Critical patent/JP2006014198A/en
Application granted granted Critical
Publication of JP3836854B2 publication Critical patent/JP3836854B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、例えば、経路情報パケットの中継に用いて好適なパケット中継装置、パケット中継方法およびパケット中継プログラムに関するものであり、特に、経路情報の送信先の負荷を軽減することができるパケット中継装置、パケット中継方法およびパケット中継プログラムに関するものである。   The present invention relates to a packet relay device, a packet relay method, and a packet relay program suitable for use in relaying, for example, route information packets, and in particular, a packet relay device that can reduce the load on the destination of route information. The present invention relates to a packet relay method and a packet relay program.

従来より、パケットネットワークにおいては、BGP(Border Gateway Protocol)に基づいてルータ間でセッションをはり、そのセッション上で経路情報の交換が行われている。ここで、経路情報の交換に際しては、パケットネットワーク内の全てのルータ間でフルメッシュのセッションをはる必要があるため、ルータの台数が増えるに従って、セッション数が膨大になり、スケーラビリティ上問題となる。   Conventionally, in packet networks, sessions are established between routers based on BGP (Border Gateway Protocol), and route information is exchanged on the sessions. Here, when exchanging route information, it is necessary to run a full mesh session between all routers in the packet network. As the number of routers increases, the number of sessions increases, which causes scalability problems. .

そこで、従来では、パケットネットワークにパケット中継装置としてのルートリフレクタ装置を設けて、かかる問題を解決している。このルートリフレクタ装置は、ルータ間の経路情報を中継する装置である。   Therefore, conventionally, a route reflector device as a packet relay device is provided in the packet network to solve this problem. This route reflector device is a device that relays route information between routers.

図7は、上述したルートリフレクタ装置を用いた従来の経路情報の配信方法を説明するブロック図である。同図には、カスタマエッジルータ101、カスタマエッジルータ102、プロバイダエッジルータ201、プロバイダエッジルータ202、ルートリフレクタ装置301〜304を有するパケットネットワークが図示されている。 FIG. 7 is a block diagram for explaining a conventional route information distribution method using the above-described route reflector device. In the figure, the customer edge router 10 1, the customer edge router 10 2, the provider edge router 20 1, the provider edge router 20 2, the packet network having a route reflector device 30 1 to 30 4 are shown.

カスタマエッジルータ101およびカスタマエッジルータ102は、顧客側に設けられたルータであり、パケットをルーティングする機能を備えている。プロバイダエッジルータ201およびプロバイダエッジルータ202は、カスタマエッジルータ101およびカスタマエッジルータ102に対する上位装置であり、プロバイダ側に設けられている。これらのプロバイダエッジルータ201およびプロバイダエッジルータ202は、パケットをルーティングする機能を備えている。 The customer edge router 10 1 and the customer edge router 10 2 are routers provided on the customer side and have a function of routing packets. The provider edge router 20 1 and the provider edge router 20 2 are host devices for the customer edge router 10 1 and the customer edge router 10 2 , and are provided on the provider side. The provider edge router 20 1 and the provider edge router 20 2 have a function of routing packets.

ルートリフレクタ装置301〜304は、プロバイダエッジルータ201およびプロバイダエッジルータ202に対する上位装置であり、経路情報を中継する機能を備えている。ここで、ルートリフレクタ装置301〜304においては、ルートリフレクタ装置302およびルートリフレクタ装置303を並列的に設けることにより、並列冗長が採られている。 Route reflector apparatus 30 1 to 30 4 is a higher-level device for the provider edge router 20 1 and the provider edge router 20 2, has a function of relaying the route information. Here, in the route reflector devices 30 1 to 30 4 , parallel redundancy is adopted by providing the route reflector device 30 2 and the route reflector device 30 3 in parallel.

上記構成において、例えば、プロバイダエッジルータ202から、配信対象の経路情報に関する経路情報パケット40が送信されると、経路情報パケット40は、ルートリフレクタ装置304に受信される。ルートリフレクタ装置304は、経路情報パケット40から2つの経路情報パケット40aおよび経路情報パケット40bをコピーした後、これらを送信する。 In the above configuration, for example, when the route information packet 40 related to the route information to be distributed is transmitted from the provider edge router 20 2 , the route information packet 40 is received by the route reflector device 30 4 . The route reflector device 30 4 copies the two route information packets 40a and the route information packet 40b from the route information packet 40, and then transmits them.

経路情報パケット40aは、ルートリフレクタ装置302に中継された後、ルートリフレクタ装置301に受信される。一方、経路情報パケット40bは、ルートリフレクタ装置303に中継された後、ルートリフレクタ装置301に受信される。すなわち、ルートリフレクタ装置301は、同一の内容である経路情報パケット40aおよび経路情報パケット40bの双方を受信し、保持する。 The route information packet 40a is relayed to the route reflector device 30 2 and then received by the route reflector device 30 1 . On the other hand, the route information packet 40b is relayed to the route reflector device 30 3 and then received by the route reflector device 30 1 . That is, route reflector device 30 1 receives both the routing information packets 40a and route information packet 40b is the same content, holds.

つぎに、ルートリフレクタ装置301は、経路情報パケット40aおよび経路情報パケット40bのうち、所定の選択基準でいずれか一方を最適経路情報として選択する。この場合、経路情報パケット40aが選択されたものとすると、ルートリフレクタ装置301は、経路情報パケット40aを送信する。経路情報パケット40aは、プロバイダエッジルータ201に受信される。 Next, the route reflector device 301 selects one of the route information packet 40a and the route information packet 40b as the optimum route information based on a predetermined selection criterion. In this case, assuming that the path information packet 40a is selected, route reflector device 30 1 transmits the path information packet 40a. Route information packet 40a is received by the provider edge router 20 1.

そして、図8に示したように、ルートリフレクタ装置302で障害が発生すると、ルートリフレクタ装置301は、障害を検知した後、ルートリフレクタ装置302より受信された経路情報パケット40aに代えて、ルートリフレクタ装置303より受信された経路情報パケット40bを最適経路情報として、プロバイダエッジルータ201へ再送信する。これにより、プロバイダエッジルータ201は、先に受信した経路情報パケット40aを破棄し、経路情報パケット40bを最適経路情報とする。 As shown in FIG. 8, when a failure occurs in the route reflector device 30 2 , the route reflector device 30 1 detects the failure and then replaces the route information packet 40 a received from the route reflector device 30 2. , as the optimal path information to the path information packet 40b received from the route reflector apparatus 30 3, and re-transmits it to the provider edge router 20 1. Thus, the provider edge router 20 1, discards the path information packet 40a the previously received route information packet 40b and the optimal route information.

特開2003−304293号公報JP 2003-304293 A

ところで、従来のパケットネットワークにおいては、並列冗長が採られていることにより、ルートリフレクタ装置302に障害が発生しても、ルートリフレクタ装置303より受信した経路情報パケット40bをプロバイダエッジルータ201に再送信し、ネットワークの信頼性を高めている。 By the way, in the conventional packet network, parallel redundancy is adopted, so that even if a failure occurs in the route reflector device 30 2 , the route information packet 40 b received from the route reflector device 30 3 is received by the provider edge router 20 1. Re-send to increase network reliability.

しかしながら、従来のパケットネットワークにおいては、ルートリフレクタ装置301からプロバイダエッジルータ201へ送信すべき経路情報パケットのデータ量が数万経路以上にも達する場合があり、プロバイダエッジルータ201における経路情報の処理に関する負荷が増大し、本来すべき他のプロトコル処理の実行に悪影響を及ぼしたり、経路情報の取りこぼしを招きかねないという問題があった。 However, in the conventional packet network, there is a case where the data amount of the path information packet to be transmitted from the route reflector device 30 1 to the provider edge router 20 1 is high as several tens of thousands of paths, path information in the provider edge router 20 1 There has been a problem in that the load related to the process increases, which may adversely affect the execution of other protocol processes that should be performed, and may lead to the loss of route information.

本発明は、上記に鑑みてなされたものであって、経路情報の送信先の負荷を軽減することができるパケット中継装置、パケット中継方法およびパケット中継プログラムを提供することを目的とする。   The present invention has been made in view of the above, and an object of the present invention is to provide a packet relay apparatus, a packet relay method, and a packet relay program that can reduce the load on the transmission destination of route information.

上述した課題を解決し、目的を達成するために、本発明は、パケットネットワークにおけるルータ間で交換される経路情報を中継するパケット中継装置であって、中継対象の経路情報を受信した場合、所定の基準に基づいて、該経路情報の優先度を、第1優先度または該第1優先度よりも低い第2優先度と判断する優先度判断手段と、前記優先度判断手段により第1優先度と判断された場合、当該経路情報を第1格納手段に格納し、第2優先度と判断された場合、当該経路情報を第2格納手段に格納する格納制御手段と、前記第1格納手段に格納された経路情報を即時に送信先のルータへ送信し、前記第2格納手段に格納された経路情報を前記送信先のルータの処理に悪影響を与えないタイミングで送信する送信制御手段と、を備えたことを特徴とする。   In order to solve the above-described problems and achieve the object, the present invention provides a packet relay device that relays route information exchanged between routers in a packet network. Priority determination means for determining the priority of the route information as a first priority or a second priority lower than the first priority based on the criteria of the first priority by the priority determination means If it is determined that the route information is stored in the first storage unit, and if the second priority is determined, the storage control unit stores the route information in the second storage unit, and the first storage unit stores the route information. Transmission control means for immediately transmitting the stored route information to a destination router, and transmitting the route information stored in the second storage means at a timing that does not adversely affect the processing of the destination router; To have prepared And butterflies.

また、本発明は、パケットネットワークにおけるルータ間で交換される経路情報を中継するパケット中継装置に適用されるパケット中継方法であって、中継対象の経路情報を受信した場合、所定の基準に基づいて、該経路情報の優先度を、第1優先度または該第1優先度よりも低い第2優先度と判断する優先度判断工程と、前記優先度判断工程で第1優先度と判断された場合、当該経路情報を第1格納手段に格納し、第2優先度と判断された場合、当該経路情報を第2格納手段に格納する格納制御工程と、前記第1格納手段に格納された経路情報を即時に送信先のルータへ送信し、前記第2格納手段に格納された経路情報を前記送信先のルータの処理に悪影響を与えないタイミングで送信する送信制御工程と、を含むことを特徴とする。   In addition, the present invention is a packet relay method applied to a packet relay device that relays route information exchanged between routers in a packet network. When the route information to be relayed is received, the present invention is based on a predetermined criterion. A priority determination step of determining the priority of the route information as a first priority or a second priority lower than the first priority, and a case where the first priority is determined in the priority determination step The route information is stored in the first storage means, and if it is determined as the second priority, the storage control step of storing the route information in the second storage means, and the route information stored in the first storage means And a transmission control step of transmitting the route information stored in the second storage means at a timing that does not adversely affect the processing of the destination router. To do.

また、本発明は、パケットネットワークにおけるルータ間で交換される経路情報を中継するパケット中継装置に適用されるパケット中継プログラムであって、コンピュータに、中継対象の経路情報を受信した場合、所定の基準に基づいて、該経路情報の優先度を、第1優先度または該第1優先度よりも低い第2優先度と判断する優先度判断工程と、前記優先度判断工程で第1優先度と判断された場合、当該経路情報を第1格納手段に格納し、第2優先度と判断された場合、当該経路情報を第2格納手段に格納する格納制御工程と、前記第1格納手段に格納された経路情報を即時に送信先のルータへ送信し、前記第2格納手段に格納された経路情報を前記送信先のルータの処理に悪影響を与えないタイミングで送信する送信制御工程と、を実行させるためのパケット中継プログラムである。   The present invention is also a packet relay program applied to a packet relay device that relays route information exchanged between routers in a packet network, and when a computer receives route information to be relayed, a predetermined criterion is used. Based on the priority determination step of determining the priority of the route information as the first priority or a second priority lower than the first priority, and determining the first priority in the priority determination step If it is determined that the route information is stored in the first storage means, and the second priority is determined, the storage control step for storing the route information in the second storage means is stored in the first storage means. A transmission control step of transmitting the route information immediately to the destination router and transmitting the route information stored in the second storage means at a timing that does not adversely affect the processing of the destination router. A packet relay program for causing.

本発明によれば、中継対象の経路情報を受信した場合、所定の基準に基づいて、該経路情報の優先度を、第1優先度または該第1優先度よりも低い第2優先度と判断し、第1優先度と判断された場合、当該経路情報を第1格納手段に格納し、第2優先度と判断された場合、当該経路情報を第2格納手段に格納し、第1格納手段に格納された経路情報を即時に送信先のルータへ送信し、第2格納手段に格納された経路情報を送信先のルータの処理に悪影響を与えないタイミングで送信することとしたので、経路情報の送信先の負荷を軽減することができるという効果を奏する。   According to the present invention, when route information to be relayed is received, the priority of the route information is determined as the first priority or the second priority lower than the first priority based on a predetermined criterion. If the first priority is determined, the path information is stored in the first storage means. If the second priority is determined, the path information is stored in the second storage means. Is immediately transmitted to the destination router, and the route information stored in the second storage means is transmitted at a timing that does not adversely affect the processing of the destination router. It is possible to reduce the load on the transmission destination.

以下に、本発明にかかるパケット中継装置、パケット中継方法およびパケット中継プログラムの実施例を図面に基づいて詳細に説明する。なお、この実施例によりこの発明が限定されるものではない。   Embodiments of a packet relay device, a packet relay method, and a packet relay program according to the present invention will be described below in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.

図1は、本発明にかかる一実施例の構成を示すブロック図である。同図において、図7の各部に対応する部分には同一の符号を付け、その説明を省略する。図1においては、図7に示したルートリフレクタ装置301〜304に代えて、ルートリフレクタ装置1001〜1004が設けられている。 FIG. 1 is a block diagram showing the configuration of an embodiment according to the present invention. In the figure, portions corresponding to the respective portions in FIG. In FIG. 1, route reflector devices 100 1 to 100 4 are provided instead of the route reflector devices 30 1 to 30 4 shown in FIG. 7.

ルートリフレクタ装置1001〜1004は、プロバイダエッジルータ201およびプロバイダエッジルータ202に対する上位装置であり、経路情報を中継する機能を備えている。ここで、ルートリフレクタ装置1001〜1004においては、ルートリフレクタ装置301〜304(図7参照)と同様にして、ルートリフレクタ装置1002およびルートリフレクタ装置1003を並列的に設けることにより、並列冗長が採られている。 The route reflector devices 100 1 to 100 4 are host devices for the provider edge router 20 1 and the provider edge router 20 2 , and have a function of relaying route information. Here, in the route reflector devices 100 1 to 100 4 , the route reflector device 100 2 and the route reflector device 100 3 are provided in parallel in the same manner as the route reflector devices 30 1 to 30 4 (see FIG. 7). Parallel redundancy is adopted.

図2は、図1に示したルートリフレクタ装置1001の構成を示すブロック図である。同図に示したルートリフレクタ装置1001において、パケット受信部101は、経路情報パケットを受信する機能を備えている。パケット処理部102は、パケット受信部101で受信された経路情報パケットに基づいて、最適経路に対応する経路情報パケットを選択する機能と、選択された経路情報パケットの優先度を判断する機能とを備えている。 FIG. 2 is a block diagram showing a configuration of the route reflector device 100 1 shown in FIG. In the route reflector device 100 1 shown in the figure, the packet receiving unit 101 has a function of receiving a route information packet. The packet processing unit 102 has a function of selecting a route information packet corresponding to the optimum route based on the route information packet received by the packet receiving unit 101, and a function of determining the priority of the selected route information packet. I have.

ここで、優先度が高い(優先度1)と判断した場合、パケット処理部102は、当該経路情報パケットをプライマリキュー105に格納する。一方、優先度が低い(優先度2)と判断した場合、パケット処理部102は、当該経路情報パケットをセカンダリキュー106に格納する。   Here, when it is determined that the priority is high (priority 1), the packet processing unit 102 stores the route information packet in the primary queue 105. On the other hand, when determining that the priority is low (priority 2), the packet processing unit 102 stores the route information packet in the secondary queue 106.

プライマリキュー105は、優先度が高い(優先度1)と判断された経路情報パケットをキュー構造にて格納する格納部である。一方、セカンダリキュー106は、優先度が低い(優先度2)と判断された経路情報パケットをキュー構造にて格納する格納部である。経路情報データベース103は、パケット受信部101で受信された経路情報パケットを格納するデータベースである。   The primary queue 105 is a storage unit that stores, in a queue structure, path information packets that are determined to have high priority (priority 1). On the other hand, the secondary queue 106 is a storage unit that stores path information packets determined to have a low priority (priority 2) in a queue structure. The route information database 103 is a database that stores route information packets received by the packet receiving unit 101.

最適経路情報データベース104は、パケット処理部102で最適経路に対応する経路情報パケットと判断されたものを格納するデータベースである。パケット生成部107は、プライマリキュー105またはセカンダリキュー106に格納された経路情報パケットに基づいて、宛先等を変更した送信用の経路情報パケットを生成する機能を備えている。パケット送信部108は、パケット生成部107で生成された経路情報パケットを送信する機能を備えている。なお、図1に示したルートリフレクタ装置1004も上述したルートリフレクタ装置1001と同一の構成とされている。 The optimum route information database 104 is a database that stores packets that are determined as route information packets corresponding to the optimum route by the packet processing unit 102. The packet generation unit 107 has a function of generating a transmission route information packet whose destination is changed based on the route information packet stored in the primary queue 105 or the secondary queue 106. The packet transmission unit 108 has a function of transmitting the route information packet generated by the packet generation unit 107. The route reflector device 100 4 shown in FIG. 1 has the same configuration as the route reflector device 100 1 described above.

つぎに、一実施例の動作について、図3〜図5を参照しつつ説明する。図3は、図2に示したパケット受信部101およびパケット処理部102の動作を説明するフローチャートである。図4は、図2に示したパケット生成部107およびパケット送信部108の動作を説明するフローチャートである。図5は、一実施例の動作を説明するブロック図である。   Next, the operation of the embodiment will be described with reference to FIGS. FIG. 3 is a flowchart for explaining operations of the packet receiver 101 and the packet processor 102 shown in FIG. FIG. 4 is a flowchart for explaining operations of the packet generator 107 and the packet transmitter 108 shown in FIG. FIG. 5 is a block diagram for explaining the operation of the embodiment.

図3に示したステップSA1では、ルートリフレクタ装置1001のパケット処理部102は、(図2参照)は、パケット受信部101で経路情報パケットを受信したかまたは障害が発生したか否かを判断し、この場合、判断結果を「No」として、同判断を繰り返す。ここでいう障害とは、ルートリフレクタ装置1002またはルートリフレクタ装置1003における障害をいう。 In step SA1 shown in FIG. 3, the packet processing unit 102 of the route reflector device 100 1 (see FIG. 2) determines whether the packet receiving unit 101 has received a route information packet or a failure has occurred. In this case, the determination result is “No” and the determination is repeated. The failure here means a failure in the route reflector device 100 2 or the route reflector device 100 3 .

また、図4に示したステップSB1では、ルートリフレクタ装置1001のパケット生成部107は、パケット送信部108でプライマリキュー105に関する経路情報パケットの送信が完了したか否かを判断し、この場合、判断結果を「Yes」とする。ステップSB2では、パケット生成部107は、セカンダリキュー106に関する処理が必要であるか否かを判断し、この場合、判断結果を「No」として、ステップSB1の判断を行う。以後、パケット生成部107は、ステップSB1の判断結果が「No」またはステップSB2の判断結果が「Yes」となるまで、ステップSB1およびステップSB2の判断を繰り返す。 In step SB1 shown in FIG. 4, the packet generation unit 107 of the route reflector device 100 1 determines whether or not the packet transmission unit 108 has completed transmission of the route information packet related to the primary queue 105, and in this case, The determination result is “Yes”. In step SB2, the packet generation unit 107 determines whether or not processing related to the secondary queue 106 is necessary. In this case, the determination result is “No” and the determination in step SB1 is performed. Thereafter, the packet generation unit 107 repeats the determinations of step SB1 and step SB2 until the determination result of step SB1 is “No” or the determination result of step SB2 is “Yes”.

ここで、セカンダリキュー106に関する処理は、予め設定された時刻(例えば、プロバイダエッジルータ201の負荷が低くなる時刻)や、予め設定された条件(例えば、プロバイダエッジルータ201の負荷がしきい値以下となった場合)に実行される。 Here, the processing relating to the secondary queue 106, preset time (e.g., provider edge router 20 time 1 of load becomes lower) and a preset condition (e.g., provider edge routers 20 1 of load threshold When the value is less than or equal to the value).

そして、例えば、プロバイダエッジルータ202から、配信対象の経路情報に関する経路情報パケット40が送信されると、経路情報パケット40は、ルートリフレクタ装置1004に受信される。ここで、経路情報パケット40には、配信先のルータ(例えば、図1では、プロバイダエッジルータ201)におけるフォワーディングに影響を与える情報(ラベル等(weight,local preference,as path,origin,med,igpmetric))と、与えない情報とに分けられる。 For example, when the route information packet 40 regarding the route information to be distributed is transmitted from the provider edge router 20 2 , the route information packet 40 is received by the route reflector device 100 4 . Here, the route information packet 40 includes information (label, etc. (weight, local preference, as path, origin, med, etc.) that affects the forwarding in the destination router (for example, provider edge router 20 1 in FIG. 1 ). igpmetric)) and non-given information.

ルートリフレクタ装置1004は、経路情報パケット40から2つの経路情報パケット40aおよび経路情報パケット40bをコピーした後、これらを送信する。経路情報パケット40aは、ルートリフレクタ装置1002に中継された後、ルートリフレクタ装置1001のパケット受信部101(図2参照)に受信される。一方、経路情報パケット40bは、ルートリフレクタ装置1003に中継された後、ルートリフレクタ装置1001のパケット受信部101(図2参照)に受信される。 The route reflector device 100 4 copies the two route information packets 40a and the route information packet 40b from the route information packet 40, and transmits them. Route information packet 40a, after being relayed to route reflector apparatus 100 2 it is received by the route reflector apparatus 100 1 of the packet receiving unit 101 (see FIG. 2). On the other hand, the path information packet 40b after being relayed to a route reflector apparatus 100 3, is received by the route reflector apparatus 100 1 of the packet receiving unit 101 (see FIG. 2).

これにより、ルートリフレクタ装置1001のパケット処理部102は、図3に示したステップSA1の判断結果を「Yes」とする。ステップSA2では、パケット処理部102は、経路情報パケット40aおよび経路情報パケット40bを経路情報データベース103に格納した後、経路情報パケット40aおよび経路情報パケット40bから最適経路に対応する経路情報パケットを所定の選択基準により選択する。 As a result, the packet processing unit 102 of the route reflector device 100 1 sets “Yes” as a result of the determination made at step SA1 shown in FIG. In step SA2, the packet processing unit 102 stores the route information packet 40a and the route information packet 40b in the route information database 103, and then selects a route information packet corresponding to the optimum route from the route information packet 40a and the route information packet 40b. Select according to selection criteria.

この場合、パケット処理部102は、経路情報パケット40aを最適経路に対応する経路情報として選択し、最適経路情報データベース104に経路情報パケット40aを格納する。ステップSA3では、パケット処理部102は、最適経路情報データベース104を参照して、今回選択された経路情報パケット40aと、最適経路情報データベース104に格納されている前回選択された経路情報パケットとが同一であるか否を判断する。   In this case, the packet processing unit 102 selects the route information packet 40 a as route information corresponding to the optimum route, and stores the route information packet 40 a in the optimum route information database 104. In step SA3, the packet processing unit 102 refers to the optimum route information database 104, and the route information packet 40a selected this time is the same as the previously selected route information packet stored in the optimum route information database 104. It is determined whether or not.

ステップSA3の判断結果が「Yes」である場合、パケット処理部102は、経路情報パケットをプロバイダエッジルータ201に送信する必要が無いため、いずれの処理も実行せずに、ステップSA1の判断を行う。 If the judgment result of step SA3 is "Yes", the packet processing unit 102 does not need to send the path information packet in the provider edge router 20 1, without executing any processing, the determination in step SA1 Do.

そして、図5に示したように、ルートリフレクタ装置1002で障害が発生すると、ルートリフレクタ装置1001のパケット処理部102は、パケット受信部101を経由して障害を検知し、図3に示したステップSA1の判断結果を「Yes」とする。 As shown in FIG. 5, when a failure occurs in the route reflector device 100 2 , the packet processing unit 102 of the route reflector device 100 1 detects the failure via the packet receiving unit 101, and is shown in FIG. 3. The determination result of step SA1 is “Yes”.

ステップSA2では、パケット処理部102は、経路情報データベース103から先にルートリフレクタ装置1003より受信された経路情報パケット40bを、経路情報パケット40aに代えて、最適経路に対応する経路情報パケットとして選択する。 At step SA2, the packet processing unit 102, selects previously the path information packet 40b received from the route reflector 100 3 from the routing information database 103, instead of the routing information packets 40a, as route information packet corresponding to the optimum route To do.

ステップSA3では、パケット処理部102は、最適経路情報データベース104を参照して、今回選択された経路情報パケット40bと、最適経路情報データベース104に格納されている前回選択された経路情報パケットとが同一であるか否を判断する。この場合、ルートリフレクタ装置1001から見た経路情報パケット40aの送信元(ルートリフレクタ装置1002)と、経路情報パケット40bの送信元(ルートリフレクタ装置1003)とが異なるため、経路情報パケット40aと経路情報パケット40bとは同一ではない。従って、パケット処理部102は、ステップSA3の判断結果を「No」とする。 In step SA3, the packet processing unit 102 refers to the optimum route information database 104, and the currently selected route information packet 40b is the same as the previously selected route information packet stored in the optimum route information database 104. It is determined whether or not. In this case, since the transmission source of the route information packet 40a (route reflector device 100 2 ) and the transmission source of the route information packet 40b (route reflector device 100 3 ) viewed from the route reflector device 100 1 are different, the route information packet 40a. And the route information packet 40b are not the same. Therefore, the packet processing unit 102 sets “No” as a result of the determination made at step SA3.

ステップSA4では、パケット処理部102は、選択された経路情報パケット40bについて、経路情報パケット40aと比較して、経路情報パケットの配信先(この場合、プロバイダエッジルータ201)におけるフォワーディングに影響を与える情報に変更があるか否かを判断する。 In step SA4, the packet processing unit 102 affects the forwarding at the distribution destination of the route information packet (in this case, the provider edge router 20 1 ) for the selected route information packet 40b as compared with the route information packet 40a. Determine whether the information has changed.

この場合、判断結果が「No」であるものとすると、ステップSA6では、パケット処理部102は、経路情報パケット40bを優先度が低いとして、セカンダリキュー106(図2参照)に格納した後、ステップSA1の判断を行う。従って、経路情報パケット40bは、図4に示したステップSB2の判断結果が「Yes」となるまで、プロバイダエッジルータ201に送信されない。なお、セカンダリキュー106に同一経路に関するデータがある場合、パケット処理部102は、当該データを経路情報パケット40bに書き換える。 In this case, assuming that the determination result is “No”, in step SA6, the packet processing unit 102 stores the route information packet 40b in the secondary queue 106 (see FIG. 2) as having low priority, and then performs step The determination of SA1 is performed. Therefore, the path information packet 40b until the determination in step SB2 shown in FIG. 4 is "Yes", not sent to the provider edge router 20 1. If there is data relating to the same route in the secondary queue 106, the packet processing unit 102 rewrites the data into the route information packet 40b.

そして、上述した予め設定された時刻(例えば、プロバイダエッジルータ201の負荷が低くなる時刻)や、予め設定された条件(例えば、プロバイダエッジルータ201の負荷がしきい値以下となった場合)になると、ルートリフレクタ装置1001のパケット生成部107は、ステップSB2の判断結果を「Yes」とする。 The preset time described above (e.g., the time when the load of the provider edge router 20 1 is lower) or a preset condition (e.g., when the load of the provider edge router 20 1 is equal to or less than the threshold value ), The packet generation unit 107 of the route reflector device 100 1 sets “Yes” as a result of the determination made at step SB2.

ステップSB4では、パケット生成部107は、セカンダリキュー106に格納されている経路情報パケット40bの宛先等を付け替え、送信用の経路情報パケット40bを生成する。つぎに、パケット送信部108は、経路情報パケット40bをプロバイダエッジルータ201へ送信する。プロバイダエッジルータ201は、負荷が低い場合に、経路情報パケット40bを受信することになるため、図8で説明したように高負荷とならない。 In step SB4, the packet generation unit 107 changes the destination of the route information packet 40b stored in the secondary queue 106, and generates a route information packet 40b for transmission. Next, the packet transmitting unit 108 transmits the path information packet 40b to the provider edge router 20 1. Provider edge router 20 1, when the load is low, that will receive a route information packet 40b, not a high load as described in FIG. 8.

なお、一実施例においては、ステップSB4で送信可能な経路情報パケットのデータ量に制限を設けて、経路情報パケット40bを複数回に分けてすこしずつ送信する構成例としてもよい。   In one embodiment, the data amount of the route information packet that can be transmitted in step SB4 may be limited, and the route information packet 40b may be divided into a plurality of times and transmitted little by little.

一方、図3に示したステップSA4の判断結果が「Yes」である場合、パケット処理部102は、当該経路情報パケットを優先度が高いとして、プライマリキュー105(図2参照)に格納した後、ステップSA1の判断を行う。   On the other hand, when the determination result of step SA4 shown in FIG. 3 is “Yes”, the packet processing unit 102 stores the route information packet in the primary queue 105 (see FIG. 2) as high priority, The determination at step SA1 is performed.

これにより、パケット生成部107は、図4に示したステップSB1の判断結果を「No」とする。ステップSB3では、パケット生成部107は、プライマリキュー105に格納されている当該経路情報パケットの宛先等を付け替え、送信用の経路情報パケットを生成する。   Thereby, the packet generation unit 107 sets “No” as a result of the determination made at step SB1 shown in FIG. In step SB3, the packet generation unit 107 changes the destination of the route information packet stored in the primary queue 105, and generates a route information packet for transmission.

つぎに、パケット送信部108は、当該経路情報パケットをプロバイダエッジルータ201へ送信する。この場合、プロバイダエッジルータ201に対して、優先度が高い経路情報パケットが即時に送信されるため、プロバイダエッジルータ201の負荷が高くなる場合があるもののフォワーディングに影響を与えることがない。 Next, the packet transmitting unit 108 transmits the path information packet to the provider edge router 20 1. In this case, the provider edge router 20 1, high priority route information packet to be sent immediately, there is no influence on forwarding those which may load the provider edge router 20 1 is high.

以上説明したように、一実施例によれば、ルートリフレクタ装置1001で中継対象の経路情報パケットを受信した場合、所定の基準に基づいて、該経路情報パケットの優先度を、第1優先度または該第1優先度よりも低い第2優先度と判断し、第1優先度と判断された場合、当該経路情報パケットをプライマリキュー105に格納し、第2優先度と判断された場合、当該経路情報パケットをセカンダリキュー106に格納し、プライマリキュー105に格納された経路情報パケットを即時に送信先のプロバイダエッジルータ201へ送信し、セカンダリキュー106に格納された経路情報パケットを送信先のルータの処理に悪影響を与えないタイミングで送信することとしたので、経路情報パケットの送信先の負荷を軽減することができる。 As described above, according to one embodiment, when receiving the path information packet to be relayed by the route reflector device 100 1, based on predetermined criteria, the priority of the route information packet, the first priority Alternatively, when the second priority is determined to be lower than the first priority and the first priority is determined, the route information packet is stored in the primary queue 105, and when the second priority is determined, storing route information packet to the secondary queue 106, and sends to the destination provider edge router 20 1 routing information packets stored in the primary queue 105 immediately, the destination routing information packets stored in the secondary queue 106 Since transmission is performed at a timing that does not adversely affect the processing of the router, it is possible to reduce the load on the transmission destination of the route information packet.

以上本発明にかかる一実施例について図面を参照して詳述してきたが、具体的な構成例はこの一実施例に限られるものではなく、本発明の要旨を逸脱しない範囲の設計変更等があっても本発明に含まれる。   Although one embodiment according to the present invention has been described in detail with reference to the drawings, a specific configuration example is not limited to this one embodiment, and design changes and the like within a scope not departing from the gist of the present invention are possible. Even if it exists, it is included in this invention.

例えば、前述した一実施例においては、ルートリフレクタ装置1001〜1004の各機能を実現するためのプログラムを図6に示したコンピュータ読み取り可能な記録媒体300に記録して、この記録媒体300に記録されたプログラムを同図に示したコンピュータ200に読み込ませ、実行することにより各機能を実現してもよい。 For example, in the above-described embodiment, a program for realizing each function of the route reflector devices 100 1 to 100 4 is recorded on the computer-readable recording medium 300 shown in FIG. Each function may be realized by reading the recorded program into the computer 200 shown in FIG.

同図に示したコンピュータ200は、上記プログラムを実行するCPU(Central Processing Unit)210と、キーボード、マウス等の入力装置220と、各種データを記憶するROM(Read Only Memory)230と、演算パラメータ等を記憶するRAM(Random Access Memory)240と、記録媒体300からプログラムを読み取る読取装置250と、ディスプレイ、プリンタ等の出力装置260とから構成されている。   A computer 200 shown in the figure includes a CPU (Central Processing Unit) 210 that executes the above-described program, an input device 220 such as a keyboard and a mouse, a ROM (Read Only Memory) 230 that stores various data, an operation parameter, and the like. RAM (Random Access Memory) 240, a reading device 250 for reading a program from the recording medium 300, and an output device 260 such as a display and a printer.

CPU210は、読取装置250を経由して記録媒体300に記録されているプログラムを読み込んだ後、プログラムを実行することにより、前述した機能を実現する。なお、記録媒体300としては、光ディスク、フレキシブルディスク、ハードディスク等が挙げられる。   The CPU 210 implements the above-described functions by reading a program recorded on the recording medium 300 via the reading device 250 and executing the program. Examples of the recording medium 300 include an optical disk, a flexible disk, and a hard disk.

以上のように、本発明にかかるパケット中継装置、パケット中継方法およびパケット中継プログラムは、経路情報パケットの中継に対して有用である。   As described above, the packet relay device, the packet relay method, and the packet relay program according to the present invention are useful for relaying route information packets.

本発明にかかる一実施例の構成を示すブロック図である。It is a block diagram which shows the structure of one Example concerning this invention. 図1に示したルートリフレクタ装置1001の構成を示すブロック図である。It is a block diagram showing the configuration of a route reflector apparatus 100 1 shown in FIG. 図2に示したパケット受信部101およびパケット処理部102の動作を説明するフローチャートである。3 is a flowchart illustrating operations of a packet receiving unit 101 and a packet processing unit 102 illustrated in FIG. 図2に示したパケット生成部107およびパケット送信部108の動作を説明するフローチャートである。3 is a flowchart illustrating operations of a packet generation unit 107 and a packet transmission unit 108 illustrated in FIG. 同一実施例の動作を説明するブロック図である。It is a block diagram explaining operation | movement of the same Example. 同一実施例の変形例の構成を示すブロック図である。It is a block diagram which shows the structure of the modification of the same Example. 従来の経路情報の配信方法を説明するブロック図である。It is a block diagram explaining the delivery method of the conventional route information. 従来の経路情報の配信方法を説明するブロック図である。It is a block diagram explaining the delivery method of the conventional route information.

符号の説明Explanation of symbols

1001〜1004 ルートリフレクタ装置
101 パケット受信部
102 パケット処理部
103 経路情報データベース
104 最適経路情報データベース
105 プライマリキュー
106 セカンダリキュー
107 パケット生成部
108 パケット送信部
100 1 to 100 4 route reflector device 101 packet receiving unit 102 packet processing unit 103 route information database 104 optimum route information database 105 primary queue 106 secondary queue 107 packet generation unit 108 packet transmission unit

Claims (6)

パケットネットワークにおけるルータ間で交換される経路情報を中継するパケット中継装置であって、
第1優先度と該第1優先度よりも低い第2優先度とを設け、送信先のルータへ送信された経路情報と、受信された経路情報とを比較し、該ルータのフォワーディングに影響がある場合に、受信された経路情報の優先度を第1優先度と判断する優先度判断手段と、
前記優先度判断手段により第1優先度と判断された場合、当該経路情報を第1格納手段に格納し、第2優先度と判断された場合、当該経路情報を第2格納手段に格納する格納制御手段と、
前記第1格納手段に格納された経路情報を即時に送信先のルータへ送信し、前記第2格納手段に格納された経路情報を前記送信先のルータの処理に悪影響を与えないタイミングで送信する送信制御手段と、
を備えたことを特徴とするパケット中継装置。
A packet relay device that relays route information exchanged between routers in a packet network,
A first priority and a second priority lower than the first priority are provided, the route information transmitted to the destination router is compared with the received route information, and the forwarding of the router is affected. In some cases, priority determination means for determining the priority of the received route information as the first priority;
When it is determined that the priority is determined to be the first priority, the route information is stored in the first storage unit. When it is determined that the priority is the second priority, the route information is stored in the second storage unit. Control means;
The route information stored in the first storage unit is immediately transmitted to the destination router, and the route information stored in the second storage unit is transmitted at a timing that does not adversely affect the processing of the destination router. Transmission control means;
A packet relay device comprising:
前記送信制御手段は、前記送信先のルータの負荷がしきい値以下である場合に前記経路情報を送信することを特徴とする請求項1に記載のパケット中継装置。 2. The packet relay device according to claim 1 , wherein the transmission control unit transmits the path information when a load on the destination router is equal to or less than a threshold value. 前記送信制御手段は、前記経路情報を複数回に分けて送信することを特徴とする請求項1または2に記載のパケット中継装置。 The packet relay apparatus according to claim 1 , wherein the transmission control unit transmits the route information in a plurality of times. パケットネットワークにおけるルータ間で交換される経路情報を中継するパケット中継装置に適用されるパケット中継プログラムであって、
コンピュータに、
第1優先度と該第1優先度よりも低い第2優先度とを設け、送信先のルータへ送信された経路情報と、受信された経路情報とを比較し、該ルータのフォワーディングに影響がある場合に、受信された経路情報の優先度を第1優先度と判断する優先度判断工程と、
前記優先度判断工程で第1優先度と判断された場合、当該経路情報を第1格納手段に格納し、第2優先度と判断された場合、当該経路情報を第2格納手段に格納する格納制御工程と、
前記第1格納手段に格納された経路情報を即時に送信先のルータへ送信し、前記第2格納手段に格納された経路情報を前記送信先のルータの処理に悪影響を与えないタイミングで送信する送信制御工程と、
を実行させるためのパケット中継プログラム。
A packet relay program applied to a packet relay device that relays route information exchanged between routers in a packet network,
On the computer,
A first priority and a second priority lower than the first priority are provided, the route information transmitted to the destination router is compared with the received route information, and the forwarding of the router is affected. A priority determination step of determining the priority of the received route information as the first priority in a case;
When it is determined that the priority is determined as the first priority in the priority determination step, the route information is stored in the first storage unit. When it is determined as the second priority, the route information is stored in the second storage unit. Control process;
The route information stored in the first storage unit is immediately transmitted to the destination router, and the route information stored in the second storage unit is transmitted at a timing that does not adversely affect the processing of the destination router. A transmission control process;
Packet relay program for executing
前記送信制御工程では、前記送信先のルータの負荷がしきい値以下である場合に前記経路情報を送信することを特徴とする請求項4に記載のパケット中継プログラム。 5. The packet relay program according to claim 4 , wherein, in the transmission control step, the route information is transmitted when a load on the destination router is equal to or less than a threshold value. 前記送信制御工程では、前記経路情報を複数回に分けて送信することを特徴とする請求項4または5に記載のパケット中継プログラム。 6. The packet relay program according to claim 4 , wherein, in the transmission control step, the route information is transmitted in a plurality of times.
JP2004191673A 2004-06-29 2004-06-29 Packet relay apparatus and packet relay program Expired - Fee Related JP3836854B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004191673A JP3836854B2 (en) 2004-06-29 2004-06-29 Packet relay apparatus and packet relay program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004191673A JP3836854B2 (en) 2004-06-29 2004-06-29 Packet relay apparatus and packet relay program

Publications (2)

Publication Number Publication Date
JP2006014198A JP2006014198A (en) 2006-01-12
JP3836854B2 true JP3836854B2 (en) 2006-10-25

Family

ID=35780841

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004191673A Expired - Fee Related JP3836854B2 (en) 2004-06-29 2004-06-29 Packet relay apparatus and packet relay program

Country Status (1)

Country Link
JP (1) JP3836854B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7916626B2 (en) * 2006-06-19 2011-03-29 Harris Corporation Method and system for fault-tolerant quality of service

Also Published As

Publication number Publication date
JP2006014198A (en) 2006-01-12

Similar Documents

Publication Publication Date Title
Lakshminarayanan et al. Achieving convergence-free routing using failure-carrying packets
CN101573927B (en) Path MTU discovery in network system
US8064432B2 (en) System for utilizing genetic algorithm to provide constraint-based routing of packets in a communication network
US6912587B1 (en) Method for utilizing a generic algorithm to provide constraint-based routing of packets in a communication network
US20060291446A1 (en) Systems, methods, and devices for managing routing
Ganichev et al. YAMR: Yet another multipath routing protocol
US10826823B2 (en) Centralized label-based software defined network
US9674072B1 (en) Route topology discovery in data networks
US20210377158A1 (en) Best Path Computation Offload In A Network Computing Environment
JP5965335B2 (en) COMMUNICATION SYSTEM AND ROUTE CONTROL METHOD
Hodaei et al. A survey on traffic management in software-defined networks: challenges, effective approaches, and potential measures
JP4407369B2 (en) Wireless network system, packet loss reducing method for wireless network system, and wireless communication apparatus
Yang et al. Message-oriented middleware with QoS awareness
JP3836854B2 (en) Packet relay apparatus and packet relay program
CN107409132B (en) Method and network node for dynamically configuring flow segmentation by software defined network control signaling
US8750166B2 (en) Route topology discovery in data networks
US7742409B2 (en) Method and apparatus for compensating for performance degradation of an application session
Fortz Applications of meta‐heuristics to traffic engineering in IP networks
White et al. Optimal Routing Design
EP1673901B1 (en) Method and apparatus for generating routing information in a data communications network
JP4936544B2 (en) Network design method, design apparatus and program thereof
WO2011024701A1 (en) Network design system, network design method, data transfer route determining method, network design program
McPherson et al. Experience with the BGP-4 Protocol
JP2016225729A (en) Network system, data transfer control method and control device
JP7230729B2 (en) Route control device, route control method, and program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060420

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060425

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060626

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060727

R151 Written notification of patent or utility model registration

Ref document number: 3836854

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20090804

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

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

Free format text: PAYMENT UNTIL: 20090804

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20090804

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100804

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20110804

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20110804

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120804

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20120804

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130804

Year of fee payment: 7

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees