JPH03250936A - Repeater - Google Patents

Repeater

Info

Publication number
JPH03250936A
JPH03250936A JP2047808A JP4780890A JPH03250936A JP H03250936 A JPH03250936 A JP H03250936A JP 2047808 A JP2047808 A JP 2047808A JP 4780890 A JP4780890 A JP 4780890A JP H03250936 A JPH03250936 A JP H03250936A
Authority
JP
Japan
Prior art keywords
address
port number
rib
processing
relay device
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
JP2047808A
Other languages
Japanese (ja)
Inventor
Hideo Sato
秀雄 佐藤
Katsushi Shimamoto
嶋本 勝士
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2047808A priority Critical patent/JPH03250936A/en
Publication of JPH03250936A publication Critical patent/JPH03250936A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To realize this repeater having a sufficiently high performance data transfer capability by executing the discriminating as to whether or not a reception frame is addressed to its own equipment by the retrieval processing of a route information base(RIB). CONSTITUTION:An equipment address 'X' of a repeater 20 itself and a dummy port number '0' corresponding to its own equipment address are registered in an RIB 23 in addition to an address and a port number corresponding to terminal equipments 11-16. Thus, the discrimination as to whether or not a reception frame is addressed to its own equipment is executed by the retrieval processing of the RIB 23 the same as the selection processing to select a transmission destination port to send the reception data. Thus, it is not required to execute the discrimination processing other than the retrieval processing of the RIB 23, the time required for the transfer processing of the reception frame is shortened and the repeater with high data transfer capability is realized.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明はネットワーク間のデータ転送を制御する中継
装置に関する。
Detailed Description of the Invention [Object of the Invention] (Industrial Application Field) The present invention relates to a relay device that controls data transfer between networks.

(従来の技術) 一般に、中継装置は、端末装置のアドレスと端末装置が
接続されているポート番号とか各端末装置毎に登録され
ているRIB(ルートインフォメーションベース)を備
えており、そのRIBを利用してネットワーク間のデー
タ転送を制御している。このRIBを利用したデータ転
送制御においては、受信したデータフレームに対して次
のような4つの異なった処理が行なわれる。
(Prior art) Generally, a relay device is equipped with an RIB (Route Information Base) that is registered for each terminal device, such as the address of the terminal device and the port number to which the terminal device is connected, and uses the RIB. controls data transfer between networks. In data transfer control using this RIB, the following four different processes are performed on received data frames.

第1の処理は、端末装置から送信された中継置宛ての受
信フレームを中継装置が受信した時に実行される。この
場合、中継装置は、その受信フレームの転送処理は実行
せず、その受信フレームの内容に従った内部処理を実行
する。この内部処理は、例えば他の中継装置に自装置の
トラフィック量を通知するといった各種間い合わせに対
する応答処理を行うために実行されるものである。
The first process is executed when the relay device receives a reception frame addressed to the relay device and transmitted from the terminal device. In this case, the relay device does not perform transfer processing for the received frame, but performs internal processing according to the contents of the received frame. This internal processing is executed to respond to various arrangements, such as notifying other relay devices of the traffic volume of the device itself.

第2の処理は、受信フレームに含まれる送信先アドレス
がRIBに登録されておらず、送信先ポートが不明の時
に実行される。この場合、中継装置は、受信ポートを除
く、全てのポートそれぞれに受信フレームを転送する。
The second process is executed when the destination address included in the received frame is not registered in the RIB and the destination port is unknown. In this case, the relay device transfers the received frame to each of all ports except the receiving port.

第3の処理は、受信フレームに含まれる送信先アドレス
がRIBに登録されている場合に実行される。この場合
、中継装置は、RIBを参照してその送信先アドレスに
対応したポートを認識し、その認識したポートに受信フ
レームを転送する。
The third process is executed when the destination address included in the received frame is registered in the RIB. In this case, the relay device refers to the RIB, recognizes the port corresponding to the destination address, and transfers the received frame to the recognized port.

第4の処理は、受信フレームに含まれる送信先アドレス
がRIBに登録されており、しかもその送信先アドレス
に対応するポート番号が受信フレームのポート番号と同
一の場合に実行される。この場合、ネットワーク間にま
たがるデータ転送ではなく、1つのネットワーク内での
データ転送となるので、中継装置は受信フレームを廃棄
する。
The fourth process is executed when the destination address included in the received frame is registered in the RIB and the port number corresponding to the destination address is the same as the port number of the received frame. In this case, the relay device discards the received frame because the data is transferred within one network rather than across networks.

この様な4つの処理のうち、第2から第4の処理はどれ
%RIBに登録されている情報を検索処理することによ
って実行できるが、第1の処理を実行するためにはRI
Bの検索処理とは別に受信フレームが自装置宛てのもの
か否かを判別する特別な処理が必要になる。
Of these four processes, the second to fourth processes can be executed by searching the information registered in the RIB, but in order to execute the first process, the RI
In addition to the search process for B, special processing is required to determine whether the received frame is addressed to the device itself.

このため、従来の中継装置では、まず受信フレームが自
装置宛てのものか否かを判別する処理が実行され、その
受信フレームが自装置宛てのものでなかった場合に前述
したRIBの検索処理が行われていた。通常、中継装置
においては、受信フレームが自装置宛てのものである確
率は非常に低く、はとんどの受信フレームは他の端末装
置宛てのものである。しかしながら、前述したように従
来の中継装置では、他の端末装置宛ての受信フレームに
対してもそれが自装置宛てのものか否かを判別する処理
を必ず実行しなければならないので、その判別処理の分
だけ受信フレームの転送処理に要する時間が長くなる欠
点がある。これは、中継装置のデータ転送能力を低下さ
せる大きな原因となっている。
For this reason, in conventional relay devices, a process is first performed to determine whether or not a received frame is addressed to the device itself, and if the received frame is not addressed to the device itself, the above-mentioned RIB search process is performed. It was done. Normally, in a relay device, the probability that a received frame is addressed to the relay device itself is very low, and most of the received frames are addressed to other terminal devices. However, as mentioned above, in conventional relay devices, it is necessary to perform processing to determine whether or not a received frame addressed to another terminal device is addressed to the device itself. This has the disadvantage that the time required to transfer the received frame increases by the amount of time required. This is a major cause of reducing the data transfer ability of the relay device.

ψ?−が解決しようとする課8) 従来の中継装置では、RIBの検索処理とは別に受信フ
レームが自装置宛てのものか否かを判別する処理が必要
であるので、他の端末装置宛ての受信フレームに対して
もそれが自装置宛てのものか否かを判別する処理を必ず
実行しなければならなず、その判別処理の分だけ受信フ
レームの転送処理に要する時間が長くなる欠点があった
ψ? Problem 8) In conventional relay devices, in addition to RIB search processing, it is necessary to perform processing to determine whether or not a received frame is addressed to the device itself. Processing to determine whether or not a frame is addressed to the device itself must be performed, which has the drawback of increasing the time required to forward the received frame. .

この発明はこの様な点に鑑みてなされたもので、受信フ
レームが自装置宛てのものか否かの判別をRIBの検索
処理によって実行できるようにし、十分に高性能のデー
タ転送能力を有する中継装置を提供することを目的とす
る。
The present invention has been made in view of these points, and it enables a relay with sufficiently high-performance data transfer ability to determine whether or not a received frame is addressed to the device itself through RIB search processing. The purpose is to provide equipment.

[発明の構成コ (課題を解決するための手段) この発明による中継装置は、ネットワーク間のデータ転
送を制御するためのものであり、前記ネットワークの各
端末装置に対応する端末アドレスとその端末アドレスに
対応したボ・−ト番号、および前記中継装置に対応する
自装置アドレスおよび二の自装置アドレスに対応したダ
ミーポート番号が登録されているテーブル手段と、前記
テーブル手段を参照して受信データに含まれている送信
先アドレスに対応するポート番号を認識し、その認識し
たポート番号に応じて受信データを前記中継装置内部で
処理するか否かの判別処理および前記受信データを送信
すべき送信先ポートを選定する選定処理を実行する手段
とを具備し、前記認識したポート番号が前記ダミーポー
ト番号の時に受信データを前記中継装置内部で処理する
ことを特徴とする。
[Configuration of the Invention (Means for Solving the Problems) A relay device according to the present invention is for controlling data transfer between networks, and includes a terminal address corresponding to each terminal device of the network and its terminal address. table means in which are registered a boat number corresponding to the relay device, a self-device address corresponding to the relay device, and a dummy port number corresponding to the second self-device address; Recognizing the port number corresponding to the included destination address, and determining whether or not the received data should be processed within the relay device according to the recognized port number, and the destination to which the received data should be sent. and means for executing selection processing for selecting a port, and the received data is processed within the relay device when the recognized port number is the dummy port number.

(作用) この中継装置においては、端末装置に対応するアドレス
及びポート番号に加え、中継装置自体の自装置アドレス
およびその自装置アドレスに対応したダミーポート番号
がテーブル手段に登録されている。このため、受信デー
タを送信すべき送信先ポートを選定する選定処理と同じ
く、受信フレームが自装置宛てのものか否かの判別をテ
ーブル手段の検索処理によって実行できる。したがって
、テーブル手段の検索処理以外の処理は不要になるので
、受信フレームの転送処理に要する時間を短くでき、デ
ータ転送能力の高い中継装置を実現できる。
(Operation) In this relay device, in addition to the address and port number corresponding to the terminal device, the own device address of the relay device itself and the dummy port number corresponding to the own device address are registered in the table means. Therefore, in the same way as the selection process of selecting the destination port to which the received data should be transmitted, it is possible to determine whether the received frame is addressed to the device itself by searching the table means. Therefore, processing other than search processing of the table means is unnecessary, so the time required for transfer processing of received frames can be shortened, and a relay device with high data transfer capability can be realized.

(実施例) 以下、図面を参照してこの発明の詳細な説明する。(Example) Hereinafter, the present invention will be described in detail with reference to the drawings.

第1図にはこの発明の一実施例に係わる中継装置が示さ
れている。この中継装置20は、第1乃至第3のローカ
ルエリアネットワークL1〜L3間のデータ転送を制御
するものであり、11のローカルエリアネットワークL
1とデータの授受を行う送受信処理部P1、第2のロー
カルエリアネットワークL2とデータの授受を行う送受
信処理部P2、および第3のローカルエリアネットワー
クL3とデータの授受を行う送受信処理部P3を備えて
いる。これら送受信処理部P1〜P3は、中継装置20
の第1乃至第3のポートとしてそれぞれ機能する。
FIG. 1 shows a relay device according to an embodiment of the present invention. This relay device 20 controls data transfer between the first to third local area networks L1 to L3, and controls the data transfer between the first to third local area networks L1 to L3.
1, a transmission and reception processing section P2 that exchanges data with the second local area network L2, and a transmission and reception processing section P3 that exchanges data with the third local area network L3. ing. These transmission/reception processing units P1 to P3 are connected to the relay device 20.
The ports function as the first to third ports of the respective ports.

第1のローカルエリアネットワークL1には、アドレス
“A′が割り当てられている端末装置11およびアドレ
ス′B”が割り当てられている端末装置12が設けられ
ている。また、第2のローカルエリアネットワークL2
には、アドレス“C”が割り当てられている端末装置1
3およびアト1/ス“Doが割り当てられている端末装
置14が設けられ、第3のローカルエリアネットワーク
L3には、アドレス“E”が割り当てられている端末装
置15およびアドレス“F″が割り当てられている端末
装置16が設けられている。
The first local area network L1 is provided with a terminal device 11 to which an address "A" is assigned and a terminal device 12 to which an address "B" is assigned. In addition, a second local area network L2
is the terminal device 1 to which address “C” is assigned.
The third local area network L3 is provided with a terminal device 14 to which an address "E" is assigned and a terminal device 14 to which an address "F" is assigned. A terminal device 16 is provided.

中継装置20は、さらに、中継処理部21、学習処理部
22、およびRIB23を備えている。中継処理部21
は、RIB23に登録されているアト1ノス情報及びそ
のアドレス情報に対応するポート番号情報に基づいて、
受信フレームの各種中継処理を実行する。この中継処理
には、前述したように、受信フレームの内部処理、特定
のポートへの受信フレームの転送処理、受信ポート以外
の全てのポートへの受信フレームの転送処理、受信フレ
ームの廃棄処理等が含まれる。学習処理部22は、RI
B23に対するアドレス情報及びポート番号情報の登録
処理、及びそれら情報の更新処理を実行する。
The relay device 20 further includes a relay processing section 21, a learning processing section 22, and an RIB 23. Relay processing unit 21
is based on the At1nos information registered in the RIB23 and the port number information corresponding to the address information,
Executes various relay processes for received frames. As mentioned above, this relay processing includes internal processing of received frames, forwarding of received frames to a specific port, forwarding of received frames to all ports other than the receiving port, discarding of received frames, etc. included. The learning processing unit 22
The process of registering address information and port number information for the B23 and the process of updating these information are executed.

RIB23には、学習処理部22によって、端末装置1
1〜16にそれぞれ対応する端末アドレスとその端末ア
ドレスに対応したポート番号が登録される。
The RIB 23 has the terminal device 1
Terminal addresses corresponding to numbers 1 to 16 and port numbers corresponding to the terminal addresses are registered.

この第1図の例においては、アドレス″A″の端末装置
11およびアドレス“B”の端末装置12が中継装置2
0の第1ポートに接続されているので、アドレス“A”
及び“B”に対応するポート番号として“1”が登録さ
れる。また、アドレス“C”の端末装置13およびアド
レス“Doの端末装置14が中継装置20の第2ポート
に接続されているので、アドレス“C”及び“D”に対
応するポート番号として“2°が登録され、同様にして
、アドレス“E”及び“F”に対応するポート番号とし
ては“3”が登録されている。
In the example of FIG. 1, the terminal device 11 with the address "A" and the terminal device 12 with the address "B" are connected to the relay device 2.
Since it is connected to the first port of 0, the address “A”
and “1” is registered as the port number corresponding to “B”. Furthermore, since the terminal device 13 with the address “C” and the terminal device 14 with the address “Do” are connected to the second port of the relay device 20, the port numbers corresponding to the addresses “C” and “D” are “2°”. is registered, and similarly, "3" is registered as the port number corresponding to addresses "E" and "F".

RIB23には、さらに、中継装置20に割り当てられ
た自装置アドレス“X”とこの自装置アドレス“X”に
対応したダミーポート番号“0”が登録されている。こ
のダミーポート番号“O“は、受信フレームの転送先ポ
ートを示すものではなく、中継装置20自体でその受信
フレームを内部処理することを示すものである。
The RIB 23 further registers a self-device address “X” assigned to the relay device 20 and a dummy port number “0” corresponding to this self-device address “X”. This dummy port number "O" does not indicate the transfer destination port of the received frame, but indicates that the received frame is internally processed by the relay device 20 itself.

次に、第2図のフローチャートを参照して、中継装置2
0による受信フレームの処理手順を説明する。
Next, referring to the flowchart in FIG. 2, the relay device 2
The processing procedure for received frames by 0 will be explained.

まず、中継装置20によってフレームが受信され(ステ
ップA1)、その受信フレームの送信元アドレス及び受
信ポート番号が学習処理部22によってRIB23に登
録される(ステップA2)。例えば、アドレス“A”の
端末装置11から送信されたフレームを中継装置20が
受信した場合には、送信元アドレスとして“A”、受信
ポート番号として“1”が登録される。この様なアドレ
スおよび受信ポート番号の登録処理は、RIB23にそ
のアドレスがすでに登録されている場合には実行されな
い。
First, a frame is received by the relay device 20 (step A1), and the source address and reception port number of the received frame are registered in the RIB 23 by the learning processing unit 22 (step A2). For example, when the relay device 20 receives a frame transmitted from the terminal device 11 with address "A", "A" is registered as the source address and "1" is registered as the receiving port number. Such address and reception port number registration processing is not executed if the address is already registered in the RIB 23.

次に、中継処理部21によるRIB23の検索処理によ
って、受信フレームに含まれる送信先アドレスがRIB
28に登録されいるか否かが判断される(ステップA3
)。その送信先アドレスがRIB23に登録されてない
場合には、送信先の端末装置がどのポートに接続されて
いるか不明であるので、受信ポート以外の全てのポート
に対して受信フレームが転送される(ステップA4)。
Next, through the RIB 23 search process performed by the relay processing unit 21, the destination address included in the received frame is found in the RIB 23.
28 is registered (step A3).
). If the destination address is not registered in the RIB 23, it is unknown which port the destination terminal device is connected to, so the received frame is forwarded to all ports other than the receiving port ( Step A4).

一方、送信先アドレスがRIB23に登録されている場
合には、その送信先アドレスに対応するポート番号すな
わち送信先ポートが、受信ポートと同一であるか否かが
判断される(ステップA5)。同一の場合には、同一ネ
ットワーク内でのデータ転送であるので、中継装置20
はその受信フレームを廃棄する(ステップAS)。
On the other hand, if the destination address is registered in the RIB 23, it is determined whether the port number corresponding to the destination address, that is, the destination port, is the same as the receiving port (step A5). If they are the same, the data transfer is within the same network, so the relay device 20
discards the received frame (step AS).

また、送信先ポートが受信ポートと異なる場合には、そ
の送信先ポートがダミーポート番号“0”に一致するも
のであるか否かが判断され(ステップA7)、一致する
場合にはその受信フレームは中継装置20内部で処理さ
れる(ステップA8)。
Furthermore, if the destination port is different from the reception port, it is determined whether the destination port matches the dummy port number "0" (step A7), and if they match, the reception frame is processed within the relay device 20 (step A8).

一方、送信先ポートがダミーポート番号“0°でない場
合には、その送信先ポートに受信フレームが転送される
(ステップA9)。
On the other hand, if the destination port is not the dummy port number "0°," the received frame is transferred to the destination port (step A9).

このように、この実施例においては、端末装置11〜1
6に対応するアドレス及びポート番号に加え、中継装置
20自体の自装置アドレス“X”およびその自装置アド
レスに対応したダミーポート番号“0”がRIB21に
登録されている。このため、受信データを送信すべき送
信先ポートを選定する選定処理と同じく、受信フレーム
が自装置宛てのものか否かの判別をRIB23の検索処
理によって実行できる。したがって、RIB23の検索
処理以外に判別処理を実行する必要がないので、受信フ
レームの転送処理に要する時間を短くでき、データ転送
能力の高い中継装置を実現できる。
In this way, in this embodiment, the terminal devices 11 to 1
In addition to the address and port number corresponding to No. 6, a self-device address “X” of the relay device 20 itself and a dummy port number “0” corresponding to the self-device address are registered in the RIB 21. Therefore, similar to the selection process of selecting the destination port to which the received data should be transmitted, it is possible to determine whether the received frame is addressed to the device itself by the search process of the RIB 23. Therefore, since there is no need to perform any determination process other than the RIB 23 search process, the time required for the received frame transfer process can be shortened, and a relay device with high data transfer capability can be realized.

[発明の効果] 以上のように、この発明によれば、受信フレームが自装
置宛てのものか否かの判別をRIBの検索処理によって
実行することができ、これによって十分に高性能のデー
タ転送能力を有する中継装置を実現できる。
[Effects of the Invention] As described above, according to the present invention, it is possible to determine whether or not a received frame is addressed to the device itself by searching the RIB, thereby achieving sufficiently high-performance data transfer. A relay device with this capability can be realized.

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

第1図はこの発明の一実施例に係わる中継装置の構成を
示すブロック図、第2図は第1図に示した中継装置の動
作を説明するフローチャートである。 20・・・中継装置、21・・・中継処理部、22・・
・学習処理部、23・・・RIBSPi〜P3・・・送
受信処理部。
FIG. 1 is a block diagram showing the configuration of a relay device according to an embodiment of the present invention, and FIG. 2 is a flowchart explaining the operation of the relay device shown in FIG. 1. 20... Relay device, 21... Relay processing unit, 22...
- Learning processing section, 23...RIBSPi~P3... Transmission/reception processing section.

Claims (1)

【特許請求の範囲】[Claims] ネットワーク間のデータ転送を制御する中継装置におい
て、前記ネットワークの各端末装置に対応する端末アド
レスとその端末アドレスに対応したポート番号、および
前記中継装置に対応する自装置アドレスおよびこの自装
置アドレスに対応したダミーポート番号が登録されてい
るテーブル手段と、前記テーブル手段を参照して受信デ
ータに含まれている送信先アドレスに対応するポート番
号を認識し、その認識したポート番号に応じて受信デー
タを前記中継装置内部で処理するか否かの判別処理およ
び前記受信データを送信すべき送信先ポートを選定する
選定処理を実行する手段とを具備し、前記認識したポー
ト番号が前記ダミーポート番号の時に受信データを前記
中継装置内部で処理することを特徴とする中継装置。
In a relay device that controls data transfer between networks, a terminal address corresponding to each terminal device in the network, a port number corresponding to that terminal address, a self-device address corresponding to the relay device, and a correspondence to this self-device address A table means in which a dummy port number is registered, and a port number corresponding to a destination address included in the received data are recognized by referring to the table means, and the received data is processed according to the recognized port number. means for executing processing for determining whether processing is to be performed within the relay device and selection processing for selecting a destination port to which the received data should be transmitted, when the recognized port number is the dummy port number; A relay device characterized in that received data is processed within the relay device.
JP2047808A 1990-02-28 1990-02-28 Repeater Pending JPH03250936A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2047808A JPH03250936A (en) 1990-02-28 1990-02-28 Repeater

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2047808A JPH03250936A (en) 1990-02-28 1990-02-28 Repeater

Publications (1)

Publication Number Publication Date
JPH03250936A true JPH03250936A (en) 1991-11-08

Family

ID=12785665

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2047808A Pending JPH03250936A (en) 1990-02-28 1990-02-28 Repeater

Country Status (1)

Country Link
JP (1) JPH03250936A (en)

Similar Documents

Publication Publication Date Title
US6842453B1 (en) Method and apparatus for implementing forwarding decision shortcuts at a network switch
US7606148B2 (en) Packet forwarding apparatus
US6807172B1 (en) Method and apparatus for learning and switching frames in a distributed network switch
US6490276B1 (en) Stackable switch port collapse mechanism
JPH05219064A (en) Method of transferring frame and bridge device
JP3545858B2 (en) Network connection device and information search device
JP2000151709A (en) Routing address retrieving system
JPH04273735A (en) Local area network bridge device
JPH03250936A (en) Repeater
JP3315033B2 (en) Network frame repeater
JP2004072160A (en) Switching method and apparatus, and computer program
CN115914425A (en) Network bridge transparent proxy method, device, storage medium and equipment
JPH07143156A (en) Memory and its application device
JP2531126Y2 (en) MAC Bridge
JPH0522295A (en) Bridge device
JPH09233110A (en) Multi-port bridge with virtual lan function
CN116192743A (en) Message forwarding method, device, communication equipment and storage medium
JPH0697937A (en) Data transfer system for network system
EP1212868B1 (en) Intelligent data network router
JPH03268634A (en) Address filter for mac bridge
JPH0522294A (en) Mac bridge control system
KR20020048498A (en) Packet Connection Method for High speed Router of from Input port to Output port
JPH02272841A (en) Address information storage system
KR20030027352A (en) Appratus and method for networking of dual switching hub
JPH05153125A (en) Bridge device