JP2014053758A - Network control device and network control method - Google Patents

Network control device and network control method Download PDF

Info

Publication number
JP2014053758A
JP2014053758A JP2012196838A JP2012196838A JP2014053758A JP 2014053758 A JP2014053758 A JP 2014053758A JP 2012196838 A JP2012196838 A JP 2012196838A JP 2012196838 A JP2012196838 A JP 2012196838A JP 2014053758 A JP2014053758 A JP 2014053758A
Authority
JP
Japan
Prior art keywords
address
frame
terminal
communication device
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.)
Granted
Application number
JP2012196838A
Other languages
Japanese (ja)
Other versions
JP5822275B2 (en
Inventor
Kazuaki Akashi
和陽 明石
Hiroshi Yoshida
寛 吉田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2012196838A priority Critical patent/JP5822275B2/en
Publication of JP2014053758A publication Critical patent/JP2014053758A/en
Application granted granted Critical
Publication of JP5822275B2 publication Critical patent/JP5822275B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To improve resource usage efficiency and prevent occurrence of a traffic loop in communication between networks connected via a plurality of communication paths, while preventing reconstruction of an unnecessary communication path in an existing network.SOLUTION: When an address solution control section 17 receives device information including an address request frame of a terminal belonging to a different network from a terminal which sets a communication device as a registration device, which has been received by the communication device, the address solution control section 17 makes a notification of a virtual L2 address of the communication device, which is included in allocated virtual L2 addresses of destination terminals registered in a terminal registration information storage section 13. When a frame transfer control section 18 receives device information including a unicast frame including a virtual L2 address of a communication device as a destination L2 address, which has been received by the communication device, the frame transfer control section 18 converts the virtual L2 address into a corresponding terminal L2 address stored in the terminal registration information storage section 13 and transfers the converted terminal L2 address. The operations of the address solution control section 17 and the frame transfer control section 18 are set by the device setting section 19.

Description

本発明は、データ通信の送受信アドレスとしてネットワークの識別子を用いない複数のネットワークを複数の経路で接続する技術に関する。   The present invention relates to a technique for connecting a plurality of networks that do not use a network identifier as a transmission / reception address for data communication through a plurality of routes.

レイヤ2ネットワークのような、データ通信の送受信アドレスとしてネットワークの識別子(ネットワークアドレス)を用いないネットワークを複数接続する場合、ネットワークを跨ったトラヒックのループを発生させないために、それぞれのネットワークを結ぶ通信経路を1つのみにする必要がある。たとえば、特許文献1に記載の技術では、リングトポロジを構成する2つの経路の状態を監視し、両方の経路を同時に疎通させないことで、上記のループを抑止している。同様に、従来技術であるSpanning Tree Protocol(STP)においても、フレーム転送を行う通信装置の所有する通信経路のうちのいくつかを予備経路とし、通常時には疎通不可の状態にすることでループの発生を防止している。   When connecting a plurality of networks that do not use network identifiers (network addresses) as transmission / reception addresses for data communication, such as a layer 2 network, a communication path that connects the networks in order not to generate a traffic loop across the networks. Need to be only one. For example, in the technique described in Patent Document 1, the state of two paths constituting a ring topology is monitored, and the above loop is suppressed by not allowing both paths to communicate simultaneously. Similarly, in the conventional Spanning Tree Protocol (STP), some of the communication paths possessed by the communication device that performs frame transfer are set as backup paths, and a loop is generated by making communication impossible in normal times. Is preventing.

しかし、上記の方法では、物理的に接続された経路の一部が通常時には使われないため、通信リソースの利用効率の低下や最短経路での転送ができないといった問題があった。即ち、上記方法を用いた場合、ネットワーク間の通信トラヒックは端末装置間の物理的な距離に関係なく、単一の接続経路を通過することになる。そのため、この接続経路の遠方に存在する端末装置同士の通信トラヒックであっても、当該接続経路まで迂回しなければならず、転送過程における通信リソースの消費や遅延が発生することになる。これらの問題は、トラヒックが大きく迂回することになる広域ネットワーク間の接続において特に顕著になると考えられる。   However, in the above method, there are problems that a part of the physically connected paths is not normally used, so that the use efficiency of communication resources is reduced and the transfer through the shortest path is impossible. That is, when the above method is used, communication traffic between networks passes through a single connection path regardless of the physical distance between terminal devices. For this reason, even communication traffic between terminal devices located far away from the connection path must be detoured to the connection path, resulting in consumption and delay of communication resources in the transfer process. These problems are considered to be particularly noticeable in connections between wide area networks that greatly detour traffic.

上記の問題を解決する技術として、リンク・アグリゲーション(LAG)やL2ルーティングが使用・検討されているが、いずれもネットワーク間の接続に適用した場合に問題がある。   Link aggregation (LAG) and L2 routing have been used and studied as techniques for solving the above problems, but both have problems when applied to connections between networks.

即ち、LAGはスイッチ間に張られた複数の通信経路を論理的に1つに統合することで広帯域化と冗長化を行う技術であり、広域のネットワーク間の冗長化等、接続経路が離れた地点にある場合には適用が難しい。また、TRILLやSPBを始めとしたL2ルーティングは、当該プロトコルに対応したスイッチを含むネットワーク同士の接続においてループの起こらないマルチパス通信を実現できる一方で、当該プロトコルに未対応の(スイッチを含む)既存のネットワークとの接続によってループ構造が形成された場合はトラヒックのループを防ぐことができない。このため、L2ルーティングをネットワーク間の冗長化に適用するには、各ネットワークにプロトコル対応のスイッチを設置する必要がある等の制約がある。   In other words, LAG is a technology that broadens and makes redundancy by logically integrating a plurality of communication paths spanned between switches into one, and the connection paths are separated, such as redundancy between wide-area networks. If it is at a point, it is difficult to apply. In addition, L2 routing such as TRILL and SPB can realize multipath communication in which a loop does not occur in a connection between networks including a switch corresponding to the protocol, but is not compatible with the protocol (including a switch). If a loop structure is formed by connection with an existing network, a traffic loop cannot be prevented. For this reason, in order to apply L2 routing to redundancy between networks, there is a restriction that a protocol-compatible switch needs to be installed in each network.

以上のことから、既存のネットワークを含む広域ネットワーク間を複数の通信経路で接続し、通信リソースの利用効率の向上や最短経路でのフレーム転送を実現したいという要求がある。   From the above, there is a demand to connect wide-area networks including existing networks through a plurality of communication paths to improve the use efficiency of communication resources and realize frame transfer through the shortest path.

上記の要求を実現する1つの方法として、ある端末装置が異なるネットワークに属する別の端末装置と通信を行う際に、ネットワーク間をつなぐ通信装置のうち、例えば当該ある端末装置に最も近い、唯一の通信装置を介してフレームの転送を行う方法が考えられる。また、多数の端末装置を宛先とするマルチキャストフレーム(ブロードキャストフレーム)の転送は、重複転送やループの発生を防ぐために、各ネットワーク内で1台の通信装置のみがそれらのネットワークに転送することが考えられる。このとき、ある端末装置を送信元とするフレームが、ユニキャストの場合とマルチキャストの場合とで異なる通信装置によって各ネットワークに転送されることが想定され、通信装置のアドレス学習により自律的に通信経路が構築される既存のネットワークにおいて不要な通信経路の再構築が起こり得るという課題がある。そして、この経路の再構築を防ぐためには、マルチキャストフレームを既存のネットワークに対して転送する際、フレームの送信元アドレスを、本来のアドレスから所定の方法で割り当てた仮想アドレスに変換してから転送する方法が考えられる。   As one method for realizing the above request, when a certain terminal device communicates with another terminal device belonging to a different network, among the communication devices connecting between the networks, for example, the only one closest to the certain terminal device A method of transferring a frame via a communication device is conceivable. In addition, multicast frames (broadcast frames) that are destined for a large number of terminal devices may be forwarded to only one communication device in each network in order to prevent duplication and loops. It is done. At this time, it is assumed that a frame having a terminal device as a transmission source is transferred to each network by different communication devices in the unicast case and the multicast case. There is a problem that an unnecessary communication path can be reconstructed in an existing network in which the network is constructed. In order to prevent this path from being reconstructed, when a multicast frame is transferred to an existing network, the frame source address is converted from the original address to a virtual address assigned by a predetermined method and then transferred. A way to do this is conceivable.

しかし、通信経路の再構築はユニキャストフレームの転送によっても起こり得る。たとえば、既存のネットワークにおいて、ある通信装置に接続される複数の端末装置の中継元および中継先として異なる通信装置が割り当られた場合、当該通信装置において、異なるネットワークに属する端末装置を送信元とするフレームを宛先毎に別々のポートから受信することが起こり得る。このとき、当該通信装置においてアドレスの再学習が行われ、既存のネットワークにおける通信経路が収束しない恐れがある。   However, the reconstruction of the communication path can also occur by the transfer of unicast frames. For example, in the existing network, when different communication devices are assigned as relay sources and relay destinations of a plurality of terminal devices connected to a certain communication device, the terminal devices belonging to different networks are designated as transmission sources in the communication device. It may happen that a frame to be received is received from a different port for each destination. At this time, address re-learning is performed in the communication device, and the communication path in the existing network may not converge.

本発明は上記の課題を鑑み、複数の通信経路で接続したネットワーク間の通信において、リソースの利用効率の向上やトラヒックのループの発生の防止を、既存のネットワークにおける不要な通信経路の再構築を防いだ上で実現することを目的とする。   In view of the above-mentioned problems, the present invention improves the resource utilization efficiency and prevents the occurrence of traffic loops in communication between networks connected by a plurality of communication paths, and reconstructs unnecessary communication paths in an existing network. It aims to be realized after prevention.

本発明では、前記目的を達成するため、データ通信の送受信アドレスとしてネットワークの識別子を用いない複数のネットワークを接続し、各ネットワークに属する端末装置からのフレームを転送する通信装置に対して当該フレームの転送制御を行うネットワーク制御装置であって、各通信装置の情報を保持する通信装置情報保持部と、各端末装置の情報を保持する端末登録情報保持部と、各通信装置から当該通信装置の装置名や当該通信装置で受信したフレームの情報などの装置情報を受信する装置情報受信部と、前記装置情報から各端末装置の情報を端末登録情報保持部に登録する端末登録部と、前記装置情報から、通信装置の受信したフレームがアドレス要求・応答フレームか通常の通信フレームかを判別するフレーム判別部と、受信したフレームがアドレス要求・応答フレームであった場合に、前記装置情報と通信装置情報保持部および端末登録情報保持部が保持する情報とを基に通信装置に指示するアドレス要求・応答フレームの転送制御内容を決定するアドレス解決制御部と、受信したフレームが通常の通信フレームであった場合に、前記装置情報と通信装置情報保持部および端末登録情報保持部が保持する情報とを基に通信装置に指示する通常の通信フレームの転送制御内容を決定するフレーム転送制御部と、決定された転送制御内容に従って通信装置を設定する装置設定部とを少なくとも備えたネットワーク制御装置、
並びに、
データ通信の送受信アドレスとしてネットワークの識別子を用いない複数のネットワークを接続し、各ネットワークに属する端末装置からのフレームを転送する通信装置に対して当該フレームの転送制御を行うネットワーク制御方法であって、装置情報受信部が、各通信装置から当該通信装置の装置名や当該通信装置で受信したフレームの情報などの装置情報を受信する工程と、端末登録部が、前記装置情報から各端末装置の情報を端末登録情報保持部に登録する工程と、フレーム判別部が、通信装置の受信したフレームがアドレス要求・応答フレームか通常の通信フレームかを判別する工程と、アドレス解決制御部が、受信したフレームがアドレス要求・応答フレームであった場合に、前記装置情報と通信装置情報保持部および端末登録情報保持部が保持する情報とを基に通信装置に指示するアドレス要求・応答フレームの転送制御内容を決定する工程と、フレーム転送制御部が、受信したフレームが通常の通信フレームであった場合に、前記装置情報と通信装置情報保持部および端末登録情報保持部が保持する情報とを基に通信装置に指示する通常の通信フレームの転送制御内容を決定する工程と、装置設定部が、決定した転送制御内容に従って通信装置を設定する工程とを少なくとも備えたネットワーク制御方法を提案する。
In the present invention, in order to achieve the above object, a plurality of networks that do not use a network identifier as a transmission / reception address for data communication are connected, and the frame is transmitted to a communication device that transfers frames from terminal devices belonging to each network. A network control device that performs transfer control, a communication device information holding unit that holds information of each communication device, a terminal registration information holding unit that holds information of each terminal device, and a device of the communication device from each communication device A device information receiving unit that receives device information such as a name and frame information received by the communication device, a terminal registration unit that registers information of each terminal device from the device information in a terminal registration information holding unit, and the device information A frame discriminator for discriminating whether the frame received by the communication device is an address request / response frame or a normal communication frame; If the received frame is an address request / response frame, address request / response frame transfer control instructing the communication device based on the device information and information held by the communication device information holding unit and the terminal registration information holding unit Based on the device information and the information held by the communication device information holding unit and the terminal registration information holding unit when the received frame is a normal communication frame, the address resolution control unit for determining the contents A network control device comprising at least a frame transfer control unit for determining transfer control content of a normal communication frame to be instructed, and a device setting unit for setting a communication device according to the determined transfer control content;
And
A network control method for connecting a plurality of networks that do not use a network identifier as a transmission / reception address for data communication and performing transfer control of the frame to a communication device that transfers a frame from a terminal device belonging to each network, A step in which the device information receiving unit receives device information such as a device name of the communication device or information on a frame received by the communication device from each communication device; and a terminal registration unit receives information on each terminal device from the device information. In the terminal registration information holding unit, a step in which the frame determination unit determines whether the frame received by the communication device is an address request / response frame or a normal communication frame, and a frame received by the address resolution control unit. Is an address request / response frame, the device information, the communication device information holding unit, and the terminal registration information The step of determining the transfer control content of the address request / response frame instructing the communication device based on the information held by the holding unit, and the frame transfer control unit, when the received frame is a normal communication frame, A step of determining transfer control content of a normal communication frame instructing the communication device based on the device information and information held by the communication device information holding unit and the terminal registration information holding unit, and the transfer determined by the device setting unit The present invention proposes a network control method including at least a step of setting a communication device according to control contents.

本発明によれば、異なるネットワークに属する2つの端末装置が通信を行う際に、既存のネットワークにおける不要な通信経路の再構築を防いだ上で端末装置毎に唯一の通信装置を介して通信し、通信リソースの利用効率を低下させることなく、ネットワークを跨ったトラヒックのループの発生を抑止することが可能となる。   According to the present invention, when two terminal devices belonging to different networks communicate, each terminal device communicates via a unique communication device while preventing unnecessary communication paths from being reconstructed in the existing network. Therefore, it is possible to suppress the occurrence of a traffic loop across the network without reducing the utilization efficiency of communication resources.

本発明で想定するネットワーク構成の一例を示す構成図Configuration diagram showing an example of a network configuration assumed in the present invention 本発明のネットワーク制御装置の実施の形態の一例を示す構成図The block diagram which shows an example of embodiment of the network control apparatus of this invention 通信装置情報保持部が保持する情報の一例を示す説明図Explanatory drawing which shows an example of the information which a communication apparatus information holding part hold | maintains 端末登録情報保持部が保持する情報の一例を示す説明図Explanatory drawing which shows an example of the information which a terminal registration information holding part hold | maintains 端末登録部における処理の流れの一例を示すフローチャートThe flowchart which shows an example of the flow of a process in a terminal registration part 本発明によるネットワーク間通信の概要を示す説明図Explanatory drawing which shows the outline | summary of the communication between networks by this invention アドレス解決制御部における処理の流れの一例を示すフローチャートA flowchart showing an example of the flow of processing in the address resolution control unit 図7中のアドレス要求処理[入力ポート]の流れの一例を示すフローチャート7 is a flowchart showing an example of the flow of address request processing [input port] in FIG. 図7中のアドレス応答処理[入力ポート]の流れの一例を示すフローチャート7 is a flowchart showing an example of the flow of address response processing [input port] in FIG. フレーム転送制御部における処理の流れの一例を示すフローチャートA flowchart showing an example of the flow of processing in the frame transfer control unit 図10中のユニキャスト転送処理[入力ポート]の流れの一例を示すフローチャートThe flowchart which shows an example of the flow of the unicast transfer process [input port] in FIG. 図10中のユニキャスト転送処理[出力ポート]の流れの一例を示すフローチャートThe flowchart which shows an example of the flow of the unicast transfer process [output port] in FIG. 図10中のブロードキャスト転送処理[入力ポート]の流れの一例を示すフローチャート10 is a flowchart showing an example of the flow of the broadcast transfer process [input port] in FIG. 図10中のブロードキャスト転送処理[出力ポート]の流れの一例を示すフローチャートFlowchart showing an example of the flow of the broadcast transfer process [output port] in FIG. 要求先端末の端末登録情報がある場合のアドレス解決制御部の動作例を示す説明図Explanatory drawing showing an operation example of the address resolution control unit when there is terminal registration information of the request destination terminal 要求先端末の端末登録情報がない場合のアドレス解決制御部の動作例を示す説明図Explanatory drawing which shows the operation example of the address resolution control part when there is no terminal registration information of a request destination terminal アドレス変換に割当仮想L2アドレスの情報を使用した場合のフレーム転送制御部および装置設定部によるユニキャストフレーム転送の動作例を示す説明図Explanatory drawing which shows the operation example of the unicast frame transfer by the frame transfer control part and apparatus setting part at the time of using the information of allocation virtual L2 address for address translation アドレス変換に端末L3アドレスの情報を使用した場合のフレーム転送制御部および装置設定部によるユニキャストフレーム転送の動作例を示す説明図Explanatory drawing which shows the operation example of the unicast frame transfer by the frame transfer control part and apparatus setting part at the time of using the information of terminal L3 address for address translation フレーム転送制御部および装置設定部によるブロードキャストフレーム転送の動作例を示す説明図Explanatory drawing showing an operation example of broadcast frame transfer by the frame transfer control unit and the device setting unit

以下、図面を用いて本発明の実施の形態について詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は、本発明で想定するネットワーク構成の一例を示している。本例では、本発明のネットワーク制御装置により制御される4台の通信装置、ここでは通信装置名(装置識別子)をそれぞれGW[1],GW[2],GW[3],GW[4]とする4台の通信装置により、データ通信の送受信アドレスとしてネットワークの識別子を用いない複数、ここではネットワーク名(ネットワーク識別子)をそれぞれNW[1],NW[2],NW[3]とする3つのネットワークを接続する構成とした。なお、各通信装置GW[1]〜GW[4]には入力ポートおよび出力ポートが1つずつ存在し、ある通信装置の入力ポートを接続したネットワークには、いずれの通信装置も出力ポートを接続しないものとする。また、ネットワークNW[1]およびNW[2]にはそれぞれ、端末固有のアドレスをA,BおよびC,Dとする4台の端末装置が属(存在)しているものとする。また、各通信装置GW[1]〜GW[4]の出力ポートが接続されているネットワークNW[3]は複数のネットワークをつなぐ中継ネットワークとし、端末装置は接続されていないものとする。なお、(図面を含めて)単に「装置」と記した場合は通信装置を指し、「端末」と記した場合は端末装置を指すものとする。   FIG. 1 shows an example of a network configuration assumed in the present invention. In this example, four communication devices controlled by the network control device of the present invention, here communication device names (device identifiers) are GW [1], GW [2], GW [3], GW [4], respectively. And a plurality of communication apparatuses that do not use a network identifier as a transmission / reception address for data communication. Here, network names (network identifiers) are NW [1], NW [2], and NW [3], respectively. Two networks are connected. Each communication device GW [1] to GW [4] has one input port and one output port, and any communication device is connected to an output port in a network connected to the input port of a certain communication device. Shall not. Further, it is assumed that four terminal apparatuses having addresses A, B, C, and D, which belong to the terminals, belong (exist) to the networks NW [1] and NW [2], respectively. In addition, it is assumed that the network NW [3] to which the output ports of the communication devices GW [1] to GW [4] are connected is a relay network that connects a plurality of networks, and no terminal device is connected. Note that when “device” is simply described (including the drawing), it indicates a communication device, and when “terminal” is described, it indicates a terminal device.

図2は、本発明のネットワーク制御装置の実施の形態の一例を示すもので、図中、11は通信装置情報入力部、12は通信装置情報保持部、13は端末登録情報保持部、14は装置情報受信部、15は端末登録部、16はフレーム判別部、17はアドレス解決制御部、18はフレーム転送制御部、19は装置設定部である。   FIG. 2 shows an example of an embodiment of the network control device of the present invention. In the figure, 11 is a communication device information input unit, 12 is a communication device information holding unit, 13 is a terminal registration information holding unit, and 14 is A device information receiving unit, 15 is a terminal registration unit, 16 is a frame determination unit, 17 is an address resolution control unit, 18 is a frame transfer control unit, and 19 is a device setting unit.

通信装置情報入力部11は、各通信装置の情報を通信装置情報保持部12に入力する。通信装置情報保持部12は、通信装置情報入力部11より入力された各通信装置の情報を保持する。端末登録情報保持部13は、端末登録部15によって登録された各端末装置の情報を保持する。装置情報受信部14は、各通信装置から、当該通信装置の装置名や当該通信装置で受信したフレームの情報などの装置情報を受信する。端末登録部15は、装置情報受信部14で受信した装置情報から、各端末装置の情報を端末登録情報保持部13に登録する。   The communication device information input unit 11 inputs information of each communication device to the communication device information holding unit 12. The communication device information holding unit 12 holds information of each communication device input from the communication device information input unit 11. The terminal registration information holding unit 13 holds information on each terminal device registered by the terminal registration unit 15. The device information receiving unit 14 receives device information such as a device name of the communication device and frame information received by the communication device from each communication device. The terminal registration unit 15 registers information on each terminal device in the terminal registration information holding unit 13 from the device information received by the device information receiving unit 14.

フレーム判別部16は、装置情報受信部14で受信した装置情報から、通信装置の受信したフレームがアドレス要求・応答フレームか通常の通信フレームかを判別し、アドレス要求フレームまたはアドレス応答フレームであればアドレス解決制御部17にその旨を通知し、通常の通信フレームであればフレーム転送制御部18にその旨を通知する。   The frame discriminating unit 16 discriminates from the device information received by the device information receiving unit 14 whether the frame received by the communication device is an address request / response frame or a normal communication frame, and if it is an address request frame or an address response frame This is notified to the address resolution control unit 17, and to the frame transfer control unit 18 if it is a normal communication frame.

アドレス解決制御部17は、通信装置で受信したフレームがアドレス要求・応答フレームであった場合に、装置情報受信部14で受信した装置情報と通信装置情報保持部12および端末登録情報保持部13が保持する情報とを基に、通信装置に指示するアドレス要求・応答フレームの転送制御内容を決定する。フレーム転送制御部18は、通信装置で受信したフレームが通常の通信フレームであった場合に、装置情報受信部14で受信した装置情報と通信装置情報保持部12および端末登録情報保持部13が保持する情報とを基に、通信装置に指示する通常の通信フレームの転送制御内容を決定する。装置設定部19は、アドレス解決制御部17およびフレーム転送制御部18で決定された転送制御内容を通信装置に設定する。   When the frame received by the communication device is an address request / response frame, the address resolution control unit 17 determines that the device information received by the device information receiving unit 14, the communication device information holding unit 12, and the terminal registration information holding unit 13 Based on the information held, the transfer control content of the address request / response frame instructed to the communication apparatus is determined. The frame transfer control unit 18 holds the device information received by the device information receiving unit 14 and the communication device information holding unit 12 and the terminal registration information holding unit 13 when the frame received by the communication device is a normal communication frame. Based on the information to be transmitted, the transfer control content of a normal communication frame instructed to the communication apparatus is determined. The device setting unit 19 sets the transfer control content determined by the address resolution control unit 17 and the frame transfer control unit 18 in the communication device.

なお、図2では通信装置を1つのみ示しているが、実際には図1に示した通り、複数の通信装置があり、本発明のネットワーク制御装置は、所定の通信回線を通じてこれら全ての通信装置と通信可能に接続されているものとする。   Although only one communication device is shown in FIG. 2, there are actually a plurality of communication devices as shown in FIG. 1, and the network control device according to the present invention can perform all these communication via a predetermined communication line. It is assumed that it is communicably connected to the device.

図3は、通信装置情報入力部11より入力され、通信装置情報保持部12が保持する情報の一例を示している。装置名GW[1]〜GW[4]で識別される各通信装置について、通信装置情報入力部11より、所属ネットワーク名(NW名)、仮想L2アドレス、BUM転送設定、仮想L3アドレスが入力され、通信装置情報保持部12はそれらの情報を保持する。   FIG. 3 shows an example of information input from the communication device information input unit 11 and held by the communication device information holding unit 12. For each communication device identified by the device names GW [1] to GW [4], the affiliation network name (NW name), virtual L2 address, BUM transfer setting, and virtual L3 address are input from the communication device information input unit 11. The communication device information holding unit 12 holds such information.

所属NW名には、それぞれの通信装置の入力ポートが接続されているネットワーク名が入力される。また、仮想L2アドレスには、当該通信装置によりフレームを転送する際の送信元アドレス変換に利用する少なくとも1つの仮想アドレスが入力される。この仮想L2アドレスは他の通信装置の仮想L2アドレスや端末のL2アドレス(MACアドレス)と重複しないように設定されるものとする。また、以下では簡単のため、それぞれの通信装置について十分な数の仮想L2アドレスが入力されているものとする。   The network name to which the input port of each communication device is connected is input as the belonging NW name. The virtual L2 address is input with at least one virtual address used for source address conversion when a frame is transferred by the communication apparatus. It is assumed that this virtual L2 address is set so as not to overlap with the virtual L2 address of another communication device or the L2 address (MAC address) of the terminal. In the following, for the sake of simplicity, it is assumed that a sufficient number of virtual L2 addresses have been input for each communication device.

BUM転送設定には、当該通信装置が出力ポートから受信したブロードキャストフレームやマルチキャストフレームの転送を担当するか否かがTRUE(転送を担当する),FALSE(転送を担当しない)で入力される。なお、同一のブロードキャストフレームが重複してネットワークに転送されることを防ぐために、BUM転送設定にTRUEと入力される通信装置は各ネットワークに1台のみとする。   Whether or not the communication apparatus is in charge of transferring a broadcast frame or multicast frame received from the output port is input to the BUM transfer setting as TRUE (in charge of transfer) or FALSE (not in charge of transfer). In order to prevent the same broadcast frame from being duplicated and transferred to the network, only one communication device is input to each network in which TRUE is input to the BUM transfer setting.

仮想L3アドレスは、アドレス解決制御において通信装置がアドレス解決を代理で行う際に使用するIPアドレスなどのL3アドレスが入力される。本例ではBUM転送設定がTRUEである通信装置がアドレス解決を行うものとし、それらの通信装置に対して仮想L3アドレスが入力されている。また、本仮想L3アドレスは端末のL3アドレスと重複しないように設定されるものとする。   As the virtual L3 address, an L3 address such as an IP address used when the communication apparatus performs address resolution on behalf of the address resolution control is input. In this example, it is assumed that communication devices whose BUM transfer settings are TRUE perform address resolution, and virtual L3 addresses are input to these communication devices. The virtual L3 address is set so as not to overlap with the L3 address of the terminal.

なお、上記の情報は、予め通信装置情報入力部11より、ネットワーク制御装置を運用するオペレータによって手動もしくは任意のルールに従って入力されるものとする。   Note that the above information is input in advance from the communication device information input unit 11 by an operator operating the network control device, either manually or according to an arbitrary rule.

図4は、端末登録部15より登録され、端末登録情報保持部13が保持する情報の一例を示している。ネットワーク制御装置は、各通信装置がフレームを受信した際に装置情報受信部14を通じて装置情報を受信するものとする。この装置情報には、フレームを受信した通信装置の装置名(GW[1]〜GW[4])やその受信ポート情報(入力ポートか出力ポートか)の外、受信フレーム情報(フレームの送信元L2アドレス、宛先L2アドレスなど)が含まれる。   FIG. 4 shows an example of information registered by the terminal registration unit 15 and held by the terminal registration information holding unit 13. The network control device receives device information through the device information receiving unit 14 when each communication device receives a frame. This device information includes the device name (GW [1] to GW [4]) of the communication device that received the frame and its reception port information (input port or output port), as well as received frame information (frame transmission source). L2 address, destination L2 address, etc.).

端末登録部15は、前記装置情報と現在の端末登録情報保持部13の情報を基に、受信フレームの送信元アドレスである端末L2アドレス(たとえばMACアドレス)で識別される各端末装置について特定の通信装置を端末登録情報保持部13に登録する。本例では、図4の上部に示すように、ネットワークNW[1]に属する端末AおよびBがそれぞれ装置GW[1]および装置GW[2]に登録され、ネットワークNW[2]に属する端末CおよびDがそれぞれ装置GW[3]および装置GW[4]に登録されたものとする。このときの端末登録情報の一例を図4の下部に示している。各端末装置について、端末登録部15により、登録(通信)装置名、所属NW名、割当仮想L2アドレス、端末L3アドレスが設定される。   Based on the device information and the information of the current terminal registration information holding unit 13, the terminal registration unit 15 identifies a specific terminal device identified by a terminal L2 address (for example, a MAC address) that is a transmission source address of the received frame. The communication device is registered in the terminal registration information holding unit 13. In this example, as shown in the upper part of FIG. 4, the terminals A and B belonging to the network NW [1] are registered in the device GW [1] and the device GW [2], respectively, and the terminal C belonging to the network NW [2] And D are registered in the devices GW [3] and GW [4], respectively. An example of the terminal registration information at this time is shown in the lower part of FIG. For each terminal device, the terminal registration unit 15 sets a registered (communication) device name, a belonging NW name, an assigned virtual L2 address, and a terminal L3 address.

登録装置名には前記特定の通信装置の装置名が設定され、所属NW名には登録装置名の通信装置の入力ポートが接続されたネットワークのNW名が設定される。なお、各登録装置名に設定される装置名は1つのみとする。割当仮想L2アドレスには、通信装置情報保持部12が保持する情報を基に、端末を登録した通信装置の所属NWとは異なるネットワークに所属している通信装置の仮想L2アドレスが割り当てられる。このとき、後述するアドレスの変換において割当仮想L2アドレスの情報を用いる場合には、1つの仮想アドレスが複数の端末に割り当てられることはないものとする。端末L3アドレスにはフレームの送信元L3アドレス(たとえばIPアドレス)が設定される。   The device name of the specific communication device is set as the registered device name, and the network NW name to which the input port of the communication device with the registered device name is connected is set as the affiliated NW name. Note that only one device name is set for each registered device name. Based on the information held by the communication device information holding unit 12, a virtual L2 address of a communication device belonging to a network different from the belonging NW of the communication device that registered the terminal is assigned to the assigned virtual L2 address. At this time, when information on the allocated virtual L2 address is used in address conversion described later, it is assumed that one virtual address is not allocated to a plurality of terminals. As the terminal L3 address, a frame transmission source L3 address (for example, an IP address) is set.

図5は、端末登録部15における処理の流れの一例を示すフローチャートである。本例では、フレームを送信した端末装置の属するネットワークを所属NWとする通信装置のうち、当該フレームを最初に受信した通信装置が当該端末装置の登録装置(特定の通信装置)として設定されるようなフローチャートを記述した。これは、最初にフレームを受信する通信装置は同じネットワークを所属NWとする他の通信装置よりも送信元の端末装置までの経路が短いことが多いことから、ネットワークを跨ぐフレームを最短経路で転送できることを期待するものである。   FIG. 5 is a flowchart illustrating an example of a process flow in the terminal registration unit 15. In this example, among the communication devices having the network to which the terminal device that transmitted the frame belongs as the belonging NW, the communication device that first received the frame is set as the registration device (specific communication device) of the terminal device. A simple flowchart was described. This is because the first communication device that receives a frame has a shorter route to the transmission source terminal device than other communication devices that belong to the same network as the belonging NW. We expect to be able to do it.

まず、装置情報受信部14から装置情報を取得する(s1)。フレームを受信したポートが入力ポートではなかった場合(s2;No)、当該通信装置の所属NWに属する端末から受信したフレームではないため、登録処理は行わない(s8)。また、フレームの送信元L2アドレスが通信装置情報保持部12に保持されている仮想L2アドレスのいずれかであった場合(s3;Yes)も登録処理は行わない(s8)とする。   First, device information is acquired from the device information receiving unit 14 (s1). If the port that received the frame is not an input port (s2; No), the registration process is not performed (s8) because it is not a frame received from a terminal belonging to the affiliation NW of the communication apparatus. In addition, when the transmission source L2 address of the frame is one of the virtual L2 addresses held in the communication device information holding unit 12 (s3; Yes), the registration process is not performed (s8).

上記2つの条件にあてはまらなかった場合(s3;No)、受信フレームの送信元L2アドレスを端末登録情報保持部13から検索する(s4)。未登録のアドレスだった場合(s5;No)、当該フレームを受信した通信装置を登録装置として前述した登録処理を行う(s6)。登録済みのアドレスだった場合(s5;Yes)、当該端末に関する登録情報の所属NW名と当該フレームを受信した通信装置の(通信装置情報保持部12内における)所属NW名とを比較する(s7)。   When the above two conditions are not satisfied (s3; No), the transmission source L2 address of the received frame is searched from the terminal registration information holding unit 13 (s4). If the address is an unregistered address (s5; No), the registration process described above is performed using the communication apparatus that has received the frame as the registration apparatus (s6). If it is a registered address (s5; Yes), the affiliated NW name of the registration information related to the terminal is compared with the affiliated NW name (in the communication device information holding unit 12) of the communication device that has received the frame (s7). ).

所属NW名が同じだった場合(s7;Yes)には、当該通信装置もしくは同一ネットワークに所属する他の通信装置にすでに登録されているため、登録処理は行わない(s8)。一方、所属NWが異なる場合(s7;No)には、端末がネットワークを移動したとみなし、以前の登録情報を更新する(s6)。なお、以下では簡単のため、時間経過等による自動的な登録情報の更新はないものとして記述する。   If the affiliation NW names are the same (s7; Yes), the registration process is not performed (s8) because the affiliation NW name is already registered in the communication apparatus or another communication apparatus belonging to the same network. On the other hand, if the affiliation NW is different (s7; No), it is considered that the terminal has moved through the network, and the previous registration information is updated (s6). In the following, for the sake of simplicity, it is described that there is no automatic update of registration information over time.

図6は、本発明によるネットワーク間通信の概要を示している。本発明において、ユニキャストフレームは、端末毎に唯一の通信装置を介して異なるネットワークの端末に転送される。また、ブロードキャストフレーム等の転送は、通信装置において適宜、フレームの廃棄を行うことで、ネットワークを跨ぐトラヒックのループが起こらないようにする。   FIG. 6 shows an overview of communication between networks according to the present invention. In the present invention, a unicast frame is transferred to a terminal in a different network via a unique communication device for each terminal. In addition, when transferring a broadcast frame or the like, the communication apparatus appropriately discards the frame so that a traffic loop across the network does not occur.

複数のネットワークを複数の経路で接続した場合、ある端末の送信するフレームが複数の経路から同一のネットワークに流入してくることになる。このとき、フレーム転送時のアドレス学習により自律的に通信経路が構築される既存のネットワークにおいては、アドレスの再学習によって不要な経路の再構築が行われる可能性がある。   When a plurality of networks are connected by a plurality of routes, a frame transmitted from a certain terminal flows into the same network from the plurality of routes. At this time, in an existing network in which a communication route is autonomously constructed by address learning at the time of frame transfer, unnecessary routes may be reconstructed by address relearning.

本発明では、異なるネットワークに属する端末のアドレスとして、本来のアドレスではなく、他と重複しない仮想L2アドレスを各端末に対して必要に応じて通知し、そのアドレスを通信装置において適宜変換して転送することで、不要な経路の再構築を防ぐ。それぞれの動作は、アドレス解決制御部17およびフレーム転送制御部18、並びにそれら2つの制御部によって決定された制御内容に従って通信装置を設定する装置設定部19によって実現される。   In the present invention, as an address of a terminal belonging to a different network, not an original address but a virtual L2 address that does not overlap with another is notified to each terminal as necessary, and the address is appropriately converted and transferred by a communication device. By doing so, unnecessary route reconstruction is prevented. Each operation is realized by the address resolution control unit 17 and the frame transfer control unit 18 and the device setting unit 19 that sets the communication device according to the control contents determined by the two control units.

図7乃至図9は、アドレス解決制御部17における処理の流れの一例を示すフローチャートである。   7 to 9 are flowcharts showing an example of the processing flow in the address resolution control unit 17.

フレーム判別部16において、通信装置の受信したフレームが通常の通信フレームではなく、アドレス要求フレームまたはアドレス応答フレームであると判定されると、これがアドレス解決制御部17に通知される。なお、アドレス要求フレームは、アドレス要求情報として要求先端末のL3アドレス(たとえばIPアドレス)情報を含み、送信元端末からネットワーク全体にブロードキャストされるものとする。当該フレームを受信した要求先端末は、自身のL2アドレス(MACアドレス)情報およびL3アドレス情報をアドレス応答フレームに載せ、ユニキャストで返信する。   When the frame discriminating unit 16 determines that the frame received by the communication device is not a normal communication frame but an address request frame or an address response frame, this is notified to the address resolution control unit 17. The address request frame includes L3 address (for example, IP address) information of the request destination terminal as address request information, and is broadcast from the transmission source terminal to the entire network. The request destination terminal that has received the frame puts its own L2 address (MAC address) information and L3 address information in the address response frame, and returns it by unicast.

当該通知を受けたアドレス解決制御部17はまず、装置情報受信部14から装置情報を取得する(s11)。フレームの送信元L2アドレスが仮想L2アドレスであった場合(s12;Yes)、当該通信装置の所属NWに属する端末から受信したフレームではないため、廃棄制御する(s13)。   Upon receiving the notification, the address resolution control unit 17 first acquires device information from the device information receiving unit 14 (s11). When the frame transmission source L2 address is a virtual L2 address (s12; Yes), since it is not a frame received from a terminal belonging to the affiliated NW of the communication apparatus, discard control is performed (s13).

フレームの送信元L2アドレスが仮想L2アドレスでない場合(s12;No)は、当該通信装置の所属NWに属する端末から受信したフレームと判断し、次に受信したフレームがアドレス要求フレームかアドレス応答フレームかを判断する(s14)。   If the transmission source L2 address of the frame is not a virtual L2 address (s12; No), it is determined that the frame is received from a terminal belonging to the NW to which the communication device belongs, and whether the next received frame is an address request frame or an address response frame Is determined (s14).

アドレス要求フレームであれば、さらにフレームを受信したポートが入力ポートか出力ポートかを判定し(s15)、入力ポートであればアドレス要求処理[入力ポート](s17)を実行し、出力ポートであればアドレス要求処理[出力ポート](s18)を実行する。   If it is an address request frame, it is further determined whether the port that received the frame is an input port or an output port (s15). If it is an input port, address request processing [input port] (s17) is executed. For example, the address request process [output port] (s18) is executed.

また、アドレス応答フレームであれば、同様にフレームを受信したポートが入力ポート出力ポートかを判定し(s16)、入力ポートであればアドレス応答処理[入力ポート](s19)を実行し、出力ポートであればアドレス応答処理[出力ポート](s20)を実行する。   If it is an address response frame, it is similarly determined whether the port that received the frame is an input port output port (s16). If it is an input port, an address response process [input port] (s19) is executed, and the output port If so, an address response process [output port] (s20) is executed.

アドレス要求処理[入力ポート]では、図8に示すようにアドレス解決制御部17は、装置情報の送信元端末(L2アドレス)について端末登録情報保持部13を参照し(s171)、その登録装置名と受信装置の装置名とを比較する(s172)。ここで、登録装置名と受信装置の装置名とが一致しない場合(s172;No)、当該通信装置を登録装置とする端末ではないと判定し、フレームを廃棄制御する(s177)。一方、登録装置名と受信装置の装置名とが一致する場合(s172;Yes)は、アドレス要求情報に含まれる要求先端末のL3アドレスについて端末登録情報保持部13を参照し(s173)、該当する登録情報が有るか否かを判定する(s174)。   In the address request process [input port], as shown in FIG. 8, the address resolution control unit 17 refers to the terminal registration information holding unit 13 for the transmission source terminal (L2 address) of the device information (s171), and the registered device name And the device name of the receiving device are compared (s172). Here, when the registered device name and the device name of the receiving device do not match (s172; No), it is determined that the communication device is not a terminal having the registered device, and frame discard control is performed (s177). On the other hand, when the registered device name matches the device name of the receiving device (s172; Yes), the terminal registration information holding unit 13 is referred to for the L3 address of the request destination terminal included in the address request information (s173). It is determined whether there is registration information to be registered (s174).

登録情報が有った場合(s174;Yes)、さらに宛先端末の所属NW名と送信元端末の所属NW名とを比較する(s175)。ここで、宛先端末の所属NW名と送信元端末の所属NW名とが一致した場合(s175;Yes)、同一ネットワークに存在する端末のアドレスを要求していると判断されるが、この場合はその端末から当該端末のL2アドレスを伝えるアドレス応答フレームが送信されることでアドレス解決がなされるため、フレームを廃棄制御する(s177)。また、宛先端末の所属NW名と送信元端末の所属NW名とが一致しなかった場合(s175;No)、異なるネットワークに存在する端末のアドレスを要求していると判断されるため、代理応答制御、即ち送信元端末に要求先端末の割当仮想L2アドレスを通知する(s176)。なお、この「割当仮想L2アドレス」は、端末登録情報保持部13における「要求先端末の割当仮想L2アドレス」かつ通信装置情報保持部12における「受信した通信装置の仮想L2アドレス」を満たすものとする。   If there is registration information (s174; Yes), the affiliation NW name of the destination terminal is compared with the affiliation NW name of the transmission source terminal (s175). Here, when the affiliation NW name of the destination terminal matches the affiliation NW name of the transmission source terminal (s175; Yes), it is determined that an address of a terminal existing in the same network is requested. Since address resolution is performed by transmitting an address response frame that conveys the L2 address of the terminal from the terminal, the frame is discarded (s177). In addition, if the affiliation NW name of the destination terminal and the affiliation NW name of the transmission source terminal do not match (s175; No), it is determined that a request is made for the address of a terminal that exists in a different network. Control, that is, the allocated virtual L2 address of the request destination terminal is notified to the transmission source terminal (s176). The “assigned virtual L2 address” satisfies the “assigned virtual L2 address of the request destination terminal” in the terminal registration information holding unit 13 and the “virtual L2 address of the received communication device” in the communication device information holding unit 12. To do.

一方、端末登録情報保持部13に要求先端末の登録情報がなかった場合(s174;No)は、異なるネットワークにアドレス要求フレームを送信し、アドレス解決を試みる。まず、アドレス要求フレームのアドレス要求情報と、当該フレームを受信した通信装置名を「アドレス探索情報」として一定時間保持(s178)し、その後、アドレス探索制御を行う。   On the other hand, when there is no registration information of the request destination terminal in the terminal registration information holding unit 13 (s174; No), an address request frame is transmitted to a different network to try address resolution. First, the address request information of the address request frame and the name of the communication apparatus that has received the frame are held as “address search information” for a predetermined time (s178), and then address search control is performed.

アドレス探索制御では、送信元端末と所属NWが異なり、かつBUM転送設定がTRUEである通信装置に対して、それぞれの所属NWにアドレス要求フレームをブロードキャストするよう制御する(s179)。なお、アドレス要求フレームの送信元は各通信装置とし、当該フレームには、アドレス探索情報に保持されているアドレス要求情報が含まれているものとする。以上により、送信元端末の属するネットワークとは異なる各ネットワークにアドレス要求フレームが送信される。要求先端末が当該フレームを受信した場合、送信元の通信装置にアドレス応答フレームが返信される。   In the address search control, control is performed so that an address request frame is broadcast to each affiliated NW to a communication device having a different affiliated NW from the transmission source terminal and having a BUM transfer setting of TRUE (s179). It is assumed that the transmission source of the address request frame is each communication device, and that the frame includes the address request information held in the address search information. As described above, the address request frame is transmitted to each network different from the network to which the transmission source terminal belongs. When the request destination terminal receives the frame, an address response frame is returned to the transmission source communication device.

また、アドレス応答処理[入力ポート]では、図9に示すようにアドレス解決制御部17は、受信したフレームの宛先L2アドレスを調べ、受信した通信装置の仮想L2アドレスと一致しなければ(s191;No)フレームを廃棄制御する(s195)。また、一致すれば(s191;Yes)、さらにアドレス探索情報を参照し(s192)、アドレス応答フレームに含まれているL3アドレス情報に一致するアドレス要求情報があるか否かを判定する(s193)。ここで、該当するアドレス要求情報がなければ(s193;No)、フレームを廃棄制御する(s195)。また、アドレス要求情報があれば(s193;Yes)、アドレス探索情報を参照し、元のアドレス要求フレームを受信した通信装置(送信元端末の登録装置)に対して前記s176と同様の代理応答制御、即ち送信元端末に要求先端末の割当仮想L2アドレスを通知するよう制御し、その後、参照したアドレス探索情報を削除する(s194)。以上により、端末登録情報保持部13に要求先端末の登録情報がなかった場合のアドレス解決が完了する。   In the address response process [input port], as shown in FIG. 9, the address resolution control unit 17 checks the destination L2 address of the received frame, and if it does not match the virtual L2 address of the received communication device (s191; No) Discard the frame (s195). If they match (s191; Yes), the address search information is further referenced (s192) to determine whether there is address request information that matches the L3 address information included in the address response frame (s193). . If there is no corresponding address request information (s193; No), the frame is discarded (s195). If there is address request information (s193; Yes), the proxy response control similar to s176 is performed on the communication device (registration device of the transmission source terminal) that has received the original address request frame by referring to the address search information. That is, control is performed so as to notify the transmission source terminal of the allocated virtual L2 address of the request destination terminal, and thereafter, the referenced address search information is deleted (s194). As described above, the address resolution when the registration information of the requested terminal is not stored in the terminal registration information holding unit 13 is completed.

なお、アドレス要求フレームおよびアドレス応答フレームは中継ネットワークであるNW[3]には流通しないため、アドレス解決制御部17におけるアドレス要求処理[出力ポート]およびアドレス応答処理[出力ポート]は、ここでは単に受信したフレームを廃棄制御するものとする。   Since the address request frame and the address response frame are not distributed to the relay network NW [3], the address request processing [output port] and the address response processing [output port] in the address resolution control unit 17 are simply performed here. It is assumed that the received frame is discarded.

また、図10乃至図14は、フレーム転送制御部18における処理の流れの一例を示すフローチャートである。   10 to 14 are flowcharts showing an example of the flow of processing in the frame transfer control unit 18.

フレーム判別部16において、通信装置の受信したフレームが通常の通信フレームであると判定されると、これがフレーム転送制御部18に通知される。   When the frame determination unit 16 determines that the frame received by the communication device is a normal communication frame, the frame transfer control unit 18 is notified of this.

当該通知を受けたフレーム転送制御部18はまず、装置情報受信部14から装置情報を取得し(s21)、受信したフレームがユニキャストフレームかブロードキャストフレームかを判断する(s22)。   Upon receiving the notification, the frame transfer control unit 18 first acquires device information from the device information receiving unit 14 (s21), and determines whether the received frame is a unicast frame or a broadcast frame (s22).

ユニキャストフレームであれば、さらにフレームを受信したポートが入力ポートか出力ポートかを判定し(s23)、入力ポートであればユニキャスト転送処理[入力ポート](s25)を実行し、出力ポートであればユニキャスト転送処理[出力ポート](s26)を実行する。   If it is a unicast frame, it is further determined whether the port that received the frame is an input port or an output port (s23). If it is an input port, unicast transfer processing [input port] (s25) is executed. If there is, the unicast transfer process [output port] (s26) is executed.

また、ブロードキャストフレームであれば、同様にフレームを受信したポートが入力ポートか出力ポートかを判定し(s24)、入力ポートであればブロードキャスト転送処理[入力ポート](s27)を実行し、出力ポートであればブロードキャスト転送処理[出力ポート](s28)を実行する。   If it is a broadcast frame, it is similarly determined whether the port that received the frame is an input port or an output port (s24). If it is an input port, broadcast transfer processing [input port] (s27) is executed, and the output port If so, broadcast transfer processing [output port] (s28) is executed.

ユニキャスト転送処理[入力ポート]では、図11に示すようにフレーム転送制御部18は、まず受信したフレームの宛先L2アドレスを調べ、当該フレームの転送を受信装置が行うべきかどうかを判定する。前記アドレス解決制御部17によって、送信元端末は異なるネットワークに存在する端末へフレームを送信する場合、その宛先L2アドレスとして、特定の仮想L2アドレスを設定する。従って、通信装置が受信したフレームの宛先アドレスが、当該通信装置の仮想L2アドレスと一致しなければ(s251;No)、別の通信装置が転送すべきフレーム、もしくは、通信装置が転送する必要のないフレーム(送信元端末と同一ネットワークに存在する端末宛のフレーム)とみなし、フレームを廃棄制御する(s259)。また、一致すれば、受信装置が転送すべきフレームとみなし、仮想L2アドレスから本来の宛先L2アドレスを求める。そのために、端末登録情報保持部13を参照し(s252)、受信したフレームの宛先L2アドレス(仮想L2アドレス)、または宛先L3アドレスから宛先端末の端末L2アドレスを検索する(s253)。   In the unicast transfer process [input port], as shown in FIG. 11, the frame transfer control unit 18 first checks the destination L2 address of the received frame and determines whether the receiving apparatus should transfer the frame. When the address resolution control unit 17 transmits a frame to a terminal existing in a different network, the transmission source terminal sets a specific virtual L2 address as the destination L2 address. Therefore, if the destination address of the frame received by the communication device does not match the virtual L2 address of the communication device (s251; No), the frame to be transferred by another communication device or the communication device needs to transfer It is assumed that there is no frame (a frame addressed to a terminal existing in the same network as the transmission source terminal), and the frame is discarded (s259). If they match, the receiving apparatus regards it as a frame to be transferred, and obtains the original destination L2 address from the virtual L2 address. For this purpose, the terminal registration information holding unit 13 is referred to (s252), and the destination L2 address (virtual L2 address) or destination L3 address of the received frame is searched for (S253).

ここで、端末L2アドレスを発見できた場合(s254;Yes)は、フレーム転送制御(受信したフレームの宛先L2アドレスを検索した端末L2アドレスに変換して出力ポート側に送出)する(s255)。端末L2アドレスを発見できなかった場合(s254;No)、宛先端末を要求先端末とするアドレス解決を行う。このとき、前記アドレス解決制御部17におけるs179のアドレス探索制御と同様に、送信元端末と所属NWが異なり、かつBUM転送設定がTRUEである通信装置に対して、それぞれの所属NWにアドレス要求フレームをブロードキャストするよう制御する(s256)。なお、アドレス要求フレームの送信元は各通信装置とし、当該フレームのアドレス要求情報には、受信したフレームに含まれる宛先L3アドレスを用いるものとする。宛先端末が当該フレームを受信した場合、送信元の通信装置にアドレス応答フレームが返信され、その際に端末登録部15によって宛先端末の登録処理がなされることになる。   If the terminal L2 address is found (s254; Yes), frame transfer control (converts the destination L2 address of the received frame into the searched terminal L2 address and sends it to the output port side) (s255). If the terminal L2 address cannot be found (s254; No), address resolution is performed with the destination terminal as the request destination terminal. At this time, as in the address search control of s179 in the address resolution control unit 17, the address request frame is transmitted to each affiliated NW with respect to a communication device whose affiliated NW is different from the transmission source terminal and whose BUM transfer setting is TRUE. Is controlled to broadcast (s256). Note that the transmission source of the address request frame is each communication device, and the address L3 address included in the received frame is used as the address request information of the frame. When the destination terminal receives the frame, an address response frame is returned to the transmission source communication apparatus, and the destination terminal registration processing is performed by the terminal registration unit 15 at that time.

その後、宛先端末の端末登録処理がなされなければ(s257;No)フレームを廃棄制御し(s259)、なされれば(s257;Yes)、端末L2アドレスを当該登録された宛先端末の端末L2アドレスとし(s258)、前記同様のフレーム転送制御をする(s255)。   Thereafter, if terminal registration processing of the destination terminal is not performed (s257; No), the frame is discarded (s259). If it is performed (s257; Yes), the terminal L2 address is set as the terminal L2 address of the registered destination terminal. (S258), the same frame transfer control as described above is performed (s255).

また、 ユニキャスト転送処理[出力ポート]では、図12に示すようにフレーム転送制御部18は、まず受信したフレームの宛先L2アドレスを調べ、当該フレームの転送を受信装置が行うべきかどうかを判定する。フレームの宛先L2アドレスについて端末登録情報保持部13を参照し(s261)、登録情報がなければ(s262;No)、宛先不明であるとしてフレームを廃棄制御する(s266)。但し、出力ポート側のネットワークに流通しているフレームは、ある通信装置の入力ポートで受信されたものであるため、前記ユニキャスト転送処理[入力ポート](s25)の動作より、宛先端末の登録情報が存在しないという状況は発生し難いと考えられる。また、登録情報があれば(s262;Yes)、宛先端末の所属NW名と送信元端末の所属NW名とを比較し(s263)、一致すれば(s263;Yes)トラヒックがループすることを防ぐためにフレームを廃棄制御する(s266)。   In the unicast transfer process [output port], as shown in FIG. 12, the frame transfer control unit 18 first checks the destination L2 address of the received frame and determines whether the receiving apparatus should transfer the frame. To do. The terminal registration information holding unit 13 is referred to for the destination L2 address of the frame (s261), and if there is no registration information (s262; No), the frame is discarded as the destination is unknown (s266). However, since the frame distributed in the network on the output port side is received at the input port of a certain communication device, the destination terminal is registered by the operation of the unicast transfer process [input port] (s25). The situation where no information exists is unlikely to occur. If there is registration information (s262; Yes), the affiliation NW name of the destination terminal and the affiliation NW name of the transmission source terminal are compared (s263), and if they match (s263; Yes), traffic is prevented from looping. The frame is discarded for control (s266).

さらに登録装置名と受信装置の装置名とを比較し(s264)、一致しなければ(s264;No)、別の通信装置が転送すべきフレームとみなし、フレームを廃棄制御する(s266)。また、一致すれば(s264;Yes)、受信装置が転送すべきフレームとみなし、フレームを転送制御(受信フレームの送信元L2アドレスを、送信元端末の割当仮想L2アドレスに変換し、入力ポート側に送出)する(s265)。なお、送信元L2アドレスとして設定する仮想L2アドレスは、端末登録情報保持部13における送信元端末の割当仮想L2アドレスのうち、通信装置情報保持部12における当該通信装置の仮想L2アドレスと一致するものとする。  Furthermore, the registered device name and the device name of the receiving device are compared (s264). If they do not match (s264; No), it is regarded as a frame to be transferred by another communication device, and the frame is discarded (s266). If they match (s264; Yes), it is regarded as a frame to be transferred by the receiving device, and the frame is subjected to transfer control (the transmission source L2 address of the reception frame is converted to the assigned virtual L2 address of the transmission source terminal, (S265). The virtual L2 address set as the transmission source L2 address matches the virtual L2 address of the communication device in the communication device information holding unit 12 among the allocated virtual L2 addresses of the transmission source terminal in the terminal registration information holding unit 13. And

また、ブロードキャスト転送処理[入力ポート]では、送信元端末の登録装置のみがブロードキャストフレームを転送することによって、出力ポート側のネットワーク(NW[3])における経路の上書きと、複数の通信装置からフレームを重複して転送してしまうことを防ぐ。即ち、図13に示すようにフレーム転送制御部18は、受信したフレームの送信元L2アドレスについて端末登録情報保持部13を参照し(s271)、その登録装置名と受信装置の装置名とを比較する(s272)。ここで、登録装置名と受信装置の装置名とが一致しない場合(s272;No)は、フレームを廃棄制御する(s274)。一方、登録装置名と受信装置の装置名とが一致する場合(s272;Yes)は、フレーム転送制御(受信したフレームをそのまま出力ポートに送出)する(s273)。   In the broadcast transfer process [input port], only the registration device of the transmission source terminal transfers the broadcast frame, thereby overwriting the route in the network (NW [3]) on the output port side and the frame from a plurality of communication devices. To prevent duplicates from being transferred. That is, as shown in FIG. 13, the frame transfer control unit 18 refers to the terminal registration information holding unit 13 for the source L2 address of the received frame (s271), and compares the registered device name with the device name of the receiving device. (S272). If the registered device name and the device name of the receiving device do not match (s272; No), the frame is discarded (s274). On the other hand, if the registered device name matches the device name of the receiving device (s272; Yes), frame transfer control (sends the received frame to the output port as it is) is performed (s273).

さらにまた、ブロードキャスト転送処理[出力ポート]では、BUM転送設定がTRUEである通信装置のみがブロードキャストフレームを転送することによって、複数の通信装置からフレームを重複して転送してしまうことを防ぐ。即ち、図14に示すようにフレーム転送制御部18は、フレームを受信した通信装置について通信装置情報保持部12を参照し(s281)、BUM転送設定がTRUEかFALSEかを判定し(s282)、FALSEであればフレームを廃棄制御する(s286)。BUM転送設定がTRUEであれば、端末登録情報保持部13からフレームの送信元端末の所属NWを参照し(s283)、フレームを受信した通信装置の所属NWと比較する(s284)。ここで、送信元端末の所属NW名と受信装置の所属NW名とが一致する場合(s284;Yes)、トラヒックのループを防ぐためにフレームを廃棄制御する(s286)。一方、送信元端末の所属NW名と受信装置の所属NW名とが一致しない場合(s284;No)、フレーム転送制御(受信したフレームをそのまま入力ポートに送出)する(s285)。   Furthermore, in the broadcast transfer process [output port], only a communication device whose BUM transfer setting is TRUE transfers a broadcast frame, thereby preventing a frame from being duplicately transferred from a plurality of communication devices. That is, as shown in FIG. 14, the frame transfer control unit 18 refers to the communication device information holding unit 12 for the communication device that has received the frame (s281), determines whether the BUM transfer setting is TRUE or FALSE (s282), If FALSE, the frame is discarded (s286). If the BUM transfer setting is TRUE, the terminal registration information holding unit 13 refers to the affiliation NW of the transmission source terminal of the frame (s283) and compares it with the affiliation NW of the communication apparatus that has received the frame (s284). Here, when the belonging NW name of the transmission source terminal and the belonging NW name of the receiving apparatus match (s284; Yes), discard control of the frame is performed to prevent a traffic loop (s286). On the other hand, when the affiliation NW name of the transmission source terminal and the affiliation NW name of the receiving device do not match (s284; No), frame transfer control (sends the received frame to the input port as it is) (s285).

以下、アドレス解決制御部17、フレーム転送制御部18および装置設定部19における制御の内容を、具体的な動作例に従って説明する。   Hereinafter, the contents of control in the address resolution control unit 17, the frame transfer control unit 18, and the device setting unit 19 will be described according to a specific operation example.

図15は、要求先端末の端末登録情報がある場合のアドレス解決制御部17の動作例を示している。   FIG. 15 shows an operation example of the address resolution control unit 17 when there is terminal registration information of the request destination terminal.

本例では、端末Aが他の端末に対してフレームを送信する前にARPにより宛先端末のL2アドレス(MACアドレス)を要求した状況を考え、また、端末登録情報保持部13により全端末についての登録情報が図4に示したように保持されているものとする。   In this example, consider a situation in which the terminal A requests the L2 address (MAC address) of the destination terminal by ARP before transmitting a frame to another terminal, and the terminal registration information holding unit 13 It is assumed that registration information is held as shown in FIG.

まず、図15の上部に示したように、端末Aが同一ネットワークに属している端末Bのアドレスを要求した場合を考える。このアドレス要求フレームは、ブロードキャストによりネットワークNW[1]の全体に転送され、装置GW[1],GW[2]によって受信される。それぞれの通信装置から装置情報を装置情報受信部14を介して受信したネットワーク制御装置のアドレス解決制御部17は、図7および図8に示した処理に従い、アドレス要求フレームに含まれるアドレス要求情報(要求先端末のL3アドレス情報)から、送信元端末Aが同一ネットワークに存在する端末BのL2アドレスを要求していることを判断できる(図8のs171〜s175)。この場合、端末Bから当該端末のL2アドレスを伝えるアドレス応答フレームが送信されることによりネットワーク内でアドレス解決がなされるため、アドレス解決制御部17は装置設定部19を介して、各通信装置に対し受信フレームの廃棄制御を行う(図8のs177)。   First, as shown in the upper part of FIG. 15, consider a case where terminal A requests the address of terminal B belonging to the same network. This address request frame is transferred to the entire network NW [1] by broadcast and received by the devices GW [1] and GW [2]. The address resolution control unit 17 of the network control device that has received the device information from each communication device via the device information receiving unit 14 follows the processing shown in FIGS. 7 and 8 in the address request information ( From the L3 address information of the request destination terminal), it can be determined that the source terminal A requests the L2 address of the terminal B existing in the same network (s171 to s175 in FIG. 8). In this case, address resolution is performed in the network by transmitting an address response frame that conveys the L2 address of the terminal from the terminal B, so that the address resolution control unit 17 sends each communication device via the device setting unit 19. On the other hand, discard control of the received frame is performed (s177 in FIG. 8).

次に、図15の下部に示したように、端末Aが異なるネットワークに属している端末Cのアドレスを要求した場合を考える。このアドレス要求フレームは、ブロードキャストによりネットワークNW[1]の全体に転送され、装置GW[1],GW[2]によって受信される。それぞれの通信装置から装置情報を装置情報受信部14を介して受信したネットワーク制御装置のアドレス解決制御部17は、図7および図8に示した処理に従い、アドレス要求フレームに含まれるアドレス要求情報(要求先端末のL3アドレス情報)から、送信元端末Aが異なるネットワークに存在する端末Cのアドレスを要求していることを判断できる(図8のs171〜s175)。   Next, consider the case where terminal A requests the address of terminal C belonging to a different network, as shown in the lower part of FIG. This address request frame is transferred to the entire network NW [1] by broadcast and received by the devices GW [1] and GW [2]. The address resolution control unit 17 of the network control device that has received the device information from each communication device via the device information receiving unit 14 follows the processing shown in FIGS. 7 and 8 in the address request information ( From the L3 address information of the request destination terminal), it can be determined that the source terminal A is requesting the address of the terminal C existing in a different network (s171 to s175 in FIG. 8).

この場合、アドレス解決制御部17は装置設定部19を介して、端末CのL2アドレスとして、端末Cの割当仮想L2アドレス(ここでは「W,X」)のうち、送信元端末Aの登録装置である装置GW[1]の仮想L2アドレス(ここでは「W」)を送信元端末に通知する(図8のs176)。これにより、端末Aから端末Cに送信されるフレームは一度、当該通信装置GW[1]に送信されることになる。このとき、端末Aは端末Cが異なるネットワークに存在することを意識せずに通信することができる。   In this case, the address resolution control unit 17 uses the device setting unit 19 as the L2 address of the terminal C, and among the allocated virtual L2 addresses (here, “W, X”) of the terminal C, the registration device of the transmission source terminal A Is notified to the source terminal (s176 in FIG. 8) of the virtual L2 address (“W” in this case) of the device GW [1]. Thereby, the frame transmitted from the terminal A to the terminal C is once transmitted to the communication device GW [1]. At this time, the terminal A can communicate without being aware that the terminal C exists in a different network.

図16は、要求先端末の端末登録情報がない場合のアドレス解決制御部17の動作例を示している。   FIG. 16 shows an operation example of the address resolution control unit 17 when there is no terminal registration information of the request destination terminal.

本例では、端末Aが異なるネットワークに属している端末DのL2アドレスを要求した場合を考える。ただしこのとき、端末Dの登録情報が端末登録情報保持部12に保持されていないものとする。このため、装置情報を装置情報受信部14を介して受信したネットワーク制御装置のアドレス解決制御部17は、図7および図8に示した処理に従い、アドレス要求フレームに含まれるアドレス要求情報(要求先端末のL3アドレス情報)を参照しても、送信元端末がどのネットワークに存在する端末のL2アドレスを要求しているのかを判断できない(図8のs171〜s174)。   In this example, consider a case where terminal A requests the L2 address of terminal D belonging to a different network. However, at this time, it is assumed that the registration information of the terminal D is not held in the terminal registration information holding unit 12. For this reason, the address resolution control unit 17 of the network control device that has received the device information via the device information receiving unit 14 performs the address request information (request destination) included in the address request frame according to the processing shown in FIGS. Referring to (L3 address information of terminal), it cannot be determined which network the source terminal is requesting the L2 address of the terminal in (s171 to s174 in FIG. 8).

そこで、アドレス解決制御部17はアドレス要求情報および受信装置情報を一定時間保持し(図8のs178)、さらに装置設定部19を介して、異なるネットワークに属している通信装置に対し、当該装置の所属NWへアドレス要求を送信させる制御を行う(図8のs179)ことで、宛先端末がどのネットワークに存在するのかを調べる。   Therefore, the address resolution control unit 17 holds the address request information and the receiving device information for a predetermined time (s178 in FIG. 8), and further, via the device setting unit 19 to the communication devices belonging to different networks, By performing control to send an address request to the affiliated NW (s179 in FIG. 8), it is checked in which network the destination terminal exists.

図7乃至図9に示した処理に従い、アドレス解決の結果、宛先端末が異なるネットワークに存在することがわかった場合、アドレス解決制御部17は装置設定部19を介して、新たに登録された端末DのL2アドレスとして、端末Dの割当仮想L2アドレス(ここでは「W’,X’」)のうち、送信元端末Aの登録装置である装置GW[1]の仮想L2アドレス(ここでは「W’」)を送信元端末に通知する(図11のs201〜s204)。   When it is found that the destination terminal exists in a different network as a result of the address resolution according to the processing shown in FIGS. 7 to 9, the address resolution control unit 17 uses the device setting unit 19 to newly register the terminal. Of the allocated virtual L2 addresses of terminal D (here, “W ′, X ′”) as the L2 address of D, the virtual L2 address of device GW [1] that is the registration device of source terminal A (here “W” '") To the source terminal (s201 to s204 in FIG. 11).

図17は、アドレス変換に割当仮想L2アドレスの情報を使用した場合の、フレーム転送制御部18および装置設定部19によるユニキャストフレーム転送の動作例を示している。なお、図中においてネットワーク制御装置の記載は省略している。   FIG. 17 shows an operation example of unicast frame transfer by the frame transfer control unit 18 and the device setting unit 19 when the information of the assigned virtual L2 address is used for address conversion. In the figure, description of the network control device is omitted.

本例では、端末登録情報保持部13に図4に示した情報が保持されているものとする。例1に示すように、端末Aから端末Cに対してユニキャストフレームを送信する場合、端末Aは宛先アドレスを装置GW[1]によって通知された「W」としてフレームを送信することになる。当該フレームを装置GW[1]は入力ポートから受信する。   In this example, it is assumed that the information shown in FIG. 4 is held in the terminal registration information holding unit 13. As shown in Example 1, when transmitting a unicast frame from terminal A to terminal C, terminal A transmits a frame with the destination address “W” notified by device GW [1]. The device GW [1] receives the frame from the input port.

装置GW[1]から装置情報受信部14を介して装置情報を受信したネットワーク制御装置のフレーム転送制御部18は、図10および図11に示した処理に従い、まず、当該装置が送信元端末の登録装置か否かを判定、即ち受信したフレームの宛先L2アドレスが受信した通信装置の仮想L2アドレスか否かを判定する(図11のs251)。登録装置でなかった場合、フレームを廃棄するように装置設定部19を介して通信装置を制御する(図11のs259)。一方、登録装置であった場合には、送信元端末の端末登録情報を参照し、フレームの宛先アドレス「W」を本来のアドレス「C」に変換した上で出力ポートに送出するように装置設定部19を介して通信装置を制御する(図11のs252〜s255)。   The frame transfer control unit 18 of the network control apparatus that has received the apparatus information from the apparatus GW [1] via the apparatus information receiving unit 14 first follows that the apparatus is the transmission source terminal according to the processing shown in FIGS. It is determined whether or not it is a registered device, that is, whether or not the destination L2 address of the received frame is the virtual L2 address of the received communication device (s251 in FIG. 11). If it is not a registered device, the communication device is controlled via the device setting unit 19 so as to discard the frame (s259 in FIG. 11). On the other hand, in the case of a registration device, the device setting is made such that the terminal registration information of the transmission source terminal is referred to, the frame destination address “W” is converted to the original address “C”, and then sent to the output port. The communication device is controlled via the unit 19 (s252 to s255 in FIG. 11).

次に、当該フレームを装置GW[3]が出力ポートから受信したとする。装置GW[3]から装置情報受信部14を介して装置情報を受信したネットワーク制御装置のフレーム転送制御部18は、図10および図12に示した処理に従い、まず、受信したフレームの宛先L2アドレスについて端末登録情報保持部13を参照し(図12のs261)、当該装置が宛先端末の登録装置か否かを判定する(図12のs262〜s264)。登録装置でなかった場合、フレームを廃棄するように装置設定部19を介して通信装置を制御する(図12のs266)。   Next, it is assumed that the device GW [3] receives the frame from the output port. The frame transfer control unit 18 of the network control device that has received the device information from the device GW [3] via the device information receiving unit 14 first follows the processing shown in FIGS. 10 and 12, and first receives the destination L2 address of the received frame. The terminal registration information holding unit 13 is referred to (s261 in FIG. 12), and it is determined whether or not the device is a destination terminal registration device (s262 to s264 in FIG. 12). If it is not a registered device, the communication device is controlled via the device setting unit 19 so as to discard the frame (s266 in FIG. 12).

一方、登録装置であった場合には、フレームの送信元L2アドレス「A」を本来のアドレスから該当する仮想L2アドレス「Y」に変換した上で入力ポートに送出するように装置設定部19を介して通信装置を制御する(図12のs265)。最後に当該フレームを端末Cが受信する。   On the other hand, if it is a registered device, the device setting unit 19 is configured to convert the frame transmission source L2 address “A” from the original address to the corresponding virtual L2 address “Y” and send it to the input port. The communication device is controlled via the network (s265 in FIG. 12). Finally, terminal C receives the frame.

例2に示すように、端末Aから端末Dに対してユニキャストフレームを送信する場合も、端末Aからのフレームの宛先L2アドレス「W’」が装置GW[1]で「D」に変換され、送信元L2アドレス「A」が装置GW[4]で「Z」に変換される点を除いて、前記と同様である。   As shown in Example 2, when a unicast frame is transmitted from terminal A to terminal D, the destination L2 address “W ′” of the frame from terminal A is converted to “D” by device GW [1]. , Except that the source L2 address “A” is converted to “Z” by the device GW [4].

図18は、アドレス変換に端末L3アドレスの情報を使用した場合の、フレーム転送制御部18および装置設定部19によるユニキャストフレーム転送の動作例を示している。   FIG. 18 shows an operation example of unicast frame transfer by the frame transfer control unit 18 and the device setting unit 19 when the information of the terminal L3 address is used for address conversion.

図17の例では、各通信装置が異なるネットワークの端末に対して仮想L2アドレスを1:1の関係で割り当てることにより、アドレスの変換を行っている。この場合、端末や通信装置が増加することで必要となる仮想L2アドレスが増大することになる。そこで、もう1つの方法として、L3アドレスの情報を用いてアドレス変換を行うことが挙げられる。   In the example of FIG. 17, each communication apparatus performs address conversion by assigning a virtual L2 address to a terminal of a different network in a 1: 1 relationship. In this case, the required virtual L2 address increases as the number of terminals and communication devices increase. Therefore, as another method, address conversion is performed using information on the L3 address.

基本的なフレームの転送の流れは同じであるが、アドレス変換時にL3アドレスを利用することで、各通信装置が端末毎に仮想L2アドレスを割り当てなくてもアドレスの変換を可能にしている。その一方で、何らかの理由でIPアドレスが変更された場合には、アドレス変換に不具合が生じ得る。   The basic frame transfer flow is the same, but by using the L3 address at the time of address conversion, each communication device can convert the address without assigning a virtual L2 address for each terminal. On the other hand, if the IP address is changed for some reason, a problem may occur in address conversion.

図19は、フレーム転送制御部18および装置設定部19によるブロードキャストフレーム転送の動作例を示している。各通信装置での受信の状況とフレーム転送するか否かの判定を以下に記述する。   FIG. 19 shows an operation example of broadcast frame transfer by the frame transfer control unit 18 and the device setting unit 19. The reception status at each communication device and the determination of whether or not to transfer a frame are described below.

(1) 装置GW[1]が入力ポートから受信。送信元L2アドレスの登録装置が当該装置であるため、フレームを出力ポートに転送するように通信装置を設定する(図13のs271〜s273)。   (1) Device GW [1] receives from the input port. Since the registration device of the transmission source L2 address is the device, the communication device is set to transfer the frame to the output port (s271 to s273 in FIG. 13).

(2) 装置GW[2]が入力ポートから受信。送信元L2アドレスの登録装置が当該装置でないため、フレームを廃棄するように通信装置を設定する(図13のs271,s272,s274)。   (2) Device GW [2] receives from the input port. Since the registration device of the transmission source L2 address is not the device, the communication device is set to discard the frame (s271, s272, and s274 in FIG. 13).

(3) 装置GW[2]が出力ポートから受信。当該装置のBUM転送設定は「TRUE」であるが、送信元端末の所属NWと装置の所属NWを比較することでフレームがループすることがわかるため、フレームを廃棄するように通信装置を設定する(図14のs281,s282,s283,s284,s286)。   (3) Device GW [2] receives from the output port. Although the BUM transfer setting of the device is “TRUE”, it is understood that the frame loops by comparing the belonging NW of the transmission source terminal and the belonging NW of the device, so the communication device is set to discard the frame. (S281, s282, s283, s284, s286 in FIG. 14).

(4) 装置GW[3]が出力ポートから受信。当該装置のBUM転送設定が「FALSE」であるため、フレームを廃棄するように通信装置を設定する(図14のs281,s282,s286)。   (4) Device GW [3] receives from the output port. Since the BUM transfer setting of the device is “FALSE”, the communication device is set to discard the frame (s281, s282, and s286 in FIG. 14).

(5) 装置GW[4]が出力ポートから受信。当該装置のBUM転送設定は「TRUE」であり、かつ、送信元端末の所属NWと装置の所属NWを比較することでフレームがループしないことがわかるため、フレームを出力ポートに転送するように通信装置を制御する。また、転送の際、フレームの送信元L2アドレスをユニキャストフレームの転送と同様の方法で仮想L2アドレスに変換に変換する(図14のs281〜s285)。   (5) Device GW [4] receives from the output port. The BUM transfer setting of the device is “TRUE”, and it can be seen that the frame does not loop by comparing the affiliation NW of the transmission source terminal with the affiliation NW of the device, so communication is performed so that the frame is transferred to the output port. Control the device. Further, at the time of transfer, the frame transmission source L2 address is converted into a virtual L2 address by the same method as the transfer of the unicast frame (s281 to s285 in FIG. 14).

(6) GW[3]が入力ポートから受信。フレームの送信元L2アドレスが仮想アドレスであり、当然、送信元L2アドレスの登録装置が当該装置でないため、フレームを廃棄するように通信装置を制御する(図13のs271,s272,s274)。   (6) GW [3] received from the input port. Since the transmission source L2 address of the frame is a virtual address and, naturally, the registration device of the transmission source L2 address is not the device, the communication device is controlled to discard the frame (s271, s272, and s274 in FIG. 13).

11:通信装置情報入力部、12:通信装置情報保持部、13:端末登録情報保持部、14:装置情報受信部、15:端末登録部、16:フレーム判別部、17:アドレス解決制御部、18:フレーム転送制御部、19:装置設定部、A〜D:端末装置、GW[1]〜GW[4]:通信装置、NW[1]〜NW[3]:ネットワーク。   11: Communication device information input unit, 12: Communication device information holding unit, 13: Terminal registration information holding unit, 14: Device information receiving unit, 15: Terminal registration unit, 16: Frame discrimination unit, 17: Address resolution control unit, 18: Frame transfer control unit, 19: Device setting unit, A to D: Terminal device, GW [1] to GW [4]: Communication device, NW [1] to NW [3]: Network.

特開2007−19698号公報(「リング型冗長通信路制御方法」)Japanese Patent Laying-Open No. 2007-19698 ("Ring-type redundant channel control method")

Claims (4)

データ通信の送受信アドレスとしてネットワークの識別子を用いない複数のネットワークを接続し、各ネットワークに属する端末装置からのフレームを転送する通信装置に対して当該フレームの転送制御を行うネットワーク制御装置であって、
各通信装置の情報を保持する通信装置情報保持部と、
各端末装置の情報を保持する端末登録情報保持部と、
各通信装置から当該通信装置の装置名や当該通信装置で受信したフレームの情報などの装置情報を受信する装置情報受信部と、
前記装置情報から各端末装置の情報を端末登録情報保持部に登録する端末登録部と、
前記装置情報から、通信装置の受信したフレームがアドレス要求・応答フレームか通常の通信フレームかを判別するフレーム判別部と、
受信したフレームがアドレス要求・応答フレームであった場合に、前記装置情報と通信装置情報保持部および端末登録情報保持部が保持する情報とを基に通信装置に指示するアドレス要求・応答フレームの転送制御内容を決定するアドレス解決制御部と、
受信したフレームが通常の通信フレームであった場合に、前記装置情報と通信装置情報保持部および端末登録情報保持部が保持する情報とを基に通信装置に指示する通常の通信フレームの転送制御内容を決定するフレーム転送制御部と、
決定された転送制御内容に従って通信装置を設定する装置設定部とを少なくとも備えた
ことを特徴とするネットワーク制御装置。
A network control device that connects a plurality of networks that do not use a network identifier as a transmission / reception address for data communication, and performs transfer control of the frame to a communication device that transfers a frame from a terminal device belonging to each network,
A communication device information holding unit for holding information of each communication device;
A terminal registration information holding unit for holding information of each terminal device;
A device information receiving unit for receiving device information such as a device name of the communication device and information of a frame received by the communication device from each communication device;
A terminal registration unit for registering information of each terminal device in the terminal registration information holding unit from the device information;
A frame discriminating unit that discriminates whether the frame received by the communication device is an address request / response frame or a normal communication frame from the device information;
When the received frame is an address request / response frame, transfer of an address request / response frame instructing the communication device based on the device information and information held by the communication device information holding unit and the terminal registration information holding unit An address resolution control unit for determining control contents;
When the received frame is a normal communication frame, transfer control contents of a normal communication frame instructing the communication device based on the device information and information held by the communication device information holding unit and the terminal registration information holding unit A frame transfer control unit for determining
A network control device comprising at least a device setting unit configured to set a communication device according to the determined transfer control content.
データ通信の送受信アドレスとしてネットワークの識別子を用いない複数のネットワークを接続し、各ネットワークに属する端末装置からのフレームを転送する通信装置に対して当該フレームの転送制御を行うネットワーク制御装置であって、
各通信装置毎に、入力ポートが接続されているネットワーク名を示す所属ネットワーク名、フレームを転送する際の送信元アドレス変換に利用する仮想L2アドレス、出力ポートから受信したブロードキャストフレームを転送するか否かを示すBUM転送設定を少なくとも含む通信装置情報を保持する通信装置情報保持部と、
各端末装置毎に、その端末L2アドレス、当該端末装置を登録した通信装置を示す登録装置名、登録した通信装置の所属ネットワーク名、当該端末装置を登録した通信装置の所属ネットワークとは異なるネットワークに所属している通信装置の仮想L2アドレスからなる割当仮想L2アドレス、その端末L3アドレスを少なくとも含む端末登録情報を保持する端末登録情報保持部と、
各通信装置から当該通信装置の装置名や当該通信装置で受信したフレームの情報などの装置情報を受信する装置情報受信部と、
前記装置情報から、各通信装置がその入力ポートから受信したフレームの送信元L2アドレスが未登録の端末L2アドレスであるか、または既登録であるが所属ネットワーク名が当該フレームを受信した通信装置の所属ネットワークと異なるときに、当該送信元L2アドレスを端末L2アドレス、登録装置名を当該フレームを受信した通信装置名、所属ネットワーク名を登録装置の所属ネットワーク名、割当仮想L2アドレスを前記仮想L2アドレス、その送信元L3アドレスを端末L3アドレスとする端末登録情報を端末登録情報保持部に登録する端末登録部と、
前記装置情報から、通信装置の受信したフレームがアドレス要求・応答フレームか通常の通信フレームかを判別するフレーム判別部と、
通信装置が受信したフレームがアドレス要求・応答フレームである場合の各通信装置におけるアドレス要求・応答制御として、入力ポート側から自身を登録装置とする端末装置からアドレス要求フレームを受信したとき、要求先端末について端末登録情報保持部に登録があり当該端末装置が異なるネットワークに属する端末装置であった場合は、端末登録情報保持部に登録された宛先端末装置の割当仮想L2アドレスのうち前記登録装置の仮想L2アドレスをアドレス要求フレームの送信元端末に通知し、要求先端末について端末登録情報保持部に登録がなく当該端末装置が属するネットワークが不明である場合は、各通信装置から異なるネットワークにアドレス要求フレームをブロードキャストし、入力ポート側から自身の仮想L2アドレスを宛先L2アドレスとするアドレス応答フレームを受信した場合は、アドレス要求フレームの送信元端末に端末登録情報保持部に登録された宛先端末装置の割当仮想L2アドレスのうち前記登録装置の仮想L2アドレスを通知し、出力ポート側からアドレス要求フレームまたはアドレス応答フレームを受信した場合は、それらのフレームを廃棄するように決定するアドレス解決制御部と、
通信装置が受信したフレームが通常の通信フレームである場合の各通信装置におけるフレーム転送制御として、入力ポート側から宛先L2アドレスとして自身の仮想L2アドレスを含むユニキャストフレームを受信した場合は、当該仮想L2アドレスを端末登録情報保持部中の対応する端末L2アドレスに変換して転送し、出力ポート側から宛先L2アドレスと送信元L2アドレスの所属ネットワークが異なり、かつ宛先L2アドレスが自身を登録装置とするユニキャストフレームを受信した場合は、送信元L2アドレスを端末登録情報保持部中の対応する割当仮想L2アドレスに変換して転送し、入力ポート側からブロードキャストフレームを受信した場合は、送信元L2アドレスが自身を登録装置とするものであればそのまま出力ポート側に送出し、そうでなければ廃棄し、出力ポート側からブロードキャストフレームを受信した場合は、自身が受信したブロードキャストフレームを転送する装置であり、かつ宛先L2アドレスと送信元L2アドレスの所属ネットワークが同じであればそのまま入力ポート側に送出し、そうでなければ廃棄するように決定するフレーム転送制御部と、
決定された転送制御内容に従って通信装置を設定する装置設定部とを少なくとも備えた
ことを特徴とするネットワーク制御装置。
A network control device that connects a plurality of networks that do not use a network identifier as a transmission / reception address for data communication, and performs transfer control of the frame to a communication device that transfers a frame from a terminal device belonging to each network,
For each communication device, the belonging network name indicating the name of the network to which the input port is connected, the virtual L2 address used for source address conversion when the frame is transferred, and whether or not to transfer the broadcast frame received from the output port A communication device information holding unit for holding communication device information including at least a BUM transfer setting indicating
For each terminal device, the terminal L2 address, the registered device name indicating the communication device that registered the terminal device, the belonging network name of the registered communication device, and a network different from the belonging network of the communication device that registered the terminal device An assigned virtual L2 address consisting of a virtual L2 address of a communication device to which the terminal belongs, a terminal registration information holding unit for holding terminal registration information including at least the terminal L3 address;
A device information receiving unit for receiving device information such as a device name of the communication device and information of a frame received by the communication device from each communication device;
From the device information, the source L2 address of the frame received by each communication device from its input port is the unregistered terminal L2 address, or the registered network name of the communication device that has been registered but has received the frame. When different from the affiliated network, the source L2 address is the terminal L2 address, the registered device name is the name of the communication device that received the frame, the affiliated network name is the affiliated network name of the registered device, and the assigned virtual L2 address is the virtual L2 address A terminal registration unit that registers terminal registration information with the source L3 address as a terminal L3 address in the terminal registration information holding unit;
A frame discriminating unit that discriminates whether the frame received by the communication device is an address request / response frame or a normal communication frame from the device information;
When an address request frame is received from a terminal device that registers itself from the input port side as address request / response control in each communication device when the frame received by the communication device is an address request / response frame, If the terminal is registered in the terminal registration information holding unit and the terminal device is a terminal device belonging to a different network, the registered device's assigned virtual L2 address of the destination terminal device registered in the terminal registration information holding unit The virtual L2 address is notified to the source terminal of the address request frame, and when the request destination terminal is not registered in the terminal registration information holding unit and the network to which the terminal device belongs is unknown, the address request is sent from each communication device to a different network. Broadcast the frame and input its own virtual L2 address from the input port side. When the address response frame is received with the destination L2 address as the destination L2 address, the virtual L2 address of the registered device is assigned to the destination terminal device registered virtual L2 address registered in the terminal registration information holding unit in the address request frame transmission source terminal. When the address request frame or the address response frame is received from the output port side, the address resolution control unit that determines to discard these frames, and
As a frame transfer control in each communication device when the frame received by the communication device is a normal communication frame, if a unicast frame including its own virtual L2 address as the destination L2 address is received from the input port side, The L2 address is converted to the corresponding terminal L2 address in the terminal registration information holding unit and transferred, and the destination L2 address and the source L2 address are different from the network to which the destination L2 address belongs from the output port side. When the unicast frame to be received is received, the transmission source L2 address is converted into the corresponding assigned virtual L2 address in the terminal registration information holding unit and transferred. When the broadcast frame is received from the input port side, the transmission source L2 If the address is for a registered device, it is the output port as it is If the broadcast frame is received from the output port side, it is a device that forwards the received broadcast frame, and the destination L2 address and the source L2 address belong to the same network If so, send it to the input port as it is, and if not, discard the frame transfer control unit,
A network control device comprising at least a device setting unit configured to set a communication device according to the determined transfer control content.
1つの物理的なネットワーク上に構成された複数の仮想的なネットワークを接続する通信装置に対してフレーム転送制御を行う
ことを特徴とする請求項1または2に記載のネットワーク制御装置。
The network control device according to claim 1, wherein frame transfer control is performed for a communication device that connects a plurality of virtual networks configured on one physical network.
データ通信の送受信アドレスとしてネットワークの識別子を用いない複数のネットワークを接続し、各ネットワークに属する端末装置からのフレームを転送する通信装置に対して当該フレームの転送制御を行うネットワーク制御方法であって、
装置情報受信部が、各通信装置から当該通信装置の装置名や当該通信装置で受信したフレームの情報などの装置情報を受信する工程と、
端末登録部が、前記装置情報から各端末装置の情報を端末登録情報保持部に登録する工程と、
フレーム判別部が、通信装置の受信したフレームがアドレス要求・応答フレームか通常の通信フレームかを判別する工程と、
アドレス解決制御部が、受信したフレームがアドレス要求・応答フレームであった場合に、前記装置情報と通信装置情報保持部および端末登録情報保持部が保持する情報とを基に通信装置に指示するアドレス要求・応答フレームの転送制御内容を決定する工程と、
フレーム転送制御部が、受信したフレームが通常の通信フレームであった場合に、前記装置情報と通信装置情報保持部および端末登録情報保持部が保持する情報とを基に通信装置に指示する通常の通信フレームの転送制御内容を決定する工程と、
装置設定部が、決定した転送制御内容に従って通信装置を設定する工程とを少なくとも備えた
ことを特徴とするネットワーク制御方法。
A network control method for connecting a plurality of networks that do not use a network identifier as a transmission / reception address for data communication and performing transfer control of the frame to a communication device that transfers a frame from a terminal device belonging to each network,
A device information receiving unit receiving device information such as a device name of the communication device or information of a frame received by the communication device from each communication device;
A step of registering information of each terminal device in the terminal registration information holding unit from the device information;
A step of determining whether the frame received by the communication device is an address request / response frame or a normal communication frame;
The address that the address resolution control unit instructs to the communication device based on the device information and the information held by the communication device information holding unit and the terminal registration information holding unit when the received frame is an address request / response frame A step of determining transfer control contents of the request / response frame;
When the received frame is a normal communication frame, the frame transfer control unit instructs the communication device based on the device information and the information held by the communication device information holding unit and the terminal registration information holding unit. Determining transfer control content of a communication frame;
A network control method comprising: a device setting unit including at least a step of setting a communication device according to the determined transfer control content.
JP2012196838A 2012-09-07 2012-09-07 Network control apparatus and network control method Expired - Fee Related JP5822275B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012196838A JP5822275B2 (en) 2012-09-07 2012-09-07 Network control apparatus and network control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012196838A JP5822275B2 (en) 2012-09-07 2012-09-07 Network control apparatus and network control method

Publications (2)

Publication Number Publication Date
JP2014053758A true JP2014053758A (en) 2014-03-20
JP5822275B2 JP5822275B2 (en) 2015-11-24

Family

ID=50611834

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012196838A Expired - Fee Related JP5822275B2 (en) 2012-09-07 2012-09-07 Network control apparatus and network control method

Country Status (1)

Country Link
JP (1) JP5822275B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011030462A1 (en) * 2009-09-14 2011-03-17 日本電気株式会社 Communication system, node, control server, communication method and program
WO2012093429A1 (en) * 2011-01-05 2012-07-12 Nec Corporation Communication control system, control server, forwarding node, communication control method, and communication control program
JP2013179445A (en) * 2012-02-28 2013-09-09 Nippon Telegr & Teleph Corp <Ntt> Network setting device and network setting method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011030462A1 (en) * 2009-09-14 2011-03-17 日本電気株式会社 Communication system, node, control server, communication method and program
WO2012093429A1 (en) * 2011-01-05 2012-07-12 Nec Corporation Communication control system, control server, forwarding node, communication control method, and communication control program
JP2013179445A (en) * 2012-02-28 2013-09-09 Nippon Telegr & Teleph Corp <Ntt> Network setting device and network setting method

Also Published As

Publication number Publication date
JP5822275B2 (en) 2015-11-24

Similar Documents

Publication Publication Date Title
JP6663020B2 (en) Packet processing method, related device, and NVO3 network system
JP5152642B2 (en) Packet ring network system, packet transfer method, and node
JP5462360B2 (en) Method and apparatus at multiple rendezvous points for co-processing multicast traffic from mobile multicast sources
JP6544401B2 (en) PACKET TRANSFER DEVICE, CONTROL DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND PROGRAM
US9660898B2 (en) Enhanced protocol independent multicast source registration over a reliable transport
TWI759571B (en) Data transfer method based on flow table
US20150263862A1 (en) Communication system, control apparatus, communication control method, transfer control method, and transfer control program
US8218446B2 (en) Frame transfer route confirmation method, node, frame transfer route confirmation program and frame transfer route confirmation system
JP6060688B2 (en) Transfer device, communication system, and roundabout path detection method
JPWO2013176262A1 (en) Packet transfer system, control device, packet transfer method and program
US10171306B2 (en) Automatic discovery and provisioning of multi-chassis etherchannel peers
US20190014033A1 (en) Ingress gateway selection for a shortest path bridging network to support inter domain multicast routing
JP5822275B2 (en) Network control apparatus and network control method
JP6566124B2 (en) COMMUNICATION SYSTEM, FLOW CONTROL DEVICE, FLOW PROCESSING DEVICE, AND CONTROL METHOD
JP7127537B2 (en) Transport network control device, communication system, transfer node control method and program
JP2009194706A (en) Frame relay apparatus, route learning program and route learning method
US10003469B2 (en) Multicast forwarding method and apparatus in transparent interconnection of lots of link network, and routing bridge
JP5360257B2 (en) Frame relay apparatus, route learning program, and route learning method
JP2014160907A (en) Communication system and program
KR102485180B1 (en) Software defined networking switch and method for multicasting thereof
US11522955B2 (en) Transferring state information of resources
WO2023083103A1 (en) Data processing method and related apparatus
US20230216785A1 (en) Source routing apparatus and method in icn
WO2023137679A1 (en) Method for virtual network transmission, apparatus, and storage medium
JP2002077234A (en) Method for setting and control of route in network and active router

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20140207

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20140306

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140801

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150724

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150807

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150907

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150930

R150 Certificate of patent or registration of utility model

Ref document number: 5822275

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees