JPH08223203A - Network relay device - Google Patents

Network relay device

Info

Publication number
JPH08223203A
JPH08223203A JP7025572A JP2557295A JPH08223203A JP H08223203 A JPH08223203 A JP H08223203A JP 7025572 A JP7025572 A JP 7025572A JP 2557295 A JP2557295 A JP 2557295A JP H08223203 A JPH08223203 A JP H08223203A
Authority
JP
Japan
Prior art keywords
frame
data
network
input
received
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7025572A
Other languages
Japanese (ja)
Inventor
Yasuteru Onuki
泰照 大貫
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.)
Hitachi Cable Ltd
Original Assignee
Hitachi Cable Ltd
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 Hitachi Cable Ltd filed Critical Hitachi Cable Ltd
Priority to JP7025572A priority Critical patent/JPH08223203A/en
Publication of JPH08223203A publication Critical patent/JPH08223203A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

(57)【要約】 【目的】 ネットワーク中継装置にあって、その中継性
能の向上が図れるようにする。 【構成】 複数の入出力ポート101,102を備える
と共にデータを1方の入出力ポートから他方の入出力ポ
ートへ中継する機能、ユーザが受信データの種類を指定
するフィルタデータベース108、指定された受信デー
タに対する中継を制限する機能、及びこれらの処理を実
行するプロセッサ107の各々を備えたネットワーク中
継装置100にあって、受信した通信データの通信制御
情報及び通信データに対する制限を一時的に保存する一
時保存メモリ109を備え、プロセッサ107は、保存
した通信制御情報を含む通信データを受信したとき、保
存してある制限条件に従って処理を実行する。
(57) [Abstract] [Purpose] To improve the relay performance of a network relay device. [Structure] A plurality of input / output ports 101 and 102 are provided and a function of relaying data from one input / output port to another input / output port, a filter database 108 by which a user specifies the type of received data, a specified reception A network relay device 100 including a function of restricting relay of data and a processor 107 that executes these processes, and temporarily stores communication control information of received communication data and restriction of communication data. The processor 107 includes the storage memory 109, and when receiving the communication data including the stored communication control information, the processor 107 executes a process according to the stored limiting condition.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、複数の入出力ポートを
備え、ポート間で情報を中継する機能を備えると共に、
フレーム単位で伝送を行うネットワーク中継装置に関す
るものである。
BACKGROUND OF THE INVENTION The present invention has a plurality of input / output ports and a function of relaying information between the ports.
The present invention relates to a network relay device that transmits in frame units.

【0002】[0002]

【従来の技術】ネットワーク中継装置として、米国電気
電子学会IEEEのIEEE802.1dで定められた
MAC(媒体アクセス制御)ブリッジが広く知られてい
る。この規格に定められたMACブリッジは複数の入出
力ポートを備え、この入出力ポートを通じてMACフレ
ームを受信し、或いはMACフレームを送信することが
できる。複数の入出力ポートは、夫々異なるネットワー
クに接続され、MACブリッジは或るポートを経由して
受信したMACフレームを別のポートを経由して、ポー
トの先に接続したネットワークへ送信する。このような
動作は、フレームの中継と呼ばれている。
2. Description of the Related Art As a network relay device, a MAC (Medium Access Control) bridge defined by IEEE802.1d of the Institute of Electrical and Electronics Engineers of Japan is widely known. The MAC bridge defined in this standard has a plurality of input / output ports, and can receive a MAC frame or transmit a MAC frame through the input / output ports. The plurality of input / output ports are respectively connected to different networks, and the MAC bridge transmits the MAC frame received via a certain port to the network connected to the end of the port via another port. Such an operation is called frame relay.

【0003】次に、図面を用いて従来技術によるMAC
ブリッジの動作例について説明する。図9はMACブリ
ッジを用いたネットワークシステムの構成を示す接続図
である。MACブリッジ901にはネットワーク90
2,903が接続されている。ネットワーク902には
コンピュータ904,905が接続され、ネットワーク
903にはコンピュータ906,907が接続されてい
る。
Next, referring to the drawings, a conventional MAC
An operation example of the bridge will be described. FIG. 9 is a connection diagram showing a configuration of a network system using a MAC bridge. The MAC bridge 901 has a network 90
2, 903 are connected. Computers 904 and 905 are connected to the network 902, and computers 906 and 907 are connected to the network 903.

【0004】このような構成にあって、例えば、ネット
ワーク902のコンピュータ904とネットワーク90
3のコンピュータ907との間で情報の授受を行う場
合、フレーム908と称する1群の伝送単位によって情
報の授受がMACブリッジ901を介して行われる。図
10はイーサネットにおけるフレームの構成例を示して
いる。フレームは、先頭に配置される宛て先アドレス
(DA:Destination address )1001、このアドレ
スの後に送信される送信元アドレス(SA: Source ad
dres)1002、上位プロトコル(TYPE)1003
等の通信制御情報、及びユーザデータ(DATA)10
04から構成されている。
In such a configuration, for example, the computer 904 of the network 902 and the network 90
When information is exchanged with the third computer 907, information is exchanged via the MAC bridge 901 by a group of transmission units called a frame 908. FIG. 10 shows a configuration example of a frame in Ethernet. The frame has a destination address (DA: Destination address) 1001 arranged at the head and a source address (SA: Source ad) transmitted after this address.
dres) 1002, upper protocol (TYPE) 1003
And communication control information, and user data (DATA) 10
It is composed of 04.

【0005】次に、MACブリッジ901の中継動作に
ついて説明する。コンピュータ907からコンピュータ
904へデータを送信する場合、まず、コンピュータ9
07は送ろうとするデータに通信制御情報を付加してフ
レーム908を構成し、出力ポートを通してネットワー
ク903へ送信する。ネットワーク903に接続されて
いるコンピュータ906及びMACブリッジ901は、
フレーム908を廃棄するように指定されていなけれ
ば、フレーム908をネットワーク902へ中継する。
コンピュータ906はフレーム908を受信するが、宛
て先のアドレスが自局でないため、フレーム908を廃
棄する。
Next, the relay operation of the MAC bridge 901 will be described. When transmitting data from the computer 907 to the computer 904, first, the computer 9
07, the communication control information is added to the data to be sent to form a frame 908, which is sent to the network 903 through the output port. The computer 906 and the MAC bridge 901 connected to the network 903
If frame 908 is not specified to be discarded, frame 908 is relayed to network 902.
The computer 906 receives the frame 908, but discards the frame 908 because the destination address is not its own station.

【0006】MACブリッジ901がネットワーク90
2へ送信したフレーム908は、コンピュータ904及
び905において受信される。コンピュータ905はフ
レーム908を受信するが、宛て先アドレスが自局でな
いため、フレーム908を廃棄する。コンピュータ90
4では、宛て先アドレスが自局であるため、フレーム9
08内のユーザデータを取り出して受け取る。このよう
に、コンピュータ907から見ると、送信したデータが
MACブリッジ901を通過して、コンピュータ904
に届くように見える。
MAC bridge 901 is network 90
The frame 908 transmitted to No. 2 is received by the computers 904 and 905. The computer 905 receives the frame 908, but discards the frame 908 because the destination address is not its own station. Computer 90
In 4, the destination address is the own station,
The user data in 08 is taken out and received. Thus, from the perspective of the computer 907, the transmitted data passes through the MAC bridge 901 and
It seems to reach.

【0007】また、多くのMACブリッジには、フィル
タ機能が実装されている。この機能は、MACブリッジ
の或るポートで受信したフレームをブリッジの別のポー
トへ送信しないようにする機能である。フィルタ機能
は、ネットワークへの不要なフレームの中継を回避する
ために行われる。受信したフレームを中継し、或いは廃
棄するという判定の処理は、フィルタデータベースと呼
ばれる情報を基にしている。
Further, a filter function is implemented in many MAC bridges. This function is a function for preventing a frame received at one port of the MAC bridge from being transmitted to another port of the bridge. The filtering function is performed to avoid unnecessary relaying of frames to the network. The process of determining whether to relay or discard the received frame is based on information called a filter database.

【0008】次に図を用いて、従来の技術を用いたフィ
ルタ処理の動作について説明する。図11は従来のネッ
トワーク中継装置におけるMACブリッジの構成を示す
ブロック図である。また、図12はMACブリッジのメ
モリ内に構成されているフィルタデータベースである。
更に、各ネットワークに接続されるコンピュータ90
4,905,906,907の各々には、MACアドレ
スが割当てられている。例えば、図13に示すように、
コンピュータの各々の名前と16進数のMACアドレス
の情報とが対応している。
Next, the operation of the filter processing using the conventional technique will be described with reference to the drawings. FIG. 11 is a block diagram showing the configuration of a MAC bridge in a conventional network relay device. Further, FIG. 12 is a filter database configured in the memory of the MAC bridge.
Furthermore, a computer 90 connected to each network
A MAC address is assigned to each of 4, 905, 906, and 907. For example, as shown in FIG.
Each computer name corresponds to the hexadecimal MAC address information.

【0009】図11に示すように、MACブリッジ90
1は、ネットワーク902に接続される入出力ポート
(1)1101、ネットワーク903に接続される入出
力ポート(2)1102、入出力ポート(1)1101
に接続されるLAN接続回路(1)1103、入出力ポ
ート(2)1102に接続されるLAN接続回路(2)
1104、LAN接続回路1103,1104に接続さ
れるバス405、このバス405に各々接続されるフレ
ーム格納メモリ1106、プロセッサ1107、フィル
タデータベース1108から構成されている。
As shown in FIG. 11, the MAC bridge 90
Reference numeral 1 denotes an input / output port (1) 1101 connected to the network 902, an input / output port (2) 1102 connected to the network 903, and an input / output port (1) 1101.
LAN connection circuit (1) 1103 connected to the I / O port, and LAN connection circuit (2) connected to the input / output port (2) 1102
1104, a bus 405 connected to the LAN connection circuits 1103 and 1104, a frame storage memory 1106 connected to the bus 405, a processor 1107, and a filter database 1108.

【0010】図11の構成において、入出力ポート11
01がフレームを受信した場合の動作について説明す
る。入出力ポート1101で受信したフレームの信号
は、LAN接続回路1103においてプロセッサ110
7が処理できるようなデータ形式に変換され、フレーム
格納メモリ1106に記録される。フレーム格納メモリ
1106に記録されたフレームの宛て先アドレス、送信
元アドレス及び上位プロトコルの値と、フィルタデータ
ベース1108内に記録されている送信元アドレス、宛
て先アドレス及び上位プロトコルの値を比較し、指定さ
れる範囲に含まれていれば、指定された内容に従って中
継或いは廃棄処理が行われる。
In the configuration of FIG. 11, the input / output port 11
The operation when 01 receives a frame will be described. The signal of the frame received at the input / output port 1101 is processed by the processor 110 in the LAN connection circuit 1103
7 is converted into a data format that can be processed and recorded in the frame storage memory 1106. The destination address, the source address, and the upper protocol value of the frame recorded in the frame storage memory 1106 are compared with the source address, the destination address, and the upper protocol value recorded in the filter database 1108, and designated. If it is included in the range, the relaying or discarding process is performed according to the designated content.

【0011】廃棄処理が指定されている場合、フレーム
格納メモリ1106から該当するフレームを削除する。
一方、中継処理が指定されている場合、LAN接続回路
1104へフレームを送信する。LAN接続回路110
4はフレームを信号に変換し、入出力ポート1102を
経由してネットワーク903へ送信する。次に、MAC
ブリッジ901による中継に際して、IEEE802.
3、802.4及びIEEE802.5で規定されてい
るフレームの最大長よりも長い、或いはフレーム検査シ
ーケンスに誤りがある等、異常なフレームを受信した場
合の処理(中継せずに廃棄する処理)について説明す
る。
When the discard process is designated, the corresponding frame is deleted from the frame storage memory 1106.
On the other hand, when the relay process is designated, the frame is transmitted to the LAN connection circuit 1104. LAN connection circuit 110
4 converts the frame into a signal, and transmits the signal to the network 903 via the input / output port 1102. Then MAC
When relaying by the bridge 901, the IEEE 802.
Processing when an abnormal frame is received, such as longer than the maximum length of the frame specified in 3, 802.4 and IEEE802.5, or an error in the frame check sequence (processing to discard without relaying) Will be described.

【0012】入出力ポート1101で受信したフレーム
908の信号は、LAN接続回路1103によってプロ
セッサ1107による処理が可能なデータ形式に変換さ
れ、フレーム格納メモリ1106に記録される。フレー
ム格納メモリ1106に記録されたフレーム長の値、及
びフレーム検査シーケンスの値を参照し、実際に受信し
たフレームがその値通りであるか否かを照合し、メモリ
内容と異なるときには下位層で破壊されたものと見な
し、中継せずにフレーム格納メモリ1106から削除す
る。一方、フレーム908が正常な場合、フレーム90
8をLAN接続回路1104へ送出する。このLAN接
続回路1104ではフレーム908を信号に変換し、入
出力ポート1102を経由してネットワーク903へ送
信する。
The signal of the frame 908 received at the input / output port 1101 is converted by the LAN connection circuit 1103 into a data format that can be processed by the processor 1107, and recorded in the frame storage memory 1106. By referring to the frame length value and the frame check sequence value recorded in the frame storage memory 1106, it is checked whether or not the actually received frame is the same as that value, and if it is different from the memory content, it is destroyed in the lower layer. It is considered that the data has been transmitted and is deleted from the frame storage memory 1106 without being relayed. On the other hand, if the frame 908 is normal, the frame 90
8 is sent to the LAN connection circuit 1104. The LAN connection circuit 1104 converts the frame 908 into a signal and transmits it to the network 903 via the input / output port 1102.

【0013】[0013]

【発明が解決しようとする課題】しかし、上記した従来
技術にあっては、フレームの中継或いは廃棄のための条
件、すなわちフィルタデータベースに登録される数が多
い場合、フレーム内の情報とフィルタデータベース内の
全ての値とを照合して比較する処理が必要なため、中継
或いは廃棄を決定するための判定に時間がかかるという
不具合がある。この処理に時間を要すると、フレームの
中継を遅延させる要因となり、ネットワーク性能を低下
させることになる。
However, in the above-mentioned prior art, when the condition for relaying or discarding a frame, that is, the number registered in the filter database is large, the information in the frame and the filter database Since it is necessary to collate all of the values and to compare the values, it takes a long time to make a determination for determining relaying or discarding. If this process takes a long time, it becomes a factor that delays the relay of the frame, which deteriorates the network performance.

【0014】すなわち、近年、コンピュータの高性能化
が進み、ネットワークを利用してコンピュータ間で授受
するデータ量も数千バイトから数百万バイト程度になっ
ている。一方、小規模なネットワークシステムとして、
最も普及しているイーサネットの場合、フレームの大き
さが最大で1500バイトに規定されている。このた
め、大きなデータを転送する場合、データを細切れに分
割して送信する必要がある。このように、2台のコンピ
ュータ間で大きなデータを転送する場合、同じ通信制御
情報部をもつフレームが多数発生する。2台のコンピュ
ータがネットワーク中継装置を介して接続している場
合、ネットワーク中継装置では同じ通信制御情報部をも
つフレームが受信される度にフィルタデータベースを参
照して比較処理を実行する。フィルタデータが巨大にな
ると、比較処理に時間がとられ、中継遅延を招くことに
なる。
That is, in recent years, the performance of computers has been improved, and the amount of data transmitted and received between computers using a network has been increased from several thousand bytes to several million bytes. On the other hand, as a small-scale network system,
In the case of the most popular Ethernet, the maximum frame size is specified as 1500 bytes. For this reason, when transferring a large amount of data, it is necessary to divide the data into pieces and send the pieces. As described above, when a large amount of data is transferred between two computers, a large number of frames having the same communication control information section are generated. When two computers are connected via a network relay device, the network relay device refers to the filter database and executes the comparison process each time a frame having the same communication control information section is received. If the filter data becomes huge, the comparison process will take time, resulting in a relay delay.

【0015】また、IEEE802においては、各機器
を識別するアドレスの全ビットが“1”であるものは特
別に全ノードに同時に送るための“同報アドレス”とし
て予約されている。同報アドレスの宛て先アドレスを持
つフレームを同報フレームと呼び、ネットワークに接続
する全ての機器はこれを自局宛てのフレームと同様に受
信処理しなければならない。例えば、同報アドレスはア
ドレスの不明な局に問い合わせたり、中継経路に関する
情報をネットワークに接続する全局に通知するために用
いられる。
Further, in the IEEE 802, an address in which all bits of an address for identifying each device are "1" is reserved as a "broadcast address" for sending to all nodes at the same time. A frame having a destination address of a broadcast address is called a broadcast frame, and all devices connected to the network must receive and process the same as the frame addressed to the own station. For example, the broadcast address is used for inquiring a station whose address is unknown or for notifying all stations connected to the network of information regarding the relay route.

【0016】ネットワークに接続する機器の故障によ
り、同報フレームを連続して送信することがある。ま
た、同報アドレスが誤ってネットワーク機器に設定され
ると、その機器が送信したフレームに対する応答が全て
同報フレームとなり、同報フレームが高い頻度で発生す
ることがある。IEEE802.1dで規定されるMA
Cブリッジは、異常な頻度で同報フレームを受信したと
しても、フレーム自体が正常であれば、中継してしまう
ので、MACブリッジで接続されているネットワークシ
ステムにおいて機器が故障し、同報フレームが頻繁に発
生すると、同報フレームが全てのネットワークに伝搬さ
されることになる。この同報フレームは、ネットワーク
に接続される全ての機器(中継装置を含む)に受信さ
れ、ネットワークの性能低下(或いは、接続する機器が
過負荷による動作停止)等の障害を発生させる。
A broadcast frame may be continuously transmitted due to a failure of a device connected to the network. Further, if the broadcast address is erroneously set in the network device, all the responses to the frames transmitted by the device become the broadcast frame, and the broadcast frame may occur at a high frequency. MA defined by IEEE802.1d
Even if the broadcast frame is received at an abnormal frequency, the C-bridge relays it if the frame itself is normal. Therefore, the device fails in the network system connected by the MAC bridge, and the broadcast frame is transmitted. If it occurs frequently, broadcast frames will be propagated to all networks. This broadcast frame is received by all the devices (including the relay device) connected to the network, and causes a failure such as performance degradation of the network (or the connected device is stopped due to overload).

【0017】そこで本発明は、中継性能の向上を図るこ
とが可能なネットワーク中継装置を提供することを目的
としている。また、本発明の他の目的は、同報フレーム
の頻繁な発生に起因するネットワーク性能の低下、機器
の過負荷による障害を防止することのできるネットワー
ク中継装置を提供することにある。
Therefore, an object of the present invention is to provide a network relay device capable of improving the relay performance. Another object of the present invention is to provide a network relay device capable of preventing a decrease in network performance due to frequent occurrence of broadcast frames and a failure due to overload of equipment.

【0018】[0018]

【課題を解決するための手段】上記の目的を達成するた
めに、この発明は、複数の入出力ポートを備えると共に
データを1つの入出力ポートから他の入出力ポートへ中
継する機能、ユーザが受信データの種類を指定するデー
タベース、指定された受信データに対する中継を制限す
る機能の各々を備えたネットワーク中継装置において、
受信した通信データの通信制御情報及び通信データに対
する制限を一時的に保存する記憶手段と、該記憶手段に
よって保存した通信制御情報を含む通信データを受信し
たとき、保存してある制限条件に従って処理を実行する
処理手段とを設けるようにしている。
In order to achieve the above object, the present invention has a plurality of input / output ports and a function of relaying data from one input / output port to another input / output port. In a network relay device having a database for designating the type of received data and a function for restricting relay of designated received data,
Storage means for temporarily storing the communication control information of the received communication data and restrictions on the communication data, and when the communication data including the communication control information saved by the storage means is received, processing is performed according to the saved restriction conditions. A processing means to execute is provided.

【0019】また、上記の他の目的を達成するために、
この発明は、複数の入出力ポートを備えると共にデータ
を1つの入出力ポートから他の入出力ポートへ中継する
機能、及び異常な受信データに対する中継を制限する機
能を備えたネットワーク中継装置において、ネットワー
クに接続される全ての機器を宛て先とする通信データを
受信したときに前記通信データの送信元アドレス及び受
信回数を記憶する記憶手段と、同一送信元からの受信回
数が予め設定した回数を越えたことをもって送信元に異
常が発生しているものと見なして通信データの中継を制
限する制御手段と設けるようにしている。
In order to achieve the above-mentioned other objects,
The present invention relates to a network relay device having a plurality of input / output ports, a function of relaying data from one input / output port to another input / output port, and a function of limiting relay of abnormal received data, in a network relay device. Storage device that stores the source address and the number of times of reception of the communication data when the communication data addressed to all devices connected to the device and the number of times of reception from the same source exceeds a preset number. Therefore, it is considered that an abnormality has occurred in the transmission source, and a control means for limiting relay of communication data is provided.

【0020】[0020]

【作用】上記した手段によれば、受信した通信データの
通信制御情報と、この通信データに対する制限が一時的
に保存され、その後に保存した通信制御情報を含む通信
データを受信したときに保存してある制限に従って処理
が行われる。この結果、ネットワーク中継装置のフィル
タ処理が高速に行われる。
According to the above-mentioned means, the communication control information of the received communication data and the restriction for this communication data are temporarily stored, and are stored when the communication data including the communication control information stored thereafter is received. The processing is performed according to the specified restrictions. As a result, the filtering process of the network relay device is performed at high speed.

【0021】また、同一送信元からの受信回数が予め設
定した回数を越えたことをもって、送信元に異常が発生
しているものと見なし、頻繁に発生する同報フレームは
廃棄される。この結果、頻繁な同報フレームの発生に起
因して生じるネットワーク性能の低下やネットワーク機
器の過負荷による障害を防止することができる。
Further, when the number of receptions from the same transmission source exceeds a preset number, it is considered that an abnormality has occurred in the transmission source, and the frequently-generated broadcast frame is discarded. As a result, it is possible to prevent a decrease in network performance caused by the frequent occurrence of broadcast frames and a failure due to an overload of network equipment.

【0022】[0022]

【実施例】以下、本発明の実施例を図面に基づいて説明
する。 〔実施例1〕図1は本発明によるネットワーク中継装置
の一実施例を示すブロック図である。また、図2は図1
の実施例の動作を示すフローチャートである。なお、図
1においては、図11に示したと同一であるものには同
一引用数字を用いたので、以下においては重複する説明
を省略する。
Embodiments of the present invention will be described below with reference to the drawings. [Embodiment 1] FIG. 1 is a block diagram showing an embodiment of a network relay device according to the present invention. 2 is shown in FIG.
3 is a flowchart showing the operation of the embodiment of FIG. Note that, in FIG. 1, the same reference numerals are used for the same components as those shown in FIG. 11, and thus duplicated description will be omitted below.

【0023】図1に示すように、MACブリッジ100
は、ネットワーク902に接続される入出力ポート
(1)101、ネットワーク903に接続される入出力
ポート(2)102、入出力ポート(1)101に接続
されるLAN接続回路(1)103、入出力ポート
(2)102に接続されるLAN接続回路(2)10
4、LAN接続回路103,104に接続されるバス1
05、このバス105に各々接続されるフレーム格納メ
モリ106、プロセッサ107、フィルタデータベース
108、一時保存メモリ109から構成されている。
As shown in FIG. 1, a MAC bridge 100
Is an input / output port (1) 101 connected to the network 902, an input / output port (2) 102 connected to the network 903, a LAN connection circuit (1) 103 connected to the input / output port (1) 101, LAN connection circuit (2) 10 connected to the output port (2) 102
4. Bus 1 connected to LAN connection circuits 103 and 104
05, a frame storage memory 106, a processor 107, a filter database 108, and a temporary storage memory 109 each connected to the bus 105.

【0024】図11の構成と比較して明らかなように、
本実施例は、一時保存メモリ109を設けたところに特
徴がある。この構成において、ネットワーク902に接
続されている入出力ポート101でフレームを受信した
場合について説明すると、入出力ポート101で入力し
たフレームの信号は、LAN接続回路103においてプ
ロセッサ107が処理できるようなデータ形式に変換さ
れ、フレーム格納メモリ106に格納される。
As is clear from the comparison with the configuration of FIG.
This embodiment is characterized in that a temporary storage memory 109 is provided. In this configuration, a case where a frame is received by the input / output port 101 connected to the network 902 will be described. A frame signal input by the input / output port 101 is a data that can be processed by the processor 107 in the LAN connection circuit 103. It is converted into a format and stored in the frame storage memory 106.

【0025】一時保存メモリ109は、図3に示すよう
に、リストブロック301,302,303、及び登録
ブロック304,305,306の2種類のデータから
構成されており、通信制御情報は登録ブロック304,
305,306内に記録される。登録ブロック304,
305,306のメモリの番地は、リストブロック30
1に示されている。なお、図3に示す点線は、出発点が
矢印の示す先のメモリの番地を指している。
As shown in FIG. 3, the temporary storage memory 109 is composed of two types of data, list blocks 301, 302, 303 and registration blocks 304, 305, 306, and communication control information is registered in the registration block 304. ,
It is recorded in 305 and 306. Registration block 304,
The addresses of the memories 305 and 306 are the list block 30.
1 is shown. The dotted line shown in FIG. 3 indicates the address of the memory at the starting point indicated by the arrow.

【0026】図4はリストブロックのデータ構造を示
し、リストブロック401は、次のリストブロックが存
在するメモリの番地402、32ビットの鍵403、登
録ブロックが存在するメモリの番地404から構成され
る一続きのデータである。図5は登録ブロックのデータ
構造を示している。登録ブロック501は、受信したフ
レームの通信制御情報部502、判定結果503から成
る一続きのデータである。例えば、判定結果503の値
が「1」の場合には中継処理を指示し、「2」の場合に
は廃棄処理を指示する。
FIG. 4 shows the data structure of the list block. The list block 401 is composed of a memory address 402 where the next list block exists, a 32-bit key 403, and a memory address 404 where the registration block exists. It is a series of data. FIG. 5 shows the data structure of the registration block. The registration block 501 is a series of data including the communication control information section 502 of the received frame and the determination result 503. For example, when the value of the determination result 503 is "1", the relay process is instructed, and when the value is "2", the discard process is instructed.

【0027】リストブロック401は、次のリストブロ
ックが存在するメモリ番地402を記録することによ
り、実際にはメモリの任意の場所に存在しても、一続き
の配列を作ることができる。リストブロック401の配
列の最後のものは、最後であることを明示するため、次
のものが存在するメモリ番地402に「0」を格納す
る。また、配列の先頭となるリストブロックが存在する
メモリ番地は、常にメモリの特定の番地に記録される。
The list block 401 can form a continuous array by recording the memory address 402 where the next list block exists, even if the list block 401 actually exists in any place in the memory. The last one in the array of the list block 401 stores "0" in the memory address 402 where the next one exists in order to clearly show that it is the last one. The memory address where the list block at the beginning of the array exists is always recorded at a specific address in the memory.

【0028】本発明のネットワーク中継装置において
は、フレーム格納メモリ106に記録されたフレームと
フィルタデータベース108内のデータとを比較する前
に、一時保存メモリ109内に登録されている通信制御
情報を以下に述べる手順によって検索する。まず、フレ
ームを受信すると(ステップ201)、リストブロック
が存在するか否かが判定される(ステップ202)。リ
ストブロックが存在している場合、先頭のリストブロッ
クを参照し(ステップ203)、フレームの通信制御情
報の最初の32ビットと先頭のリストブロック301に
含まれる鍵とを比較する(ステップ204)。
In the network relay device of the present invention, before comparing the frame recorded in the frame storage memory 106 with the data in the filter database 108, the communication control information registered in the temporary storage memory 109 is Search according to the procedure described in. First, when a frame is received (step 201), it is determined whether or not a list block exists (step 202). If the list block exists, the first list block is referred to (step 203), and the first 32 bits of the communication control information of the frame is compared with the key included in the first list block 301 (step 204).

【0029】ここで、比較の不一致が判定された場合、
次のリストブロックが存在するか否かを判定し(ステッ
プ205)、存在すれば、次のリストブロックを参照し
(ステップ206)、処理をステップ204へ移行させ
る。また、ステップ204で一致が判定された場合、登
録ブロック304が存在するメモリ番地を参照し(ステ
ップ207)、登録ブロック304に含まれる通信制御
情報部502を比較する(ステップ208)。
If it is determined that the comparisons do not match,
It is determined whether or not the next list block exists (step 205), and if it exists, the next list block is referred to (step 206), and the process proceeds to step 204. In addition, if a match is determined in step 204, the memory address in which the registration block 304 exists is referenced (step 207) and the communication control information section 502 included in the registration block 304 is compared (step 208).

【0030】また、ステップ208で通信制御情報部の
一致が判定された場合、リストブロックを配列の先頭に
変更し(ステップ209)、登録ブロックに記録されて
いる判定結果503を参照する(ステップ210)。つ
いで、判定結果503が廃棄を示していれば(ステップ
211)、フレーム格納メモリ106から該当するフレ
ームの記録を削除する(ステップ212)。一方、判定
結果503が中継を示している場合、フレームをLAN
接続回路104へ送出する中継処理を実行する(ステッ
プ213)。
If it is determined in step 208 that the communication control information portions match, the list block is changed to the beginning of the array (step 209) and the determination result 503 recorded in the registration block is referred to (step 210). ). Then, if the determination result 503 indicates discarding (step 211), the record of the corresponding frame is deleted from the frame storage memory 106 (step 212). On the other hand, when the determination result 503 indicates relay, the frame is LAN
The relay process for sending to the connection circuit 104 is executed (step 213).

【0031】一方、LAN接続回路104は、フレーム
を信号に変換し、入出力ポート102を通じてネットワ
ーク903へ送信する。プロセッサ107は登録されて
いる通信制御情報を検索し、フレームが登録されていな
いと判断した場合、一時保存メモリ109内にリストブ
ロックと登録ブロックを作成し(ステップ214,21
5)、フィルタデータベース内の値と受信フレームの通
信制御情報部の値とを比較する(ステップ216)。こ
れにより得られた結果は、作成した登録ブロック501
の判定結果503に記録される(ステップ217)。な
お、一時保存メモリ109の容量が満杯になると、配列
の最後のリストブロックにアドレスで示されている登録
ブロックを利用する。
On the other hand, the LAN connection circuit 104 converts the frame into a signal and transmits it to the network 903 through the input / output port 102. When the processor 107 searches the registered communication control information and determines that the frame is not registered, it creates a list block and a registration block in the temporary storage memory 109 (steps 214 and 21).
5) Compare the value in the filter database with the value in the communication control information part of the received frame (step 216). The result obtained by this is the created registration block 501.
Is recorded in the determination result 503 (step 217). When the capacity of the temporary storage memory 109 becomes full, the registration block indicated by the address is used as the last list block in the array.

【0032】以上より明らかなように、上記した実施例
によれば、同じ通信制御情報部を持つフレームを短時間
に続けて受信した場合、フィルタデータベース内の全て
のデータと受信フレームの通信制御情報の比較処理が省
けるため、中継に要する処理時間を短縮することができ
る。 〔実施例2〕図6は本発明の他の実施例を示すネットワ
ーク中継装置である。
As is clear from the above, according to the above-mentioned embodiment, when the frames having the same communication control information section are continuously received in a short time, all the data in the filter database and the communication control information of the received frame are received. Since the comparison processing of 1 can be omitted, the processing time required for relay can be shortened. [Embodiment 2] FIG. 6 shows a network relay device according to another embodiment of the present invention.

【0033】本実施例が上記実施例と異なるところは、
図1の一時保存メモリ109に代えて送信元アドレス記
録メモリ110を設けると共に、フィルタデータベース
108に代えて同報フレームの発生頻度を測定するため
の外部タイマ111を設けた構成にある。この構成にあ
っては、入出力ポート101で入力したフレームの信号
がLAN接続回路103によってプロセッサ107で処
理可能なデータ形式に変換され、フレーム格納メモリ1
06に格納される。
The difference between this embodiment and the above embodiment is that
The temporary storage memory 109 of FIG. 1 is replaced with a source address recording memory 110, and the filter database 108 is replaced with an external timer 111 for measuring the frequency of occurrence of broadcast frames. In this configuration, the frame signal input from the input / output port 101 is converted by the LAN connection circuit 103 into a data format that can be processed by the processor 107, and the frame storage memory 1
It is stored in 06.

【0034】図7は送信元アドレス記録メモリ110の
構成を示し、送信元アドレス701と、受信回数702
とを一組として記録することができる。また、図8はI
EEE802.3で規定されるフレーム構成を示す構成
図である。IEEE802.3フレームは、宛て先アド
レス(DA)801、送信元アドレス(SA)802、
フレーム長(LEN:Length field)803、ユーザデ
ータ(DATA)804、フレーム検査シーケンス(F
CS:Frame Check Sequence) 805の各々から構成さ
れている。
FIG. 7 shows the structure of the transmission source address recording memory 110, which has a transmission source address 701 and a reception count 702.
And can be recorded as a set. Also, in FIG.
It is a block diagram which shows the frame structure prescribed | regulated by EEE802.3. The IEEE802.3 frame has a destination address (DA) 801, a source address (SA) 802,
Frame length (LEN: Length field) 803, user data (DATA) 804, frame check sequence (F
CS: Frame Check Sequence) 805.

【0035】プロセッサ107はフレーム格納メモリ1
06に格納された受信フレームの宛て先アドレス801
を参照する。この宛て先アドレス801が同報アドレス
である場合、受信フレームの送信元アドレス802が送
信元アドレス記録メモリ110に記録されているか否か
を確認し、記録されている場合には、そのアドレスと一
組となる回数を“1”だけ増加させる。一方、記録され
ていない場合、新たにアドレスを登録し、そのアドレス
と一組になる回数を“1”にする。また、受信フレーム
の宛て先アドレスが同報アドレスでない場合、通常の方
法により中継する。
The processor 107 is the frame storage memory 1
Destination address 801 of the received frame stored in 06
Refer to. If the destination address 801 is a broadcast address, it is confirmed whether or not the source address 802 of the received frame is recorded in the source address recording memory 110. The number of times of forming a group is increased by "1". On the other hand, if the address is not recorded, a new address is registered and the number of times of pairing with the address is set to "1". If the destination address of the received frame is not a broadcast address, it is relayed by a normal method.

【0036】外部タイマ111は、例えば、5秒に1回
の割合でプロセッサ107に割込信号を与えている。プ
ロセッサ107は外部タイマ111から割込信号が与え
られると、送信元アドレス記録メモリ110内の受信回
数702の値を全て“0”にする。仮に、受信回数が或
るしきい値(例えば、500)を越えた場合、同報フレ
ームが頻繁に発生しているものと判断し、その後、同じ
送信元アドレスからの同報フレームを廃棄する。
The external timer 111 gives an interrupt signal to the processor 107, for example, once every 5 seconds. When the external timer 111 gives an interrupt signal, the processor 107 sets all the values of the number of receptions 702 in the source address recording memory 110 to “0”. If the number of receptions exceeds a certain threshold value (for example, 500), it is determined that broadcast frames frequently occur, and then the broadcast frames from the same source address are discarded.

【0037】[0037]

【発明の効果】以上説明した通り、本発明は、受信した
通信データの通信制御情報及び通信データに対する制限
を一時的に保存する記憶手段と、この記憶手段によって
保存した通信制御情報を含む通信データを受信したと
き、保存してある制限条件に従って処理を実行する処理
手段とを設けるようにしたので、ネットワーク中継装置
のフィルタ処理が高速に行われ、同じ通信制御情報部を
持つフレームを短時間に続けて受信した場合でも、フィ
ルタデータベース内の全てのデータと受信フレームの通
信制御情報の比較処理が省け、中継に要する処理時間を
短縮することができる。
As described above, according to the present invention, the storage means for temporarily storing the communication control information of the received communication data and the restriction on the communication data, and the communication data including the communication control information stored by this storage means. When a message is received, processing means for executing processing according to the stored restriction condition is provided, so that the filtering process of the network relay device is performed at high speed, and a frame having the same communication control information section can be processed in a short time. Even in the case of continuous reception, the comparison processing of all the data in the filter database and the communication control information of the received frame can be omitted, and the processing time required for relay can be shortened.

【0038】また、本発明は、ネットワークに接続され
る全ての機器を宛て先とする通信データを受信したとき
に前記通信データの送信元アドレス及び受信回数を記憶
する記憶手段と、同一送信元からの受信回数が予め設定
した回数を越えたことをもって送信元に異常が発生して
いるものと見なして通信データの中継を制限する制御手
段とを設けるようにしたので、頻繁な同報フレームの発
生に起因して生じるネットワーク性能の低下やネットワ
ーク機器の過負荷による障害を防止することができる。
また、頻繁に発生する同報フレームによる影響を低減す
ることが可能になる。
Further, according to the present invention, when the communication data addressed to all the devices connected to the network are received, a storage means for storing the transmission source address and the number of times of reception of the communication data, and the same transmission source are used. Since it is considered that an error has occurred in the transmission source when the number of times of reception of the data exceeds a preset number, and a control means for limiting the relay of communication data is provided, frequent broadcast frames are generated. It is possible to prevent a decrease in network performance caused by the above and a failure due to an overload of the network device.
In addition, it is possible to reduce the influence of the broadcast frame that frequently occurs.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明によるネットワーク中継装置の一実施例
を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a network relay device according to the present invention.

【図2】図1の実施例の動作を示すフローチャートであ
る。
FIG. 2 is a flowchart showing the operation of the embodiment of FIG.

【図3】一時保存メモリの構成を示す構成図である。FIG. 3 is a configuration diagram showing a configuration of a temporary storage memory.

【図4】リストブロックのデータ構造を示す説明図であ
る。
FIG. 4 is an explanatory diagram showing a data structure of a list block.

【図5】登録ブロックのデータ構造を示す説明図であ
る。
FIG. 5 is an explanatory diagram showing a data structure of a registration block.

【図6】本発明の他の実施例を示すネットワーク中継装
置である。
FIG. 6 is a network relay device showing another embodiment of the present invention.

【図7】図6における送信元アドレス記録メモリの構成
を示す説明図である。
7 is an explanatory diagram showing a configuration of a source address recording memory in FIG.

【図8】IEEE802.3のフレーム構成を示す説明
図である。
FIG. 8 is an explanatory diagram showing a frame structure of IEEE802.3.

【図9】MACブリッジを用いたネットワークシステム
の構成を示す接続図である。
FIG. 9 is a connection diagram showing a configuration of a network system using a MAC bridge.

【図10】イーサネットにおけるフレームの構成例を示
している。
FIG. 10 shows a configuration example of a frame in Ethernet.

【図11】従来のネットワーク中継装置におけるMAC
ブリッジの構成を示すブロック図である。
FIG. 11 is a MAC in a conventional network relay device.
It is a block diagram which shows the structure of a bridge.

【図12】MACブリッジのメモリ内に構成されている
フィルタデータベースである。
FIG. 12 is a filter database configured in the memory of the MAC bridge.

【図13】MACアドレスの情報例を示す説明図であ
る。
FIG. 13 is an explanatory diagram illustrating an example of MAC address information.

【符号の説明】[Explanation of symbols]

100 MACブリッジ 101,102 入出力ポート 103,104 LAN接続回路 106 フレーム格納メモリ 107 プロセッサ 108 フィルタデータベース 109 一時保存メモリ 110 送信元アドレス記録メモリ 111 外部タイマ 902,903 ネットワーク 100 MAC Bridge 101, 102 Input / Output Ports 103, 104 LAN Connection Circuit 106 Frame Storage Memory 107 Processor 108 Filter Database 109 Temporary Storage Memory 110 Source Address Recording Memory 111 External Timer 902, 903 Network

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数の入出力ポートを備えると共にデー
タを1つの入出力ポートから他の入出力ポートへ中継す
る機能、ユーザが受信データの種類を指定するデータベ
ース、指定された受信データに対する中継を制限する機
能の各々を備えたネットワーク中継装置において、 受信した通信データの通信制御情報及び通信データに対
する制限を一時的に保存する記憶手段と、該記憶手段に
よって保存した通信制御情報を含む通信データを受信し
たとき、保存してある制限条件に従って処理を実行する
処理手段とを具備することを特徴とするネットワーク中
継装置。
1. A function of providing a plurality of input / output ports and relaying data from one input / output port to another input / output port, a database in which a user designates a type of received data, and a relay for designated received data. In a network relay device equipped with each of the limiting functions, a storage unit for temporarily storing the communication control information of the received communication data and the restriction on the communication data, and communication data including the communication control information stored by the storage unit A network relay device comprising: a processing unit that, when received, executes a process according to a stored restriction condition.
【請求項2】 複数の入出力ポートを備えると共にデー
タを1つの入出力ポートから他の入出力ポートへ中継す
る機能、及び異常な受信データに対する中継を制限する
機能を備えたネットワーク中継装置において、 ネットワークに接続される全ての機器を宛て先とする通
信データを受信したときに前記通信データの送信元アド
レス及び受信回数を記憶する記憶手段と、同一送信元か
らの受信回数が予め設定した回数を越えたことをもって
送信元に異常が発生しているものと見なして通信データ
の中継を制限する制御手段とを具備することを特徴とす
るネットワーク中継装置。
2. A network relay device having a plurality of input / output ports and having a function of relaying data from one input / output port to another input / output port and a function of limiting relay of abnormal received data, When receiving communication data addressed to all devices connected to the network, a storage unit that stores the source address and the number of times of reception of the communication data, and the number of times of reception from the same source is a preset number of times. A network relay device comprising: a control unit that restricts relay of communication data by considering that a transmission source has an abnormality when exceeding the limit.
JP7025572A 1995-02-14 1995-02-14 Network relay device Pending JPH08223203A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7025572A JPH08223203A (en) 1995-02-14 1995-02-14 Network relay device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7025572A JPH08223203A (en) 1995-02-14 1995-02-14 Network relay device

Publications (1)

Publication Number Publication Date
JPH08223203A true JPH08223203A (en) 1996-08-30

Family

ID=12169651

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7025572A Pending JPH08223203A (en) 1995-02-14 1995-02-14 Network relay device

Country Status (1)

Country Link
JP (1) JPH08223203A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009105683A (en) * 2007-10-23 2009-05-14 Panasonic Electric Works Co Ltd Connected communication equipment
CN117376088A (en) * 2019-07-18 2024-01-09 华为技术有限公司 Network anomaly root cause locating method, device and system, computer storage media

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009105683A (en) * 2007-10-23 2009-05-14 Panasonic Electric Works Co Ltd Connected communication equipment
CN117376088A (en) * 2019-07-18 2024-01-09 华为技术有限公司 Network anomaly root cause locating method, device and system, computer storage media

Similar Documents

Publication Publication Date Title
CN105262683B (en) Network system and routing control method
US5216670A (en) Message stripping protocol for a communication network
US8582426B2 (en) Reception of redundant and non-redundant frames
US5638515A (en) Method for stripping dataframes from the communicating medium in an FDDI communications network
US20070140248A1 (en) Method for transmitting message in a resilient packet ring network
US8391287B2 (en) Packet relay method and device
US6741566B1 (en) Remote management ethernet network and device
EP1345356A2 (en) Topology discovery process and mechanism for a network of managed devices
US20070140273A1 (en) Packet relay system
CN113259958A (en) Data transmission method and device
JPH0624368B2 (en) Bridge method with learning function
CN117041393A (en) Redundant message processing method, device and redundant bridge network
JPH0832608A (en) Network relay device
JPH0697965A (en) Relay control system for router
JP3043603B2 (en) Cell ID acquisition method
KR100440717B1 (en) A Synchronizing Method between Control Message and User Packet
JP2985524B2 (en) Method for searching address recognition table of inter-LAN relay device
JP3438237B2 (en) Relay device
EP1686756B1 (en) Communication system, method and apparatus for providing mirroring service in the communication system
CN110708305B (en) Network isolation equipment and method
JPH08335948A (en) LAN and LAN relay device
JP2782906B2 (en) Local area network system
JPH09270814A (en) bridge
JP2638429B2 (en) Packet relay method
JP2000196644A (en) Switching hub