JP6527488B2 - Packet transfer control device, packet transfer control method, and packet transfer control program - Google Patents

Packet transfer control device, packet transfer control method, and packet transfer control program Download PDF

Info

Publication number
JP6527488B2
JP6527488B2 JP2016123818A JP2016123818A JP6527488B2 JP 6527488 B2 JP6527488 B2 JP 6527488B2 JP 2016123818 A JP2016123818 A JP 2016123818A JP 2016123818 A JP2016123818 A JP 2016123818A JP 6527488 B2 JP6527488 B2 JP 6527488B2
Authority
JP
Japan
Prior art keywords
external
ofs
internal
destination
packet
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.)
Active
Application number
JP2016123818A
Other languages
Japanese (ja)
Other versions
JP2017228935A (en
Inventor
成正 熊川
成正 熊川
隆典 岩井
隆典 岩井
高橋 賢
賢 高橋
仁志 入野
仁志 入野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2016123818A priority Critical patent/JP6527488B2/en
Publication of JP2017228935A publication Critical patent/JP2017228935A/en
Application granted granted Critical
Publication of JP6527488B2 publication Critical patent/JP6527488B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Description

本発明は、OpenFlowスイッチ(以下、「OFS」と呼ぶ場合がある。)と従来型ルータとを相互接続してパケット転送を制御する技術に関する。なお、「NW」は、ネットワーク(Network)の略語として用いる。また、「RE」は、ルーチングエンジン(Routing Engine)の略語として用いる。   The present invention relates to a technique for interconnecting an OpenFlow switch (hereinafter sometimes referred to as "OFS") and a conventional router to control packet transfer. In addition, "NW" is used as an abbreviation of network (Network). Also, "RE" is used as an abbreviation of Routing Engine.

複数の従来型ルータを用いてNWを大規模化するために、複数のOFSを用いて構成される内部NWと従来型ルータを用いて構成される外部NWとを相互接続する接続方法がある。この接続方法には、主に、方式1に従うものと方式2に従うものが考えられる。   In order to enlarge the NW by using a plurality of conventional routers, there is a connection method in which an internal NW configured by using a plurality of OFS and an external NW configured by using a conventional router are interconnected. As this connection method, those following the method 1 and those following the method 2 can be considered.

方式1は、パケット転送用の経路計算を行うREをOFSごとに配備し、OFSを制御するOpenFlowコントローラ(以下、「OFC」を呼ぶ場合がある。)が内部NWと外部NWとを区別なく管理して相互接続を実現する方式である。方式1の接続方法は、RE群のトポロジをOFS群のトポロジと同じにすることができ、REの実装を単純にすることができるというメリットがある。しかし、方式1では、外部NWからは、OFSの数だけ従来型ルータの数が存在しているように見えてしまい、OFS数の増加に伴いルーチング負荷が増大してしまうというデメリットがある。   Method 1 deploys RE for packet transfer route calculation for each OFS, and an OpenFlow controller (hereinafter sometimes called "OFC") that controls the OFS manages the internal NW and the external NW without distinction. To realize interconnection. The connection method of method 1 has an advantage that the topology of REs can be made the same as the topology of OFSs, and the implementation of REs can be simplified. However, according to scheme 1, from the external NW, the number of conventional routers appears as many as the number of OFSs, and there is a disadvantage that the routing load increases as the number of OFS increases.

方式2は、内部NWをクラスタ化してOFSクラスタとし、OFSクラスタに1つのREを配備し、OFCが外部NWと内部NWとを区別して管理して相互接続を実現する方式である。方式2の接続方法は、方式1とは対照的に、外部NWからは、従来型ルータが1つだけ存在しているように見せることができるため、ルーチング負荷を低減させることができるというメリットがある。しかし、方式2では、OFSクラスタを拡大させるようにOFSの数を増大させた場合、内部NW上の経路と外部NW上の経路との紐付けが複雑化し、内部NW上のフォワーディングの実装が困難になるというデメリットがある。   Method 2 is a method in which an internal NW is clustered to be an OFS cluster, one RE is deployed in the OFS cluster, and the OFC distinguishes and manages the external NW and the internal NW to realize interconnection. The connection method of method 2 has the merit that the routing load can be reduced because the conventional network can appear as if there is only one conventional router from the external NW in contrast to method 1 is there. However, in method 2, if the number of OFS is increased to expand the OFS cluster, linking of the path on the internal NW and the path on the external NW is complicated, and it is difficult to implement forwarding on the internal NW It has the disadvantage of becoming

なお、特許文献1および非特許文献3には、上記の方式2の接続方法とほぼ同様の技術が開示されている。また、非特許文献1〜2には、OpenFlowの技術が開示されている。   Patent Document 1 and Non-Patent Document 3 disclose techniques substantially similar to the connection method of the above-described method 2. Further, Non-Patent Documents 1 and 2 disclose OpenFlow technology.

特開2014−160922号公報JP, 2014-160922, A

“OpenFlow Switch Specification 1.3.5”[online]、[平成28年6月4日検索]、インターネット<URL: https://www.opennetworking.org/images/stories/downloads/sdn-resources/onf-specifications/openflow/openflow-switch-v1.3.5.pdf>“OpenFlow Switch Specification 1.3.5” [online], [June 4, 2016 search], Internet <URL: https://www.opennetworking.org/images/stories/downloads/sdn-resources/onf-specifications /openflow/openflow-switch-v1.3.5.pdf> NTT OSRG, “Ryu SDN Framework”[online]、[平成28年6月4日検索]、インターネット<URL: https://osrg.github.io/ryu-book/ja/Ryubook.pdf>NTT OSRG, “Ryu SDN Framework” [online], [search June 4, 2016], Internet <URL: https://osrg.github.io/ryu-book/ja/Ryubook.pdf> Marcelo R. Nascimento et al., “Virtual routers as a service: the routeflow approach leveraging software-defined networks”, Proc. CFI '11, June 2011.Marcelo R. Nascimento et al., “Virtual routers as a service: the routeflow approach levering software-defined networks”, Proc. CFI '11, June 2011.

しかし、特許文献1および非特許文献1〜3には、上記の方式2のデメリットを解消するための記載も示唆もされていない。   However, Patent Document 1 and Non-Patent Documents 1 to 3 neither describe nor suggest to eliminate the disadvantages of the above-described method 2.

このような事情に鑑みて、本発明は、従来型ルータおよび相互接続するOFSクラスタを拡大させてもネットワークの大規模化を容易に実現させることを課題とする。   In view of such circumstances, it is an object of the present invention to easily realize the enlargement of the network even if the conventional router and the interconnected OFS cluster are expanded.

前記した課題を解決するため、請求項1に記載の発明は、複数の従来型ルータを介して外部NW(Network)と接続される内部NW上に配置されている複数のOpenFlowスイッチを制御してパケット転送を制御するパケット転送制御装置であって、前記複数のOpenFlowスイッチの各々に対応するルーチングエンジンを備え、前記内部NWについての経路計算を行う内部NW経路制御部と、前記複数のOpenFlowスイッチをクラスタ化したOFSクラスタに対応するルーチングエンジンを備え、前記外部NWに対する経路計算を行う外部NW経路制御部と、前記複数のOpenFlowスイッチの各々に対して生成されるフローエントリにおいて、前記外部NW上の宛先が設定されたパケットの、前記OFSクラスタからの流出先を、前記設定された、外部NW上の宛先へ転送する前記従来型ルータに接続している前記OpenFlowスイッチの出力IF(Interface:インタフェース)に設定するフローエントリ生成部と、を備える、ことを特徴とする。   In order to solve the problems described above, the invention according to claim 1 controls a plurality of OpenFlow switches disposed on an internal NW connected to an external NW (Network) via a plurality of conventional routers. A packet transfer control device for controlling packet transfer, comprising: a routing engine corresponding to each of the plurality of OpenFlow switches; and an internal NW route control unit for performing route calculation for the internal NW; and the plurality of OpenFlow switches An external NW path control unit that includes a routing engine corresponding to a clustered OFS cluster and performs path calculation for the external NW, and a flow entry generated for each of the plurality of OpenFlow switches, on the external NW Outgoing destination from the OFS cluster of the packet for which the destination is set to the destination on the set external NW Wherein connected to the traditional router sending OpenFlow switch output IF: includes a flow entry generation unit configured to set the (Interface Interface), and characterized in that.

また、請求項7に記載の発明は、複数の従来型ルータを介して外部NWと接続される内部NW上に配置されている複数のOpenFlowスイッチを制御してパケット転送を制御するパケット転送制御装置におけるパケット転送制御方法であって、前記パケット転送制御装置が、前記複数のOpenFlowスイッチの各々に対応するルーチングエンジンを備え、前記内部NWについての経路計算を行う内部NW経路制御ステップと、前記複数のOpenFlowスイッチをクラスタ化したOFSクラスタに対応するルーチングエンジンを備え、前記外部NWに対する経路計算を行う外部NW経路制御ステップと、前記複数のOpenFlowスイッチの各々に対して生成されるフローエントリにおいて、前記外部NW上の宛先が設定されたパケットの、前記OFSクラスタからの流出先を、前記設定された、外部NW上の宛先へ転送する前記従来型ルータに接続している前記OpenFlowスイッチの出力IFに設定するフローエントリ生成ステップと、を実行する、ことを特徴とする。   The invention according to claim 7 is a packet transfer control device that controls packet transfer by controlling a plurality of OpenFlow switches disposed on an internal NW connected to an external NW through a plurality of conventional routers. A packet transfer control method according to claim 1, wherein the packet transfer control device comprises a routing engine corresponding to each of the plurality of OpenFlow switches, and an internal NW path control step of performing path calculation for the internal NW, and the plurality of In the external NW path control step including a routing engine corresponding to the OFS cluster obtained by clustering the OpenFlow switch, and performing path calculation for the external NW, and the flow entry generated for each of the plurality of OpenFlow switches, the external Outflow destination from the OFS cluster of the packet for which the destination on the NW is set The set, executes a flow entry generation step of setting the output IF of the OpenFlow switches connected to the traditional router forwarding to a destination on the external NW, and characterized in that.

また、請求項8に記載の発明は、複数の従来型ルータを介して外部NWと接続される内部NW上に配置されている複数のOpenFlowスイッチを制御してパケット転送を制御するパケット転送制御装置としてのコンピュータを、前記複数のOpenFlowスイッチの各々に対応するルーチングエンジンを備え、前記内部NWについての経路計算を行う内部NW経路制御手段、前記複数のOpenFlowスイッチをクラスタ化したOFSクラスタに対応するルーチングエンジンを備え、前記外部NWに対する経路計算を行う外部NW経路制御手段、前記複数のOpenFlowスイッチの各々に対して生成されるフローエントリにおいて、前記外部NW上の宛先が設定されたパケットの、前記OFSクラスタからの流出先を、前記設定された、外部NW上の宛先へ転送する前記従来型ルータに接続している前記OpenFlowスイッチの出力IFに設定するフローエントリ生成手段、として機能させるためのパケット転送制御プログラムである。   The invention according to claim 8 is a packet transfer control device that controls packet transfer by controlling a plurality of OpenFlow switches disposed on an internal NW connected to an external NW through a plurality of conventional routers. Computer as a routing engine corresponding to each of the plurality of OpenFlow switches, internal NW route control means for performing route calculation for the internal NW, and routing corresponding to an OFS cluster obtained by clustering the plurality of OpenFlow switches The network of the external NW route control means which comprises an engine and performs route calculation to the external NW, and the flow entry generated for each of the plurality of OpenFlow switches, the OFS of the packet for which the destination on the external NW is set The conventional method of transferring the outflow destination from a cluster to the destination on the set external NW A packet transfer control program for operating the flow entry generation means for setting the output IF of the OpenFlow switches connected to the router as.

請求項1,7,8の発明によれば、フローエントリ生成部によって、OFSクラスタ内に流入したパケットは、当該パケットの外部NW上の宛先へ転送する従来型ルータに接続しているOpenFlowスイッチの出力IF(ポート)へ一度集約されるようにOFSクラスタ内を経由することができる。つまり、パケットごとに、OFSクラスタからの流出先を1つのOpenFlowスイッチの1つの出力IFに固定するように内部経路と外部経路との紐付けが行われ、紐付けは単純化される。このような集約は、NWの大規模化のために1OFSクラスタ内のOpenFlowスイッチの数を増大して、OFSクラスタを拡大させた場合にもあてはまる。
したがって、従来型ルータおよび相互接続するOFSクラスタを拡大させてもネットワークの大規模化を容易に実現させることができる。
According to the invention of claims 1, 7 and 8, in the OpenFlow switch connected to the conventional router, the packet which has flowed into the OFS cluster by the flow entry generation unit is transferred to the destination on the external NW of the packet. It is possible to go through within the OFS cluster so as to be aggregated to the output IF (port) once. That is, for each packet, the inner path and the outer path are linked so as to fix the outflow destination from the OFS cluster to one output IF of one OpenFlow switch, and the linking is simplified. Such aggregation also applies to the case of expanding the OFS cluster by increasing the number of OpenFlow switches in one OFS cluster in order to increase the size of the NW.
Therefore, even if the conventional router and the interconnecting OFS cluster are expanded, it is possible to easily realize the enlargement of the network.

また、請求項2に記載の発明によれば、請求項1に記載のパケット転送制御装置であって、前記フローエントリ生成部は、前記パケットの前記OFSクラスタ内への流入を受け付ける前記OpenFlowスイッチにて、前記設定を実行する、ことを特徴とする。   Also, according to the invention of claim 2, in the packet transfer control device according to claim 1, the flow entry generation unit transmits the flow of the packet into the OFS cluster to the OpenFlow switch. To perform the setting.

請求項2の発明によれば、フローエントリ生成部による、外部NW上の宛先が設定されたパケットの、OFSクラスタからの流出先の書換(集約)を、パケットのOFSクラスタ内への流入を受け付けるOpenFlowスイッチにて実行する、つまり、パケットのOFSクラスタ内への流入時に実行することで、OFSクラスタ内では、ソースアドレス(ソースMACアドレスまたはソースMPLSラベル)を参照したフォワーディングを実現することができる。これにより、すべてのOpenFlowスイッチが全経路(外部経路全体および内部経路全体)を保持する必要が無くなり、経路数の観点から、フローエントリ数のスケール性を向上させる際の制限を緩和することができる。   According to the second aspect of the invention, the flow entry generation unit receives the inflow of packets into the OFS cluster, with the rewriting (aggregation) of the outflow destination from the OFS cluster of the packet for which the destination on the external NW is set. By executing in the OpenFlow switch, that is, when the packet flows into the OFS cluster, forwarding with reference to the source address (source MAC address or source MPLS label) can be realized in the OFS cluster. This eliminates the need for all OpenFlow switches to hold all the paths (the entire external path and the entire internal path), and in terms of the number of paths, it is possible to ease the limit in improving the scaleability of the number of flow entries. .

また、請求項3に記載の発明によれば、請求項2に記載のパケット転送制御装置であって、前記設定する出力IFをMACアドレスにより識別し、前記内部NW経路制御部と外部NW経路制御部は該当MACアドレスをソースアドレスに書換え、そのソースアドレスルーチングでパケットを転送することを特徴とする。   Also, according to the invention of claim 3, in the packet transfer control device according to claim 2, the output IF to be set is identified by a MAC address, and the internal NW path control unit and the external NW path control The unit is characterized in that the corresponding MAC address is rewritten to a source address, and the packet is transferred by the source address routing.

請求項3の発明によれば、パケットの、OFSクラスタからの流出先が書き換えられた出力IFを構成するポートのアドレスを、MACアドレスとすることで、OFSクラスタ内でMAC転送を実現することができ、レイヤ2より上のプロトコルに依存しないパケット転送を実現することができる。その結果、従来型ルータとしてIPルータだけでなく、大規模NWで利用される機会の多いIP/MPLSルータとの相互接続が可能となる。   According to the invention of claim 3, the MAC transfer is realized in the OFS cluster by setting the address of the port constituting the output IF where the outflow destination from the OFS cluster of the packet is rewritten as the MAC address. Protocol-independent packet forwarding above layer 2 can be realized. As a result, it becomes possible to interconnect not only IP routers as conventional routers, but also IP / MPLS routers that are frequently used in large-scale NWs.

また、請求項4に記載の発明によれば、請求項1から請求項3のいずれか1項に記載のパケット転送制御装置であって、前記外部NWがIPネットワークである場合、前記パケットに設定された、前記外部NW上の宛先がIPアドレスであり、前記外部NWがIP/MPLSネットワークである場合、前記パケットに設定された、前記外部NW上の宛先が宛先ラベルである、ことを特徴とする。   According to the invention of claim 4, in the packet transfer control device according to any one of claims 1 to 3, when the external NW is an IP network, the packet is set as the packet. If the destination on the external NW is an IP address and the external NW is an IP / MPLS network, the destination on the external NW set in the packet is a destination label. Do.

請求項4の発明によれば、パケットに設定された外部NW上の宛先をIPアドレスにすることで、外部NWがIPネットワークであってもネットワークの大規模化を容易に実現することができる。また、パケットに設定された外部NW上の宛先を宛先ラベルにすることで、外部NWがIP/MPLSネットワークであってもネットワークの大規模化を容易に実現することができる。   According to the invention of claim 4, by setting the destination on the external NW set in the packet as the IP address, it is possible to easily realize the enlargement of the network even if the external NW is an IP network. In addition, by setting the destination on the external NW set in the packet as the destination label, even if the external NW is an IP / MPLS network, it is possible to easily realize the enlargement of the network.

また、請求項5に記載の発明によれば、請求項1から請求項4のいずれか1項に記載のパケット転送制御装置であって、前記複数のOpenFlowスイッチの各々が備える前記ルーチングエンジンを動作させるアルゴリズムと、前記OFSクラスタが備える前記ルーチングエンジンを動作させるアルゴリズムとが共通化可能である、ことを特徴とする。   Also, according to the invention described in claim 5, in the packet transfer control device according to any one of claims 1 to 4, the routing engine provided in each of the plurality of OpenFlow switches is operated. And an algorithm for operating the routing engine included in the OFS cluster can be made common.

請求項5の発明によれば、複数のOpenFlowスイッチの各々が備えるルーチングエンジンを動作させるアルゴリズムと、OFSクラスタが備えるルーチングエンジンを動作させるアルゴリズムの共通化を可能にすることで、内部NW上のフォワーディング(内部フォワーディング)の実装を容易にすることができる。その結果、ネットワークの大規模化をさらに容易に実現させることができる。   According to the invention of claim 5, forwarding on the internal NW is enabled by enabling sharing of an algorithm for operating the routing engine included in each of the plurality of OpenFlow switches and an algorithm for operating the routing engine included in the OFS cluster. Implementation of (internal forwarding) can be facilitated. As a result, it is possible to more easily realize the enlargement of the network.

また、請求項6に記載の発明によれば、請求項1から請求項5のいずれか1項に記載のパケット転送制御装置であって、前記設定された、外部NW上の宛先に前記パケットが到達できなくなる故障が発生した場合、当該パケットの、前記OFSクラスタからの流出先を、前記設定された、外部NW上の宛先へ転送する他の従来型ルータに接続している前記OpenFlowスイッチの出力IFに設定し、前記設定された宛先へ転送する他の従来型ルータに接続している前記OpenFlowスイッチが無い場合、前記設定された、外部NW上の宛先を削除して、前記外部NWへ経路広告する、ことを特徴とする。   Also, according to the invention described in claim 6, in the packet transfer control device according to any one of claims 1 to 5, the packet is transmitted to the set destination on the external NW. When a failure that can not be reached occurs, the output of the OpenFlow switch is connected to another conventional router that transfers the outflow destination of the packet from the OFS cluster to the destination on the external NW. If there is no OpenFlow switch connected to another conventional router set to IF and transferred to the set destination, the set destination on the external NW is deleted and the route to the external NW is deleted. It is characterized by advertising.

請求項6の発明によれば、パケットが外部NW上の宛先に到達するまでの経路において故障が発生した場合であっても、クラスタ内で故障箇所を迂回するようなパケットの最適な転送経路を導き出すことができる。もし、クラスタ内で迂回先が無い場合にはOFSクラスタから転送経路が削除されたことを外部NWに広告することで、外部NWに対して適切なルーチングを促すことができる。   According to the invention of claim 6, even when a failure occurs in the route until the packet reaches the destination on the external NW, an optimal transfer route of the packet for bypassing the failure point in the cluster is provided. It can be derived. If there is no bypass destination in the cluster, it is possible to prompt the external NW to perform appropriate routing by advertising the fact that the transfer path has been deleted from the OFS cluster to the external NW.

本発明によれば、従来型ルータおよび相互接続するOFSクラスタを拡大させてもネットワークの大規模化を容易に実現させることができる。   According to the present invention, the network scale can be easily realized even if the conventional router and the interconnecting OFS cluster are expanded.

(a)が従来型ルータによるパケット転送の説明図であり、(b)がOpenFlowによるパケット転送の説明図である。(A) is an explanatory view of packet transfer by a conventional router, and (b) is an explanatory view of packet transfer by OpenFlow. OFSによるIPルーチングの説明図である。It is explanatory drawing of IP routing by OFS. 従来型ルータとOFSとの相互接続の(a)方式1および(b)方式2の説明図である。It is explanatory drawing of the (a) system 1 of the interconnection of a conventional router and OFS, and the (b) system 2. FIG. 本実施形態のOFCの管理対象となる、従来型ルータおよびOpenFlowスイッチクラスタの構成の例である。It is an example of the structure of the conventional router and OpenFlow switch cluster used as the management object of OFC of this embodiment. 本実施形態のOFCの機能構成詳細図の例である。It is an example of the function structure detail figure of OFC of this embodiment. IF状態テーブルのデータ構造図の例である。It is an example of the data structure figure of IF state table. 外部経路テーブルのデータ構造図の例である。It is an example of the data structure figure of an external routing table. 内部経路テーブルのデータ構造図の例である。It is an example of the data structure figure of an internal routing table. (a)が、パケット書換テーブル(IPの場合)のデータ構造図の例であり、(b)が、パケット書換テーブル(MPLSの場合)のデータ構造図の例である。(A) is an example of a data structure diagram of a packet rewriting table (in the case of IP), and (b) is an example of a data structure diagram of a packet rewriting table (in the case of MPLS). 内部出力IFテーブルのデータ構造図の例である。It is an example of the data structure figure of an internal output IF table. 正常系動作の説明図の例である。It is an example of explanatory drawing of normal system operation. 故障時切替動作の説明図である。It is explanatory drawing of switching operation at the time of failure. 故障時動作(内外IF連携動作)の説明図の例である。It is an example of explanatory drawing of operation at the time of failure (internal / external IF cooperation operation). 転送時動作(正常系)の処理を示すフローチャートである。It is a flowchart which shows the process of operation | movement at the time of transfer (normal system). 故障時動作の処理を示すフローチャートである。It is a flow chart which shows processing of operation at the time of failure.

本発明の実施形態について、図面を参照しながら詳細に説明する。   Embodiments of the present invention will be described in detail with reference to the drawings.

≪背景≫
[OpenFlow]
図1(a)に示すように、従来型ルータがレイヤ3によるダイナミックルーチングを行う際、従来型ルータと一体で動作するREが、ルーチングプロトコルとして機能するC-Plane(コントロールプレーン)にてコントロールパケットを処理し経路計算を行っていた。そして、従来型ルータは、経路計算結果に従って、D-Plane(データプレーン)にてパケット転送部がデータパケットを実際に処理することでパケット転送を行っていた。しかし、図1(a)に示す方式では、C-PlaneとD-Planeとが一体化しているため、従来型ルータに新たな経路制御方法を導入することが困難であり、柔軟なNW構築が困難であった。
«Background»
[OpenFlow]
As shown in FIG. 1 (a), when a conventional router performs dynamic routing by layer 3, a control packet is operated by C-Plane (control plane) in which an RE operating integrally with the conventional router functions as a routing protocol. Was calculated and the route was calculated. Then, according to the route calculation result, the conventional router performs packet transfer by the packet transfer unit actually processing the data packet in D-Plane (data plane). However, in the method shown in FIG. 1A, since C-Plane and D-Plane are integrated, it is difficult to introduce a new route control method to the conventional router, and flexible NW construction is It was difficult.

これに対し、図1(b)に示すように、OpenFlowは、C-PlaneとD-Planeとを分離し、柔軟なNW構築を可能とする(非特許文献1参照)。C-Planeを担うOFCが所定のアルゴリズム(OpenFlowでは特に規定されていない)を用いて経路計算を行う。そして、OFCが、D-Planeを担うOFSに対してフローエントリと呼ばれる転送ルールを書き込むことで、データパケットを処理して、パケット転送を行う。NW構成変更の際は、物理トポロジ(D-Plane)を変更すればよく、C-Planeの大幅な設計変更は不要であるため、柔軟な構成変更が可能となる。   On the other hand, as shown in FIG. 1B, OpenFlow separates C-Plane and D-Plane and enables flexible NW construction (see Non-Patent Document 1). The OFC responsible for C-Plane performs route calculation using a predetermined algorithm (not specifically defined by OpenFlow). Then, the OFC processes the data packet by writing a transfer rule called a flow entry to the OFS carrying the D-Plane, and performs packet transfer. When changing the NW configuration, it is sufficient to change the physical topology (D-Plane), and a significant change in design of C-Plane is unnecessary, so flexible configuration changes become possible.

[ダイナミックルーチング]
例えば、従来型NWからOpenFlowベースNWへのマイグレーション時などに、それぞれのNWをレイヤ3(L3)で接続する必要がある場合が想定される。マイグレーション時には、従来型ルータに新たな技術の導入は困難であることが想定される。このため、OFC側の技術を従来型ルータに合わせるようにするために、OFCにREを備え、OFCが従来型ルータとダイナミックルーチング(IP(Internet Protocol)ルーチング)を行わせることが検討されている(非特許文献2,3参照)。なお、REは、例えばBGP(Border Gateway Protocol)やOSPF(Open Shortest Path First)などのプロトコルスタックである。
[Dynamic routing]
For example, when migrating from a conventional NW to an OpenFlow-based NW, it is assumed that the NWs need to be connected by layer 3 (L3). At the time of migration, it is assumed that it is difficult to introduce a new technology to the conventional router. For this reason, in order to match the technology on the OFC side with the conventional router, it is considered that the OFC is provided with REs and the OFC performs dynamic routing (IP (Internet Protocol) routing) with the conventional router. (Refer nonpatent literature 2, 3). The RE is a protocol stack such as, for example, Border Gateway Protocol (BGP) or Open Shortest Path First (OSPF).

具体的な接続方法としては、OpenFlowのPacketIN/Outを用いてコントロールパケットを処理する。つまり、図2に示すように、まず、ダイナミックルーチング用のコントロールパケットについては、OpenFlowのPacketIN/OutにてOFCへパケットが流入するようにOFS側へ設定する。つぎに、OFCが備えるREは、コントロールパケットの処理および経路計算を行い、OFSに投入するデータパケット用のフローエントリをOFCが作成し、OFSに書き込む。   As a specific connection method, control packets are processed using OpenFlow Packet IN / Out. That is, as shown in FIG. 2, first, with regard to a control packet for dynamic routing, the packet is set to the OFS side so that the packet flows into the OFC by PacketIN / Out of OpenFlow. Next, the RE included in the OFC performs processing of the control packet and path calculation, the OFC creates a flow entry for the data packet to be input to the OFS, and writes the flow entry to the OFS.

[複数OFSの制御方法]
複数のOFSと複数の従来型ルータとを相互接続する場合、以下の方式1および方式2が考えられる。
つまり、図3(a)に示すように、方式1では、OFCが備えるREをOFSごとに複数用意し、OFS群のトポロジとOFC側のRE群のトポロジとを同一にしつつ、OFC側のRE群の各々が、従来型ルータが備えるREの各々に接続している。方式1によれば、OFCは、OFS群が配置される内部NWと従来型ルータが配置される外部NWとを区別なく管理する。
[Method of controlling multiple OFS]
When interconnecting a plurality of OFS and a plurality of conventional routers, the following scheme 1 and scheme 2 can be considered.
That is, as shown in FIG. 3A, in method 1, a plurality of REs included in the OFC are prepared for each OFS, and the topology of the OFS group and the topology of the RE group on the OFC side are identical, Each of the groups is connected to each of the REs provided in the conventional router. According to scheme 1, the OFC manages the internal NW in which the OFS group is disposed and the external NW in which the conventional router is disposed without distinction.

また、図3(b)に示すように、方式2では、OFS群を1つのルータとしてクラスタ化してOFSクラスタとし、OFCが備えるREをOFSクラスタに対して1つ用意し、OFCが備える1つのREが、従来型ルータが備えるREの各々に接続している。このとき、OFCは、従来型ルータに対応する外部ルータと1つのREとの接続関係を表す外部トポロジを、外部NWの管理情報として保持する。また、OFCは、OFSクラスタを構成するOFS同士の接続関係を表す内部トポロジを、内部NWの管理情報として保持する。内部トポロジは、例えば、ルーチングプロトコルで把握されるようにしてもよいが、他のプロトコルによって把握されるようにしてもよい。方式2によれば、OFCは、OFS群が配置される内部NWと従来型ルータが配置される外部NWとを区別して管理する。このとき、内部NW上の経路(内部経路)と外部NW上の経路(外部経路)とが紐付けられて管理される。   Further, as shown in FIG. 3B, in method 2, the OFS group is clustered as one router to form an OFS cluster, one RE provided for the OFC is prepared for the OFS cluster, and one for the OFC is provided. An RE is connected to each of the REs provided in the conventional router. At this time, the OFC holds the external topology representing the connection relationship between the external router corresponding to the conventional router and one RE as management information of the external NW. In addition, the OFC holds an internal topology representing a connection relationship between the OFSs constituting the OFS cluster as management information of the internal NW. The internal topology may be grasped by, for example, a routing protocol, but may be grasped by another protocol. According to scheme 2, the OFC distinguishes and manages the internal NW in which the OFS group is disposed and the external NW in which the conventional router is disposed. At this time, the route on the internal NW (internal route) and the route on the external NW (external route) are linked and managed.

方式1の接続方法は、RE群のトポロジをOFS群のトポロジと同じにすることができ、OFCの実装を単純にすることができるというメリットがある。しかし、方式1では、外部NWからは、OFSの数だけ従来型ルータの数が存在しているように見えてしまい、OFSの増加に伴いルーチング負荷が増大してしまうというデメリットがある。方式2は、このようなルーチング負荷の増加は無く、NWのスケール性が高い方式であるといえる。   The connection method of method 1 has an advantage that the topology of the RE group can be made the same as the topology of the OFS group, and the implementation of the OFC can be simplified. However, according to scheme 1, from the external NW, the number of conventional routers appears to exist as many as the number of OFSs, and there is a disadvantage that the routing load increases as the number of OFS increases. Method 2 has no such increase in routing load, and it can be said that NW is highly scalable.

複数の従来型ルータを用いてNWの大規模化を実現する上で、高スケール性を有する方式2による検討が行われている。特許文献1では、方式2とほぼ同様の技術が検討されている。つまり、特許文献1によれば、まず、OpenFlowコントローラは、外部NWと内部NWとの紐付けを行う。また、OpenFlowコントローラは、自身が生成した経路情報を外部NW上のルータにダイナミックルーチング(例:OSPF)で伝える。また、OpenFlowコントローラは、内部NW上のOFS間のパケット転送については、OFC内部で計算したフローエントリの書き込みを行う。特許文献2の技術について、OFSクラスタ内の接続情報は、予め設定しておく、または、所定の隣接管理プロトコル(例:LLDP(Link Layer Discovery Protocol))で取得することが考えられる。   In order to realize a large-scale NW by using a plurality of conventional routers, a study using System 2 with high scaleability has been conducted. In Patent Document 1, almost the same technology as that of method 2 is studied. That is, according to Patent Document 1, first, the OpenFlow controller links the external NW with the internal NW. In addition, the OpenFlow controller transmits route information generated by itself to a router on the external NW by dynamic routing (eg, OSPF). Also, the OpenFlow controller writes the flow entry calculated inside the OFC for packet transfer between the OFS on the internal NW. With regard to the technology of Patent Document 2, connection information in the OFS cluster may be set in advance or acquired by using a predetermined adjacent management protocol (eg, LLDP (Link Layer Discovery Protocol)).

[課題]
方式2に示すクラスタ化は、一部の課題を解決することができるが、以下の課題a〜cが存在する。
課題a:OFSクラスタを構成するOFSの数が増大した場合、内部経路と外部経路との紐付けが複雑化する。その結果、内部NW上のフォワーディング(内部フォワーディング)の実装が困難になる。
課題b:すべてのOFSがすべてのフローエントリ(またはすべての外部経路の管理情報)を持つ必要があり、フローエントリ数のスケール性の向上が制限される。
課題c:パケットヘッダの書換方式について具体的に検討されていない。例えば、Ethernet(登録商標)におけるMAC(Media Access Control)アドレス書換や、IP/MPLS(Multi Protocol Label Switching)におけるMPLSラベル書換などは、OFSクラスタ内のいずれの箇所(ingress側かegress側かなど)でいかなる方法で実行されるかは何ら規定されていない。
[Task]
The clustering shown in method 2 can solve some problems, but the following problems a to c exist.
Problem a: When the number of OFSs constituting an OFS cluster increases, the connection between the internal route and the external route becomes complicated. As a result, it becomes difficult to implement forwarding (internal forwarding) on the internal NW.
Problem b: Every OFS needs to have all flow entries (or management information of all external routes), which limits the improvement in the scaleability of the number of flow entries.
Problem c: The packet header rewriting method has not been specifically considered. For example, for MAC (Media Access Control) address rewriting in Ethernet (registered trademark), and MPLS label rewriting in IP / MPLS (Multi Protocol Label Switching), which point in the OFS cluster (ingress side or egress side, etc.) There are no stipulations as to how to implement in

[本実施形態の概要]
本実施形態は、課題a〜cを解決するために以下の特徴を備える。
・内部NWの(OFS間の)経路制御については、方式1に従い、REを各OFSに1つずつ配備する。
・外部NWの(OFS−従来型ルータ間の)経路制御については、方式2に従い、REをOFSクラスタ(またはOFC)に1つ配備する。OFCを複数用いるシステムについては、REを各OFSクラスタ(または各OFC)に1つずつ配備する。
・内部経路と外部経路との紐付けは、各OFSのREとOFSクラスタのREとの紐付けとして実現し、各OFSのREとOFSクラスタのREとの紐付けには専用のテーブルを用いる(詳細は後記)。フローエントリ変換時(書換時)には、ソースMACアドレスフォワーディング(またはソースMPLSラベルフォワーディング)を実行するフローエントリ生成を行う(詳細は後記)。
[Overview of this embodiment]
The present embodiment has the following features in order to solve the problems a to c.
-For routing control of the internal NW (between OFSs), one RE is deployed in each OFS according to method 1.
-For routing control of the external NW (between the OFS and the conventional router), one RE is deployed in the OFS cluster (or OFC) according to method 2. For systems using multiple OFCs, deploy one RE in each OFS cluster (or each OFC).
-Linking of internal routes and external routes is realized as linking of REs of each OFS to REs of OFS clusters, and a dedicated table is used to link REs of each OFS and REs of OFS clusters ( Details will be described later). At the time of flow entry conversion (at the time of rewriting), flow entry generation for executing source MAC address forwarding (or source MPLS label forwarding) is performed (the details will be described later).

上記の特徴を詳細に説明するために、従来型ルータおよびOpneFlowスイッチクラスタ(OFSクラスタ)の構成の例を図4に示す。外部NWに配置される従来型ルータとして、従来型ルータ#1(3−1),#2(3−2),#3(3−3),#4(3−4)を用意する。従来型ルータ#1(3−1),#2(3−2),#3(3−3),#4(3−4)ぞれぞれを、R#1,R#2,R#3,R#4と表記する場合がある。OFSクラスタ2を構成し、内部NWに配置されるOFSとしてOFS#1(2−1),#2(2−2),#3(2−3),#4(2−4),#5(2−5),#6(2−6)を用意する。   In order to describe the above features in detail, an example of the configuration of a conventional router and an OpneFlow switch cluster (OFS cluster) is shown in FIG. Conventional routers # 1 (3-1), # 2 (3-2), # 3 (3-3), and # 4 (3-4) are prepared as conventional routers disposed in the external NW. The conventional routers # 1 (3-1), # 2 (3-2), # 3 (3-3), and # 4 (3-4) are represented by R # 1, R # 2, R # respectively. It may be written as 3, R # 4. The OFS cluster 2 is configured, and OFS # 1 (2-1), # 2 (2-2), # 3 (2-3), # 4 (2-4), # 5 as OFS arranged in the internal NW (2-5) and # 6 (2-6) are prepared.

従来型ルータ#1(3−1)は、1.1.1.0/24宛のパケットおよび4.4.4.0/24宛のパケットを中継できる。従来型ルータ#2(3−2)は、1.1.1.0/24宛のパケットを中継できる。従来型ルータ#3(3−3)は、2.2.2.0/24宛のパケットおよび3.3.3.0/24宛のパケットを中継できる。従来型ルータ#4(3−4)は、2.2.2.0/24宛のパケットを中継できる。   The conventional router # 1 (3-1) can relay packets addressed to 1.1.1.0/24 and packets addressed to 4.4.4.0/24. The conventional router # 2 (3-2) can relay the packet addressed to 1.1.1.0/24. The conventional router # 3 (3-3) can relay packets addressed to 2.2.2.0/24 and packets addressed to 3.3.3.0/24. The conventional router # 4 (3-4) can relay packets addressed to 2.2.2.0/24.

OFS#1(2−1)は、従来型ルータ#1(3−1)、OFS#3(2−3)、OFS#4(2−4)にそれぞれ接続するためのポートp1,p2,p3をそれぞれ備える。
OFS#2(2−2)は、従来型ルータ#2(3−2)、OFS#3(2−3)、OFS#4(2−4)にそれぞれ接続するためのポートp1,p2,p3をそれぞれ備える。
OFS#3(2−3)は、OFS#1(2−1)、OFS#2(2−2)、OFS#5(2−5)、OFS#6(2−6)にそれぞれ接続するためのポートp1,p2,p3,p4をそれぞれ備える。
OFS#4(2−4)は、OFS#1(2−1)、OFS#2(2−2)、OFS#5(2−5)、OFS#6(2−6)にそれぞれ接続するためのポートp1,p2,p3,p4をそれぞれ備える。
OFS#5(2−5)は、OFS#3(2−3)、OFS#4(2−4)、従来型ルータ#3(3−3)にそれぞれ接続するためのポートp1,p2,p3をそれぞれ備える。
OFS#6(2−6)は、OFS#3(2−3)、OFS#4(2−4)、従来型ルータ#4(3−4)にそれぞれ接続するためのポートp1,p2,p3をそれぞれ備える。
OFS # 1 (2-1) are ports p1, p2, and p3 for connecting to the conventional router # 1 (3-1), OFS # 3 (2-3), and OFS # 4 (2-4), respectively. Each has
OFS # 2 (2-2) are ports p1, p2 and p3 for connecting to the conventional router # 2 (3-2), OFS # 3 (2-3) and OFS # 4 (2-4) respectively. Each has
OFS # 3 (2-3) is connected to OFS # 1 (2-1), OFS # 2 (2-2), OFS # 5 (2-5), OFS # 6 (2-6) respectively. Ports p1, p2, p3 and p4 of
OFS # 4 (2-4) are connected to OFS # 1 (2-1), OFS # 2 (2-2), OFS # 5 (2-5), OFS # 6 (2-6) respectively. Ports p1, p2, p3 and p4 of
OFS # 5 (2-5) are ports p1, p2, p3 for connecting to OFS # 3 (2-3), OFS # 4 (2-4), and conventional router # 3 (3-3), respectively. Each has
OFS # 6 (2-6) are ports p1, p2, p3 for connecting to OFS # 3 (2-3), OFS # 4 (2-4), and conventional router # 4 (3-4), respectively. Each has

OFC1の外部NW経路制御部12(後記)は、OFSクラスタ2に割り当てたRE(4−C)を有する。OFC1の内部NW経路制御部13(後記)は、OFS#1(2−1)〜#6(2−6)に割り当てたRE(4−1〜4−6)を有する。RE(4−C)およびRE(4−1〜4−6)には、経路計算用の共通のアルゴリズムを使用することができる。各OFS#1(2−1)〜#6(2−6)のRE(4−1〜4−6)とOFSクラスタ2のRE(4−C)との紐付けのためのテーブルとして、外部NW経路制御部12(後記)は外部経路テーブルT2(後記)を有し、内部NW経路制御部13(後記)は内部経路テーブルT3(後記)を有する。   The external NW path control unit 12 (described later) of the OFC 1 has the RE (4-C) assigned to the OFS cluster 2. The internal NW path control unit 13 (described later) of the OFC 1 has REs (4-1 to 4-6) assigned to the OFS # 1 (2-1) to # 6 (2-6). For RE (4-C) and RE (4-1 to 4-6), a common algorithm for path calculation can be used. As a table for associating REs (4-1 to 4-6) of OFS # 1 (2-1) to # 6 (2-6) with REs (4-C) of OFS cluster 2, external The NW route control unit 12 (described later) has an external route table T2 (described later), and the internal NW route control unit 13 (described later) has an internal route table T3 (described later).

[本実施形態の詳細]
≪構成≫
図5に、本実施形態のOFC1の機能構成詳細図の例を示す。OFC1は、統合処理部11と、外部NW経路制御部12と、内部NW経路制御部13とを含む機能部を有する。統合処理部11は、OpenFlow処理部111と、システム管理部112と、フローエントリ生成部113で構成される。システム管理部112は、IF管理部1121と、内外IF連携制御部1122で構成される。なお、「IF」はインタフェース(Interface)の略語であり、本実施形態では、OFSのポートおよび従来型ルータのポートを意味する。
OFC1は、制御部、記憶部、入力部、出力部といったハードウェアを有し、制御部が、記憶部に記憶されているプログラム(パケット転送制御プログラムを含む)を記憶領域に展開し実行することにより、上記の機能部を実現し、さまざまな処理を実行することができる。本実施形態のOFC1は、このようなソフトウェアとハードウェアの協働を実現することができる。
[Details of this Embodiment]
«Configuration»
FIG. 5 shows an example of a detailed functional configuration of the OFC 1 according to the present embodiment. The OFC 1 has a functional unit including an integration processing unit 11, an external NW route control unit 12, and an internal NW route control unit 13. The integration processing unit 11 includes an OpenFlow processing unit 111, a system management unit 112, and a flow entry generation unit 113. The system management unit 112 includes an IF management unit 1121 and an internal / external IF cooperation control unit 1122. Note that “IF” is an abbreviation of Interface, and in the present embodiment, means the port of the OFS and the port of the conventional router.
The OFC 1 includes hardware such as a control unit, a storage unit, an input unit, and an output unit, and the control unit expands a program (including a packet transfer control program) stored in the storage unit into a storage area and executes it. Thus, the functional units described above can be realized to execute various processes. The OFC 1 according to the present embodiment can realize such cooperation between software and hardware.

OpenFlow処理部111は、OFSクラスタ2内の各OFSとOFC1との間で情報のやり取りを行うインタフェースとして機能する。例えば、OpenFlow処理部111は、OpenFlowメッセージの生成やパースを行う。   The OpenFlow processing unit 111 functions as an interface for exchanging information between each OFS in the OFS cluster 2 and the OFC 1. For example, the OpenFlow processing unit 111 generates and parses an OpenFlow message.

IF管理部1121は、各IFのMACアドレスを定める。また、IF管理部1121は、各IFの状態を監視する。IF管理部1121は、各IFの状態を監視するためのIF状態テーブルT1(後記)を有する。IF状態テーブルT1は、OFS#1〜#6(2−1〜2−6)ごとに生成される。   The IF management unit 1121 determines the MAC address of each IF. The IF management unit 1121 also monitors the state of each IF. The IF management unit 1121 has an IF status table T1 (described later) for monitoring the status of each IF. The IF status table T1 is generated for each of the OFS # 1 to # 6 (2-1 to 2-6).

内外IF連携制御部1122は、OFSクラスタ内で故障が発生し、OFSの1または複数が残りのOFSから孤立した場合、当該OFSのIFを外部NW経路制御部12に通知して、外部NW経路制御部12の制御対象から除外する。   When a failure occurs in the OFS cluster and one or more OFSs become isolated from the remaining OFS, the internal / external IF cooperation control unit 1122 notifies the IF of the OFS to the external NW route control unit 12, and the external NW route It is excluded from the control targets of the control unit 12.

外部NW経路制御部12は、外部NWとの経路交換を行う。外部NW経路制御部12は、OFSクラスタ2に割り当てられたRE(4−C)を有し、外部経路の経路計算を行う。外部NW経路制御部12は、経路計算から出力IFを決定するための外部経路テーブルT2(後記)を有する。なお、外部NW経路制御部12は、各IFのMACアドレスとIPアドレスを対応付けるARPテーブル(図示略)を有する。   The external NW route control unit 12 performs route exchange with the external NW. The external NW route control unit 12 has the RE (4-C) assigned to the OFS cluster 2 and performs route calculation of the external route. The external NW route control unit 12 has an external route table T2 (described later) for determining an output IF from route calculation. The external NW path control unit 12 has an ARP table (not shown) that associates the MAC address of each IF with the IP address.

内部NW経路制御部13は、内部NW内の各OFS#1〜#6(2−1〜2−6)を表すIPアドレスの経路交換を行う。このIPアドレスは、例えば、各OFSのLoopbackアドレス(図5中「Lo」と表記)とすることができる。内部NW経路制御部13は、各OFS#1〜#6(2−1〜2−6)に割り当てられたRE(4−1〜4−6)を有し、内部経路の経路計算を行う。内部NW経路制御部13は、経路計算から出力IFを決定するための内部経路テーブルT3(後記)を有する。内部経路テーブルT3は、OFS#1〜#6(2−1〜2−6)ごとに生成される。なお、内部NW経路制御部13は、各IFのMACアドレスとIPアドレスを対応付けるARPテーブル(図示略)をOFS#1〜#6(2−1〜2−6)ごとに有する。   The internal NW path control unit 13 performs path exchange of IP addresses representing the respective OFSs # 1 to # 6 (2-1 to 2-6) in the internal NW. This IP address can be, for example, the Loopback address (denoted as “Lo” in FIG. 5) of each OFS. The internal NW route control unit 13 has REs (4-1 to 4-6) assigned to the respective OFSs # 1 to # 6 (2-1 to 2-6), and performs route calculation of the internal route. The internal NW route control unit 13 has an internal route table T3 (described later) for determining an output IF from route calculation. The internal route table T3 is generated for each of the OFS # 1 to # 6 (2-1 to 2-6). The internal NW path control unit 13 has an ARP table (not shown) that associates the MAC address of each IF with the IP address for each of the OFS # 1 to # 6 (2-1 to 2-6).

フローエントリ生成部113は、OpenFlowのフローエントリを生成する。例えば、フローエントリ生成部113は、IF管理部1121のIF状態テーブルT1と、外部NW経路制御部12の外部経路テーブルT2と、内部NW経路制御部13の内部経路テーブルT3とを適宜組み合わせる(必要に応じて他のテーブルを組み合わせてもよい)ことにより、パケット書換テーブル(IPの場合)T4a(後記)、パケット書換テーブル(MPLSの場合)T4b(後記)、および、内部出力IFテーブルT5(後記)を作成し、フローエントリの生成に必要な情報を集計する。フローエントリの生成の詳細手順は後記する。   The flow entry generation unit 113 generates an OpenFlow flow entry. For example, the flow entry generation unit 113 appropriately combines the IF state table T1 of the IF management unit 1121, the external route table T2 of the external NW route control unit 12, and the internal route table T3 of the internal NW route control unit 13 Other tables may be combined according to the packet rewriting table (in the case of IP) T4a (described later), the packet rewriting table (in the case of MPLS) T4b (described later), and the internal output IF table T5 (described later). Create and aggregate the information needed to generate the flow entry. The detailed procedure of flow entry generation will be described later.

(各種テーブル)
図6に示すように、IF管理部1121が有するIF状態テーブルT1は、「IF名」、「種類」、「mac」、「状態」といった項目を有し、OFSのポートごとにエントリが登録されている。IF状態テーブルT1は、OFS#1〜#6(2−1〜2−6)ごとに生成されている。
「IF名」には、対象のOFSが有するポートの名称が格納されている。
「種類」には、該当ポートが外部NWの従来型ルータに接続するポートであることを示す「外部」またはポートが内部NWの他のOFSに接続するポートであることを示す「内部」のいずれかの値が格納されている。
「mac」には、該当ポートのMACアドレスが格納されている。
「状態」には、該当ポートの接続状態が良好であることを示す「Up」または故障であることを示す「Down」のいずれかの値が格納されている。
(Various tables)
As shown in FIG. 6, the IF status table T1 included in the IF management unit 1121 has items such as “IF name”, “type”, “mac”, and “status”, and an entry is registered for each port of the OFS. ing. The IF status table T1 is generated for each of the OFS # 1 to # 6 (2-1 to 2-6).
The “IF name” stores the name of the port of the OFS of interest.
The “type” is either “external” indicating that the corresponding port is a port connected to a conventional router of the external NW, or “internal” indicating that the port is a port connected to another OFS in the internal NW The value of is stored.
The MAC address of the corresponding port is stored in "mac".
The "state" stores either "Up" indicating that the connection state of the corresponding port is good or "Down" indicating that the port is faulty.

図7に示すように、外部NW経路制御部12が有する外部経路テーブルT2は、「宛先」、「nexthop」といった項目を有し、外部NWに配置されている機器(図示せず)が到達性を持つ宛先ごとにエントリが登録される。
「宛先」には、外部NWに配置されている機器のIPアドレスが格納されている。
「nexthop」には、宛先の機器から転送されるパケットまたは宛先の機器へのパケットを処理する従来型ルータに隣接して接続しているOFSのうち1つを示す値、および、当該OFSが従来型ルータと接続されているポートを示す値が格納されている。例えば、宛先が「1.1.1.0/24」に対応するnexthopが「OFS#1-p1」の場合、当該経路を持つ従来型ルータ#1(3−1)に接続しているOFSがOFS#1(2−1)であり、OFS#1(2−1)が従来型ルータ#1(3−1)と接続されているポートが「p1」であることを示す。なお、説明の便宜上、「OFS#1-p1」を単に各図において「#1-p1」と表記する場合がある(OFSが異なる場合やポート(IF)が異なる場合も同様)。
As shown in FIG. 7, the external route table T2 possessed by the external NW route control unit 12 has items such as “destination”, “next hop”, and the equipment (not shown) disposed in the external NW is reachability. An entry is registered for each destination with.
The “destination” stores the IP address of the device disposed in the external NW.
“Nexthop” is a value indicating one of the OFS connected adjacent to the conventional router that processes the packet transferred from the destination device or the packet to the destination device, and the OFS is Contains a value indicating the port connected to the router. For example, when the nexthop corresponding to the destination “1.1.1.0/24” is “OFS # 1-p1”, the OFS connected to the conventional router # 1 (3-1) having the route is the OFS # 1 (2-1), which indicates that the port connected to the OFS # 1 (2-1) with the conventional router # 1 (3-1) is "p1". For convenience of explanation, “OFS # 1-p1” may be simply described as “# 1-p1” in each drawing (the same applies to the case of different OFS and the case of different port (IF)).

図8に示すように、内部NW経路制御部13が有する内部経路テーブルT3は、「宛先」、「nexthop」といった項目を有し、OFS#1〜#6(2−1〜2−6)ごとにエントリが登録される。内部経路テーブルT3は、OFS#1〜#6(2−1〜2−6)ごとに生成されている。
「宛先」には、自身のOFSのIPアドレスまたは自身以外のOFSのIPアドレスが格納されている。
「nexthop」には、クラスタ内の他の全てのOFSと接続されているポートを示す値が格納されている。
OFS#1(2−1)の内部経路テーブルT3を例にとって説明すると、内部NW経路制御部13内のRE2−1が他のOFSとの経路を計算することになる。
例えばOFS#2(2−2)自身を表すIPアドレスである10.0.0.2に対しては、nexthopがp2であることを計算できるため、「nexthop」には「p2」が格納される。「宛先」の項目に自身のOFSを表すIPアドレスが格納されている場合、対応する「nexthop」には自身のLoopbackアドレスを示す「Lo」が格納される。
As shown in FIG. 8, the internal route table T3 possessed by the internal NW route control unit 13 has items such as “destination” and “next hop”, and each of the OFS # 1 to # 6 (2-1 to 2-6) Entry is registered in. The internal route table T3 is generated for each of the OFS # 1 to # 6 (2-1 to 2-6).
The “destination” stores the IP address of its own OFS or the IP address of an OFS other than itself.
In "nexthop", a value indicating a port connected to all other OFS in the cluster is stored.
Taking the internal path table T3 of OFS # 1 (2-1) as an example, the RE 2-1 in the internal NW path control unit 13 calculates paths with other OFS.
For example, for 10.0.0.2 which is an IP address representing OFS # 2 (2-2) itself, it can be calculated that the nexthop is p2, so "p2" is stored in "nexthop". When an IP address representing the OFS of its own is stored in the item of “destination”, “Lo” representing its Loopback address is stored in the corresponding “next hop”.

図9(a)に示すように、フローエントリ生成部113が有するパケット書換テーブル(IPの場合)T4aは、外部NWがIPネットワークである場合に用いるテーブルであって、「宛先」、「src. mac」、「dst. mac」、「クラスタからの出力先」といった項目を有し、外部NWに配置されている機器(図示せず)が到達性を持つ宛先ごとにエントリが登録される。
「宛先」には、外部NWに配置されている機器のIPアドレスが格納されている。
「src. mac」には、ソースMACアドレスフォワーディングのMACアドレスが格納されている。例えば、当該OFSが従来型ルータと接続されているポートのMACアドレスを示す値が格納されている。
As shown in FIG. 9A, the packet rewrite table (in the case of IP) T4a possessed by the flow entry generation unit 113 is a table used when the external NW is an IP network, and includes “destination”, “src. An entry is registered for each destination with reachability that has items such as mac "," dst. mac ", and" output destination from cluster "and is disposed in the external NW (not shown).
The “destination” stores the IP address of the device disposed in the external NW.
The MAC address of source MAC address forwarding is stored in "src. Mac". For example, a value indicating the MAC address of the port to which the OFS is connected to the conventional router is stored.

「dst. mac」には、内部NWにとっての宛先となるMACアドレスが格納されている。例えば、宛先の機器へのパケットを処理する従来型ルータのMACアドレスを示す値が格納されている。
「クラスタからの出力先」には、OFSクラスタ2からのパケットを「宛先」で識別される機器に出力するときの出力先を示す値が格納されている。例えば、宛先の機器へのパケットを処理する従来型ルータに隣接して接続しているOFSを示す値、および、当該OFSと従来型ルータとの接続を担うポートを示す値が格納されている。
In “dst. Mac”, a MAC address which is a destination for the internal NW is stored. For example, a value indicating the MAC address of a conventional router that processes a packet to a destination device is stored.
In “output destination from cluster”, a value indicating an output destination when the packet from the OFS cluster 2 is output to the device identified by “destination” is stored. For example, a value indicating the OFS connected adjacent to the conventional router that processes packets to the destination device and a value indicating the port responsible for connecting the OFS to the conventional router are stored.

また、図9(b)に示すように、フローエントリ生成部113が有するパケット書換テーブル(MPLSの場合)T4bは、外部NWがIP/MPLSネットワークである場合に用いるテーブルであって、「Local Label」、「Remote Label」、「src. mac」、「dst. mac」、「クラスタからの出力先」といった項目を有し、外部NWに配置されている機器(図示せず)が到達性を持つ宛先ごとにエントリが登録される。
「Local Label」には、OFSクラスタまたはOFCが割り当てた値で、外部NWに配置されている機器に対して広告するラベルの値が格納されている。
「Remote Label」には、外部NWが割り当てた値で、到達性のある経路について、外部NWに配置されている機器より割り当てられたラベルの値が格納されている。
Also, as shown in FIG. 9B, the packet rewrite table (in the case of MPLS) T4b that the flow entry generation unit 113 has is a table used when the external NW is an IP / MPLS network, , "Remote Label", "src. Mac", "dst. Mac", "destination from cluster", and the equipment (not shown) placed in the external NW has reachability. An entry is registered for each destination.
The “Local Label” is a value assigned by the OFS cluster or the OFC, and stores the value of the label advertised to the device disposed in the external NW.
The “Remote Label” is a value assigned by the external NW, and for the reachable route, the value of the label assigned by the device disposed in the external NW is stored.

「src. mac」には、ソースMACアドレスフォワーディングのMACアドレスが格納されている。パケット書換テーブルT4bの「src. mac」は、パケット書換テーブルT4aの「src. mac」と同等である。
「dst. mac」には、内部NWにとっての宛先となるMACアドレスが格納されている。パケット書換テーブルT4bの「dst. mac」は、パケット書換テーブルT4aの「dst. mac」と同等である。
「クラスタからの出力先」には、OFSクラスタ2からのパケットを「宛先」で識別される機器に出力するときの出力先を示す値が格納されている。パケット書換テーブルT4bの「クラスタからの出力先」は、パケット書換テーブルT4aの「クラスタからの出力先」と同等である。
The MAC address of source MAC address forwarding is stored in "src. Mac". "Src. Mac" of the packet rewrite table T4b is equivalent to "src. Mac" of the packet rewrite table T4a.
In “dst. Mac”, a MAC address which is a destination for the internal NW is stored. "Dst. Mac" of the packet rewrite table T4b is equivalent to "dst. Mac" of the packet rewrite table T4a.
In “output destination from cluster”, a value indicating an output destination when the packet from the OFS cluster 2 is output to the device identified by “destination” is stored. The “output destination from cluster” of the packet rewrite table T4b is equivalent to the “output destination from cluster” of the packet rewrite table T4a.

図10に示すように、フローエントリ生成部113が有する内部出力IFテーブルT5は、内部NWを構成するOFS#1〜#6(2−1〜2−6)を用いて、内部NW内のパケットの転送の起点となる発OFSと、内部NW内のパケットの転送の終点となる着OFSとの組を設定し、設定された組ごとに、パケットを送出する発OFSのポートを示す値を格納する。発OFSと着OFSが同じである場合は、パケット送出先が自分自身であるため、設定された組に格納される値はブランクになる。   As shown in FIG. 10, the internal output IF table T5 possessed by the flow entry generation unit 113 uses the OFS # 1 to # 6 (2-1 to 2-6) constituting the internal NW to transmit packets within the internal NW. A set of the source OFS that is the starting point of the transfer and the destination OFS that is the end of the packet transfer in the internal NW is set, and for each set, the value indicating the port of the source OFS that sends the packet is stored. Do. If the originating OFS and the terminating OFS are the same, the value stored in the set is blank since the destination of the packet is itself.

[フローエントリの書換概要]
図5に戻って説明を続ける。OFC1は、フローエントリの生成の事前準備として、図5中の処理A1〜A6を実行する。すなわち、まず、OpenFlow処理部111が、OFS#1〜#6(2−1〜2−6)ごとのポートのIF状態をIF管理部1121に通知する(処理A1)。IF管理部1121は、通知されたIF状態を用いてIF状態テーブルT1を作成する。
[Flow entry rewrite summary]
Returning to FIG. 5, the description will be continued. The OFC 1 executes the processes A1 to A6 in FIG. 5 as preparation for generation of a flow entry. That is, first, the OpenFlow processing unit 111 notifies the IF management unit 1121 of the IF status of the port of each of the OFS # 1 to # 6 (2-1 to 2-6) (processing A1). The IF management unit 1121 creates the IF state table T1 using the notified IF state.

IF管理部1121は、IF状態テーブルT1中の各エントリのうち「種類」が「外部」となっているものを外部IF情報として外部NW経路制御部12に送信する(処理A2)。外部NW経路制御部12は、受信したエントリを用いて、外部経路テーブルT2を作成する。   The IF management unit 1121 transmits one of the entries in the IF status table T1 whose "type" is "external" to the external NW path control unit 12 as external IF information (processing A2). The external NW route control unit 12 creates the external route table T2 using the received entry.

IF管理部1121は、IF状態テーブルT1中の各エントリのうち「種類」が「内部」となっているものを外部IF情報として内部NW経路制御部13に送信する(処理A3)。内部NW経路制御部13は、受信したエントリを用いて、内部経路テーブルT3を、OFS#1〜#6(2−1〜2−6)ごとに作成する。   The IF management unit 1121 transmits one of the entries in the IF status table T1 whose "type" is "internal" to the internal NW path control unit 13 as external IF information (processing A3). The internal NW path control unit 13 creates the internal path table T3 for each of the OFS # 1 to # 6 (2-1 to 2-6) using the received entry.

外部NW経路制御部12は、外部経路テーブルT2の情報を含むパケット書換情報をフローエントリ生成部113に送信する(処理A4)。フローエントリ生成部113は、受信したパケット書換情報、および、IF状態テーブルT1の情報を用いてパケット書換テーブルT4a(またはT4b)を作成する。   The external NW route control unit 12 transmits packet rewrite information including the information of the external route table T2 to the flow entry generation unit 113 (processing A4). The flow entry generation unit 113 generates a packet rewrite table T4a (or T4b) using the received packet rewrite information and the information of the IF state table T1.

内部NW経路制御部13は、内部経路テーブルT3の情報を含む出力IFテーブル情報をフローエントリ生成部113に送信する(処理A5)。フローエントリ生成部113は、受信した出力IFテーブル情報、および、IF状態テーブルT1の情報を用いて内部出力IFテーブルT5を作成する。   The internal NW route control unit 13 transmits output IF table information including the information of the internal route table T3 to the flow entry generation unit 113 (processing A5). The flow entry generation unit 113 generates the internal output IF table T5 using the received output IF table information and the information of the IF state table T1.

フローエントリ生成部113は、パケット書換テーブルT4a(またはT4b)と、内部出力IFテーブルT5と、IF状態テーブルT1の情報を用いて、OFS#1〜#6(2−1〜2−6)に投入するデータパケット用のフローエントリを作成する。また、フローエントリ生成部113は、作成したフローエントリへの書換をOpenFlow処理部111に指示する(処理A6)。OpenFlow処理部111は、フローエントリの書換を行い、OpenFlowメッセージの生成およびパースを行う。   The flow entry generation unit 113 uses the information in the packet rewrite table T4a (or T4b), the internal output IF table T5, and the IF state table T1 to execute the OFS # 1 to # 6 (2-1 to 2-6). Create a flow entry for the incoming data packet. Also, the flow entry generation unit 113 instructs the OpenFlow processing unit 111 to rewrite the generated flow entry (processing A6). The OpenFlow processing unit 111 rewrites the flow entry, and generates and parses an OpenFlow message.

[故障時の動作概要]
OFC1は、OFSクラスタ2に関連する故障時には、図5中の処理B1〜B3を実行することがある。すなわち、まず、故障が発生した場合は必ず、IF管理部1121は、外部IF情報および内部IF情報を内外IF連携制御部1122に送信する(処理B1)。
[Operation summary at the time of failure]
The OFC 1 may execute the processes B1 to B3 in FIG. 5 in the event of a failure related to the OFS cluster 2. That is, first, whenever a failure occurs, the IF management unit 1121 transmits the external IF information and the internal IF information to the internal / external IF cooperation control unit 1122 (processing B1).

内部NW経路制御部13は、IF管理部1121から受信した内部IF情報(処理A3)から作成した内部経路テーブルT3に基づいて、他のOFSとの接続が断状態にある孤立したOFSを判定することができる。内部NW経路制御部13は、OFSの孤立が発生した場合に限り、その情報を内外IF連携制御部1122に送信する(処理B2)。   The internal NW route control unit 13 determines, on the basis of the internal route table T3 created from the internal IF information (processing A3) received from the IF managing unit 1121, the isolated OFS in which the connection with other OFS is disconnected. be able to. The internal NW route control unit 13 transmits the information to the internal / external IF cooperation control unit 1122 only when the OFS is isolated (processing B2).

内外IF連携制御部1122は、内部NW経路制御部13からOFSの孤立情報を受信した場合、その情報に基づき、OFSクラスタ内で他のOFSにパケットを迂回して転送するために、孤立したOFSに接続している外部IFを閉塞するように外部NW経路制御部12に指示する(処理B3)。   When the internal / external IF cooperation control unit 1122 receives the OFS isolated information from the internal NW route control unit 13, the isolated OFS is used to bypass and transfer the packet to another OFS in the OFS cluster based on the information. The external NW path control unit 12 is instructed to close the external IF connected to (process B3).

[フローエントリの書換詳細]
フローエントリの書換の詳細について説明する。
図11に示すように、パケット転送に関する正常系動作(故障が発生していない正常時でのパケットの転送動作)において、以下の手順1〜3を踏むことで、外部NW経路制御部12および内部NW経路制御部13は、OFSクラスタ2へのパケット流入前にて経路計算を行い、フローエントリの書換を行う。宛先1.1.1.0/24の機器から宛先2.2.2.0/24の機器へのトラヒック方向を有するパケット転送を例に採り上げて説明する。
[Flow entry rewrite details]
Details of flow entry rewriting will be described.
As shown in FIG. 11, in the normal system operation related to packet transfer (the packet transfer operation at the normal time when no failure occurs), the external NW path control unit 12 and the inside can be performed by following the steps 1 to 3 below. The NW route control unit 13 performs route calculation before packet inflow to the OFS cluster 2 and rewrites the flow entry. The packet transfer having the traffic direction from the device of the destination 1.1.1.0/24 to the device of the destination 2.2.2.0/24 will be described as an example.

手順1:OFSクラスタ2に対して、フローエントリ生成部113が、パケット書換テーブルT4a(またはT4b)、および、内部出力IFテーブルT5を生成する。図11中の手順1の説明部分には、パケット書換テーブルT4aの一部抜粋となるパケット書換テーブルT4aaと、内部出力IFテーブルT5の一部抜粋となる内部出力IFテーブルT5aと、IF状態テーブルT1の一部抜粋となるIF状態テーブルT1aが図示されている。
パケット書換テーブルT4aaは、外部NW制御用として機能するRE(4−C)が従来型ルータから受信した経路情報をもとに作成される。内部出力IFテーブルT5aは、内部NW制御用として機能するRE(4−1〜4−6)が内部NWで経路計算を行った結果から作成される。IF状態テーブルT1aは、事前に設定されている。
Procedure 1: For the OFS cluster 2, the flow entry generation unit 113 generates a packet rewrite table T4a (or T4b) and an internal output IF table T5. In the explanation of the procedure 1 in FIG. 11, a packet rewriting table T4aa which is a partial excerpt of the packet rewriting table T4a, an internal output IF table T5a which is a partial excerpt of the internal output IF table T5, and an IF status table T1. An IF status table T1a, which is a partial excerpt of FIG.
The packet rewriting table T4aa is created based on the path information received from the conventional router by the RE (4-C) functioning as the external NW control. The internal output IF table T5a is created from the result of calculating the route in the internal NW by the REs (4-1 to 4-6) functioning as the internal NW control. The IF status table T1a is set in advance.

手順2:OFSクラスタ2へのパケット流入時にて、フローエントリ生成部113が、パケット書換テーブルT4a(またはT4b)を参照し、OFSクラスタ2からパケットを流出させるようなフローエントリに書換を実行する。具体的には、フローエントリ内のMACアドレス(またはMPLSラベルの値)の書換は、OFSクラスタ2への流入直後のOFSにて実行する。図11中の手順2の説明部分には、OFSクラスタ2への流入直後のOFSとなるOFS#1(2−1)のフローエントリにて、MACアドレスの書換が行われている様子が図示されている(符号1101)。このため、MACアドレスを含むパケットヘッダ(符号1101で示した箇所)は、OFSクラスタ2から流出する際(図11下部のOFS#5(2−5)から流出する際)のヘッダのまま、OFSクラスタ2の内部を通過する。   Procedure 2: At the time of packet inflow to the OFS cluster 2, the flow entry generation unit 113 refers to the packet rewrite table T4a (or T4b), and rewrites the flow entry that causes the packet to flow out of the OFS cluster 2. Specifically, rewriting of the MAC address (or the value of the MPLS label) in the flow entry is performed by the OFS immediately after the inflow to the OFS cluster 2. In the description of the procedure 2 in FIG. 11, the state in which the MAC address is being rewritten in the flow entry of OFS # 1 (2-1), which is the OFS immediately after the inflow to the OFS cluster 2, is illustrated. (Reference numeral 1101). Therefore, the packet header (the point indicated by reference numeral 1101) including the MAC address remains the header of the header when it flows out of the OFS cluster 2 (when it flows out of the OFS # 5 (2-5) in the lower part of FIG. 11) Pass inside of cluster 2

手順3:フローエントリ生成部113は、OFSクラスタ2内部の転送に関しては、内部出力IFテーブルT5と、パケットのsrc. mac(つまり、OFSクラスタ2の流出側IF)とを参照して、ソースMACアドレスによるフォワーディングを行う。具体的には、フローエントリ生成部113は、各OFS#1〜#6(2−1〜2−6)の出力先IFに関して、内部出力IFテーブルT5とパケットヘッダ中のsrc. mac(図11下部のOFS#5(2−5))を参照する。そして、フローエントリ生成部113は、「パケットヘッダ中のsrc. macがOFS#xが保持しているIFのMACアドレスの場合、内部出力IFテーブルT5を参照してOFS#x宛の出力IFに出力する」というソースMACアドレスフォワーディングを実行させるフローエントリを生成する。   Step 3: The flow entry generation unit 113 refers to the internal output IF table T5 and the src. Mac of the packet (that is, the outgoing IF of the OFS cluster 2) regarding the transfer inside the OFS cluster 2, and the source MAC Perform forwarding by address. Specifically, the flow entry generation unit 113 sets the internal output IF table T5 and the src.mac in the packet header with respect to the output destinations IF of the respective OFSs # 1 to # 6 (2-1 to 2-6) (FIG. 11). Refer to the lower OFS # 5 (2-5)). Then, when “src. Mac in the packet header is the MAC address of the IF held by OFS # x, the flow entry generation unit 113 refers to the internal output IF table T5 to output IF addressed to OFS # x. Generate a flow entry to execute source MAC address forwarding of “output”.

図11中の手順3の説明部分には、OFS#1(2−1)のフローエントリにて、流出側IFをポートp2とする様子が図示されている(符号1102)。符号1101で示すエントリ部分は、内部NWおよび外部NWの境界にあるすべてのOFSに投入すれば十分である。
また、OFS#3(2−3)のフローエントリにて、流出側IFをポートp3とする様子が図示されている(符号1103)。符号1103で示すエントリ部分は、OFS#5(2−5)を除くすべてのOFSに投入すれば十分である。
In the description of the procedure 3 in FIG. 11, the flow IF of the OFS # 1 (2-1) shows that the outflow side IF is the port p2 (reference numeral 1102). It is sufficient for the entry portion indicated by reference numeral 1101 to be input to all the OFS at the boundary of the inner NW and the outer NW.
In the flow entry of OFS # 3 (2-3), a state where the outflow side IF is set to the port p3 is illustrated (reference numeral 1103). It is sufficient for the entry portion indicated by reference numeral 1103 to be input to all the OFSs except for the OFS # 5 (2-5).

ただし、src. macが自身のOFSに該当する場合は、IF状態テーブルT1にて保持されている外部IFを出力先IFとして設定する。図11中の手順3の説明部分には、IF状態テーブルT1aにて事前に設定したMACアドレスに該当するOFS#5-p3が出力先IFとして設定されている様子が図示されている(符号1104)。   However, when src. Mac corresponds to its own OFS, the external IF held in the IF state table T1 is set as the output destination IF. In the description of the procedure 3 in FIG. 11, the OFS # 5-p3 corresponding to the MAC address set in advance in the IF status table T1a is set as the output destination IF (reference numeral 1104). ).

[故障時動作の詳細]
IF連携の切断を表す故障が発生した場合、OFC1は、当該故障箇所を迂回するパケット転送経路のルーチングを行う。
図12に示すように、本実施形態の例として採り上げたOFSクラスタ2を構成するOFS群において、例えば、OFS#1(2−1)に関するIF連携の切断を表す故障には、故障パターン1(各OFSは内部NWから孤立しておらず、外部NWとも接続されている故障)、故障パターン2(内部NWから孤立するOFSが存在するが、当該OFSは外部NWとは接続されている)、故障パターン3(外部NWと接続断となるOFSが存在する)がある。また、OFSクラスタ2を介するトラヒックには、1.1.1.0/24宛(左←右)、2.2.2.0/24宛(左→右)、3.3.3.0/24宛(左→右)、4.4.4.0/24宛(左←右)の4種類が存在し、故障が発生したときに宛先の切替パターン(切替先となる宛先)がこれらの4種類であることを意味する。このため、故障時切替動作は、12(=3×4)通り存在するが、図12中の表に示すように、切替動作を内容別に分けると、以下の切替動作1〜6に分類される。
[Details of operation at failure]
When a failure indicating disconnection of IF linkage occurs, the OFC 1 performs routing of a packet transfer path bypassing the failure point.
As shown in FIG. 12, in the OFS group constituting the OFS cluster 2 taken as an example of the present embodiment, for example, a failure pattern representing a disconnection of IF cooperation related to the OFS # 1 (2-1) is a failure pattern 1 ( Each OFS is not isolated from the internal NW, and is a failure that is also connected to the external NW, failure pattern 2 (There is an OFS isolated from the internal NW, but the OFS is connected to the external NW), There is a failure pattern 3 (there is an OFS that is disconnected from the external NW). For traffic via OFS cluster 2, address 1.1.1.0/24 (left 右 right), address 2.2.2.0/24 (left → right), address 3.3.3.0/24 (left → right), 4.4.4.0 This means that there are four types of / 24 addresses (left 右 right), and when there is a failure, the switching pattern of the destination (destination to be switched to) is these four types. For this reason, there are 12 (= 3 × 4) switching operations at failure, but as shown in the table in FIG. 12, the switching operations are classified into the following switching operations 1 to 6 if they are classified according to the contents. .

<切替動作1>内部NW経路制御部13の正常系動作の一環として、OFSクラスタ2内部で迂回。
切替動作1は、故障パターン1の故障が発生したときに、1.1.1.0/24宛(左←右)、2.2.2.0/24宛(左→右)、3.3.3.0/24宛(左→右)、4.4.4.0/24宛(左←右)の4種類の切替パターンをとる場合に実行される。切替動作1として、内部NW経路制御部13は、RE2−1〜6が内部経路テーブルT3(図8)のnexthopを適切に変更することで、つまり故障箇所を回避するように変更することで迂回可能となる。
<Switching operation 1> As a part of normal system operation of the internal NW path control unit 13, detouring inside the OFS cluster 2.
Switching operation 1 is addressed to 1.1.1.0/24 (left 宛 right), 2.2. 2.0 / 24 (left → right), 3.3. 3.0 / 24 (left → right) when a failure occurs in failure pattern 1 ) And 4.4.4.0/24 (left 右 right), which is executed when four switching patterns are taken. As the switching operation 1, the internal NW path control unit 13 changes the next hop of the internal path table T3 (FIG. 8) appropriately by the REs 2-1 to 6-6, that is, changes the bypass point by avoiding the failure point. It becomes possible.

<切替動作2>内部NWから孤立するが、外部NWには接続されており、OFSクラスタ2内部で迂回。
切替動作2は、故障パターン2の故障が発生したときに、1.1.1.0/24宛(左←右)の1種類の切替パターンをとる場合に実行される。内外IF連携制御部1122がOFS#1(2−1)の孤立を判定した上で(孤立判定の詳細は後記する)、外部NW経路制御部12は、外部経路テーブルT2(図7)のnexthopをOFS#2(2−2)に変更することで、OFSクラスタ2内部で迂回可能となる。ただし、クラスタ内での迂回先が無い場合は切替動作4に準ずる。
<Switching operation 2> Although isolated from the internal NW, it is connected to the external NW and detoured inside the OFS cluster 2.
The switching operation 2 is executed when one type of switching pattern addressed to 1.1.1.0/24 (left ← right) is taken when a failure of the failure pattern 2 occurs. After the internal / external IF cooperation control unit 1122 determines the isolation of the OFS # 1 (2-1) (details of the isolation determination will be described later), the external NW route control unit 12 performs nexthop on the external route table T2 (FIG. 7). Can be bypassed inside the OFS cluster 2 by changing it to OFS # 2 (2-2). However, when there is no bypass destination in the cluster, the switching operation 4 is applied.

<切替動作3>内部NWから孤立するが、外部NWには接続されており、OFSクラスタ2外部(つまり、従来型ルータ)が迂回。
切替動作3は、故障パターン2の故障が発生したときに、2.2.2.0/24宛(左→右)、または、3.3.3.0/24宛(左→右)の2種類の切替パターンをとる場合に実行される。内外IF連携制御部1122がOFS#1(2−1)の孤立を判定した上で、外部NW経路制御部12が、各従来型ルータに対して、故障個所となる経路の経路削除を広告することで従来型ルータが迂回可能となる(故障の無い経路を新たに設定しその経路上をパケットが辿るようにすることが可能となる)。ただし、クラスタ内での迂回先が無い場合は切替動作4に準ずる。
<Switching operation 3> Although isolated from the internal NW, it is connected to the external NW, and the outside of the OFS cluster 2 (that is, the conventional router) bypasses.
In switching operation 3, two types of switching patterns are addressed: 2.2.2.0/24 (left → right) or 3.3.3.0/24 (left → right) when a failure of failure pattern 2 occurs. To be executed. After the inside / outside IF cooperation control unit 1122 determines the isolation of the OFS # 1 (2-1), the external NW route control unit 12 advertises route deletion of a route which is a failure point to each conventional router. This makes it possible for the conventional router to bypass (a fault-free route can be newly set so that packets can be traced on the route). However, when there is no bypass destination in the cluster, the switching operation 4 is applied.

<切替動作4>内部NWから孤立するが、外部NWには接続されており、OFSクラスタ2内部で迂回を試みるが迂回できず、OFSクラスタ2外部(つまり、従来型ルータ)が迂回。
切替動作4は、故障パターン2の故障が発生したときに、4.4.4.0/24宛(左←右)の1種類の切替パターンをとる場合に実行される。内外IF連携制御部1122がOFS#1(2−1)の孤立を判定した上で、外部NW経路制御部12は、外部経路テーブルT2(図7)のnexthopをOFS#2(2−2)に変更しようとするが、変更先が無いため、各従来型ルータに対して、故障個所となる経路の経路削除を広告することで従来型ルータが迂回可能となる(故障の無い経路を新たに設定しその経路上をパケットが辿るようにすることが可能となる)。ただし、従来型ルータが迂回先を保持していない場合は通信断となる。
上記のように切替動作2〜4のようにOFSの孤立が発生するときに、内外IF連携制御部1122が必要となる。
<Switching operation 4> Although isolated from the internal NW, it is connected to the external NW and tries to bypass inside the OFS cluster 2 but can not bypass, and the outside of the OFS cluster 2 (that is, the conventional router) bypasses.
The switching operation 4 is executed when one type of switching pattern addressed to 4.4.4.0/24 (left ← right) is taken when a failure of the failure pattern 2 occurs. After the internal / external IF cooperation control unit 1122 determines the isolation of the OFS # 1 (2-1), the external NW route control unit 12 executes nexthop of the external route table T2 (FIG. 7) OFS # 2 (2-2) However, because there is no change destination, the conventional router can be bypassed by advertising the route deletion of the route that is the failure point to each conventional router (new failure free route) It is possible to set up and allow packets to follow along the route). However, if the conventional router does not hold the bypass destination, the communication is disconnected.
As described above, when isolation of the OFS occurs as in the switching operations 2 to 4, the internal / external IF cooperation control unit 1122 is required.

<切替動作5>外部NW経路制御部12の正常系動作の一環として、OFSクラスタ2内部で迂回。
切替動作5は、故障パターン3の故障が発生したときに、1.1.1.0/24宛(左←右)の1種類の切替パターンをとる場合に実行される。外部NW経路制御部12は、外部経路テーブルT2(図7)のnexthopをOFS#2(2−2)に変更することで、OFSクラスタ2内部で迂回可能となる。ただし、クラスタ内で迂回先が無い場合は切り替え動作6に準ずる。
<Switching Operation 5> As part of the normal system operation of the external NW route control unit 12, the bypass is performed inside the OFS cluster 2.
The switching operation 5 is executed when one type of switching pattern addressed to 1.1.1.0/24 (left ← right) is taken when a failure of the failure pattern 3 occurs. The external NW path control unit 12 changes the nexthop of the external path table T2 (FIG. 7) to OFS # 2 (2-2), so that bypassing becomes possible inside the OFS cluster 2. However, when there is no bypass destination in the cluster, the switching operation 6 is applied.

<切替動作6>外部NW経路制御部12の正常系動作の一環として、OFSクラスタ2外部(つまり、従来型ルータ)が迂回。
切替動作6は、故障パターン3の故障が発生したときに、2.2.2.0/24宛(左→右)、3.3.3.0/24宛(左→右)、4.4.4.0/24宛(左←右)の3種類の切替パターンをとる場合に実行される。外部NW経路制御部12が、各従来型ルータに対して、故障個所となる経路の経路削除を広告することで従来型ルータが迂回可能となる(故障の無い経路を新たに設定しその経路上をパケットが辿るようにすることが可能となる)。ただし、従来型ルータが迂回先を保持していない場合は通信断となる。
<Switching Operation 6> As part of the normal system operation of the external NW route control unit 12, the outside of the OFS cluster 2 (that is, the conventional router) bypasses.
The switching operation 6 is addressed to 2.2.2.0/24 (left to right), 3.3.3.0/24 (left to right), 4.4.4.0/24 (left 右 right) when a failure of failure pattern 3 occurs. Is executed when the three types of switching patterns are taken. The external NW route control unit 12 advertises the route deletion of the route which is the failure point to each conventional router, and the conventional router can be bypassed (a new route without a failure is set and the route is set on the route). Packets can be traced). However, if the conventional router does not hold the bypass destination, the communication is disconnected.

図13を参照して、故障が発生したときの内外IF連携制御部1122の動作(内外IF連携動作)の詳細を説明する。
図12に示す故障パターン2の故障が発生し、外部NWに接続しているOFS#1(2−1)が、外部NWに接続している他のOFSのいずれか1つへの到達性(宛先にパケットを転送させること)が無くなった場合、内部NW経路制御部13は、当該OFS#1(2−1)が孤立したと判定する(OFSの孤立判定)。孤立判定により、内部NW経路制御部13は、外部NW経路制御部12に対し、OFS#1−p1を断と処理するように命令する。そして、内部NW経路制御部13は、RE(4−1〜4−6)の経路計算結果により、孤立したOFSに対して作成された内部経路テーブルT3の内容を空(null)にする。
Details of the operation (internal / external IF cooperation operation) of the internal / external IF cooperation control unit 1122 when a failure occurs will be described with reference to FIG.
When the failure of the failure pattern 2 shown in FIG. 12 occurs and the OFS # 1 (2-1) connected to the external NW reaches reachability to any one of the other OFS connected to the external NW ( When forwarding the packet to the destination is lost, the internal NW path control unit 13 determines that the OFS # 1 (2-1) is isolated (OFS isolation determination). By the isolation determination, the internal NW path control unit 13 instructs the external NW path control unit 12 to process OFS # 1-p1 as disconnection. Then, the internal NW path control unit 13 nullifies the contents of the internal path table T3 created for the isolated OFS based on the path calculation result of RE (4-1 to 4-6).

内外IF連携制御部1122は、孤立したOFSを監視する。孤立したOFSに対して、以下の工程1〜3を実行することで迂回可能となる。
[工程1(OFSクラスタが迂回。図12中、故障パターン2、切替パターン:1.1.1.0/24宛(左←右)に対応)]・・・外部NW経路制御部12は、孤立したOFSの外部向けIFを断として、RE(4−C)に通知する。そして、外部NW経路制御部12は、RE(4−C)の経路計算結果により外部経路テーブルT2を更新する。
図13には、外部NW経路制御部12が、孤立したOFS#1(2−1)の外部向けIF、OFS#1−p1を断として処理し、外部経路テーブルT2にて、nexthopをOFS#2−p1に変更することが図示されている(符号1301−1参照)。また、宛先1.1.1.0/24への経路広告が継続される(図13中の符号1301−2参照)。
The internal / external IF cooperation control unit 1122 monitors the isolated OFS. It becomes possible to bypass the isolated OFS by executing the following steps 1 to 3.
[Step 1 (OFS cluster bypasses. In FIG. 12, failure pattern 2, switching pattern: addressed to 1.1.1.0/24 (left 右 right))] ... The external NW route control unit 12 is an isolated OFS. The RE (4-C) is notified that the external interface IF is disconnected. Then, the external NW route control unit 12 updates the external route table T2 based on the route calculation result of RE (4-C).
In FIG. 13, the external NW path control unit 12 processes the isolated IF of the OFS # 1 (2-1), OFS # 1-p1, as a disconnection, and the external path table T2 processes the nexthop OFS #. It is illustrated changing to 2-p1 (refer code | symbol 1301-1). Also, the route advertisement to the destination 1.1.1.0/24 is continued (see reference numeral 1301-2 in FIG. 13).

[工程2(従来型ルータが迂回。図12中、故障パターン2、切替パターン:4.4.4.0/24宛(左←右)に対応)]・・・工程1により、外部経路テーブルT2中の特定のエントリが空(null)になってしまった場合、外部NW経路制御部12は、従来型ルータへ経路削除の旨を広告する。
図13には、外部NW経路制御部12が、OFS#1−p1を断として処理した結果、宛先が4.4.4.0/24のエントリのnexthopが無くなった(null)ため、各従来型ルータ(3−1〜3−4)に対し、宛先4.4.4.0/24に対する経路削除が広告されたことが図示されている(符号1302−1,1302−2参照)。
[Step 2 (conventional router bypasses. In FIG. 12, failure pattern 2, switching pattern: addressed to 4.4.4.0/24 (left 右 right))] ... specification in external route table T2 according to step 1. If the entry of has become null (null), the external NW route control unit 12 advertises the route deletion to the conventional router.
In FIG. 13, as a result of the external NW route control unit 12 processing the OFS # 1-p1 as a disconnection, the nexthop of the entry whose destination is 4.4.4.0/24 is null (null), so each conventional router (3 It is illustrated that the route deletion for the destination 4.4.4.0/24 has been advertised for (1) to (3-4) (see reference numerals 1302-1 and 1302-2).

[工程3(従来型ルータが迂回。図12中、故障パターン2、切替パターン:2.2.2.0/24宛(左→右)、または、3.3.3.0/24宛(左→右)に対応)]・・・外部NW経路制御部12は、孤立したOFSに接続されている従来型ルータに対し経路削除の旨を広告する。
図13には、外部NW経路制御部12が、OFS#1−p1の断(符号1303−1参照)に伴い、孤立したOFS#1(2−1)に接続していた従来型ルータ#1(3−1)に対し、2.2.2.0/24宛(左→右)、および、3.3.3.0/24宛(左→右)の経路広告が停止したことを広告することが図示されている(符号1303−2参照)。また、他の従来型ルータ(#2(3−2)など)に対し、2.2.2.0/24宛(左→右)、および、3.3.3.0/24宛(左→右)の新たな経路広告をする(符号1303−3参照)。
[Step 3 (Conventional router bypasses. In FIG. 12, failure pattern 2, switching pattern: addressed to 2.2.2.0/24 (left to right) or 3.3.3.0/24 (left to right)]) The external NW route control unit 12 advertises the route deletion to the conventional router connected to the isolated OFS.
FIG. 13 shows the conventional router # 1 in which the external NW route control unit 12 is connected to the isolated OFS # 1 (2-1) due to the disconnection of the OFS # 1-p1 (refer to reference numeral 1303-1). It is illustrated that the route advertisement for 2.2.2.0/24 (left to right) and 3.3.3.0/24 (left to right) is stopped as opposed to (3-1) (the advertisement is stopped ((1) Reference numeral 1303-2). Also, new route advertisements addressed to 2.2.2.0/24 (left to right) and 3.3.3.0/24 (left to right) for other conventional routers (such as # 2 (3-2)) (See reference numeral 1303-3).

≪処理≫
本実施形態のOFC1が実行する処理について説明する。
図14に示すように、故障が無い正常系において、OFC1が実行する処理となる転送時動作は、以下のステップS1〜ステップS6に示す通りである。
まず、OFC1は、事前準備処理を行う(ステップS1)。具体的には、OFC1は、システム管理部112によって、コントロールパケットがPacketIn/PacketOutするようにフローエントリを設定する。また、IF管理部1121が管理するIF状態テーブルT1を生成する。つまり、OFSクラスタ2内の各OFSにおける各IFの状態(Up/Down)の取得、各IFの種類の定義(内部NW上にあれば内部IF(「内部」と定義)、外部NW上にあれば外部IF(「外部」)と定義)、各IFのMACアドレスの定義を行う。
«Processing»
The processing executed by the OFC 1 of this embodiment will be described.
As shown in FIG. 14, in the normal system without a failure, the transfer operation which is the process executed by the OFC 1 is as shown in the following steps S1 to S6.
First, the OFC 1 performs preliminary preparation processing (step S1). Specifically, the OFC 1 causes the system management unit 112 to set the flow entry so that the control packet is PacketIn / PacketOut. Further, the IF status table T1 managed by the IF management unit 1121 is generated. In other words, acquisition of the status (Up / Down) of each IF in each OFS in the OFS cluster 2, definition of each IF type (if it is on the internal NW, internal IF (defined as "internal"), on the external NW For example, define the external IF ("external") and the MAC address of each IF.

次に、OFC1は、内部経路テーブルT3を生成する(ステップS2)。具体的には、OFC1は、内部NW経路制御部13によって、内部NW上のOFS#1(2−1)〜#6(2−6)に割り当てたRE(4−1〜4−6)による内部経路計算を行うことによって、内部経路テーブルT3(図8)の内容を決定する。   Next, the OFC 1 generates an internal route table T3 (step S2). Specifically, the OFC 1 is based on REs (4-1 to 4-6) allocated to the OFS # 1 (2-1) to # 6 (2-6) on the internal NW by the internal NW path control unit 13. By performing internal route calculation, the contents of the internal route table T3 (FIG. 8) are determined.

次に、OFC1は、内部出力IFテーブルT5を生成する(ステップS3)。具体的には、OFC1は、フローエントリ生成部113によって、内部経路テーブルT3の情報を含む出力IFテーブル情報に基づいて(図5の処理A5参照)、内部出力IFテーブルT5(図10)の内容を決定する。   Next, the OFC 1 generates an internal output IF table T5 (step S3). Specifically, the OFC 1 causes the flow entry generation unit 113 to output the contents of the internal output IF table T5 (FIG. 10) based on the output IF table information including the information of the internal path table T3 (see processing A5 in FIG. 5). Decide.

次に、OFC1は、外部経路テーブルT2を生成する(ステップS4)。具体的には、OFC1は、外部NW経路制御部12によって、OFSクラスタ2に割り当てた、外部NW向けのRE(4−C)による外部経路計算を行うことによって、外部経路テーブルT2(図7)の内容を決定する。   Next, the OFC 1 generates an external route table T2 (step S4). Specifically, the OFC 1 performs the external route calculation by the RE (4-C) for the external NW assigned to the OFS cluster 2 by the external NW route control unit 12, thereby the external route table T2 (FIG. 7). Determine the content of

次に、OFC1は、パケット書換テーブルT4a(またはT4b)を生成する(ステップS5)。具体的には、OFC1は、フローエントリ生成部113によって、ステップS2で生成した内部経路テーブルT3、および、ステップS4の外部経路計算の結果を合わせて、パケット書換テーブルT4a(またはT4b)を生成する(図11の手順1参照)。   Next, the OFC 1 generates a packet rewriting table T4a (or T4b) (step S5). Specifically, the OFC 1 generates the packet rewrite table T4a (or T4b) by the flow entry generation unit 113 combining the internal route table T3 generated in step S2 and the external route calculation result in step S4. (See step 1 in FIG. 11).

次に、OFC1は、フローエントリ生成部113によって、フローエントリを生成し(ステップS6。図11の手順2,3参照。)、図14の処理全体を終了する。   Next, the OFC 1 causes the flow entry generation unit 113 to generate a flow entry (step S6; see procedures 2 and 3 in FIG. 11), and ends the entire processing in FIG.

また、図15に示すように、故障が発生した場合にOFC1が実行する処理となる故障時動作は、以下のステップS11〜ステップS17に示す通りである。
まず、OFC1は、故障が発生したIFがどのIFであるかを判定する(ステップS11)。具体的には、OFC1は、IF管理部1121が管理するIF状態テーブルT1の状態の項目を参照して判定する。
Further, as shown in FIG. 15, the failure operation, which is processing executed by the OFC 1 when a failure occurs, is as shown in the following steps S11 to S17.
First, the OFC 1 determines which IF is the IF in which the failure has occurred (step S11). Specifically, the OFC 1 determines with reference to the items of the state of the IF state table T1 managed by the IF management unit 1121.

故障発生IFが内部IFである場合(ステップS11で「内部IF」。図12の故障パターン1または2に相当。)、OFC1は、当該内部IFを、内部NW経路制御部13のRE(4−1〜4−6)に通知する(ステップS12)。次に、故障が発生した内部IFを通知されたRE(4−1〜4−6)が経路計算を行い、OFC1は、経路計算結果を内部経路テーブルT3(図8)に格納し(ステップS13)、内部経路テーブルT3を更新する。   When the failure occurrence IF is an internal IF ("internal IF" in step S11, which corresponds to the failure pattern 1 or 2 in FIG. 12), the OFC 1 executes the internal IF as RE (4-4 of the internal NW path control unit 13). 1 to 4-6) (step S12). Next, the REs (4-1 to 4-6) notified of the internal IF in which the failure occurred performs path calculation, and the OFC 1 stores the path calculation result in the internal path table T3 (FIG. 8) (step S13). ), Update the internal route table T3.

その後、OFC1は、内部NW経路制御部13によって、内部経路テーブルT3を参照して、孤立が発生した外部IF(孤立したOFSが有する外部NW接続用のIF)が存在するか否かを判定する(ステップS14)。つまり、内部IFの故障によって内部IF断となったことで、OFSが孤立したか否かを判定する。存在する場合(ステップS14でYes)、ステップS15(後記)に進む。一方、存在しない場合(ステップS14でNo。図12の故障パターン1に相当。)、ステップS17(後記)に進む。   Thereafter, the OFC 1 refers to the internal route table T3 by the internal NW route control unit 13 to determine whether or not there is an external IF in which isolation has occurred (IF for external NW connection that the isolated OFS has). (Step S14). That is, it is determined whether the OFS has become isolated because the internal IF has become disconnected due to the failure of the internal IF. If it exists (Yes in step S14), the process proceeds to step S15 (described later). On the other hand, if it does not exist (No in step S14, corresponding to the failure pattern 1 in FIG. 12), the process proceeds to step S17 (described later).

一方、故障発生IFが内部IFでない場合は故障発生IFが外部IFであり(ステップS11で「外部IF」。図12の故障パターン3に相当)、OFC1は、当該外部IFを、外部NW経路制御部12のRE(4−C)に通知する(ステップS15)。次に、故障が発生した外部IFを通知されたRE(4−C)が経路計算を行い、OFC1は、経路計算結果を外部経路テーブルT2(図7)に格納し(ステップS16)、外部経路テーブルT2を更新する。
ここで、内部IFの故障によって内部IF断となったことで、OFSが孤立し、孤立が発生した外部IFが存在する場合(ステップS14でYes。図12の故障パターン2に相当。)、OFC1は、当該(外部)IFをRE(4−C)に通知する(ステップS15)。RE(4−C)は、通知された外部IFを故障が発生した外部IFとみなし、経路計算を行い、OFC1は、経路計算結果を外部経路テーブルT2(図7)に格納する(ステップS16)。
On the other hand, when the failure occurrence IF is not the internal IF, the failure occurrence IF is the external IF ("external IF" in step S11, corresponding to the failure pattern 3 in FIG. 12), and the OFC 1 controls the external IF The RE (4-C) of part 12 is notified (step S15). Next, the RE (4-C) notified of the external IF in which the failure has occurred performs route calculation, and the OFC 1 stores the route calculation result in the external route table T2 (FIG. 7) (step S16). Update table T2.
Here, when the internal IF is broken due to the failure of the internal IF, the OFS is isolated, and there is an external IF in which the isolation has occurred (Yes in step S14, corresponding to the failure pattern 2 in FIG. 12), OFC1. Sends the (external) IF to RE (4-C) (step S15). RE (4-C) regards the notified external IF as an external IF in which a failure has occurred, performs route calculation, and OFC 1 stores the route calculation result in the external route table T2 (FIG. 7) (step S16). .

内部経路テーブルT3の更新(ステップS13)、または、外部経路テーブルT2の更新(ステップS16)に応じて、パケット書換テーブルT4a(またはT4b)(図9)、内部出力IFテーブルT5(図10)、または、IF状態テーブルT1(図6)のいずれかの内容に変更があれば、OFC1は、フローエントリ生成部113によって、新たなフローエントリを投入し(ステップS17)、図15の処理全体を終了する。   Packet rewrite table T4a (or T4b) (FIG. 9), internal output IF table T5 (FIG. 10), according to the update of the internal route table T3 (step S13) or the update of the external route table T2 (step S16). Alternatively, if there is a change in any content of IF status table T1 (FIG. 6), OFC 1 inputs a new flow entry by flow entry generation unit 113 (step S17), and the whole processing of FIG. 15 is completed. Do.

≪まとめ≫
本実施形態によれば、フローエントリ生成部113によって、OFSクラスタ2内に流入したパケットは、当該パケットの外部NW上の宛先へ転送する従来型ルータに接続しているOFSの出力IF(ポート)へ一度集約されるようにOFSクラスタ2内を経由することができる(図11の符号1101〜1104参照)。つまり、パケットごとに、OFSクラスタ2からの流出先を1つのOFSの1つの出力IFに固定するように内部経路と外部経路との紐付けが行われ、紐付けは単純化される。このような集約は、NWの大規模化のために1OFSクラスタ内のOFSの数を増大して、OFSクラスタを拡大させた場合にもあてはまる。
したがって、従来型ルータおよび相互接続するOFSクラスタを拡大させてもネットワークの大規模化を容易に実現させることができる。
«Summary»
According to this embodiment, the packet that has flowed into the OFS cluster 2 by the flow entry generation unit 113 is output IF (port) of the OFS connected to the conventional router that transfers the packet to the destination on the external NW. It is possible to go through the inside of the OFS cluster 2 so as to be aggregated once (see reference numerals 1101 to 1104 in FIG. 11). That is, for each packet, the inner path and the outer path are linked so as to fix the outflow destination from the OFS cluster 2 to one output IF of one OFS, and the linking is simplified. Such aggregation also applies to the case of expanding the OFS cluster by increasing the number of OFS in one OFS cluster in order to increase the NW size.
Therefore, even if the conventional router and the interconnecting OFS cluster are expanded, it is possible to easily realize the enlargement of the network.

また、フローエントリ生成部113による、外部NW上の宛先が設定されたパケットの、OFSクラスタ2からの流出先の書換(集約)を、パケットのOFSクラスタ2内への流入を受け付けるOFSにて実行する、つまり、パケットのOFSクラスタ2内への流入時に実行することで、OFSクラスタ2内では、ソースアドレス(ソースMACアドレスまたはソースMPLSラベル)を参照したフォワーディングを実現することができる(図11の符号1101参照)。これにより、すべてのOFSが全経路(外部経路全体および内部経路全体)を保持する必要が無くなり、経路数の観点から、フローエントリ数のスケール性を向上させる際の制限を緩和することができる。   Also, the flow entry generation unit 113 executes rewriting (aggregation) of the outflow destination from the OFS cluster 2 of the packet for which the destination on the external NW is set, in the OFS that receives the inflow of the packet into the OFS cluster 2 In other words, by executing when packets flow into OFS cluster 2, forwarding with reference to the source address (source MAC address or source MPLS label) can be realized in OFS cluster 2 (see FIG. 11). Reference numeral 1101). This eliminates the need for all the OFS to hold all the paths (the entire external path and the entire internal path), and in terms of the number of paths, it is possible to ease the limitation in improving the scaleability of the number of flow entries.

また、パケットの、OFSクラスタ2からの流出先が書き換えられた出力IFを構成するポートのアドレスを、MACアドレスとすることで、OFSクラスタ2内でMAC転送を実現することができ、レイヤ2より上のプロトコルに依存しないパケット転送を実現することができる。その結果、従来型ルータとしてIPルータだけでなく、大規模NWで利用される機会の多いIP/MPLSルータとの相互接続が可能となる。   In addition, MAC transfer can be realized in the OFS cluster 2 by using the address of the port that constitutes the output IF where the outflow destination from the OFS cluster 2 has been rewritten, as the MAC address, from layer 2 It is possible to realize packet transfer independent of the above protocol. As a result, it becomes possible to interconnect not only IP routers as conventional routers, but also IP / MPLS routers that are frequently used in large-scale NWs.

また、パケットに設定された外部NW上の宛先をIPアドレスにすることで、外部NWがIPネットワークであってもネットワークの大規模化を容易に実現することができる。また、パケットに設定された外部NW上の宛先を宛先ラベルにすることで、外部NWがIP/MPLSネットワークであってもネットワークの大規模化を容易に実現することができる。   In addition, by setting the destination on the external NW set in the packet to an IP address, it is possible to easily realize a large-scale network even if the external NW is an IP network. In addition, by setting the destination on the external NW set in the packet as the destination label, even if the external NW is an IP / MPLS network, it is possible to easily realize the enlargement of the network.

また、複数のOFSの各々が備えるルーチングエンジンを動作させるアルゴリズムと、OFSクラスタ2が備えるルーチングエンジンを動作させるアルゴリズムの共通化を可能にすることで、内部NW上のフォワーディング(内部フォワーディング)の実装を容易にすることができる。その結果、ネットワークの大規模化をさらに容易に実現させることができる。   In addition, the implementation of forwarding (internal forwarding) on the internal NW is enabled by enabling the sharing of an algorithm for operating the routing engine included in each of the plurality of OFSs and an algorithm for operating the routing engine included in the OFS cluster 2 It can be easy. As a result, it is possible to more easily realize the enlargement of the network.

また、パケットが外部NW上の宛先に到達するまでの経路において故障が発生した場合であっても、クラスタ内で故障箇所を迂回するようなパケットの最適な転送経路を導き出すことができる。もし、クラスタ内で迂回先が無い場合にはOFSクラスタから転送経路が削除されたことを外部NWに広告することで、外部NWに対して適切なルーチングを促すことができる。   In addition, even when a failure occurs in the route until the packet reaches the destination on the external NW, it is possible to derive an optimal transfer route of the packet that bypasses the failure point in the cluster. If there is no bypass destination in the cluster, it is possible to prompt the external NW to perform appropriate routing by advertising the fact that the transfer path has been deleted from the OFS cluster to the external NW.

本発明は、上記実施形態に限定されることなく、本発明の趣旨を逸脱しない範囲で、変更実施が可能である。
また、本実施形態で説明した種々の技術を適宜組み合わせた技術を実現することもできる。
また、本実施形態で説明したソフトウェアをハードウェアとして実現することもでき、ハードウェアをソフトウェアとして実現することもできる。
その他、ハードウェア、ソフトウェア、処理手順などについて、本発明の趣旨を逸脱しない範囲で適宜変更が可能である。
The present invention is not limited to the above embodiment, and modifications can be made without departing from the spirit of the present invention.
In addition, it is also possible to realize a technique in which various techniques described in the present embodiment are appropriately combined.
Also, the software described in the present embodiment can be realized as hardware, and the hardware can also be realized as software.
In addition, hardware, software, processing procedures, and the like can be appropriately modified without departing from the spirit of the present invention.

1 OFC(パケット転送制御装置:OpenFlowコントローラ)
2 OFSクラスタ
2−1〜2−6 OFS#1〜#6
3−1〜3−4 従来型ルータ
4−1〜4−6、4−C RE(ルーチングエンジン)
11 統合処理部
12 外部NW経路制御部(外部NW経路制御手段)
13 内部NW経路制御部(内部NW経路制御手段)
113 フローエントリ生成部(フローエントリ生成手段)
112 システム管理部
1121 IF管理部
1122 内外IF連携制御部
T1 IF状態テーブル
T2 外部経路テーブル
T3 内部経路テーブル
T4a,T4b パケット書換テーブル
T5 内部出力IFテーブル
1 OFC (Packet Transfer Controller: OpenFlow Controller)
2 OFS Clusters 2-1 to 2-6 OFS # 1 to # 6
3-1 to 3-4 conventional router 4-1 to 4-6, 4-C RE (routing engine)
11 integrated processing unit 12 external NW route control unit (external NW route control means)
13 Internal NW route control unit (internal NW route control means)
113 Flow Entry Generator (Flow Entry Generator)
112 system management unit 1121 IF management unit 1122 internal / external IF cooperation control unit T1 IF status table T2 external route table T3 internal route table T4a, T4b packet rewrite table T5 internal output IF table

Claims (8)

複数の従来型ルータを介して外部NW(Network)と接続される内部NW上に配置されている複数のOpenFlowスイッチを制御してパケット転送を制御するパケット転送制御装置であって、
前記複数のOpenFlowスイッチの各々に対応するルーチングエンジンを備え、前記内部NWについての経路計算を行う内部NW経路制御部と、
前記複数のOpenFlowスイッチをクラスタ化したOFSクラスタに対応するルーチングエンジンを備え、前記外部NWに対する経路計算を行う外部NW経路制御部と、
前記複数のOpenFlowスイッチの各々に対して生成されるフローエントリにおいて、前記外部NW上の宛先が設定されたパケットの、前記OFSクラスタからの流出先を、前記設定された、外部NW上の宛先へ転送する前記従来型ルータに接続している前記OpenFlowスイッチの出力IF(Interface)に設定するフローエントリ生成部と、を備える、
ことを特徴とするパケット転送制御装置。
A packet transfer control device that controls a plurality of OpenFlow switches disposed on an internal NW connected to an external NW (Network) via a plurality of conventional routers to control packet transfer,
An internal NW path control unit including a routing engine corresponding to each of the plurality of OpenFlow switches and performing path calculation for the internal NW;
An external NW path control unit including a routing engine corresponding to an OFS cluster in which the plurality of OpenFlow switches are clustered, and performing path calculation for the external NW;
In the flow entry generated for each of the plurality of OpenFlow switches, the outflow destination from the OFS cluster of the packet in which the destination on the external NW is set is set to the destination on the external NW. A flow entry generation unit configured to set an output IF (Interface) of the OpenFlow switch connected to the conventional router to be transferred;
A packet transfer control device characterized in that.
前記フローエントリ生成部は、
前記パケットの前記OFSクラスタ内への流入を受け付ける前記OpenFlowスイッチにて、前記設定を実行する、
ことを特徴とする請求項1に記載のパケット転送制御装置。
The flow entry generation unit
Execute the setting in the OpenFlow switch that receives the inflow of the packet into the OFS cluster;
The packet transfer control device according to claim 1, characterized in that:
前記設定する出力IFをMACアドレスにより識別し、前記内部NW経路制御部と外部NW経路制御部は該当MACアドレスをソースアドレスに書換え、そのソースアドレスルーチングでパケットを転送することを特徴とする請求項2に記載のパケット転送制御装置。 The output IF to be set is identified by a MAC address, and the internal NW path control unit and the external NW path control unit rewrite the corresponding MAC address to a source address, and transfer the packet by the source address routing. The packet transfer control device according to 2. 前記外部NWがIPネットワークである場合、前記パケットに設定された、前記外部NW上の宛先がIPアドレスであり、
前記外部NWがIP/MPLSネットワークである場合、前記パケットに設定された、前記外部NW上の宛先が宛先ラベルである、
ことを特徴とする請求項1から請求項3のいずれか1項に記載のパケット転送制御装置。
When the external NW is an IP network, the destination on the external NW set in the packet is an IP address,
When the external NW is an IP / MPLS network, the destination on the external NW set in the packet is a destination label.
The packet transfer control device according to any one of claims 1 to 3, characterized in that:
前記複数のOpenFlowスイッチの各々が備える前記ルーチングエンジンを動作させるアルゴリズムと、前記OFSクラスタが備える前記ルーチングエンジンを動作させるアルゴリズムとが共通化可能である、
ことを特徴とする請求項1から請求項4のいずれか1項に記載のパケット転送制御装置。
An algorithm for operating the routing engine included in each of the plurality of OpenFlow switches and an algorithm for operating the routing engine included in the OFS cluster can be made common.
The packet transfer control device according to any one of claims 1 to 4, characterized in that:
前記設定された、外部NW上の宛先に前記パケットが到達できなくなる故障が発生した場合、当該パケットの、前記OFSクラスタからの流出先を、前記設定された、外部NW上の宛先へ転送する他の従来型ルータに接続している前記OpenFlowスイッチの出力IFに設定し、
前記設定された宛先へ転送する他の従来型ルータに接続している前記OpenFlowスイッチが無い場合、前記設定された、外部NW上の宛先を削除して、前記外部NWへ経路広告する、
ことを特徴とする請求項1から請求項5のいずれか1項に記載のパケット転送制御装置。
When a failure occurs in which the packet can not reach the destination set on the external NW, the outflow destination of the packet from the OFS cluster is transferred to the destination on the set external NW. Set to the output IF of the OpenFlow switch connected to the conventional router of
If there is no OpenFlow switch connected to another conventional router that transfers data to the set destination, the set destination on the external NW is deleted and route advertisement is made to the external NW.
The packet transfer control device according to any one of claims 1 to 5, characterized in that:
複数の従来型ルータを介して外部NWと接続される内部NW上に配置されている複数のOpenFlowスイッチを制御してパケット転送を制御するパケット転送制御装置におけるパケット転送制御方法であって、
前記パケット転送制御装置が、
前記複数のOpenFlowスイッチの各々に対応するルーチングエンジンを備え、前記内部NWについての経路計算を行う内部NW経路制御ステップと、
前記複数のOpenFlowスイッチをクラスタ化したOFSクラスタに対応するルーチングエンジンを備え、前記外部NWに対する経路計算を行う外部NW経路制御ステップと、
前記複数のOpenFlowスイッチの各々に対して生成されるフローエントリにおいて、前記外部NW上の宛先が設定されたパケットの、前記OFSクラスタからの流出先を、前記設定された、外部NW上の宛先へ転送する前記従来型ルータに接続している前記OpenFlowスイッチの出力IFに設定するフローエントリ生成ステップと、を実行する、
ことを特徴とするパケット転送制御方法。
A packet transfer control method in a packet transfer control apparatus, which controls packet transfer by controlling a plurality of OpenFlow switches arranged on an internal NW connected to an external NW through a plurality of conventional routers,
The packet transfer control device
An internal NW path control step including a routing engine corresponding to each of the plurality of OpenFlow switches, and performing path calculation for the internal NW;
An external NW path control step including a routing engine corresponding to an OFS cluster in which the plurality of OpenFlow switches are clustered, and performing path calculation for the external NW;
In the flow entry generated for each of the plurality of OpenFlow switches, the outflow destination from the OFS cluster of the packet in which the destination on the external NW is set is set to the destination on the external NW. Performing a flow entry generation step of setting the output IF of the OpenFlow switch connected to the conventional router to be transferred;
A packet transfer control method characterized in that.
複数の従来型ルータを介して外部NWと接続される内部NW上に配置されている複数のOpenFlowスイッチを制御してパケット転送を制御するパケット転送制御装置としてのコンピュータを、
前記複数のOpenFlowスイッチの各々に対応するルーチングエンジンを備え、前記内部NWについての経路計算を行う内部NW経路制御手段、
前記複数のOpenFlowスイッチをクラスタ化したOFSクラスタに対応するルーチングエンジンを備え、前記外部NWに対する経路計算を行う外部NW経路制御手段、
前記複数のOpenFlowスイッチの各々に対して生成されるフローエントリにおいて、前記外部NW上の宛先が設定されたパケットの、前記OFSクラスタからの流出先を、前記設定された、外部NW上の宛先へ転送する前記従来型ルータに接続している前記OpenFlowスイッチの出力IFに設定するフローエントリ生成手段、
として機能させるためのパケット転送制御プログラム。
A computer as a packet transfer control device that controls packet transfer by controlling a plurality of OpenFlow switches disposed on an internal NW connected to an external NW through a plurality of conventional routers,
An internal NW path control unit including a routing engine corresponding to each of the plurality of OpenFlow switches and performing path calculation for the internal NW;
An external NW route control unit that includes a routing engine corresponding to an OFS cluster in which the plurality of OpenFlow switches are clustered, and performs route calculation for the external NW;
In the flow entry generated for each of the plurality of OpenFlow switches, the outflow destination from the OFS cluster of the packet in which the destination on the external NW is set is set to the destination on the external NW. Flow entry generation means set to the output IF of the OpenFlow switch connected to the conventional router for transfer;
Packet transfer control program to function as.
JP2016123818A 2016-06-22 2016-06-22 Packet transfer control device, packet transfer control method, and packet transfer control program Active JP6527488B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016123818A JP6527488B2 (en) 2016-06-22 2016-06-22 Packet transfer control device, packet transfer control method, and packet transfer control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016123818A JP6527488B2 (en) 2016-06-22 2016-06-22 Packet transfer control device, packet transfer control method, and packet transfer control program

Publications (2)

Publication Number Publication Date
JP2017228935A JP2017228935A (en) 2017-12-28
JP6527488B2 true JP6527488B2 (en) 2019-06-05

Family

ID=60892143

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016123818A Active JP6527488B2 (en) 2016-06-22 2016-06-22 Packet transfer control device, packet transfer control method, and packet transfer control program

Country Status (1)

Country Link
JP (1) JP6527488B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2019181051A1 (en) * 2018-03-19 2021-03-11 日本電気株式会社 Multi-layer network systems, controllers, control methods, and programs
JP7091923B2 (en) * 2018-08-07 2022-06-28 日本電信電話株式会社 Transfer device, transfer method and program
JP6988777B2 (en) * 2018-11-30 2022-01-05 日本電信電話株式会社 Transfer device, transfer system, transfer method and program
KR102203828B1 (en) * 2019-06-05 2021-01-18 주식회사 시큐아이 Device and method for network security

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9031085B2 (en) * 2007-03-28 2015-05-12 Alcatel Lucent Routing path calculation apparatus and methods
EP2769512A4 (en) * 2011-10-21 2015-06-03 Nec Corp Control apparatus for forwarding apparatus, control method for forwarding apparatus, communication system, and program
JP5965335B2 (en) * 2013-02-19 2016-08-03 日本電信電話株式会社 COMMUNICATION SYSTEM AND ROUTE CONTROL METHOD

Also Published As

Publication number Publication date
JP2017228935A (en) 2017-12-28

Similar Documents

Publication Publication Date Title
US8576721B1 (en) Local forwarding bias in a multi-chassis router
US9450779B2 (en) Edge link discovery
CN106170952B (en) For disposing the method and system of maximum redundancy tree in a data network
JP5416596B2 (en) Network relay device, network system, and control method thereof
JP7091923B2 (en) Transfer device, transfer method and program
JP6562466B2 (en) Routing protocol proxy for redundant controller
JP6217138B2 (en) Packet transfer apparatus and packet transfer method
US20160087873A1 (en) Network Topology Discovery Method and System
JP4389221B2 (en) Network, router device, switching method used therefor, program therefor, and recording medium
US20110228767A1 (en) Virtual link aggregation of network traffic in an aggregation switch
JP6527488B2 (en) Packet transfer control device, packet transfer control method, and packet transfer control program
JP6008801B2 (en) Transmission system, transmission method, and transmission apparatus
JPWO2011065268A1 (en) Load distribution system, load distribution method, and program
CN102611618B (en) Route protection converting method and device
US9832121B1 (en) Next hop instruction associations for forwarding unit programming within a network device
JP5429179B2 (en) Network node and load balancing method thereof
KR20150051107A (en) Method for fast flow path setup and failure recovery
WO2018171529A1 (en) Method, device and computer storage medium for implementing double control plane
US8908702B2 (en) Information processing apparatus, communication apparatus, information processing method, and relay processing method
JPWO2013061604A1 (en) Node device in ring network and route switching control method thereof
WO2015079616A1 (en) Communication system, communication method, network information combination apparatus, and network information combination program
WO2011118586A1 (en) Communication system, control device, forwarding node, method for updating processing rules, and program
WO2014175423A1 (en) Communication node, communication system, packet processing method and program
US20160080245A1 (en) Method for scalable computer network partitioning
TW201803314A (en) Server, switch, communication system, communication method, and recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180608

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190320

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190402

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190415

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20190507

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190510

R150 Certificate of patent or registration of utility model

Ref document number: 6527488

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150