JP2010028464A - Communication system and transfer device - Google Patents

Communication system and transfer device Download PDF

Info

Publication number
JP2010028464A
JP2010028464A JP2008187598A JP2008187598A JP2010028464A JP 2010028464 A JP2010028464 A JP 2010028464A JP 2008187598 A JP2008187598 A JP 2008187598A JP 2008187598 A JP2008187598 A JP 2008187598A JP 2010028464 A JP2010028464 A JP 2010028464A
Authority
JP
Japan
Prior art keywords
link state
state information
transfer
network
representative
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2008187598A
Other languages
Japanese (ja)
Inventor
Yuya Nakano
裕也 中野
Keiichiro Yamate
圭一郎 山手
Ryoichi Matsushita
良壱 松下
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.)
Alaxala Networks Corp
Original Assignee
Alaxala Networks 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 Alaxala Networks Corp filed Critical Alaxala Networks Corp
Priority to JP2008187598A priority Critical patent/JP2010028464A/en
Publication of JP2010028464A publication Critical patent/JP2010028464A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To prevent the communication which does not go through a representative device from stop working when there occurs a failure in the representative device of a broadcast subnetwork using a link-state for routing, and to shorten the time until switching the communication path of the communication via the representative device to the other device on the subnetwork. <P>SOLUTION: Both the representative device 11 and the other alternative representative device 12 selected generate link state information about the subnetwork about the broadcast subnetwork. All transfer devices 11 to 13 connected to the subnetwork are configured to include the link to both the link-state information about the subnetwork generated by the respective representative device 11 and the alternative representative device 12. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、通信システム及び転送装置に係り、特にルーティングにリンクステートを使用しているブロードキャストサブネットワークにおいて、代表装置に障害が発生したときに、代表装置を経由しない通信を停止させず、代表装置を経由する通信の通信経路を速やかに切り替えるための通信システム及び転送装置に関する。   The present invention relates to a communication system and a transfer device, and in particular in a broadcast subnetwork that uses a link state for routing, when a failure occurs in a representative device, communication that does not pass through the representative device is not stopped. The present invention relates to a communication system and a transfer device for quickly switching a communication path of communication passing through.

従来のリンクステート型のルーティングプロトコルにおいて、ブロードキャストネットワーク上に、ルータなどの複数の転送装置が存在するときは、代表となる転送装置(代表装置)を1台選択する。代表装置は、ブロードキャストサブネットワークで交換する経路情報を一旦収集し、各転送装置にその経路情報を確実に再配布する。また、代表装置は、ネットワークからみた転送装置との接続情報をネットワークに代わりに生成し広告する。
従来技術として、ブロードキャストサブネットワークにおいて、代表装置又は、代表装置の代替となる転送装置である代替代表装置等を選択する代表的なリンクステート型のルーティングプロトコルとして、非特許文献1等に示されるように、OSPF(Open Shortest Path First)がある。
代表装置に障害が発生した場合、別の転送装置が代表装置となり、代表装置の機能を続行する。代表装置に障害が発生してから代わりの転送装置が代表装置の機能を引き継ぐまでの間、経路情報交換が停止し、ブロードキャストネットワークについてのリンクステート情報がトポロジ上のノードとして無効になる。経路情報交換については、代表装置の他に代替代表装置を置くことにより、代表装置に障害が発生しても中断なく機能を継続させる方法が存在し、実施されている。しかし、ブロードキャストネットワークについてのリンクステート情報を有効なまま維持し続ける方法は、従来提案されていない。
In a conventional link state type routing protocol, when a plurality of transfer devices such as routers exist on a broadcast network, one representative transfer device (representative device) is selected. The representative device once collects route information to be exchanged in the broadcast subnetwork and reliably redistributes the route information to each transfer device. The representative device generates and advertises connection information with the transfer device as seen from the network instead of the network.
As a conventional technique, as shown in Non-Patent Document 1, etc., as a typical link state type routing protocol for selecting a representative device or an alternative representative device that is a transfer device that replaces the representative device in a broadcast subnetwork. There is an OSPF (Open Shortest Path First).
When a failure occurs in the representative device, another transfer device becomes the representative device and continues the function of the representative device. Between the occurrence of a failure in the representative device and the replacement transfer device taking over the function of the representative device, the path information exchange stops, and the link state information about the broadcast network becomes invalid as a node on the topology. For the exchange of route information, there is a method in which an alternative representative device is placed in addition to the representative device so that the function continues without interruption even if a failure occurs in the representative device. However, no method has been proposed in the past to keep link state information about a broadcast network valid.

Internet Engineering Task Force, RFC 2328, “OSPF Version 2”Internet Engineering Task Force, RFC 2328, “OSPF Version 2”

本発明は、以上の点に鑑み、ルーティングにリンクステートを使っているブロードキャストサブネットワークの代表装置で障害が発生した場合、ブロードキャストサブネットワークについてのリンクステート情報が無効になるため、代表装置を経由しない通信が停止することを防ぐことを目的の一つとする。
本発明は、また、代表装置を経由する通信の通信経路をブロードキャストサブネットワーク上の他の転送装置へ切り替えるまでの時間を短縮することを目的の一つとする。
In the present invention, in view of the above points, when a failure occurs in a representative device of a broadcast subnetwork that uses a link state for routing, the link state information about the broadcast subnetwork becomes invalid, and thus does not pass through the representative device. One of the purposes is to prevent communication from being stopped.
Another object of the present invention is to shorten the time required to switch the communication path of communication via the representative device to another transfer device on the broadcast subnetwork.

ブロードキャストサブネットワークにおいて、代表装置の他に代替代表装置を用意し、その2台の転送装置がそのサブネットワークについてのリンクステート情報をそれぞれ生成する。
代表装置、代替代表装置を含むサブネットワークに接続しているすべての転送装置において、各転送装置が生成するリンクステート情報に、代表装置が生成したサブネットワークについてのリンクステート情報へのリンクと、代替代表装置が生成したサブネットワークについてのリンクステート情報へのリンクの両方のリンクを含める。
代表装置で障害が発生し、代表装置が生成したサブネットワークについてのリンクステート情報が無効となった場合、あるいは各装置が生成したリンクステート情報に含まれる、代表装置が生成したサブネットワークについてのリンクステート情報へのリンクが無効になった場合、代替代表装置が生成したサブネットワークについてのリンクステート情報と、各転送装置が生成したリンクステート情報に含まれる、代替代表装置が生成したサブネットワークについてのリンクステート情報へのリンクにより、代表装置を除くサブネットワーク間の通信を維持することができる。
In the broadcast subnetwork, an alternative representative device is prepared in addition to the representative device, and the two transfer devices respectively generate link state information for the subnetwork.
In all transfer devices connected to the sub-network including the representative device and the substitute representative device, the link state information generated by each transfer device includes a link to the link state information for the sub-network generated by the representative device, and the substitute device Include both links in the link state information for the subnetwork generated by the representative device.
When a failure occurs in the representative device and the link state information about the subnetwork generated by the representative device becomes invalid, or the link about the subnetwork generated by the representative device included in the link state information generated by each device When the link to the state information becomes invalid, the link state information about the subnetwork generated by the alternative representative device and the subnetwork generated by the alternative representative device included in the link state information generated by each transfer device Communication between the sub-networks excluding the representative device can be maintained by the link to the link state information.

本発明の第1の解決手段によると、
ネットワークに接続し、ルーティングにリンクステートを使用している複数の転送装置を備えた通信システムであって、
代表装置に選択された転送装置が、前記ネットワークについての第1のネットワーク・リンクステート情報を生成し、生成した前記第1のネットワーク・リンクステート情報を送信し、
代替代表装置に選択された転送装置が、前記ネットワークについての第2のリンクステート情報を生成し、生成した前記第2ネットワーク・リンクステート情報を送信し、
前記代表装置及び代替代表装置、及び、前記代表装置又は前記代替代表装置以外のひとつ又は複数の転送装置は、それぞれ、前記代替代表装置及び前記代表装置が生成した前記第1及び第2のネットワーク・リンクステート情報への両方のリンクを含めた、自装置についての装置・リンクステート情報を生成し、生成した前記装置・リンクステート情報を送信し、
前記代表装置又は前記代替代表装置以外のひとつ又は複数の転送装置は、受信した前記第1及び第2のネットワーク・リンクステート情報と複数の前記装置・リンクステート情報を保持し、
前記代表装置又は前記代表装置とネットワーク間の通信路の障害時に、前記代表装置又は前記代替代表装置以外のひとつ又は複数の転送装置は、前記代替代表装置から受信した前記第2のネットワーク・リンクステート情報へのリンクを用いて、前記代表装置を除く前記ネットワーク上の転送装置間のリンクステート情報上の接続を維持するようにした前記通信システムが提供される。
According to the first solution of the present invention,
A communication system comprising a plurality of transfer devices connected to a network and using link states for routing,
The transfer device selected as the representative device generates the first network link state information about the network, and transmits the generated first network link state information.
The transfer device selected as the substitute representative device generates second link state information about the network, transmits the generated second network link state information,
The representative device, the substitute representative device, and one or a plurality of transfer devices other than the representative device or the substitute representative device are the first and second network devices generated by the substitute representative device and the representative device, respectively. Generate both device and link state information about the device, including both links to the link state information, and send the generated device and link state information.
One or a plurality of transfer devices other than the representative device or the substitute representative device hold the received first and second network link state information and a plurality of the device / link state information,
When the communication path between the representative device or the representative device and the network fails, one or a plurality of transfer devices other than the representative device or the alternative representative device receive the second network link state received from the alternative representative device. The communication system is provided in which a link state information connection between transfer devices on the network excluding the representative device is maintained using a link to information.

本発明の第2の解決手段によると、
ネットワークに接続し、ルーティングにリンクステートを使用している複数の転送装置を備えた通信システムにおける転送装置であって、
転送装置は、代表装置に選択された場合、前記ネットワークについての第1のネットワーク・リンクステート情報を生成し、生成した前記第1のネットワーク・リンクステート情報を送信し、
転送装置は、代替代表装置に選択された場合、前記ネットワークについての第2のリンクステート情報を生成し、生成した前記第2ネットワーク・リンクステート情報を送信し、
前記代表装置及び代替代表装置、及び、前記代表装置又は前記代替代表装置以外のひとつ又は複数の転送装置は、それぞれ、前記代替代表装置及び前記代表装置が生成した前記第1及び第2のネットワーク・リンクステート情報への両方のリンクを含めた、自装置についての装置・リンクステート情報を生成し、生成した前記装置・リンクステート情報を送信し、
前記代表装置又は前記代替代表装置以外のひとつ又は複数の転送装置は、受信した前記第1及び第2のネットワーク・リンクステート情報と複数の前記装置・リンクステート情報を保持し、
前記代表装置又は前記代表装置とネットワーク間の通信路の障害時に、前記代表装置又は前記代替代表装置以外のひとつ又は複数の転送装置は、前記代替代表装置から受信した前記第2のネットワーク・リンクステート情報へのリンクを用いて、前記代表装置を除く前記ネットワーク上の転送装置間のリンクステート情報上の接続を維持するようにした前記転送装置が提供される。
According to the second solution of the present invention,
A transfer device in a communication system comprising a plurality of transfer devices connected to a network and using link states for routing,
When the transfer device is selected as a representative device, the transfer device generates first network link state information about the network, and transmits the generated first network link state information.
When the transfer device is selected as the substitute representative device, the transfer device generates second link state information about the network, and transmits the generated second network link state information.
The representative device, the substitute representative device, and one or a plurality of transfer devices other than the representative device or the substitute representative device are the first and second network devices generated by the substitute representative device and the representative device, respectively. Generate both device and link state information about the device, including both links to the link state information, and send the generated device and link state information.
One or a plurality of transfer devices other than the representative device or the substitute representative device hold the received first and second network link state information and a plurality of the device / link state information,
When the communication path between the representative device or the representative device and the network fails, one or a plurality of transfer devices other than the representative device or the alternative representative device receive the second network link state received from the alternative representative device. The transfer device is provided that uses a link to information to maintain a link state information connection between transfer devices on the network excluding the representative device.

本発明によると、ルーティングにリンクステートを使っているブロードキャストサブネットワークの代表装置で障害が発生した場合、ブロードキャストサブネットワークについてのリンクステート情報が無効になるため、代表装置を経由しない通信が停止することを防ぐことができる。
また、本発明によると、代表装置を経由する通信の通信経路をブロードキャストサブネットワーク上の他の装置へ切り替えるまでの時間を短縮することができる。
According to the present invention, when a failure occurs in a representative device of a broadcast subnetwork that uses a link state for routing, link state information about the broadcast subnetwork becomes invalid, and communication that does not pass through the representative device is stopped. Can be prevented.
Further, according to the present invention, it is possible to shorten the time until the communication path of communication via the representative device is switched to another device on the broadcast subnetwork.

本発明を実施するための最良の形態について図面を参照して説明する。

1.ハード構成
図1は、ネットワーク構成図(1)である。
図示のネットワークは、例えば、転送装置11、12、13、14と、ブロードキャストサブネットワーク21を備える。
転送装置11、12、13は、例えば、ブロードキャストサブネットワーク21に接続されている。また、ルーティングには、例えば、OSPF等のリンクステート型のプロトコルを使用している。転送装置11、12及び13は、転送装置11、12、13の中から、ブロードキャストサブネットワーク21についての代表装置、代替代表装置を選択する。なお、代表装置及び代替代表装置の選択方法については、後述する。説明のため、例えば、代表装置を転送装置11、代替代表装置を転送装置12とする。代表装置である転送装置11は、ブロードキャストサブネットワーク21についてのリンクステート情報を生成する。なお、ブロードキャストサブネットワークについてのリンクステート情報の生成方法については、後述する。
The best mode for carrying out the present invention will be described with reference to the drawings.

1. Hardware Configuration FIG. 1 is a network configuration diagram (1).
The illustrated network includes, for example, transfer apparatuses 11, 12, 13, and 14 and a broadcast subnetwork 21.
The transfer devices 11, 12, and 13 are connected to the broadcast subnetwork 21, for example. For the routing, for example, a link state protocol such as OSPF is used. The transfer devices 11, 12, and 13 select a representative device and an alternative representative device for the broadcast subnetwork 21 from among the transfer devices 11, 12, and 13. A method for selecting the representative device and the alternative representative device will be described later. For the sake of explanation, for example, the representative device is assumed to be the transfer device 11 and the alternative representative device is assumed to be the transfer device 12. The transfer device 11, which is a representative device, generates link state information for the broadcast subnetwork 21. A method for generating link state information for the broadcast subnetwork will be described later.

図19は、転送装置の構成を示すブロック図である。
図示のように、転送装置は、例えば、制御部100と通信部110を備える。制御部100は、例えば、CPU101とメモリ102を備える。CPU101がメモリ102に格納されたプログラムを実行することにより、装置全体の管理やパケット処理などを行う。メモリ102に格納されたプログラムは、ルーティング処理部103を含む。また、ルーティング処理部103は、ルーティングテーブル104を含む。なお、ルーティング処理部103の詳細な構成については、後述する。また、通信部110は、例えば、転送部111とネットワークインタフェース112を備える。ネットワークインタフェース112は、例えば、ポート113を備える。ネットワークインタフェース112は、例えば、ポート113を介してパケット送受信を行う。なお、図中にはポート113は、一例として、ネットワーク112に2つしかないが、それ以上あってもよい。また、一例として、ネットワーク112も同様に2つしかないが、それ以上あってもよい。ポート113から受信されたパケットは転送部111により送信ポートを決定し適切なポート113から送信される。また、ルーティングプロトコルの制御パケットなどは制御部100のルーティング処理部103にて処理される。適切なポートの選択処理及びルーティングプロトコルの制御パケットの処理の詳細については、後述する。
FIG. 19 is a block diagram illustrating a configuration of the transfer apparatus.
As illustrated, the transfer device includes, for example, a control unit 100 and a communication unit 110. For example, the control unit 100 includes a CPU 101 and a memory 102. When the CPU 101 executes a program stored in the memory 102, the entire apparatus is managed and packet processing is performed. The program stored in the memory 102 includes a routing processing unit 103. The routing processing unit 103 includes a routing table 104. A detailed configuration of the routing processing unit 103 will be described later. The communication unit 110 includes a transfer unit 111 and a network interface 112, for example. The network interface 112 includes a port 113, for example. The network interface 112 performs packet transmission / reception via the port 113, for example. In the figure, there are only two ports 113 in the network 112 as an example, but there may be more ports. Also, as an example, there are only two networks 112 as well, but there may be more. A packet received from the port 113 is transmitted from an appropriate port 113 after the transmission unit 111 determines a transmission port. A routing protocol control packet and the like are processed by the routing processing unit 103 of the control unit 100. Details of appropriate port selection processing and routing protocol control packet processing will be described later.

図20は、転送装置のルーティング処理部の内部ブロックを示す構成図である。
ルーティング処理部103は、例えば、ルーティングテーブル104と、受信処理部120と、送信処理部121と、隣接管理部122と、リンクステートデータベース123と、経路計算部124と、リンクステート情報生成部125を備える。リンクステートデータベース123は、例えば、後述するネットワークについてのリンクステート情報30と、自装置についてのリンクステート情報50を含む。

図24は、ネットワークについてのリンクステート情報の説明図である。
ネットワークについてのリンクステート情報30は、例えば、生成した転送装置情報40と、プロトコル特有情報41と、あるサブネットワークに接続している転送装置情報42を含む。プロトコル特有の情報41は、例えば、隣接管理部122で記憶している隣接転送装置情報、ルーティングプロトコルで使用しているインタフェースのアドレス情報、他のルーティングプロトコルによりルーティングテーブル104に設定された経路情報を含むことができる。隣接転送装置情報は、例えば、隣接する転送装置のアドレス情報や装置識別情報など使用することができる。経路情報は、例えば、OSPFにおけるコストなどを使用することができる。
FIG. 20 is a configuration diagram illustrating an internal block of the routing processing unit of the transfer apparatus.
The routing processing unit 103 includes, for example, a routing table 104, a reception processing unit 120, a transmission processing unit 121, an adjacency management unit 122, a link state database 123, a route calculation unit 124, and a link state information generation unit 125. Prepare. The link state database 123 includes, for example, link state information 30 about a network to be described later and link state information 50 about its own device.

FIG. 24 is an explanatory diagram of link state information regarding the network.
The link state information 30 about the network includes, for example, generated transfer device information 40, protocol-specific information 41, and transfer device information 42 connected to a certain subnetwork. The protocol-specific information 41 includes, for example, adjacent transfer device information stored in the adjacent management unit 122, interface address information used in the routing protocol, and route information set in the routing table 104 by another routing protocol. Can be included. Adjacent transfer device information can be used, for example, address information or device identification information of adjacent transfer devices. As the route information, for example, the cost in OSPF can be used.

図2は、代表装置としての転送装置11が生成するブロードキャストサブネットワーク21についてのリンクステート情報の説明図を示す。
リンクステート情報31は、例えば、ブロードキャストサブネットワーク21に転送装置11、12、13が接続しているという情報を含んでいる。このリンクステート情報31は、転送装置11によって、転送装置12、13へ配布される。
図25は、自装置についてのリンクステート情報の説明図である。
自装置についてのリンクステート情報50は、リンクステートデータベース123に記憶される。
自装置についてのリンクステート情報50は、例えば、生成した転送装置情報40と、プロトコル特有情報41と、リンク情報43とを含む。
FIG. 2 is an explanatory diagram of link state information about the broadcast subnetwork 21 generated by the transfer device 11 as the representative device.
The link state information 31 includes, for example, information that the transfer apparatuses 11, 12, and 13 are connected to the broadcast subnetwork 21. The link state information 31 is distributed to the transfer devices 12 and 13 by the transfer device 11.
FIG. 25 is an explanatory diagram of link state information about the own device.
The link state information 50 about the device itself is stored in the link state database 123.
The link state information 50 about the own device includes, for example, the generated transfer device information 40, protocol-specific information 41, and link information 43.

図3は、転送装置11が生成する自装置についてのリンクステート情報の説明図(1)を示す。
図4は、転送装置12が生成する自装置についてのリンクステート情報の説明図(1)を示す。
図5は、転送装置13が生成する自装置についてのリンクステート情報の説明図(1)を示す。
リンクステート情報51、52、53は、例えば、それぞれリンクステート情報31へのリンクをリンク情報に含んでおり、これらの情報によって、転送装置13はブロードキャストサブネットワーク21を経由して、装置11と装置12への到達性があることを認識することができる。
これらの自装置についてのリンクステート情報及びネットワークについてのリンクステート情報は、サブネットワーク21等に接続された各転送装置11、12、13が相互に変換し、記憶することができる。
FIG. 3 is an explanatory diagram (1) of the link state information about the own device generated by the transfer device 11.
FIG. 4 is an explanatory diagram (1) of the link state information about the own device generated by the transfer device 12.
FIG. 5 is an explanatory diagram (1) of the link state information about the own device generated by the transfer device 13.
The link state information 51, 52, 53 includes, for example, a link to the link state information 31 in the link information, and the transfer device 13 uses the information to communicate with the device 11 and the device via the broadcast subnetwork 21. 12 can be recognized.
The link state information about the own device and the link state information about the network can be mutually converted and stored by the transfer devices 11, 12, and 13 connected to the sub-network 21 and the like.

2.代替代表装置以外の転送装置による障害検出
(1)関連技術
まず、本実施の形態の関連技術について説明する。
図6に、ネットワークでのデータ転送を示す説明図(1)を示す。
図示のように、転送装置11、12はさらに転送装置14と接続しており、転送装置13、14間の通信は転送装置11経由を通信路としている。
ここで、例えば、図1のネットワーク構成において、代表装置である転送装置11とブロードキャストサブネットワーク21の間で障害が発生し、転送装置13がそれを検出した場合、転送装置13が生成する自装置についてのリンクステート情報53のリンク情報43からリンクステート情報31へのリンクが削除される。
2. Failure Detection by Transfer Device Other than Alternative Representative Device (1) Related Technology First, the related technology of this embodiment will be described.
FIG. 6 is an explanatory diagram (1) showing data transfer in the network.
As illustrated, the transfer devices 11 and 12 are further connected to the transfer device 14, and communication between the transfer devices 13 and 14 is performed via the transfer device 11.
Here, for example, in the network configuration of FIG. 1, when a failure occurs between the transfer device 11, which is a representative device, and the broadcast subnetwork 21, and the transfer device 13 detects it, the own device generated by the transfer device 13 The link from the link information 43 of the link state information 53 to the link state information 31 is deleted.

図7は、転送装置13が生成するリンクステート情報の説明図(2)である。
リンクステート情報54は、転送装置13が、上述の障害を検出したそのときに、転送装置13が生成する自装置についてのリンクステート情報50を示す。
図8は、ブロードキャストネットワークに障害が発生した場合のデータ転送を示す説明図(1)である。
図に示すように、転送装置13は、自装置についてのリンクステート情報54からリンクステート情報31を削除したことで、転送装置13は、ブロードキャストサブネットワーク21への到達性がなくなる。そのため、転送装置13、14間の通信は停止する。その後、代替代表装置である転送装置12が障害を検出すると、代替代表装置である転送装置12がブロードキャストサブネットワーク21についての代表装置となり、ブロードキャストサブネットワーク21についてのリンクステート情報を生成する。
図9は、代替代表装置である転送装置12が生成するネットワークについてのリンクステート情報の説明図である。
リンクステート情報32は、転送装置12が生成するブロードキャストサブネットワーク21についてのリンクステート情報を示す。リンクステート情報32は、転送装置12によって転送装置13へ配布される。
FIG. 7 is an explanatory diagram (2) of the link state information generated by the transfer device 13.
The link state information 54 indicates the link state information 50 about the own device generated by the transfer device 13 when the transfer device 13 detects the above-described failure.
FIG. 8 is an explanatory diagram (1) showing data transfer when a failure occurs in the broadcast network.
As shown in the figure, the transfer device 13 deletes the link state information 31 from the link state information 54 for the own device, so that the transfer device 13 loses reachability to the broadcast subnetwork 21. Therefore, communication between the transfer devices 13 and 14 is stopped. Thereafter, when the transfer device 12 that is the substitute representative device detects a failure, the transfer device 12 that is the substitute representative device becomes the representative device for the broadcast subnetwork 21 and generates link state information for the broadcast subnetwork 21.
FIG. 9 is an explanatory diagram of link state information about the network generated by the transfer device 12 which is an alternative representative device.
The link state information 32 indicates link state information about the broadcast subnetwork 21 generated by the transfer device 12. The link state information 32 is distributed to the transfer device 13 by the transfer device 12.

図10は、転送装置13が生成する自装置についてのリンクステート情報の説明図(3)である。
リンクステート情報55は、転送装置13がネットワークについてのリンクステート情報32を受信したときに生成する自装置についてのリンクステート情報を示す。自装置についてのリンクステート情報55は、転送装置12が作成したネットワークについてのリンクステート情報32へのリンク情報をリンク情報42に含む。
図11は、ブロードキャストネットワークに障害が発生した場合の通信路が切り替わったデータ転送を示す説明図(1)である。
転送装置12又は13は、ネットワークについてのリンクステート情報32及び自装置についてのリンクステート情報55を使用して経路計算を行うことにより、図に示すように、転送装置13は、ブロードキャストサブネットワーク21を通じて通信できるようになる。そして、転送装置13、14間の通信が転送装置12経由を通信路として復旧する。すなわち、本実施の形態の関連技術では、障害発生から新しい代表装置がその機能を果たすまでの間、通信が停止することになる。
FIG. 10 is an explanatory diagram (3) of the link state information about the own device generated by the transfer device 13.
The link state information 55 indicates link state information about the own device that is generated when the transfer device 13 receives the link state information 32 about the network. The link state information 55 about the own device includes link information 42 to the link state information 32 about the network created by the transfer device 12 in the link information 42.
FIG. 11 is an explanatory diagram (1) illustrating data transfer in which a communication path is switched when a failure occurs in the broadcast network.
The transfer device 12 or 13 performs route calculation using the link state information 32 about the network and the link state information 55 about the own device, so that the transfer device 13 passes through the broadcast subnetwork 21 as shown in the figure. You can communicate. Then, communication between the transfer devices 13 and 14 is restored using the transfer device 12 as a communication path. That is, in the related technology of the present embodiment, communication is stopped from the occurrence of a failure until the new representative device performs its function.

(2)実施の形態
次に、以上のような関連技術に対して、同一のネットワーク構成に本実施の形態を適用する場合を説明する。
本実施の形態では、代替代表装置である転送装置12も、障害発生の前に予め、ブロードキャストサブネットワーク21についてのリンクステート情報を生成する。
図9に示したリンクステート情報32は、転送装置12が生成するブロードキャストサブネットワーク21についてのリンクステート情報を示す。リンクステート情報32は、代表装置である転送装置11以外に、ブロードキャストサブネットワーク21に転送装置12、13が接続しているという情報を含んでおり、代表装置である転送装置11が接続しているという情報は含んでいない。ブロードキャストサブネットワーク21についてのリンクステート情報32は、転送装置12によって転送装置11、13へ配布される。
図12は、転送装置11が生成する自装置についてのリンクステート情報の説明図(2)を示す。
図13は、転送装置12が生成する自装置についてのリンクステート情報の説明図(2)を示す。
図14は、転送装置13が生成する自装置についてのリンクステート情報の説明図(4)を示す。
(2) Embodiment Next, a case where the present embodiment is applied to the same network configuration as described above will be described.
In the present embodiment, the transfer device 12 that is an alternative representative device also generates link state information for the broadcast subnetwork 21 in advance before the occurrence of a failure.
The link state information 32 illustrated in FIG. 9 indicates link state information regarding the broadcast subnetwork 21 generated by the transfer device 12. The link state information 32 includes information indicating that the transfer devices 12 and 13 are connected to the broadcast subnetwork 21 in addition to the transfer device 11 that is the representative device, and the transfer device 11 that is the representative device is connected. This information is not included. The link state information 32 regarding the broadcast subnetwork 21 is distributed to the transfer apparatuses 11 and 13 by the transfer apparatus 12.
FIG. 12 is an explanatory diagram (2) of the link state information about the own device generated by the transfer device 11.
FIG. 13 is an explanatory diagram (2) of the link state information about the own device generated by the transfer device 12.
FIG. 14 is an explanatory diagram (4) of the link state information about the own device generated by the transfer device 13.

自装置についてのリンクステート情報56,57、58は、それぞれネットワークについてのリンクステート情報31へのリンクと共にネットワークについてのリンクステート情報32へのリンクもリンク情報42に含んでいる。
例えば、転送装置11とブロードキャストサブネットワーク21の間で障害が発生し、転送装置13がそれを検出した場合、転送装置13が生成する自装置についてのリンクステート情報58からネットワークについてのリンクステート情報31へのリンクが削除される。このとき、リンクステート情報は、図10で示したような転送装置13が生成する自装置についてのリンクステート情報55と同様になる。
この際、転送装置13は、先に代替代表装置である転送装置12により生成された、ネットワークについてのリンクステート情報32を使用することで、ブロードキャストサブネットワーク21への到達性が維持されるので、転送装置13で経路計算後に、転送装置12を経由して転送装置14と接続されるルートを通信路として復旧する。すなわち、本実施の形態では、ネットワークの代表装置で障害が発生してもそのネットワークへの到達性がなくならないので、本実施の形態の関連技術に比べて経路切り替えまでの時間を短縮することができる。
The link state information 56, 57, 58 for the own device includes a link to the link state information 32 for the network as well as a link to the link state information 31 for the network.
For example, when a failure occurs between the transfer device 11 and the broadcast subnetwork 21 and the transfer device 13 detects the failure, the link state information 31 about the network is generated from the link state information 58 about the own device generated by the transfer device 13. The link to is deleted. At this time, the link state information is the same as the link state information 55 for the own device generated by the transfer device 13 as shown in FIG.
At this time, the transfer device 13 maintains the reachability to the broadcast subnetwork 21 by using the link state information 32 about the network previously generated by the transfer device 12 which is an alternative representative device. After the route calculation by the transfer device 13, the route connected to the transfer device 14 via the transfer device 12 is restored as the communication path. In other words, in this embodiment, even if a failure occurs in a representative device of the network, reachability to the network is not lost, so that the time until path switching can be shortened compared to the related technology of this embodiment. it can.

3.代替装置による障害検出
(1)関連技術
まず、本実施の形態の関連技術について説明する。
図15は、ネットワーク構成図(2)である。
図示のネットワークは、例えば、転送装置11、12、13、14、15と、ブロードキャストサブネットワーク21を備える。
図16に、ネットワークでのデータ転送を示す説明図(2)を示す。
図示のように、転送装置11、12、13は、ブロードキャストサブネットワーク21を介して接続されている。転送装置11、12はさらに転送装置14と接続している。また、転送装置13、14は、それぞれ転送装置15と接続している。転送装置13、14間の通信は転送装置11経由を通信路としている。
図示のネットワークを例に説明する。
3. Fault Detection by Alternative Device (1) Related Technology First, the related technology of this embodiment will be described.
FIG. 15 is a network configuration diagram (2).
The illustrated network includes, for example, transfer apparatuses 11, 12, 13, 14, and 15 and a broadcast subnetwork 21.
FIG. 16 is an explanatory diagram (2) showing data transfer in the network.
As illustrated, the transfer apparatuses 11, 12, and 13 are connected via a broadcast subnetwork 21. The transfer devices 11 and 12 are further connected to the transfer device 14. The transfer devices 13 and 14 are connected to the transfer device 15, respectively. Communication between the transfer devices 13 and 14 is performed via the transfer device 11 as a communication path.
A description will be given taking the illustrated network as an example.

図17は、ブロードキャストネットワークに障害が発生した場合のデータ転送を示す説明図(2)である。
例えば、転送装置11とブロードキャストサブネットワーク21の間の障害が発生し、代替代表装置である転送装置12がその障害を最初に検出した場合、転送装置13ではまだ障害を検出していないため、転送装置13、14間の通信の通信路は転送装置11経由を継続する。
しかし、このような場合、転送装置13は、実際には転送装置11経由で通信できないため、転送装置13、14間の通信は停止する。
図18は、ブロードキャストネットワークに障害が発生した場合の通信路が切り替わったデータ転送を示す説明図(2)である。
上述のように例えば、転送装置11とブロードキャストサブネットワーク21の間の障害が発生し、転送装置13、14間の通信の停止後、転送装置13が障害を検出すると、転送装置13は、再度経路計算を行い、図に示すように、転送装置15経由を通信路として復旧する。すなわち、本実施の形態の関連技術では、障害発生から各転送装置が障害を検出するまでの間、通信が停止することになる。
FIG. 17 is an explanatory diagram (2) showing data transfer when a failure occurs in the broadcast network.
For example, when a failure occurs between the transfer device 11 and the broadcast subnetwork 21 and the transfer device 12 as an alternative representative device first detects the failure, the transfer device 13 has not yet detected the failure. The communication path for communication between the devices 13 and 14 continues via the transfer device 11.
However, in such a case, since the transfer device 13 cannot actually communicate via the transfer device 11, the communication between the transfer devices 13 and 14 stops.
FIG. 18 is an explanatory diagram (2) showing data transfer in which the communication path is switched when a failure occurs in the broadcast network.
As described above, for example, when a failure occurs between the transfer device 11 and the broadcast subnetwork 21 and the transfer device 13 detects a failure after the communication between the transfer devices 13 and 14 is stopped, the transfer device 13 reroutes again. Calculation is performed, and the transfer path 15 is restored as a communication path as shown in the figure. That is, in the related technology of the present embodiment, communication is stopped from the occurrence of a failure until each transfer device detects the failure.

(2)実施の形態
次に、以上のような関連技術に対して、同一のネットワーク構成に本実施の形態を適用する場合を説明する。
例えば、転送装置11とブロードキャストサブネットワーク21の間の障害が発生し、代替代表装置である転送装置12がそれを最初に検出した場合、転送装置12はブロードキャストサブネットワーク21についての代表装置となる。そのとき、転送装置12は、転送装置11が生成したブロードキャストサブネットワーク21についてのリンクステート情報31の削除通知を転送装置13に通知する。転送装置13がその削除通知を受けた場合、転送装置13は転送装置11が生成したネットワークについてのリンクステート情報31をリンクステートデータベース123から削除する。転送装置13には、転送装置12が生成したブロードキャストサブネットワーク21についてのリンクステート情報32が存在する。しかし、ブロードキャストサブネットワーク21についてのリンクステート情報32の情報では、接続している転送装置情報42に転送装置11の情報がないことより、転送装置11がブロードキャストサブネットワーク21に接続されていないことになっていることが分かるため、転送装置13が転送装置11の障害を検出していなくてもブロードキャストサブネットワーク21で通信しなくなる。つまり、転送装置13で経路計算を行うと、ブロードキャストサブネットワーク21についてのリンクステート情報32を使用して経路計算を行うため、転送装置15経由を通信路として復旧することができる。
すなわち、本実施の形態では、障害発生から各転送装置、あるいは代替代表装置のいずれかが障害を検出するまでの間、通信が停止することになる。しかし、関連技術では、自装置が障害を検出しないと通信が復旧しなかったが、本実施の形態では、自装置が障害を検出する前に代替代表装置が障害を検出しても通信が復旧するため、本実施の形態は、関連技術に比べて経路切り替えまでの時間を短縮することができる。
(2) Embodiment Next, a case where the present embodiment is applied to the same network configuration as described above will be described.
For example, when a failure occurs between the transfer device 11 and the broadcast subnetwork 21 and the transfer device 12 as an alternative representative device first detects it, the transfer device 12 becomes the representative device for the broadcast subnetwork 21. At that time, the transfer device 12 notifies the transfer device 13 of a deletion notification of the link state information 31 for the broadcast subnetwork 21 generated by the transfer device 11. When the transfer device 13 receives the deletion notification, the transfer device 13 deletes the link state information 31 about the network generated by the transfer device 11 from the link state database 123. The transfer device 13 includes link state information 32 about the broadcast subnetwork 21 generated by the transfer device 12. However, in the information of the link state information 32 for the broadcast subnetwork 21, the transfer device 11 is not connected to the broadcast subnetwork 21 because the transfer device information 42 is not included in the connected transfer device information 42. Therefore, even if the transfer device 13 does not detect a failure of the transfer device 11, communication with the broadcast subnetwork 21 is stopped. That is, when the route calculation is performed by the transfer device 13, the route calculation is performed using the link state information 32 about the broadcast subnetwork 21, and therefore, the route through the transfer device 15 can be restored as a communication path.
That is, in the present embodiment, communication is stopped from the occurrence of a failure until any of the transfer devices or the alternative representative device detects the failure. However, in the related technology, communication is not recovered unless the own device detects a failure. However, in this embodiment, communication is restored even if the substitute representative device detects a failure before the own device detects the failure. Therefore, this embodiment can shorten the time until the path is switched as compared with the related art.

4.詳細動作
本実施の形態の詳細な動作について説明する。
リンクステートルーティングプロトコルには、主として隣接監視機能、データベース同期機能、経路計算機能などがある。隣接監視機能は、主として、定期的にプロトコル制御パケットを送受信することで、自装置と直接ないしスイッチなどを介して接続している転送装置を検出し、その接続維持状態を監視する機能である。データベース同期機能は、主として、自装置についてのリンクステート情報50を作成し、隣接監視機能で検出した転送装置に送信する機能と、隣接装置(サブネットワークに接続された装置を含む)から受信したネットワークについてのリンクステート情報30及び自装置についてのリンクステート情報50をリンクステートデータベース123に保持する機能である。経路計算機能は、主として、リンクステートデータベース123を基に経路計算を実施し、ルーティングテーブル104に経路を設定する機能である。
4). Detailed Operation A detailed operation of the present embodiment will be described.
The link state routing protocol mainly includes an adjacency monitoring function, a database synchronization function, a route calculation function, and the like. The adjacency monitoring function is a function that mainly detects a transfer device connected to the device itself or through a switch or the like by periodically transmitting and receiving protocol control packets and monitoring the connection maintenance state. The database synchronization function mainly creates a link state information 50 for its own device and transmits it to a transfer device detected by the adjacency monitoring function, and a network received from an adjacent device (including devices connected to a subnetwork). The link state information 30 and the link state information 50 about the device itself are stored in the link state database 123. The route calculation function is a function that performs route calculation based on the link state database 123 and sets a route in the routing table 104.

(1)隣接監視機能
隣接監視機能について説明する。
図1の例では、転送装置11に隣接している転送装置は転送装置12、13、14の3台である。同様に、転送装置12にも転送装置が3台隣接している。一方、転送装置13に隣接している転送装置は転送装置11、12の2台となる。転送装置14でも2台となる。各転送装置のルーティング処理部103は、送信処理部121から定期的にプロトコル制御パケット(例えば、OSPFにおけるHelloパケット等)を隣接する転送装置に送信する。このプロトコル制御パケットは、例えば、他の転送装置が本転送装置を検出し、その接続維持状態を監視するために使われる。一方、他の転送装置からのプロトコル制御パケットは、受信処理部120で受信する。受信したプロトコル制御パケットは隣接管理部122でチェックされる。(例えば、隣接管理部122は、HelloパケットのRouter IDと、隣接管理部122に記憶するOSPFにおけるネイバーテーブルなどの隣接する転送装置を管理するテーブルとを比較することでチェックを実行することができる。このとき、例えば、HelloパケットのRouter IDと、ネイバーテーブルで管理する各転送装置のアドレス情報が一致すること等により確認することができる。)受信したプロトコル制御パケットが、すでに認識している転送装置から受信したプロトコル制御パケットと判明した場合、隣接管理部122は、その転送装置についての情報を更新する。(例えば、隣接管理部122は、該当する他の転送装置についてのアドレス情報などを受信したプロトコル制御パケットに含まれているアドレス情報などに更新することができる。)
(1) Adjacency monitoring function The adjacency monitoring function will be described.
In the example of FIG. 1, there are three transfer apparatuses 12, 13, and 14 adjacent to the transfer apparatus 11. Similarly, three transfer devices are adjacent to the transfer device 12. On the other hand, the transfer devices adjacent to the transfer device 13 are two transfer devices 11 and 12. The number of transfer devices 14 is also two. The routing processing unit 103 of each transfer device periodically transmits a protocol control packet (for example, a Hello packet in OSPF) from the transmission processing unit 121 to an adjacent transfer device. This protocol control packet is used, for example, for other transfer devices to detect this transfer device and monitor its connection maintenance state. On the other hand, protocol processing packets from other transfer devices are received by the reception processing unit 120. The received protocol control packet is checked by the adjacency manager 122. (For example, the adjacency management unit 122 can execute the check by comparing the Router ID of the Hello packet with a table for managing adjacent transfer devices such as a neighbor table in OSPF stored in the adjacency management unit 122. At this time, for example, it can be confirmed that the Router ID of the Hello packet matches the address information of each transfer device managed by the neighbor table, etc.) The transfer already recognized by the received protocol control packet If it is determined that the protocol control packet is received from the device, the adjacency management unit 122 updates information about the transfer device. (For example, the adjacency management unit 122 can update the address information and the like for the corresponding other transfer device to the address information and the like included in the received protocol control packet.)

一方、まだ認識していない転送装置から受信したプロトコル制御パケットの場合、隣接管理部122は、隣接状態の確立を開始するための処理を行う。(例えば、隣接管理部122は、本転送装置のアドレス情報などを含んだHelloパケットを送信処理部121より他の転送装置へ送信し、他の転送装置と互いのアドレス情報などを交換することで、他の転送装置と隣接状態を確立することができる。)なお、隣接装置である転送装置から一定期間プロトコル制御パケットを受信しない場合、隣接管理部122は、その転送装置での障害を検出したとみなす。また、ブロードキャストサブネットワークの場合、各転送装置は、そのサブネットワークの代表装置、必要なら代替代表装置を選択する。代表装置、代替代表装置の選択方法については、後述する。
なお、一定間隔でプロトコル制御パケットを送信する時間及び一定期間プロトコル制御パケットを受信しない場合に障害発生とみなす時間は、予め隣接管理部122(又は、通信部110、又は、ルーティング処理部103等)に設定しておくことができる。
以下に、図1の転送装置11、12を例として隣接監視機能について説明する。
転送装置11は、ブロードキャストサブネットワーク21と転送装置14に接続したそれぞれのインタフェースからプロトコル制御パケットを送信する。転送装置12ではポート113を介してブロードキャストサブネットワーク21に接続したネットワークインタフェース112から受信したこれらのプロトコル制御パケットについて前述のチェックを行う。具体的には、例えば、転送装置11の情報(例えば、アドレス情報等)が、転送装置12の隣接管理部122に登録されていなければ、転送装置12は、隣接管理部122に転送装置11の情報を登録する。(具体的には、例えば、転送装置12は、転送装置11のアドレス情報、プロトコル制御パケットの送受信をするために転送部111が決定した転送装置12のネットワークインタフェース112のアドレス情報などを、隣接管理部122に登録することができる。)一方、転送装置12の隣接管理部122に転送装置11の情報がすでに登録されていたら、転送装置12は、隣接管理部122に登録されている転送装置11の情報を新たに受信した転送装置11の情報に更新する。この転送装置12の隣接管理部122に登録している転送装置11の情報は、一定時間更新がされないと隣接管理部122から削除される。つまり、転送装置11は、転送装置12から隣接している転送装置とみなされなくなる。転送装置12は、転送装置12の隣接管理部122から転送装置11の情報を削除することで、転送装置11とブロードキャストサブネットワーク21の接続において障害が発生したことを認識することができる。
On the other hand, in the case of a protocol control packet received from a transfer device that has not yet been recognized, the adjacency management unit 122 performs processing for starting the establishment of the adjacency state. (For example, the adjacency management unit 122 transmits a Hello packet including the address information of the transfer device to the other transfer device from the transmission processing unit 121, and exchanges the address information and the like with the other transfer devices. The adjacency state can be established with another transfer device.) Note that, when the protocol control packet is not received from the transfer device that is the adjacent device for a certain period of time, the adjacency management unit 122 has detected a failure in the transfer device. It is considered. In the case of a broadcast subnetwork, each transfer device selects a representative device of the subnetwork and, if necessary, an alternative representative device. A method of selecting the representative device and the alternative representative device will be described later.
Note that the time for transmitting a protocol control packet at regular intervals and the time for not considering receiving a protocol control packet for a certain period of time are considered to be the occurrence of a failure in advance. Can be set to
Hereinafter, the adjacency monitoring function will be described with the transfer apparatuses 11 and 12 of FIG. 1 as an example.
The transfer device 11 transmits a protocol control packet from each interface connected to the broadcast subnetwork 21 and the transfer device 14. The transfer device 12 performs the above-described check on these protocol control packets received from the network interface 112 connected to the broadcast subnetwork 21 via the port 113. Specifically, for example, if the information (for example, address information) of the transfer device 11 is not registered in the adjacent management unit 122 of the transfer device 12, the transfer device 12 stores the transfer device 11 in the adjacent management unit 122. Register information. (Specifically, for example, the transfer device 12 manages the address information of the transfer device 11, the address information of the network interface 112 of the transfer device 12 determined by the transfer unit 111 for transmitting and receiving protocol control packets, etc.) On the other hand, if the information on the transfer device 11 is already registered in the adjacency management unit 122 of the transfer device 12, the transfer device 12 transfers the transfer device 11 registered in the adjacency management unit 122. Is updated to the information of the transfer apparatus 11 that has been newly received. The information on the transfer device 11 registered in the adjacent management unit 122 of the transfer device 12 is deleted from the adjacent management unit 122 unless it is updated for a certain period of time. That is, the transfer device 11 is not regarded as a transfer device adjacent to the transfer device 12. The transfer device 12 can recognize that a failure has occurred in the connection between the transfer device 11 and the broadcast subnetwork 21 by deleting the information of the transfer device 11 from the adjacent management unit 122 of the transfer device 12.

(2)代表装置、代替代表装置の選択
隣接監視機能のうち、代表装置、代替代表装置の選択方法について説明する。
隣接管理部122は、各サブネットワークでの代表装置、代替代表装置、その他の転送装置の識別子(例えば、各転送装置のアドレス情報)を保持する。(具体的には、例えば、隣接管理部122は、Helloパケットに含まれるDesignated Router及びBackup Designated Routerより、それぞれ代表装置と代替代表装置の識別子を取得することができる。また、隣接管理部122は、各転送装置が作成した自装置についてのリンクステート情報50の生成した転送装置情報40より、各転送装置の識別子を取得することができる。なお、代表装置の識別子及び代替代表装置の識別子は、隣接管理部122に記憶するとしてもよいし、ネットワークについてのリンクステート情報30に記憶するとしてもよい。)例えば、図1では、転送装置13は、ブロードキャストサブネットワーク21で転送装置11、12と接続しており、転送装置11が代表装置、転送装置12が代替代表装置であるという情報を管理する。転送装置同士が送受信するプロトコル制御パケットには、プロトコル制御パケットを送信した転送装置の(又は、そのインタフェースでの)代表装置決定優先度(例えば、Router Priority)、及びそのプロトコル制御パケットを送信した転送装置が代表装置、代替代表装置に選択した転送装置の識別子(例えば、Designated Router、Backup Designated Router)を含んでいる。
(2) Selection of Representative Device and Alternative Representative Device A method for selecting a representative device and an alternative representative device among the adjacent monitoring functions will be described.
The adjacency management unit 122 holds identifiers of representative devices, alternative representative devices, and other transfer devices in each subnetwork (for example, address information of each transfer device). (Specifically, for example, the adjacency management unit 122 can obtain the identifiers of the representative device and the alternative representative device from the Designated Router and the Backup Designated Router included in the Hello packet. The identifier of each transfer device can be obtained from the transfer device information 40 generated by the link state information 50 for the own device created by each transfer device, and the identifier of the representative device and the identifier of the alternative representative device are: For example, in FIG. 1, the transfer device 13 is connected to the transfer devices 11 and 12 via the broadcast subnetwork 21. The transfer device 11 is a representative device. Manages information of the transfer device 12 is an alternative representative device. The protocol control packet transmitted / received between the transfer apparatuses includes a representative apparatus determination priority (for example, Router Priority) of the transfer apparatus (or its interface) that transmitted the protocol control packet, and a transfer that transmitted the protocol control packet. The identifier of the transfer device selected by the device as the representative device or the alternative representative device (for example, Designated Router, Backup Designated Router) is included.

サブネットワークについて、代表装置、代替代表装置を選択する代表的なリンクステートプロトコルとしてOSPFがある。
OSPFではサブネットワークについての代表装置、代替代表装置は以下のように決定する。まず、各転送装置は、新しい代替代表装置を計算する。プロトコル制御パケットの情報から自装置を代表装置に選択していない転送装置のみが代替代表装置となりうる。(例えば、各転送装置は、受信したHelloパケットのRouter IDとDesignated Routerを比較することで、Helloパケットを送信した転送装置が、自装置を代表装置に選択している転送装置かを判断することができる。)それらの自装置を代表装置に選択していない転送装置のうち、自装置を代替代表装置に選択している転送装置があれば、その中で代表装置決定優先度(例えばRouter Priority)が最も高い転送装置を代替代表装置とする。優先度が同じ場合は、転送装置の識別子(例えば、転送装置のアドレス情報)が大きい転送装置を選択する。自装置を代替代表装置に選択している転送装置がなければ、代表装置決定優先度が最も高い転送装置を代替代表装置とする。優先度が同じ場合は、転送装置の識別子(例えば、転送装置のアドレス情報)を基に識別子が最も大きい転送装置を選択する。
次に、各転送装置は、新しい代表装置を計算する。プロトコル制御パケットの情報から自装置を代表装置に選択している転送装置が1つ以上あれば、代表装置決定優先度が最も高い転送装置を代表装置とする。優先度が同じ場合は、転送装置の識別子が大きい転送装置を選択する。自装置を代表装置に選択している転送装置がなければ、最近選択した代替代表装置を代表装置とする。(例えば、ある転送装置からプロトコル制御パケットを受信した際に、自装置の代表装置決定優先度又は転送装置の識別子の方が大きかった場合、受信したプロトコル制御パケットを破棄し、送信元の転送装置に対して、新たにプロトコル制御パケットを送信することで、新しい代表装置を選択することができる。)各転送装置は、サブネットワークについての代替代表装置、代表装置を選択するまでこれらの選択処理を実行する。各転送装置は、隣接状態を確立する際にやりとりされるプロトコル制御パケットにより、これらの代表装置、代替代表装置の選択処理を行うことができる。また、代表装置又は代替代表装置に選出された転送装置のアドレスは、隣接管理部122に記憶するとしてもよい。なお、代表装置決定優先度及び転送装置の識別子は、予め各転送装置に設定することができる。
OSPF is a typical link state protocol for selecting a representative device and an alternative representative device for a subnetwork.
In OSPF, a representative device and an alternative representative device for a subnetwork are determined as follows. First, each transfer device calculates a new alternative representative device. Only a transfer device that has not selected its own device as a representative device from the information of the protocol control packet can be an alternative representative device. (For example, each transfer device determines whether the transfer device that has transmitted the Hello packet is the transfer device that has selected itself as the representative device by comparing the Router ID of the received Hello packet with the Designated Router. If there is a transfer device that has selected its own device as an alternative representative device among the transfer devices that have not selected that own device as the representative device, the representative device determination priority (for example, Router Priority) The transfer device with the highest () is the substitute representative device. If the priorities are the same, a transfer device having a large transfer device identifier (for example, transfer device address information) is selected. If there is no transfer device that has selected its own device as the substitute representative device, the transfer device with the highest representative device decision priority is set as the substitute representative device. When the priorities are the same, the transfer device having the largest identifier is selected based on the identifier of the transfer device (for example, address information of the transfer device).
Each transfer device then calculates a new representative device. If there is one or more transfer devices that have selected their own device as the representative device from the protocol control packet information, the transfer device with the highest representative device determination priority is set as the representative device. If the priorities are the same, a transfer device having a large transfer device identifier is selected. If there is no transfer device that has selected its own device as the representative device, the recently selected alternative representative device is set as the representative device. (For example, when the protocol control packet is received from a certain transfer device, if the representative device determination priority of the own device or the identifier of the transfer device is larger, the received protocol control packet is discarded and the transfer device of the transmission source On the other hand, a new representative device can be selected by newly transmitting a protocol control packet.) Each transfer device performs these selection processes until an alternative representative device and a representative device for a subnetwork are selected. Execute. Each transfer device can perform a selection process of these representative devices and alternative representative devices by a protocol control packet exchanged when the adjacent state is established. In addition, the address of the transfer device selected as the representative device or the alternative representative device may be stored in the adjacent management unit 122. The representative device determination priority and the transfer device identifier can be set in advance for each transfer device.

(3)データベース同期機能
以下に、データベース同期機能について説明する。自装置についてのリンクステート情報50の生成はリンクステート情報生成部125が行う。生成される情報には、隣接管理部122で認識している隣接転送装置、ルーティングプロトコルで使用しているインタフェースのアドレス情報、他のルーティングプロトコルによりルーティングテーブル104に設定された経路などを含む。(リンクステート情報生成部125は、例えば、隣接する転送装置のアドレス情報、各隣接転送装置と通信を行うネットワークインタフェース112のアドレス情報を隣接管理部122から取得することができる。また、リンクステート情報生成部125は、例えば、経路計算部124が計算した隣接する転送装置までの経路情報(コスト等を含んでもよい)を124から取得することができる。リンクステート情報生成部125は、これらの情報より、プロトコル特有情報41を作成することができる。さらに、リンクステートデータベース123にネットワークについてのリンクステート情報30が記憶されていた場合、リンクステート情報生成部125は、例えば、ネットワークについてのリンクステート情報30へのリンクをリンク情報43に設定することができる。リンクステート情報生成部125は、自転送装置情報40、プロトコル特有情報41、リンク情報43の情報により、自装置についてのリンクステート情報50を作成することができる。)
自装置が隣接管理部122で代表装置に選択されている場合、該当サブネットワークについてのリンクステート情報30も生成する。(リンクステート情報生成部125は、例えば、各転送装置が作成した自装置についてのリンクステート情報50に含まれる、「生成した転送装置情報」40又はプロトコル特有の情報41の隣接転送装置の各情報から、各転送装置のアドレス情報を、「接続している転送装置情報」42に設定することができる。リンクステート情報生成部125は、これらの情報により、ネットワークにつてのリンクステート情報30を作成することができる。)
(3) Database synchronization function The database synchronization function will be described below. The link state information generating unit 125 generates the link state information 50 for the device itself. The generated information includes the adjacent transfer device recognized by the adjacency management unit 122, the address information of the interface used in the routing protocol, the route set in the routing table 104 by another routing protocol, and the like. (The link state information generation unit 125 can obtain, for example, address information of adjacent transfer devices and address information of the network interface 112 that communicates with each adjacent transfer device from the adjacency management unit 122. Also, link state information. For example, the generation unit 125 can acquire, from 124, route information (including costs and the like) to the adjacent transfer device calculated by the route calculation unit 124. The link state information generation unit 125 can acquire these pieces of information. Thus, the protocol specific information 41 can be created, and when the link state information 30 about the network is stored in the link state database 123, the link state information generating unit 125, for example, the link state information about the network Link to 30 The link state information generating unit 125 can create the link state information 50 for the own device based on the information of the own transfer device information 40, the protocol specific information 41, and the link information 43. )
When the own device is selected as the representative device by the adjacency management unit 122, the link state information 30 for the subnetwork is also generated. (The link state information generation unit 125, for example, each information of the adjacent transfer device of the “generated transfer device information” 40 or the protocol specific information 41 included in the link state information 50 for the own device created by each transfer device. Thus, the address information of each transfer device can be set to “connected transfer device information” 42. The link state information generation unit 125 creates the link state information 30 for the network based on the information. can do.)

リンクステート情報生成部125は、生成した自装置についてのリンクステート情報50及び/又はネットワークについてのリンクステート情報30をリンクステートデータベース123に保持する。ネットワークについてのリンクステート情報30には、隣接転送装置の情報を含むため、例えば、隣接管理部122で隣接転送装置の障害を検出した場合、隣接管理部122は、障害を検出した旨をリンクステート情報生成部125に通知する。障害を検出した旨の通知を受けたリンクステート情報生成部125は、ネットワークについてのリンクステート情報30を生成しなおし、リンクステートデータベース123に保持する。
リンクステートデータベース123の自装置についてのリンクステート情報50及び/又はネットワークについてのリンクステート情報30は、送信処理部121によって、他の転送装置に送信される。
一方、他の転送装置からのリンクステート情報の受信は受信処理部120で受信する。受信処理部120は、受信した自装置についてのリンクステート情報50及び/又はネットワークについてのリンクステート情報30が、隣接管理部122で認識している転送装置から受信したものであるかチェックする。隣接の転送装置から受信した自装置についてのリンクステート情報50及び/又はネットワークについてのリンクステート情報30の場合、隣接管理部122は、受信した自装置についてのリンクステート情報50及び/又はネットワークについてのリンクステート情報30をリンクステートデータベース123に保持する。一方、隣接の転送装置から受信した自装置についてのリンクステート情報50及び/又はネットワークについてのリンクステート情報30でない場合、隣接管理部122は、受信した自装置についてのリンクステート情報50及び/又はネットワークについてのリンクステート情報30を廃棄する。
The link state information generation unit 125 holds the generated link state information 50 about the device itself and / or link state information 30 about the network in the link state database 123. Since the link state information 30 about the network includes information on the adjacent transfer device, for example, when the adjacent management unit 122 detects a failure in the adjacent transfer device, the adjacent management unit 122 indicates that the failure has been detected in the link state. The information generation unit 125 is notified. The link state information generation unit 125 that has received the notification that a failure has been detected regenerates the link state information 30 about the network and stores it in the link state database 123.
The link state information 50 for the own device and / or the link state information 30 for the network in the link state database 123 is transmitted to another transfer device by the transmission processing unit 121.
On the other hand, the reception processing unit 120 receives link state information from other transfer apparatuses. The reception processing unit 120 checks whether the received link state information 50 about the own device and / or the link state information 30 about the network is received from the transfer device recognized by the adjacency management unit 122. In the case of the link state information 50 and / or the network link state information 30 received from the adjacent transfer device, the adjacency management unit 122 receives the link state information 50 and / or the network information about the received device. The link state information 30 is held in the link state database 123. On the other hand, if the link state information 50 and / or the network link state information 30 received from the adjacent transfer device is not the adjacency management unit 122, the adjacency management unit 122 receives the link state information 50 and / or the network regarding the received own device. The link state information 30 on is discarded.

以下に、図1の転送装置13、リンクステート情報31、32、51〜53を例として、データベース同期機能について説明する。
転送装置13ではリンクステートデータベース123に、各転送装置が生成した自装置についてのリンクステート情報51、52、53と、代表装置が生成したブロードキャストサブネットワーク21についてのリンクステート情報31の2種類のリンクステート情報を保持している。また、代替代表装置が生成したブロードキャストサブネットワーク21についてのリンクステート情報32もリンクステートデータベース123に保持する。転送装置13は、上述の2種類のリンクステート情報、即ち、各リンクステート情報51、52及びリンクステート情報31に含まれる生成した転送装置情報40より、それぞれ転送装置11又は12からの情報であることが受信処理部120により確認される。また、転送装置11、12は、転送装置13の隣接の転送装置であることが隣接管理部122で確認される。(具体的には、例えば、隣接管理部122は、受信した自装置のリンクステート情報51、52、53及び代表装置が生成したブロードキャストサブネットワーク21についてのリンクステート情報31に含まれる生成した転送装置情報40のアドレス情報と、隣接管理部122に記憶している隣接転送装置のアドレス情報とを比較することで、隣接の転送装置であるかを確認することができる。)
Hereinafter, the database synchronization function will be described by taking the transfer device 13 and the link state information 31, 32, 51 to 53 of FIG. 1 as an example.
The transfer device 13 includes two types of links in the link state database 123: link state information 51, 52, 53 for the own device generated by each transfer device and link state information 31 for the broadcast subnetwork 21 generated by the representative device. It holds state information. Further, link state information 32 about the broadcast subnetwork 21 generated by the alternative representative device is also stored in the link state database 123. The transfer device 13 is information from the transfer device 11 or 12 based on the two types of link state information described above, that is, the generated transfer device information 40 included in each of the link state information 51 and 52 and the link state information 31. This is confirmed by the reception processing unit 120. In addition, the adjacency management unit 122 confirms that the transfer apparatuses 11 and 12 are transfer apparatuses adjacent to the transfer apparatus 13. (Specifically, for example, the adjacency management unit 122 generates the generated transfer device included in the received link state information 51, 52, 53 of the own device and the link state information 31 for the broadcast subnetwork 21 generated by the representative device. (By comparing the address information of the information 40 with the address information of the adjacent transfer device stored in the adjacency management unit 122, it is possible to confirm whether it is an adjacent transfer device.)

(4)経路計算機能
以下に、経路計算機能について説明する。
リンクステートデータベース123に保持されているネットワークについてのリンクステート情報30及び自装置についてのリンクステート情報50を基に経路計算部124は、各宛先(最終的に送達する転送装置のアドレス情報)への経路を計算する。経路の計算方法については、例えば、Dijkstraアルゴリズムなどの適宜の方法を使用して最短経路を決定する。経路計算部124は、計算結果(例えば、各宛先に対する次の転送装置のアドレス情報及び経路情報(例えば、コスト)など)をルーティングテーブル104に設定する。リンクステートデータベース123の内容に変更があった場合、経路計算部124は、更新された各ネットワークについてのリンクステート情報30及び自装置についてのリンクステート情報50等に基づいて、再度経路計算を行う。ルーティングテーブル104の内容は転送部111でパケットの宛先を決定する際に使用される。例えば、転送部111は、受信したデータの宛先とルーティングテーブル104に記憶された各宛先の転送装置のアドレス情報を比較し、一致するアドレス情報に対応する次の転送装置のアドレス情報を取得して、適切なネットワークインタフェース112及びポート113を決定する。
以下に、図1の転送装置13、リンクステート情報31、32、51〜53を例として経路計算機能について説明する。
(4) Route Calculation Function The route calculation function will be described below.
Based on the link state information 30 about the network and the link state information 50 about the own device held in the link state database 123, the route calculation unit 124 sends information to each destination (address information of the transfer device to be finally delivered). Calculate the route. As for the route calculation method, for example, the shortest route is determined using an appropriate method such as the Dijkstra algorithm. The route calculation unit 124 sets a calculation result (for example, address information and route information (for example, cost) of the next transfer device for each destination) in the routing table 104. When there is a change in the contents of the link state database 123, the route calculation unit 124 performs route calculation again based on the updated link state information 30 for each network, link state information 50 for its own device, and the like. The contents of the routing table 104 are used when the transfer unit 111 determines a packet destination. For example, the transfer unit 111 compares the address of the received data with the address information of the transfer device of each destination stored in the routing table 104, and acquires the address information of the next transfer device corresponding to the matching address information. Determine the appropriate network interface 112 and port 113.
Hereinafter, the path calculation function will be described by taking the transfer device 13 and the link state information 31, 32, 51 to 53 of FIG. 1 as an example.

代表装置が生成したブロードキャストサブネットワーク21についてのリンクステート情報31及び各転送装置が作成した自装置についてのリンクステート情報51、52、53を基に、転送装置13の経路計算部124が経路計算を実行する。代替代表装置が生成したブロードキャストサブネットワーク21についてのリンクステート情報32は、経路計算部124が、代表装置が生成したリンクステート情報31を使用している間は経路計算に使用されない。転送装置13が転送装置11の障害を検出して隣接管理部122から転送装置11の情報を削除すると、経路計算部124は、リンクステートデータベース123にある転送装置11が生成したブロードキャストサブネットワーク21についてのリンクステート情報31を経路計算に使用するのをやめる。代表装置である転送装置11に障害が発生したため、代表装置が作成したリンクステート情報31の代わりに、代替代表装置が作成したブロードキャストサブネットワーク21についてのリンクステート情報32を基に、経路計算部124が経路計算を実行する。
また、転送装置12が転送装置11の障害を検出した場合、代替代表装置である転送装置12は、転送装置11が生成したリンクステート情報31の削除通知をブロードキャストサブネットワーク21に接続する他の転送装置(例えば、転送装置13)へ送信する。また、その削除通知を転送装置13が受信処理部120で受信した場合も、転送装置13では、隣接管理部122から転送装置11の情報を削除し、経路計算部124は、リンクステートデータベース123にあるブロードキャストサブネットワーク21についてのリンクステート情報31を経路計算に使用するのをやめる。そして、上述と同様に、経路計算部124は、ブロードキャストサブネットワーク21についてのリンクステート情報32を基に、経路計算を実行する。
Based on the link state information 31 for the broadcast subnetwork 21 generated by the representative device and the link state information 51, 52, 53 for the own device created by each transfer device, the route calculation unit 124 of the transfer device 13 calculates the route. Execute. The link state information 32 about the broadcast subnetwork 21 generated by the alternative representative device is not used for route calculation while the route calculation unit 124 uses the link state information 31 generated by the representative device. When the transfer device 13 detects a failure of the transfer device 11 and deletes the information of the transfer device 11 from the adjacency management unit 122, the route calculation unit 124 uses the broadcast subnetwork 21 generated by the transfer device 11 in the link state database 123. The link state information 31 is no longer used for route calculation. Since a failure has occurred in the transfer device 11 that is the representative device, the route calculation unit 124 uses the link state information 32 for the broadcast subnetwork 21 created by the alternative representative device instead of the link state information 31 created by the representative device. Performs route computation.
When the transfer device 12 detects a failure of the transfer device 11, the transfer device 12, which is an alternative representative device, transmits another notification that the link state information 31 generated by the transfer device 11 is deleted to the broadcast subnetwork 21. Transmit to a device (for example, transfer device 13). Even when the transfer device 13 receives the deletion notification by the reception processing unit 120, the transfer device 13 deletes the information of the transfer device 11 from the adjacent management unit 122, and the route calculation unit 124 stores the information in the link state database 123. Stop using link state information 31 for a certain broadcast subnetwork 21 for route calculation. Then, as described above, the route calculation unit 124 performs route calculation based on the link state information 32 for the broadcast subnetwork 21.

(5)ネットワークについてのリンクステート情報受信時の動作
図21は、転送装置がネットワークについてのリンクステート情報を受信したときの動作フローチャートである。
受信処理部120でネットワークについてのリンクステート情報30を受信する(2100)。受信処理部120は、受信したネットワークについてのリンクステート情報を隣接管理部122に通知し、隣接管理部122では、ネットワークについてのリンクステート情報を生成した転送装置が代表装置であるかをチェックする(2101)ネットワークについてのリンクステート情報を生成した転送装置が代表装置である場合、隣接管理部122は、受信したネットワークについてのリンクステート情報をリンクステートデータベース123に保持する(2106)。図1の例では、リンクステート情報生成部125は、ネットワークについてのリンクステート情報31にあたる。自装置がリンクステート情報生成部125で自装置についてのリンクステート情報を生成し、そのとき、リンクステート情報生成部125は、リンクステートデータベース123に保持したネットワークについてのリンクステート情報をリンク情報43に含める(2102)。一方、ステップ2101において、ネットワークについてのリンクステート情報30を生成した転送装置が代表装置でない場合、隣接管理部122は、リンクステート情報31を生成した転送装置が代替代表装置であるかを確認する(2103)。ネットワークについてのリンクステート情報30を生成した転送装置が代替代表装置である場合、隣接管理部122は、そのネットワークについてのリンクステート情報31をリンクステートデータベース123に保持する(2107)。図1の例では、ネットワークについてのリンクステート情報32にあたる。リンクステート情報生成部125は、自装置についてのリンクステート情報50を生成し、そのとき、リンクステートデータベース123に保持したネットワークについてのリンクステート情報32をリンク情報43に含める(2104)。ステップ2103において、ネットワークについてのリンクステート情報を生成した転送装置が代替代表装置でない場合は、隣接管理部122は、そのネットワークについてのリンクステート情報をリンクステートデータベース123に保持しない(2108)。また、自装置がリンクステート情報生成部125で自装置についてのリンクステート情報を生成するとき、リンクステート情報生成部125は、リンクステートデータベース123に保持していないリンクステート情報はリンク情報43に含めない(2105)。
以上のようなフローチャートに従い、図1の例では、代表装置及び代替代表装置のリンクステート情報が保持された自装置についてのリンクステート情報は、自装置についてのリンクステート情報58にあたる。
(5) Operation when receiving link state information about network FIG. 21 is an operation flowchart when the transfer apparatus receives link state information about the network.
The reception processing unit 120 receives the link state information 30 about the network (2100). The reception processing unit 120 notifies the adjacency management unit 122 of link state information about the received network, and the adjacency management unit 122 checks whether the transfer device that generated the link state information about the network is a representative device ( 2101) When the transfer device that generated the link state information about the network is a representative device, the adjacency management unit 122 holds the received link state information about the network in the link state database 123 (2106). In the example of FIG. 1, the link state information generation unit 125 corresponds to the link state information 31 about the network. The own device generates link state information about the own device in the link state information generation unit 125, and at that time, the link state information generation unit 125 uses the link state information about the network held in the link state database 123 as the link information 43. Include (2102). On the other hand, if the transfer device that generated the link state information 30 for the network is not the representative device in step 2101, the adjacency management unit 122 checks whether the transfer device that generated the link state information 31 is an alternative representative device ( 2103). When the transfer device that generated the link state information 30 for the network is an alternative representative device, the adjacency management unit 122 stores the link state information 31 for the network in the link state database 123 (2107). In the example of FIG. 1, it corresponds to the link state information 32 about the network. The link state information generation unit 125 generates the link state information 50 for the own device, and at this time, the link state information 32 about the network held in the link state database 123 is included in the link information 43 (2104). In step 2103, if the transfer device that generated the link state information for the network is not the substitute representative device, the adjacency manager 122 does not hold the link state information for the network in the link state database 123 (2108). When the link state information generating unit 125 generates link state information about the own device, the link state information generating unit 125 includes the link state information not stored in the link state database 123 in the link information 43. No (2105).
According to the flowchart as described above, in the example of FIG. 1, the link state information for the own device in which the link state information of the representative device and the alternative representative device is held corresponds to the link state information 58 for the own device.

(6)代替代表装置に選択された場合の動作)
図22は、自装置が代替代表装置に選択された場合のフローチャートである。
受信処理部120でプロトコル制御パケットを受信したとき、隣接管理部122は、前述の手続きに従い代表装置決定優先度及び転送装置の識別子に基づいて代替代表装置選択処理を実施する(2200)。隣接管理部122は、そのステップ2200の結果から、自装置が代替代表装置であるかを判断する(2201)。ステップ2201において、自装置が代替代表装置に選択された場合、ルーティング処理部103は、リンクステートプロトコルとして従来行っている処理に加えて、リンクステート情報生成部125において、ネットワークについてのリンクステート情報を生成する(2202)。図1の例では、ネットワークについてのリンクステート情報32にあたる。生成したネットワークについてのリンクステート情報は、リンクステートデータベース123に保持する(2203)。ステップ2202において生成したそのネットワークについてのリンクステート情報は、送信処理部121によってサブネットワークに接続された他の転送装置へと送信される(2204)。
一方、ステップ2201において、自装置が代替代表装置に選択されなかった場合、ルーティング処理部103は、リンクステートプロトコルとして従来行っている処理のみを行う(2205)。
(6) Operation when selected as an alternative representative device)
FIG. 22 is a flowchart when the own device is selected as the substitute representative device.
When the reception processing unit 120 receives the protocol control packet, the adjacency management unit 122 performs an alternative representative device selection process based on the representative device determination priority and the transfer device identifier according to the above-described procedure (2200). The adjacency management unit 122 determines whether the own device is an alternative representative device from the result of the step 2200 (2201). In step 2201, when the own device is selected as the substitute representative device, the routing processing unit 103, in addition to the processing conventionally performed as the link state protocol, the link state information generating unit 125 displays the link state information about the network. Generate (2202). In the example of FIG. 1, it corresponds to the link state information 32 about the network. The link state information about the generated network is held in the link state database 123 (2203). The link state information for the network generated in step 2202 is transmitted by the transmission processing unit 121 to another transfer device connected to the sub-network (2204).
On the other hand, if the own device is not selected as the alternative representative device in step 2201, the routing processing unit 103 performs only the processing conventionally performed as the link state protocol (2205).

(7)代表装置に選択された場合の動作
図23は、自装置が代表装置の障害を検出し、代表装置になった場合のフローチャートである。
代表装置の障害検出は、隣接管理部122で実施する。隣接管理部122は、例えば、代表装置から一定期間パケットを受信しない場合、代表装置での障害を検出する。障害を検出した時点で、代表装置が生成したネットワークについてのリンクステート情報はリンクステートデータベース123において無効となるため、隣接管理部122は、代表装置が生成したネットワークについてのリンクステート情報をリンクステートデータベース123から削除する(2300)。図1の例では、ネットワークについてのリンクステート情報31にあたる。隣接管理部122は、ステップ2300を契機に、前述の手続きに従い代表装置決定優先度及び転送装置の識別子に基づいて代表装置選択処理を実施する(2301)。隣接管理部122は、ステップ2301の結果から、自装置が代表装置であるかを判断する(2302)。ステップ2302において、自装置が新しく代表装置となった場合、ルーティング処理部103は、リンクステート情報生成部125において、以前代表装置が生成、広告したサブネットワークについてのリンクステート情報31を削除するためのデータを生成する(2303)。リンクステート情報生成部125は、例えば、以前の代表装置の識別子と、以前の代表装置のリンクを削除する旨の情報を有するデータを作成する。削除するためのデータは送信処理部121によって、サブネットワークに接続された他の転送装置へと送信される(2304)。
一方、ステップ2302において、自装置が新しく代表装置とならなかった場合、ルーティング処理部103は、処理を終了する。
(7) Operation when Selected as Representative Device FIG. 23 is a flowchart when the own device detects a failure of the representative device and becomes the representative device.
The adjacent management unit 122 detects the failure of the representative device. For example, when the adjacent management unit 122 does not receive a packet from the representative device for a certain period, it detects a failure in the representative device. Since the link state information for the network generated by the representative device becomes invalid in the link state database 123 when the failure is detected, the adjacency managing unit 122 displays the link state information for the network generated by the representative device in the link state database. It is deleted from 123 (2300). In the example of FIG. 1, it corresponds to the link state information 31 about the network. In step 2300, the adjacency management unit 122 performs representative device selection processing based on the representative device determination priority and the identifier of the transfer device according to the above-described procedure (2301). The adjacency management unit 122 determines whether the own device is a representative device from the result of Step 2301 (2302). In step 2302, when the own device becomes a new representative device, the routing processing unit 103 deletes the link state information 31 for the subnetwork previously generated and advertised by the representative device in the link state information generation unit 125. Data is generated (2303). For example, the link state information generation unit 125 creates data having an identifier of the previous representative device and information indicating that the link of the previous representative device is deleted. The data to be deleted is transmitted by the transmission processing unit 121 to another transfer device connected to the subnetwork (2304).
On the other hand, if it is determined in step 2302 that the device itself is not a representative device, the routing processing unit 103 ends the processing.

本発明は、ルーティングにリンクステート型のプロトコルを使用しているブロードキャストサブネットワーク等のネットワークに適用することができる。
本発明は、ブロードキャストサブネットワークに限定されず、各種のサブネットワークや、さらに各種のネットワークに適用することができる。
The present invention can be applied to a network such as a broadcast subnetwork that uses a link-state protocol for routing.
The present invention is not limited to a broadcast subnetwork, but can be applied to various subnetworks and various networks.

ネットワーク構成図(1)。Network configuration diagram (1). 転送装置11が生成するブロードキャストサブネットワーク21についてのリンクステート情報の説明図。Explanatory drawing of the link state information about the broadcast subnetwork 21 which the transfer apparatus 11 produces | generates. 転送装置11が生成する自装置についてのリンクステート情報の説明図(1)。Explanatory drawing (1) of the link state information about the own apparatus which the transfer apparatus 11 produces | generates. 転送装置12が生成する自装置についてのリンクステート情報の説明図(1)。Explanatory drawing (1) of the link state information about the own apparatus which the transfer apparatus 12 produces | generates. 転送装置13が生成する自装置についてのリンクステート情報の説明図(1)。Explanatory drawing (1) of the link state information about the own apparatus which the transfer apparatus 13 produces | generates. ネットワークでのデータ転送を示す説明図(1)。Explanatory drawing (1) which shows the data transfer in a network. 転送装置13が生成する自装置についてのリンクステート情報の説明図(2)。Explanatory drawing (2) of the link state information about the own apparatus which the transfer apparatus 13 produces | generates. ブロードキャストネットワークに障害が発生した場合のデータ転送を示す説明図(1)。Explanatory drawing (1) which shows data transfer when a failure generate | occur | produces in a broadcast network. 転送装置12が生成するネットワークについてのリンクステート情報の説明図。Explanatory drawing of the link state information about the network which the transfer apparatus 12 produces | generates. 転送装置13が生成する自装置についてのリンクステート情報の説明図(3)。Explanatory drawing (3) of the link state information about the own apparatus which the transfer apparatus 13 produces | generates. ブロードキャストネットワークに障害が発生した場合の通信路が切り替わったデータ転送を示す説明図(1)。Explanatory drawing (1) which shows the data transfer in which the communication path switched when the failure generate | occur | produced in the broadcast network. 転送装置11が生成する自装置についてのリンクステート情報の説明図(2)。Explanatory drawing (2) of the link state information about the own apparatus which the transfer apparatus 11 produces | generates. 転送装置12が生成する自装置についてのリンクステート情報の説明図(2)。Explanatory drawing (2) of the link state information about the own apparatus which the transfer apparatus 12 produces | generates. 転送装置13が生成する自装置についてのリンクステート情報の説明図(4)。Explanatory drawing (4) of the link state information about the own apparatus which the transfer apparatus 13 produces | generates. ネットワーク構成図(2)。Network configuration diagram (2). ネットワークでのデータ転送を示す説明図(2)。Explanatory drawing (2) which shows the data transfer in a network. ブロードキャストネットワークに障害が発生した場合のデータ転送を示す説明図(2)。Explanatory drawing (2) which shows data transfer when a failure generate | occur | produces in a broadcast network. ブロードキャストネットワークに障害が発生した場合の通信路が切り替わったデータ転送を示す説明図(2)。Explanatory drawing (2) which shows the data transfer in which the communication path switched when the failure generate | occur | produced in the broadcast network. 転送装置の構成を示すブロック図。The block diagram which shows the structure of a transfer apparatus. 転送装置のルーティング処理部の内部ブロックを示す構成図。The block diagram which shows the internal block of the routing process part of a transfer apparatus. 転送装置がネットワークについてのリンクステート情報を受信したときの動作フローチャート。The operation | movement flowchart when a transfer apparatus receives the link state information about a network. 自装置が代替代表装置に選択された場合のフローチャート。The flowchart in case an own apparatus is selected as an alternative representative apparatus. 自装置が代表装置の障害を検出し、代表装置になった場合のフローチャート。The flowchart in case an own apparatus detects the failure of a representative apparatus and becomes a representative apparatus. ネットワークについてのリンクステート情報の説明図。Explanatory drawing of the link state information about a network. 自装置についてのリンクステート情報の説明図。Explanatory drawing of the link state information about an own apparatus.

符号の説明Explanation of symbols

11 転送装置
12 転送装置
13 転送装置
14 転送装置
15 転送装置
21 ブロードキャストネットワーク
31 ネットワークについてのリンクステート情報
32 ネットワークについてのリンクステート情報
41 リンクステート情報内のプロトコル特有の情報
51 自装置についてのリンクステート情報
52 自装置についてのリンクステート情報
53 自装置についてのリンクステート情報
54 自装置についてのリンクステート情報
55 自装置についてのリンクステート情報
56 自装置についてのリンクステート情報
57 自装置についてのリンクステート情報
58 自装置についてのリンクステート情報
100 制御部
101 CPU
102 メモリ
103 ルーティング処理部
104 ルーティングテーブル
110 通信部
111 転送部
112 ネットワークインタフェース
113 ポート
120 受信処理部
121 送信処理部
122 隣接管理部
123 リンクステートデータベース
124 経路計算部
125 リンクステート情報生成部
DESCRIPTION OF SYMBOLS 11 Transfer apparatus 12 Transfer apparatus 13 Transfer apparatus 14 Transfer apparatus 15 Transfer apparatus 21 Broadcast network 31 Link state information about network 32 Link state information about network 41 Protocol-specific information in link state information 51 Link state information about own apparatus 52 Link State Information About the Own Device 53 Link State Information About the Own Device 54 Link State Information About the Own Device 55 Link State Information About the Own Device 56 Link State Information About the Own Device 57 Link State Information About the Own Device 58 Own Link state information about the device 100 Control unit 101 CPU
DESCRIPTION OF SYMBOLS 102 Memory 103 Routing processing part 104 Routing table 110 Communication part 111 Transfer part 112 Network interface 113 Port 120 Reception processing part 121 Transmission processing part 122 Adjacency management part 123 Link state database 124 Path calculation part 125 Link state information generation part

Claims (10)

ネットワークに接続し、ルーティングにリンクステートを使用している複数の転送装置を備えた通信システムであって、
代表装置に選択された転送装置が、前記ネットワークについての第1のネットワーク・リンクステート情報を生成し、生成した前記第1のネットワーク・リンクステート情報を送信し、
代替代表装置に選択された転送装置が、前記ネットワークについての第2のリンクステート情報を生成し、生成した前記第2ネットワーク・リンクステート情報を送信し、
前記代表装置及び代替代表装置、及び、前記代表装置又は前記代替代表装置以外のひとつ又は複数の転送装置は、それぞれ、前記代替代表装置及び前記代表装置が生成した前記第1及び第2のネットワーク・リンクステート情報への両方のリンクを含めた、自装置についての装置・リンクステート情報を生成し、生成した前記装置・リンクステート情報を送信し、
前記代表装置又は前記代替代表装置以外のひとつ又は複数の転送装置は、受信した前記第1及び第2のネットワーク・リンクステート情報と複数の前記装置・リンクステート情報を保持し、
前記代表装置又は前記代表装置とネットワーク間の通信路の障害時に、前記代表装置又は前記代替代表装置以外のひとつ又は複数の転送装置は、前記代替代表装置から受信した前記第2のネットワーク・リンクステート情報へのリンクを用いて、前記代表装置を除く前記ネットワーク上の転送装置間のリンクステート情報上の接続を維持するようにした前記通信システム。
A communication system comprising a plurality of transfer devices connected to a network and using link states for routing,
The transfer device selected as the representative device generates the first network link state information about the network, and transmits the generated first network link state information.
The transfer device selected as the substitute representative device generates second link state information about the network, transmits the generated second network link state information,
The representative device, the substitute representative device, and one or a plurality of transfer devices other than the representative device or the substitute representative device are the first and second network devices generated by the substitute representative device and the representative device, respectively. Generate both device and link state information about the device, including both links to the link state information, and send the generated device and link state information.
One or a plurality of transfer devices other than the representative device or the substitute representative device hold the received first and second network link state information and a plurality of the device / link state information,
When the communication path between the representative device or the representative device and the network fails, one or a plurality of transfer devices other than the representative device or the alternative representative device receive the second network link state received from the alternative representative device. The communication system configured to maintain a link state information connection between transfer devices on the network excluding the representative device using a link to information.
ネットワークに接続し、ルーティングにリンクステートを使用している複数の転送装置を備えた通信システムにおける転送装置であって、
転送装置は、代表装置に選択された場合、前記ネットワークについての第1のネットワーク・リンクステート情報を生成し、生成した前記第1のネットワーク・リンクステート情報を送信し、
転送装置は、代替代表装置に選択された場合、前記ネットワークについての第2のリンクステート情報を生成し、生成した前記第2ネットワーク・リンクステート情報を送信し、
前記代表装置及び代替代表装置、及び、前記代表装置又は前記代替代表装置以外のひとつ又は複数の転送装置は、それぞれ、前記代替代表装置及び前記代表装置が生成した前記第1及び第2のネットワーク・リンクステート情報への両方のリンクを含めた、自装置についての装置・リンクステート情報を生成し、生成した前記装置・リンクステート情報を送信し、
前記代表装置又は前記代替代表装置以外のひとつ又は複数の転送装置は、受信した前記第1及び第2のネットワーク・リンクステート情報と複数の前記装置・リンクステート情報を保持し、
前記代表装置又は前記代表装置とネットワーク間の通信路の障害時に、前記代表装置又は前記代替代表装置以外のひとつ又は複数の転送装置は、前記代替代表装置から受信した前記第2のネットワーク・リンクステート情報へのリンクを用いて、前記代表装置を除く前記ネットワーク上の転送装置間のリンクステート情報上の接続を維持するようにした前記転送装置。
A transfer device in a communication system comprising a plurality of transfer devices connected to a network and using link states for routing,
When the transfer device is selected as a representative device, the transfer device generates first network link state information about the network, and transmits the generated first network link state information.
When the transfer device is selected as the substitute representative device, the transfer device generates second link state information about the network, and transmits the generated second network link state information.
The representative device, the substitute representative device, and one or a plurality of transfer devices other than the representative device or the substitute representative device are the first and second network devices generated by the substitute representative device and the representative device, respectively. Generate both device and link state information about the device, including both links to the link state information, and send the generated device and link state information.
One or a plurality of transfer devices other than the representative device or the substitute representative device hold the received first and second network link state information and a plurality of the device / link state information,
When the communication path between the representative device or the representative device and the network fails, one or a plurality of transfer devices other than the representative device or the alternative representative device receive the second network link state received from the alternative representative device. The transfer apparatus configured to maintain a link on link state information between transfer apparatuses on the network excluding the representative apparatus using a link to information.
前記ネットワークについての前記第1及び第2のネットワーク・リンクステート情報は、生成した転送装置情報と、接続している転送装置情報を含むことを特徴とする請求項1に記載の通信システム又は請求項2に記載の転送装置。   The communication system according to claim 1, wherein the first and second network link state information for the network includes generated transfer device information and connected transfer device information. 2. The transfer device according to 2. 前記自装置についての前記装置・リンクステート情報は、生成した転送装置情報と、リンク情報とを含むことを特徴とする請求項1又は3に記載の通信システム又は請求項2に記載の転送装置。   The communication apparatus according to claim 1 or 3, or the transfer apparatus according to claim 2, wherein the apparatus / link state information about the own apparatus includes the generated transfer apparatus information and link information. 前記代替代表装置が生成する前記第2のネットワーク・リンクステート情報には、前記ネットワークに接続している転送装置の情報を含むが、前記ネットワークの代表装置を含まないことを特徴とする請求項1、3、4のいずれかに記載の通信システム又は請求項2に記載の転送装置。   2. The second network link state information generated by the alternative representative device includes information of a transfer device connected to the network, but does not include a representative device of the network. The communication system according to claim 3, or the transfer device according to claim 2. 前記代替代表装置は、ネットワークについての前記第2のネットワーク・リンクステート情報を、自転送装置情報と、ネットワークに接続している転送装置情報とを含めるが、前記代表装置がネットワークに接続しているという情報は含まないように生成し、該第2のネットワーク・リンクステート情報を、他の転送装置へ配布することを特徴とする請求項1、3乃至5のいずれかに記載の通信システム又は請求項2に記載の転送装置。   The substitute representative device includes the second network link state information about the network including its own transfer device information and transfer device information connected to the network, but the representative device is connected to the network. 6. The communication system according to claim 1, wherein the second network link state information is distributed to other transfer apparatuses. Item 3. The transfer device according to Item 2. 前記代表装置以外の転送装置は、前記代表装置が生成した前記第1のネットワーク・リンクステート情報を削除して前記代表装置に到達性がなくなった場合、前記代替代表装置が生成した前記第2のネットワーク・リンクステート情報を使用して経路計算を実施し、前記ネットワークに接続している転送装置として含まれない前記代表装置を経由する経路を無効とし、代替経路へ切り替えることを特徴とする請求項1、3乃至6のいずれかに記載の通信システム又は請求項2に記載の転送装置。   When the transfer device other than the representative device deletes the first network link state information generated by the representative device and the representative device becomes unreachable, the second representative device generated by the alternative representative device The path calculation is performed using the network link state information, a path passing through the representative apparatus not included as a transfer apparatus connected to the network is invalidated and switched to an alternative path. The communication system according to claim 1 or 3, or the transfer apparatus according to claim 2. 前記代表装置とネットワークの間で障害が発生し、前記代表装置及び前記代替代表装置以外の転送装置がそれを検出した場合、該転送装置が生成する自装置についての装置・リンクステート情報から、前記代表装置が生成した前記第1のネットワーク・リンクステート情報へのリンクを削除し、
該転送装置は、前記第2のネットワーク・リンクステート情報を使用することで、ネットワークへの到達性を維持し、該転送装置で経路計算後に、前記代表装置以外の他の転送装置経由を通信路として復旧することを特徴とする請求項1、3乃至6のいずれかに記載の通信システム又は請求項2に記載の転送装置。
When a failure occurs between the representative device and the network and a transfer device other than the representative device and the alternative representative device detects the failure, the device / link state information about the own device generated by the transfer device Delete the link to the first network link state information generated by the representative device;
The transfer device maintains the reachability to the network by using the second network link state information, and after calculating the route in the transfer device, the transfer route passes through another transfer device other than the representative device. The communication system according to claim 1, or the transfer apparatus according to claim 2, wherein
前記代替代表装置は、前記代表装置又は前記代表装置とネットワーク間の通信路で障害が発生したときに、前記代表装置から受信した前記第1のネットワーク・リンクステート情報の削除通知を他の転送装置へ送り、該他の転送装置は、前記代替代表装置が生成した前記第2のネットワーク・リンクステート情報を用いて、前記代表装置を経由する通信を他の転送装置経由に切り替えることを特徴とする請求項1、3乃至6のいずれかに記載の通信システム又は請求項2に記載の転送装置。   The alternative representative device receives the deletion notification of the first network link state information received from the representative device when a failure occurs in the communication path between the representative device or the representative device and the network. The other transfer device switches communication via the representative device to another transfer device using the second network link state information generated by the alternative representative device. The communication system according to claim 1, or the transfer apparatus according to claim 2. 前記代表装置とネットワークの間の障害が発生し、前記代替代表装置がそれを検出した場合、前記代替代表装置はネットワークについての代表装置となり、
前記代替代表装置は、前記代表装置が生成した前記第1のネットワーク・リンクステート情報の削除通知を他の転送装置に通知し、
前記他の転送装置は、その削除通知を受けた場合、前記代表装置が生成した前記第1のネットワーク・リンクステート情報をリンクステートデータベースから削除し、前記代替代表装置が生成した前記第2のネットワーク・リンクステート情報を使用することで、経路計算を行い、前記代表装置以外の転送装置経由を通信路として復旧することができることを特徴とする請求項1、3乃至6のいずれかに記載の通信システム又は請求項2に記載の転送装置。
When a failure occurs between the representative device and the network, and the alternative representative device detects it, the alternative representative device becomes the representative device for the network,
The alternative representative device notifies the other transfer device of the deletion notification of the first network link state information generated by the representative device,
When receiving the deletion notification, the other transfer device deletes the first network link state information generated by the representative device from the link state database, and the second network generated by the alternative representative device. The communication according to any one of claims 1, 3 to 6, characterized in that by using link state information, route calculation can be performed and a transfer device other than the representative device can be restored as a communication path. The transfer apparatus according to claim 2.
JP2008187598A 2008-07-18 2008-07-18 Communication system and transfer device Pending JP2010028464A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008187598A JP2010028464A (en) 2008-07-18 2008-07-18 Communication system and transfer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008187598A JP2010028464A (en) 2008-07-18 2008-07-18 Communication system and transfer device

Publications (1)

Publication Number Publication Date
JP2010028464A true JP2010028464A (en) 2010-02-04

Family

ID=41733867

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008187598A Pending JP2010028464A (en) 2008-07-18 2008-07-18 Communication system and transfer device

Country Status (1)

Country Link
JP (1) JP2010028464A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022156831A (en) * 2021-03-31 2022-10-14 ソフトバンク株式会社 Communication system, communication device, program, and control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022156831A (en) * 2021-03-31 2022-10-14 ソフトバンク株式会社 Communication system, communication device, program, and control method
JP7437345B2 (en) 2021-03-31 2024-02-22 ソフトバンク株式会社 Communication system, communication device, program, and control method

Similar Documents

Publication Publication Date Title
US7804770B2 (en) Method and apparatus for performing a graceful restart in a NSF-capable router without enhancing link state routing protocols
CN101395853B (en) A technique for efficiently and dynamically maintaining bidirectional forwarding detection on a bundle of links
JP4682887B2 (en) Failure recovery method, node and network
JP4847557B2 (en) Ring network routing method and ring network node
CN102598599B (en) RSVP-TE graceful restart under fast re-route conditions
CN100581127C (en) Rapid response method for the failure of links between different routing domains
JP4389221B2 (en) Network, router device, switching method used therefor, program therefor, and recording medium
KR20150056159A (en) A method operating of a controller and a switch to resolve network error, and the controller and the switch therefor
US10439880B2 (en) Loop-free convergence in communication networks
US7936667B2 (en) Building backup tunnels for fast reroute in communications networks
US20180302318A1 (en) Apparatus And Method For Establishing A Repair Path
WO2009018728A1 (en) Ip ring network, ip ring network routing device and message forwarding method
JP2008263393A (en) Network system and node device
JP2011142479A (en) Network relay apparatus, network system, and control methods therefor
KR20150051107A (en) Method for fast flow path setup and failure recovery
JP5618946B2 (en) Communication apparatus and communication system
JP2006157716A (en) Network node device and route information updating method thereof
JP6042838B2 (en) Management system, management server, and management method
Vaghani et al. A comparison of data forwarding schemes for network resiliency in software defined networking
CN102571605B (en) Method and device for preventing traffic from interrupting
JP5518771B2 (en) Redundant network system, termination device and relay point adjacent device
JP2010028464A (en) Communication system and transfer device
JP2015015650A (en) Packet relay device, packet relay system, and packet relay method
JP2015164293A (en) Network connection device and network connection method
JP5506714B2 (en) Network connection device