JP5612560B2 - Network relay device and network relay system - Google Patents

Network relay device and network relay system Download PDF

Info

Publication number
JP5612560B2
JP5612560B2 JP2011261624A JP2011261624A JP5612560B2 JP 5612560 B2 JP5612560 B2 JP 5612560B2 JP 2011261624 A JP2011261624 A JP 2011261624A JP 2011261624 A JP2011261624 A JP 2011261624A JP 5612560 B2 JP5612560 B2 JP 5612560B2
Authority
JP
Japan
Prior art keywords
network relay
relay device
interface
data frame
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2011261624A
Other languages
Japanese (ja)
Other versions
JP2013115695A (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.)
Alaxala Networks Corp
Original Assignee
Alaxala Networks Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alaxala Networks Corp filed Critical Alaxala Networks Corp
Priority to JP2011261624A priority Critical patent/JP5612560B2/en
Publication of JP2013115695A publication Critical patent/JP2013115695A/en
Application granted granted Critical
Publication of JP5612560B2 publication Critical patent/JP5612560B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、ネットワーク中継装置及びネットワーク中継システムに関する。   The present invention relates to a network relay device and a network relay system.

ネットワーク中継装置を複数台接続し、一台の仮想的なネットワーク中継装置(以後、仮想ネットワーク中継装置と記述)として動作させる技術が知られている。例えば、非特許文献1において記載されているVSS(Virtual Switching System)と呼ばれるネットワークシステムが前記仮想ネットワーク中継装置に該当する技術である。   A technique is known in which a plurality of network relay devices are connected to operate as a single virtual network relay device (hereinafter referred to as a virtual network relay device). For example, a network system called VSS (Virtual Switching System) described in Non-Patent Document 1 is a technique corresponding to the virtual network relay device.

仮想ネットワーク中継装置は、複数のネットワーク中継装置(以後、外部ネットワーク中継装置)や、複数のサーバなどと接続されている(以後、仮想ネットワーク中継装置と接続しているネットワーク中継装置、およびサーバなどを外部ネットワーク装置と記述、特に構成に依存しない一般的なネットワーク中継装置、およびサーバなどをネットワーク装置と記述)。   The virtual network relay device is connected to a plurality of network relay devices (hereinafter referred to as external network relay devices) or a plurality of servers (hereinafter referred to as network relay devices and servers connected to the virtual network relay device). Description as an external network device, especially a general network relay device and server that does not depend on the configuration as a network device).

仮想ネットワーク中継装置と外部ネットワーク装置間は、冗長性を確保するために、複数の物理回線で接続し、ある外部ネットワーク装置から接続している複数の回線のそれぞれ(以後、仮想ネットワーク中継装置と外部ネットワーク装置とを接続する回線を外部装置間回線と記述)は、仮想ネットワーク中継装置を構成するネットワーク中継装置(以後、内部ネットワーク中継装置と記述)のそれぞれと接続する構成が推奨されている。ある外部ネットワーク装置から接続している複数の外部装置間回線は、複数の物理回線を1つの仮想的な物理回線として動作させるリンクアグリゲーション、またはIPルーティングにおけるイコールコストマルチパスなど、いずれの冗長化技術を用いてもよい。   In order to ensure redundancy, a virtual network relay device and an external network device are connected by a plurality of physical lines, and each of a plurality of lines connected from a certain external network device (hereinafter referred to as a virtual network relay device and an external network device). A configuration in which a line connecting a network device is described as a line between external devices) is recommended to connect to each of the network relay devices constituting the virtual network relay device (hereinafter referred to as an internal network relay device). As for a plurality of lines between external devices connected from a certain external network device, any redundancy technology such as link aggregation for operating a plurality of physical lines as one virtual physical line, or equal cost multipath in IP routing, etc. May be used.

リンクアグリゲーション、イコールコストマルチパスいずれの冗長化技術も送信するデータフレームを、送信先のネットワーク装置と接続している複数の回線のいずれかに振分ける負荷分散機能を備えている。負荷分散機能は、フレーム内のMAC(Media Access Control)アドレス、VLAN(Virtual Local Area Network)識別子、IP(Internet Protocol)アドレス、Port番号、VPN(Virtual Private Network)識別子などの識別子の1つ以上の組み合わせで決まるフロー識別子と、送信先のネットワーク装置と接続する回線数(以後、冗長化構成回線数と記述)によって回線内部番号を算出し、回線内部番号を保持する回線に対して、データフレームを出力する(以後、フローベース負荷分散機構と記述)場合がある。   A load distribution function is provided that distributes a data frame to be transmitted by any of the redundancy techniques of link aggregation and equal cost multipath to any of a plurality of lines connected to a destination network device. The load distribution function includes a MAC (Media Access Control) address, a VLAN (Virtual Local Area Network) identifier, an IP (Internet Protocol) address, a Port number, and a VPN (Virtual Private Network) identifier of one or more identifiers in the frame. The line internal number is calculated from the flow identifier determined by the combination and the number of lines connected to the destination network device (hereinafter referred to as the number of redundantly configured lines), and the data frame is sent to the line holding the line internal number. In some cases, it is output (hereinafter referred to as a flow-based load balancing mechanism).

仮想ネットワーク中継装置は、内部ネットワーク中継装置のいずれか一台が運用装置として動作し、運用装置以外の内部ネットワーク中継装置は待機装置として動作する。運用装置は、ネットワーク中継(レイヤ2転送、レイヤ3転送など)を実現するために、ルーティングプロトコルなどのネゴシエーション処理を、外部ネットワーク中継装置と実施する。また、運用装置で障害が発生した場合、待機装置のいずれか一台が運用装置として動作する。なお、負荷分散のために、機能毎、インタフェース毎などでそれぞれ異なる内部ネットワーク中継装置が、運用装置として動作する場合がある。   In the virtual network relay device, any one of the internal network relay devices operates as an operation device, and the internal network relay devices other than the operation device operate as a standby device. The operation device performs negotiation processing such as a routing protocol with the external network relay device in order to realize network relay (layer 2 transfer, layer 3 transfer, etc.). When a failure occurs in the operation device, any one of the standby devices operates as the operation device. In order to distribute the load, different internal network relay devices for each function, interface, etc. may operate as operation devices.

運用装置の障害を、内部ネットワーク中継装置間を接続する回線(以後、内部装置間回線と記述)を通じて検知する構成があるが、内部装置間回線のリンクダウンなどの障害が発生した場合、内部ネットワーク装置全体の障害であるか、内部装置間回線のみの障害であるかの区別がつかない。このため、内部装置間回線の障害発生時に、運用装置として動作する内部ネットワーク中継装置が2台以上動作する状態、もしくは、運用装置として動作する内部ネットワーク中継装置が1台も動作しない状態となる基本課題がある。   There is a configuration that detects a failure of the operation device through a line connecting between internal network relay devices (hereinafter referred to as a line between internal devices). If a failure such as a link down of the line between internal devices occurs, the internal network It is not possible to distinguish between a failure of the entire device and a failure of only the line between internal devices. For this reason, when a failure occurs in a line between internal devices, two or more internal network relay devices that operate as operation devices operate, or no internal network relay device that operates as an operation device operates. There are challenges.

基本課題の詳細を説明するため、内部装置間回線に障害が発生した場合の動作を説明する。内部装置間回線の障害が発生した場合の具体的な動作方法は例えば2つある。
第1の動作方法として、内部装置間回線の障害を検知した場合、障害検知前の運用装置は自装置内の全回線をダウンし、装置の運用を停止する。一方、障害検知前の待機装置は運用装置として動作する(非特許文献1 42ページ、“Detection Mechanisms and Configuration”参照)。第1の動作方法では、待機装置全体の障害で内部装置間回線の障害が発生した場合、運用装置として動作する内部ネットワーク中継装置が一台もないため、外部ネットワーク装置で異常を検知し通信が停止する。
In order to explain the details of the basic problem, the operation when a failure occurs in the line between internal devices will be described. There are, for example, two specific operation methods when a failure occurs in the line between internal devices.
As a first operation method, when a failure in a line between internal devices is detected, the operation device before the failure detection shuts down all the lines in the own device and stops the operation of the device. On the other hand, the standby device before failure detection operates as an operation device (see Non-Patent Document 1, page 42, “Detection Mechanisms and Configuration”). In the first operation method, when there is a failure in the line between internal devices due to the failure of the entire standby device, there is no internal network relay device that operates as an operation device. Stop.

第2の動作方法として、内部装置間回線の障害を検知した場合、障害検知前の運用装置は運用装置として動作を継続する。一方、障害検知前の待機装置も運用装置として動作する。この動作では、内部装置間回線のみの障害である場合、運用装置として動作する内部ネットワーク中継装置が2台以上となる。外部ネットワーク中継装置は同一装置(仮想ネットワーク中継装置)から2本以上のセッション確立を要求されることになる。この場合、ルーティングプロトコルなどプロトコルによっては、最初に確立したセッションを切断し、当該セッションから学習した経路情報を消去することで、通信が停止する。   As a second operation method, when a failure in the line between internal devices is detected, the operation device before the failure detection continues to operate as the operation device. On the other hand, the standby device before failure detection also operates as an operation device. In this operation, when there is a failure only in the line between internal devices, there are two or more internal network relay devices operating as operation devices. The external network relay device is required to establish two or more sessions from the same device (virtual network relay device). In this case, depending on the protocol such as the routing protocol, the communication is stopped by disconnecting the first established session and deleting the learned route information from the session.

上記基本課題を解決するための一手法が、特許文献1に開示されている。
特許文献1では、複数台のネットワーク中継装置で冗長化を実現するネットワーク中継システムをモデルにしている。ネットワーク中継システムを構成するネットワーク中継装置の一台を運用系として動作させ、運用系以外のネットワーク中継装置を待機系として動作させる。仮想ネットワーク中継装置技術と異なる点は、待機系として動作する装置はネットワーク中継システムと接続するネットワーク中継装置(以後、下流ネットワーク中継装置と記述)との通信を論理的に切断していること、および、運用系、待機系のそれぞれは下流ネットワーク中継装置からは独立したネットワーク中継装置として認識されることである。このため、特許文献1では、運用系、待機系のそれぞれに接続された複数の回線に対して、リンクアグリゲーションを適用できないネットワーク構成である。
One method for solving the above basic problem is disclosed in Patent Document 1.
In Patent Document 1, a network relay system that achieves redundancy with a plurality of network relay devices is modeled. One network relay device constituting the network relay system is operated as an active system, and a network relay device other than the active system is operated as a standby system. The difference from the virtual network relay device technology is that a device operating as a standby system logically disconnects communication with a network relay device (hereinafter referred to as a downstream network relay device) connected to the network relay system, and Each of the active system and the standby system is recognized as a network relay device independent of the downstream network relay device. For this reason, Patent Document 1 has a network configuration in which link aggregation cannot be applied to a plurality of lines connected to the active system and the standby system.

この上で、特許文献1では、下流ネットワーク中継装置と、運用系および待機系のそれぞれに接続する回線を利用する。下流ネットワーク中継装置は、ネットワーク中継システムと接続している回線に障害が発生した場合、ネットワーク中継システムを構成するネットワーク中継装置のうち、障害の発生した回線と接続するネットワーク中継装置とは異なるネットワーク中継装置に対して、一方のネットワーク中継装置に障害が発生したことを通知することで、運用系は待機系の障害を、待機系は運用系の障害を検知することができる。
特許文献1では、下流ネットワーク中継装置に、ネットワーク中継システムを構成するネットワーク中継装置のそれぞれと接続している回線の構成を認識し、障害通知の制御フレームを通知する仕組みを実装する必要がある。また、ネットワーク中継システムと下流ネットワーク中継装置間の回線に対してリンクアグリゲーションを適用できないという新たな課題がある。
On this basis, Patent Document 1 uses a downstream network relay device and a line connected to each of the active system and the standby system. When a failure occurs in a line connected to the network relay system, the downstream network relay device is different from the network relay device connected to the failed line among the network relay devices constituting the network relay system. By notifying the device that a failure has occurred in one of the network relay devices, the active system can detect the standby system failure, and the standby system can detect the active system failure.
In Patent Document 1, it is necessary to implement a mechanism for recognizing the configuration of a line connected to each of the network relay devices constituting the network relay system and notifying a control frame for failure notification in the downstream network relay device. Further, there is a new problem that link aggregation cannot be applied to the line between the network relay system and the downstream network relay device.

特許第4437984号公報Japanese Patent No. 4437984

Cisco Systems、「Cisco Catalyst 6500 Series Virtual Switching System(VSS)1440」、[Online]、インターネット<URL:http://www.cisco.com/en/US/prod/collateral/switches/ps5718/ps9336/white_paper_c11_429338.pdf>Cisco Systems, “Cisco Catalyst 6500 Series Virtual Switching System (VSS) 1440”, [Online], Internet <URL: http: // www. cisco. com / en / US / prod / collateral / switches / ps5718 / ps9336 / white_paper_c11_429338. pdf>

本出願人は、異なる手法を提案する関連技術として他の特許出願をしている(特願2010−121874号)。この関連技術では、概略、外部ネットワーク中継装置と、仮想ネットワーク中継装置の運用装置、および待機装置のそれぞれに接続する回線で構築したリンクアグリゲーションを利用する。運用装置、もしくは待機装置は内部装置間回線の障害が発生した場合、リンクアグリゲーションを介して、運用装置は待機装置の生存確認をし、待機装置は運用装置の生存確認を実施する。生存確認の方法として、例えば運用装置は、生存確認用の制御フレームをリンクアグリゲーションに向けて送信する。外部ネットワーク中継装置は生存確認用の制御フレームを認識し、同一リンクアグリゲーション内の受信した回線とは異なる回線に制御フレームを転送する。待機装置は受信した生存確認用の制御フレームに対して応答フレームを生存確認用の制御フレームを受信した回線に送信することで、生存確認を実施する。
この関連技術では、外部ネットワーク中継装置が生存確認用の制御フレームを認識し、同一リンクアグリゲーション内で制御フレームを折り返す動作が必要となる。
The present applicant has filed another patent application as a related technique for proposing a different method (Japanese Patent Application No. 2010-121874). In this related technology, link aggregation constructed with lines connected to the external network relay device, the operation device of the virtual network relay device, and the standby device is used. When a failure occurs in a line between internal devices, the operation device or the standby device confirms the existence of the standby device via link aggregation, and the standby device performs the existence confirmation of the operation device. As a survival confirmation method, for example, the operation apparatus transmits a control frame for survival confirmation toward link aggregation. The external network relay device recognizes the control frame for existence confirmation and transfers the control frame to a line different from the received line in the same link aggregation. The standby device performs the survival confirmation by transmitting a response frame to the received survival confirmation control frame to the line that has received the survival confirmation control frame.
This related technique requires an operation in which an external network relay apparatus recognizes a control frame for existence confirmation and returns the control frame within the same link aggregation.

本発明では、上述の基本課題に加え、特許文献1及び上記関連技術で生じた新たな2つの課題を解決する。新たに生じた第1の課題は仮想ネットワーク中継装置が発行する特殊な制御フレームを外部ネットワーク中継装置が認識する必要があるという課題である。新たに生じた第2の課題は、特許文献1の方法で記載されているように、特定の制御フレームに関して、同一リンクアグリゲーション内でフレームを折り返すという特殊な機能を外部ネットワーク中継装置に実装する必要があるという課題である。新たに生じたいずれの課題も外部ネットワーク中継装置に特殊な機能を実装する必要がある。
以上の点に鑑み、本発明は、外部ネットワーク中継装置に特殊な実装を必要とせずに、内部装置間回線の障害発生時に、運用装置として動作する内部ネットワーク中継装置が2台以上動作する状態、もしくは、運用装置として動作する内部ネットワーク中継装置が1台も動作しない状態となることを防ぐことを目的とする。また、本発明は、受信したデータフレームが既定のネットワークインタフェースで受信されたかを判定することで、本来受信するはずのネットワークインタフェースで障害が発生したことを検知することを目的とする。
In the present invention, in addition to the above basic problem, two new problems caused by Patent Document 1 and the related art are solved. A new first problem that arises is that the external network relay device needs to recognize a special control frame issued by the virtual network relay device. As described in the method of Patent Document 1, the newly generated second problem is that a special function of returning a frame within the same link aggregation must be implemented in an external network relay device for a specific control frame. It is a problem that there is. Any newly generated issues require special functions to be implemented in the external network relay device.
In view of the above points, the present invention does not require special implementation in an external network relay device, and when two or more internal network relay devices operating as operation devices operate when a failure occurs in a line between internal devices, Alternatively, it is an object to prevent a state in which no internal network relay device that operates as an operation device operates. Another object of the present invention is to detect that a failure has occurred in a network interface that should have been received by determining whether a received data frame has been received by a predetermined network interface.

本発明は、上述の課題に対して、少なくとも一部を解決するためになされたものであり、例えば、以下の形態または適用例として実現することが可能である。
[適用例1]
適用例1のネットワーク中継装置は、複数の内部ネットワーク中継装置を仮想的な1つのネットワーク中継装置として動作させるネットワーク中継システムを構成するネットワーク中継装置であって、
前記ネットワーク中継システムは、複数の外部ネットワーク中継装置のそれぞれと複数の回線で接続されている。また、前記ネットワーク中継システムと前記外部ネットワーク中継装置とを接続する複数の回線のそれぞれは、前記ネットワーク中継システムを構成する複数の前記内部ネットワーク中継装置のそれぞれに接続されており、前記外部ネットワーク中継装置は前記ネットワーク中継システムと接続している前記複数の回線にフローベース負荷分散機構を備えた冗長化技術を適用している。
前記ネットワーク中継装置は、前記冗長化技術を適用しているネットワークインタフェースで受信するデータフレームの情報(以後、受信インタフェース判定情報を記述)を転送部に設定する受信判定制御部を備え、
前記冗長化技術を適用しているネットワークインタフェースからデータフレームを受信すると、前記受信判定制御部によって設定された情報に基づいて、受信した前記データフレームから情報を抽出し、受信した前記データフレームが、既定のネットワークインタフェースで受信されたかを判定し、既定のネットワークインタフェースで受信されていない場合、前記受信判定制御部に通知する受信インタフェース判定部とを備えるネットワーク中継装置である。
このように、適用例1のネットワーク中継装置では、冗長化技術に適用するフローベース負荷分散機構の仕組みを利用する。
外部ネットワーク中継装置は、ネットワーク中継システムと接続しており、かつ前記冗長化技術を適用している回線のいずれかに障害が発生した場合、障害の発生した回線に振分けられていたフレームは、障害の発生した回線とは異なる回線に振分けられる。
適用例1のネットワーク中継装置は、障害発生前の情報に基づいて、受信したデータフレームが既定のネットワークインタフェースで受信されたかを判定することで、本来受信するはずのネットワークインタフェースで障害が発生したことを検知することができる。
特定の内部ネットワーク中継装置と接続する全てのネットワークインタフェースの障害を検知することで、特定の内部ネットワーク中継装置全体の障害として検知することができる。
SUMMARY An advantage of some aspects of the invention is to solve at least a part of the problems described above, and the invention can be implemented, for example, as the following forms or application examples.
[Application Example 1]
The network relay device of Application Example 1 is a network relay device that constitutes a network relay system that causes a plurality of internal network relay devices to operate as one virtual network relay device,
The network relay system is connected to each of a plurality of external network relay devices via a plurality of lines. Further, each of the plurality of lines connecting the network relay system and the external network relay device is connected to each of the plurality of internal network relay devices constituting the network relay system, and the external network relay device Applies a redundancy technique including a flow-based load distribution mechanism to the plurality of lines connected to the network relay system.
The network relay device includes a reception determination control unit that sets information of a data frame received by a network interface to which the redundancy technology is applied (hereinafter, described reception interface determination information) in a transfer unit,
When a data frame is received from a network interface to which the redundancy technology is applied, based on information set by the reception determination control unit, information is extracted from the received data frame, and the received data frame is The network relay device includes a reception interface determination unit that determines whether or not the signal has been received by a predetermined network interface and notifies the reception determination control unit when the reception has not been received by the default network interface.
As described above, the network relay device according to the application example 1 uses the mechanism of the flow-based load distribution mechanism applied to the redundancy technique.
The external network relay device is connected to the network relay system, and if a failure occurs in any of the lines to which the redundancy technology is applied, the frame allocated to the failed line is Is assigned to a line different from the line where the error occurred
The network relay device of Application Example 1 determines that a failure has occurred in a network interface that should have been received by determining whether the received data frame has been received by a predetermined network interface based on information before the failure occurred Can be detected.
By detecting a failure of all network interfaces connected to a specific internal network relay device, it is possible to detect a failure of the entire specific internal network relay device.

[適用例2]
適用例1記載のネットワーク中継装置であって、
フローベース負荷分散機構を備える冗長化技術はリンクアグリゲーションである。
これにより、適用例1のコンピュータネットワークの構成にリンクアグリゲーションを適用することができる。
[Application Example 2]
A network relay device described in Application Example 1,
A redundancy technique provided with a flow-based load distribution mechanism is link aggregation.
Thereby, link aggregation can be applied to the configuration of the computer network of Application Example 1.

[適用例3]
適用例1記載のネットワーク中継装置であって、
受信インタフェース判定部から通知された情報に基づいて、状態の変更が発生したネットワークインタフェース、および内部ネットワーク中継装置を特定する、受信判定制御部を備え、
前記受信判定制御部で特定した内部ネットワーク中継装置の全てのネットワークインタフェースで障害を検知した場合、前記受信判定制御部で特定した内部ネットワーク中継装置で障害が発生したと認識し、
前記受信判定制御部で特定した内部ネットワーク中継装置が運用装置であった場合、かつ前記ネットワーク中継装置が、代わりの運用装置として動作する待機装置である場合に、運用装置として動作を開始する、障害確認制御部とを備えるネットワーク中継装置。
このように、適用例3のネットワーク中継装置は、外部ネットワーク中継装置に特殊な機能の実装なしに、また、外部ネットワーク中継装置が特殊な制御フレームを認識することなしに、運用装置の障害を検知し、代わりに運用装置として動作することが可能となる。
[Application Example 3]
A network relay device described in Application Example 1,
Based on the information notified from the reception interface determination unit, a network interface in which the state change has occurred, and an internal network relay device are specified, and a reception determination control unit is provided.
When a failure is detected in all the network interfaces of the internal network relay device specified by the reception determination control unit, it is recognized that a failure has occurred in the internal network relay device specified by the reception determination control unit,
A failure that starts operation as an operation device when the internal network relay device specified by the reception determination control unit is an operation device and the network relay device is a standby device that operates as an alternative operation device. A network relay device comprising a confirmation control unit.
As described above, the network relay device according to the application example 3 detects a failure of the operation device without implementing a special function in the external network relay device and without recognizing the special control frame by the external network relay device. However, it becomes possible to operate as an operation device instead.

[適用例4]
適用例3記載のネットワーク中継装置であって、
外部ネットワーク中継装置と接続しているネットワークインタフェースで障害が発生した場合、もしくは復旧した場合、もしくは受信インタフェース判定部から通知された情報から状態が変更したネットワークインタフェースを特定した場合、
他の内部ネットワーク中継装置にネットワークインタフェースの状態を通知するインタフェース状態変更メッセージを送信し、
他の内部ネットワーク中継装置から前記インタフェース状態変更メッセージを受信すると、受信した前記インタフェース状態変更メッセージの情報に基づいて、転送部に設定した受信インタフェース判定情報を変更する、
受信判定制御部を備える、ネットワーク中継装置。
このように、適用例4のネットワーク中継装置では、内部ネットワーク中継装置間の回線が通信可能な間に発生した外部ネットワーク中継装置と内部ネットワーク中継装置間の回線の状態変更に、対応することができ、より高速に内部ネットワーク中継装置と外部ネットワーク中継装置間の回線の状態変更を検知することができる。
また、接続していない冗長化技術を適用したネットワークインタフェースの状態を検知することができる。
[Application Example 4]
A network relay device described in Application Example 3,
When a failure occurs in the network interface connected to the external network relay device or when it is recovered, or when the network interface whose status has changed is identified from the information notified from the receiving interface judgment unit,
Send an interface status change message to notify other internal network relay devices of the status of the network interface,
When receiving the interface state change message from another internal network relay device, based on the information of the received interface state change message, to change the reception interface determination information set in the transfer unit,
A network relay device comprising a reception determination control unit.
As described above, the network relay device of Application Example 4 can cope with a change in the state of the line between the external network relay device and the internal network relay device that occurs while the line between the internal network relay devices is communicable. Therefore, it is possible to detect a change in the state of the line between the internal network relay device and the external network relay device at a higher speed.
In addition, it is possible to detect the state of a network interface to which a redundant technology that is not connected is applied.

[適用例5]
適用例3記載のネットワーク中継装置であって、
複数のMACアドレス、またはIPアドレスを保持し、特定の内部ネットワーク中継装置の外部装置間回線とフローベース負荷分散機構を備える冗長化技術を適用した外部装置間回線から特定のネットワーク装置に向けてヘルスチェック・データフレームを送信する。前記送信したヘルスチェック・データフレームは、前記送信したヘルスチェック・データフレームに対する応答が、外部ネットワーク中継装置のフローベース負荷分散機構によって、前記特定の内部ネットワーク中継装置側の外部装置間回線に振分けられるように、ヘルスチェック・データフレーム内のMACアドレス、またはIPアドレスを、前記ネットワーク中継装置で保持している複数のMACアドレス、またはIPアドレスから選択し、設定する装置障害確認制御部を備える、ネットワーク中継装置。
このように、第5のネットワーク中継装置では、ユーザフレームが送受信されていない状態でも、特定の内部ネットワーク中継装置の障害を検知することが可能となる。
[Application Example 5]
A network relay device described in Application Example 3,
Health from a line between external devices that holds a plurality of MAC addresses or IP addresses and applies a redundancy technology including a flow-based load balancing mechanism to a specific internal network relay device toward a specific network device Send a check data frame. In the transmitted health check data frame, the response to the transmitted health check data frame is distributed to the line between the external devices on the specific internal network relay device side by the flow-based load distribution mechanism of the external network relay device. As described above, a network including a device failure confirmation control unit that selects and sets a MAC address or IP address in a health check data frame from a plurality of MAC addresses or IP addresses held in the network relay device. Relay device.
As described above, the fifth network relay device can detect a failure of a specific internal network relay device even when a user frame is not transmitted or received.

[適用例6]
適用例5記載のネットワーク中継装置であって、
外部装置間回線に送信するヘルスチェック・データフレームは、ICMPによるデータフレームである。
[Application Example 6]
A network relay device according to Application Example 5,
The health check data frame transmitted to the line between the external devices is a data frame by ICMP.

[適用例7]
適用例5記載のネットワーク中継装置であって、
外部装置間回線に送信するヘルスチェック・データフレームは、BFD(Bidirectional Forwarding Detection)によるデータパケットである。
[Application Example 7]
A network relay device according to Application Example 5,
The health check data frame transmitted to the line between the external devices is a data packet by BFD (Bidirectional Forwarding Detection).

[適用例8]
適用例5記載のネットワーク中継装置であって、
外部装置間回線に送信するヘルスチェック・データフレームは、Ethernet OAM(Operations,Administration,Maintenance)によるデータフレームである(Ethernetは登録商標)。
本発明の形態は、ネットワーク中継装置、ネットワーク中継システムおよびネットワーク中継方法に限るものではなく、例えば、ネットワーク中継装置の一部を構成する部品、ネットワーク中継装置の機能をコンピュータに実現させるためのプログラムなどの他の形態に適用することもできる。また、本発明は、前述の形態に何ら限定されるものではなく、本発明の趣旨を逸脱しない範囲内において様々な形態で実施し得ることは勿論である。
[Application Example 8]
A network relay device according to Application Example 5,
The health check data frame transmitted to the line between the external devices is a data frame by Ethernet OAM (Operations, Administration, Maintenance) (Ethernet is a registered trademark).
The form of the present invention is not limited to the network relay device, the network relay system, and the network relay method. For example, a part that constitutes a part of the network relay device, a program for causing a computer to realize the function of the network relay device, etc. It can also be applied to other forms. Further, the present invention is not limited to the above-described embodiments, and it is needless to say that the present invention can be implemented in various forms without departing from the spirit of the present invention.

本発明の第1の解決手段によると、
複数のネットワーク中継装置によりひとつの仮想ネットワーク中継装置を構成し、該複数のネットワーク中継装置は、外部ネットワーク中継装置にそれぞれ接続されて冗長構成をとり、該外部ネットワーク中継装置から各ネットワーク中継装置へのデータフレームは、該外部ネットワーク中継装置のフローベース負荷分散機構により、データフレーム内の所定のフロー識別子に基づいて予め定められた振り分け規則に従い、フローに応じてネットワーク中継装置に振り分けて送信されるネットワークシステムにおける前記ネットワーク中継装置であって、
前記外部ネットワーク中継装置からデータフレームを受信するインタフェースと、
前記振り分け規則に従い該インタフェースで受信するフローを識別するフロー識別情報が予め記憶された受信インタフェース判定情報記憶領域と、
前記インタフェースを介して受信したデータフレーム内の前記フロー識別子に基づきフローを識別し、該フローと、前記受信判定情報記憶領域に記憶されたフロー識別情報が示すフローが一致しない場合、既定外のインタフェースでデータフレームを受信したと判断する受信インタフェース判定部と
を備えた前記ネットワーク中継装置が提供される。
According to the first solution of the present invention,
A plurality of network relay devices constitute one virtual network relay device, and the plurality of network relay devices are connected to external network relay devices to form a redundant configuration, and the external network relay devices are connected to each network relay device. A network in which a data frame is distributed and transmitted to a network relay device according to a flow according to a predetermined distribution rule based on a predetermined flow identifier in the data frame by a flow-based load distribution mechanism of the external network relay device A network relay device in a system,
An interface for receiving a data frame from the external network relay device;
A reception interface determination information storage area in which flow identification information for identifying a flow received by the interface according to the distribution rule is stored in advance;
If the flow is identified based on the flow identifier in the data frame received via the interface, and the flow does not match the flow indicated by the flow identification information stored in the reception determination information storage area, a non-default interface The network relay device is provided that includes a reception interface determination unit that determines that a data frame has been received.

本発明の第2の解決手段によると、
仮想ネットワーク中継装置を構成する複数のネットワーク中継装置を備えたネットワーク中継システムであって、
該複数のネットワーク中継装置は、外部ネットワーク中継装置にそれぞれ接続され、該外部ネットワーク中継装置から各ネットワーク中継装置へのデータフレームは、該外部ネットワーク中継装置のフローベース負荷分散機構により、該データフレーム内の予め定められたフロー識別子の内容と第1冗長構成情報とに基づき予め定められた振り分け規則で求まる第1出力情報に従い、各ネットワーク中継装置に振り分けて送信され、前記複数のネットワーク中継装置のいずれか又は前記複数のネットワーク中継装置と接続する複数の回線のいずれかに障害が発生すると、該ネットワーク中継装置を除外した第2冗長構成情報と前記フロー識別子の内容とに基づき前記振り分け規則で求まる第2出力情報に従い、前記外部ネットワーク中継装置からデータフレームが送信され、
前記ネットワーク中継装置は、
前記外部ネットワーク中継装置からデータフレームを受信するインタフェースと、
前記外部ネットワーク中継装置が第1及び第2出力情報を求めるのに用いる前記フロー識別子の種別と第1冗長構成情報とが予め記憶され、及び、前記インタフェースに対応する前記第1出力情報が予め記憶された受信インタフェース判定情報記憶領域と、
前記受信インタフェース判定情報記憶領域に記憶されたフロー識別子の種別に従い、前記インタフェースで受信したデータフレームから、前記フロー識別子の内容を抽出し、抽出された情報と、記憶された第1冗長構成情報とに基づき前記振り分け規則で第3出力情報を求め、該第3出力情報と前記受信インタフェース判定情報記憶領域に記憶された第1出力情報が一致しない場合に、既定外のインタフェースでデータフレームを受信したと判断する受信インタフェース判定部と
を有する前記ネットワーク中継システムが提供される。
According to the second solution of the present invention,
A network relay system comprising a plurality of network relay devices constituting a virtual network relay device,
The plurality of network relay devices are respectively connected to an external network relay device, and a data frame from the external network relay device to each network relay device is included in the data frame by a flow-based load distribution mechanism of the external network relay device. According to the first output information obtained by a predetermined distribution rule based on the content of the predetermined flow identifier and the first redundant configuration information. If a failure occurs in any of a plurality of lines connected to the plurality of network relay devices, the distribution rule is obtained based on the second redundancy configuration information excluding the network relay device and the contents of the flow identifier. According to the two output information, the external network relay device Luo data frame is sent,
The network relay device is:
An interface for receiving a data frame from the external network relay device;
The type of the flow identifier and the first redundant configuration information used by the external network relay device for obtaining the first and second output information are stored in advance, and the first output information corresponding to the interface is stored in advance. Received reception interface determination information storage area,
According to the type of the flow identifier stored in the reception interface determination information storage area, the content of the flow identifier is extracted from the data frame received by the interface, the extracted information, the stored first redundancy configuration information, The third output information is obtained based on the distribution rule, and the data frame is received by a non-default interface when the third output information does not match the first output information stored in the reception interface determination information storage area. The network relay system having a reception interface determination unit for determining

本発明によると、外部ネットワーク中継装置に特殊な実装を必要とせずに、内部装置間回線の障害発生時に、運用装置として動作する内部ネットワーク中継装置が2台以上動作する状態、もしくは、運用装置として動作する内部ネットワーク中継装置が1台も動作しない状態となることを防ぐことができる。また、本発明によると、受信したデータフレームが既定のネットワークインタフェースで受信されたかを判定することで、本来受信するはずのネットワークインタフェースで障害が発生したことを検知することができる。   According to the present invention, a state in which two or more internal network relay devices that operate as operation devices operate when a failure occurs in a line between internal devices without requiring special implementation in the external network relay device, or as an operation device It is possible to prevent a state in which no internal network relay device is operating. Further, according to the present invention, it is possible to detect that a failure has occurred in a network interface that should be received by determining whether or not the received data frame has been received by a predetermined network interface.

第1の実施例におけるネットワークシステムの構成を示す説明図である。It is explanatory drawing which shows the structure of the network system in a 1st Example. 第1の実施例における外部ネットワーク中継装置200aのリンクアグリゲーションの設定内容を示す説明図である。It is explanatory drawing which shows the setting content of the link aggregation of the external network relay apparatus 200a in a 1st Example. 第1の実施例における外部ネットワーク中継装置200bのリンクアグリゲーションの設定内容を示す説明図である。It is explanatory drawing which shows the setting content of the link aggregation of the external network relay apparatus 200b in a 1st Example. 第1の実施例における外部ネットワーク中継装置200cのリンクアグリゲーションの設定内容を示す説明図である。It is explanatory drawing which shows the setting content of the link aggregation of the external network relay apparatus 200c in a 1st Example. 内部ネットワーク中継装置の構成を示す説明図である。It is explanatory drawing which shows the structure of an internal network relay apparatus. 内部ネットワーク中継装置の受信インタフェース判定部が実行する受信インタフェース判定処理を示すフローチャートである。It is a flowchart which shows the reception interface determination process which the reception interface determination part of an internal network relay apparatus performs. 第1の実施例における内部ネットワーク中継装置300aの受信インタフェース判定情報の設定内容を示す説明図である。It is explanatory drawing which shows the setting content of the receiving interface determination information of the internal network relay apparatus 300a in a 1st Example. 第1の実施例における内部ネットワーク中継装置300bの受信インタフェース判定情報の設定内容を示す説明図である。It is explanatory drawing which shows the setting content of the receiving interface determination information of the internal network relay apparatus 300b in a 1st Example. 内部ネットワーク中継装置の回線状態情報を示す説明図である。It is explanatory drawing which shows the line state information of an internal network relay apparatus. 内部ネットワーク中継装置の受信判定制御部321が実行するネットワークインタフェース状態変更処理を示すフローチャートである。It is a flowchart which shows the network interface state change process which the reception determination control part 321 of an internal network relay apparatus performs. 内部ネットワーク中継装置の受信判定制御部321が実行するインタフェース状態変更メッセージ受信処理を示すフローチャートである。It is a flowchart which shows the interface status change message reception process which the reception determination control part 321 of an internal network relay apparatus performs. 内部ネットワーク中継装置の受信判定制御部321が実行する既定外インタフェース受信処理を示すフローチャートである。It is a flowchart which shows the non-default interface reception process which the reception determination control part 321 of an internal network relay apparatus performs. 内部ネットワーク中継装置の障害確認制御部322が実行する内部ネットワーク中継装置障害検知処理を示すフローチャートである。It is a flowchart which shows the internal network relay apparatus failure detection process which the failure confirmation control part 322 of an internal network relay apparatus performs. 端末装置の設定内容を示す説明図である。It is explanatory drawing which shows the setting content of a terminal device. 内部ネットワーク中継装置の障害確認制御部322が実行する内部ネットワーク中継装置障害確認処理を示すフローチャートである。It is a flowchart which shows the internal network relay apparatus failure confirmation process which the failure confirmation control part 322 of an internal network relay apparatus performs. 内部ネットワーク中継装置300で保持するMACアドレス、IPアドレスを示す説明図である。5 is an explanatory diagram showing a MAC address and an IP address held by an internal network relay device 300. FIG. 第1の実施例におけるデータフレーム転送時の内部ネットワーク中継装置の動作を説明するための説明図である。It is explanatory drawing for demonstrating operation | movement of the internal network relay apparatus at the time of the data frame transfer in a 1st Example. 第1の実施例において、運用装置である内部ネットワーク中継装置300aで障害発生した場合の内部ネットワーク中継装置の動作を説明するための説明図である。FIG. 6 is an explanatory diagram for explaining an operation of the internal network relay device when a failure occurs in the internal network relay device 300a which is an operation device in the first embodiment. 第1の実施例において、運用装置である内部ネットワーク中継装置300aで障害が発生した場合の外部ネットワーク中継装置200aのリンクアグリゲーションの設定内容を示す説明図である。FIG. 10 is an explanatory diagram showing the setting contents of link aggregation of the external network relay device 200a when a failure occurs in the internal network relay device 300a that is an operation device in the first embodiment. 第1の実施例において、運用装置である内部ネットワーク中継装置300aで障害が発生した場合の外部ネットワーク中継装置200bのリンクアグリゲーションの設定内容を示す説明図である。FIG. 10 is an explanatory diagram illustrating the setting contents of link aggregation of the external network relay device 200b when a failure occurs in the internal network relay device 300a that is an operation device in the first embodiment. 第1の実施例において、運用装置である内部ネットワーク中継装置300aで障害が発生した場合の外部ネットワーク中継装置200cのリンクアグリゲーションの設定内容を示す説明図である。FIG. 10 is an explanatory diagram illustrating the setting contents of link aggregation of the external network relay device 200c when a failure occurs in the internal network relay device 300a that is an operation device in the first embodiment. 第1の実施例において、運用装置である内部ネットワーク中継装置300aで障害が発生し、既定外インタフェース受信処理実施後の回線状態情報334の内容を示す説明図である。FIG. 10 is an explanatory diagram showing the contents of line state information 334 after a failure occurs in the internal network relay device 300a, which is an operation device, in the first example and the non-default interface reception processing is performed. 第1の実施例において、ネットワークインタフェース32a、21b間の回線で障害が発生した場合の内部ネットワーク中継装置の動作を説明するための説明図である。FIG. 6 is an explanatory diagram for explaining the operation of the internal network relay device when a failure occurs in a line between network interfaces 32a and 21b in the first embodiment. 第1の実施例の変形例2における外部ネットワーク中継装置200aのリンクアグリゲーションの設定内容を示す説明図である。It is explanatory drawing which shows the setting content of the link aggregation of the external network relay apparatus 200a in the modification 2 of a 1st Example. 第1の実施例の変形例2における外部ネットワーク中継装置200bのリンクアグリゲーションの設定内容を示す説明図である。It is explanatory drawing which shows the setting content of the link aggregation of the external network relay apparatus 200b in the modification 2 of a 1st Example. 第1の実施例の変形例2における外部ネットワーク中継装置200cのリンクアグリゲーションの設定内容を示す説明図である。It is explanatory drawing which shows the setting content of the link aggregation of the external network relay apparatus 200c in the modification 2 of a 1st Example. 第1の実施例の変形例2における内部ネットワーク中継装置300aの受信インタフェース判定情報の設定内容を示す説明図である。It is explanatory drawing which shows the setting content of the reception interface determination information of the internal network relay apparatus 300a in the modification 2 of a 1st Example. 第1の実施例の変形例2における内部ネットワーク中継装置300bの受信インタフェース判定情報の設定内容を示す説明図である。It is explanatory drawing which shows the setting content of the reception interface determination information of the internal network relay apparatus 300b in the modification 2 of a 1st Example.

以上説明した本発明の構成および作用を一層明らかにするために、以下本発明を適用したコンピュータネットワークについて以下の順序で説明する。
実施例1:
A1.ネットワーク構成:
A2.外部ネットワーク中継装置のリンクアグリゲーション設定内容:
A3.内部ネットワーク中継装置の内部構造:
A4.内部ネットワーク中継装置の動作:
A4−1.受信インタフェース判定情報:
A4−2.受信インタフェース判定処理:
A4−3.リンクアグリゲーションを構成する回線の状態管理:
A4−4.ネットワークインタフェース状態変更検知時の処理:
A4−5.内部ネットワーク中継装置障害検知処理:
A4−6.内部ネットワーク中継装置障害確認処理:
A5.データフレーム転送時の動作
B1.第1の実施例における変形例1:
B2.第1の実施例における変形例2
In order to further clarify the configuration and operation of the present invention described above, a computer network to which the present invention is applied will be described in the following order.
Example 1:
A1. Network configuration:
A2. Link aggregation settings for external network relay device:
A3. Internal structure of internal network relay device:
A4. Operation of internal network relay device:
A4-1. Reception interface judgment information:
A4-2. Reception interface judgment processing:
A4-3. Status management of the lines constituting the link aggregation:
A4-4. Processing when network interface status change is detected:
A4-5. Internal network relay device failure detection processing:
A4-6. Internal network relay device failure confirmation processing:
A5. Operation during data frame transfer B1. Modification 1 in the first embodiment 1:
B2. Modification 2 in the first embodiment

A1.ネットワーク構成:
本発明の第1のデータ通信システムを適用した実施例を図1から図20を用いて説明する。
図1は、コンピュータネットワーク10の構成を示す説明図である。コンピュータネットワーク10は、複数の外部ネットワーク400と、ネットワーク中継システム30とを備え、ネットワーク中継システム30は、複数の外部ネットワーク400を相互に接続する。
本実施例では、ネットワーク中継システム30によって、相互に接続される外部ネットワーク400の数は、三つであるが、他の実施形態において、二つであっても良いし、四つ以上であっても良い。本実施例の説明では、外部ネットワーク中継装置を一般的に示す場合には、「400」の符号を用い、特定の外部ネットワーク中継装置を示す場合には、「400」の後に英文字を付した符号を用いる。図1では、三つの外部ネットワークを例示し、それぞれに「400a」、「400b」、および「400c」の符号を用いる。
A1. Network configuration:
An embodiment to which the first data communication system of the present invention is applied will be described with reference to FIGS.
FIG. 1 is an explanatory diagram showing the configuration of the computer network 10. The computer network 10 includes a plurality of external networks 400 and a network relay system 30, and the network relay system 30 connects the plurality of external networks 400 to each other.
In the present embodiment, the number of external networks 400 connected to each other by the network relay system 30 is three. However, in other embodiments, the number may be two, or four or more. Also good. In the description of the present embodiment, the symbol “400” is used to generally indicate an external network relay device, and an English letter is appended after “400” to indicate a specific external network relay device. A sign is used. In FIG. 1, three external networks are illustrated, and the symbols “400a”, “400b”, and “400c” are used for each.

複数の外部ネットワーク400のそれぞれは、ネットワーク中継システム30に対してデータフレームを中継する外部ネットワーク中継装置200を備える。本実施例での外部ネットワーク中継装置200は、OSI(Open System Interconnection)参照モデルにおけるネットワーク層のプロトコルであるIP(Internet Protocol)、またはOSI参照モデルにおけるデータリンク層のプロトコルであるイーサネット(登録商標)に準拠した転送方式を実現するレイヤ3スイッチやルータとも呼ばれるネットワーク中継装置である。   Each of the plurality of external networks 400 includes an external network relay device 200 that relays a data frame to the network relay system 30. The external network relay device 200 in this embodiment is an IP (Internet Protocol) that is a network layer protocol in the OSI (Open System Interconnection) reference model, or Ethernet (registered trademark) that is a data link layer protocol in the OSI reference model. It is a network relay device also called a layer 3 switch or a router that realizes a transfer method compliant with the above.

本実施例の説明では、外部ネットワーク中継装置を一般的に示す場合には、「200」の符号を用い、特定の外部ネットワーク中継装置には、「200」の後に、その外部ネットワーク中継装置が所属する外部ネットワークと同じ英文字を付した符号を用いる。図1の例では、外部ネットワーク400aは、外部ネットワーク中継装置200aを備え、外部ネットワーク400bは、外部ネットワーク中継装置200bを備え、外部ネットワーク400cは、外部ネットワーク中継装置200cを備える。
外部ネットワーク中継装置200は、IPまたはイーサネット(登録商標)に準拠してデータフレームをやり取りするネットワークインタフェースを備える。本実施例では、一例として、外部ネットワーク中継装置200aは、二つのネットワークインタフェース21a、22aを備え、外部ネットワーク中継装置200bは、二つのネットワークインタフェース21b、22bを備え、外部ネットワーク中継装置200cは、二つのネットワークインタフェース21c、22cを備える。
In the description of the present embodiment, when the external network relay device is generally indicated, the symbol “200” is used, and the specific external network relay device belongs to the external network relay device after “200”. The code with the same alphabetic characters as the external network is used. In the example of FIG. 1, the external network 400a includes an external network relay device 200a, the external network 400b includes an external network relay device 200b, and the external network 400c includes an external network relay device 200c.
The external network relay device 200 includes a network interface that exchanges data frames in accordance with IP or Ethernet (registered trademark). In this embodiment, as an example, the external network relay device 200a includes two network interfaces 21a and 22a, the external network relay device 200b includes two network interfaces 21b and 22b, and the external network relay device 200c includes two network interfaces 21a and 22b. Two network interfaces 21c and 22c are provided.

外部ネットワーク400は、種々の演算処理を実行する端末装置600を備える。本実施例の説明では、外部ネットワーク400に所属する端末装置を一般的に示す場合には、「600」の符号を用い、特定の端末装置を示す場合には、「600」の後に英文字を付した符号を用いる。図1では、外部ネットワーク400aは二つの端末装置600a、600dを備え、外部ネットワーク400bは二つの端末装置600b、600eを備え、外部ネットワーク400cは二つの端末装置600c、600fを備える。
ネットワーク中継システム30は、複数の外部ネットワーク中継装置200との間でやり取りされるデータフレームを中継する内部ネットワークを構築する複数の中継部として複数の内部ネットワーク中継装置300を備える。本実施例では、内部ネットワーク中継装置300は、IPまたはイーサネット(登録商標)に準拠した転送方式を実現するレイヤ3スイッチやルータとも呼ばれるネットワーク中継装置である。
The external network 400 includes a terminal device 600 that executes various arithmetic processes. In the description of the present embodiment, a symbol “600” is used to generally indicate a terminal device belonging to the external network 400, and an English character is used after “600” to indicate a specific terminal device. The attached code is used. In FIG. 1, the external network 400a includes two terminal devices 600a and 600d, the external network 400b includes two terminal devices 600b and 600e, and the external network 400c includes two terminal devices 600c and 600f.
The network relay system 30 includes a plurality of internal network relay devices 300 as a plurality of relay units that construct an internal network that relays data frames exchanged with a plurality of external network relay devices 200. In this embodiment, the internal network relay device 300 is a network relay device also called a layer 3 switch or a router that realizes a transfer method compliant with IP or Ethernet (registered trademark).

本実施例では、複数の内部ネットワーク中継装置300のそれぞれは、個別に独立したネットワーク中継装置であり、ネットワーク中継システム30は、複数の内部ネットワーク中継装置300が協働することによって仮想的な単一のネットワーク中継装置(仮想ネットワーク中継装置)として機能する。他の実施形態において、複数の内部ネットワーク中継装置300のそれぞれを部品として一つの筐体に納めた単一のネットワーク中継装置としてネットワーク中継システム30を構成しても良い。本実施例の説明では、内部ネットワーク中継装置を一般的に示す場合には、「300」の符号を用い、特定の内部ネットワーク中継装置を示す場合には、「300」の後に英文字を付した符号を用いる。図1では、二つの内部ネットワーク中継装置を例示し、それぞれに「300a」、「300b」の符号を用いる。   In the present embodiment, each of the plurality of internal network relay devices 300 is an individually independent network relay device, and the network relay system 30 is a virtual single unit by the cooperation of the plurality of internal network relay devices 300. Functions as a network relay device (virtual network relay device). In another embodiment, the network relay system 30 may be configured as a single network relay device in which each of the plurality of internal network relay devices 300 is housed in a single housing as a component. In the description of this embodiment, the symbol “300” is used to indicate an internal network relay device in general, and an English letter is added after “300” to indicate a specific internal network relay device. A sign is used. In FIG. 1, two internal network relay devices are illustrated, and the codes “300a” and “300b” are used for each.

内部ネットワーク中継装置300は、IPまたはイーサネット(登録商標)に準拠したデータフレームをやり取りするネットワークインタフェースを備える。図1の例では内部ネットワーク中継装置300aは、四つのネットワークインタフェース31a、32a、33a、34aを備え、内部ネットワーク中継装置300bは、四つのネットワークインタフェース31b、32b、33b、34bを備える。本実施例の説明では、内部ネットワーク中継装置300の四つのネットワークインタフェースを一般的に示す場合には、「31」、「32」、「33」、「34」の符号を用い、特定のネットワークインタフェースを示す場合には、その内部ネットワーク中継装置300の符号に付された英文字を数字の後に付した符号を用いる。
内部ネットワーク中継装置300aと内部ネットワーク中継装置300bとは、ネットワークインタフェース34a、およびネットワークインタフェース34bによって接続されている。
The internal network relay device 300 includes a network interface that exchanges data frames conforming to IP or Ethernet (registered trademark). In the example of FIG. 1, the internal network relay device 300a includes four network interfaces 31a, 32a, 33a, and 34a, and the internal network relay device 300b includes four network interfaces 31b, 32b, 33b, and 34b. In the description of the present embodiment, when the four network interfaces of the internal network relay device 300 are generally indicated, the symbols “31”, “32”, “33”, and “34” are used, and a specific network interface is used. Is used, a code in which an alphabetic character added to the code of the internal network relay device 300 is added after the number is used.
The internal network relay device 300a and the internal network relay device 300b are connected by a network interface 34a and a network interface 34b.

外部ネットワーク中継装置200aと内部ネットワーク中継装置300aとは、ネットワークインタフェース21a、31aによって接続されている。外部ネットワーク中継装置200aと内部ネットワーク中継装置300bとは、ネットワークインタフェース22a、31bによって接続されている。ネットワークインタフェース21a、31a、およびネットワークインタフェース22a、31bによる二つの接続回線は、仮想的な単一のネットワークインタフェースとしてリンクアグリゲーション50aを構成する。
外部ネットワーク中継装置200bと内部ネットワーク中継装置300aとは、ネットワークインタフェース21b、32aによって接続されている。外部ネットワーク中継装置200bと内部ネットワーク中継装置300bとは、ネットワークインタフェース22b、32bによって接続されている。ネットワークインタフェース21b、32a、およびネットワークインタフェース22b、32bによる二つの接続回線は、仮想的な単一のネットワークインタフェースとしてリンクアグリゲーション50bを構成する。
外部ネットワーク中継装置200cと内部ネットワーク中継装置300aとは、ネットワークインタフェース21c、33aによって接続されている。外部ネットワーク中継装置200cと内部ネットワーク中継装置300bとは、ネットワークインタフェース22c、33bによって接続されている。ネットワークインタフェース21c、33a、およびネットワークインタフェース22c、33bによる二つの接続回線は、仮想的な単一のネットワークインタフェースとしてリンクアグリゲーション50cを構成する。
The external network relay device 200a and the internal network relay device 300a are connected by network interfaces 21a and 31a. The external network relay device 200a and the internal network relay device 300b are connected by network interfaces 22a and 31b. The two connection lines by the network interfaces 21a and 31a and the network interfaces 22a and 31b constitute a link aggregation 50a as a virtual single network interface.
The external network relay device 200b and the internal network relay device 300a are connected by network interfaces 21b and 32a. The external network relay device 200b and the internal network relay device 300b are connected by network interfaces 22b and 32b. The two connection lines formed by the network interfaces 21b and 32a and the network interfaces 22b and 32b constitute a link aggregation 50b as a virtual single network interface.
The external network relay device 200c and the internal network relay device 300a are connected by network interfaces 21c and 33a. The external network relay device 200c and the internal network relay device 300b are connected by network interfaces 22c and 33b. The two connection lines by the network interfaces 21c and 33a and the network interfaces 22c and 33b constitute a link aggregation 50c as a virtual single network interface.

本実施例の説明では、内部ネットワーク中継装置300とネットワーク中継システム30間で構成する三つのリンクアグリゲーションを一般的に示す場合には、「50」の符号を用い、特定のリンクアグリゲーションを示す場合には、その外部ネットワーク中継装置200の符号に付された英文字を数字の後に付した符号を用いる。
なお、リンクアグリゲーション以外にも、フローベースの適宜の負荷分散技術を用いてもよい。
In the description of the present embodiment, when three link aggregations configured between the internal network relay device 300 and the network relay system 30 are generally indicated, a symbol “50” is used to indicate a specific link aggregation. Uses a code in which an alphabetic character added to the code of the external network relay device 200 is appended to the number.
In addition to link aggregation, an appropriate flow-based load distribution technique may be used.

A2.外部ネットワーク中継装置のリンクアグリゲーション設定内容:
図2、図3、図4は、外部ネットワーク中継装置200におけるリンクアグリゲーション50の設定内容を示す説明図である。
図2は、外部ネットワーク中継装置200aがリンクアグリゲーション50aからデータフレームを送信する場合に使用するテーブル(リンクアグリゲーションテーブル及びリンクアグリゲーション構成テーブル)の説明図である。
図2のリンクアグリゲーションテーブルの第1列には、「リンクアグリゲーション」としてリンクアグリゲーションを特定する符号(識別情報、以下同じ)を示している。図2のリンクアグリゲーションテーブルの第2列には「冗長回線数」として第1列に示すリンクアグリゲーションを構成するネットワークインタフェースの数を示している。図2のリンクアグリゲーションテーブルの第3列には、「フロー識別子候補」として、第1列に示すリンクアグリゲーションからフレームを送信する場合に使用するフロー識別子の候補を示している。図2のリンクアグリゲーションテーブルの第4列には「使用/未使用」として、第3列に示すフロー識別子の候補のうち、フロー識別子として使用するか、使用しないかを示している。
図2のリンクアグリゲーション構成テーブルの第1列には、「リンクアグリゲーション」としてリンクアグリゲーションを特定する符号を示している。図2のリンクアグリゲーション構成テーブルの第2列には、「回線内部番号」として第1列に示すリンクアグリゲーションを構成するネットワークインタフェースを、第1列に示すリンクアグリゲーション内で識別するための内部番号を示している。図2のリンクアグリゲーション構成テーブルの第3列には、「ネットワークインタフェース」として第1列に示すリンクアグリゲーションを構成するネットワークインタフェースを特定する符号を示している。
A2. Link aggregation settings for external network relay device:
2, 3, and 4 are explanatory diagrams illustrating setting contents of the link aggregation 50 in the external network relay device 200.
FIG. 2 is an explanatory diagram of tables (a link aggregation table and a link aggregation configuration table) used when the external network relay device 200a transmits a data frame from the link aggregation 50a.
In the first column of the link aggregation table in FIG. 2, a code (identification information, the same applies hereinafter) that identifies link aggregation as “link aggregation” is shown. The second column of the link aggregation table of FIG. 2 shows the number of network interfaces constituting the link aggregation shown in the first column as “number of redundant lines”. In the third column of the link aggregation table of FIG. 2, candidate flow identifiers used when transmitting frames from the link aggregation shown in the first column are shown as “flow identifier candidates”. In the fourth column of the link aggregation table of FIG. 2, “used / unused” is shown as a flow identifier among the flow identifier candidates shown in the third column, or not used.
In the first column of the link aggregation configuration table in FIG. 2, codes for specifying link aggregation as “link aggregation” are shown. In the second column of the link aggregation configuration table of FIG. 2, an internal number for identifying the network interface constituting the link aggregation shown in the first column as the “line internal number” in the link aggregation shown in the first column. Show. In the third column of the link aggregation configuration table in FIG. 2, codes that identify the network interfaces configuring the link aggregation shown in the first column as “network interfaces” are shown.

図3は、外部ネットワーク中継装置200bがリンクアグリゲーション50bからフレームを送信する場合に使用するテーブルの説明図である。
図3のリンクアグリゲーションテーブルの第1列には、「リンクアグリゲーション」としてリンクアグリゲーションを特定する符号を示している。図3のリンクアグリゲーションテーブルの第2列には「冗長回線数」として第1列に示すリンクアグリゲーションを構成するネットワークインタフェースの数を示している。図3のリンクアグリゲーションテーブルの第3列には、「フロー識別子候補」として、第1列に示すリンクアグリゲーションからフレームを送信する場合に使用するフロー識別子の候補を示している。図3のリンクアグリゲーションテーブルの第4列には「使用/未使用」として、第3列に示すフロー識別子の候補のうち、フロー識別子として使用するか、使用しないかを示している。
図3のリンクアグリゲーション構成テーブルの第1列には、「リンクアグリゲーション」としてリンクアグリゲーションを特定する符号を示している。図3のリンクアグリゲーション構成テーブルの第2列には、「回線内部番号」として第1列に示すリンクアグリゲーションを構成するネットワークインタフェースを、第1列に示すリンクアグリゲーション内で識別するための内部番号を示している。図3のリンクアグリゲーション構成テーブルの第2列には、「ネットワークインタフェース」として第1列に示すリンクアグリゲーションを構成するネットワークインタフェースを特定する符号を示している。
FIG. 3 is an explanatory diagram of a table used when the external network relay device 200b transmits a frame from the link aggregation 50b.
In the first column of the link aggregation table in FIG. 3, codes that identify the link aggregation as “link aggregation” are shown. The second column of the link aggregation table in FIG. 3 shows the number of network interfaces constituting the link aggregation shown in the first column as “number of redundant lines”. In the third column of the link aggregation table of FIG. 3, candidate flow identifiers used when transmitting frames from the link aggregation shown in the first column are shown as “flow identifier candidates”. In the fourth column of the link aggregation table of FIG. 3, “used / unused” is shown as a flow identifier among the flow identifier candidates shown in the third column, or not used.
In the first column of the link aggregation configuration table in FIG. 3, codes for specifying link aggregation as “link aggregation” are shown. In the second column of the link aggregation configuration table of FIG. 3, an internal number for identifying the network interface constituting the link aggregation shown in the first column as the “line internal number” in the link aggregation shown in the first column. Show. In the second column of the link aggregation configuration table in FIG. 3, codes that identify the network interfaces constituting the link aggregation shown in the first column as “network interfaces” are shown.

図4は、外部ネットワーク中継装置200cがリンクアグリゲーション50cからフレームを送信する場合に使用するテーブルの説明図である。
図4のリンクアグリゲーションテーブルの第1列には、「リンクアグリゲーション」としてリンクアグリゲーションを特定する符号を示している。図4のリンクアグリゲーションテーブルの第2列には「冗長回線数」として第1列に示すリンクアグリゲーションを構成するネットワークインタフェースの数を示している。図4のリンクアグリゲーションテーブルの第3列には、「フロー識別子候補」として、第1列に示すリンクアグリゲーションからフレームを送信する場合に使用するフロー識別子の候補を示している。図4のリンクアグリゲーションテーブルの第4列には「使用/未使用」として、第3列に示すフロー識別子の候補のうち、フロー識別子として使用するか、使用しないかを示している。
FIG. 4 is an explanatory diagram of a table used when the external network relay device 200c transmits a frame from the link aggregation 50c.
In the first column of the link aggregation table in FIG. 4, codes that identify link aggregation as “link aggregation” are shown. The second column of the link aggregation table in FIG. 4 shows the number of network interfaces constituting the link aggregation shown in the first column as “number of redundant lines”. The third column of the link aggregation table of FIG. 4 shows the flow identifier candidates used when transmitting frames from the link aggregation shown in the first column as “flow identifier candidates”. In the fourth column of the link aggregation table of FIG. 4, “used / unused” is shown as a flow identifier among the flow identifier candidates shown in the third column, or not used.

図4のリンクアグリゲーション構成テーブルの第1列には、「リンクアグリゲーション」としてリンクアグリゲーションを特定する符号を示している。図4のリンクアグリゲーション構成テーブルの第2列には、「回線内部番号」として第1列に示すリンクアグリゲーションを構成するネットワークインタフェースを、第1列に示すリンクアグリゲーション内で識別するための内部番号を示している。図4のリンクアグリゲーション構成テーブルの第2列には、「ネットワークインタフェース」として第1列に示すリンクアグリゲーションを構成するネットワークインタフェースを特定する符号を示している。
なお、本実施例では、リンクアグリゲーション構成テーブルのフロー識別子としてMACアドレス、EtherType、VLAN番号、IPアドレス、ポート番号、VPN番号を使用しているが、他の実施形態において、他のフロー識別子を用いてもよい。また、MACアドレスや、IPアドレスは、宛先、送信元でフロー識別子を分けて選択可能としてもよい。
In the first column of the link aggregation configuration table in FIG. 4, codes for specifying link aggregation as “link aggregation” are shown. In the second column of the link aggregation configuration table of FIG. 4, an internal number for identifying the network interface constituting the link aggregation shown in the first column as the “line internal number” in the link aggregation shown in the first column. Show. In the second column of the link aggregation configuration table in FIG. 4, codes that identify the network interfaces constituting the link aggregation shown in the first column as “network interfaces” are shown.
In this embodiment, the MAC address, EtherType, VLAN number, IP address, port number, and VPN number are used as the flow identifier in the link aggregation configuration table. However, in other embodiments, other flow identifiers are used. May be. Also, the MAC address and IP address may be selectable by dividing the flow identifier by destination and transmission source.

A3.内部ネットワーク中継装置の内部構造:
図5は、内部ネットワーク中継装置300の構成を示す説明図である。なお、一般的なネットワーク中継装置が備える構成、機能については、本実施例では説明を省略する。
内部ネットワーク中継装置300は、制御部310と、転送部340と、ネットワークインタフェース390とを備える。内部ネットワーク中継装置300の制御部310は、転送部340およびネットワークインタフェース390の動作を制御する。
制御部310は、CPU(Central Processing Unit、処理部)320と、記憶部330とを備える。制御部310のCPU320は、記憶部330に記憶されている制御プログラム331に基づいて種々の処理を実行する。本実施例で、CPU320は、リンクアグリゲーションなどの冗長化機能に基づく処理や、仮想ネットワーク中継装置を構築するための制御に基づく処理などを実行する。また、CPU320では、ネットワークインタフェース390から受信したデータフレームが既定のインタフェースから受信されたかを判定するための情報である受信インタフェース判定情報351を転送部340に設定する受信判定制御部321と、他の内部ネットワーク中継装置300の状態を確認する障害確認制御部322が動作する。受信判定制御部321と、障害確認制御部322の動作詳細については後述する。
制御部310の記憶部330には、制御プログラム331の他、転送部340およびネットワークインタフェース390を管理するための種々の情報である管理情報332と、ネットワーク中継システム30の管理者によって設定される種々の情報である設定情報333と、ネットワーク中継システム30と外部ネットワーク中継装置との間で接続されているリンクアグリゲーションなどの冗長機能を構成する回線の状態を記憶する回線状態情報334が記憶されている。回線状態情報334の詳細は後述する。
A3. Internal structure of internal network relay device:
FIG. 5 is an explanatory diagram showing the configuration of the internal network relay device 300. The configuration and functions of a general network relay device are not described in the present embodiment.
The internal network relay device 300 includes a control unit 310, a transfer unit 340, and a network interface 390. The control unit 310 of the internal network relay device 300 controls operations of the transfer unit 340 and the network interface 390.
The control unit 310 includes a CPU (Central Processing Unit) 320 and a storage unit 330. The CPU 320 of the control unit 310 executes various processes based on the control program 331 stored in the storage unit 330. In this embodiment, the CPU 320 executes processing based on a redundancy function such as link aggregation, processing based on control for constructing a virtual network relay device, and the like. The CPU 320 also includes a reception determination control unit 321 that sets the reception interface determination information 351 that is information for determining whether the data frame received from the network interface 390 is received from the default interface, to the transfer unit 340; A failure confirmation control unit 322 for confirming the state of the internal network relay device 300 operates. Details of operations of the reception determination control unit 321 and the failure confirmation control unit 322 will be described later.
In the storage unit 330 of the control unit 310, in addition to the control program 331, management information 332 that is various information for managing the transfer unit 340 and the network interface 390, and various types set by the administrator of the network relay system 30 Setting information 333, and line state information 334 for storing a state of a line constituting a redundant function such as link aggregation connected between the network relay system 30 and the external network relay device is stored. . Details of the line status information 334 will be described later.

転送部340の記憶部350は、制御部310のCPU320で動作する受信判定制御部321によって設定された受信インタフェース判定情報351を備える。記憶部350に記憶されているテーブルの詳細については後述する。
転送部340の処理部360は、受信インタフェース判定部361を備える。受信インタフェース判定部361は、ネットワークインタフェース390で受信したデータフレームに含まれるフロー識別子と、転送部340の記憶部350に記憶されている受信インタフェース判定情報351に基づいて、外部ネットワーク中継装置200が予め定められた振分け方法に従って振分けられたデータフレームであるかを判定する。言い換えると、データフレームが予め定められたインタフェースから受信したかを判定する。既定のインタフェース以外から受信した場合、制御部310にデータフレームを受信したネットワークインタフェースの情報と、および受信したデータフレーム、または受信したデータフレーム内のフロー識別子を通知する受信インタフェース判定部361を備える。受信インタフェース判定部361の動作詳細については後述する。
ネットワークインタフェース390は、本実施例においては、イーサネット(登録商標)規格に準拠したツイストペアケーブル、または光ファイバなどを接続するためのインタフェースである。これら以外の適宜のインタフェースでもよい。
The storage unit 350 of the transfer unit 340 includes reception interface determination information 351 set by the reception determination control unit 321 operating by the CPU 320 of the control unit 310. Details of the table stored in the storage unit 350 will be described later.
The processing unit 360 of the transfer unit 340 includes a reception interface determination unit 361. Based on the flow identifier included in the data frame received by the network interface 390 and the reception interface determination information 351 stored in the storage unit 350 of the transfer unit 340, the reception interface determination unit 361 determines whether the external network relay device 200 has It is determined whether the data frame is distributed according to a predetermined distribution method. In other words, it is determined whether a data frame is received from a predetermined interface. When receiving from other than the default interface, the control unit 310 includes a reception interface determination unit 361 that notifies the information of the network interface that has received the data frame and the received data frame or the flow identifier in the received data frame. Details of the operation of the reception interface determination unit 361 will be described later.
In this embodiment, the network interface 390 is an interface for connecting a twisted pair cable, an optical fiber, or the like conforming to the Ethernet (registered trademark) standard. Other appropriate interfaces may be used.

A4.内部ネットワーク中継装置の動作
A4−1.受信インタフェース判定情報
図7、図8は、内部ネットワーク中継装置300における受信インタフェース判定情報351の設定内容を示す説明図である。インタフェース判定情報351は、受信判定用リンクアグリゲーションテーブルと、受信判定用リンクアグリゲーション構成テーブルを含む。
本実施例の説明では、受信インタフェース判定情報を一般的に示す場合には、「351」の符号を用い、特定の受信インタフェース判定情報を示す場合には、「351」の後に、対象の受信インタフェース判定情報を備える内部ネットワーク中継装置300と同じ英文字を付した符号を用いる。また、本実施例では、受信インタフェース判定情報351は、ネットワーク中継システム30とリンクアグリゲーションなどの冗長機能によって接続している外部ネットワーク中継装置200のリンクアグリゲーション50の設定内容(図2、図3、図4)に従い、例えば、ネットワーク管理者によりネットワーク中継システム30に管理情報332として設定され、制御部310の受信判定制御部321によって、転送部340の受信インタフェース判定情報351に設定される。なお、ネットワーク中継システム30は、例えば、外部ネットワーク中継装置200から自動でリンクアグリゲーションの設定内容を受信するようにしてもよい。また、ネットワーク中継システム30の内部ネットワーク中継装置300や、外部ネットワーク中継装置200が、ネットワーク監視者が操作する管理端末から設定情報を入力し、他の装置に転送するようにしてもよい。
A4. Operation of internal network relay device A4-1. Reception Interface Determination Information FIGS. 7 and 8 are explanatory diagrams showing the setting contents of the reception interface determination information 351 in the internal network relay device 300. The interface determination information 351 includes a reception determination link aggregation table and a reception determination link aggregation configuration table.
In the description of the present embodiment, when the reception interface determination information is generally indicated, the reference numeral “351” is used, and when specific reception interface determination information is indicated, the target reception interface is indicated after “351”. The code | symbol which attached | subjected the same English character as the internal network relay apparatus 300 provided with determination information is used. Further, in this embodiment, the reception interface determination information 351 is set contents of the link aggregation 50 of the external network relay device 200 connected to the network relay system 30 by a redundant function such as link aggregation (FIGS. 2, 3, and 5). 4), for example, it is set as management information 332 in the network relay system 30 by the network administrator, and is set in the reception interface determination information 351 of the transfer unit 340 by the reception determination control unit 321 of the control unit 310. Note that the network relay system 30 may automatically receive link aggregation setting content from the external network relay device 200, for example. Further, the internal network relay device 300 or the external network relay device 200 of the network relay system 30 may input setting information from a management terminal operated by a network supervisor and transfer the setting information to another device.

図7は、内部ネットワーク中継装置300aの受信インタフェース判定情報351aの説明図である。
図7の受信判定用リンクアグリゲーションテーブルの第1列には、「リンクアグリゲーション」としてリンクアグリゲーションを特定する符号を示している。図7の受信判定用リンクアグリゲーションテーブルの第2列には「冗長回線数」として第1列に示すリンクアグリゲーションを構成するネットワークインタフェースの数を示している。図7の受信判定用リンクアグリゲーションテーブルの第3列には、「フロー識別子候補」として、第1列に示すリンクアグリゲーションからフレームを受信した場合に使用するフロー識別子の候補を示している。図7の受信判定用リンクアグリゲーションテーブルの第4列には「使用/未使用」として、第3列に示すフロー識別子の候補のうち、フロー識別子として使用するか、使用しないかを示している。記憶される各情報は、内部ネットワーク中継装置300aに接続される外部ネットワーク中継装置200のリンクアグリゲーションテーブルの各情報に対応する。
FIG. 7 is an explanatory diagram of the reception interface determination information 351a of the internal network relay device 300a.
In the first column of the reception determination link aggregation table in FIG. 7, codes for specifying link aggregation as “link aggregation” are shown. The second column of the reception determination link aggregation table of FIG. 7 shows the number of network interfaces constituting the link aggregation shown in the first column as “number of redundant lines”. The third column of the reception determination link aggregation table of FIG. 7 shows a flow identifier candidate used when a frame is received from the link aggregation shown in the first column as “flow identifier candidate”. In the fourth column of the reception determination link aggregation table of FIG. 7, “used / unused” is indicated as a flow identifier among the flow identifier candidates shown in the third column, or not used. Each piece of stored information corresponds to each piece of information in the link aggregation table of the external network relay device 200 connected to the internal network relay device 300a.

図7の受信判定用リンクアグリゲーション構成テーブルの第1列には、「ネットワークインタフェース」として、リンクアグリゲーションを構成するネットワークインタフェースの内、内部ネットワーク中継装置300aに属すネットワークインタフェースを特定する符号を示している。図7の受信判定用リンクアグリゲーション構成テーブルの第2列には、「リンクアグリゲーション」として第1列に示すネットワークインタフェースが属すリンクアグリゲーションを特定する符号を示している。図7の受信判定用リンクアグリゲーション構成テーブルの第3列には、「回線内部番号」として第1列に示すネットワークインタフェースの回線内部番号を示している。受信判定用リンクアグリゲーション構成テーブルの第3列である回線内部番号は、第1列のネットワークインタフェースと接続している外部ネットワーク中継装置200のネットワークインタフェース21の回線内部番号と同一値を設定する。   The first column of the reception determination link aggregation configuration table in FIG. 7 shows, as “network interface”, a code that identifies a network interface belonging to the internal network relay device 300a among the network interfaces configuring the link aggregation. . In the second column of the reception determination link aggregation configuration table of FIG. 7, codes for specifying the link aggregation to which the network interface shown in the first column belongs as “link aggregation” are shown. The third column of the reception determination link aggregation configuration table of FIG. 7 shows the line internal numbers of the network interfaces shown in the first column as “line internal numbers”. The line internal number, which is the third column of the reception determination link aggregation configuration table, is set to the same value as the line internal number of the network interface 21 of the external network relay device 200 connected to the network interface of the first column.

図8は、内部ネットワーク中継装置300bの受信インタフェース判定情報351bの説明図である。構成は、受信インタフェース判定情報351aと同様であり、設定される内容が異なる。
図8の受信判定用リンクアグリゲーションテーブルの第1列には、「リンクアグリゲーション」としてリンクアグリゲーションを特定する符号を示している。図8の受信判定用リンクアグリゲーションテーブルの第2列には「冗長回線数」として第1列に示すリンクアグリゲーションを構成するネットワークインタフェースの数を示している。図8の受信判定用リンクアグリゲーションテーブルの第3列には、「フロー識別子候補」として、第1列に示すリンクアグリゲーションからフレームを受信した場合に使用するフロー識別子の候補を示している。図8の受信判定用リンクアグリゲーションテーブルの第4列には「使用/未使用」として、第3列に示すフロー識別子の候補のうち、フロー識別子として使用するか、使用しないかを示している。
FIG. 8 is an explanatory diagram of the reception interface determination information 351b of the internal network relay device 300b. The configuration is the same as the reception interface determination information 351a, and the set contents are different.
In the first column of the reception determination link aggregation table in FIG. 8, codes for specifying link aggregation as “link aggregation” are shown. The second column of the reception determination link aggregation table of FIG. 8 shows the number of network interfaces constituting the link aggregation shown in the first column as “number of redundant lines”. The third column of the reception determination link aggregation table of FIG. 8 shows a flow identifier candidate used when a frame is received from the link aggregation shown in the first column as “flow identifier candidate”. In the fourth column of the reception determination link aggregation table of FIG. 8, “used / unused” is indicated as a flow identifier among the flow identifier candidates shown in the third column or not used.

図8の受信判定用リンクアグリゲーション構成テーブルの第1列には、「ネットワークインタフェース」として、リンクアグリゲーションを構成するネットワークインタフェースの内、内部ネットワーク中継装置300bに属すネットワークインタフェースを特定する符号を示している。図8の受信判定用リンクアグリゲーション構成テーブルの第2列には、「リンクアグリゲーション」として第1列に示すネットワークインタフェースが属すリンクアグリゲーションを特定する符号を示している。図8の受信判定用リンクアグリゲーション構成テーブルの第3列には、「回線内部番号」として第1列に示すネットワークインタフェースの回線内部番号を示している。受信判定用リンクアグリゲーション構成テーブルの第3列である回線内部番号は、第1列のネットワークインタフェースと接続している外部ネットワーク中継装置200のネットワークインタフェースの回線内部番号と同一値を設定する。
The first column of the reception determination link aggregation configuration table in FIG. 8 shows a code identifying a network interface belonging to the internal network relay device 300b among the network interfaces constituting the link aggregation as the “network interface”. . The second column of the reception determination link aggregation configuration table in FIG. 8 shows a code for identifying the link aggregation to which the network interface shown in the first column belongs as “link aggregation”. In the third column of the reception determination link aggregation configuration table of FIG. 8, the line internal numbers of the network interfaces shown in the first column are shown as “line internal numbers”. The line internal number, which is the third column of the reception determination link aggregation configuration table, is set to the same value as the line internal number of the network interface of the external network relay device 200 connected to the network interface in the first column.

A4−2.受信インタフェース判定処理
図6は、内部ネットワーク中継装置300の受信インタフェース判定部361が実行する受信インタフェース判定処理(ステップS100)を示すフローチャートである。受信インタフェース判定処理(ステップS100)は、ネットワークインタフェース390から受信したデータフレームが、既定のネットワークインタフェースから受信したかを判定する処理である。本実施例では、受信インタフェース判定処理(ステップS100)は、転送部340の受信インタフェース判定部361が電気回路構成に基づいて動作することによって実現されるが、他の実施形態において、少なくとも一部の機能をCPUがプログラムに基づいて動作することによって実現しても良い。
本実施例では、受信インタフェース判定部361は、ネットワークインタフェース390がデータフレームを受信すると、受信インタフェース判定処理(ステップ100)を開始する。
A4-2. Reception Interface Determination Process FIG. 6 is a flowchart showing the reception interface determination process (step S100) executed by the reception interface determination unit 361 of the internal network relay device 300. The reception interface determination process (step S100) is a process for determining whether a data frame received from the network interface 390 is received from a predetermined network interface. In this example, the reception interface determination process (step S100) is realized by the reception interface determination unit 361 of the transfer unit 340 operating based on the electric circuit configuration. The function may be realized by the CPU operating based on a program.
In the present embodiment, when the network interface 390 receives a data frame, the reception interface determination unit 361 starts a reception interface determination process (step 100).

内部ネットワーク中継装置300の受信インタフェース判定部361は、受信インタフェース判定処理(ステップS100)を開始すると、記憶部350に記憶された受信インタフェース判定情報351に基づいて、データフレームを受信したネットワークインタフェースの回線内部番号を割出す。使用する受信インタフェース判定情報の具体例を挙げると、内部ネットワーク中継装置300bのリンクアグリゲーション50bのネットワークインタフェース32bでデータフレームを受信した場合、図8の受信判定用リンクアグリゲーション構成テーブルからリンクアグリゲーション50bのネットワークインタフェース32bに関する情報を使用する。前記受信判定用リンクアグリゲーション構成テーブルからデータフレームを受信したネットワークインタフェース32bの回線内部番号「1」を割り出す(ステップS110)。次に、受信インタフェース判定部361は、記憶部350に記憶された受信インタフェース判定情報351から使用するフロー識別子を認識し、受信したデータフレームから使用するフロー識別子を抽出する。使用する受信インタフェース判定情報の具体例を挙げると、内部ネットワーク中継装置300bのリンクアグリゲーション50bでデータフレームを受信した場合、図8の受信判定用リンクアグリゲーションテーブルからリンクアグリゲーション50bに関する情報を使用する。前記受信判定用リンクアグリゲーションテーブルのリンクアグリゲーション識別情報と、使用/未使用情報とに従い、フロー識別子候補のうち使用するフロー識別子として「MACアドレス」、「VLAN番号」を使用することが判明する(ステップS120)。その後、受信インタフェース判定部361は、ステップS120で抽出したフロー識別子から回線内部番号を算出する。回線内部番号の算出には、図8の受信判定用リンクアグリゲーションテーブルの冗長回線数と、前記ステップS120でデータフレームから抽出したフロー識別子を用いる。具体的な回線内部番号の算出方法は図17を参照した後に説明する(ステップS130)。本実施例では、ステップS120で抽出した全てのフロー識別子を8bit単位に分割し、分割した全ての8bit単位のデータに対してXORを実施していき、最後にリンクアグリゲーションを構成する回線数で割った余りを、回線内部番号として算出する。外部ネットワーク中継装置200も同一の算出方法を使用しているものとする。なお、本実施例では、フロー識別子を8bit単位に分割したが、他の実施形態において、16bit単位でもよいし、32bit単位に分割してもよく、分割単位に制限されるわけではない。また、XOR演算に関しても他の演算を使用してもよい。   When the reception interface determination unit 361 of the internal network relay device 300 starts the reception interface determination process (step S100), the network interface line that has received the data frame based on the reception interface determination information 351 stored in the storage unit 350. Determine the internal number. As a specific example of the reception interface determination information to be used, when a data frame is received by the network interface 32b of the link aggregation 50b of the internal network relay device 300b, the network of the link aggregation 50b from the reception determination link aggregation configuration table of FIG. Information about the interface 32b is used. The line internal number “1” of the network interface 32b that has received the data frame is determined from the reception determination link aggregation configuration table (step S110). Next, the reception interface determination unit 361 recognizes the flow identifier to be used from the reception interface determination information 351 stored in the storage unit 350 and extracts the flow identifier to be used from the received data frame. As a specific example of the reception interface determination information to be used, when a data frame is received by the link aggregation 50b of the internal network relay device 300b, information regarding the link aggregation 50b is used from the reception determination link aggregation table of FIG. It is found that “MAC address” and “VLAN number” are used as the flow identifiers to be used among the flow identifier candidates according to the link aggregation identification information and the used / unused information in the link aggregation table for reception determination (step) S120). Thereafter, the reception interface determination unit 361 calculates a line internal number from the flow identifier extracted in step S120. For the calculation of the line internal number, the number of redundant lines in the reception determination link aggregation table of FIG. 8 and the flow identifier extracted from the data frame in step S120 are used. A specific method of calculating the line internal number will be described after referring to FIG. 17 (step S130). In this embodiment, all the flow identifiers extracted in step S120 are divided into 8-bit units, XOR is performed on all the divided 8-bit unit data, and finally, the number is divided by the number of lines constituting the link aggregation. The remainder is calculated as the line internal number. It is assumed that the external network relay device 200 uses the same calculation method. In this embodiment, the flow identifier is divided into 8-bit units. However, in other embodiments, the flow identifier may be divided into 16-bit units, or may be divided into 32-bit units, and is not limited to the divided units. Also, other operations may be used for the XOR operation.

次に、受信インタフェース判定部361は、ステップS110で割出した回線内部番号と、ステップS130で算出した回線内部番号を比較する(ステップS140)。
ステップS110で割出した回線内部番号と、ステップS130で算出した回線内部番号が不一致の場合(ステップS140:No)、受信インタフェース判定部361は、制御部310に、データフレームを受信したネットワークインタフェース識別子と、データフレーム、またはデータフレーム内のフロー識別子とを通知する(ステップS150、既定外インタフェース受信通知)。仮想ネットワーク中継装置が正常な場合、ステップS110で割出した回線内部番号と、ステップS130で算出した回線内部番号は一致する。例えば、仮想ネットワーク中継装置を構成する他の内部ネットワーク中継装置に障害が発生すると、外部ネットワーク中継装置は、障害が発生した内部ネットワーク中継装置をリンクアグリゲーションの対象から除外してデータフレームを振り分けるため、当初予定していたフローと異なるフローを受信することになる。従って、内部ネットワーク中継装置300では、ステップS110で割出した回線内部番号(外部ネットワーク装置が障害発生後に求めた回線内部番号に相当)と、ステップS130で算出した回線内部番号(内部ネットワーク装置が障害発生に関わらず求めた回線内部番号に相当)が一致しないデータフレームがでてくる。
一方、ステップS110で割出した回線内部番号と、ステップS130で算出した回線内部番号が一致する場合、受信インタフェース判定部361は本処理を終了する。
Next, the reception interface determination unit 361 compares the line internal number calculated in step S110 with the line internal number calculated in step S130 (step S140).
When the line internal number calculated in step S110 and the line internal number calculated in step S130 do not match (step S140: No), the reception interface determination unit 361 causes the control unit 310 to receive the network interface identifier that received the data frame. And a data frame or a flow identifier in the data frame (step S150, non-default interface reception notification). When the virtual network relay device is normal, the line internal number calculated in step S110 matches the line internal number calculated in step S130. For example, when a failure occurs in another internal network relay device that configures the virtual network relay device, the external network relay device excludes the internal network relay device in which the failure has occurred from the target of link aggregation, and distributes data frames. A flow different from the originally scheduled flow is received. Therefore, in the internal network relay device 300, the line internal number determined in step S110 (corresponding to the line internal number obtained after the failure occurred by the external network device) and the line internal number calculated in step S130 (the internal network device failed) Regardless of the occurrence, a data frame that does not match (corresponding to the calculated line internal number) appears.
On the other hand, if the line internal number determined in step S110 matches the line internal number calculated in step S130, the reception interface determination unit 361 ends this process.

A4−3.リンクアグリゲーションを構成する回線の状態管理
図9は、内部ネットワーク中継装置300における回線状態情報334の設定内容を示す説明図である。
本実施例の説明では、回線状態情報334を一般的に示す場合には、「334」の符号を用い、特定の回線状態情報を示す場合には、「334」の後に、対象の回線状態情報を備える内部ネットワーク中継装置300と同じ英文字を付した符号を用いる。
図9は、内部ネットワーク中継装置300aの回線状態情報334aと、内部ネットワーク中継装置300bの回線状態情報334bの説明図である。
図9の冗長回線情報334の第1列には、「内部ネットワーク中継装置」として、仮想ネットワーク中継装置を構成する内部ネットワーク中継装置を特定する符号を示している。冗長回線情報334の第2列には「ネットワークインタフェース」として第1列に示す内部ネットワーク中継装置に属すネットワークインタフェースを特定する符号を示している。冗長回線情報334の第3列には「監視対象」として第2列に示すネットワークインタフェースを、第1列に示す内部ネットワーク中継装置300の正常、異常を判断するための情報として使用するか否かを示している。第1列に示す内部ネットワーク中継装置300の正常、異常を判断する場合、「対象」として設定し、判断しない場合、「非対象」として設定する。例えば、自装置以外の内部ネットワーク中継装置300を監視対象としてもよい。冗長回線情報334の第4列には「リンクアグリゲーション」として第2列に示すネットワークインタフェースが属すリンクアグリゲーションを特定する符号を示している。冗長回線情報334の第5列には「状態」として第2列に示すネットワークインタフェースの状態を示し、通信可能な状態であれば「正常」と設定し、通信不可の状態であれば「異常」と設定する。
A4-3. FIG. 9 is an explanatory diagram showing the setting contents of the line state information 334 in the internal network relay device 300. FIG.
In the description of the present embodiment, when the line state information 334 is generally indicated, the symbol “334” is used, and when specific line state information is indicated, the target line state information is indicated after “334”. The code | symbol which attached | subjected the same English character as the internal network relay apparatus 300 provided with is used.
FIG. 9 is an explanatory diagram of the line state information 334a of the internal network relay device 300a and the line state information 334b of the internal network relay device 300b.
In the first column of the redundant line information 334 in FIG. 9, a code for identifying the internal network relay device constituting the virtual network relay device is shown as “internal network relay device”. The second column of the redundant line information 334 shows a code for identifying a network interface belonging to the internal network relay device shown in the first column as “network interface”. Whether to use the network interface shown in the second column as “monitoring target” in the third column of the redundant line information 334 as information for determining whether the internal network relay device 300 shown in the first column is normal or abnormal Is shown. When determining whether the internal network relay device 300 shown in the first column is normal or abnormal, it is set as “target”, and when it is not determined, it is set as “non-target”. For example, the internal network relay device 300 other than its own device may be monitored. The fourth column of the redundant line information 334 shows a code for identifying the link aggregation to which the network interface shown in the second column belongs as “link aggregation”. The 5th column of the redundant line information 334 indicates the status of the network interface shown in the 2nd column as “status”, and is set to “normal” if communication is possible, and “abnormal” if communication is not possible. And set.

A4−4.ネットワークインタフェース状態変更検知時の処理:
図10は、内部ネットワーク中継装置300のネットワークインタフェース390の状態が変更された場合に、受信判定制御部321が実行するネットワークインタフェース状態変更処理(ステップS200)を示すフローチャートである。
本実施例では、受信判定制御部321は、ネットワークインタフェース390の状態である通信可、通信不可が変更したことが判明すると、ネットワークインタフェース状態変更処理(ステップS200)を開始する。例えば、ネットワークインタフェース又は接続される回線に障害が発生した場合に、処理が開始される。
A4-4. Processing when network interface status change is detected:
FIG. 10 is a flowchart showing the network interface state change process (step S200) executed by the reception determination control unit 321 when the state of the network interface 390 of the internal network relay device 300 is changed.
In this embodiment, the reception determination control unit 321 starts the network interface state change process (step S200) when it is determined that the communication enabled / disabled state of the network interface 390 is changed. For example, when a failure occurs in a network interface or a connected line, processing is started.

内部ネットワーク中継装置300の受信判定制御部321は、ネットワークインタフェース状態変更処理(ステップS200)を開始すると、状態変更を検知したネットワークインタフェース390に対応する回線状態情報334の情報を変更する。変更する回線状態情報334の具体例を挙げると、内部ネットワーク中継装置300aのリンクアグリゲーション50bのネットワークインタフェース32aが通信不可の状態となった場合、図9の内部ネットワーク中継装置300aの回線状態情報334aにおけるネットワークインタフェース32aの状態を「異常」に変更する(ステップS210)。次に、受信判定制御部321は、ネットワークインタフェース390の変更した状態に応じて、状態が変更したネットワークインタフェース、および自装置内で、状態が変更したネットワークインタフェースとともにリンクアグリゲーションなどの冗長化技術が適用されるネットワークインタフェースに対応する回線内部番号を算出する。本実施例では、状態が変更したネットワークインタフェース32a以外で、同一リンクアグリゲーションを構築するネットワークインタフェースはないため、状態が変更したネットワークインタフェース32aについてのみ回線内部番号を算出する。なお、通信不可である場合は、回線内部番号は割り当たらないため、本処理は省略される。再び通信可となった場合に回線内部番号を割り当てることになる(ステップS220)。受信判定制御部321は、ステップS220で算出した回線内部番号を受信インタフェース判定情報351に設定する。変更する受信インタフェース判定情報351の具体例を挙げると、内部ネットワーク中継装置300aのリンクアグリゲーション50bのネットワークインタフェース32aの状態が変更した場合、図7の受信判定用リンクアグリゲーション構成テーブルのネットワークインタフェース32aに対応する回線内部番号に設定する。ネットワークインタフェース32aが通信不可となった場合、回線内部番号は割り当たらないため、本処理は省略される。又は、受信判定用リンクアグリゲーション構成テーブルの対応する回線内部番号を削除してもよい。(ステップS230)。最後に、受信判定制御部321は、他の内部ネットワーク中継装置300にネットワークインタフェース390の状態が変更したことを示すインタフェース状態変更メッセージを通知する(ステップS240)。   When the reception determination control unit 321 of the internal network relay device 300 starts the network interface state change process (step S200), it changes the information of the line state information 334 corresponding to the network interface 390 that has detected the state change. As a specific example of the line status information 334 to be changed, when the network interface 32a of the link aggregation 50b of the internal network relay device 300a becomes incapable of communication, the line status information 334a of the internal network relay device 300a in FIG. The state of the network interface 32a is changed to “abnormal” (step S210). Next, the reception determination control unit 321 applies a redundancy technique such as link aggregation together with the network interface whose state has been changed and the network interface whose state has been changed in the own apparatus according to the state of the network interface 390 being changed. The line internal number corresponding to the network interface to be calculated is calculated. In this embodiment, since there is no network interface for constructing the same link aggregation other than the network interface 32a whose state has changed, the line internal number is calculated only for the network interface 32a whose state has changed. If communication is not possible, the line internal number is not assigned, so this process is omitted. When communication becomes possible again, a line internal number is assigned (step S220). The reception determination control unit 321 sets the line internal number calculated in step S220 in the reception interface determination information 351. As a specific example of the reception interface determination information 351 to be changed, when the state of the network interface 32a of the link aggregation 50b of the internal network relay device 300a changes, it corresponds to the network interface 32a of the reception determination link aggregation configuration table of FIG. Set to the line internal number to be used. When the network interface 32a becomes unable to communicate, the line internal number is not assigned, so this process is omitted. Alternatively, the corresponding line internal number in the reception determination link aggregation configuration table may be deleted. (Step S230). Finally, the reception determination control unit 321 notifies the other internal network relay device 300 of an interface state change message indicating that the state of the network interface 390 has been changed (step S240).

図11は、図10で説明したステップS240で他の内部ネットワーク中継装置が発行するインタフェース状態変更メッセージを受信した場合に、受信判定制御部321が実行するインタフェース状態変更メッセージ受信処理(ステップS300)を示すフローチャートである。
本実施例では、受信判定制御部321は、インタフェース状態変更メッセージを受信すると、インタフェース状態変更メッセージ受信処理(ステップS300)を開始する。
FIG. 11 shows an interface state change message reception process (step S300) executed by the reception determination control unit 321 when an interface state change message issued by another internal network relay device is received in step S240 described in FIG. It is a flowchart to show.
In this embodiment, when receiving the interface state change message, the reception determination control unit 321 starts an interface state change message reception process (step S300).

内部ネットワーク中継装置300の受信判定制御部321は、インタフェース状態変更メッセージ受信処理(ステップS300)を開始すると、受信したインタフェース状態変更メッセージ内に格納されたネットワークインタフェースに対応する回線状態情報334の情報を変更する。変更する回線状態情報334の具体例を挙げると、内部ネットワーク中継装置300aのリンクアグリゲーション50bのネットワークインタフェース32aが通信不可の状態となり、内部ネットワーク中継装置300bでネットワークインタフェース32aの識別情報を含むインタフェース状態変更メッセージを受信した場合、図9の内部ネットワーク中継装置300bの回線状態情報334bにおけるネットワークインタフェース32aの状態を「異常」に変更する(ステップS310)。次に、受信判定制御部321は、受信したインタフェース状態変更メッセージ内に格納されたネットワークインタフェースと同じリンクアグリゲーション(上述の例では50b)を構成する自装置のネットワークインタフェース(上述の例では32b)に対して回線内部番号を再計算する(ステップS320)。次に、受信判定制御部321は、ステップS320で算出した回線内部番号をネットワークインタフェースに対応して受信インタフェース判定情報351に設定する。設定する受信インタフェース判定情報351の具体例を挙げると、内部ネットワーク中継装置300aのリンクアグリゲーション50bのネットワークインタフェース32aが通信不可の状態となり、内部ネットワーク中継装置300bでインタフェース状態変更メッセージを受信した場合、図8の受信判定用リンクアグリゲーション構成テーブルにおけるネットワークインタフェース32aと同一リンクアグリゲーションを構築するネットワークインタフェース32bの回線内部番号を変更する(ステップS330)。   When the reception determination control unit 321 of the internal network relay device 300 starts the interface state change message reception process (step S300), the information on the line state information 334 corresponding to the network interface stored in the received interface state change message is displayed. change. As a specific example of the line status information 334 to be changed, the network interface 32a of the link aggregation 50b of the internal network relay device 300a becomes incapable of communication, and the interface status change including identification information of the network interface 32a in the internal network relay device 300b. When the message is received, the state of the network interface 32a in the line state information 334b of the internal network relay device 300b in FIG. 9 is changed to “abnormal” (step S310). Next, the reception determination control unit 321 sets the same network link aggregation (50b in the above example) as the network interface stored in the received interface state change message to the network interface (32b in the above example) of its own device. On the other hand, the line internal number is recalculated (step S320). Next, the reception determination control unit 321 sets the line internal number calculated in step S320 in the reception interface determination information 351 corresponding to the network interface. As a specific example of the reception interface determination information 351 to be set, when the network interface 32a of the link aggregation 50b of the internal network relay device 300a is in a communication disabled state and the internal network relay device 300b receives an interface state change message, FIG. The line internal number of the network interface 32b that constructs the same link aggregation as the network interface 32a in the reception determination link aggregation configuration table 8 is changed (step S330).

図12は、内部ネットワーク中継装置300の受信判定制御部321が、受信インタフェース判定部361から通知された既定外インタフェース受信通知を受信した場合に受信判定制御部321が実行する既定外インタフェース受信処理(ステップS400)を示すフローチャートである。
本実施例では、受信判定制御部321は、既定外インタフェース受信通知を受けると、既定外インタフェース受信処理(ステップS400)を開始する。
FIG. 12 shows a non-default interface reception process executed by the reception determination control unit 321 when the reception determination control unit 321 of the internal network relay device 300 receives the non-default interface reception notification notified from the reception interface determination unit 361. It is a flowchart which shows step S400).
In the present embodiment, the reception determination control unit 321 starts the non-default interface reception process (step S400) when receiving the non-default interface reception notification.

内部ネットワーク中継装置300の受信判定制御部321は、既定外インタフェース受信処理(ステップS400)を開始すると、通知されたフロー識別子から状態が変更した(例えば、障害の発生又は復旧)内部ネットワーク中継装置と、ネットワークインタフェースを特定する(ステップS410)。例えば、内部ネットワーク中継装置300bのリンクアグリゲーション50bのネットワークインタフェース32bについて既定外インタフェース受信通知が発生した場合、回線状態情報334bを参照すると、ネットワークインタフェース32bと同一リンクアグリゲーションを構築するネットワークインタフェースは、内部ネットワーク中継装置300aのネットワークインタフェース32aのみであるため、内部ネットワーク中継装置300aのネットワークインタフェース32aで異常が発生したことが判明する。なお、ステップS410で状態が変更した内部ネットワーク中継装置、およびネットワークインタフェースの特定方法はフローベース負荷分散機構によって異なる。具体的には、後述する図18、および第1の実施例における変形例2で説明する。   When the reception determination control unit 321 of the internal network relay device 300 starts the non-default interface reception process (step S400), the state is changed from the notified flow identifier (for example, occurrence or recovery of a failure) The network interface is specified (step S410). For example, when a non-default interface reception notification is generated for the network interface 32b of the link aggregation 50b of the internal network relay device 300b, referring to the line state information 334b, the network interface that constructs the same link aggregation as the network interface 32b is the internal network Since only the network interface 32a of the relay device 300a is present, it is found that an abnormality has occurred in the network interface 32a of the internal network relay device 300a. Note that the internal network relay device whose state has been changed in step S410 and the network interface specifying method differ depending on the flow-based load distribution mechanism. Specifically, it will be described later with reference to FIG. 18 and a second modification of the first embodiment.

次に、受信判定制御部321は、ステップS410で特定した内部ネットワーク中継装置との内部通信が可能であるかを判定する。内部通信可能とは、内部ネットワーク中継装置間で接続している回線を通じて、通信可能であるかどうかを示す(ステップS420)。S410で特定した内部ネットワーク中継装置と内部通信可能である場合(ステップS420:「可能」)、処理を終了する。S410で特定した内部ネットワーク中継装置と内部通信不可である場合(ステップS420:「不可」)、受信判定制御部321は、ステップS410で特定したネットワークインタフェースの状態変更を、内部通信可能な他の内部ネットワーク中継装置にインタフェース状態変更メッセージとして通知する(ステップS430)。受信判定制御部321は、ステップS410で特定したネットワークインタフェースに対応する回線状態情報334の情報を変更する。変更する回線状態情報334の具体例を挙げると、上述の例ではステップS410でネットワークインタフェース32aが特定されるため、図9の内部ネットワーク中継装置300bの回線状態情報334bにおけるネットワークインタフェース32aの状態を「異常」に変更する(ステップS440)。次に、受信判定制御部321は、既定外インタフェース受信通知のネットワークインタフェースに対して回線内部番号を再計算する(ステップS450)。次に、受信判定制御部321は、ステップS450で算出した回線内部番号を受信インタフェース判定情報351に設定する。設定する受信インタフェース判定情報351の具体例を挙げると、内部ネットワーク中継装置300bのリンクアグリゲーション50bのネットワークインタフェース32bで、既定外インタフェース受信通知が発生した場合、図8の受信判定用リンクアグリゲーション構成テーブルのネットワークインタフェース32bに対応する回線内部番号に設定する(ステップS460)。
Next, the reception determination control unit 321 determines whether internal communication with the internal network relay device identified in step S410 is possible. “Internal communication is possible” indicates whether communication is possible through a line connected between internal network relay devices (step S420). If internal communication with the internal network relay device identified in S410 is possible (step S420: “possible”), the process ends. When internal communication with the internal network relay device identified in S410 is not possible (step S420: “impossible”), the reception determination control unit 321 changes the status of the network interface identified in step S410 to another internal capable of internal communication. The network relay device is notified as an interface state change message (step S430). The reception determination control unit 321 changes the information of the line state information 334 corresponding to the network interface identified in step S410. Taking a specific example of the line state information 334 to be changed, in the above example, the network interface 32a is specified in step S410. Therefore, the state of the network interface 32a in the line state information 334b of the internal network relay device 300b in FIG. Change to “abnormal” (step S440). Next, the reception determination control unit 321 recalculates the line internal number for the network interface of the non-default interface reception notification (step S450). Next, the reception determination control unit 321 sets the line internal number calculated in step S450 in the reception interface determination information 351. As a specific example of the reception interface determination information 351 to be set, when a non-default interface reception notification is generated in the network interface 32b of the link aggregation 50b of the internal network relay device 300b, the reception determination link aggregation configuration table of FIG. The line internal number corresponding to the network interface 32b is set (step S460).

A4−5.内部ネットワーク中継装置障害検知処理
図13は、内部ネットワーク中継装置300の障害確認制御部322でネットワーク中継システム30を構成する他の内部ネットワーク中継装置で障害(異常)が発生しているか否かを判定する内部ネットワーク中継装置障害検知処理(ステップS500)を示すフローチャートである。
本実施例では、障害確認制御部322は、特定の内部ネットワーク中継装置300と内部通信が不可となった場合、またはインタフェース状態変更メッセージ受信処理が終了した場合、または既定外インタフェース受信処理が終了した場合に、内部ネットワーク中継装置障害検知処理(ステップS500)を開始する。
A4-5. Internal Network Relay Device Failure Detection Processing FIG. 13 shows whether or not a failure (abnormality) has occurred in another internal network relay device constituting the network relay system 30 by the failure confirmation control unit 322 of the internal network relay device 300. It is a flowchart which shows the internal network relay apparatus failure detection process (step S500) to perform.
In this embodiment, the failure confirmation control unit 322 terminates internal communication with a specific internal network relay device 300, completes interface status change message reception processing, or terminates non-default interface reception processing. In this case, the internal network relay device failure detection process (step S500) is started.

内部ネットワーク中継装置300の障害確認制御部322は、内部ネットワーク中継装置障害検知処理を開始すると、対象とする内部ネットワーク中継装置と内部通信可能な状態であるかを判定する。対象とする内部ネットワーク中継装置300とは、内部通信不可となった内部ネットワーク中継装置300、または図12で示した既定外インタフェース受信処理(ステップS400)のステップS410で特定した内部ネットワーク中継装置300を示す(ステップS510)。内部通信可能である場合(ステップS510:「可能」)、処理を終了する。内部通信不可である場合(ステップS510:「不可」)、障害確認制御部322は、回線状態情報334の対象とする内部ネットワーク中継装置のうち、監視対象となっているネットワークインタフェースの状態が全て「異常」の状態になっているかを判定する。参照する回線状態情報334の具体例を挙げると、内部ネットワーク中継装置300bが内部ネットワーク中継装置300aとの内部通信不可によって、ステップS500が動作する場合、図9の内部ネットワーク中継装置300bの回線状態情報334bにおける内部ネットワーク中継装置300aで監視対象となっているネットワークインタフェース31a、32a、33aの各状態を参照する(ステップS520)。監視対象となっているネットワークインタフェースの状態で一部正常を含んでいる場合(ステップS520:「正常含む」)、処理を終了する。監視対象となっているネットワークインタフェースの状態が全て異常な状態の場合(ステップS520:「全て異常」)、障害確認制御部322は、対象とする内部ネットワーク中継装置で障害が発生したと認識する(ステップS530)。次に、障害確認制御部322は、対象とする内部ネットワーク中継装置が運用装置として動作しているかを判定する(ステップS540)。対象とする内部ネットワーク中継装置が待機装置として動作していた場合(ステップS540:「待機装置」)、処理を終了する。対象とする内部ネットワーク中継装置が運用装置として動作していた場合(ステップS540:「運用装置」)、障害確認制御部322は、自装置が運用装置として動作する必要があるかを判定する。本実施例では、待機装置として動作している内部ネットワーク中継装置の中で、最も装置の優先度が高い、または、待機装置として動作している内部ネットワーク中継装置が他にない場合、障害確認制御部322は、運用装置として動作する必要があると判断する(ステップS550)。運用装置として動作する必要がない場合(ステップS550:「不要」)、処理を終了する。運用装置として動作する必要がある場合(ステップS550:「要」)、障害確認制御部322は、運用装置として動作を開始する(ステップS560)。なお、どの装置が運用装置であり、どの装置が待機装置であるかを示す情報は、各内部ネットワーク中継装置300が保持することできる。また、運用装置となる優先度も予め保持することができる。ここで、仮想ネットワーク中継装置を構成する複数の内部ネットワーク中継装置は、転送処理については各装置が運用状態であり、制御処理については一部(例えばひとつ)の内部ネットワーク中継装置が運用装置、他の内部ネットワーク中継装置が待機装置となっている。
When the failure check control unit 322 of the internal network relay device 300 starts the internal network relay device failure detection process, the failure check control unit 322 determines whether internal communication with the target internal network relay device is possible. The target internal network relay device 300 is the internal network relay device 300 in which internal communication is disabled or the internal network relay device 300 identified in step S410 of the non-default interface reception process (step S400) shown in FIG. This is shown (step S510). If internal communication is possible (step S510: “possible”), the process ends. When internal communication is not possible (step S510: “impossible”), the failure confirmation control unit 322 indicates that all of the network interface states to be monitored among the internal network relay devices targeted by the line state information 334 are “ It is determined whether the state is “abnormal”. As a specific example of the line status information 334 to be referred to, when the internal network relay device 300b is unable to communicate with the internal network relay device 300a and step S500 is operated, the line status information of the internal network relay device 300b in FIG. Each state of the network interfaces 31a, 32a, and 33a monitored by the internal network relay device 300a in 334b is referred to (step S520). If the network interface being monitored includes a partly normal state (step S520: “normally included”), the process ends. When all the monitored network interfaces are in an abnormal state (step S520: “all abnormal”), the failure confirmation control unit 322 recognizes that a failure has occurred in the target internal network relay device ( Step S530). Next, the failure confirmation control unit 322 determines whether the target internal network relay device is operating as an operation device (step S540). If the target internal network relay device is operating as a standby device (step S540: “standby device”), the process is terminated. When the target internal network relay device is operating as an operation device (step S540: “operation device”), the failure confirmation control unit 322 determines whether the own device needs to operate as an operation device. In this embodiment, when the priority of the device is the highest among the internal network relay devices operating as standby devices, or there is no other internal network relay device operating as the standby device, fault confirmation control The unit 322 determines that it is necessary to operate as an operation device (step S550). If it is not necessary to operate as an operation apparatus (step S550: “unnecessary”), the process ends. When it is necessary to operate as an operation device (step S550: “required”), the failure confirmation control unit 322 starts operation as an operation device (step S560). Each internal network relay device 300 can hold information indicating which device is an operation device and which device is a standby device. In addition, the priority for the operation device can be held in advance. Here, in the plurality of internal network relay devices constituting the virtual network relay device, each device is in an operating state for transfer processing, and some (for example, one) internal network relay devices are operating devices for control processing, etc. The internal network relay device is a standby device.

A4−6.内部ネットワーク中継装置障害確認処理:
図14は、内部ネットワーク中継装置300の障害確認制御部322が実行する内部ネットワーク中継装置障害確認処理(ステップS600)を示すフローチャートである。内部ネットワーク中継装置障害確認処理(ステップS600)は、ネットワーク中継システム30でデータフレームを送受信していない状態でも、特定の内部ネットワーク中継装置の状態を認識するための処理である。
本実施例では、障害確認制御部322は、特定の内部ネットワーク中継装置との内部通信が不可となった場合に、内部ネットワーク中継装置障害確認処理(ステップS600)を開始する。
A4-6. Internal network relay device failure confirmation processing:
FIG. 14 is a flowchart showing the internal network relay device failure confirmation process (step S600) executed by the failure confirmation control unit 322 of the internal network relay device 300. The internal network relay device failure confirmation process (step S600) is a process for recognizing the state of a specific internal network relay device even when the data frame is not transmitted / received by the network relay system 30.
In this embodiment, the failure confirmation control unit 322 starts an internal network relay device failure confirmation process (step S600) when internal communication with a specific internal network relay device is disabled.

内部ネットワーク中継装置300の障害確認制御部322は、内部ネットワーク中継装置障害確認処理(ステップS600)を開始すると、まず、内部通信不可となった内部ネットワーク中継装置のネットワークインタフェースのうち、監視対象となっているネットワークインタフェースを回線状態情報334から抽出する。参照する回線状態情報334の具体例を挙げると、内部ネットワーク中継装置300bが内部ネットワーク中継装置300aとの内部通信不可によって、ステップS500が動作する場合、図9の内部ネットワーク中継装置300bの回線状態情報334bにおける内部ネットワーク中継装置300aで監視対象となっているネットワークインタフェース31a、32a、33aを抽出する(ステップS610)。次に、ステップS610で抽出した各ネットワークインタエースと冗長化技術を適用しているネットワークインタフェースに送信するヘルスチェック・データフレームを構築するために、MACアドレス、または、IPアドレスを選択し、ヘルスチェック・データフレームを構築する。このMACアドレスまたは、IPアドレスは、自装置のネットワークインタフェースからヘルスチェック・データフレームを送信した場合に、外部ネットワーク中継装置200のフローベース負荷分散機構によって、内部通信不可となった内部ネットワーク中継装置側のネットワークインタフェースに応答が送信される値を選択する(ステップS620)。ステップS610で抽出した各ネットワークインタエースと冗長化技術を適用しているネットワークインタフェースに送信する(ステップS630)。ヘルスチェック・データフレームのMACアドレスとIPアドレスの例、及び、その後の動作は、図18を参照して後述する。
When the failure confirmation control unit 322 of the internal network relay device 300 starts the internal network relay device failure confirmation processing (step S600), first, it becomes a monitoring target among the network interfaces of the internal network relay device that cannot perform internal communication. The network interface is extracted from the line status information 334. As a specific example of the line status information 334 to be referred to, when the internal network relay device 300b is unable to communicate with the internal network relay device 300a and step S500 is operated, the line status information of the internal network relay device 300b in FIG. The network interfaces 31a, 32a, and 33a that are monitored by the internal network relay device 300a in 334b are extracted (step S610). Next, in order to construct a health check data frame to be transmitted to each network interface extracted in step S610 and a network interface to which the redundancy technology is applied, a MAC address or an IP address is selected and a health check is performed. -Build a data frame. This MAC address or IP address is the internal network relay device side in which internal communication is disabled by the flow-based load distribution mechanism of the external network relay device 200 when a health check data frame is transmitted from the network interface of the own device. A value to which a response is transmitted to the network interface is selected (step S620). Each network interface extracted in step S610 and the network interface to which the redundancy technology is applied are transmitted (step S630). An example of the MAC address and IP address of the health check data frame and the subsequent operation will be described later with reference to FIG.

A5.データフレーム転送時の動作
図15は、図1に示すネットワーク構成に基づいて、端末装置600bから端末装置600a、および端末装置600bから端末装置600cのデータフレーム転送時の内部ネットワーク中継装置300の動作を説明するために、各端末装置の転送に必要な設定値を示す説明図である。なお、説明を簡略化するために、ネットワーク中継システム30は、外部ネットワークから受信したデータフレームをイーサネット(登録商標)に基づいて転送することを想定する。
図15の第1列は「端末装置」として端末装置600を特定する符号を示している。図15の第2列は、「VLAN」として第1列の端末装置600が属すVLANの番号を示している。図15の第3列は、「IPアドレス」として第1列の端末装置に設定されるIPアドレスの値を示している。図15の第4列は、「MACアドレス」として第3列のIPアドレスに対応して設定されるMACアドレスの値を示している。
A5. FIG. 15 shows the operation of the internal network relay device 300 during data frame transfer from the terminal device 600b to the terminal device 600a and from the terminal device 600b to the terminal device 600c based on the network configuration shown in FIG. FIG. 4 is an explanatory diagram illustrating setting values necessary for transfer of each terminal device for explanation. In order to simplify the description, it is assumed that the network relay system 30 transfers a data frame received from an external network based on Ethernet (registered trademark).
The first column in FIG. 15 indicates a code that identifies the terminal device 600 as “terminal device”. The second column in FIG. 15 indicates the VLAN number to which the terminal device 600 in the first column belongs as “VLAN”. The third column of FIG. 15 shows the value of the IP address set as the “IP address” in the terminal device in the first column. The fourth column in FIG. 15 shows the value of the MAC address set corresponding to the IP address in the third column as “MAC address”.

図16は、図1に示すネットワーク構成に基づいて、内部ネットワーク中継装置300で保持するMACアドレス、IPアドレスを示す説明図である。例えば、設定情報333として保持されることができる。
図16の第1列は「内部ネットワーク中継装置」として、内部ネットワーク中継装置300を特定する符号を示している。図16の第2列は、「VLAN」として第1列の内部ネットワーク中継装置300が属すVLANの番号を示している。図16の第3列は、「IPアドレス」として第2列のVLANに設定されるIPアドレスの値を示している。図16の第4列は、「MACアドレス」として第3列のIPアドレスに対応して設定されるMACアドレスの値を示している。
本実施例では、各VLANに対して、IPアドレス、およびMACアドレスをそれぞれ2つ保持しているが、2つ以外の複数でもよいし、他の実施形態において、IPアドレス、およびMACアドレスいずれか一方を複数保持してもよいし、特定のVLANに対してのみ複数のMACアドレス、またはIPアドレスを複数保持してもよい。
FIG. 16 is an explanatory diagram showing MAC addresses and IP addresses held by the internal network relay device 300 based on the network configuration shown in FIG. For example, it can be held as setting information 333.
The first column of FIG. 16 indicates a code identifying the internal network relay device 300 as “internal network relay device”. The second column in FIG. 16 indicates the VLAN number to which the internal network relay device 300 in the first column belongs as “VLAN”. The third column in FIG. 16 shows the value of the IP address set in the VLAN in the second column as “IP address”. The fourth column of FIG. 16 shows the value of the MAC address set corresponding to the IP address of the third column as “MAC address”.
In this embodiment, two IP addresses and two MAC addresses are held for each VLAN, but a plurality other than two may be used. In other embodiments, either the IP address or the MAC address is used. A plurality of ones may be held, or a plurality of MAC addresses or a plurality of IP addresses may be held only for a specific VLAN.

図17は、図1に示すネットワーク構成例、および外部ネットワーク中継装置は図2、図3、図4に示すリンクアグリゲーション設定例、および図7、図8の受信インタフェース判定情報361の各種設定情報において、端末装置600bから端末装置600aに転送されるデータフレーム(D110)の転送パスに基づいて、内部ネットワーク中継装置300の動作を示す説明図である。図17は、各内部ネットワーク中継装置300、および各外部ネットワーク中継装置200間の回線が全て正常(通信可能)な状態であり、内部ネットワーク中継装置300aが運用装置として動作していることを想定している。
データフレームD110は、イーサネットヘッダ(イーサネットは登録商標)内の宛先MACアドレス、送信元MACアドレスとして、それぞれ図15に示した端末装置600aのMACアドレスである「00:00:00:00:00:01」と、端末装置600bのMACアドレスである「00:00:00:00:00:02」が設定され、VLANとして、「1」が設定され、IPヘッダ内の宛先IPアドレス、送信元IPアドレスとして、それぞれ図15に示した端末装置600aのIPアドレスである「10.0.0.1」と、端末装置600bのIPアドレスである「10.0.0.2」が設定される。
FIG. 17 shows the network configuration example shown in FIG. 1, the external network relay device in the link aggregation setting examples shown in FIGS. 2, 3, and 4, and various setting information of the reception interface determination information 361 shown in FIGS. FIG. 11 is an explanatory diagram showing an operation of the internal network relay device 300 based on a transfer path of a data frame (D110) transferred from the terminal device 600b to the terminal device 600a. FIG. 17 assumes that the lines between each internal network relay device 300 and each external network relay device 200 are all normal (communicable), and that the internal network relay device 300a operates as an operation device. ing.
The data frame D110 is “00: 00: 00: 00: MAC address of the terminal device 600a shown in FIG. 15 as the destination MAC address and the source MAC address in the Ethernet header (Ethernet is a registered trademark). 01 ”and“ 00: 00: 00: 00: 02 ”which is the MAC address of the terminal device 600b are set,“ 1 ”is set as the VLAN, the destination IP address in the IP header, and the source IP As addresses, “10.0.0.1” that is the IP address of the terminal device 600a shown in FIG. 15 and “10.0.0.2” that is the IP address of the terminal device 600b are set.

図17の例では、データフレームD110は、まず、外部ネットワーク中継装置200bで受信され、リンクアグリゲーション50bに転送される。リンクアグリゲーション50bに転送される場合、外部ネットワーク中継装置200bは、図3に示すテーブルを用いてデータフレームを出力するネットワークインタフェースを決定する。本実施例での具体的なネットワークインタフェースの決定方法を説明する。図3のリンクアグリゲーションテーブルからフロー識別子として使用するフロー識別子を決定する。図3からフロー識別子として、MACアドレスとVLANを使用するため、データフレームD110内の宛先MACアドレス「00:00:00:00:00:01」と送信元MACアドレス「00:00:00:00:02」とVLAN「1」をそれぞれ8bitに分割する。分割するにあたって、ビット数が8で割り切れない場合、上位ビットを0でパディングする。データフレームD110の宛先MACアドレスを8bit単位に分割すると、MACアドレスの各値は16進数で表記しているため、8bitは「:」で区切られた単位となり、「01」「00」「00」「00」「00」「00」の6つとなる。VLANは10進数で表記しているため、「1」「0」となる。次に8bitに分割した値を順にXOR演算する。次にXOR演算の結果に対して、対象のリンクアグリゲーションを構成する回線数(冗長回線数)で除算した余りで回線内部番号を算出する。本実施例のデータフレームD110ではXORの結果として「2」が算出され、冗長回線数は2であるため、余りは0となる。図3から回線内部番号0に対応するネットワークインタフェースはネットワークインタフェース21bであるため、データフレームD110はネットワークインタフェース21bから出力される。なお、他の適宜の手法により、出力するネットワークインタフェースを求めてもよい。   In the example of FIG. 17, the data frame D110 is first received by the external network relay device 200b and transferred to the link aggregation 50b. When transferred to the link aggregation 50b, the external network relay device 200b determines a network interface that outputs a data frame using the table shown in FIG. A specific method for determining a network interface in this embodiment will be described. A flow identifier to be used as a flow identifier is determined from the link aggregation table of FIG. Since the MAC address and VLAN are used as flow identifiers from FIG. 3, the destination MAC address “00: 00: 00: 00: 01” and the source MAC address “00: 00: 00: 00” in the data frame D110 are used. : 02 "and VLAN" 1 "are each divided into 8 bits. When dividing, if the number of bits is not divisible by 8, the upper bits are padded with 0. When the destination MAC address of the data frame D110 is divided into 8-bit units, since each value of the MAC address is expressed in hexadecimal, 8 bits are a unit delimited by “:”, and “01” “00” “00”. There are six “00”, “00”, and “00”. Since VLAN is expressed in decimal, it is “1” “0”. Next, an XOR operation is sequentially performed on the values divided into 8 bits. Next, the line internal number is calculated by the remainder obtained by dividing the result of the XOR operation by the number of lines (number of redundant lines) constituting the target link aggregation. In the data frame D110 of this embodiment, “2” is calculated as a result of XOR, and the number of redundant lines is 2, so the remainder is 0. Since the network interface corresponding to the line internal number 0 is the network interface 21b from FIG. 3, the data frame D110 is output from the network interface 21b. Note that the network interface to be output may be obtained by other appropriate methods.

内部ネットワーク中継装置300aは、ネットワークインタフェース32aからデータフレームを受信すると、ステップS100(受信インタフェース判定処理)を実行する。具体的には、図7で示した受信インタフェース判定情報351からネットワークインタフェース32aの回線内部番号である0を割り出す。また、図7で示した受信インタフェース判定情報351からリンクアグリゲーション50bで使用するフロー識別子を決定する。フロー識別子として、外部ネットワーク中継装置200bと同じMACアドレスとVLANを使用する。内部ネットワーク中継装置300aは、外部ネットワーク中継装置200bと同様の方法でフロー識別子から回線内部番号を算出する。本実施例での具体的な回線内部番号の算出方法を説明する。データフレームD110内の宛先MACアドレス「00:00:00:00:00:01」と送信元MACアドレス「00:00:00:00:02」とVLAN「1」をそれぞれ8bitに分割する。分割するにあたって、ビット数が8で割り切れない場合、上位ビットを0でパディングする。データフレームD110の宛先MACアドレスを8bit単位に分割すると、MACアドレスの各値は16進数で表記しているため、8bitは「:」で区切られた単位となり、「01」「00」「00」「00」「00」「00」の6つとなる。VLANは10進数で表記しているため、「1」「0」となる。次に8bitに分割した値を順にXOR演算する。次にXOR演算の結果に対して、対象のリンクアグリゲーションを構成する回線数(冗長回線数)で除算した余りで回線内部番号を算出する。本実施例のデータフレームD110ではXORの結果として「2」が算出され、冗長回線数は2であるため、余りは0となる。
図7の受信インタフェース判定情報351から算出された回線内部番号0とデータフレームを受信したネットワークインタフェース32aの回線内部番号0は同一値であるため、内部ネットワーク中継装置300aは、データフレームを外部ネットワーク中継装置200aに転送して処理を終了する。
When the internal network relay device 300a receives the data frame from the network interface 32a, the internal network relay device 300a executes step S100 (reception interface determination processing). Specifically, 0, which is the line internal number of the network interface 32a, is determined from the reception interface determination information 351 shown in FIG. Further, the flow identifier used in the link aggregation 50b is determined from the reception interface determination information 351 shown in FIG. The same MAC address and VLAN as the external network relay device 200b are used as the flow identifier. The internal network relay device 300a calculates the line internal number from the flow identifier in the same manner as the external network relay device 200b. A specific method for calculating the line internal number in this embodiment will be described. The destination MAC address “00: 00: 00: 00: 00: 01”, the source MAC address “00: 00: 00: 00: 02”, and the VLAN “1” in the data frame D110 are each divided into 8 bits. When dividing, if the number of bits is not divisible by 8, the upper bits are padded with 0. When the destination MAC address of the data frame D110 is divided into 8-bit units, since each value of the MAC address is expressed in hexadecimal, 8 bits are a unit delimited by “:”, and “01” “00” “00”. There are six “00”, “00”, and “00”. Since VLAN is expressed in decimal, it is “1” “0”. Next, an XOR operation is sequentially performed on the values divided into 8 bits. Next, the line internal number is calculated by the remainder obtained by dividing the result of the XOR operation by the number of lines (number of redundant lines) constituting the target link aggregation. In the data frame D110 of this embodiment, “2” is calculated as a result of XOR, and the number of redundant lines is 2, so the remainder is 0.
Since the line internal number 0 calculated from the reception interface determination information 351 in FIG. 7 and the line internal number 0 of the network interface 32a that received the data frame have the same value, the internal network relay device 300a relays the data frame to the external network. It transfers to the apparatus 200a and complete | finishes a process.

図18は、図17に示すネットワーク構成、および状態から内部ネットワーク中継装置300aが障害となった場合の、内部ネットワーク中継装置300の動作を説明する説明図である。
内部ネットワーク中継装置300aの障害によって、ネットワークインタフェース31a、21a間の回線、ネットワークインタフェース32a、21b間の回線、ネットワークインタフェース33a、21c、およびネットワークインタフェース34a、34b間の回線が通信不可となる。これにより、各外部ネットワーク中継装置200のリンクアグリゲーション設定が図19、図20、図21のように変更される。例えば、冗長回線数が変更され、通信不可のネットワークインタフェースが削除され、回線内部番号の数は変更される。
FIG. 18 is an explanatory diagram for explaining the operation of the internal network relay device 300 when the internal network relay device 300a becomes a failure due to the network configuration and state shown in FIG.
Due to the failure of the internal network relay device 300a, communication between the network interfaces 31a and 21a, the network interfaces 32a and 21b, the network interfaces 33a and 21c, and the network interfaces 34a and 34b becomes impossible. As a result, the link aggregation setting of each external network relay device 200 is changed as shown in FIG. 19, FIG. 20, and FIG. For example, the number of redundant lines is changed, the network interface that cannot communicate is deleted, and the number of line internal numbers is changed.

まず、ヘルスチェック・データフレームにより、内部ネットワーク中継装置300aの障害を検知する動作を説明する。内部ネットワーク中継装置300bの障害確認制御部322は、ネットワークインタフェース34a、34b間の回線が切断されることで、内部ネットワーク中継装置300aとの通信不可状態となる。このため、ステップS500である内部ネットワーク中継装置障害検知処理を実行する。この段階では、図9で示したとおり、内部ネットワーク中継装置300aの監視対象のネットワークインタフェースは全て正常な状態であるため、内部ネットワーク中継装置障害検知処理は終了する。
次に内部ネットワーク中継装置300bの障害確認制御部322は、ステップS600である内部ネットワーク中継装置障害確認処理を実行する。内部ネットワーク中継装置300bの障害確認制御部322は、内部ネットワーク中継装置300aのネットワークインタフェースのうち、監視対象のネットワークインタフェースを抽出する。図9に示す回線状態情報334からネットワークインタフェース31a、32a、33aが監視対象であることがわかる。次にヘルスチェック・データフレームを生成する。ヘルスチェック・データフレームは、各監視対象のネットワークインタフェースが所属する各リンクアグリゲーション50に所属しているネットワークインタフェースから送信する。図18では、ヘルスチェック・データフレームはネットワークインタフェース31b、32b、33bから送信する。本実施例のヘルスチェック・データフレームは例えば、ICMP(Internet Control Message Protocol)のEcho Message(以後、Echoパケットとのみ記述)とすることができる。
First, an operation for detecting a failure of the internal network relay device 300a using a health check data frame will be described. The failure confirmation control unit 322 of the internal network relay device 300b becomes incapable of communicating with the internal network relay device 300a by disconnecting the line between the network interfaces 34a and 34b. For this reason, the internal network relay device failure detection process in step S500 is executed. At this stage, as shown in FIG. 9, since all the network interfaces to be monitored by the internal network relay device 300a are in a normal state, the internal network relay device failure detection process ends.
Next, the failure confirmation control unit 322 of the internal network relay device 300b executes an internal network relay device failure confirmation process in step S600. The failure confirmation control unit 322 of the internal network relay device 300b extracts a monitored network interface from the network interfaces of the internal network relay device 300a. It can be seen from the line state information 334 shown in FIG. 9 that the network interfaces 31a, 32a, and 33a are monitoring targets. Next, a health check data frame is generated. The health check data frame is transmitted from the network interface belonging to each link aggregation 50 to which each monitored network interface belongs. In FIG. 18, the health check data frame is transmitted from the network interfaces 31b, 32b, and 33b. The health check data frame of the present embodiment can be, for example, ICMP (Internet Control Message Protocol) Echo Message (hereinafter described only as an Echo packet).

次にEchoパケットの各設定値を図16に示した設定値から選択する。Echoパケットの設定値は、Echoパケットの応答であるICMPのEcho Reply Message(以後、Replyパケットとのみ記述)が外部ネットワーク中継装置200のリンクアグリゲーションのフローベース負荷分散機構によって、内部ネットワーク中継装置300aのネットワークインタフェースに振分けられる値を、受信インタフェース判定情報351に基づいて選択する。このため、ネットワークインタフェース31bから出力するEchoパケットの設定値は「送信元MACアドレス:00:00:00:00:00:15」「VLAN:1」「送信元IPアドレス:10.0.0.15」を、宛先は端末装置600aの各種アドレスを選択し、ネットワークインタフェース32bから出力するEchoパケットの設定値は「送信元MACアドレス:00:00:00:00:00:15」「VLAN:1」「送信元IPアドレス:10.0.0.15」を、宛先は端末装置600bを選択し、ネットワークインタフェース33bから出力するEchoパケットの設定値は「送信元MACアドレス:00:00:00:00:00:17」「VLAN:2」「送信元IPアドレス:192.168.0.15」を、宛先は端末装置600fを選択する。   Next, each setting value of the Echo packet is selected from the setting values shown in FIG. The setting value of the Echo packet is determined by the echo reply message of ICMP (hereinafter, described only as a Reply packet), which is the response of the Echo packet, by the flow-based load balancing mechanism of the link aggregation of the external network relay device 200. A value assigned to the network interface is selected based on the reception interface determination information 351. Therefore, the setting value of the Echo packet output from the network interface 31b is “source MAC address: 00: 00: 00: 00: 00: 15” “VLAN: 1” “source IP address: 10.0.0. 15 ”, the destination selects various addresses of the terminal device 600a, and the setting value of the Echo packet output from the network interface 32b is“ source MAC address: 00: 00: 00: 00: 00: ”“ VLAN: 1 "Sender IP address: 10.0.0.15", the destination is the terminal device 600b, and the setting value of the Echo packet output from the network interface 33b is "source MAC address: 00:00:00: “00:00:17” “VLAN: 2” “Source IP address: 192.168.0.15” , The destination selects a terminal device 600f.

図18でネットワークインタフェース31b、32b、33bのそれぞれから送信するヘルスチェック・データフレームのパスをそれぞれ「HD110a」、「HD110b」「HD110c」を用いて表記している。各端末装置からの応答であるReplyパケットを内部ネットワーク中継装置300bのネットワークインタフェースで受信すると、受信インタフェース判定部361で、受信インタフェース判定処理(S100)が実行される。これにより、データフレームが流れていない場合でも、内部ネットワーク中継装置300aの障害を早期に検出可能となる。
なお、ヘルスチェック・データフレームの宛先はヘルスチェック・データフレームに対応しているならば、外部ネットワーク中継装置200でもよい。
また、本実施例のヘルスチェック・データフレームはICMPのEcho Messageであるが、他の実施形態において、BFD(Bidirectional Forwarding Detection)や、Ethernet OAM(Operations,Administration,Maintenance)など、ヘルスチェックの機構を備え、一般的にネットワーク装置が対応しているプロトコルであり、ネットワーク装置からの応答、またはネットワーク装置からの定期送信で外部ネットワーク中継装置に適用した冗長化技術のフローベース負荷分散機構によって振分けられるデータフレームであれば適用可能である。
In FIG. 18, the paths of the health check data frame transmitted from each of the network interfaces 31b, 32b, and 33b are described using “HD110a”, “HD110b”, and “HD110c”, respectively. When the reply packet, which is a response from each terminal device, is received by the network interface of the internal network relay device 300b, the reception interface determination unit 361 performs reception interface determination processing (S100). Thereby, even when a data frame is not flowing, a failure of the internal network relay device 300a can be detected at an early stage.
If the destination of the health check data frame is compatible with the health check data frame, the external network relay device 200 may be used.
The health check data frame of the present embodiment is ICMP Echo Message, but in other embodiments, the health check mechanism such as BFD (Bidirectional Forwarding Detection) or Ethernet OAM (Operations, Administration, Maintenance) is used. Data that is distributed by the flow-based load balancing mechanism of the redundancy technology applied to the external network relay device by the response from the network device or the periodic transmission from the network device Any frame can be applied.

次に、データフレームD110の転送に基づいて、内部ネットワーク中継装置300aの障害を検知するための各装置の動作を説明する。なお、データフレームD110の代わりに前記HD110bの応答によっても同様の効果を得ることができる。
図18の例では、データフレームD110は、まず、外部ネットワーク中継装置200bで受信され、リンクアグリゲーション50bに転送される。リンクアグリゲーション50bに転送される場合、外部ネットワーク中継装置200bは、図20に示すテーブルを用いてデータフレームD110を出力するネットワークインタフェースを決定する。データフレームを出力するネットワークインタフェースの決定方法は図17で説明した方法と同様であり、ネットワークインタフェース22bが決定され、データフレームが転送される。ここでは回線内部番号が0になる。
内部ネットワーク中継装置300bは、ネットワークインタフェース32bからデータフレームを受信すると、ステップS100(受信インタフェース判定処理)を実行する。具体的には、図8で示した受信インタフェース判定情報351からネットワークインタフェース32bの回線内部番号である1を割り出す。また、図8で示した受信インタフェース判定情報351を用いて、回線内部番号を算出する。回線内部番号の算出は、図17で説明した内部ネットワーク中継装置300aで実施した方法を用いる。算出した回線内部番号は0となる。図8の受信インタフェース判定情報351から算出された回線内部番号0と、データフレームを受信したネットワークインタフェース32bの回線内部番号1が異なるため、受信インタフェース判定部361は、制御部310の受信判定制御部321に対して既定外インタフェース受信を通知し、データフレームを外部ネットワーク中継装置200aに転送する。
Next, the operation of each device for detecting a failure of the internal network relay device 300a based on the transfer of the data frame D110 will be described. The same effect can be obtained by the response of the HD 110b instead of the data frame D110.
In the example of FIG. 18, the data frame D110 is first received by the external network relay device 200b and transferred to the link aggregation 50b. When transferred to the link aggregation 50b, the external network relay device 200b determines the network interface that outputs the data frame D110 using the table shown in FIG. The method for determining the network interface that outputs the data frame is the same as the method described with reference to FIG. 17, and the network interface 22b is determined and the data frame is transferred. Here, the line internal number is 0.
When the internal network relay device 300b receives the data frame from the network interface 32b, the internal network relay device 300b executes Step S100 (reception interface determination processing). Specifically, 1 which is the line internal number of the network interface 32b is determined from the reception interface determination information 351 shown in FIG. Also, the line internal number is calculated using the reception interface determination information 351 shown in FIG. The line internal number is calculated using the method implemented by the internal network relay device 300a described with reference to FIG. The calculated line internal number is 0. Since the line internal number 0 calculated from the reception interface determination information 351 in FIG. 8 is different from the line internal number 1 of the network interface 32b that has received the data frame, the reception interface determination unit 361 includes a reception determination control unit of the control unit 310. The non-default interface reception is notified to 321 and the data frame is transferred to the external network relay device 200a.

既定外インタフェース受信を受けた制御部310の受信判定制御部321は、ステップS400(既定外インタフェース受信処理)を実行し、障害が発生したネットワークインタフェースと、障害が発生したネットワークインタフェースを保持する内部ネットワーク中継装置300を特定する。本実施例では、一つのリンクアグリゲーションに対してネットワークインタフェースを2つまでに制限している。このため、既定外インタフェース受信で通知されるネットワークインタフェース32bとリンクアグリゲーション50bを構成するネットワークインタフェース32aを特定する。また、ネットワークインタフェース32aを保持する内部ネットワーク中継装置300として、内部ネットワーク中継装置300aを特定する。
制御部310の受信判定制御部321は、既定外インタフェース受信通知から特定した内部ネットワーク中継装置300aとの内部通信可能であるかを判定する。図18に示すとおり、内部ネットワーク中継装置300aの障害によって、ネットワークインタフェース34a、34b間の通信は不可の状態である。このため、まず制御部310の受信判定制御部321は、通信可能な他の内部ネットワーク中継装置に対して、内部ネットワーク中継装置のネットワークインタフェース32aの状態変更をインタフェース状態変更メッセージで通知する。ただし、本実施例において、通信可能な他内部ネットワーク中継装置は存在しないため、インタフェース状態変更メッセージの通知処理は省略される。次に、制御部310の受信判定制御部321は、回線状態情報334の内部ネットワーク中継装置300aのネットワークインタフェース32aの状態を異常に変更する。
The reception determination control unit 321 of the control unit 310 that receives the non-default interface reception executes Step S400 (non-default interface reception process), and holds the network interface in which the failure has occurred and the internal network that holds the network interface in which the failure has occurred. The relay device 300 is specified. In this embodiment, the number of network interfaces is limited to two for one link aggregation. For this reason, the network interface 32a that constitutes the link aggregation 50b and the network interface 32b notified by the non-default interface reception is specified. Further, the internal network relay device 300a is specified as the internal network relay device 300 that holds the network interface 32a.
The reception determination control unit 321 of the control unit 310 determines whether internal communication with the internal network relay device 300a specified from the non-default interface reception notification is possible. As shown in FIG. 18, communication between the network interfaces 34a and 34b is not possible due to a failure of the internal network relay device 300a. Therefore, first, the reception determination control unit 321 of the control unit 310 notifies the other internal network relay device that can communicate with the status change of the network interface 32a of the internal network relay device using an interface status change message. However, in this embodiment, since there is no other internal network relay device that can communicate, the notification process of the interface state change message is omitted. Next, the reception determination control unit 321 of the control unit 310 changes the state of the network interface 32a of the internal network relay device 300a in the line state information 334 to abnormal.

図22は、各内部ネットワーク中継装置300の回線状態情報334を示している。図22に示すように、内部ネットワーク中継装置300bが保持する回線状態情報334の内部ネットワーク中継装置300aのネットワークインタフェース32aを異常状態に変更している。
図18の説明に戻り、内部ネットワーク中継装置300bの障害確認制御部322は、受信判定制御部321で既定外インタフェース受信処理を終了すると、ステップS500である内部ネットワーク中継装置障害検知処理を実施する。障害確認制御部322は、既定外インタフェース受信処理によって特定された内部ネットワーク中継装置300aの監視対象のネットワークインタフェース31a、33aの状態が正常であるため、処理を終了する。
同様に、外部ネットワーク中継装置200a、外部ネットワーク中継装置200cのそれぞれから、リンクアグリゲーション50a、リンクアグリゲーション50cのネットワークインタフェース31b、33bを介して、ネットワークインタフェース21a、21cに転送されるデータフレームを受信した場合に、内部ネットワーク中継装置300bで保持する回線状態情報334の内部ネットワーク中継装置300aの監視対象となる全てのネットワークインタフェース31a,32a,33aが異常状態となることで、内部ネットワーク中継装置300bの障害確認制御部322は、運用装置として動作するように処理する。
FIG. 22 shows line state information 334 of each internal network relay device 300. As shown in FIG. 22, the network interface 32a of the internal network relay device 300a in the line state information 334 held by the internal network relay device 300b is changed to an abnormal state.
Returning to the description of FIG. 18, the failure confirmation control unit 322 of the internal network relay device 300b performs the internal network relay device failure detection processing in step S500 when the reception determination control unit 321 ends the non-default interface reception processing. The failure confirmation control unit 322 ends the process because the status of the network interfaces 31a and 33a to be monitored by the internal network relay device 300a specified by the non-default interface reception process is normal.
Similarly, when data frames transferred to the network interfaces 21a and 21c are received from the external network relay device 200a and the external network relay device 200c via the network interfaces 31b and 33b of the link aggregation 50a and the link aggregation 50c, respectively. In addition, since all the network interfaces 31a, 32a, 33a to be monitored by the internal network relay device 300a in the line status information 334 held by the internal network relay device 300b are in an abnormal state, the failure check of the internal network relay device 300b is performed. The control unit 322 performs processing so as to operate as an operation device.

図23は、図17に示すネットワーク構成、および状態からネットワークインタフェース32a、21b間の回線で障害が発生した場合における、各内部ネットワーク中継装置の動作を示す説明図である。
まず、内部ネットワーク中継装置300aの受信判定制御部321は、ネットワークインタフェース32aの障害を検知することで、ステップS200であるネットワークインタフェース状態変更処理を実行する。
内部ネットワーク中継装置300aの受信判定制御部321は、回線状態情報334のネットワークインタフェース32aの状態を異常状態に変更する。次にネットワークインタフェース32aに対応する回線内部番号を算出する。ただし、本実施例ではネットワークインタフェース32a以外にリンクアグリゲーション50bを構成するネットワークインタフェースは、内部ネットワーク中継装置300a内にはなく、かつネットワークインタフェース32aは障害であるため、回線内部番号を算出する処理は省略される。最後に内部ネットワーク中継装置300aの受信判定制御部321は、内部通信可能な内部ネットワーク中継装置300bに対して、ネットワークインタフェース32aの障害をインタフェース状態変更メッセージによって通知する。
FIG. 23 is an explanatory diagram showing the operation of each internal network relay device when a failure occurs in the line between the network interfaces 32a and 21b from the network configuration and state shown in FIG.
First, the reception determination control unit 321 of the internal network relay device 300a detects the failure of the network interface 32a, and executes the network interface state change process in step S200.
The reception determination control unit 321 of the internal network relay device 300a changes the state of the network interface 32a in the line state information 334 to an abnormal state. Next, the line internal number corresponding to the network interface 32a is calculated. However, in the present embodiment, the network interface constituting the link aggregation 50b other than the network interface 32a is not in the internal network relay device 300a, and the network interface 32a is a failure, so the process of calculating the line internal number is omitted. Is done. Finally, the reception determination control unit 321 of the internal network relay device 300a notifies the internal network relay device 300b capable of internal communication of the failure of the network interface 32a by an interface state change message.

内部ネットワーク中継装置300bの受信判定制御部321は、内部ネットワーク中継装置300aからインタフェース状態変更メッセージを受信することで、ステップS300であるインタフェース状態変更メッセージ受信処理を開始する。内部ネットワーク中継装置300bの受信判定制御部321は、インタフェース状態変更メッセージからネットワークインタフェース32aの障害を検知し、回線状態情報334のネットワークインタフェース32aの状態を異常状態に変更する。次にネットワークインタフェース32aと同じリンクアグリゲーション50bを構成する内部ネットワーク中継装置300bのネットワークインタフェース32bの回線内部番号を再計算し、受信インタフェース判定情報を更新する。本実施例では、リンクアグリゲーション50bを構成するネットワークインタフェースは、ネットワークインタフェース32bのみであるため、回線内部番号は0となる。
The reception determination control unit 321 of the internal network relay device 300b starts the interface state change message reception process in step S300 by receiving the interface state change message from the internal network relay device 300a. The reception determination control unit 321 of the internal network relay device 300b detects a failure of the network interface 32a from the interface state change message, and changes the state of the network interface 32a in the line state information 334 to an abnormal state. Next, the line internal number of the network interface 32b of the internal network relay device 300b configuring the same link aggregation 50b as the network interface 32a is recalculated, and the reception interface determination information is updated. In this embodiment, since the network interface constituting the link aggregation 50b is only the network interface 32b, the line internal number is 0.

(構成例)
第1実施例のネットワーク中継装置は、例えば、
複数のネットワーク中継装置(内部ネットワーク中継装置)によりひとつの仮想ネットワーク中継装置を構成し、該複数のネットワーク中継装置は、外部ネットワーク中継装置にそれぞれ接続されて冗長構成をとり、該外部ネットワーク中継装置から各ネットワーク中継装置へのデータフレームは、該外部ネットワーク中継装置のフローベース負荷分散機構により、データフレーム内の所定のフロー識別子に基づいて予め定められた振り分け規則(回線内部番号の算出方法)に従い、フロー(回線内部番号)に応じてネットワーク中継装置に振り分けて送信されるネットワークシステムにおけるネットワーク中継装置であって、
前記外部ネットワーク中継装置からデータフレームを受信するインタフェースと、
前記振り分け規則に従い該インタフェースで受信するフローを識別するフロー識別情報(回線内部番号)が予め記憶された受信インタフェース判定情報記憶領域と、
前記インタフェースを介して受信したデータフレーム内の前記フロー識別子に基づきフローを識別し(回線内部番号を求め)、該フロー(回線内部番号)と、前記受信判定情報記憶領域に記憶されたフロー識別情報(回線内部番号)が示すフローが一致しない場合、既定外のインタフェースでデータフレームを受信したと判断する受信インタフェース判定部と
を備える。
(Configuration example)
The network relay device of the first embodiment is, for example,
A plurality of network relay devices (internal network relay devices) constitute one virtual network relay device, and the plurality of network relay devices are connected to external network relay devices to form a redundant configuration. The data frame to each network relay device is subjected to a distribution rule (a method for calculating the line internal number) determined in advance based on a predetermined flow identifier in the data frame by the flow-based load distribution mechanism of the external network relay device. A network relay device in a network system that is distributed and transmitted to a network relay device according to a flow (line internal number),
An interface for receiving a data frame from the external network relay device;
A reception interface determination information storage area in which flow identification information (line internal number) for identifying a flow received by the interface according to the distribution rule is stored in advance;
The flow is identified based on the flow identifier in the data frame received via the interface (the line internal number is obtained), and the flow (line internal number) and the flow identification information stored in the reception determination information storage area A reception interface determination unit that determines that a data frame is received by a non-default interface when the flows indicated by (line internal number) do not match;

また、第1実施例のネットワーク中継装置は、例えば、
複数のネットワーク中継装置の冗長構成によりひとつの仮想ネットワーク中継装置を構成し、該複数のネットワーク中継装置は、外部ネットワーク中継装置にそれぞれ接続され、該外部ネットワーク中継装置から各ネットワーク中継装置へのデータフレームは、該外部ネットワーク中継装置のフローベース負荷分散機構により、該データフレーム内の予め定められたフロー識別子の内容と第1冗長構成情報(冗長回線数)とに基づき予め定められた振り分け規則(回線内部番号の算出方法)で求まる第1出力情報(回線内部番号)に従い、各ネットワーク中継装置に振り分けて送信され、前記複数のネットワーク中継装置のいずれか又は前記複数のネットワーク中継装置と接続する複数の回線のいずれかに障害が発生すると、該ネットワーク中継装置を除外した第2冗長構成情報(冗長回線数)と前記フロー識別子の内容とに基づき前記振り分け規則で求まる第2出力情報(回線内部番号)に従い、前記外部ネットワーク中継装置からデータフレームが送信されるネットワークシステムにおける前記ネットワーク中継装置であって、
前記外部ネットワーク中継装置からデータフレームを受信するインタフェースと、
前記外部ネットワーク中継装置が第1及び第2出力情報を求めるのに用いる前記フロー識別子の種別と第1冗長構成情報とが予め記憶され、及び、前記インタフェースに対応する前記第1出力情報が予め記憶された受信インタフェース判定情報記憶領域と、
前記受信インタフェース判定情報記憶領域に記憶されたフロー識別子の種別に従い、前記インタフェースで受信したデータフレームから、前記フロー識別子の内容を抽出し、抽出された情報と、記憶された第1冗長構成情報とに基づき前記振り分け規則で第3出力情報(回線内部番号)を求め、該第3出力情報と前記受信インタフェース判定情報記憶領域に記憶された第1出力情報が一致しない場合に、既定外のインタフェースでデータフレームを受信したと判断する受信インタフェース判定部と
を備える。
The network relay device of the first embodiment is, for example,
A virtual network relay device is configured by a redundant configuration of a plurality of network relay devices, and the plurality of network relay devices are respectively connected to external network relay devices, and data frames from the external network relay device to each network relay device Is determined by the flow-based load distribution mechanism of the external network relay device based on a predetermined distribution rule (line) based on the predetermined flow identifier content in the data frame and the first redundant configuration information (number of redundant lines). In accordance with the first output information (line internal number) obtained by the internal number calculation method), a plurality of network relay devices that are distributed and transmitted and connected to any one of the plurality of network relay devices or the plurality of network relay devices If one of the lines fails, the network A data frame is transmitted from the external network relay device according to the second output information (line internal number) obtained by the distribution rule based on the second redundant configuration information (number of redundant lines) excluding the relay device and the content of the flow identifier. The network relay device in a network system to be operated,
An interface for receiving a data frame from the external network relay device;
The type of the flow identifier and the first redundant configuration information used by the external network relay device for obtaining the first and second output information are stored in advance, and the first output information corresponding to the interface is stored in advance. Received reception interface determination information storage area,
According to the type of the flow identifier stored in the reception interface determination information storage area, the content of the flow identifier is extracted from the data frame received by the interface, the extracted information, the stored first redundancy configuration information, 3rd output information (line internal number) is obtained based on the distribution rule, and when the third output information does not match the first output information stored in the reception interface determination information storage area, A reception interface determination unit that determines that the data frame has been received.

B1.第1の実施例における変形例1:
第1実施例における変形例1では、ネットワーク中継システム30と外部ネットワーク中継装置200の冗長化技術として、リンクアグリゲーションの代わりにIPルーティングにおけるイコールコストマルチパスを冗長化技術によって接続する。
第1実施例の変形例1によれば、IPルーティングにおけるイコールコストマルチパスを冗長化技術として適用可能となる。
B1. Modification 1 in the first embodiment 1:
In the first modification of the first embodiment, as a redundancy technique for the network relay system 30 and the external network relay apparatus 200, equal cost multipaths in IP routing are connected by a redundancy technique instead of link aggregation.
According to the first modification of the first embodiment, equal cost multipath in IP routing can be applied as a redundancy technique.

B2.第1の実施例における変形例2:
第1実施例における変形例2では、外部ネットワーク中継装置200のフローベース負荷分散機構が異なる。変形例2では、個々のフロー識別子に対してデータフレームを出力するネットワークインタフェースを決定する振分け方式が適用される。振分け方式を図1に示すネットワーク構成例、図17の設定例に基づいて説明する。
図24、図25、図26は、外部ネットワーク中継装置200におけるリンクアグリゲーション50の設定内容を示す説明図である。
図24は、外部ネットワーク中継装置200aがリンクアグリゲーション50aからデータフレームを送信する場合に使用するテーブルの説明図である。図24のリンクアグリゲーションテーブルは、図2と同様であるため説明を省略する。
図24の例では、フロー識別子としてVLAN番号を使用する。
B2. Modification 2 in the first embodiment:
In the second modification in the first embodiment, the flow-based load distribution mechanism of the external network relay device 200 is different. In the second modification, a distribution method for determining a network interface that outputs a data frame for each flow identifier is applied. The distribution method will be described based on the network configuration example shown in FIG. 1 and the setting example shown in FIG.
24, 25, and 26 are explanatory diagrams illustrating setting contents of the link aggregation 50 in the external network relay device 200.
FIG. 24 is an explanatory diagram of a table used when the external network relay device 200a transmits a data frame from the link aggregation 50a. The link aggregation table in FIG. 24 is the same as that in FIG.
In the example of FIG. 24, a VLAN number is used as a flow identifier.

図24のリンクアグリゲーション構成テーブルの第1列には、「リンクアグリゲーション」としてリンクアグリゲーションを特定する符号を示している。図24のリンクアグリゲーション構成テーブルの第2列には、「フロー識別子」として第1列に示すリンクアグリゲーションで適用するフロー識別子を示している。図24のリンクアグリゲーション構成テーブルの第3列には、「第1ネットワークインタフェース」として第2列に示すフロー識別子を持つデータフレームを出力するネットワークインタフェースを特定する符号を示している。図24のリンクアグリゲーション構成テーブルの第4列には、「第2ネットワークインタフェース」として、第3列に示すネットワークインタフェースが通信不可となった場合、第2列に示すフロー識別子を持つデータフレームを出力するネットワークインタフェースを特定する符号を示している。
本実施例では、リンクアグリゲーション構成テーブルのフロー識別子としてVLAN番号のみを使用しているが、他の実施形態において、MACアドレスやVLANなど、複数のフロー識別子を組み合わせてもよい。
また、本実施例では、リンクアグリゲーション構成テーブルのフロー識別子に対して出力するネットワークインタフェースとして、第1ネットワークインタフェース、第2ネットワークインタフェースと2つの候補を示しているが、他の実施形態において、出力するネットワークインタフェースの候補は1つであっても良いし、3つ以上あってもよい。
In the first column of the link aggregation configuration table in FIG. 24, codes for specifying link aggregation as “link aggregation” are shown. In the second column of the link aggregation configuration table of FIG. 24, the flow identifier applied in the link aggregation shown in the first column is shown as “flow identifier”. In the third column of the link aggregation configuration table of FIG. 24, codes that identify network interfaces that output data frames having the flow identifiers shown in the second column as “first network interfaces” are shown. In the fourth column of the link aggregation configuration table of FIG. 24, when the network interface shown in the third column becomes unable to communicate as the “second network interface”, a data frame having the flow identifier shown in the second column is output. The code | symbol which identifies the network interface to perform is shown.
In this embodiment, only the VLAN number is used as the flow identifier of the link aggregation configuration table. However, in other embodiments, a plurality of flow identifiers such as a MAC address and a VLAN may be combined.
Further, in this embodiment, two candidates are shown as the first network interface and the second network interface as the network interface to be output for the flow identifier of the link aggregation configuration table. There may be one network interface candidate, or three or more network interface candidates.

図25は、外部ネットワーク中継装置200bがリンクアグリゲーション50bからデータフレームを送信する場合に使用するテーブルの説明図である。図25は、図24と同様であるため説明を省略する。
図26は、外部ネットワーク中継装置200cがリンクアグリゲーション50cからデータフレームを送信する場合に使用するテーブルの説明図である。図26は、図24の同様であるため説明を省略する。
FIG. 25 is an explanatory diagram of a table used when the external network relay device 200b transmits a data frame from the link aggregation 50b. FIG. 25 is the same as FIG.
FIG. 26 is an explanatory diagram of a table used when the external network relay device 200c transmits a data frame from the link aggregation 50c. Since FIG. 26 is the same as FIG. 24, description thereof is omitted.

図27、図28は、第1の実施例における変形例2の内部ネットワーク中継装置300の受信インタフェース判定情報351の設定内容を示す説明図である。
図27は、第1の実施例における変形例2の内部ネットワーク中継装置300aの受信インタフェース判定情報351aの説明図である。図27の受信判定用リンクアグリゲーションテーブルは、図7と同様であるため説明を省略する。
図27の受信判定用リンクアグリゲーション構成テーブルの第1列には、「リンクアグリゲーション」としてリンクアグリゲーションを特定する符号を示している。図27の受信判定用リンクアグリゲーション構成テーブルの第2列には、「フロー識別子」として第1列に示すリンクアグリゲーションで適用するフロー識別子を示している。図27の受信判定用リンクアグリゲーション構成テーブルの第3列には、「ネットワークインタフェース」として第2列に示すフロー識別子を持つデータフレームを受信するネットワークインタフェースを特定する符号を示している。なお、ネットワークインタフェースが「−」で示される場合、対応するフロー識別子のデータを受信するネットワークインタフェースがないことを示す。
本実施例では、受信判定用リンクアグリゲーション構成テーブルのフロー識別子としてVLAN番号のみを使用しているが、他の実施形態において、MACアドレスとVLANなど、複数のフロー識別子を組み合わせてもよい。
FIGS. 27 and 28 are explanatory diagrams illustrating setting contents of the reception interface determination information 351 of the internal network relay device 300 according to the second modification of the first embodiment.
FIG. 27 is an explanatory diagram of the reception interface determination information 351a of the internal network relay device 300a according to Modification 2 of the first embodiment. The reception determination link aggregation table of FIG. 27 is the same as that of FIG.
In the first column of the reception determination link aggregation configuration table in FIG. 27, codes for specifying link aggregation as “link aggregation” are shown. In the second column of the reception determination link aggregation configuration table of FIG. 27, the flow identifier applied in the link aggregation shown in the first column as the “flow identifier” is shown. In the third column of the reception determination link aggregation configuration table of FIG. 27, codes that identify network interfaces that receive data frames having the flow identifiers shown in the second column as “network interfaces” are shown. When the network interface is indicated by “−”, it indicates that there is no network interface that receives the data of the corresponding flow identifier.
In the present embodiment, only the VLAN number is used as the flow identifier of the reception determination link aggregation configuration table. However, in other embodiments, a plurality of flow identifiers such as a MAC address and a VLAN may be combined.

図28は、第1の実施例における変形例2における内部ネットワーク中継装置300bの受信インタフェース判定情報351bの説明図である。図28は、図27と同様であるため、説明を省略する。
第1の実施例における変形例2では、外部ネットワーク中継装置200のフローベース負荷分散機構が異なる。変形例2では、個々のフロー識別子に対してデータフレームを出力するネットワークインタフェースを決定する振分け方式が適用される。振分け方式を図1に示すネットワーク構成例、図17に関連する設定例に基づいて説明する。
第1の実施例の変形例2において、データフレームD110は、まず、外部ネットワーク中継装置200bで受信され、リンクアグリゲーション50bに転送される。リンクアグリゲーション50bに転送される場合、外部ネットワーク中継装置200bは、図25に示すテーブルを用いてデータフレームD110を出力するネットワークインタフェースを決定する。第1の実施例における変形例2での具体的なネットワークインタフェースの決定方法を説明する。図25のリンクアグリゲーションテーブルからフロー識別子として使用するフロー識別子を決定する。図25からフロー識別子として、VLANを使用するため、データフレームD110内のVLAN1を抽出する。図25のリンクアグリゲーション構成テーブルからVLAN1に対応するネットワークインタフェースは、第1ネットワークインタフェースとして登録されているネットワークインタフェース21bであるため、データフレームはネットワークインタフェース21bから出力される。
FIG. 28 is an explanatory diagram of the reception interface determination information 351b of the internal network relay device 300b according to the second modification of the first embodiment. Since FIG. 28 is the same as FIG. 27, description thereof is omitted.
In the second modification of the first embodiment, the flow-based load distribution mechanism of the external network relay device 200 is different. In the second modification, a distribution method for determining a network interface that outputs a data frame for each flow identifier is applied. The distribution method will be described based on the network configuration example shown in FIG. 1 and the setting example related to FIG.
In the second modification of the first embodiment, the data frame D110 is first received by the external network relay device 200b and transferred to the link aggregation 50b. When transferred to the link aggregation 50b, the external network relay device 200b determines the network interface that outputs the data frame D110 using the table shown in FIG. A specific network interface determination method according to the second modification of the first embodiment will be described. A flow identifier to be used as a flow identifier is determined from the link aggregation table of FIG. Since VLAN is used as the flow identifier from FIG. 25, VLAN1 in the data frame D110 is extracted. Since the network interface corresponding to VLAN 1 is the network interface 21b registered as the first network interface from the link aggregation configuration table of FIG. 25, the data frame is output from the network interface 21b.

内部ネットワーク中継装置300aは、ネットワークインタフェース32aからデータフレームを受信すると、図27で示した受信インタフェース判定情報351の受信判定用リンクアグリゲーション構成テーブルからリンクアグリゲーション50bで使用するフロー識別子を決定する。フロー識別子として、外部ネットワーク中継装置200bと同じVLAN番号を使用する。内部ネットワーク中継装置300aは、データフレームD110内のVLAN1を抽出する。次に図27の受信判定用リンクアグリゲーション構成テーブルとデータフレームから抽出したフロー識別子「VLAN1」からネットワークインタフェース32aを算出する。図27のから算出されたネットワークインタフェースと、データフレームを受信したネットワークインタフェース32aは同一であるため、内部ネットワーク中継装置300aは、データフレームを外部ネットワーク中継装置200aに転送して処理を終了する。   When the internal network relay device 300a receives the data frame from the network interface 32a, the internal network relay device 300a determines a flow identifier to be used in the link aggregation 50b from the reception determination link aggregation configuration table of the reception interface determination information 351 shown in FIG. The same VLAN number as that of the external network relay device 200b is used as the flow identifier. The internal network relay device 300a extracts VLAN1 in the data frame D110. Next, the network interface 32a is calculated from the reception determination link aggregation configuration table of FIG. 27 and the flow identifier “VLAN1” extracted from the data frame. Since the network interface calculated from FIG. 27 is the same as the network interface 32a that has received the data frame, the internal network relay device 300a transfers the data frame to the external network relay device 200a and ends the process.

次に図18に基づいて、第1の実施例における変形例2での、内部ネットワーク中継装置300aが障害となった場合の内部ネットワーク中継装置300の動作を説明する。
内部ネットワーク中継装置300aの障害によって、ネットワークインタフェース31a、21a間の回線、ネットワークインタフェース32a、21b間の回線、ネットワークインタフェース33a、21c、およびネットワークインタフェース34a、34b間の回線が通信不可となる。
内部ネットワーク中継装置300bの障害確認制御部322で実施する内部ネットワーク中継装置障害検知処理と、内部ネットワーク中継装置障害確認処理は、図18等の上述の説明と同様であるため省略する。
Next, based on FIG. 18, the operation of the internal network relay device 300 when the internal network relay device 300a becomes a failure in Modification 2 of the first embodiment will be described.
Due to the failure of the internal network relay device 300a, communication between the network interfaces 31a and 21a, the network interfaces 32a and 21b, the network interfaces 33a and 21c, and the network interfaces 34a and 34b becomes impossible.
The internal network relay device failure detection process and the internal network relay device failure check process performed by the failure check control unit 322 of the internal network relay device 300b are the same as those described above with reference to FIG.

データフレームD110の転送に基づいて、内部ネットワーク中継装置300aの障害を検知するための各装置の動作を説明する。
第1の実施例における変形例2で、図18の例では、データフレームD110は、まず、外部ネットワーク中継装置200bで受信され、リンクアグリゲーション50bに転送される。リンクアグリゲーション50bに転送される場合、外部ネットワーク中継装置200bは、図25に示すテーブルを用いてデータフレームを出力するネットワークインタフェースを決定する。データフレームを出力するネットワークインタフェースの決定方法は図25のリンクアグリゲーションテーブルからフロー識別子として使用するフロー識別子を決定する。図25からフロー識別子として、VLANを使用するため、データフレームD110内のVLAN1を抽出する。図25のリンクアグリゲーション構成テーブルからVLAN1に対応するネットワークインタフェースは、第1ネットワークインタフェースとして登録されているネットワークインタフェース21bであるが、ネットワークインタフェース21bは通信不可のため、第2ネットワークインタフェースとして登録されているネットワークインタフェース22bが選択される。このため、データフレームはネットワークインタフェース22bから出力される。
The operation of each device for detecting a failure of the internal network relay device 300a based on the transfer of the data frame D110 will be described.
In the second modification of the first embodiment and in the example of FIG. 18, the data frame D110 is first received by the external network relay device 200b and transferred to the link aggregation 50b. When the data is transferred to the link aggregation 50b, the external network relay device 200b determines a network interface that outputs a data frame using the table shown in FIG. As a method for determining a network interface that outputs a data frame, a flow identifier to be used as a flow identifier is determined from the link aggregation table of FIG. Since VLAN is used as the flow identifier from FIG. 25, VLAN1 in the data frame D110 is extracted. The network interface corresponding to VLAN1 from the link aggregation configuration table of FIG. 25 is the network interface 21b registered as the first network interface, but the network interface 21b is registered as the second network interface because communication is not possible. The network interface 22b is selected. Therefore, the data frame is output from the network interface 22b.

内部ネットワーク中継装置300bは、ネットワークインタフェース32bからデータフレームを受信すると、図28で示した受信インタフェース判定情報351の受信判定用リンクアグリゲーション構成テーブルからリンクアグリゲーション50bで使用するフロー識別子を決定する。フロー識別子として、外部ネットワーク中継装置200bと同じVLAN番号を使用する。内部ネットワーク中継装置300bは、データフレームD110内のVLAN1を抽出する。次に図28の受信判定用リンクアグリゲーション構成テーブルとデータフレームから抽出したフロー識別子「VLAN1」から対応するネットワークインタフェースがないことを判断する。図28から得られたネットワークインタフェース(この場合は該当インタフェースなし)と、データフレームを受信したネットワークインタフェース32aは異なるため、受信インタフェース判定部361は、制御部310の受信判定制御部321に対して既定外インタフェース受信を通知し、データフレームを外部ネットワーク中継装置200aに転送する。
既定外インタフェース受信を受けた制御部310の受信判定制御部321は、障害が発生したネットワークインタフェースと、障害が発生したネットワークインタフェースを保持する内部ネットワーク中継装置300を特定する。
When the internal network relay device 300b receives the data frame from the network interface 32b, the internal network relay device 300b determines a flow identifier to be used in the link aggregation 50b from the reception determination link aggregation configuration table of the reception interface determination information 351 shown in FIG. The same VLAN number as that of the external network relay device 200b is used as the flow identifier. The internal network relay device 300b extracts VLAN1 in the data frame D110. Next, it is determined that there is no corresponding network interface from the reception determination link aggregation configuration table of FIG. 28 and the flow identifier “VLAN1” extracted from the data frame. Since the network interface obtained from FIG. 28 (in this case, there is no corresponding interface) and the network interface 32a that has received the data frame are different, the reception interface determination unit 361 has a default setting for the reception determination control unit 321 of the control unit 310. The reception of the external interface is notified, and the data frame is transferred to the external network relay device 200a.
The reception determination control unit 321 of the control unit 310 that receives the non-default interface reception identifies the network interface in which the failure has occurred and the internal network relay device 300 that holds the network interface in which the failure has occurred.

本実施例では、内部ネットワーク中継装置300は、図25の外部ネットワーク中継装置200bのリンクアグリゲーションの設定内容を、制御部310(例えば、記憶部330)に保持する、ただし、図25の「第1ネットワークインタフェース」、「第2ネットワークインタフェース」は内部ネットワーク中継装置で保持するネットワークインタフェースに変換した状態で保持している。例えば、ネットワークインタフェース21bは、内部ネットワーク中継装置300aのネットワークインタフェース32aと接続しているため、リンクアグリゲーション50bの第1ネットワークインタフェースとして32aが登録された状態で保持するものとする。同様に、ネットワークインタフェース22bは、ネットワークインタフェース32bとして登録される。また、内部ネットワーク中継装置300の制御部310(記憶部330)は、接続される他の外部ネットワーク中継装置200のリンクアグリゲーション構成テーブルを同様に保持する。   In the present embodiment, the internal network relay device 300 holds the setting contents of the link aggregation of the external network relay device 200b in FIG. 25 in the control unit 310 (for example, the storage unit 330), provided that “first” in FIG. The “network interface” and “second network interface” are held in a state of being converted into network interfaces held by the internal network relay device. For example, since the network interface 21b is connected to the network interface 32a of the internal network relay device 300a, the network interface 21b is held in a state where 32a is registered as the first network interface of the link aggregation 50b. Similarly, the network interface 22b is registered as the network interface 32b. Further, the control unit 310 (storage unit 330) of the internal network relay device 300 similarly holds the link aggregation configuration table of the other connected external network relay device 200.

内部ネットワーク中継装置300bの受信判定制御部321は、リンクアグリゲーション50bのネットワークインタフェース32bでVLAN1のフロー識別子を持つデータフレームを受信したことから、ネットワークインタフェース32bよりも優先度の高いネットワークインタフェースで障害を発生したことを検知することができる。ネットワークインタフェース32bは第2ネットワークインタフェースとして登録されているため、障害の発生したネットワークインタフェースは第1ネットワークインタフェースである32aを障害の発生したネットワークインタフェースとして特定することができる。また、ネットワークインタフェース32aを保持する内部ネットワーク中継装置300として、内部ネットワーク中継装置300aを特定する。
制御部310の受信判定制御部321は、既定外インタフェース受信通知を受けてからの制御部310の受信判定制御部321、障害確認制御部322の処理は図18等の上述の説明と同様であるため説明を省略する。
第1の実施例における変形例2によれば、フロー識別子から状態が変更されたネットワークインタフェースを特定することが容易になるため、リンクアグリゲーションを構成する回線数を3以上にすることが可能となる。また、特定のリンクアグリゲーションを構成する回線を1つの内部ネットワーク中継装置300に2本以上接続することができる。
The reception determination control unit 321 of the internal network relay device 300b has received a data frame having a flow identifier of VLAN1 at the network interface 32b of the link aggregation 50b, and therefore a failure has occurred in a network interface having a higher priority than the network interface 32b. Can be detected. Since the network interface 32b is registered as the second network interface, the failed network interface can identify the first network interface 32a as the failed network interface. Further, the internal network relay device 300a is specified as the internal network relay device 300 that holds the network interface 32a.
The reception determination control unit 321 of the control unit 310 receives the non-default interface reception notification, and the processes of the reception determination control unit 321 and the failure confirmation control unit 322 of the control unit 310 are the same as described above with reference to FIG. Therefore, explanation is omitted.
According to the second modification of the first embodiment, it becomes easy to specify the network interface whose state has been changed from the flow identifier, and therefore the number of lines constituting the link aggregation can be increased to three or more. . Further, two or more lines constituting a specific link aggregation can be connected to one internal network relay device 300.

(構成例)
本変形例のネットワーク中継装置は、例えば、
複数のネットワーク中継装置によりひとつの仮想ネットワーク中継装置を構成し、該複数のネットワーク中継装置は、外部ネットワーク中継装置にそれぞれ接続されて冗長構成をとり、該外部ネットワーク中継装置から各ネットワーク中継装置へのデータフレームは、該外部ネットワーク中継装置のフローベース負荷分散機構により、データフレーム内の所定のフロー識別子(例えばVLAN番号)に基づいて予め定められた振り分け規則(フロー識別子と出力インタフェースが対応)に従い、フローに応じてネットワーク中継装置に振り分けて送信されるネットワークシステムにおける前記ネットワーク中継装置であって、
前記外部ネットワーク中継装置からデータフレームを受信するインタフェースと、
前記振り分け規則に従い該インタフェースで受信するフローを識別するフロー識別情報(例えばVLAN番号)が予め記憶された受信インタフェース判定情報記憶領域と、
前記インタフェースを介して受信したデータフレーム内の前記フロー識別子に基づきフロー(VALN)を識別し、該フローと、前記受信判定情報記憶領域に記憶されたフロー識別情報が示すフローが一致しない場合、既定外のインタフェースでデータフレームを受信したと判断する受信インタフェース判定部と
を備える。
(Configuration example)
The network relay device of this modification is, for example,
A plurality of network relay devices constitute one virtual network relay device, and the plurality of network relay devices are connected to external network relay devices to form a redundant configuration, and the external network relay devices are connected to each network relay device. The data frame is distributed according to a predetermined distribution rule (corresponding to the flow identifier and the output interface) based on a predetermined flow identifier (for example, VLAN number) in the data frame by the flow-based load distribution mechanism of the external network relay device. The network relay device in a network system that is distributed and transmitted to a network relay device according to a flow,
An interface for receiving a data frame from the external network relay device;
A reception interface determination information storage area in which flow identification information (for example, VLAN number) for identifying a flow received by the interface according to the distribution rule is stored in advance;
A flow (VALN) is identified based on the flow identifier in a data frame received via the interface, and the flow and the flow indicated by the flow identification information stored in the reception determination information storage area do not match. A reception interface determination unit that determines that the data frame has been received by an external interface.

また、本変形例のネットワーク中継装置は、例えば、
複数のネットワーク中継装置の冗長構成によりひとつの仮想ネットワーク中継装置を構成し、該複数のネットワーク中継装置は、外部ネットワーク中継装置にそれぞれ接続され、該外部ネットワーク中継装置から各ネットワーク中継装置へのデータフレームは、該外部ネットワーク中継装置のフローベース負荷分散機構により、該データフレーム内の予め定められたフロー識別子の内容(例えばVLAN番号)と第1冗長構成情報(フロー識別子と出力インタフェースが対応)とに基づき求まる第1出力情報(出力インタフェース)に従い、各ネットワーク中継装置に振り分けて送信され、前記複数のネットワーク中継装置のいずれか又は前記複数のネットワーク中継装置と接続する複数の回線のいずれかに障害が発生すると、該ネットワーク中継装置を除外した第2冗長構成情報(フロー識別子と出力インタフェースが対応)と前記フロー識別子の内容(例えばVLAN番号)とに基づき求まる第2出力情報(出力インタフェース)に従い、前記外部ネットワーク中継装置からデータフレームが送信されるネットワークシステムにおける前記ネットワーク中継装置であって、
前記外部ネットワーク中継装置からデータフレームを受信するインタフェースと、
前記外部ネットワーク中継装置が第1及び第2出力情報を求めるのに用いる前記フロー識別子の種別(例えばVLAN)が予め記憶され、及び、フロー識別子の内容(例えばVLAN番号)と該フローのデータフレームを受信する前記インタフェースの識別子が予め記憶された受信インタフェース判定情報記憶領域と、
前記受信インタフェース判定情報記憶領域に記憶されたフロー識別子の種別に従い、前記インタフェースで受信したデータフレームから、前記フロー識別子の内容(例えばVLAN番号)を抽出し、前記受信インタフェース判定情報記憶領域を参照して抽出された情報に対応するインタフェース識別子と、データフレームを受信した前記インタフェースが一致しない場合に、既定外のインタフェースでデータフレームを受信したと判断する受信インタフェース判定部と
を備える。
In addition, the network relay device of this modification example is, for example,
A virtual network relay device is configured by a redundant configuration of a plurality of network relay devices, and the plurality of network relay devices are respectively connected to external network relay devices, and data frames from the external network relay device to each network relay device The flow-based load distribution mechanism of the external network relay device converts the predetermined flow identifier content (for example, VLAN number) in the data frame and the first redundant configuration information (corresponding to the flow identifier and the output interface). In accordance with the first output information (output interface) obtained based on this, a fault is found in one of the plurality of network relay devices or a plurality of lines connected to the plurality of network relay devices. When it occurs, the network From the external network relay device according to the second output information (output interface) obtained based on the second redundant configuration information excluding the relay device (corresponding to the flow identifier and the output interface) and the content of the flow identifier (for example, VLAN number). The network relay device in a network system to which a data frame is transmitted,
An interface for receiving a data frame from the external network relay device;
The type (for example, VLAN) of the flow identifier used by the external network relay device to obtain the first and second output information is stored in advance, and the content (for example, VLAN number) of the flow identifier and the data frame of the flow are stored. A reception interface determination information storage area in which an identifier of the interface to be received is stored in advance;
According to the type of the flow identifier stored in the reception interface determination information storage area, the content of the flow identifier (for example, a VLAN number) is extracted from the data frame received by the interface, and the reception interface determination information storage area is referred to An interface identifier corresponding to the extracted information and a reception interface determination unit that determines that the data frame is received by a non-default interface when the interface that received the data frame does not match.

本発明は、例えば、複数のネットワーク中継装置により仮想ネットワーク中継装置を構成するネットワークシステムに利用可能である。   The present invention can be used, for example, in a network system in which a virtual network relay device is configured by a plurality of network relay devices.

30:仮想ネットワーク中継装置
200a、200b、200c:外部ネットワーク中継装置
300a、300b:内部ネットワーク中継装置
400a、400b、400c:外部ネットワーク
310:制御部
320:CPU(Central Processing Unit)
321:受信判定制御部
322:障害確認制御部
330:記憶部
331:制御プログラム
332:管理情報
333:設定情報
334:回線状態情報
340:転送部
350:記憶部
351:受信インタフェース判定情報
360:処理部
361:受信インタフェース判定部
390:ネットワークインタフェース
21a、22a、21b、22b、21c、22c、31a、32a、33a、34a、31b、32b、33b、34b:ネットワークインタフェース
50a、50b、50c:リンクアグリゲーション
600a、600b、600c、600d、600e、600f:端末装置
30: Virtual network relay devices 200a, 200b, 200c: External network relay devices 300a, 300b: Internal network relay devices 400a, 400b, 400c: External network 310: Control unit 320: CPU (Central Processing Unit)
321: Reception determination control unit 322: Failure confirmation control unit 330: Storage unit 331: Control program 332: Management information 333: Setting information 334: Line state information 340: Transfer unit 350: Storage unit 351: Reception interface determination information 360: Processing Unit 361: reception interface determination unit 390: network interface 21a, 22a, 21b, 22b, 21c, 22c, 31a, 32a, 33a, 34a, 31b, 32b, 33b, 34b: network interface 50a, 50b, 50c: link aggregation 600a , 600b, 600c, 600d, 600e, 600f: terminal device

Claims (10)

複数のネットワーク中継装置によりひとつの仮想ネットワーク中継装置を構成し、該複数のネットワーク中継装置は、外部ネットワーク中継装置にそれぞれ接続されて冗長構成をとり、該外部ネットワーク中継装置から各ネットワーク中継装置へのデータフレームは、該外部ネットワーク中継装置のフローベース負荷分散機構により、データフレーム内の所定のフロー識別子に基づいて予め定められた振り分け規則に従い、フローに応じてネットワーク中継装置に振り分けて送信されるネットワークシステムにおける前記ネットワーク中継装置であって、
前記外部ネットワーク中継装置からデータフレームを受信するインタフェースと、
前記振り分け規則に従い該インタフェースで受信するフローを識別するフロー識別情報が予め記憶された受信インタフェース判定情報記憶領域と、
前記インタフェースを介して受信したデータフレーム内の前記フロー識別子に基づきフローを識別し、該フローと、前記受信インタフェース判定情報記憶領域に記憶されたフロー識別情報が示すフローが一致しない場合、既定外のインタフェースでデータフレームを受信したと判断する受信インタフェース判定部と
を備え
前記外部ネットワーク中継装置から各ネットワーク中継装置へのデータフレームは、該外部ネットワーク中継装置のフローベース負荷分散機構により、該データフレーム内の予め定められたフロー識別子の内容と第1冗長構成情報とに基づき予め定められた振り分け規則で求まる第1出力情報に従い、各ネットワーク中継装置に振り分けて送信され、前記複数のネットワーク中継装置のいずれか又は前記複数のネットワーク中継装置と接続する複数の回線のいずれかに障害が発生すると、該ネットワーク中継装置を除外した第2冗長構成情報と前記フロー識別子の内容とに基づき前記振り分け規則で求まる第2出力情報に従い、前記外部ネットワーク中継装置からデータフレームが送信され、
前記受信インタフェース判定情報記憶領域は、前記外部ネットワーク中継装置が第1及び第2出力情報を求めるのに用いる前記フロー識別子の種別と第1冗長構成情報とが予め記憶され、及び、前記インタフェースに対応するフロー識別情報である前記第1出力情報が予め記憶され、
前記受信インタフェース判定部は、前記受信インタフェース判定情報記憶領域に記憶されたフロー識別子の種別に従い、前記インタフェースで受信したデータフレームから、前記フロー識別子の内容を抽出し、抽出された情報と、記憶された第1冗長構成情報とに基づき前記振り分け規則で第3出力情報を求め、該第3出力情報と前記受信インタフェース判定情報記憶領域に記憶された第1出力情報が一致しない場合に、既定外のインタフェースでデータフレームを受信したと判断し、
前記ネットワーク中継装置は、前記インタフェースを複数備え、
各インタフェースが、複数の前記外部ネットワーク中継装置に接続され、
前記ネットワーク中継装置は、すべてのインタフェースで、既定外のインタフェースでデータフレームを受信したと判断されると、前記仮想ネットワーク中継装置を構成する他のネットワーク中継装置で障害が発生したと判断する制御部をさらに備える
前記ネットワーク中継装置。
A plurality of network relay devices constitute one virtual network relay device, and the plurality of network relay devices are connected to external network relay devices to form a redundant configuration, and the external network relay devices are connected to each network relay device. A network in which a data frame is distributed and transmitted to a network relay device according to a flow according to a predetermined distribution rule based on a predetermined flow identifier in the data frame by a flow-based load distribution mechanism of the external network relay device A network relay device in a system,
An interface for receiving a data frame from the external network relay device;
A reception interface determination information storage area in which flow identification information for identifying a flow received by the interface according to the distribution rule is stored in advance;
If the flow is identified based on the flow identifier in the data frame received via the interface, and the flow does not match the flow indicated by the flow identification information stored in the reception interface determination information storage area, A reception interface determination unit that determines that a data frame has been received by the interface ;
The data frame from the external network relay device to each network relay device is converted into the contents of the predetermined flow identifier in the data frame and the first redundant configuration information by the flow-based load distribution mechanism of the external network relay device. One of the plurality of network relay devices or a plurality of lines connected to the plurality of network relay devices that are distributed and transmitted to each network relay device in accordance with first output information obtained based on a predetermined distribution rule based on When a failure occurs, a data frame is transmitted from the external network relay device according to the second output information obtained by the distribution rule based on the second redundant configuration information excluding the network relay device and the content of the flow identifier,
The reception interface determination information storage area stores in advance the type of the flow identifier and the first redundant configuration information used by the external network relay device for obtaining the first and second output information, and corresponds to the interface The first output information which is flow identification information to be stored in advance,
The reception interface determination unit extracts the content of the flow identifier from the data frame received by the interface according to the type of the flow identifier stored in the reception interface determination information storage area, and stores the extracted information. If the third output information is obtained by the distribution rule based on the first redundant configuration information, and the third output information does not match the first output information stored in the reception interface determination information storage area, Judge that the interface received a data frame,
The network relay device includes a plurality of the interfaces,
Each interface is connected to a plurality of the external network relay devices,
The network relay device determines that a failure has occurred in another network relay device constituting the virtual network relay device when it is determined that a data frame has been received by a non-default interface at all interfaces. Further comprising
The network relay device.
請求項記載のネットワーク中継装置において、
前記振り分け規則はリンクアグリゲーション技術により予め定められた規則である前記ネットワーク中継装置。
The network relay device according to claim 1 ,
The network relay device, wherein the distribution rule is a rule determined in advance by a link aggregation technique.
請求項記載のネットワーク中継装置において、
前記仮想ネットワーク装置を構成する複数の前記ネットワーク中継装置のうち、外部ネットワーク中継装置と制御情報を送受信する運用装置が予め定められ、
前記制御部は、障害が発生したと判断された前記ネットワーク中継装置が運用装置の場合、自装置を運用装置とする前記ネットワーク中継装置。
The network relay device according to claim 1 ,
Among the plurality of network relay devices constituting the virtual network device, an operation device that transmits and receives control information to and from an external network relay device is predetermined,
When the network relay device determined to have failed is an operation device, the control unit uses the own device as the operation device.
請求項記載のネットワーク中継装置において、
運用装置以外の待機装置のうち、運用装置の障害時に代わりの運用装置として動作する待機装置が予め定められ、
前記制御部は、障害が発生したと判断された前記ネットワーク中継装置が運用装置であり、かつ、自装置が代わりの運用装置として動作する待機装置である場合、自装置を運用装置とする前記ネットワーク中継装置。
The network relay device according to claim 3 , wherein
Among standby devices other than the operation device, a standby device that operates as an alternative operation device in the event of a failure of the operation device is determined in advance,
When the network relay device determined to have failed is an operation device and the own device is a standby device that operates as an alternative operation device, the control unit uses the own device as the operation device. Relay device.
複数のネットワーク中継装置によりひとつの仮想ネットワーク中継装置を構成し、該複数のネットワーク中継装置は、外部ネットワーク中継装置にそれぞれ接続されて冗長構成をとり、該外部ネットワーク中継装置から各ネットワーク中継装置へのデータフレームは、該外部ネットワーク中継装置のフローベース負荷分散機構により、データフレーム内の所定のフロー識別子に基づいて予め定められた振り分け規則に従い、フローに応じてネットワーク中継装置に振り分けて送信されるネットワークシステムにおける前記ネットワーク中継装置であって、
前記外部ネットワーク中継装置からデータフレームを受信するインタフェースと、
前記振り分け規則に従い該インタフェースで受信するフローを識別するフロー識別情報が予め記憶された受信インタフェース判定情報記憶領域と、
前記インタフェースを介して受信したデータフレーム内の前記フロー識別子に基づきフローを識別し、該フローと、前記受信インタフェース判定情報記憶領域に記憶されたフロー識別情報が示すフローが一致しない場合、既定外のインタフェースでデータフレームを受信したと判断する受信インタフェース判定部と
を備え
前記外部ネットワーク中継装置から各ネットワーク中継装置へのデータフレームは、該外部ネットワーク中継装置のフローベース負荷分散機構により、該データフレーム内の予め定められたフロー識別子の内容と第1冗長構成情報とに基づき予め定められた振り分け規則で求まる第1出力情報に従い、各ネットワーク中継装置に振り分けて送信され、前記複数のネットワーク中継装置のいずれか又は前記複数のネットワーク中継装置と接続する複数の回線のいずれかに障害が発生すると、該ネットワーク中継装置を除外した第2冗長構成情報と前記フロー識別子の内容とに基づき前記振り分け規則で求まる第2出力情報に従い、前記外部ネットワーク中継装置からデータフレームが送信され、
前記受信インタフェース判定情報記憶領域は、前記外部ネットワーク中継装置が第1及び第2出力情報を求めるのに用いる前記フロー識別子の種別と第1冗長構成情報とが予め記憶され、及び、前記インタフェースに対応するフロー識別情報である前記第1出力情報が予め記憶され、
前記受信インタフェース判定部は、前記受信インタフェース判定情報記憶領域に記憶されたフロー識別子の種別に従い、前記インタフェースで受信したデータフレームから、前記フロー識別子の内容を抽出し、抽出された情報と、記憶された第1冗長構成情報とに基づき前記振り分け規則で第3出力情報を求め、該第3出力情報と前記受信インタフェース判定情報記憶領域に記憶された第1出力情報が一致しない場合に、既定外のインタフェースでデータフレームを受信したと判断し、
前記ネットワーク中継装置は、
前記仮想ネットワーク中継装置を構成する前記ネットワーク中継装置に設定されたMACアドレス及び/又はIPアドレスが予め記憶された設定情報記憶部と、
前記外部ネットワーク中継装置を介して、所定のネットワーク装置にヘルスチェック・データフレームを送信する装置障害確認制御部と
をさらに備え、
前記装置障害確認制御部は、ヘルスチェック・データフレームに対する応答が、前記仮想ネットワーク中継装置を構成する各ネットワーク中継装置が正常の場合に前記外部ネットワーク中継装置の前記フローベース負荷分散機構によって、自装置のネットワーク中継装置に振分けられるように、ヘルスチェック・データフレームに設定するMACアドレス及び/又はIPアドレスを、前記ネットワーク中継装置で保持している複数のMACアドレス及び/又はIPアドレスから選択する
前記ネットワーク中継装置。
A plurality of network relay devices constitute one virtual network relay device, and the plurality of network relay devices are connected to external network relay devices to form a redundant configuration, and the external network relay devices are connected to each network relay device. A network in which a data frame is distributed and transmitted to a network relay device according to a flow according to a predetermined distribution rule based on a predetermined flow identifier in the data frame by a flow-based load distribution mechanism of the external network relay device A network relay device in a system,
An interface for receiving a data frame from the external network relay device;
A reception interface determination information storage area in which flow identification information for identifying a flow received by the interface according to the distribution rule is stored in advance;
If the flow is identified based on the flow identifier in the data frame received via the interface, and the flow does not match the flow indicated by the flow identification information stored in the reception interface determination information storage area, A reception interface determination unit that determines that a data frame has been received by the interface ;
The data frame from the external network relay device to each network relay device is converted into the contents of the predetermined flow identifier in the data frame and the first redundant configuration information by the flow-based load distribution mechanism of the external network relay device. One of the plurality of network relay devices or a plurality of lines connected to the plurality of network relay devices that are distributed and transmitted to each network relay device in accordance with first output information obtained based on a predetermined distribution rule based on When a failure occurs, a data frame is transmitted from the external network relay device according to the second output information obtained by the distribution rule based on the second redundant configuration information excluding the network relay device and the content of the flow identifier,
The reception interface determination information storage area stores in advance the type of the flow identifier and the first redundant configuration information used by the external network relay device for obtaining the first and second output information, and corresponds to the interface The first output information which is flow identification information to be stored in advance,
The reception interface determination unit extracts the content of the flow identifier from the data frame received by the interface according to the type of the flow identifier stored in the reception interface determination information storage area, and stores the extracted information. If the third output information is obtained by the distribution rule based on the first redundant configuration information, and the third output information does not match the first output information stored in the reception interface determination information storage area, Judge that the interface received a data frame,
The network relay device is:
A setting information storage unit in which a MAC address and / or an IP address set in the network relay device constituting the virtual network relay device is stored in advance;
A device failure confirmation control unit for transmitting a health check data frame to a predetermined network device via the external network relay device;
Further comprising
The device failure confirmation control unit determines whether the response to the health check data frame is self-applied by the flow-based load distribution mechanism of the external network relay device when each network relay device constituting the virtual network relay device is normal. The MAC address and / or IP address to be set in the health check data frame is selected from a plurality of MAC addresses and / or IP addresses held in the network relay device so that the network relay device can be assigned
The network relay device.
請求項5記載のネットワーク中継装置において、  The network relay device according to claim 5,
前記振り分け規則はリンクアグリゲーション技術により予め定められた規則である前記ネットワーク中継装置。  The network relay device, wherein the distribution rule is a rule determined in advance by a link aggregation technique.
請求項記載のネットワーク中継装置であって、
他のネットワーク中継装置が異常の場合に、前記外部ネットワーク中継装置の前記フローベース負荷分散機構によって、ヘルスチェック・データフレームに対する応答が自ネットワーク中継装置に振分けられ、
前記受信インタフェース判定部が、該ヘルスチェック・データフレームに対する応答について前記第3出力情報を求めて第1出力情報と比較することで、既定外のインタフェースでデータフレームを受信したことを検出する前記ネットワーク中継装置。
The network relay device according to claim 5 ,
When another network relay device is abnormal, the response to the health check data frame is distributed to the own network relay device by the flow-based load distribution mechanism of the external network relay device,
The network in which the receiving interface determination unit detects that a data frame has been received by a non-default interface by obtaining the third output information for a response to the health check data frame and comparing it with the first output information. Relay device.
請求項記載のネットワーク中継装置であって、
送信するヘルスチェック・データフレームは、ICMP(Internet Control Message Protocol)によるデータフレームである前記ネットワーク中継装置。
The network relay device according to claim 5 ,
The health check data frame to be transmitted is the network relay device, which is a data frame by ICMP (Internet Control Message Protocol).
請求項記載のネットワーク中継装置であって、
送信するヘルスチェック・データフレームは、BFD(Bidirectional Forwarding Detection)によるデータパケットである前記ネットワーク中継装置。
The network relay device according to claim 5 ,
The network relay device, wherein the health check data frame to be transmitted is a data packet by BFD (Bidirectional Forwarding Detection).
請求項記載のネットワーク中継装置であって、
送信するヘルスチェック・データフレームは、Ethernet OAM(Operations,Administration,Maintenance)によるデータフレームである前記ネットワーク中継装置。
The network relay device according to claim 5 ,
The health check data frame to be transmitted is the network relay device which is a data frame based on Ethernet OAM (Operations, Administration, Maintenance).
JP2011261624A 2011-11-30 2011-11-30 Network relay device and network relay system Expired - Fee Related JP5612560B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011261624A JP5612560B2 (en) 2011-11-30 2011-11-30 Network relay device and network relay system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011261624A JP5612560B2 (en) 2011-11-30 2011-11-30 Network relay device and network relay system

Publications (2)

Publication Number Publication Date
JP2013115695A JP2013115695A (en) 2013-06-10
JP5612560B2 true JP5612560B2 (en) 2014-10-22

Family

ID=48710839

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011261624A Expired - Fee Related JP5612560B2 (en) 2011-11-30 2011-11-30 Network relay device and network relay system

Country Status (1)

Country Link
JP (1) JP5612560B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6278800B2 (en) * 2014-04-03 2018-02-14 APRESIA Systems株式会社 Relay system and switch device
JP6301762B2 (en) * 2014-07-14 2018-03-28 APRESIA Systems株式会社 Relay system and switch device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008011082A (en) * 2006-06-28 2008-01-17 Fujitsu Ltd Redundancy method for network, and mediating device and host device thereof
JP4688765B2 (en) * 2006-09-20 2011-05-25 富士通株式会社 Network redundancy method and intermediate switch device
JP4808187B2 (en) * 2007-06-28 2011-11-02 富士通株式会社 Route switching method and apparatus

Also Published As

Publication number Publication date
JP2013115695A (en) 2013-06-10

Similar Documents

Publication Publication Date Title
US8886831B2 (en) System and methodology for fast link failover based on remote upstream failures
US8270306B2 (en) Fault management apparatus and method for identifying cause of fault in communication network
US8804534B2 (en) Interworking between MPLS/IP and Ethernet OAM mechanisms
US8117337B2 (en) Method and device for implementing link pass through in point-to-multipoint network
JP4884184B2 (en) Communication device and program for link aggregation
US20140043960A1 (en) Method, tor switch, and system for implementing protection switchover based on trill network
JP5811995B2 (en) Communication system and network relay device
JP5764820B2 (en) Transmission system and transmission system control method
KR20110086820A (en) Redundant intermediary switch solution for detecting and managing fibre channel over ethernet (fcoe) switch failures
JP2003051835A (en) Method for connecting between networks, virtual router, and system for connecting between networks by using this virtual router
JP4946851B2 (en) Frame transfer method and frame transfer apparatus
CN106559246B (en) Cluster implementation method and server
CN110011941B (en) Message forwarding method and device
JP2013545151A (en) Server management apparatus, server management method, and program
JP2010034876A (en) Fault monitoring server and network failure monitoring system
JP4724763B2 (en) Packet processing apparatus and interface unit
JP5612560B2 (en) Network relay device and network relay system
JP5938995B2 (en) Communication device
WO2017017646A1 (en) Purposely corrupted packet for connection information
US9225667B2 (en) Communication system and network relay apparatus
JP5558436B2 (en) Network system and network failure avoidance method
JP4340731B2 (en) Network fault monitoring processing system and method
CN110661643B (en) Method, network device and medium for network management
JP3895749B2 (en) Network connection method, virtual network connection device, and network connection system using the device
KR20070074974A (en) Duplexing system and method thereof of fire wall

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20131127

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140630

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140708

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140808

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140904

R150 Certificate of patent or registration of utility model

Ref document number: 5612560

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees