Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4648251B2 - Network relay system, network relay system control method, and management device in network relay system - Google Patents
[go: Go Back, main page]

JP4648251B2 - Network relay system, network relay system control method, and management device in network relay system - Google Patents

Network relay system, network relay system control method, and management device in network relay system Download PDF

Info

Publication number
JP4648251B2
JP4648251B2 JP2006169886A JP2006169886A JP4648251B2 JP 4648251 B2 JP4648251 B2 JP 4648251B2 JP 2006169886 A JP2006169886 A JP 2006169886A JP 2006169886 A JP2006169886 A JP 2006169886A JP 4648251 B2 JP4648251 B2 JP 4648251B2
Authority
JP
Japan
Prior art keywords
address
network relay
network
information
destination
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2006169886A
Other languages
Japanese (ja)
Other versions
JP2008005008A (en
Inventor
誠 木谷
貴久 宮本
圭一郎 山手
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alaxala Networks Corp
Original Assignee
Alaxala Networks Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alaxala Networks Corp filed Critical Alaxala Networks Corp
Priority to JP2006169886A priority Critical patent/JP4648251B2/en
Publication of JP2008005008A publication Critical patent/JP2008005008A/en
Application granted granted Critical
Publication of JP4648251B2 publication Critical patent/JP4648251B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Description

本発明は、ネットワーク中継システム、ネットワーク中継システムの制御方法、および、ネットワーク中継システムにおける管理装置に関する。   The present invention relates to a network relay system, a method for controlling a network relay system, and a management device in the network relay system.

データリンク層のアドレス、例えば、MACアドレスに基づいてデータを転送するいわゆるレイヤ2スイッチを複数台接続して、仮想的に一台のレイヤ2スイッチとして動作させる技術が知られている(例えば、特許文献1)。   A technology is known in which a plurality of so-called layer 2 switches that transfer data based on data link layer addresses, for example, MAC addresses, are connected to operate virtually as a single layer 2 switch (for example, patents). Reference 1).

特開2002−217935号公報JP 2002-217935 A

しかしながら、ネットワーク層のアドレス、例えば、IPアドレスに基づいてデータを中継するネットワーク中継装置(例えば、レイヤ3スイッチやルータ)を複数台接続して、仮想的に一台のネットワーク中継装置として効率的に動作させる技術は、確立されていない。   However, a plurality of network relay apparatuses (for example, layer 3 switches and routers) that relay data based on network layer addresses, for example, IP addresses, are connected, so that it can be efficiently used as a single network relay apparatus. The technology to operate has not been established.

本発明は、上記課題を解決するためになされたものであり、ネットワーク層のアドレスに基づいてデータを中継するネットワーク中継装置を複数台接続して、仮想的に一台のネットワーク中継装置として効率的に動作させることを目的とする。   The present invention has been made in order to solve the above-described problem, and connects a plurality of network relay apparatuses that relay data based on addresses in the network layer, so that it is efficient as a single network relay apparatus. The purpose is to make it work.

上記課題の少なくとも一部を解決するため、本発明の第1の態様は、複数のネットワーク中継装置が接続され、仮想的に1つのネットワーク中継装置として動作するネットワーク中継システムを提供する。本発明の第1の態様に係るネットワーク中継システムは、複数のポートと、第1の記憶部と、第2の記憶部と、受信手段と、第1の転送手段と、第2の転送手段と、を備える。前記複数のポートは、外部装置または前記複数のネットワーク中継装置のうちの自己以外の装置と接続するためのポートである。前記第1の記憶部は、転送先装置のデータリンク層のアドレスを前記複数のポートのうちの対応ポートに対応付けるデータリンク層情報を格納する。前記データリンク情報において、前記転送先装置は、前記自己以外の装置と、前記外部装置のうちの自己に隣接する第1の外部装置と、前記外部装置のうちの前記自己以外の装置に隣接する第2の外部装置とを含む。前記第2の記憶部は、ネットワーク層のアドレスと前記転送先装置を対応付ける第1のネットワーク層情報を格納する。前記第1のネットワーク層情報において、前記ネットワーク層のアドレスのうち、自己に割り当てられた割当アドレスに対応付けられる前記転送先装置は、前記第1の外部装置または前記第2の外部装置を含み、自己に割り当てられていない非割当アドレスに対応付けられる前記転送先装置は、前記非割当アドレスを割り当てられている前記自己以外の装置である。前記受信手段は、前記複数のポートのいずれかを介して、宛先としてのデータリンク層のアドレスである第1の宛先アドレスと、宛先としてのネットワーク層のアドレスである第2の宛先アドレスを有するデータを受信する。前記第1の転送手段は、前記第1の宛先アドレスが、自己のデータリンク層のアドレスである場合に、前記データリンク層情報と前記第1のネットワーク層情報とを用いて、前記第1の宛先アドレスを、前記第2の宛先アドレスに対応付けられた前記転送先装置のデータリンク層のアドレスに変更し、前記変更後の第1の宛先アドレスに対応付けられた前記対応ポートから前記受信されたデータを転送する。前記第2の転送手段は、前記第1の宛先アドレスが、前記転送先装置のデータリンク層のアドレスである場合に、前記データリンク層情報を用いて、前記第1の宛先アドレスに対応付けられた前記対応ポートから前記受信されたデータを転送する。   In order to solve at least a part of the above problems, a first aspect of the present invention provides a network relay system in which a plurality of network relay devices are connected and operate virtually as one network relay device. A network relay system according to a first aspect of the present invention includes a plurality of ports, a first storage unit, a second storage unit, a reception unit, a first transfer unit, and a second transfer unit. . The plurality of ports are ports for connecting to an external device or a device other than itself among the plurality of network relay devices. The first storage unit stores data link layer information for associating a data link layer address of a transfer destination device with a corresponding port among the plurality of ports. In the data link information, the transfer destination device is adjacent to a device other than the self device, a first external device adjacent to the self device among the external devices, and a device other than the self device among the external devices. A second external device. The second storage unit stores first network layer information that associates a network layer address with the transfer destination device. In the first network layer information, the transfer destination device associated with the assigned address assigned to itself among the addresses of the network layer includes the first external device or the second external device, The transfer destination device associated with a non-assigned address that is not assigned to itself is a device other than the self that is assigned the non-assigned address. The receiving means receives, via any of the plurality of ports, data having a first destination address that is a data link layer address as a destination and a second destination address that is a network layer address as a destination Receive. The first transfer means uses the data link layer information and the first network layer information when the first destination address is an address of its own data link layer. The destination address is changed to the address of the data link layer of the transfer destination device associated with the second destination address, and the destination address is received from the corresponding port associated with the changed first destination address. Transfer the data. The second transfer means is associated with the first destination address using the data link layer information when the first destination address is an address of the data link layer of the transfer destination device. The received data is transferred from the corresponding port.

本発明の第1の態様に係るネットワーク中継システムによれば、各ネットワーク中継装置は、自己に割当られた割当アドレスについてのみ外部装置との対応関係が記述された情報を保有すればよいので、ネットワーク中継システム全体で、各ネットワーク中継装置の有する記憶リソースを効率的に利用することができる。これにより、ネットワーク中継システム全体でより多くのルーティング情報を保有することができる。   According to the network relay system according to the first aspect of the present invention, each network relay device only needs to hold information describing the correspondence with the external device only for the assigned address assigned to itself. The entire relay system can efficiently use the storage resources of each network relay device. Thereby, more routing information can be held in the entire network relay system.

本発明の第1の態様に係るネットワーク中継システムにおいて、前記複数のネットワーク中継装置のそれぞれは、さらに、前記データリンク層情報のうち、自己に隣接する前記転送先装置のデータリンク層のアドレスに関連する第1の部分情報を学習する第1の学習手段を備え、前記ネットワーク中継システムは、さらに、前記複数のネットワーク中継装置のそれぞれから前記第1の部分情報を収集する第1の収集手段と、前記収集された前記第1の部分情報に基づいて、前記複数のネットワーク中継装置のそれぞれに、前記第1の情報のうち、自己に隣接しない前記転送先装置のデータリンク層のアドレスに関連する第2の部分情報を設定する第1の設定手段と、を備えても良い。こうすれば、各ネットワーク中継装置に対して、容易にデータリンク層情報を設定することができる。   In the network relay system according to the first aspect of the present invention, each of the plurality of network relay devices further relates to an address of a data link layer of the transfer destination device adjacent to itself among the data link layer information. First learning means for learning first partial information, and the network relay system further includes first collection means for collecting the first partial information from each of the plurality of network relay devices, Based on the collected first partial information, each of the plurality of network relay devices has a first information related to the address of the data link layer of the transfer destination device that is not adjacent to the first information. And first setting means for setting the second partial information. In this way, data link layer information can be easily set for each network relay device.

本発明の第1の態様に係るネットワーク中継システムにおいて、前記複数のネットワーク中継装置のいずれかにおいて、前記第1の外部装置との隣接関係に変更があった場合には、前記変更があったネットワーク中継装置の前記第1の学習手段は、前記第1の部分情報を再学習し、前記第1の収集手段は、前記変更があったネットワーク中継装置から前記第1の部分情報を再収集し、前記第1の設定手段は、前記複数のネットワーク中継装置のそれぞれに前記第2の部分情報を再設定しても良い。こうすれば、各ネットワーク中継装置と隣接する外部装置との隣接関係の変化に対応して、自動的に、データリンク層情報を再設定することができる。   In the network relay system according to the first aspect of the present invention, if any of the plurality of network relay devices changes in the adjacency relationship with the first external device, the changed network The first learning unit of the relay device re-learns the first partial information, and the first collection unit re-collects the first partial information from the network relay device that has changed. The first setting unit may reset the second partial information in each of the plurality of network relay devices. In this way, it is possible to automatically reset the data link layer information in response to a change in the adjacency relationship between each network relay device and an adjacent external device.

本発明の第1の態様に係るネットワーク中継システムにおいて、前記複数のネットワーク中継装置のそれぞれは、さらに、前記第1の外部装置が所有する経路情報を、前記第1の外部装置から学習する第2の学習手段を備え、前記ネットワーク中継システムは、さらに、前記複数のネットワーク中継装置のそれぞれから前記経路情報を収集する第2の収集手段と、前記収集された前記経路情報に基づいて、前記複数のネットワーク中継装置のそれぞれに、前記第1のネットワーク層情報を設定する第2の設定手段と、を備えても良い。こうすれば、各ネットワーク中継装置に対して、容易に第1のネットワーク層情報を設定することができる。   In the network relay system according to the first aspect of the present invention, each of the plurality of network relay devices further learns route information possessed by the first external device from the first external device. The network relay system further includes a second collection unit that collects the route information from each of the plurality of network relay devices, and the plurality of the plurality of network relay systems based on the collected route information. Each network relay device may include second setting means for setting the first network layer information. In this way, the first network layer information can be easily set for each network relay device.

本発明の第1の態様に係るネットワーク中継システムにおいて、前記第2の設定手段は、前記収集された前記経路情報に基づいて、ネットワーク層のアドレスと前記第1の外部装置または前記第2の外部装置を対応付ける第2のネットワーク層情報を作成する第1の作成手段と、前記ネットワーク層のアドレスを、前記複数のネットワーク中継装置の数のアドレス範囲に分割し、それぞれの前記アドレス範囲に含まれる前記ネットワークアドレスを、前記複数のネットワーク中継装置のそれぞれの前記割当アドレスとする分割手段と、前記第2のネットワーク層情報と、前記分割の結果に基づいて、前記複数のネットワーク中継装置のそれぞれに設定される前記第1のネットワーク層情報を作成する第2の作成手段と、を有しても良い。かかる場合において、前記分割手段は、前記複数のネットワーク中継装置のそれぞれの前記第2の記憶部の容量に応じた前記第1のネットワーク層情報が作成されるように、前記アドレス範囲を定めても良い。こうすれば、各ネットワーク中継装置の第2の記憶部の容量に応じた前記第1のネットワーク層情報が作成されることにより、各ネットワーク中継装置の第2の記憶部を有効利用することができる。   In the network relay system according to the first aspect of the present invention, the second setting means, based on the collected route information, may be a network layer address and the first external device or the second external device. First creating means for creating second network layer information for associating devices, and dividing the network layer address into an address range equal to the number of the plurality of network relay devices, and the addresses included in each of the address ranges Based on the division means for setting the network address as the assigned address of each of the plurality of network relay devices, the second network layer information, and the result of the division, the network address is set to each of the plurality of network relay devices. And second creation means for creating the first network layer information. In such a case, the dividing unit may determine the address range so that the first network layer information corresponding to the capacity of the second storage unit of each of the plurality of network relay devices is created. good. In this way, the first network layer information corresponding to the capacity of the second storage unit of each network relay device is created, so that the second storage unit of each network relay device can be used effectively. .

本発明の第1の態様に係るネットワーク中継システムにおいて、前記複数のネットワーク中継装置のいずれかにおいて、前記第1の外部装置との隣接関係に変更があった場合には、前記変更があったネットワーク中継装置の前記第2の学習手段は、前記経路情報を再学習し、前記第2の収集手段は、前記変更があったネットワーク中継装置から前記経路情報を再収集し、前記第2の設定手段は、前記複数のネットワーク中継装置のそれぞれに前記第1のネットワーク層情報を再設定しても良い。こうすれば、各ネットワーク中継装置と隣接する外部装置との隣接関係の変化に対応して、自動的に、第1のネットワーク層情報を再設定することができる。   In the network relay system according to the first aspect of the present invention, if any of the plurality of network relay devices changes in the adjacency relationship with the first external device, the changed network The second learning unit of the relay device re-learns the route information, the second collection unit re-collects the route information from the changed network relay device, and the second setting unit May reset the first network layer information in each of the plurality of network relay devices. By so doing, it is possible to automatically reset the first network layer information in response to a change in the adjacency relationship between each network relay device and an adjacent external device.

本発明の第1の態様に係るネットワーク中継システムは、さらに、前記複数のネットワーク中継装置のそれぞれに接続された管理装置を備え、前記管理装置は、前記第1の収集手段と前記第1の設定手段を有しても良く、前記第2の収集手段と前記第2の設定手段を有しても良い。こうすれば、管理装置において、各ネットワーク中継装置のデータリンク層情報、または、第1のネットワーク層情報を管理することができる。   The network relay system according to the first aspect of the present invention further includes a management device connected to each of the plurality of network relay devices, wherein the management device includes the first collection unit and the first setting. A second collecting unit and a second setting unit. In this way, the management device can manage the data link layer information or the first network layer information of each network relay device.

なお、本発明は、種々の態様で実現することが可能であり、例えば、複数のネットワーク中継装置を接続し、仮想的に1つのネットワーク中継装置として動作するネットワーク中継システムにおける管理装置として実現することができる。また、これらのシステムや装置の態様に加えて、複数のポートをそれぞれ有する複数のネットワーク中継装置が接続され、仮想的に1つのネットワーク中継装置として動作するネットワーク中継システムの制御方法のような方法発明として実現することができる。あるいは、かかるシステム、装置または方法を構築するためのコンピュータプログラム、そのコンピュータプログラムを記録した記録媒体、そのコンピュータプログラムを含み搬送波内に具現化されたデータ信号、等の態様で実現することができる。   The present invention can be realized in various modes. For example, the present invention can be realized as a management apparatus in a network relay system in which a plurality of network relay apparatuses are connected and virtually operate as one network relay apparatus. Can do. In addition to these system and device aspects, a method invention such as a control method for a network relay system in which a plurality of network relay devices each having a plurality of ports are connected and virtually operates as one network relay device. Can be realized. Alternatively, the present invention can be realized in the form of a computer program for constructing such a system, apparatus or method, a recording medium storing the computer program, a data signal including the computer program and embodied in a carrier wave, and the like.

A.実施例:
・ネットワーク中継システムの構成:
次に、本発明の実施の形態を実施例に基づき説明する。図1〜図4を参照して、実施例に係るネットワーク中継システムの構成について説明する。図1は、実施例に係るネットワーク中継システムの概略構成を示すブロック図である。図2は、実施例に係るネットワーク中継システムに含まれるネットワーク中継装置の内部構成を示すブロック図である。図3は、実施例に係るネットワーク中継システムに含まれる管理装置の内部構成を示すブロック図である。図4は、実施例にネットワーク中継システムの各部に割り当てられたIPアドレスの一覧表である。
A. Example:
-Network relay system configuration:
Next, embodiments of the present invention will be described based on examples. The configuration of the network relay system according to the embodiment will be described with reference to FIGS. FIG. 1 is a block diagram illustrating a schematic configuration of the network relay system according to the embodiment. FIG. 2 is a block diagram illustrating an internal configuration of the network relay device included in the network relay system according to the embodiment. FIG. 3 is a block diagram illustrating an internal configuration of the management apparatus included in the network relay system according to the embodiment. FIG. 4 is a list of IP addresses assigned to each part of the network relay system in the embodiment.

図1に示すように、本実施例に係るネットワーク中継システム1000は、3つのネットワーク中継装置、すなわち、第1の中継装置100aと第2の中継装置100bと第3の中継装置100cとを含んでいる。以下では、3つのネットワーク中継装置を区別する必要がない場合は、符号の末尾のアルファベットを省略し、ネットワーク中継装置100と記述する。さらに、ネットワーク中継システム1000は、管理装置200を含んでいる。   As shown in FIG. 1, the network relay system 1000 according to the present embodiment includes three network relay devices, that is, a first relay device 100a, a second relay device 100b, and a third relay device 100c. Yes. In the following, when it is not necessary to distinguish the three network relay devices, the alphabet at the end of the code is omitted and the network relay device 100 is described. Furthermore, the network relay system 1000 includes a management device 200.

ネットワーク中継装置100は、図2に示すように、複数の物理ポート110と、送受信処理回路120と、転送処理回路130と、制御部140とを含んでいる。   As illustrated in FIG. 2, the network relay device 100 includes a plurality of physical ports 110, a transmission / reception processing circuit 120, a transfer processing circuit 130, and a control unit 140.

物理ポート110は、同軸ケーブルや光ファイバなどの回線CVを介してネットワークに接続するためのインタフェースである。物理ポート110は、本実施例では、イーサネット(登録商標)規格に準拠したポートである。   The physical port 110 is an interface for connecting to a network via a line CV such as a coaxial cable or an optical fiber. In this embodiment, the physical port 110 is a port compliant with the Ethernet (registered trademark) standard.

送受信処理回路120は、各物理ポート110と接続され、物理ポート110を介して受信された電気信号を解釈して、データリンク層において用いられるデータの固まり(以下、フレームと呼ぶ。本実施例では、イーサネット(登録商標)・フレームである。)に変換する受信処理を行う。また、送受信処理回路120は、転送処理回路130から転送すべきイーサネットフレームを受け取り、イーサネットフレームを電気信号に変換して後述する対応ポートから送信する送信処理を行う。   The transmission / reception processing circuit 120 is connected to each physical port 110, interprets an electrical signal received via the physical port 110, and collects data used in the data link layer (hereinafter referred to as a frame. In this embodiment). , Ethernet (registered trademark) frame). Further, the transmission / reception processing circuit 120 performs transmission processing that receives an Ethernet frame to be transferred from the transfer processing circuit 130, converts the Ethernet frame into an electrical signal, and transmits the electrical signal from a corresponding port described later.

イーサネットフレームは、宛先MACアドレスDMを含むMACヘッダが付加されたフレームデータである。フレームデータは、ネットワーク層において用いられるデータの固まり(以下、パケットと呼ぶ。本実施例では、IPパケットである。)を含んでいる。IPパケットは、宛先IPアドレスDIを含むIPヘッダを付加されたパケットである。すなわち、イーサネットフレームは、パケットと、宛先IPアドレスDIと、宛先MACアドレスDMを含んでいる。送受信処理回路120は、イーサネットフレームを転送処理回路130に送る。   The Ethernet frame is frame data to which a MAC header including a destination MAC address DM is added. The frame data includes a cluster of data used in the network layer (hereinafter referred to as a packet, which is an IP packet in this embodiment). An IP packet is a packet to which an IP header including a destination IP address DI is added. That is, the Ethernet frame includes a packet, a destination IP address DI, and a destination MAC address DM. The transmission / reception processing circuit 120 sends the Ethernet frame to the transfer processing circuit 130.

転送処理回路130は、転送エンジン131と、メモリ134とを備えている。メモリ134には、ルーティングテーブル135と、ARPテーブル136が格納されている。ルーティングテーブル135は、IPアドレスと転送先装置を対応付ける情報が記述されたテーブルである。ARPテーブル136は、転送先装置のMACアドレスと対応ポートを対応付ける情報が記述されたテーブルである。対応ポートは、複数の物理ポート110のうち、転送先装置が接続されているネットワークに接続しているポートを意味する。ルーティングテーブル135と、ARPテーブル136については、さらに、後述する。本実施例では、ルーティングテーブル135に記述された情報が請求項における第1のネットワーク層情報に相当し、ARPテーブル136に記述された情報が請求項におけるデータリンク層情報に相当し、メモリ134が請求項における第1および第2の記憶部に相当する。   The transfer processing circuit 130 includes a transfer engine 131 and a memory 134. The memory 134 stores a routing table 135 and an ARP table 136. The routing table 135 is a table in which information that associates an IP address with a transfer destination device is described. The ARP table 136 is a table in which information for associating the MAC address of the transfer destination device with the corresponding port is described. The corresponding port means a port connected to the network to which the transfer destination device is connected among the plurality of physical ports 110. The routing table 135 and the ARP table 136 will be further described later. In this embodiment, the information described in the routing table 135 corresponds to the first network layer information in the claims, the information described in the ARP table 136 corresponds to the data link layer information in the claims, and the memory 134 This corresponds to the first and second storage units in the claims.

転送エンジン131は、後述する本回路の機能を実現するために設計されたASIC(Application Specific Integrated Circuit:特定用途向け集積回路)であり、後述する本回路の機能をハードウエア処理により実行する。転送エンジン131は、送受信処理回路120から受け取ったイーサネットフレームを転送するための転送処理を行う回路である。転送エンジン131は、機能部として、レイヤ3転送部132と、レイヤ2転送部133とを含む。   The transfer engine 131 is an ASIC (Application Specific Integrated Circuit) designed to realize a function of the circuit described later, and executes the function of the circuit described later by hardware processing. The transfer engine 131 is a circuit that performs a transfer process for transferring the Ethernet frame received from the transmission / reception processing circuit 120. The transfer engine 131 includes a layer 3 transfer unit 132 and a layer 2 transfer unit 133 as functional units.

レイヤ3転送部132は、送受信処理回路120から受け取ったイーサネットフレームに含まれる宛先MACアドレスDMが、そのイーサネットフレームを受信した物理ポート110に割り当てられたMACアドレスである場合に、そのイーサネットフレームに含まれる宛先IPアドレスDIに基づいて、イーサネットフレームに含まれるIPパケットを転送する転送先装置を特定する。転送先装置の特定は、後述するように、メモリ134に格納されたルーティングテーブル135を参照して実行される。レイヤ3転送部132は、さらに、特定された転送先装置のMACアドレスを特定すると共に、特定された転送先装置にイーサネットフレームを転送するための対応ポートを特定する。かかるMACアドレスおよび対応ポートの特定は、ARPテーブル136を参照して実行される。レイヤ3転送部132は、イーサネットフレームに含まれる宛先MACアドレスDMを特定された転送先装置のMACアドレスに変更し、変更後のイーサネットフレームを、特定された対応ポートを指定して送受信処理回路120に送信する。この結果、イーサネットフレームは、対応ポートから転送先装置へと転送される。このように、レイヤ3転送部132により対応ポートを特定して行われる転送は、OSI(Open Systems Interconnection)参照モデルの第3層であるネットワーク層のアドレスであるIPアドレスに基づいて行われるため、以下、レイヤ3転送と呼ぶ。   The layer 3 transfer unit 132 is included in the Ethernet frame when the destination MAC address DM included in the Ethernet frame received from the transmission / reception processing circuit 120 is the MAC address assigned to the physical port 110 that received the Ethernet frame. Based on the destination IP address DI, the transfer destination device to which the IP packet included in the Ethernet frame is transferred is specified. The transfer destination device is specified with reference to a routing table 135 stored in the memory 134, as will be described later. The layer 3 transfer unit 132 further specifies the MAC address of the specified transfer destination device and specifies the corresponding port for transferring the Ethernet frame to the specified transfer destination device. The identification of the MAC address and the corresponding port is executed with reference to the ARP table 136. The layer 3 transfer unit 132 changes the destination MAC address DM included in the Ethernet frame to the MAC address of the specified transfer destination device, designates the specified corresponding port in the changed Ethernet frame, and the transmission / reception processing circuit 120. Send to. As a result, the Ethernet frame is transferred from the corresponding port to the transfer destination device. In this way, the transfer performed by specifying the corresponding port by the layer 3 transfer unit 132 is performed based on the IP address that is the address of the network layer that is the third layer of the OSI (Open Systems Interconnection) reference model. Hereinafter, it is referred to as layer 3 transfer.

レイヤ2転送部133は、送受信処理回路120から受け取ったイーサネットフレームに含まれる宛先MACアドレスDMが、そのイーサネットフレームを受信した物理ポート110に割り当てられたMACアドレスではない場合に、ARPテーブル136を参照して、その宛先MACアドレスDMが転送先装置のMACアドレスであるかを調べる。レイヤ2転送部133は、宛先MACアドレスDMが転送先装置のMACアドレスである場合には、ARPテーブル136を参照して、その転送先装置にイーサネットフレームを転送するための対応ポートを特定する。レイヤ2転送部133は、イーサネットフレームを、特定された対応ポートを指定して送受信処理回路120に送信する。この結果、イーサネットフレームは、対応ポートから転送先装置へと転送される。このように、レイヤ2転送部133により対応ポートを特定して行われる転送は、OSI(Open Systems Interconnection)参照モデルの第2層であるデータリンク層のアドレスであるMACアドレスに基づいて行われるため、以下、レイヤ2転送と呼ぶ。   The layer 2 transfer unit 133 refers to the ARP table 136 when the destination MAC address DM included in the Ethernet frame received from the transmission / reception processing circuit 120 is not the MAC address assigned to the physical port 110 that received the Ethernet frame. Then, it is checked whether the destination MAC address DM is the MAC address of the transfer destination device. When the destination MAC address DM is the MAC address of the transfer destination device, the layer 2 transfer unit 133 refers to the ARP table 136 and specifies a corresponding port for transferring the Ethernet frame to the transfer destination device. The layer 2 transfer unit 133 transmits the Ethernet frame to the transmission / reception processing circuit 120 by designating the identified corresponding port. As a result, the Ethernet frame is transferred from the corresponding port to the transfer destination device. As described above, the transfer performed by specifying the corresponding port by the layer 2 transfer unit 133 is performed based on the MAC address that is the address of the data link layer, which is the second layer of the OSI (Open Systems Interconnection) reference model. Hereinafter, it is referred to as layer 2 transfer.

制御部140は、ネットワーク中継装置100全体を制御する。制御部140は、周知の計算機であり、中央演算装置(CPU)141およびメモリ142を備えている。メモリ142には、制御プログラム143が格納されている。CPU141は、制御プログラム143を実行することにより、制御部としての機能を実現する。制御プログラム143は、RIP(Routing Information Protocol)や、OSPF(Open Shortest Path First)などのルーティングプロトコルの処理を行う機能や、管理装置200と通信する機能など、各種機能部を含んでいるが、図2においては、本実施例の説明に必要な構成を選択的に図示し、本明細書においては、図示された構成について説明する。制御プログラム143は、ARP情報学習部144と、経路情報学習部145を含んでいる。ARP情報学習部144は、物理ポート110を介して隣接する装置(例えば、後述する外部ルータ500、他のネットワーク中継装置100、および、管理装置200)から、ARP情報を学習する。経路情報学習部145は、物理ポート110を介して隣接する後述する外部ルータ500から、外部ルータ500が保有する経路情報を学習する。ARP情報学習部144および経路情報学習部145の処理については、後述する。   The control unit 140 controls the entire network relay device 100. The control unit 140 is a known computer, and includes a central processing unit (CPU) 141 and a memory 142. A control program 143 is stored in the memory 142. The CPU 141 implements a function as a control unit by executing the control program 143. The control program 143 includes various functional units such as a routing protocol such as RIP (Routing Information Protocol) and OSPF (Open Shortest Path First), and a function for communicating with the management apparatus 200. In FIG. 2, the configuration necessary for the description of the present embodiment is selectively illustrated, and the illustrated configuration will be described in this specification. The control program 143 includes an ARP information learning unit 144 and a route information learning unit 145. The ARP information learning unit 144 learns ARP information from adjacent devices (for example, an external router 500, another network relay device 100, and a management device 200 described later) via the physical port 110. The route information learning unit 145 learns route information held by the external router 500 from an external router 500 which will be described later via the physical port 110. The processing of the ARP information learning unit 144 and the route information learning unit 145 will be described later.

管理装置200は、ネットワーク中継システム1000全体を管理する計算機である。管理装置200は、図3に示すように、CPU210と、ROMやRAMなどのメモリ220と、ネットワークに接続するためのネットワークインターフェースカード(NIC)270と、を備える周知の計算機、例えば、パーソナルコンピュータである。メモリ220には、ネットワーク中継システム1000全体を管理するためのプログラムであるARP情報マネージャ230および経路情報マネージャ240と、システムルーティングテーブル250と、システムARPテーブル260とが格納されている。CPU210は、ARP情報マネージャ230と経路情報マネージャ240を実行することにより、管理装置としての機能を実現する。   The management device 200 is a computer that manages the entire network relay system 1000. As shown in FIG. 3, the management apparatus 200 is a known computer, such as a personal computer, that includes a CPU 210, a memory 220 such as a ROM or a RAM, and a network interface card (NIC) 270 for connecting to a network. is there. The memory 220 stores an ARP information manager 230 and a path information manager 240, a system routing table 250, and a system ARP table 260, which are programs for managing the entire network relay system 1000. The CPU 210 implements a function as a management device by executing the ARP information manager 230 and the path information manager 240.

ARP情報マネージャ230は、ARP情報収集部231と、ARP情報設定部232を含んでいる。ARP情報収集部231は、管理対象である各ネットワーク中継装置100からARP情報を収集して、システムARPテーブル260を作成する。ARP情報設定部232は、システムARPテーブル260に基づいて、各ネットワーク中継装置100に、静的にARP情報を設定する。経路情報マネージャ240は、経路情報収集部241と、経路情報設定部242とを含んでいる。経路情報収集部241は、管理対象である各ネットワーク中継装置100から経路情報を収集する。経路情報設定部242は、収集された経路情報に基づいて、管理対象である各ネットワーク中継装置100に、ルーティングテーブルを設定する。経路情報設定部242は、システムルーティングテーブル作成部243と、アドレス範囲分割部244と、ルーティングテーブル作成部245を含んでいる。システムルーティングテーブル作成部243は、収集された経路情報に基づいて、システムルーティングテーブル250を作成する。アドレス範囲分割部244は、IPアドレスの全範囲(0.0.0.0〜255.255.255.255)を、ネットワーク中継装置100の数(本実施例では、3)のアドレス範囲に分割し、分割後の各アドレス範囲を、各ネットワーク中継装置100の割当アドレス範囲とする。ルーティングテーブル作成部245は、システムARPテーブル260と、各ネットワーク中継装置100の割当アドレス範囲とに基づいて、各ネットワーク中継装置100に設定するルーティングテーブルを作成する。なお、ARP情報マネージャ230と、経路情報マネージャ240により実行される処理については、さらに、後述する。   The ARP information manager 230 includes an ARP information collection unit 231 and an ARP information setting unit 232. The ARP information collection unit 231 collects ARP information from each network relay device 100 to be managed, and creates a system ARP table 260. The ARP information setting unit 232 statically sets ARP information in each network relay device 100 based on the system ARP table 260. The route information manager 240 includes a route information collection unit 241 and a route information setting unit 242. The route information collection unit 241 collects route information from each network relay device 100 to be managed. The route information setting unit 242 sets a routing table in each network relay device 100 to be managed based on the collected route information. The route information setting unit 242 includes a system routing table creation unit 243, an address range division unit 244, and a routing table creation unit 245. The system routing table creation unit 243 creates the system routing table 250 based on the collected route information. The address range dividing unit 244 divides the entire IP address range (0.0.0.0 to 255.255.255.255) into the number of address ranges of the number of network relay devices 100 (3 in this embodiment). Then, each divided address range is set as an allocated address range of each network relay device 100. The routing table creation unit 245 creates a routing table to be set for each network relay device 100 based on the system ARP table 260 and the assigned address range of each network relay device 100. The processing executed by the ARP information manager 230 and the route information manager 240 will be described later.

図1に戻って、説明を続ける。図1において、黒丸は各装置が備えるポートを示している。例えば、ネットワーク中継装置100のポートO1、M1、I1、I5は、図2における物理ポート110のいずれかに対応しており、管理装置200のポートM4は、図3におけるNIC270のポートに対応している。   Returning to FIG. 1, the description will be continued. In FIG. 1, black circles indicate ports provided in each device. For example, the ports O1, M1, I1, and I5 of the network relay device 100 correspond to any of the physical ports 110 in FIG. 2, and the port M4 of the management device 200 corresponds to the port of the NIC 270 in FIG. Yes.

図1に示すように、ネットワーク中継システム1000に含まれる3つのネットワーク中継装置100のうち、第1の中継装置100aのポートO1は、外部ルータ500aのポートR1と、外部転送用ネットワークONT1を介して接続されている。また、第2の中継装置100bのポートO2は、外部ルータ500bのポートR2と、外部転送用ネットワークONT2を介して接続されている。同様に、第3の中継装置100cのポートO3およびO4は、外部ルータ500cのポートR3とおよび外部ルータ500dのポートR4と、外部転送用ネットワークONT3およびONT4を介して、それぞれ接続されている。外部ルータ500a〜500dは、複数の物理ポートを有する周知のルータであり、一の物理ポートを介して接続されている一の装置(例えば、ネットワーク中継装置100や、図示しない他のルータ)からパケットを受信して、そのパケットを他の物理ポートを介して他の装置にレイヤ3転送する。以下では、4つの外部ルータ500a〜500dを区別する必要がない場合は、符号の末尾のアルファベットを省略し、外部ルータ500と記述する。   As shown in FIG. 1, among the three network relay devices 100 included in the network relay system 1000, the port O1 of the first relay device 100a is connected to the port R1 of the external router 500a and the external transfer network ONT1. It is connected. The port O2 of the second relay device 100b is connected to the port R2 of the external router 500b via the external transfer network ONT2. Similarly, the ports O3 and O4 of the third relay device 100c are connected to the port R3 of the external router 500c and the port R4 of the external router 500d via the external transfer networks ONT3 and ONT4, respectively. The external routers 500a to 500d are well-known routers having a plurality of physical ports, and packets are transmitted from one device (for example, the network relay device 100 or another router (not shown)) connected through one physical port. And the packet is transferred to the other device through the other physical port at the layer 3 level. In the following, when it is not necessary to distinguish the four external routers 500a to 500d, the alphabet at the end of the code is omitted and the external router 500 is described.

また、第1の中継装置100aのポートI1と第2の中継装置100bのポートI2、第2の中継装置100bのポートI3と第3の中継装置100cのポートI4、第1の中継装置100aのポートI5と第3の中継装置100cのポートI6は、それぞれ内部転送用ネットワークINT1、INT2、INT3を介して接続されている。また、第1の中継装置100aのポートM1、第2の中継装置100bのポートM2、第3の中継装置100cのポートM3は、管理ネットワークMNTを介して、管理装置200のポートM4と接続されている。   Also, the port I1 of the first relay device 100a and the port I2 of the second relay device 100b, the port I3 of the second relay device 100b, the port I4 of the third relay device 100c, and the port of the first relay device 100a I5 and the port I6 of the third relay device 100c are connected via internal transfer networks INT1, INT2, and INT3, respectively. The port M1 of the first relay device 100a, the port M2 of the second relay device 100b, and the port M3 of the third relay device 100c are connected to the port M4 of the management device 200 via the management network MNT. Yes.

上述した各ポートおよびネットワークには、図4に示すIPアドレスがそれぞれ割り当てられているものとする。以下では、ポートの符号の前にIP_を付した符号を、そのポートに割り当てられているIPアドレスを表す符号として用いる。例えば、ポートM1に割り当てられているIPアドレス(192.168.1.2)は、符号IP_M1を用いて表し、ネットワークMNTに割り当てられているIPアドレス(192.168.1.0/28)は、符号IP_MNTを用いて表す。なお、管理装置200は、ネットワーク中継システム1000内部に割り当てられているIPアドレス、すなわち、各ネットワーク中継装置100のポートに割り当てられているIPアドレスと、外部転送用ネットワークONT1〜ONT3、内部転送用ネットワークINT1〜INT3、管理ネットワークMNTに割り当てられているIPアドレス(ネットワークアドレス)を認識しているものとする。   Assume that the IP addresses shown in FIG. 4 are assigned to the above-described ports and networks, respectively. In the following, a code in which IP_ is added before the code of the port is used as a code representing the IP address assigned to the port. For example, the IP address (192.168.1.2) assigned to the port M1 is represented using the code IP_M1, and the IP address (192.168.1.0/28) assigned to the network MNT is And IP_MNT. The management apparatus 200 has an IP address assigned inside the network relay system 1000, that is, an IP address assigned to a port of each network relay apparatus 100, external transfer networks ONT1 to ONT3, and internal transfer networks. Assume that INT1 to INT3 and the IP address (network address) assigned to the management network MNT are recognized.

・ARPテーブル設定処理
次に図5〜図9を参照して、第1〜第3の中継装置100a〜100cのそれぞれにARPテーブル136を設定するARPテーブル設定処理について説明する。図5は、ARPテーブル設定処理の処理シーケンスを示すシーケンス図である。図6は、各ネットワーク中継装置におけるARP情報の学習結果を示す図である。図7は、システムARPテーブルを示す概略図である。図8は、各ネットワーク中継装置に設定する静的ARP情報を示す図である。図9は、各ネットワーク中継装置に設定されるARPテーブルを示す図である。
ARP Table Setting Process Next, an ARP table setting process for setting the ARP table 136 in each of the first to third relay apparatuses 100a to 100c will be described with reference to FIGS. FIG. 5 is a sequence diagram showing a processing sequence of the ARP table setting process. FIG. 6 is a diagram illustrating a learning result of ARP information in each network relay device. FIG. 7 is a schematic diagram showing a system ARP table. FIG. 8 is a diagram showing static ARP information set in each network relay device. FIG. 9 is a diagram showing an ARP table set in each network relay device.

各ネットワーク中継装置100の制御部140のARP情報学習部144は、自己に隣接する装置のARP情報を学習する(図5:ステップS110a、S110b、S110c)。ARP情報は、例えば、自己に隣接する装置が、電源投入時に、あるいは、定期的に通知してくる。ARP情報学習部144は、かかる通知を取得することにより、自己に隣接する装置のARP情報を動的に学習する。ARP情報は、自己に隣接する装置における自己と通信するためのポートに割り当てられているIPアドレスとMACアドレスの組み合わせである。例えば、図6の最上段に示すように、第1の中継装置100aにおけるARP情報学習部144が学習するARP情報の1つは、第1の中継装置100aと外部転送用ネットワークONT1を介して隣接する外部ルータ500aにおける第1の中継装置100aと通信するためのポートR1のIPアドレスIP_R1と、ポートR1のMACアドレスMAC_R1の組み合わせである。ここで、MACアドレスは、実際には48ビットの識別符号であるが、図6では、ポートの符号の前にMAC_を付した符号を、そのポートに割り当てられているMACアドレスを表す符号として用いる。例えば、上述のように、ポートR1に割り当てられているMACアドレスは、MAC_R1と表す。   The ARP information learning unit 144 of the control unit 140 of each network relay device 100 learns the ARP information of the device adjacent to itself (FIG. 5: Steps S110a, S110b, and S110c). The ARP information is notified, for example, when a device adjacent to the ARP information is turned on or periodically. The ARP information learning unit 144 dynamically learns the ARP information of the device adjacent to itself by acquiring the notification. The ARP information is a combination of an IP address and a MAC address assigned to a port for communicating with itself in a device adjacent to the ARP information. For example, as shown at the top of FIG. 6, one of the ARP information learned by the ARP information learning unit 144 in the first relay device 100a is adjacent to the first relay device 100a via the external transfer network ONT1. This is a combination of the IP address IP_R1 of the port R1 and the MAC address MAC_R1 of the port R1 for communicating with the first relay device 100a in the external router 500a. Here, the MAC address is actually a 48-bit identification code, but in FIG. 6, a code with MAC_ added before the port code is used as a code representing the MAC address assigned to the port. . For example, as described above, the MAC address assigned to the port R1 is represented as MAC_R1.

図6から解るように、例えば、第1の中継装置100aが本ステップにおいて学習するARP情報は、上述した外部ルータ500aのポートR1のARP情報と、管理ネットワークMNTを介して隣接する管理装置200のポートM1のARP情報と、内部転送用ネットワークINT1を介して隣接する第2の中継装置100bのポートI2のARP情報と、内部転送用ネットワークINT3を介して隣接する第3の中継装置100cのポートI6のARP情報である。   As can be seen from FIG. 6, for example, the ARP information that the first relay device 100a learns in this step includes the ARP information of the port R1 of the external router 500a described above and the management device 200 adjacent via the management network MNT. The ARP information of the port M1, the ARP information of the port I2 of the second relay device 100b adjacent via the internal transfer network INT1, and the port I6 of the third relay device 100c adjacent via the internal transfer network INT3 ARP information.

また、各ネットワーク中継装置100のARP情報学習部144は、ARP情報を、そのARP情報の通知を受信した自己のポート(学習ポート)と対応付けて学習する。例えば、図6から解るように、第1の中継装置100aのARP情報学習部144は、外部ルータ500aのポートR1のARP情報を、そのARP情報を受信した第1の中継装置100aのポートO1と対応付けて学習する(図6の例では、ポートR1のARP情報に、ポートO1の識別子としてIPアドレスIP_O1を対応付けている。)。   Further, the ARP information learning unit 144 of each network relay device 100 learns the ARP information in association with its own port (learning port) that has received the notification of the ARP information. For example, as can be seen from FIG. 6, the ARP information learning unit 144 of the first relay device 100a uses the ARP information of the port R1 of the external router 500a as the port O1 of the first relay device 100a that has received the ARP information. Learning in association (in the example of FIG. 6, the IP address IP_O1 is associated with the ARP information of the port R1 as the identifier of the port O1).

各ネットワーク中継装置100のARP情報学習部144は、学習したARP情報を、管理ネットワークMNTを介して、管理装置200に通知する(ステップS120a、S120b、S120c)。   The ARP information learning unit 144 of each network relay device 100 notifies the learned ARP information to the management device 200 via the management network MNT (steps S120a, S120b, and S120c).

管理装置200のARP情報マネージャ230のARP情報収集部231は、各ネットワーク中継装置100から通知されたARP情報を収集し、システムARPテーブル260を作成する(ステップS130)。図7には、作成されたシステムARPテーブル260が示されている。図7に示すように、システムARPテーブル260には、各ネットワーク中継装置100から収集されたARP情報が、送出ポート(のIPアドレス)と、学習元装置と対応付けられて記録される。送出ポートは、ARP情報としてのIPアドレスとMACアドレスが割り当てられているポートに対して、データを送る場合に、そのデータを送り出すポートである。学習元装置は、そのARP情報を通知してきたネットワーク中継装置100である。システムARPテーブル260のうち、上側の部分SOは、ネットワーク中継システム1000の外部装置のARP情報、すなわち、本実施例では4つの外部ルータ500a〜500bのARP情報である。一方、システムARPテーブル260のうち、下側の部分SIは、ネットワーク中継システム1000内部のARP情報、すなわち、本実施例では、3つのネットワーク中継装置100のARP情報である。外部装置のAPR情報SOは、ネットワーク中継システム1000に含まれるネットワーク中継装置100のいずれかに隣接する全ての外部装置のARP情報を含む。   The ARP information collection unit 231 of the ARP information manager 230 of the management device 200 collects the ARP information notified from each network relay device 100 and creates the system ARP table 260 (step S130). FIG. 7 shows the created system ARP table 260. As shown in FIG. 7, in the system ARP table 260, the ARP information collected from each network relay device 100 is recorded in association with the transmission port (its IP address) and the learning source device. The sending port is a port that sends out data when sending data to a port to which an IP address and a MAC address as ARP information are assigned. The learning source device is the network relay device 100 that has notified the ARP information. In the system ARP table 260, the upper part SO is ARP information of an external device of the network relay system 1000, that is, ARP information of four external routers 500a to 500b in this embodiment. On the other hand, in the system ARP table 260, the lower part SI is ARP information inside the network relay system 1000, that is, ARP information of the three network relay devices 100 in this embodiment. The external device APR information SO includes ARP information of all external devices adjacent to any one of the network relay devices 100 included in the network relay system 1000.

システムARPテーブル260が作成されると、管理装置200のARP情報マネージャ230のARP情報設定部232は、システムARPテーブル260に基づいて、各ネットワーク中継装置100に静的に設定するARP情報(静的ARP情報)を作成する。図8には、作成された静的ARP情報が、それを設定されるネットワーク中継装置100ごとに示されている。一のネットワーク中継装置100に設定される静的ARP情報は、そのネットワーク中継装置100が隣接していない外部装置、すなわち、他のネットワーク中継装置100に隣接している外部装置のARP情報である。静的ARP情報は、それが設定されるネットワーク中継装置100が、静的ARP情報としてのIPアドレスとMACアドレスが割り当てられているポートに対して、データを送る場合に、そのデータを送り出す送出ポートと対応付けられている。例えば、図8に示すように、第1の中継装置100aに設定される静的ARP情報には、第3の中継装置100cに隣接する外部ルータ500dのポートR4のARP情報が含まれている。外部ルータ500dのポートR4に対して、第1の中継装置100aがデータを送りたい場合、第3の中継装置100cを介して送ることになる。従って、第1の中継装置100aに設定されるポートR4のARP情報には、第3の中継装置100cに対してデータを送るためのポートI5が送出ポートとして対応付けられている。なお、各ネットワーク中継装置100に設定される静的ARP情報は、そのネットワーク中継装置100が隣接しておらず、他のネットワーク中継装置100のうちのいずれかが隣接している全ての外部装置の静的ARP情報を含んでいる。   When the system ARP table 260 is created, the ARP information setting unit 232 of the ARP information manager 230 of the management device 200 sets the ARP information (statically set) to each network relay device 100 based on the system ARP table 260. ARP information). FIG. 8 shows the created static ARP information for each network relay device 100 in which the static ARP information is set. The static ARP information set in one network relay device 100 is ARP information of an external device that is not adjacent to the network relay device 100, that is, an external device that is adjacent to another network relay device 100. The static ARP information is a transmission port that sends out data when the network relay device 100 in which the static ARP information is set sends data to a port to which an IP address and a MAC address are assigned as static ARP information. Is associated. For example, as shown in FIG. 8, the static ARP information set in the first relay device 100a includes the ARP information of the port R4 of the external router 500d adjacent to the third relay device 100c. When the first relay device 100a wants to send data to the port R4 of the external router 500d, the data is sent via the third relay device 100c. Accordingly, the ARP information of the port R4 set in the first relay device 100a is associated with the port I5 for sending data to the third relay device 100c as the transmission port. Note that the static ARP information set for each network relay device 100 includes all external devices that are not adjacent to the network relay device 100 and that are adjacent to one of the other network relay devices 100. Contains static ARP information.

次いで、ARP情報設定部232は、各ネットワーク中継装置100用に作成された静的ARP情報を、それぞれ対応するネットワーク中継装置100に通知する(ステップS150a〜150c)。   Next, the ARP information setting unit 232 notifies the corresponding network relay device 100 of the static ARP information created for each network relay device 100 (steps S150a to 150c).

静的ARP情報を通知された各ネットワーク中継装置100は、通知された静的ARP情報と、先に動的に学習したARP情報とを用いて、ARPテーブル136をそれぞれ作成する(ステップS160a〜S160c)。図8には、各ネットワーク中継装置100において作成されたARPテーブル136が示されている。3つのネットワーク中継装置100a〜100cにおいてそれぞれ作成されたARPテーブル136を区別するため、それぞれの符号の末尾に中継装置の符号の末尾のアルファベットを付し、ARPテーブル136a〜136cと表現する。各ARPテーブル136a〜136cに格納されたARP情報は、2つのタイプに分けられる。1つのタイプは、上述したステップS110a〜S110cにおいて、動的な学習により取得されたARP情報であり、もう一つのタイプは、上述したステップS140において、管理装置200により静的に設定(作成)された静的ARP情報である。例えば、図9に示すように、第1の中継装置100aのARPテーブル136aに格納されたARP情報のうち、第1の中継装置100aに隣接する装置のポートR1、M4、I2、I6のARP情報は、前者のタイプであり、第1の中継装置100aに隣接しない外部ルータ500のポートR2、R3、R4のARP情報は、後者のタイプである。各ネットワーク中継装置100において、ARPテーブル136が作成されると、ARPテーブル設定処理は終了される。   Each network relay device 100 notified of the static ARP information creates an ARP table 136 using the notified static ARP information and the previously dynamically learned ARP information (steps S160a to S160c). ). FIG. 8 shows an ARP table 136 created in each network relay device 100. In order to distinguish the ARP table 136 created in each of the three network relay apparatuses 100a to 100c, the alphabet of the end of the code of the relay apparatus is added to the end of each code, which is expressed as the ARP tables 136a to 136c. The ARP information stored in each of the ARP tables 136a to 136c is divided into two types. One type is ARP information acquired by dynamic learning in steps S110a to S110c described above, and the other type is statically set (created) by the management apparatus 200 in step S140 described above. Static ARP information. For example, as shown in FIG. 9, among the ARP information stored in the ARP table 136a of the first relay device 100a, the ARP information of the ports R1, M4, I2, and I6 of the devices adjacent to the first relay device 100a. Is the former type, and the ARP information of the ports R2, R3, and R4 of the external router 500 not adjacent to the first relay device 100a is the latter type. When the ARP table 136 is created in each network relay device 100, the ARP table setting process is terminated.

・ルーティングテーブル設定処理
図10〜図14を参照して、第1〜第3の中継装置100a〜100cのそれぞれにルーティングテーブル135を設定するルーティングテーブル設定処理について説明する。図10は、ルーティングテーブル設定処理の処理シーケンスを示すシーケンス図である。図11は、ネットワーク中継システムが保有する経路情報を示す図である。図12は、各外部ルータが広告している経路情報を示す図である。図13は、システムルーティングテーブルを示す概略図である。図14は、各ネットワーク中継装置に設定されるルーティングテーブルを示す図である。
Routing Table Setting Processing Routing table setting processing for setting the routing table 135 in each of the first to third relay devices 100a to 100c will be described with reference to FIGS. FIG. 10 is a sequence diagram showing a processing sequence of the routing table setting process. FIG. 11 is a diagram illustrating route information held by the network relay system. FIG. 12 is a diagram showing route information advertised by each external router. FIG. 13 is a schematic diagram showing a system routing table. FIG. 14 is a diagram illustrating a routing table set in each network relay device.

各ネットワーク中継装置100の制御部140の経路情報学習部145は、自己に隣接する外部ルータと、互いが広告している経路情報を交換することにより、外部ルータが広告している経路情報を学習する(図10:ステップS210a、S210b、S210c)。かかる経路情報の交換は、ルーティングプロトコルに従って実行される。交換する経路情報は、ネットワーク中継装置100および外部ルータ500においてサポートしているルーティングプロトコルによって異なるが、例えば、RIPであればルーティングテーブルそのものであり、OSPFであればリンクステートである。図11は、ネットワーク中継システム1000全体の経路情報の一例を示している。このネットワーク中継システム1000全体の経路情報は、管理装置200が把握している。ネットワーク中継システム1000全体での経路情報のうち、外部ルータ500に広告する経路情報は、ネットワーク中継システム1000の外部に関する部分、例えば、図11に示すようにネットワーク中継システム1000に隣接する外部転送用ネットワークONT1〜ONT3に関する部分のみである。ネットワーク中継システム1000全体の経路情報のうち、ネットワーク中継システム1000の内部に関する部分、例えば、内部転送用ネットワークINT1〜INT3に関する部分や管理ネットワークMNTに関する部分は、外部ルータ500に広告されない。これは、ネットワーク中継システム1000を仮想的に1つのネットワーク中継装置として、外部ルータ500に見せるためである。外部ルータ500に広告する経路情報は、管理装置200により各ネットワーク中継装置100に通知される。   The route information learning unit 145 of the control unit 140 of each network relay device 100 learns the route information advertised by the external router by exchanging the route information advertised with each other by the adjacent external router. (FIG. 10: Steps S210a, S210b, S210c). Such exchange of route information is performed according to a routing protocol. The route information to be exchanged differs depending on the routing protocol supported by the network relay device 100 and the external router 500. For example, the routing information is the routing table for RIP and the link state for OSPF. FIG. 11 shows an example of route information of the entire network relay system 1000. The management apparatus 200 grasps the route information of the entire network relay system 1000. Of the route information in the entire network relay system 1000, the route information advertised to the external router 500 is a part related to the outside of the network relay system 1000, for example, an external transfer network adjacent to the network relay system 1000 as shown in FIG. Only the part related to ONT1 to ONT3. Of the route information of the entire network relay system 1000, a part related to the inside of the network relay system 1000, for example, a part related to the internal transfer networks INT1 to INT3 and a part related to the management network MNT are not advertised to the external router 500. This is because the network relay system 1000 is virtually shown as one network relay device to the external router 500. The route information advertised to the external router 500 is notified to each network relay device 100 by the management device 200.

図12には、各外部ルータ500が広告している経路情報が示されている。外部ルータ500aが広告している経路情報は、外部ルータ500aに隣接する第1の中継装置100aが学習する。同様にして、外部ルータ500bが広告している経路情報は第2の中継装置100bが、外部ルータ500cが広告している経路情報および外部ルータ500dが広告している経路情報は第3の中継装置100cが、それぞれ学習する。   FIG. 12 shows route information advertised by each external router 500. The route information advertised by the external router 500a is learned by the first relay device 100a adjacent to the external router 500a. Similarly, the route information advertised by the external router 500b is the second relay device 100b, the route information advertised by the external router 500c and the route information advertised by the external router 500d is the third relay device. 100c learns each.

各ネットワーク中継装置100の経路情報学習部145は、学習した経路情報を、管理ネットワークMNTを介して、管理装置200に通知する(ステップS220a、S220b、S220c)。   The route information learning unit 145 of each network relay device 100 notifies the learned route information to the management device 200 via the management network MNT (steps S220a, S220b, and S220c).

経路情報マネージャ240の経路情報収集部241は、各ネットワーク中継装置100から通知された経路情報を収集し、経路情報マネージャ240の経路情報設定部242のシステムルーティングテーブル作成部243は、システムルーティングテーブル250を作成する(ステップS230)。図13には、作成されたシステムルーティングテーブル250が示されている。図13に示すように、システムルーティングテーブル250には、ネットワーク中継システム1000全体が1つの中継装置であると考えた場合のルーティングテーブルである。システムルーティングテーブル作成部243は、収集された経路情報に基づいて、ルーティングプロトコルに定められたルールに従って最適経路を計算することにより、システムルーティングテーブル250を作成する。   The route information collection unit 241 of the route information manager 240 collects the route information notified from each network relay device 100, and the system routing table creation unit 243 of the route information setting unit 242 of the route information manager 240 displays the system routing table 250. Is created (step S230). FIG. 13 shows the created system routing table 250. As shown in FIG. 13, the system routing table 250 is a routing table when the entire network relay system 1000 is considered as one relay device. The system routing table creation unit 243 creates the system routing table 250 by calculating the optimum route based on the collected route information according to the rules defined in the routing protocol.

続いて、経路情報設定部242のアドレス範囲分割部244は、ネットワークアドレスの全範囲(0.0.0.0〜255.255.255.255)を、ネットワーク中継装置100の数(本実施例では、3)のアドレス範囲に分割し、各ネットワーク中継装置100に割り当てる割当アドレス範囲を決定する(ステップS240)。図13に示すように、本実施例では、第1の中継装置100aに割り当てられる割当アドレス範囲が0/2(0.0.0.0〜63.255.255.255)に、第2の中継装置100bに割り当てられる割当アドレス範囲が64/2(64.0.0.0〜127.255.255.255)に、第3の中継装置100cに割り当てられる割当アドレス範囲が128/1(128.0.0.0〜255.255.255.255)に、それぞれ決定される。   Subsequently, the address range dividing unit 244 of the route information setting unit 242 calculates the entire network address range (0.0.0.0 to 255.255.255.255) to the number of network relay devices 100 (this embodiment). Then, it is divided into the address range of 3), and the allocated address range assigned to each network relay device 100 is determined (step S240). As shown in FIG. 13, in this embodiment, the assigned address range assigned to the first relay device 100a is 0/2 (0.0.0.0 to 63.255.255.255), and the second The assigned address range assigned to the relay device 100b is 64/2 (64.0.0.0 to 127.255.255.255), and the assigned address range assigned to the third relay device 100c is 128/1 (128 0.0.0 to 255.255.255.255), respectively.

かかる割当アドレス範囲の決定は、後のステップで生成される各ネットワーク中継装置100のルーティングテーブル135の大きさが、ほぼ同等になるように決定される。   The allocation address range is determined such that the size of the routing table 135 of each network relay device 100 generated in a later step is substantially the same.

次に、経路情報設定部242のルーティングテーブル作成部245は、各ネットワーク中継装置100に割り当てる(設定する)ルーティングテーブル135を作成する(ステップS250)。図14には、作成されたルーティングテーブル135が、それを設定されるネットワーク中継装置100ごとに示されている。3つのネットワーク中継装置100a〜100cにそれぞれ設定されるルーティングテーブル135を区別するため、それぞれの符号の末尾に中継装置の符号と同じアルファベットを付し、ルーティングテーブル135a〜135cと表現する。   Next, the routing table creation unit 245 of the route information setting unit 242 creates a routing table 135 to be assigned (set) to each network relay device 100 (step S250). In FIG. 14, the created routing table 135 is shown for each network relay device 100 in which the routing table 135 is set. In order to distinguish the routing tables 135 set in the three network relay apparatuses 100a to 100c, the same alphabets as the relay apparatus codes are added to the end of the respective codes to represent the routing tables 135a to 135c.

各ルーティングテーブル135は、図14に示すように、経路情報とマスク長により記述されたIPアドレスの範囲と、転送先装置とを対応付けるテーブルである。図14では、転送先装置の識別子として、その転送先装置のポートのIPアドレスが用いられている。これを参照することにより、ネットワーク中継装置100のレイヤ3転送部132は、イーサネットフレームの転送先装置を決定することができる。すなわち、レイヤ3転送部132は、イーサネットフレームに含まれる宛先IPアドレスが含まれるIPアドレスの範囲を、ルーティングテーブル135から検索する。そして、レイヤ3転送部132は、検索されたIPアドレスの範囲に対応付けられたIPアドレスに対応する装置を、そのフレームの転送先装置として特定する。   As shown in FIG. 14, each routing table 135 is a table for associating a range of IP addresses described by path information and mask length with a transfer destination device. In FIG. 14, the IP address of the port of the transfer destination device is used as the identifier of the transfer destination device. By referring to this, the layer 3 transfer unit 132 of the network relay device 100 can determine the transfer destination device of the Ethernet frame. That is, the layer 3 transfer unit 132 searches the routing table 135 for the range of IP addresses that include the destination IP address included in the Ethernet frame. Then, the layer 3 transfer unit 132 specifies the device corresponding to the IP address associated with the searched IP address range as the transfer destination device of the frame.

ここで、各ルーティングテーブル135において、それが設定されるネットワーク中継装置100に割り当てられた割当アドレス範囲に含まれるIPアドレスには、そのIPアドレスが外部ルータ500に転送されるべき場合、その外部ルータ500が当該ネットワーク中継装置100に隣接しているか否かに関わらず、その外部ルータ500が転送先装置として対応付けられる。例えば、50.0.0.0/8の範囲に含まれるIPアドレスを宛先IPアドレスとするイーサネットフレームは、第1の中継装置100aには隣接していない外部ルータ500bに転送されるべきであるとする。かかる場合、図14に示すように、50.0.0.0/8の範囲を割り当てられている第1の中継装置100aに設定されるルーティングテーブル135aにおいて、50.0.0.0/8の範囲のIPアドレスは、第1の中継装置100aと外部ルータ500bの間にある第2の中継装置100bのポートI2ではなく、外部ルータ500bのポートR2が転送先装置として対応付けられている。   Here, in each routing table 135, when an IP address included in the assigned address range assigned to the network relay device 100 in which the routing table 135 is set is to be transferred to the external router 500, the external router Regardless of whether or not 500 is adjacent to the network relay device 100, the external router 500 is associated as a transfer destination device. For example, an Ethernet frame whose destination IP address is an IP address included in the range of 50.0.0.0/8 should be transferred to the external router 500b that is not adjacent to the first relay device 100a. And In this case, as shown in FIG. 14, in the routing table 135a set in the first relay device 100a to which the range of 50.0.0.0/8 is assigned, 50.0.0.0/8 In the range of IP addresses, the port R2 of the external router 500b is associated as the transfer destination device, not the port I2 of the second relay device 100b between the first relay device 100a and the external router 500b.

一方、各ルーティングテーブル135において、それが設定されるネットワーク中継装置100に割り当てられていない非割当アドレス範囲に含まれるIPアドレスには、その非割当アドレスが割り当てられている他のネットワーク中継装置100が転送先装置として対応付けられる。例えば、第1の中継装置100aに設定されるルーティングテーブル135aにおいて、第2の中継装置100bの割当アドレス範囲である64/2(64.0.0.0〜127.255.255.255)には、第2の中継装置100bのポートI2が対応付けられている。   On the other hand, in each routing table 135, another network relay device 100 to which the unassigned address is assigned to an IP address included in the non-assigned address range that is not assigned to the network relay device 100 in which the routing table 135 is set. Corresponding as a transfer destination device. For example, in the routing table 135a set in the first relay device 100a, the allocation address range of the second relay device 100b is 64/2 (64.0.0.0 to 127.255.255.255). Is associated with the port I2 of the second relay device 100b.

ここで、各ルーティングテーブル135において、(ローカル)が対応付けられているIPアドレスは、そのIPアドレスを宛先IPアドレスとするイーサネットフレームは、そのルーティングテーブル135を格納しているネットワーク中継装置100宛であることを示している。   Here, in each routing table 135, an IP address associated with (local) is an Ethernet frame whose destination IP address is the IP address, and is addressed to the network relay device 100 storing the routing table 135. It shows that there is.

次いで、経路情報設定部242は、各ネットワーク中継装置100用に作成されたルーティングテーブル135a〜135cを、それぞれ対応するネットワーク中継装置100に設定する(ステップS260a〜S260c)。すなわち、ルーティングテーブル135a〜135cは、それぞれ、対応するネットワーク中継装置100の制御部140に管理ネットワークMNTを介して送信され、各ネットワーク中継装置100の制御部140によって転送処理回路130のメモリ134に格納される。ルーティングテーブル135a〜135cが、対応するネットワーク中継装置100に設定されると、ルーティングテーブル設定処理は終了される。   Next, the route information setting unit 242 sets the routing tables 135a to 135c created for each network relay device 100 in the corresponding network relay device 100 (steps S260a to S260c). That is, the routing tables 135a to 135c are transmitted to the control unit 140 of the corresponding network relay device 100 via the management network MNT, and stored in the memory 134 of the transfer processing circuit 130 by the control unit 140 of each network relay device 100. Is done. When the routing tables 135a to 135c are set in the corresponding network relay device 100, the routing table setting process ends.

・ネットワーク中継システム1000の動作
以上説明したARPテーブル設定処理と、ルーティングテーブル設定処理が実行されると、ネットワーク中継システム1000は、仮想的に1つのネットワーク中継装置として動作することができる状態となる。
-Operation of Network Relay System 1000 When the ARP table setting process and the routing table setting process described above are executed, the network relay system 1000 is in a state where it can virtually operate as one network relay device.

図15〜図16を参照して、ネットワーク中継システム1000の動作について説明する。図15は、実施例に係るネットワーク中継システムの動作を示す説明図である。図16は、比較例に係るネットワーク中継システムの動作を示す説明図である。   The operation of the network relay system 1000 will be described with reference to FIGS. FIG. 15 is an explanatory diagram illustrating the operation of the network relay system according to the embodiment. FIG. 16 is an explanatory diagram illustrating the operation of the network relay system according to the comparative example.

外部ルータ500dから宛先IPアドレスDIが50.2.3.1であるイーサネットフレームPが転送されてきた場合を例にして、実施例に係るネットワーク中継システム1000の動作を説明する。かかる場合、外部ルータ500dは、宛先MACアドレスDMとして第3の中継装置100cのポートO4のMACアドレスMAC_O4を指定して、イーサネットフレームを、第3の中継装置100cに転送してくる(図15)。第3の中継装置100cがイーサネットフレームPを受信すると、イーサネットフレームPの宛先MACアドレスDMが第3の中継装置100c自身のMACアドレスMAC_O4であるので、第3の中継装置100cのレイヤ3転送部132は、宛先IPアドレスDIに基づいて、ルーティングテーブル135cを参照して、転送先を決定する。宛先IPアドレスDI=50.2.3.1は、第1の中継装置100aの割当アドレスであるので、第3の中継装置100cのレイヤ3転送部132は、第1の中継装置100aを転送先装置として決定する。すなわち、第1の中継装置100aのレイヤ3転送部132は、第1の中継装置100aのポートI5のIPアドレスIP_I5を転送先として特定する(図14:ルーティングテーブル135cの下から2段目のエントリを参照)。第3の中継装置100cのレイヤ3転送部132は、IPアドレスIP_I5に対応するMACアドレスMAC_I5と、イーサネットフレームPの送出ポートI6を、ARPテーブル136cを参照して特定する(図9:ARPテーブル136cの最下段のエントリを参照)。この結果、第3の中継装置100cは、イーサネットフレームPの宛先MACアドレスDMをMAC_I5に変更して、イーサネットフレームPをポートI6から第1の中継装置100aにレイヤ3転送する(図15)。   The operation of the network relay system 1000 according to the embodiment will be described by taking as an example a case where the Ethernet frame P having the destination IP address DI of 50.2.3.1 is transferred from the external router 500d. In such a case, the external router 500d designates the MAC address MAC_O4 of the port O4 of the third relay device 100c as the destination MAC address DM, and transfers the Ethernet frame to the third relay device 100c (FIG. 15). . When the third relay device 100c receives the Ethernet frame P, since the destination MAC address DM of the Ethernet frame P is the MAC address MAC_O4 of the third relay device 100c itself, the layer 3 transfer unit 132 of the third relay device 100c. Determines the transfer destination with reference to the routing table 135c based on the destination IP address DI. Since the destination IP address DI = 50.2.3.1 is an assigned address of the first relay device 100a, the layer 3 transfer unit 132 of the third relay device 100c transfers the first relay device 100a to the transfer destination. Determine as a device. That is, the layer 3 transfer unit 132 of the first relay device 100a specifies the IP address IP_I5 of the port I5 of the first relay device 100a as the transfer destination (FIG. 14: entry in the second row from the bottom of the routing table 135c). See). The layer 3 transfer unit 132 of the third relay device 100c identifies the MAC address MAC_I5 corresponding to the IP address IP_I5 and the transmission port I6 of the Ethernet frame P with reference to the ARP table 136c (FIG. 9: ARP table 136c). (See entry at the bottom of.) As a result, the third relay device 100c changes the destination MAC address DM of the Ethernet frame P to MAC_I5, and transfers the Ethernet frame P from the port I6 to the first relay device 100a by Layer 3 (FIG. 15).

第1の中継装置100aがイーサネットフレームPを受信すると、イーサネットフレームPの宛先MACアドレスDMが第1の中継装置100a自身のMACアドレスMAC_I5であるので、第1の中継装置100aのレイヤ3転送部132は、宛先IPアドレスDIに基づいて、ルーティングテーブル135aを参照して、転送先を決定する。宛先IPアドレスDI=50.2.3.1は、第1の中継装置100aの割当アドレスであるので、第1の中継装置100aのレイヤ3転送部132は、外部ルータ500bを転送先装置として決定する。すなわち、第1の中継装置100aのレイヤ3転送部132は、外部ルータ500bのポートR2のIPアドレスIP_R2を転送先として特定する(図14:ルーティングテーブル135aの上から4段目のエントリを参照)。第1の中継装置100aのレイヤ3転送部132は、IPアドレスIP_R2に対応するMACアドレスMAC_R2と、イーサネットフレームPの送出ポートI1を、ARPテーブル136aを参照して特定する(図9:ARPテーブル136aの上から3段目のエントリを参照)。この結果、第1の中継装置100aは、イーサネットフレームPの宛先MACアドレスDMをMAC_R2に変更して、イーサネットフレームPをポートI1から第2の中継装置100bにレイヤ3転送する(図15)。   When the first relay device 100a receives the Ethernet frame P, since the destination MAC address DM of the Ethernet frame P is the MAC address MAC_I5 of the first relay device 100a itself, the layer 3 transfer unit 132 of the first relay device 100a. Determines a transfer destination by referring to the routing table 135a based on the destination IP address DI. Since the destination IP address DI = 50.2.3.1 is an assigned address of the first relay device 100a, the layer 3 transfer unit 132 of the first relay device 100a determines the external router 500b as the transfer destination device. To do. That is, the layer 3 transfer unit 132 of the first relay device 100a specifies the IP address IP_R2 of the port R2 of the external router 500b as the transfer destination (see the fourth entry from the top of the routing table 135a). . The layer 3 transfer unit 132 of the first relay device 100a identifies the MAC address MAC_R2 corresponding to the IP address IP_R2 and the transmission port I1 of the Ethernet frame P with reference to the ARP table 136a (FIG. 9: ARP table 136a). (See entry in the third row from the top). As a result, the first relay device 100a changes the destination MAC address DM of the Ethernet frame P to MAC_R2, and transfers the Ethernet frame P from the port I1 to the second relay device 100b by Layer 3 (FIG. 15).

第2の中継装置100bがイーサネットフレームPを受信すると、イーサネットフレームPの宛先MACアドレスDMが第2の中継装置100b自身のMACアドレスではないので、第2の中継装置100bのレイヤ2転送部133は、宛先MACアドレスDMに基づいて、ARPテーブル136bを参照して、転送先を決定する。すなわち、レイヤ2転送部133は、宛先MACアドレスDM=MAC_R2に対応付けられた送出ポートIP_O2を特定する。この結果、第2の中継装置100bは、イーサネットフレームPをそのまま外部ルータ500bにレイヤ2転送する(図15)。なお、図14において、白抜きの矢印は、レイヤ3転送を示し、黒塗りの矢印は、レイヤ2転送を示す。   When the second relay device 100b receives the Ethernet frame P, since the destination MAC address DM of the Ethernet frame P is not the MAC address of the second relay device 100b itself, the layer 2 transfer unit 133 of the second relay device 100b Based on the destination MAC address DM, the transfer destination is determined by referring to the ARP table 136b. That is, the layer 2 transfer unit 133 specifies the transmission port IP_O2 associated with the destination MAC address DM = MAC_R2. As a result, the second relay device 100b transfers the Ethernet frame P as it is to the external router 500b by Layer 2 (FIG. 15). In FIG. 14, white arrows indicate layer 3 transfer, and black arrows indicate layer 2 transfer.

以上説明した動作により、外部ルータ500dから転送されてきたイーサネットフレームPは、ネットワーク中継システム1000を介して、外部ルータ500bまで転送される。   Through the operation described above, the Ethernet frame P transferred from the external router 500d is transferred to the external router 500b via the network relay system 1000.

次に、上述したイーサネットフレームPが外部ルータ500aから転送されてきた場合を考える。かかる場合、外部ルータ500aは、宛先MACアドレスDMとして第1の中継装置100aのポートO1のMACアドレスMAC_O1を指定して、イーサネットフレームを、第1の中継装置100aに転送してくる。   Next, consider the case where the above-described Ethernet frame P is transferred from the external router 500a. In such a case, the external router 500a designates the MAC address MAC_O1 of the port O1 of the first relay device 100a as the destination MAC address DM, and transfers the Ethernet frame to the first relay device 100a.

第1の中継装置100aはイーサネットフレームPを受信すると、イーサネットフレームPの宛先MACアドレスDMが第1の中継装置100a自身のMACアドレスMAC_O1であり、宛先IPアドレスDIが自己の割当アドレス範囲内であるので、上述した第3の中継装置100cからイーサネットフレームPを受信した場合と同様の処理を行う。すなわち、第1の中継装置100aは、イーサネットフレームPの宛先MACアドレスDMをMAC_R2に変更して、イーサネットフレームPをポートI1から第2の中継装置100bにレイヤ3転送する。   When the first relay device 100a receives the Ethernet frame P, the destination MAC address DM of the Ethernet frame P is the MAC address MAC_O1 of the first relay device 100a itself, and the destination IP address DI is within its assigned address range. Therefore, the same processing as when the Ethernet frame P is received from the third relay device 100c described above is performed. That is, the first relay device 100a changes the destination MAC address DM of the Ethernet frame P to MAC_R2, and transfers the Ethernet frame P from the port I1 to the second relay device 100b by Layer 3 transfer.

第2の中継装置100bがイーサネットフレームPを受信すると、上述と同様に第2の中継装置100bは、イーサネットフレームPをそのまま外部ルータ500bにレイヤ2転送する。   When the second relay device 100b receives the Ethernet frame P, the second relay device 100b transfers the Ethernet frame P as it is to the external router 500b in a layer 2 manner as described above.

ここで、理解の容易のため、図16を参照して、比較例に係るネットワーク中継システムを説明する。比較例に係るネットワーク中継システム20000は、従来のルータである3つのネットワーク中継装置(第1〜第3の中継装置2000a〜2000c)を実施例と同じように接続したシステムである。煩雑を避けるため、各ポートの符号は、図15と同じ符号を用いる。   Here, for easy understanding, a network relay system according to a comparative example will be described with reference to FIG. The network relay system 20000 according to the comparative example is a system in which three network relay devices (first to third relay devices 2000a to 2000c), which are conventional routers, are connected in the same manner as in the embodiment. In order to avoid complications, the same reference numerals as those in FIG.

実施例に係るネットワーク中継システム1000の動作の説明と同様に、外部ルータ500dから宛先IPアドレスDIが50.2.3.1であるイーサネットフレームPが転送されてきた場合を例にして、比較例に係るネットワーク中継システム20000の動作を説明する。かかる場合、外部ルータ500dは、上述したように、宛先MACアドレスDMとして第3の中継装置2000cのポートO4のMACアドレスMAC_O4を指定して、イーサネットフレームを、第3の中継装置2000cに転送してくる。第3の中継装置2000cがイーサネットフレームPを受信すると、第3の中継装置2000cは、宛先IPアドレスDIを参照して、次の転送先である第2の中継装置2000bのポートI3を特定する。したがって、図16に示すように、第3の中継装置2000cのルーティングテーブル1350cには、宛先IPアドレスDI=50.2.3.1の転送先が第2の中継装置2000bのポートI3であることが記述されている必要がある。第3の中継装置2000cは、イーサネットフレームPの宛先MACアドレスDMをMAC_I3に変更して、イーサネットフレームPをポートI4から第2の中継装置2000bにレイヤ3転送する(図16)。   Similar to the description of the operation of the network relay system 1000 according to the embodiment, the case where the Ethernet frame P having the destination IP address DI of 50.2.3.1 is transferred from the external router 500d is taken as an example for comparison. The operation of the network relay system 20000 according to FIG. In this case, as described above, the external router 500d designates the MAC address MAC_O4 of the port O4 of the third relay device 2000c as the destination MAC address DM, and transfers the Ethernet frame to the third relay device 2000c. come. When the third relay device 2000c receives the Ethernet frame P, the third relay device 2000c refers to the destination IP address DI and identifies the port I3 of the second relay device 2000b that is the next transfer destination. Therefore, as shown in FIG. 16, in the routing table 1350c of the third relay device 2000c, the transfer destination of the destination IP address DI = 50.2.3.1 is the port I3 of the second relay device 2000b. Must be described. The third relay device 2000c changes the destination MAC address DM of the Ethernet frame P to MAC_I3, and transfers the Ethernet frame P from the port I4 to the second relay device 2000b by Layer 3 (FIG. 16).

第2の中継装置2000bがイーサネットフレームPを受信すると、第2の中継装置2000bは、宛先IPアドレスDIを参照して、次の転送先である外部ルータ500bのポートR2を特定する。したがって、図16に示すように、第2の中継装置2000bのルーティングテーブル1350bには、宛先IPアドレスDI=50.2.3.1の転送先が外部ルータ500bのポートR2であることが記述されている必要がある。第2の中継装置2000bは、イーサネットフレームPの宛先MACアドレスDMをMAC_R2に変更して、イーサネットフレームPをポートO2から外部ルータ500bにレイヤ3転送する(図16)。   When the second relay apparatus 2000b receives the Ethernet frame P, the second relay apparatus 2000b refers to the destination IP address DI and identifies the port R2 of the external router 500b that is the next transfer destination. Therefore, as shown in FIG. 16, the routing table 1350b of the second relay device 2000b describes that the transfer destination of the destination IP address DI = 50.2.3.1 is the port R2 of the external router 500b. Need to be. The second relay device 2000b changes the destination MAC address DM of the Ethernet frame P to MAC_R2, and transfers the Ethernet frame P from the port O2 to the external router 500b by Layer 3 (FIG. 16).

次に、実施例に係るネットワーク中継システム1000の動作の説明と同様に、比較例に係るネットワーク中継システム20000において、上述したイーサネットフレームPが外部ルータ500aから転送されてきた場合を考える。かかる場合、上述したように、外部ルータ500aは、宛先MACアドレスDMとして第1〜第3の中継装置2000aのポートO1のMACアドレスMAC_O1を指定して、イーサネットフレームを、第1の中継装置2000aに転送してくる。第1の中継装置2000aがイーサネットフレームPを受信すると、第1の中継装置2000aは、宛先IPアドレスDIを参照して、次の転送先である第2の中継装置2000bのポートI2を特定する。したがって、図16に示すように、第1の中継装置2000aのルーティングテーブル1350aには、宛先IPアドレスDI=50.2.3.1の転送先が第2の中継装置2000bのポートI2であることが記述されている必要がある。第1の中継装置2000aは、イーサネットフレームPの宛先MACアドレスDMをMAC_I2に変更して、イーサネットフレームPをポートI1から第2の中継装置2000bにレイヤ3転送する。   Next, similarly to the description of the operation of the network relay system 1000 according to the embodiment, consider the case where the Ethernet frame P described above is transferred from the external router 500a in the network relay system 20000 according to the comparative example. In this case, as described above, the external router 500a designates the MAC address MAC_O1 of the port O1 of the first to third relay devices 2000a as the destination MAC address DM, and sends the Ethernet frame to the first relay device 2000a. Come forward. When the first relay device 2000a receives the Ethernet frame P, the first relay device 2000a refers to the destination IP address DI and identifies the port I2 of the second relay device 2000b that is the next transfer destination. Therefore, as shown in FIG. 16, in the routing table 1350a of the first relay device 2000a, the transfer destination of the destination IP address DI = 50.2.3.1 is the port I2 of the second relay device 2000b. Must be described. The first relay device 2000a changes the destination MAC address DM of the Ethernet frame P to MAC_I2, and transfers the Ethernet frame P from the port I1 to the second relay device 2000b by Layer 3 transfer.

第2の中継装置2000bがイーサネットフレームPを受信すると、上述と同様に、第2の中継装置2000bは、イーサネットフレームPの宛先MACアドレスDMをMAC_R2に変更して、イーサネットフレームPをポートO2から外部ルータ500bにレイヤ3転送する。   When the second relay device 2000b receives the Ethernet frame P, the second relay device 2000b changes the destination MAC address DM of the Ethernet frame P to MAC_R2 and the Ethernet frame P from the port O2 as described above. Layer 3 transfer to the router 500b.

以上の説明から解るように、比較例に係るネットワーク中継システム20000では、第1〜第3の中継装置2000a〜2000cのそれぞれが、ルーティングテーブルに、宛先IPアドレスDI=50.2.3.1の転送先を記述している必要がある。同様に考えれば、結局、全ての範囲のIPアドレスについての詳細な転送先を、第1〜第3の中継装置2000a〜2000cのそれぞれが保有している必要があることが解る。   As can be understood from the above description, in the network relay system 20000 according to the comparative example, each of the first to third relay apparatuses 2000a to 2000c has the destination IP address DI = 50.2.3.1 in the routing table. It is necessary to describe the forwarding destination. Similarly, it can be understood that the first to third relay apparatuses 2000a to 2000c need to have detailed transfer destinations for all ranges of IP addresses.

一方で、実施例に係るネットワーク中継システム1000では、各ネットワーク中継装置100は、ルーティングテーブル135(図14参照)に、自己に割り当てられた割当アドレス範囲内のIPアドレスについてのみ詳細な転送先を記述しており、非割当アドレス範囲のIPアドレスについては、その非割当アドレス範囲を割当アドレス範囲とする他のネットワーク中継装置100を転送先として記述している。これは、1.ルーティングテーブル135において、割当アドレス範囲内のIPアドレスについて、自己に隣接していない外部ルータ500が直接の転送先として記述されていることと、2.ARPテーブル136において、自己に隣接していない外部ルータ500のMACアドレスが静的ARP情報として設定されていることによって実現されている。したがって、各ネットワーク中継装置100におけるルーティングテーブル135の大きさを従来より小さくすることができる。その結果としてネットワーク中継システム1000全体でより大量のルーティング情報を保有することができる。従って、ネットワーク中継システム1000全体として、より多くの外部装置(本実施例では、外部ルータ500)と隣接関係を結ぶことができる。また、ネットワーク中継システム1000に含まれるネットワーク中継装置100の数に応じて、ネットワーク中継システム1000全体で扱うことのできる経路の数、隣接関係を結ぶことのできる外部装置の数が増加することになるので、ネットワーク中継システム1000にネットワーク中継装置100を増設することにより、容易にネットワーク中継システム1000の処理能力を増強することができる。   On the other hand, in the network relay system 1000 according to the embodiment, each network relay device 100 describes a detailed transfer destination only for the IP address within the allocated address range allocated to itself in the routing table 135 (see FIG. 14). For the IP address in the non-allocation address range, another network relay device 100 having the non-allocation address range as the allocation address range is described as the transfer destination. This is as follows. 1. In the routing table 135, for the IP address within the allocated address range, the external router 500 that is not adjacent to itself is described as a direct transfer destination; This is realized by setting the MAC address of the external router 500 not adjacent to the ARP table 136 as static ARP information. Therefore, the size of the routing table 135 in each network relay device 100 can be made smaller than before. As a result, the entire network relay system 1000 can hold a larger amount of routing information. Therefore, the network relay system 1000 as a whole can establish adjacency relationships with more external devices (in this embodiment, the external router 500). Further, according to the number of network relay devices 100 included in the network relay system 1000, the number of routes that can be handled by the network relay system 1000 as a whole and the number of external devices that can establish an adjacency relationship increase. Therefore, by adding the network relay device 100 to the network relay system 1000, the processing capability of the network relay system 1000 can be easily increased.

特に、ネットワーク中継装置100において、ルーティング処理の高速化のため、ルーティングテーブル135のエントリを高速検索メモリ(CAM)に登録して、ハードウエア処理により高速なルーティング処理を行っている場合には、高速検索メモリの必要容量を抑制することができる、あるいは、限られた高速検索メモリの容量でより多くの経路について扱うことができる。   In particular, in the network relay device 100, in order to speed up the routing process, the entry of the routing table 135 is registered in the high-speed search memory (CAM), and the high-speed routing process is performed by the hardware process. The required capacity of the search memory can be suppressed, or more paths can be handled with a limited capacity of the high-speed search memory.

・ネットワーク中継システムの隣接関係に変化があった場合の処理
図17〜図18を参照して、ネットワーク中継システム1000の隣接関係に変化があった場合の処理について説明する。図17は、ARPテーブル更新処理の処理シーケンスを示すシーケンス図である。図18は、ルーティングテーブル更新処理の処理シーケンスを示すシーケンス図である。
Processing when there is a change in the adjacency relationship of the network relay system A process when there is a change in the adjacency relationship of the network relay system 1000 will be described with reference to FIGS. FIG. 17 is a sequence diagram showing a processing sequence of the ARP table update processing. FIG. 18 is a sequence diagram showing a processing sequence of the routing table update process.

ネットワーク中継システム1000の隣接関係に変化があった場合のうち、一のネットワーク中継装置100が動的に学習するARP情報に変化があった場合には、ARTテーブル更新処理が行われる。動的に学習するARP情報の変化には、例えば、一のネットワーク中継装置100が隣接する外部ルータ500と回線障害などにより通信できなくなった場合などに発生するARP情報の消滅や、一のネットワーク中継装置100に新たに隣接する外部ルータ500が追加された場合に発生するARP情報の追加が含まれる。以下、第1の中継装置100aが動的に学習するARP情報に変化があった場合を例に、ARPテーブル更新処理について説明する。   When there is a change in the adjacency relationship of the network relay system 1000, when there is a change in the ARP information that one network relay device 100 learns dynamically, an ART table update process is performed. Changes in the ARP information learned dynamically include, for example, disappearance of ARP information that occurs when one network relay device 100 becomes unable to communicate with an adjacent external router 500 due to a line failure or the like, or one network relay This includes the addition of ARP information that occurs when an external router 500 adjacent to the device 100 is newly added. Hereinafter, the ARP table update process will be described by taking as an example a case where the ARP information dynamically learned by the first relay device 100a has changed.

第1の中継装置100aが動的に学習するARP情報に変化があると、第1の中継装置100aの制御部140のARP情報学習部144は、その変化を認識し、自己のARPテーブル136に記録されたARP情報を更新する(ステップS310c)。ARP情報の変化は、例えば、新たに接続された外部ルータ500から、その外部ルータ500のARP情報が通知されてきたり、既知のARP情報について外部ルータ500から所定期間に亘って通知がないためにARP情報がエイジアウトすることにより、ARP情報学習部144に認識される。   When there is a change in the ARP information that the first relay device 100a learns dynamically, the ARP information learning unit 144 of the control unit 140 of the first relay device 100a recognizes the change and stores it in its own ARP table 136. The recorded ARP information is updated (step S310c). The change in the ARP information is because, for example, the newly connected external router 500 is notified of the ARP information of the external router 500 or there is no notification of the known ARP information from the external router 500 over a predetermined period. When the ARP information is aged out, it is recognized by the ARP information learning unit 144.

ARP情報学習部144は、管理装置200に対して、ARP情報の更新内容を通知する(ステップS320)。管理装置200のARP情報マネージャ230のARP情報収集部231は、通知されたARP情報の更新内容に基づき、システムARPテーブル260を更新する(ステップS330)。ARP情報マネージャ230のARP情報設定部232は、更新されたシステムARPテーブル260に基づき、他のネットワーク中継装置100、すなわち、第2の中継装置100bと第3の中継装置100cに静的に設定する静的ARP情報をそれぞれ更新する(ステップS340)。ARP情報設定部232は、第2の中継装置100bおよび第3の中継装置100cに、更新された静的ARP情報の内容をそれぞれ通知する(ステップS350b、S350c)。静的ARP情報の更新内容を通知された第2の中継装置100bおよび第3の中継装置100cは、通知された内容に基づいて、自己のARPテーブル136をそれぞれ更新する(ステップS360b、S360c)。各ARPテーブル136が更新されると、ARPテーブル更新処理は終了される。   The ARP information learning unit 144 notifies the update content of the ARP information to the management apparatus 200 (step S320). The ARP information collection unit 231 of the ARP information manager 230 of the management apparatus 200 updates the system ARP table 260 based on the notified update contents of the ARP information (step S330). The ARP information setting unit 232 of the ARP information manager 230 statically sets other network relay devices 100, that is, the second relay device 100b and the third relay device 100c, based on the updated system ARP table 260. Each piece of static ARP information is updated (step S340). The ARP information setting unit 232 notifies the contents of the updated static ARP information to the second relay device 100b and the third relay device 100c, respectively (steps S350b and S350c). The second relay device 100b and the third relay device 100c notified of the update contents of the static ARP information update their ARP tables 136 based on the notified contents (steps S360b and S360c). When each ARP table 136 is updated, the ARP table update process is terminated.

ネットワーク中継システム1000の隣接関係に変化があった場合のうち、一のネットワーク中継装置100が動的に学習する経路情報に変化があった場合には、ルーティングテーブル更新処理が行われる。動的に学習する経路情報の変化には、例えば、一のネットワーク中継装置100が隣接する外部ルータ500と回線障害などにより通信できなくなった場合などに発生する経路情報の消滅や、一のネットワーク中継装置100に新たに隣接する外部ルータ500が追加された場合に発生する新たな経路情報の取得、隣接する外部ルータ500から更新された経路情報を取得した場合などが含まれる。   When there is a change in the adjacency relationship of the network relay system 1000, a routing table update process is performed when there is a change in the route information dynamically learned by one network relay device 100. Changes in the dynamically learned route information include, for example, disappearance of route information that occurs when one network relay device 100 cannot communicate with the adjacent external router 500 due to a line failure or the like, or one network relay This includes the acquisition of new route information that occurs when a newly adjacent external router 500 is added to the device 100, the case of acquiring updated route information from the adjacent external router 500, and the like.

以下、第1の中継装置100aが動的に学習する経路情報に変化があった場合を例に、ルーティングテーブル更新処理について説明する。第1の中継装置100aが動的に学習する経路情報に変化があると、第1の中継装置100aの制御部140の経路情報学習部145は、その変化を認識する(ステップS410)。経路情報の変化は、例えば、新たに接続された外部ルータ500が広告している経路情報を学習したり、定期的な通信が途絶えることにより隣接していた外部ルータ500との隣接関係の消滅を認識することなどにより、経路情報学習部145に認識される。   Hereinafter, the routing table update process will be described by taking as an example a case where the route information dynamically learned by the first relay device 100a has changed. When there is a change in the route information dynamically learned by the first relay device 100a, the route information learning unit 145 of the control unit 140 of the first relay device 100a recognizes the change (step S410). The change in the route information is, for example, the learning of the route information advertised by the newly connected external router 500 or the disappearance of the adjacency relationship with the adjacent external router 500 by periodic communication interruption. By being recognized, the route information learning unit 145 recognizes it.

経路情報学習部145は、管理装置200に対して、経路情報の変化を通知する(ステップS420)。具体的には、管理装置200に対して、新たに学習した経路情報を通知したり、隣接していた外部ルータ500との隣接関係が消滅したことを通知したりする。管理装置200が、経路情報の変化の通知を受けると、経路情報マネージャ240の経路情報設定部242のシステムルーティングテーブル作成部243は、通知内容に基づき、システムARPテーブル260を更新する(ステップS430)。例えば、システムルーティングテーブル作成部243は、新たな経路情報が通知された場合には、既知の経路情報に当該新たな経路情報を加えて、最適な転送経路をルーティングプロトコルに従って再計算することにより、システムARPテーブル260を更新する。また、システムルーティングテーブル作成部243は、隣接関係の消滅が通知された場合には、隣接関係が消滅した外部ルータ500が広告していた経路情報を削除し、残りの経路情報に基づいて、最適な転送経路をルーティングプロトコルに従って再計算することにより、システムARPテーブル260を更新する。   The route information learning unit 145 notifies the management device 200 of a change in route information (step S420). Specifically, the management apparatus 200 is notified of newly learned route information, or notification that the adjacency relationship with the adjacent external router 500 has disappeared. When the management device 200 receives the notification of the change of the route information, the system routing table creation unit 243 of the route information setting unit 242 of the route information manager 240 updates the system ARP table 260 based on the notification content (step S430). . For example, when new route information is notified, the system routing table creation unit 243 adds the new route information to the known route information, and recalculates the optimal transfer route according to the routing protocol. The system ARP table 260 is updated. In addition, when the disappearance of the adjacent relationship is notified, the system routing table creation unit 243 deletes the route information advertised by the external router 500 in which the adjacent relationship has disappeared, and optimizes based on the remaining route information. The system ARP table 260 is updated by recalculating the correct transfer path according to the routing protocol.

続いて、経路情報設定部242のアドレス範囲分割部244は、ネットワークアドレスの全範囲を再分割し、各ネットワーク中継装置100に割り当てる割当アドレス範囲を再決定する(ステップS440)。経路情報設定部242のルーティングテーブル作成部245は、割当範囲の再決定の結果に従い、各ネットワーク中継装置100に割り当てるルーティングテーブル135a〜135cをそれぞれ更新する(ステップS450)。経路情報設定部242は、更新された各ネットワーク中継装置100用のルーティングテーブル135a〜135cを、それぞれ対応するネットワーク中継装置100に設定する(ステップS460a〜S460c)。こうして、更新後のルーティングテーブル135a〜135cが、それぞれ対応するネットワーク中継装置100に設定されると、ルーティングテーブル更新処理は終了される。   Subsequently, the address range dividing unit 244 of the route information setting unit 242 re-divides the entire range of network addresses, and re-decides the assigned address range to be assigned to each network relay device 100 (step S440). The routing table creation unit 245 of the route information setting unit 242 updates the routing tables 135a to 135c assigned to each network relay device 100 according to the result of the re-determination of the allocation range (step S450). The path information setting unit 242 sets the updated routing tables 135a to 135c for each network relay device 100 in the corresponding network relay device 100 (steps S460a to S460c). In this way, when the updated routing tables 135a to 135c are set in the corresponding network relay devices 100, the routing table update processing is ended.

以上説明したARPテーブル更新処理およびルーティングテーブル更新処理が、ネットワーク中継システム1000の隣接関係の変化に応じて、随時実行されることにより、ネットワーク中継システム1000は、上述したイーサネットフレームの転送動作を正しく行える状態を維持することができる。   The ARP table update process and the routing table update process described above are executed as needed according to the change in the adjacent relationship of the network relay system 1000, so that the network relay system 1000 can correctly perform the above-described Ethernet frame transfer operation. The state can be maintained.

B.変形例
・第1変形例:
上記実施例では、3台のネットワーク中継装置100が相互に接続されている例を示したが、ネットワーク中継システムに含まれるネットワーク中継装置100の台数は、任意に変更することができ、ネットワーク中継装置100の接続態様も任意に変更することができる。例えば、4台のネットワーク中継装置100を直線状に接続しても良いし、環状に接続しても良いし、スター状に接続しても良い。
B. Modifications-First modification:
In the above embodiment, an example is shown in which three network relay devices 100 are connected to each other. However, the number of network relay devices 100 included in the network relay system can be arbitrarily changed. The 100 connection modes can be arbitrarily changed. For example, the four network relay devices 100 may be connected in a straight line, may be connected in a ring shape, or may be connected in a star shape.

図19は、第1変形例に係るネットワーク中継システムを示す説明図である。図19を参照して、5台のネットワーク中継装置100(第1〜第5の中継装置100a〜100e)が環状に接続されているネットワーク中継システム1000aを第1変形例として説明する。変形例に係るネットワーク中継システム1000aは、実施例と同様に、各ネットワーク中継装置100a〜100eに管理ネットワークMNTを介して接続された管理装置200を備えているが、図19においては、図の煩雑をさけるため管理装置200の図示を省略している。   FIG. 19 is an explanatory diagram showing a network relay system according to a first modification. Referring to FIG. 19, a network relay system 1000a in which five network relay devices 100 (first to fifth relay devices 100a to 100e) are connected in a ring shape will be described as a first modification. As in the embodiment, the network relay system 1000a according to the modification includes the management device 200 connected to each of the network relay devices 100a to 100e via the management network MNT. In FIG. In order to avoid this, the management device 200 is not shown.

上記実施例と同様に、第1変形例における各ネットワーク中継装置100のARPテーブル136には、自己が隣接する外部ルータ500および他のネットワーク中継装置100のARP情報(動的に学習されたもの)に加えて、自己が隣接しない外部ルータ500および他のネットワーク中継装置100の静的ARP情報が記録されている。   Similarly to the above-described embodiment, the ARP table 136 of each network relay device 100 in the first modified example includes the ARP information (dynamically learned) of the external router 500 and other network relay devices 100 that are adjacent to each other. In addition, static ARP information of the external router 500 and other network relay devices 100 that are not adjacent to each other is recorded.

上記実施例と同様に、第1変形例におけるネットワーク中継装置100のルーティングテーブル135において、自己に割り当てられた割当アドレス範囲のIPアドレスには、転送先装置として、自己に隣接する外部ルータ500だけでなく、他のネットワーク中継装置100に隣接する外部ルータ500も直接対応付けられている。一方、上記実施例と同様に、第1変形例におけるネットワーク中継装置100のルーティングテーブル135において、自己に割り当てられていない非割当アドレス範囲のIPアドレスには、その非割当アドレス範囲を割り当てられている自己以外の装置が転送先装置として対応付けられている。   As in the above embodiment, in the routing table 135 of the network relay device 100 according to the first modification, only the external router 500 adjacent to itself is used as the forwarding destination device for the IP address in the assigned address range assigned to itself. The external router 500 adjacent to the other network relay device 100 is also directly associated. On the other hand, as in the above-described embodiment, in the routing table 135 of the network relay device 100 in the first modification, the unassigned address range is assigned to the IP address of the unassigned address range that is not assigned to itself. A device other than itself is associated as a transfer destination device.

外部ルータ500dから宛先IPアドレスDIが50.2.3.1であるイーサネットフレームPが転送されてきた場合を例にして、第1変形例に係るネットワーク中継システム1000aの動作を説明する。かかる場合、外部ルータ500dは、宛先MACアドレスDMとして第4の中継装置100dのポートO4のMACアドレスMAC_O4を指定して、イーサネットフレームを、第4の中継装置100dに転送してくる。第4の中継装置100dがイーサネットフレームPを受信すると、宛先IPアドレスDI=50.2.3.1は、第1の中継装置100aの割当アドレスであるので、第4の中継装置100dのレイヤ3転送部132は、第1の中継装置100aを転送先装置として決定する。第4の中継装置100dは、イーサネットフレームPの宛先MACアドレスDMを第1の中継装置100aのMACアドレスMAC_I10に変更して、イーサネットフレームPをポートI7から第5の中継装置100eにレイヤ3転送する(図19)。   The operation of the network relay system 1000a according to the first modification will be described by taking as an example the case where the Ethernet frame P having the destination IP address DI of 50.2.3.1 is transferred from the external router 500d. In such a case, the external router 500d designates the MAC address MAC_O4 of the port O4 of the fourth relay device 100d as the destination MAC address DM, and transfers the Ethernet frame to the fourth relay device 100d. When the fourth relay device 100d receives the Ethernet frame P, the destination IP address DI = 50.3.2.3.1 is the assigned address of the first relay device 100a, and therefore the layer 3 of the fourth relay device 100d. The transfer unit 132 determines the first relay device 100a as the transfer destination device. The fourth relay device 100d changes the destination MAC address DM of the Ethernet frame P to the MAC address MAC_I10 of the first relay device 100a, and transfers the Ethernet frame P from the port I7 to the fifth relay device 100e by Layer 3 transfer. (FIG. 19).

第5の中継装置100eがイーサネットフレームPを受信すると、イーサネットフレームPの宛先MACアドレスDMが第5の中継装置100e自身のMACアドレスではないので、第5の中継装置100eのレイヤ2転送部133は、宛先MACアドレスDMに基づいて、ARPテーブルを参照して、転送先を決定する。この結果、第5の中継装置100eは、イーサネットフレームPをそのまま第1の中継装置100aにレイヤ2転送する(図19)。   When the fifth relay device 100e receives the Ethernet frame P, since the destination MAC address DM of the Ethernet frame P is not the MAC address of the fifth relay device 100e itself, the layer 2 transfer unit 133 of the fifth relay device 100e Based on the destination MAC address DM, the transfer destination is determined by referring to the ARP table. As a result, the fifth relay device 100e transfers the Ethernet frame P as it is to the first relay device 100a by Layer 2 (FIG. 19).

第1の中継装置100aがイーサネットフレームPを受信すると、イーサネットフレームPの宛先MACアドレスDMが第1の中継装置100a自身のMACアドレスMAC_I10であるので、第1の中継装置100aのレイヤ3転送部132は、宛先IPアドレスDIに基づいて、ルーティングテーブルを参照して、転送先を決定する。この結果、第1の中継装置100aは、イーサネットフレームPの宛先MACアドレスDMを外部ルータ500cのMACアドレスMAC_R3に変更して、イーサネットフレームPを第2の中継装置100bにレイヤ3転送する(図19)。   When the first relay device 100a receives the Ethernet frame P, since the destination MAC address DM of the Ethernet frame P is the MAC address MAC_I10 of the first relay device 100a itself, the layer 3 transfer unit 132 of the first relay device 100a. Determines the transfer destination with reference to the routing table based on the destination IP address DI. As a result, the first relay device 100a changes the destination MAC address DM of the Ethernet frame P to the MAC address MAC_R3 of the external router 500c, and transfers the Ethernet frame P to the second relay device 100b by Layer 3 (FIG. 19). ).

第2の中継装置100bがイーサネットフレームPを受信すると、イーサネットフレームPの宛先MACアドレスDMが第2の中継装置100b自身のMACアドレスではないので、第2の中継装置100bのレイヤ2転送部133は、宛先MACアドレスDMに基づいて、ARPテーブルを参照して、転送先を決定する。この結果、第2の中継装置100bは、イーサネットフレームPをそのまま第3の中継装置100cにレイヤ2転送する(図19)。そして、第3の中継装置100cがイーサネットフレームPを受信すると、イーサネットフレームPの宛先MACアドレスDMが第3の中継装置100c自身のMACアドレスではないので、第3の中継装置100cのレイヤ2転送部133は、宛先MACアドレスDMに基づいて、ARPテーブルを参照して、転送先を決定する。この結果、第3の中継装置100cは、イーサネットフレームPをそのまま外部ルータ500cにレイヤ2転送する(図19)。このようにして、イーサネットフレームPは、外部ルータ500cまで転送される。   When the second relay device 100b receives the Ethernet frame P, since the destination MAC address DM of the Ethernet frame P is not the MAC address of the second relay device 100b itself, the layer 2 transfer unit 133 of the second relay device 100b Based on the destination MAC address DM, the transfer destination is determined by referring to the ARP table. As a result, the second relay device 100b transfers the Ethernet frame P as it is to the third relay device 100c by Layer 2 (FIG. 19). When the third relay device 100c receives the Ethernet frame P, the destination MAC address DM of the Ethernet frame P is not the MAC address of the third relay device 100c itself, so the layer 2 transfer unit of the third relay device 100c 133 determines a transfer destination by referring to the ARP table based on the destination MAC address DM. As a result, the third relay device 100c transfers the Ethernet frame P as it is to the external router 500c by Layer 2 (FIG. 19). In this way, the Ethernet frame P is transferred to the external router 500c.

以上の説明から解るように、5つのネットワーク中継装置100が環状に接続された態様であっても、ネットワーク中継システム1000aは、1つの仮想的なネットワーク中継装置として動作することができる。また、上述のイーサネットフレームPは、5つのネットワーク中継装置100を全て経由して、外部ルータ500cまで転送されている。しかしながら、これらの転送のうち、レイヤ3転送(白抜きの矢印)が行われているのは、第4の中継装置100dから第5の中継装置100eへの転送と、第1の中継装置100aから第2の中継装置100bへの転送だけであり、残りの転送、すなわち、第5の中継装置100eから第1の中継装置100aへの転送、第2の中継装置100bから第3の中継装置100cへの転送、および、第3の中継装置100cから外部ルータ500cへの転送は、レイヤ2転送である。したがって、イーサネットフレームPが、ネットワーク中継システム1000aを経由にする際のホップ数は、2であることが解る。   As can be understood from the above description, the network relay system 1000a can operate as one virtual network relay device even in a form in which the five network relay devices 100 are connected in a ring shape. Further, the above-described Ethernet frame P is transferred to the external router 500c via all the five network relay devices 100. However, among these transfers, the layer 3 transfer (outlined arrow) is performed from the fourth relay device 100d to the fifth relay device 100e and from the first relay device 100a. Only the transfer to the second relay device 100b, the remaining transfer, that is, the transfer from the fifth relay device 100e to the first relay device 100a, and from the second relay device 100b to the third relay device 100c. And the transfer from the third relay device 100c to the external router 500c are layer 2 transfers. Therefore, it is understood that the number of hops when the Ethernet frame P passes through the network relay system 1000a is 2.

以上の説明から解るように、いくつのネットワーク中継装置100を用いて、ネットワーク中継システムを構成しても、そのネットワーク中継システムの経由に伴うホップ数は、最大で2である。このように、本実施例や変形例に示すネットワーク中継システムは、多くのネットワーク中継装置100を接続した場合であっても、ホップ数の増加を2以下に抑制することができる。   As can be understood from the above description, the maximum number of hops through the network relay system is two no matter how many network relay devices 100 are used to configure the network relay system. As described above, the network relay system shown in the present embodiment and the modification can suppress an increase in the number of hops to 2 or less even when many network relay devices 100 are connected.

・第2変形例:
上記実施例では、データリンク層のアドレスとしてMACアドレスを用いており、ネットワーク層のアドレスとしてIPアドレスを用いているが、これは、本実施例において各装置を接続するネットワークが、データリンク層のプロトコルとしてEthernet(登録商標)を用い、ネットワーク層のプロトコルとしてIP(internet protocol)を用いているからである。もちろん、データリンク層およびネットワーク層のプロトコルに他のプロトコルを用いる場合には、それらのプロトコルにおいて用いられるアドレスを用いても良い。
・ Second modification:
In the above embodiment, the MAC address is used as the address of the data link layer, and the IP address is used as the address of the network layer. This is because the network connecting each device in this embodiment is the data link layer. This is because Ethernet (registered trademark) is used as the protocol, and IP (internet protocol) is used as the network layer protocol. Of course, when other protocols are used for the data link layer and network layer protocols, the addresses used in those protocols may be used.

・第3変形例:
上記実施例では、転送先装置のMACアドレスと、そのMACアドレスを宛先MACアドレスDMとするイーサネットフレームを送出するべきポートとの対応関係を、図9に示すようなARPテーブル136に記述し、IPアドレスと転送先装置との対応関係を、図14に示すようなルーティングテーブル135において記述しているが、これらの対応関係を記述する情報は、実施例に限られない。これらの一種類または複数種類の情報は、ネットワーク中継装置100において受信されたイーサネットフレームの宛先MACアドレスDMが、そのネットワーク中継装置100自身のMACアドレスである場合に、宛先IPアドレスDIに基づいて転送先装置を適切に定めることができ、定められた転送先装置のMACアドレスと、そのMACアドレスを宛先MACアドレスDMとするイーサネットフレームを送出するべきポートとが認識できる情報であり、かつ、ネットワーク中継装置100において受信されたイーサネットフレームの宛先MACアドレスDMが、そのネットワーク中継装置100自身以外の転送先装置のMACアドレスである場合に、そのMACアドレスを宛先MACアドレスDMとするイーサネットフレームを送出するべきポートが認識できる情報であれば良い。
・ Third modification:
In the above embodiment, the correspondence between the MAC address of the transfer destination device and the port to which the Ethernet frame having the MAC address as the destination MAC address DM is to be sent is described in the ARP table 136 as shown in FIG. Although the correspondence between the address and the transfer destination device is described in the routing table 135 as shown in FIG. 14, the information describing the correspondence is not limited to the embodiment. These one or more types of information are transferred based on the destination IP address DI when the destination MAC address DM of the Ethernet frame received by the network relay device 100 is the MAC address of the network relay device 100 itself. It is information that can properly determine the destination device, and can recognize the MAC address of the determined destination device and the port to which an Ethernet frame having the MAC address as the destination MAC address DM should be transmitted, and network relay When the destination MAC address DM of the Ethernet frame received by the device 100 is the MAC address of the transfer destination device other than the network relay device 100 itself, the Ethernet frame having the MAC address as the destination MAC address DM is transmitted. Rubeki port may be any information that can be recognized.

・第4変形例:
上記実施例において、割当アドレス範囲の決定は、各ネットワーク中継装置100のルーティングテーブル135の大きさが、ほぼ同等になるように決定されるが、これは、ルーティングテーブル135を格納するためのメモリ領域の大きさが、各ネットワーク中継装置100において同一であることを前提としている。割当アドレス範囲の決定は、各ネットワーク中継装置100のルーティングテーブル135が、ルーティングテーブル135を格納するためのメモリ領域に収まるように、各ネットワーク中継装置100のルーティングテーブル135を格納するためのメモリ領域の大きさに応じて、実行されることが好ましい。こうすれば、各ネットワーク中継装置100のメモリ容量を有効に活用して、より多くのルーティング情報を、ネットワーク中継システム1000全体として保有することができる。
-Fourth modification:
In the above embodiment, the allocation address range is determined so that the size of the routing table 135 of each network relay device 100 is substantially the same, but this is a memory area for storing the routing table 135. Is assumed to be the same in each network relay device 100. The allocation address range is determined by determining the memory area for storing the routing table 135 of each network relay apparatus 100 so that the routing table 135 of each network relay apparatus 100 can be accommodated in the memory area for storing the routing table 135. Depending on the size, it is preferably performed. In this way, it is possible to effectively use the memory capacity of each network relay device 100 and hold more routing information as the entire network relay system 1000.

・その他の変形例:
上記実施例において、管理装置200は、ネットワーク中継装置100とは独立した装置として構成されているが、これに限られない。例えば、管理装置200が備える機能(ARP情報マネージャ230や経路情報マネージャ240により実現される機能)を、ネットワーク中継システム1000に含まれる複数のネットワーク中継装置100のうちのいずれかの制御部140が備えても良い。こうすれば、ネットワーク中継システム1000の構成をシンプルにすることができる。
・ Other variations:
In the above embodiment, the management apparatus 200 is configured as an apparatus independent of the network relay apparatus 100, but is not limited thereto. For example, the control unit 140 of any of the plurality of network relay devices 100 included in the network relay system 1000 includes the functions of the management device 200 (functions realized by the ARP information manager 230 and the path information manager 240). May be. In this way, the configuration of the network relay system 1000 can be simplified.

上記実施例において、ハードウェアによって実現されていた構成の一部をソフトウェアに置き換えてもよく、逆に、ソフトウェアによって実現されていた構成の一部をハードウェアに置き換えてもよい。   In the above embodiment, a part of the configuration realized by hardware may be replaced by software, and conversely, a part of the configuration realized by software may be replaced by hardware.

以上、実施例、変形例に基づき本発明について説明してきたが、上記した発明の実施の形態は、本発明の理解を容易にするためのものであり、本発明を限定するものではない。本発明は、その趣旨並びに特許請求の範囲を逸脱することなく、変更、改良され得ると共に、本発明にはその等価物が含まれる。   As mentioned above, although this invention was demonstrated based on the Example and the modification, Embodiment mentioned above is for making an understanding of this invention easy, and does not limit this invention. The present invention can be changed and improved without departing from the spirit and scope of the claims, and equivalents thereof are included in the present invention.

実施例に係るネットワーク中継システムの概略構成を示すブロック図。The block diagram which shows schematic structure of the network relay system which concerns on an Example. 実施例に係るネットワーク中継システムに含まれるネットワーク中継装置の内部構成を示すブロック図。The block diagram which shows the internal structure of the network relay apparatus contained in the network relay system which concerns on an Example. 実施例に係るネットワーク中継システムに含まれる管理装置の内部構成を示すブロック図。The block diagram which shows the internal structure of the management apparatus contained in the network relay system which concerns on an Example. 実施例にネットワーク中継システムの各部に割り当てられたIPアドレスの一覧表。The table of the IP address allocated to each part of the network relay system in the embodiment. ARPテーブル設定処理の処理シーケンスを示すシーケンス図。The sequence diagram which shows the process sequence of an ARP table setting process. 各ネットワーク中継装置におけるARP情報の学習結果を示す図。The figure which shows the learning result of the ARP information in each network relay apparatus. システムARPテーブルを示す概略図。Schematic which shows a system ARP table. 各ネットワーク中継装置に設定する静的ARP情報を示す図。The figure which shows the static ARP information set to each network relay apparatus. 各ネットワーク中継装置に設定されるARPテーブルを示す図。The figure which shows the ARP table set to each network relay apparatus. ルーティングテーブル設定処理の処理シーケンスを示すシーケンス図。The sequence diagram which shows the process sequence of a routing table setting process. ネットワーク中継システムが保有する経路情報を示す図。The figure which shows the routing information which a network relay system holds. 各外部ルータが広告している経路情報を示す図。The figure which shows the routing information which each external router advertised. システムルーティングテーブルを示す概略図。Schematic which shows a system routing table. 各ネットワーク中継装置に設定されるルーティングテーブルを示す図。The figure which shows the routing table set to each network relay apparatus. 実施例に係るネットワーク中継システムの動作を示す説明図。Explanatory drawing which shows operation | movement of the network relay system which concerns on an Example. 比較例に係るネットワーク中継システムの動作を示す説明図。Explanatory drawing which shows operation | movement of the network relay system which concerns on a comparative example. ARPテーブル更新処理の処理シーケンスを示すシーケンス図。The sequence diagram which shows the process sequence of an ARP table update process. ルーティングテーブル更新処理の処理シーケンスを示すシーケンス図。The sequence diagram which shows the process sequence of a routing table update process. 第1変形例に係るネットワーク中継システムを示す説明図。Explanatory drawing which shows the network relay system which concerns on a 1st modification.

符号の説明Explanation of symbols

100a〜100e…ネットワーク中継装置
110…物理ポート
120…送受信処理回路
130…転送処理回路
131…転送エンジン
132…レイヤ3転送部
133…レイヤ2転送部
134…メモリ
135a〜135c…ルーティングテーブル
136a〜136c…ARPテーブル
140…制御部
141…CPU
142…メモリ
143…制御プログラム
144…ARP情報学習部
145…経路情報学習部
200…管理装置
210…CPU
220…メモリ
230…ARP情報マネージャ
231…ARP情報収集部
232…ARP情報設定部
240…経路情報マネージャ
241…経路情報収集部
242…経路情報設定部
243…システムルーティングテーブル作成部
244…アドレス範囲分割部
245…ルーティングテーブル作成部
250…システムルーティングテーブル
260…システムARPテーブル
500a〜500d…外部ルータ
1000、1000a…ネットワーク中継システム
ONT1〜ONT3…外部転送用ネットワーク
INT1〜INT3…内部転送用ネットワーク
CV…回線
MNT…管理ネットワーク
DESCRIPTION OF SYMBOLS 100a-100e ... Network relay apparatus 110 ... Physical port 120 ... Transmission / reception processing circuit 130 ... Transfer processing circuit 131 ... Transfer engine 132 ... Layer 3 transfer part 133 ... Layer 2 transfer part 134 ... Memory 135a-135c ... Routing table 136a-136c ... ARP table 140 ... control unit 141 ... CPU
DESCRIPTION OF SYMBOLS 142 ... Memory 143 ... Control program 144 ... ARP information learning part 145 ... Path information learning part 200 ... Management apparatus 210 ... CPU
DESCRIPTION OF SYMBOLS 220 ... Memory 230 ... ARP information manager 231 ... ARP information collection part 232 ... ARP information setting part 240 ... Path information manager 241 ... Path information collection part 242 ... Path information setting part 243 ... System routing table creation part 244 ... Address range division part 245 ... Routing table creation unit 250 ... System routing table 260 ... System ARP table 500a to 500d ... External router 1000, 1000a ... Network relay system ONT1-ONT3 ... External transfer network INT1-INT3 ... Internal transfer network CV ... Line MNT ... Management network

Claims (11)

複数のネットワーク中継装置が接続され、仮想的に1つのネットワーク中継装置として動作するネットワーク中継システムであって、
前記複数のネットワーク中継装置のそれぞれは、
外部装置または前記複数のネットワーク中継装置のうちの自己以外の装置と接続するための複数のポートと、
転送先装置のデータリンク層のアドレスを前記複数のポートのうちの対応ポートに対応付けるデータリンク層情報であって、前記転送先装置は、前記自己以外の装置と、前記外部装置のうちの自己に隣接する第1の外部装置と、前記外部装置のうちの前記自己以外の装置に隣接する第2の外部装置とを含む、前記データリンク層情報を格納する第1の記憶部と、
ネットワーク層のアドレスと前記転送先装置を対応付ける第1のネットワーク層情報であって、前記ネットワーク層のアドレスのうち、自己に割り当てられた割当アドレスに対応付けられる前記転送先装置は、前記第1の外部装置または前記第2の外部装置を含み、自己に割り当てられていない非割当アドレスに対応付けられる前記転送先装置は、前記非割当アドレスを割り当てられている前記自己以外の装置である、前記第1のネットワーク層情報を格納する第2の記憶部と、
前記複数のポートのいずれかを介して、宛先としてのデータリンク層のアドレスである第1の宛先アドレスと、宛先としてのネットワーク層のアドレスである第2の宛先アドレスを有するデータを受信する受信手段と、
前記第1の宛先アドレスが、自己のデータリンク層のアドレスである場合に、前記データリンク層情報と前記第1のネットワーク層情報とを用いて、前記第1の宛先アドレスを、前記第2の宛先アドレスに対応付けられた前記転送先装置のデータリンク層のアドレスに変更し、前記変更後の第1の宛先アドレスに対応付けられた前記対応ポートから前記受信されたデータを転送する第1の転送手段と、
前記第1の宛先アドレスが、前記転送先装置のデータリンク層のアドレスである場合に、前記データリンク層情報を用いて、前記第1の宛先アドレスに対応付けられた前記対応ポートから前記受信されたデータを転送する第2の転送手段と、
を備える、ネットワーク中継システム。
A network relay system in which a plurality of network relay devices are connected and operate virtually as one network relay device,
Each of the plurality of network relay devices is
A plurality of ports for connecting to an external device or a device other than one of the plurality of network relay devices;
Data link layer information for associating a data link layer address of a transfer destination device with a corresponding port of the plurality of ports, wherein the transfer destination device is assigned to a device other than the self device and a self of the external device. A first storage unit for storing the data link layer information, including a first external device adjacent to the second external device adjacent to a device other than the self device among the external devices;
1st network layer information which matches the address of a network layer, and the said transfer destination apparatus, Comprising: The said transfer destination apparatus matched with the allocation address allocated to self among the addresses of the said network layer is said 1st The transfer destination device that includes an external device or the second external device and is associated with a non-assigned address that is not assigned to itself is a device other than the self that is assigned the non-assigned address. A second storage unit for storing one network layer information;
Receiving means for receiving data having a first destination address that is a data link layer address as a destination and a second destination address that is a network layer address as a destination via any of the plurality of ports When,
When the first destination address is an address of its own data link layer, the first destination address is changed to the second address using the data link layer information and the first network layer information. Change to the data link layer address of the transfer destination device associated with the destination address, and transfer the received data from the corresponding port associated with the changed first destination address Transfer means;
When the first destination address is an address of the data link layer of the transfer destination device, the data is received from the corresponding port associated with the first destination address using the data link layer information. A second transfer means for transferring the received data;
A network relay system comprising:
請求項1に記載のネットワーク中継システムにおいて、
前記複数のネットワーク中継装置のそれぞれは、さらに、
前記データリンク層情報のうち、自己に隣接する前記転送先装置のデータリンク層のアドレスに関連する第1の部分情報を学習する第1の学習手段を備え、
前記ネットワーク中継システムは、さらに、
前記複数のネットワーク中継装置のそれぞれから前記第1の部分情報を収集する第1の収集手段と、
前記収集された前記第1の部分情報に基づいて、前記複数のネットワーク中継装置のそれぞれに、前記第1の情報のうち、自己に隣接しない前記転送先装置のデータリンク層のアドレスに関連する第2の部分情報を設定する第1の設定手段と、
を備える、ネットワーク中継システム。
The network relay system according to claim 1,
Each of the plurality of network relay devices further includes:
Of the data link layer information, comprising: first learning means for learning first partial information related to an address of a data link layer of the transfer destination device adjacent to the data link layer information;
The network relay system further includes:
First collection means for collecting the first partial information from each of the plurality of network relay devices;
Based on the collected first partial information, each of the plurality of network relay devices has a first information related to the address of the data link layer of the transfer destination device that is not adjacent to the first information. First setting means for setting the partial information of 2;
A network relay system comprising:
請求項2に記載のネットワーク中継システムにおいて、
前記複数のネットワーク中継装置のいずれかにおいて、前記第1の外部装置との隣接関係に変更があった場合には、前記変更があったネットワーク中継装置の前記第1の学習手段は、前記第1の部分情報を再学習し、前記第1の収集手段は、前記変更があったネットワーク中継装置から前記第1の部分情報を再収集し、前記第1の設定手段は、前記複数のネットワーク中継装置のそれぞれに前記第2の部分情報を再設定する、ネットワーク中継装置。
The network relay system according to claim 2,
In any one of the plurality of network relay devices, when there is a change in the adjacency relationship with the first external device, the first learning means of the network relay device having the change is the first The first collection unit re-collects the first partial information from the changed network relay device, and the first setting unit includes the plurality of network relay devices. The network relay device resets the second partial information to each of the network relay devices.
請求項1ないし請求項3のいずれかに記載のネットワーク中継システムにおいて、
前記複数のネットワーク中継装置のそれぞれは、さらに、
前記第1の外部装置が所有する経路情報を、前記第1の外部装置から学習する第2の学習手段を備え、
前記ネットワーク中継システムは、さらに、
前記複数のネットワーク中継装置のそれぞれから前記経路情報を収集する第2の収集手段と、
前記収集された前記経路情報に基づいて、前記複数のネットワーク中継装置のそれぞれに、前記第1のネットワーク層情報を設定する第2の設定手段と、
を備える、ネットワーク中継システム。
In the network relay system according to any one of claims 1 to 3,
Each of the plurality of network relay devices further includes:
Comprising second learning means for learning route information owned by the first external device from the first external device;
The network relay system further includes:
Second collection means for collecting the route information from each of the plurality of network relay devices;
Second setting means for setting the first network layer information in each of the plurality of network relay devices based on the collected route information;
A network relay system comprising:
請求項4に記載のネットワーク中継システムにおいて、
前記第2の設定手段は、
前記収集された前記経路情報に基づいて、ネットワーク層のアドレスと前記第1の外部装置または前記第2の外部装置を対応付ける第2のネットワーク層情報を作成する第1の作成手段と、
前記ネットワーク層のアドレスを、前記複数のネットワーク中継装置の数のアドレス範囲に分割し、それぞれの前記アドレス範囲に含まれる前記ネットワークアドレスを、前記複数のネットワーク中継装置のそれぞれの前記割当アドレスとする分割手段と、
前記第2のネットワーク層情報と、前記分割の結果に基づいて、前記複数のネットワーク中継装置のそれぞれに設定される前記第1のネットワーク層情報を作成する第2の作成手段と、
を有する、ネットワーク中継システム。
The network relay system according to claim 4,
The second setting means includes
First creation means for creating second network layer information for associating a network layer address with the first external device or the second external device based on the collected path information;
Dividing the network layer address into an address range equal to the number of the plurality of network relay devices, and using the network address included in each of the address ranges as the assigned address of each of the plurality of network relay devices Means,
Second creation means for creating the first network layer information set in each of the plurality of network relay devices based on the second network layer information and the result of the division;
A network relay system.
請求項5に記載のネットワーク中継システムにおいて、
前記分割手段は、前記複数のネットワーク中継装置のそれぞれの前記第2の記憶部の容量に応じた前記第1のネットワーク層情報が作成されるように、前記アドレス範囲を定める、ネットワーク中継システム。
The network relay system according to claim 5,
The network relay system, wherein the dividing unit determines the address range so that the first network layer information corresponding to the capacity of the second storage unit of each of the plurality of network relay devices is created.
請求項4ないし請求項6のいずれかに記載のネットワーク中継システムにおいて、
前記複数のネットワーク中継装置のいずれかにおいて、前記第1の外部装置との隣接関係に変更があった場合には、前記変更があったネットワーク中継装置の前記第2の学習手段は、前記経路情報を再学習し、前記第2の収集手段は、前記変更があったネットワーク中継装置から前記経路情報を再収集し、前記第2の設定手段は、前記複数のネットワーク中継装置のそれぞれに前記第1のネットワーク層情報を再設定する、ネットワーク中継システム。
The network relay system according to any one of claims 4 to 6,
In any one of the plurality of network relay devices, when there is a change in the adjacency relationship with the first external device, the second learning unit of the network relay device that has changed the route information The second collection unit re-collects the route information from the changed network relay device, and the second setting unit transmits the first information to each of the plurality of network relay devices. A network relay system that reconfigures network layer information.
請求項2または請求項3に記載のネットワークシステムは、さらに、
前記複数のネットワーク中継装置のそれぞれに接続された管理装置を備え、
前記管理装置は、前記第1の収集手段と前記第1の設定手段を有する、ネットワーク中継システム。
The network system according to claim 2 or 3, further comprises:
A management device connected to each of the plurality of network relay devices;
The network management system, wherein the management device includes the first collection unit and the first setting unit.
請求項4ないし請求項7のいずれかに記載のネットワーク中継システムは、さらに、
前記複数のネットワーク中継装置のそれぞれに接続された管理装置を備え、
前記管理装置は、前記第2の収集手段と前記第2の設定手段を有する、ネットワーク中継システム。
The network relay system according to any one of claims 4 to 7, further comprising:
A management device connected to each of the plurality of network relay devices;
The network management system, wherein the management device includes the second collection unit and the second setting unit.
複数のポートをそれぞれ有する複数のネットワーク中継装置が接続され、仮想的に1つのネットワーク中継装置として動作するネットワーク中継システムの制御方法であって、
前記複数のネットワーク中継装置のそれぞれに、転送先装置のデータリンク層のアドレスを前記複数のポートのうちの対応ポートに対応付けるデータリンク層情報であって、前記転送先装置は、前記複数のネットワーク中継装置のうちの自己以外の装置と、自己に隣接する第1の外部装置と、前記自己以外の装置に隣接する第2の外部装置とを含む、前記データリンク層情報を格納し、
前記複数のネットワーク中継装置のそれぞれに、ネットワーク層のアドレスと前記転送先装置を対応付ける第1のネットワーク層情報であって、前記ネットワーク層のアドレスのうち、自己に割り当てられた割当アドレスに対応付けられる前記転送先装置は、前記第1の外部装置または前記第2の外部装置を含み、自己に割り当てられていない非割当アドレスに対応付けられる前記転送先装置は、前記非割当アドレスを割り当てられている前記自己以外の装置である、前記第1のネットワーク層情報を格納し、
前記複数のネットワーク中継装置のうち、宛先としてのデータリンク層のアドレスである第1の宛先アドレスと、宛先としてのネットワーク層のアドレスである第2の宛先アドレスを有するデータを受信した装置は、
前記第1の宛先アドレスが、自己のデータリンク層のアドレスである場合に、前記データリンク層情報と前記第1のネットワーク層情報とを用いて、前記第1の宛先アドレスを、前記第2の宛先アドレスに対応付けられた前記転送先装置のデータリンク層のアドレスに変更し、前記変更後の第1の宛先アドレスに対応付けられた前記対応ポートから前記受信されたデータを転送し、
前記第1の宛先アドレスが、前記転送先装置のデータリンク層のアドレスである場合に、前記データリンク層情報を用いて、前記第1の宛先アドレスに対応付けられた前記対応ポートから前記受信されたデータを転送する、制御方法。
A network relay system control method in which a plurality of network relay devices each having a plurality of ports are connected and operate virtually as one network relay device,
Data link layer information for associating each of the plurality of network relay devices with a data link layer address of the transfer destination device to a corresponding port of the plurality of ports, wherein the transfer destination device is the plurality of network relay devices. Storing the data link layer information including a device other than itself among the devices, a first external device adjacent to the device, and a second external device adjacent to the device other than the device;
First network layer information that associates a network layer address and the transfer destination device with each of the plurality of network relay devices, and is associated with an assigned address assigned to itself among the network layer addresses. The transfer destination device includes the first external device or the second external device, and the transfer destination device associated with a non-assignment address not assigned to itself is assigned the non-assignment address. Storing the first network layer information that is a device other than the device;
Among the plurality of network relay devices, a device that has received data having a first destination address that is a data link layer address as a destination and a second destination address that is a network layer address as a destination.
When the first destination address is an address of its own data link layer, the first destination address is changed to the second address using the data link layer information and the first network layer information. Change to the address of the data link layer of the transfer destination device associated with the destination address, transfer the received data from the corresponding port associated with the first destination address after the change,
When the first destination address is an address of the data link layer of the transfer destination device, the data is received from the corresponding port associated with the first destination address using the data link layer information. Control method to transfer the data.
複数のネットワーク中継装置を接続し、仮想的に1つのネットワーク中継装置として動作するネットワーク中継システムにおける管理装置であって、
前記複数のネットワーク中継装置のそれぞれは、
外部装置または前記複数のネットワーク中継装置のうちの自己以外の装置と接続するための複数のポートと、
転送先装置のデータリンク層のアドレスを前記複数のポートのうちの対応ポートに対応付けるデータリンク層情報と、
ネットワーク層のアドレスと前記転送先装置を対応付ける第1のネットワーク層情報と、
前記複数のポートのいずれかを介して、宛先としてのデータリンク層のアドレスである第1の宛先アドレスと、宛先としてのネットワーク層のアドレスである第2の宛先アドレスを有するデータを受信する受信手段と、
前記第1の宛先アドレスが、自己のデータリンク層のアドレスである場合に、前記データリンク層情報と前記第1のネットワーク層情報とを用いて、前記第1の宛先アドレスを、前記第2の宛先アドレスに対応付けられた前記転送先装置のデータリンク層のアドレスに変更し、前記変更後の第1の宛先アドレスに対応付けられた前記対応ポートから前記受信されたデータを転送する第1の転送手段と、
前記第1の宛先アドレスが、前記転送先装置のデータリンク層のアドレスである場合に、前記データリンク層情報を用いて、前記第1の宛先アドレスに対応付けられた前記対応ポートから前記受信されたデータを転送する第2の転送手段と、
を有し、
前記管理装置は、
前記複数のネットワーク中継装置のそれぞれが有する前記データリンク層情報に、前記自己以外の装置と前記外部装置のうち、前記自己以外の装置に隣接する装置のデータリンク層のアドレスを前記対応ポートに対応付ける情報を設定する第1の設定部と、
前記複数のネットワーク中継装置のそれぞれに、前記ネットワーク層のアドレスのうち、そのネットワーク中継装置に割り当てられた割当アドレスに対応付けられる前記転送先装置は、前記外部装置を含み、そのネットワーク中継装置に割り当てられていない非割当アドレスに対応付けられる前記転送先装置は、前記非割当アドレスを割り当てられている他のネットワーク中継装置である前記第1のネットワーク層情報を設定する第2の設定部と、
を備える管理装置。
A management device in a network relay system that connects a plurality of network relay devices and operates virtually as one network relay device,
Each of the plurality of network relay devices is
A plurality of ports for connecting to an external device or a device other than one of the plurality of network relay devices;
Data link layer information for associating the address of the data link layer of the transfer destination device with the corresponding port of the plurality of ports;
First network layer information associating a network layer address with the transfer destination device;
Receiving means for receiving data having a first destination address that is a data link layer address as a destination and a second destination address that is a network layer address as a destination via any of the plurality of ports When,
When the first destination address is an address of its own data link layer, the first destination address is changed to the second address using the data link layer information and the first network layer information. Change to the data link layer address of the transfer destination device associated with the destination address, and transfer the received data from the corresponding port associated with the changed first destination address Transfer means;
When the first destination address is an address of the data link layer of the transfer destination device, the data is received from the corresponding port associated with the first destination address using the data link layer information. A second transfer means for transferring the received data;
Have
The management device
The data link layer information of each of the plurality of network relay devices is associated with the corresponding port of the data link layer address of a device adjacent to the device other than the device other than the device other than the device itself and the external device. A first setting unit for setting information;
Each of the plurality of network relay devices includes the external device, and the transfer destination device associated with the assigned address assigned to the network relay device among the addresses of the network layer is assigned to the network relay device. A second setting unit configured to set the first network layer information which is another network relay device to which the unassigned address is assigned;
A management device comprising:
JP2006169886A 2006-06-20 2006-06-20 Network relay system, network relay system control method, and management device in network relay system Expired - Fee Related JP4648251B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006169886A JP4648251B2 (en) 2006-06-20 2006-06-20 Network relay system, network relay system control method, and management device in network relay system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006169886A JP4648251B2 (en) 2006-06-20 2006-06-20 Network relay system, network relay system control method, and management device in network relay system

Publications (2)

Publication Number Publication Date
JP2008005008A JP2008005008A (en) 2008-01-10
JP4648251B2 true JP4648251B2 (en) 2011-03-09

Family

ID=39009075

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006169886A Expired - Fee Related JP4648251B2 (en) 2006-06-20 2006-06-20 Network relay system, network relay system control method, and management device in network relay system

Country Status (1)

Country Link
JP (1) JP4648251B2 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100831757B1 (en) * 2006-12-13 2008-05-23 한국생명공학연구원 Antioxidant Compounds Isolated from Mycelial Culture of Perinus Mushroom or Innotus Mushroom and Compositions Comprising the Same
KR100830981B1 (en) * 2007-04-13 2008-05-20 삼성에스디아이 주식회사 Organic light emitting display
JP4644221B2 (en) * 2007-05-11 2011-03-02 三菱電機株式会社 Network system
KR100862185B1 (en) * 2007-10-11 2008-10-09 현대자동차주식회사 An immobilizer unit incorporating an encryption algorithm and an authentication method using the immobilizer unit
KR100852068B1 (en) * 2007-12-12 2008-08-13 현대자동차주식회사 Jam-proofing device for car hood
JP4818249B2 (en) * 2007-12-14 2011-11-16 アラクサラネットワークス株式会社 Network relay system, network relay system control method, and management device in network relay system
JP2010011129A (en) * 2008-06-27 2010-01-14 Alaxala Networks Corp Network connection device
JP5255579B2 (en) * 2010-02-09 2013-08-07 日立オートモティブシステムズ株式会社 In-car data relay device, vehicle control system
SG182880A1 (en) * 2011-02-01 2012-08-30 Univ Singapore A method and system for interaction with micro-objects
JP6838455B2 (en) * 2017-03-24 2021-03-03 住友電気工業株式会社 Switch device, communication control method and communication control program
JP7264767B2 (en) * 2019-08-22 2023-04-25 アラクサラネットワークス株式会社 Packet relay device and packet relay system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3113742B2 (en) * 1991-08-30 2000-12-04 株式会社日立製作所 Internetwork equipment
JPH0818599A (en) * 1994-06-27 1996-01-19 Hitachi Ltd Internetwork equipment
JP3487197B2 (en) * 1997-11-14 2004-01-13 株式会社日立製作所 Cluster type router device
JP2000138687A (en) * 1998-10-30 2000-05-16 Toshiba Corp Relay device
JP2003158541A (en) * 2001-11-21 2003-05-30 Mitsubishi Electric Corp Routing control device and routing control method

Also Published As

Publication number Publication date
JP2008005008A (en) 2008-01-10

Similar Documents

Publication Publication Date Title
JP4818249B2 (en) Network relay system, network relay system control method, and management device in network relay system
US9923812B2 (en) Triple-tier anycast addressing
US8155131B2 (en) Method, system and router for communication between IP devices
US7369561B2 (en) Apparatus and method for route summarization and distribution in a massively parallel router
US7724644B2 (en) Node redundancy method, interface card, interface device, node device, and packet ring network system
US6023733A (en) Efficient path determination in a routed network
US7660314B2 (en) Apparatus and method for multi-protocol route redistribution in a massively parallel router
US6167444A (en) Method and system for exchanging routing information
US6243759B1 (en) Method and system for configuring dynamic interfaces
JP4648251B2 (en) Network relay system, network relay system control method, and management device in network relay system
GB2513188A (en) Identification of the paths taken through a network of interconnected devices
CN108432191A (en) Communication between network controller
US10523629B2 (en) Control apparatus, communication system, communication method, and program
US10623299B2 (en) Reduced topologies
US20210344592A1 (en) Transfer device and transfer method
JP4630298B2 (en) Function distributed communication apparatus, component element coupling control method, and program
JP2008219530A (en) System and program for transferring user route advertisement to virtual closed network
JP6879129B2 (en) Relay device and relay program
JP5866811B2 (en) Network device, transmission destination inquiry method, and transmission destination inquiry program
JP4369882B2 (en) Routing method and network system
KR102358518B1 (en) Swapping header information for data transmission
JP5130022B2 (en) Route information management device
KR100487126B1 (en) Method for handling display of local routing table entries in distributed architecture router
JP2009141414A (en) Packet communication system in overlay network including narrowband communication path
WO2006090373A1 (en) Method and system for obtaining resilient communication in a network grid

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081212

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101029

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20101209

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

Free format text: PAYMENT UNTIL: 20131217

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees