JP3315033B2 - Network frame repeater - Google Patents

Network frame repeater

Info

Publication number
JP3315033B2
JP3315033B2 JP00004296A JP4296A JP3315033B2 JP 3315033 B2 JP3315033 B2 JP 3315033B2 JP 00004296 A JP00004296 A JP 00004296A JP 4296 A JP4296 A JP 4296A JP 3315033 B2 JP3315033 B2 JP 3315033B2
Authority
JP
Japan
Prior art keywords
port
address
network frame
terminal
source
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
JP00004296A
Other languages
Japanese (ja)
Other versions
JPH09186715A (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.)
Kawasaki Microelectronics Inc
Original Assignee
Kawasaki Microelectronics Inc
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 Kawasaki Microelectronics Inc filed Critical Kawasaki Microelectronics Inc
Priority to JP00004296A priority Critical patent/JP3315033B2/en
Publication of JPH09186715A publication Critical patent/JPH09186715A/en
Application granted granted Critical
Publication of JP3315033B2 publication Critical patent/JP3315033B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ネットワークシス
テム中に備えられてネットワークフレームの送信を中継
するネットワークフレーム中継器に関する。
The present invention relates to a network frame repeater provided in a network system for relaying transmission of a network frame.

【0002】[0002]

【従来の技術】従来より、ネットワークシステム中に、
そのネットワーク内で送受信される、情報の塊としての
ネットワークフレームの送信を中継する、例えば“ハ
ブ”等と呼ばれるネットワークフレーム中継器が存在す
る。図4は、従来のネットワークフレーム中継器の一構
成例を示す回路ブロック図である。
2. Description of the Related Art Conventionally, in a network system,
For example, there is a network frame repeater called a “hub” or the like that relays transmission of a network frame as a chunk of information transmitted and received in the network. FIG. 4 is a circuit block diagram showing a configuration example of a conventional network frame repeater.

【0003】ここに示すネットワークフレーム中継器1
0には、バス11に接続されたn個のポートコントロー
ラ12_1,…,12_nが備えられており、また各ポ
ートコントローラ12_1,…,12_nに対応する各
ポート13_1,…,13_nには、LAN14_1,
…,14_nを介して、複数の端末A,B,…,C;
…;E,F,…,Gが接続されている。
The network frame repeater 1 shown here
0 includes n port controllers 12_1,..., 12_n connected to the bus 11. Each port 13_1,..., 13_n corresponding to each of the port controllers 12_1,.
, 14_n, a plurality of terminals A, B, ..., C;
...; E, F, ..., G are connected.

【0004】また、バス11には、各端末のアドレスと
ポート番号との対応を表わす検索テーブル15aを記憶
しておき、その検索テーブル15aを検索して端末のア
ドレスをポート番号に情報変換する連想メモリ(内容ア
ドレス式メモリ;CAM)15、このネットワークフレ
ーム中継器10の全体の制御を司るシーケンサ16、お
よび、送信されてきたネットワークフレームを一時的に
蓄えるパケットメモリ17が備えられている。
The bus 11 stores a search table 15a indicating the correspondence between the address of each terminal and the port number, and searches the search table 15a to convert the address of the terminal into a port number. A memory (content addressable memory; CAM) 15, a sequencer 16 for controlling the entire network frame repeater 10, and a packet memory 17 for temporarily storing transmitted network frames are provided.

【0005】尚、ネットワークフレーム中継器には、通
常、さらに種々のデバイス等が備えられているが、ここ
での説明には直接は関係しないため、それらについての
図示および説明は省略する。ここでは、LAN14_1
に接続された端末Bから、LAN14_nに接続された
端末Eに向けて、ネットワークフレームの形式を有す
る、ある情報を送信するものとする。
Although the network frame repeater is usually provided with various devices and the like, it is not directly related to the description here, so that illustration and description thereof will be omitted. Here, LAN14_1
Is transmitted from the terminal B connected to the terminal 14 to the terminal E connected to the LAN 14 — n in the form of a network frame.

【0006】このとき、ネットワークフレームには、そ
のヘッダ部分に、情報の受信先、すなわち端末Eを示す
デスティネーションアドレス、および情報の送信元、す
なわち端末Bを示すソースアドレスが記録されている。
端末Bからポート13_1を経由して送信されてきたネ
ットワークフレームは、ポートコントローラ12 1を
経由し、バス11を経由して、一旦パケットメモリ17
に蓄積される。その後、シーケンサ16は、パケットメ
モリ17に蓄積されたネットワークフレームの中のヘッ
ダの部分からデータ転送先(ここでの例では端末E)を
あらわすデスティネーションアドレスを抽出してCAM
15に送る。CAM15には、このネットワークシステ
ムを構成する各端末A,B,…,C;…;E,F,…,
Gと、それら各端末A,B,…,C;…;E,F,…,
Gがどのポート13_1,…,13_nを経由した先に
接続されているかを示すポート番号との対応表15aが
記憶されており、CAM15は、デスティネーションア
ドレスを入力して、そのデスティネーションアドレスが
示す端末の接続先を示すポート番号を出力する。
At this time, in the header of the network frame, a destination address of the information, that is, a destination address indicating the terminal E, and a source of the information, that is, a source address indicating the terminal B are recorded.
The network frame transmitted from the terminal B via the port 13_1 is transmitted to the port controller 12 1 via the bus 11 and the packet memory 17 once.
Is accumulated in Thereafter, the sequencer 16 extracts the destination address representing the data transfer destination (the terminal E in this example) from the header portion in the network frame stored in the packet memory 17 and performs CAM.
Send to 15. Each of the terminals A, B,..., C;... E, F,.
G and their terminals A, B, ..., C; ...; E, F, ...,
A correspondence table 15a with port numbers indicating which ports 13_1,..., 13_n are connected to which ports G is stored. The CAM 15 inputs a destination address, and the destination address indicates the destination address. Outputs the port number indicating the connection destination of the terminal.

【0007】このポート番号により、シーケンサ16
は、今回のネットワークフレームはポート13_nから
送信すべきネットワークフレームであることを認識す
る。このようにしてCAM15からポート番号が出力さ
れると、それに引き続いて、ネットワークフレームが、
パケットメモリ17からバス11を経由してポートコン
トローラ12_nに入力され、ポート13_nを経由
し、さらにLAN14_nを経由して端末Eに送信され
る。
[0007] The sequencer 16
Recognizes that the current network frame is a network frame to be transmitted from the port 13_n. When the port number is output from the CAM 15 in this manner, subsequently, the network frame is
The data is input from the packet memory 17 to the port controller 12_n via the bus 11 and transmitted to the terminal E via the port 13_n and further via the LAN 14_n.

【0008】概略以上のように構成されたネットワーク
フレームについて、仮想LAN(VLAN;Vertu
al Local Area Network)という
概念が考えられている。図5は、VLANの概念を説明
するための模式図である。ネットワークフレーム中継器
10にはポート0(port0)〜ポートn(port
n)までのn+1個のポートが用意されており、図示の
ようにport0には端末A,B、port1には端末
C,E、port2には端末Dが接続されているものと
する。
[0008] For a network frame configured as described above, a virtual LAN (VLAN;
al Local Area Network) has been considered. FIG. 5 is a schematic diagram for explaining the concept of the VLAN. The network frame repeater 10 has port 0 (port 0) to port n (port
It is assumed that n + 1 ports up to n) are prepared, and terminals A and B are connected to port 0, terminals C and E are connected to port 1, and a terminal D is connected to port 2 as shown in the figure.

【0009】ここで、端末Aと端末BはVLAN1なる
グループに属し、端末Bと端末EはVLAN2なるグル
ープに属し、端末C,D,EはVLAN3なるグループ
に属するものとする。このとき、例えば端末Eを発信元
とするデータの送信方法には、複数の方法が考えられ
る。
Here, it is assumed that terminals A and B belong to a group called VLAN1, terminals B and E belong to a group called VLAN2, and terminals C, D and E belong to a group called VLAN3. At this time, for example, a plurality of methods can be considered as a method of transmitting data from the terminal E as a transmission source.

【0010】その複数の送信方法のうちの1つは、図4
を参照して説明したデータの送信先を1つだけ指定して
送信するユニキャスト(unicast)と呼ばれる送
信方法であり、前述したように、例えば端末Dを送信先
とする時はネットワークフレームのヘッダに端末Dのア
ドレスをデスティネーションアドレスとして書き込んで
送信する。
One of the plurality of transmission methods is shown in FIG.
Is a transmission method called unicast in which only one data transmission destination is designated and transmitted. As described above, for example, when the terminal D is the transmission destination, the header of the network frame is used. The terminal D writes the address of the terminal D as a destination address and transmits it.

【0011】また、その複数の送信方法のうちの2番目
の通信方法は、発信元である端末Eから受信先として複
数の端末、例えば端末Bと端末Dを指定して送信するマ
ルチキャスト(multicast)と呼ばれる通信方
法である。さらに、上記のVLANという概念を導入し
たとき、さらにもう1つの送信方法が考えられる。すな
わち、発信元である端末Eが属するVLANのグループ
に属する不特定の端末(図5に示す例では、VLAN2
に属する端末B,VLAN3に属する端末C,D)にデ
ータを送信する通信方法である。ここではこれを、ブロ
ードキャスト(broadcast)と呼ぶ。本発明で
は主としてこのブロードキャストを問題とする。
A second communication method among the plurality of transmission methods is a multicast method in which a plurality of terminals, for example, a terminal B and a terminal D are specified and transmitted from a terminal E as a transmission source. This is a communication method called. Further, when the concept of the VLAN is introduced, yet another transmission method is conceivable. That is, an unspecified terminal belonging to the group of the VLAN to which the terminal E as the transmission source belongs (in the example shown in FIG.
This is a communication method for transmitting data to the terminal B belonging to the group B and the terminals C and D belonging to the VLAN 3. Here, this is called a broadcast. The present invention mainly deals with this broadcast.

【0012】[0012]

【発明が解決しようとする課題】上記のようにVLAN
の概念を導入しブロードキャスト(broadcas
t)通信方法を導入したとき、ネットワークフレーム中
継器に送られてきたネットワークフレームを、如何にし
て速く、そのネットワークフレームを送信するポートを
決定しそのポートからそのネットワークフレームを送信
するかが問題となる。
SUMMARY OF THE INVENTION As described above, the VLAN
Broadcast (broadcas)
t) When a communication method is introduced, the problem is how to quickly determine the port for transmitting the network frame transmitted to the network frame repeater and transmit the network frame from the port. Become.

【0013】本発明は、上記事情に鑑み、上記のブロー
ドキャストの送信モードを含めてネットワークフレーム
を出力するポートを高速に決定することのできるネット
ワークフレーム中継器を提供することを目的とする。
The present invention has been made in view of the above circumstances, and has as its object to provide a network frame repeater capable of quickly determining a port for outputting a network frame including the above-described broadcast transmission mode.

【0014】[0014]

【課題を解決するための手段】上記目的を達成する本発
明のネットワークフレーム中継器は、送信元を表わすソ
ースアドレスおよび受信先を表わすデスティネーション
アドレスを含む、情報の塊としてのネットワークフレー
ムの送信元あるいは受信先となり得るそれぞれ1つ以上
の端末の接続が可能な、ネットワークフレームの送信お
よび受信を行なう複数のポートを有し、いずれかのポー
トで受信した受信ネットワークフレームを、その受信ネ
ットワークフレームの受信先となる端末が接続されたポ
ートから送信するネットワークフレーム中継器におい
て、上記ポートに接続された端末のアドレスを格納して
おき上記受信ネットワークフレームに含まれるデスティ
ネーションアドレスないしソースアドレスと同一のアド
レスが格納されているか否かを検索する連想メモリを具
備し、その連想メモリの内部もしくはその連想メモリと
は異なるメモリに、ネットワークフレームの受信先の端
末のアドレスとその受信先の端末が接続されたポートと
の対応関係、およびネットワークフレームの発信元の端
末のアドレスとその発信元の端末のアドレスから送信さ
れたネットワークフレームの受信先の端末が接続された
ポートとの対応関係を表わす情報を格納しておき、受信
ネットワークフレームに含まれるデスティネーションア
ドレスないしソースアドレスに基づいて上記連想メモリ
を検索するとともに、上記情報に基づいてその受信ネッ
トワークフレームを送信するポートを指定するアドレス
変換回路と、上記受信ネットワークフレームを、アドレ
ス変換回路により指定されたポートから送信する送信制
御回路とを備えたことを特徴とする。
According to the present invention, there is provided a network frame repeater for transmitting a network frame as a block of information including a source address representing a source and a destination address representing a destination. Alternatively, it has a plurality of ports for transmitting and receiving network frames, each of which can be connected to one or more terminals that can be a receiving destination, and receives a received network frame received at any of the ports, and receives the received network frame. In the network frame repeater transmitting from the port to which the terminal is connected, the address of the terminal connected to the port is stored, and the same address as the destination address or the source address included in the received network frame is stored. Stored An associative memory for searching whether or not the address of the terminal of the network frame receiving terminal and the port to which the receiving terminal is connected are stored in the associative memory or in a memory different from the associative memory. Stores information indicating the relationship and the correspondence between the address of the source terminal of the network frame and the port to which the destination terminal of the network frame transmitted from the address of the source terminal is connected. An address conversion circuit that searches the associative memory based on a destination address or a source address included in the network frame, and specifies a port to transmit the received network frame based on the information; Is the port specified by the conversion circuit Characterized by comprising a transmission control circuit for transmitting.

【0015】本発明のネットワーク中継器は、ネットワ
ークフレームの受信先の端末のアドレスとその受信先の
端末が接続されたポートとの対応関係を表わす情報(こ
の情報は、上述した、ユニキャストのときに使用され
る)のほか、ネットワークの発信元の端末のアドレス
と、その発信元の端末のアドレスから送信されてきたネ
ットワークフレームの受信先の端末が接続されたポート
との対応関係を表わす情報を格納しておいて、ブロード
キャストのときは、ネットワークフレーム中の、発信元
を表わすソースアドレスを基に、ポート情報を得るよう
にしたため、ブロードキャストのときも高速なデータ転
送が可能となる。
The network repeater of the present invention provides information indicating the correspondence between the address of the terminal to which a network frame is to be received and the port to which the terminal to which the network frame is to be connected (this information corresponds to the unicast In addition, the information indicating the correspondence between the address of the source terminal of the network and the port to which the destination terminal of the network frame transmitted from the address of the source terminal is connected. Since the port information is stored and stored, the port information is obtained based on the source address indicating the transmission source in the network frame, high-speed data transfer is possible even during the broadcast.

【0016】ここで、上記本発明のネットワーク中継器
において、上記連想メモリが、上記ポートに接続された
端末のアドレスとその端末が接続されたポートとの対応
表を格納するものであり、上記アドレス変換回路が、上
記連想メモリを具備するとともに、その連想メモリの、
上記ポートに接続された端末のアドレスが格納されたア
ドレスに対応するアドレスに、その端末から送信された
ネットワークフレームの受信先の端末が接続されたポー
トを指示する情報を格納するメモリを具備するものであ
ることが好ましい。この場合、連想メモリ自体のメモリ
容量の低減化が図られる。
In the network repeater of the present invention, the associative memory stores a correspondence table between the address of the terminal connected to the port and the port to which the terminal is connected, and A conversion circuit includes the associative memory, and the associative memory includes:
An apparatus having a memory for storing, at an address corresponding to an address at which an address of a terminal connected to the port is stored, information indicating a port to which a terminal to which a network frame transmitted from the terminal is to be connected is connected It is preferred that In this case, the memory capacity of the associative memory itself is reduced.

【0017】さらに、上記本発明のネットワークフレー
ム中継器において、上記ポートを指示する情報が、各ビ
ットが各ポートに対応づけられてなるビットパターンで
表現されていることが好ましい。このように、ポート指
示情報を各ビットが各ポートに対応づけられたビットパ
ターンで表現されていると、そのビットパターンがその
まま、各ポートに対し、そのネットワークフレームを送
信するもしくは送信しないことを指示する制御データと
して用いることができ、マルチャストのときのデータ転
送の一層の高速化が図られる。
Further, in the above-mentioned network frame repeater of the present invention, it is preferable that the information designating the port is represented by a bit pattern in which each bit is associated with each port. As described above, when the port indication information is expressed in the bit pattern corresponding to each port, each bit is instructed to transmit or not transmit the network frame to each port as it is. This can be used as control data to be performed, thereby further increasing the speed of data transfer in the case of multi-cast.

【0018】[0018]

【発明の実施の形態】以下、本発明の実施形態について
説明する。図1は、本発明のネットワークフレーム中継
器の一実施形態における、端末のアドレスと、その端末
が発信元となったときのネットワークフレームの受信先
の端末が接続されたポートとの対応テーブルが作成され
る過程を示す模式図である。ここでは、図5に示すVL
AN構造を想定している。
Embodiments of the present invention will be described below. FIG. 1 is a diagram showing a correspondence table between a terminal address and a port to which a terminal to which a network frame is to be received when the terminal is a source in the embodiment of the network frame repeater of the present invention. It is a schematic diagram which shows the process performed. Here, the VL shown in FIG.
An AN structure is assumed.

【0019】先ず、このネットワークフレーム中継器の
ユーザの仕様に合わせて、MACアドレス(上述した各
端末のアドレス;端末A,B,…のMACアドレスはそ
れぞれMa,Mb,…,であるとする)とその端末がど
のVLANに属するかという情報が格納され、(A)に
示すMAC−VLANテーブルが作成される。このMA
C−VLANテーブルは、VLANからMACアドレス
を検索するVLAN−MACテーブル(B)に変換され
る。また、このネットワークフレーム中継器内では、ネ
ットワークフレームの通信を行なっている間、そのMA
Cアドレスをもつ端末がどのポートに接続されているか
を示すMACアドレスとポートとの対応関係を表わすM
AC−portテーブル(C)が作成されている。この
MAC−portテーブルは、そのネットワークフレー
ム中継器がネットワークフレームの中継を行なっている
間、ネットワークフレームのヘッダ情報と、そのネット
ワークフレームが送信されてきたポートとの対応関係か
ら常に新たなテーブル情報に更新されている。
First, a MAC address (address of each terminal described above; MAC addresses of terminals A, B,... Are respectively Ma, Mb,...) In accordance with the specifications of the user of the network frame repeater. And information on which VLAN the terminal belongs to, and a MAC-VLAN table shown in (A) is created. This MA
The C-VLAN table is converted into a VLAN-MAC table (B) that searches for a MAC address from the VLAN. In the network frame repeater, while the network frame is being communicated, the MA
M indicating the correspondence between a port and a MAC address indicating to which port a terminal having a C address is connected
An AC-port table (C) has been created. This MAC-port table is always new table information from the correspondence between the header information of the network frame and the port from which the network frame was transmitted while the network frame relay is relaying the network frame. Has been updated.

【0020】ここではこのようにして作成されたVLA
N−MACテーブル(B)とMAC−portテーブル
(C)とがマージ(混合)されて、(D)に示すエント
リポートテーブル(Entry−ports テーブ
ル)が作成される。このエントリポートテーブルは、各
MACアドレスと各ポートとが対応づけられており、各
MACアドレスを送信元としたネットワークフレーム
を、ビット’1’のポートへ送信することを示してい
る。例えば図5に示す端末E(MACアドレスMe)を
発信元とするネットワークフレームは、port0,
1,2の3つのポートへ送信されるべきことを示してい
る。ただし、本実施形態においては、MACアドレスと
ポート番号とは直接には対応づけられておらず、後述す
るHHA(Highest Hit Address)
を介して対応づけられている。
Here, the VLA created in this way is
The N-MAC table (B) and the MAC-port table (C) are merged (mixed) to create an entry port table (Entry-ports table) shown in (D). This entry port table is associated with each MAC address and each port, and indicates that a network frame having each MAC address as a transmission source is transmitted to the port of bit “1”. For example, a network frame originating from the terminal E (MAC address Me) shown in FIG.
It indicates that the data should be transmitted to three ports 1 and 2. However, in the present embodiment, the MAC address and the port number are not directly associated with each other, and will be described later as an HHA (Highest Hit Address).
Is associated via

【0021】図2は、本発明のネットワークフレーム中
継器の一実施形態の構成を示すブロック図、図3は、C
AM内のテーブルの構造を示す図である。CAM内に
は、図3に示すように、48ビットのMACアドレス
と、2ビットのキャスト情報と、8ビットのポート番号
との対応関係を表わすテーブルが格納されている。ここ
で、キャスト情報は、’00’がユニキャスト、’0
1’がマルチキャスト、’10’がブロードキャストを
表わす。
FIG. 2 is a block diagram showing the configuration of an embodiment of the network frame repeater of the present invention, and FIG.
It is a figure showing the structure of the table in AM. As shown in FIG. 3, the CAM stores a table representing a correspondence relationship between a 48-bit MAC address, 2-bit cast information, and an 8-bit port number. Here, as for the cast information, “00” is unicast, “0”
“1” indicates multicast, and “10” indicates broadcast.

【0022】また、図2に示すネットワークフレーム中
継器には、ネットワークフレームのヘッダ情報、すなわ
ちデスティネーションアドレスおよびソースアドレスが
出力されるヘッダバス(Header Bus)11_
1と、そのヘッダに続くフレームデータが出力されるス
イッチドバス(Switched Bus)11_2が
備えられている。
Further, the network frame repeater shown in FIG. 2 has a header bus (Header Bus) 11_ to which header information of the network frame, that is, the destination address and the source address are output.
1 and a switched bus 11_2 to which the frame data following the header is output.

【0023】以下、このネットワークフレーム中継器の
動作について説明する。尚、このネットワークフレーム
中継器の構成については、その動作とともに説明する。
n個のポートコントローラ12_1,…,12_nのう
ちの1つ、例えばポートコントローラ12_1にネット
ワークフレームが送信されてくると、そのポートコント
ローラ12_1は、サーチリクエスト信号(Searc
h Request)をシーケンサ21に向けて出力す
る。シーケンサ21は、バス11_1,11_2やCA
M15の空き情報等を判断し、ポートコントローラ12
_1にバスを占有させてよいときは、そのポートコント
ローラ12_1に向けてサーチグラント信号(Sear
ch Grant)を出力する。ポートコントローラ1
2_1はSearch Grantを受け取ると、送信
されてきたネットワークフレーム中の、そのネットワー
クフレームの受信先を表わすデスティネーションアドレ
ス(DA;Destination Address)
をヘッダバス11_1に出力する。それとともに、シー
ケンサ21は、CAM15の入力ポート(IP;Inp
ut Port)に対してライト信号(write)を
出力し、これによりCAM15内ではそのデスティネー
ションアドレスによる検索が行なわれる。CAM15
は、その検索の結果、CAM15内にそのデスティネー
ションアドレスに対応するアドレスデータが格納されて
いたか否かを表わすヒット/ミスヒット信号(hit/
miss)をシーケンサ21に返す。シーケンサ21
は、このとき、CAM15の出力ポート(OP;Out
put Port)から読み出した、デスティネーショ
ンアドレスの種類(ユニキャスト、マルチキャスト、ブ
ロードキャストの区別)をキャスト信号(cast)と
して受け取り、シーケンサ21は、hit/missの
結果をキャスト信号とに応じて、次の処理を行なう。
Hereinafter, the operation of the network frame repeater will be described. The configuration of the network frame repeater will be described together with its operation.
When a network frame is transmitted to one of the n port controllers 12_1,..., 12_n, for example, the port controller 12_1, the port controller 12_1 transmits the search request signal (Searc).
h Request) to the sequencer 21. The sequencer 21 includes buses 11_1 and 11_2 and CA
The port controller 12 judges whether the M15 is free or not.
_1 may occupy the bus, a search grant signal (Sear) is sent to the port controller 12_1.
ch Grant) is output. Port controller 1
2_1 receives the Search Grant and, in the transmitted network frame, a destination address (DA; Destination Address) indicating a destination of the network frame.
To the header bus 11_1. At the same time, the sequencer 21 sets the input port (IP; Inp
out port), a write signal (write) is output, whereby a search is performed in the CAM 15 by the destination address. CAM15
Is a hit / miss hit signal (hit / hit / hit) indicating whether or not the address data corresponding to the destination address is stored in the CAM 15 as a result of the search.
Miss) is returned to the sequencer 21. Sequencer 21
At this time, the output port (OP; Out) of the CAM 15
The type of the destination address (discrimination between unicast, multicast, and broadcast) read from the input port (put Port) is received as a cast signal (cast), and the sequencer 21 receives the result of hit / miss according to the cast signal, and Perform processing.

【0024】(1)そのデスティネーションアドレスが
マルチキャストアドレスであった場合、シーケンサ21
は、ネットワークフレームが送られてきたポートコント
ローラ(ここでの例ではポートコントローラ12_1)
にリード信号(Read)を送り、そのポートコントロ
ーラ12_1では、これに応じて、スイッチドバス11
_2にフレームデータを出力する。同時に、シーケンサ
21は、パケットメモリ17に対してライト信号(Wr
ite)を送る。これにより、ポートコントローラ12
_1からパケットメモリ17へのフレームデータの転送
が行なわれる。
(1) If the destination address is a multicast address, the sequencer 21
Is the port controller from which the network frame was sent (in this example, port controller 12_1)
The port controller 12_1 sends a read signal (Read) to the switched bus 11 in response to the read signal.
_2 to output the frame data. At the same time, the sequencer 21 sends a write signal (Wr
item). Thereby, the port controller 12
_1 to the packet memory 17 is transferred.

【0025】マルチキャストのときは、そのフレームデ
ータの取り扱いはユーザにより異なるため、従来と同
様、フレームデータはパケットメモリ17へ転送してお
き、後の処理は、CPU24に委ねられている。 (2)そのデスティネーションアドレスがユニキャスト
アドレスであった場合、シーケンサ21は、送信先の端
末が接続されたデスティネーションポートにフレームデ
ータを転送するために、CAM15の出力ポートに対し
てリード信号とコントロール信号を送る。すると、CA
M15は、そのコントロール信号にしたがって、その出
力ポートOPから、デスティネーションポート番号を出
力し、そのポート番号はデコーダ22に入力される。ま
た、シーケンサ21はそのデコーダ22にイネーブル信
号(Enable)を出力し、デコーダ22では、これ
を受けて、そのポート番号がデコードされて、デスティ
ネーションポートのポートコントローラ(例えばポート
コントローラ12_n)へのライト信号が出力される。
そのライト信号はそのデスティネーションポートのポー
トコントローラに入力される。またこれとともに、シー
ケンサ21は、ソースポート(ネットワークフレームが
送られてきたポート)のポートコントローラ(ここでの
例ではポートコントローラ12_1)にリード信号を出
力し、ポートコントローラ12_1はこれに応じてスイ
ッチドバス11_2にフレームデータを出力する。この
フレームデータは、デコーダ22から出力されたライト
信号が入力されたポートコントローラ(ここでの例では
ポートコントローラ12_n)によって受信され、その
ポートコントローラ12_nに接続されたLANに送信
される。 (3)そのデスティネーションアドレスがブロードキャ
ストアドレスであった場合、あるいは、そのデスティネ
ーションアドレスがCAM15内のテーブルに登録され
ていなかった(ミスヒットした)場合、シーケンサ21
は、CAM15の入力ポートIPに対してライト信号を
出力する。ポートコントローラ12_1からは、ヘッダ
バス11_1に、前述したデスティネーションアドレス
に続いて、ネットワークフレームの発信元を表わすソー
スアドレスを出力しており、CAM15では、シーケン
サ21からのライト信号を受けて、今後はそのソースア
ドレスに基づく検索が行なわれる。そのソースアドレス
に基づく検索が成功(ヒット)すると、シーケンサ21
は、今度はCAM15の出力ポートOPに対してリード
信号とコントロール信号を出力し、CAM15は、この
コントロール信号を受けて、出力ポートOPから最優先
のヒットアドレス(HHA;HighestHit A
ddress)を出力する。このHHAとは、ソースア
ドレスによる検索で複数のヒットがあった(CAM15
内のテーブルで、そのソースアドレスに適合するテーブ
ルが複数存在していた)場合に、それら複数のテーブル
アドレスのうちの、所定の優先順に従った最も優先順位
の高いアドレスを指す。ただし、ソースアドレスの意味
を考えると、複数のヒットがあった場合は、テーブル構
成にエラーがあることになる。
In the case of multicast, since the handling of the frame data differs depending on the user, the frame data is transferred to the packet memory 17 as in the prior art, and the subsequent processing is left to the CPU 24. (2) If the destination address is a unicast address, the sequencer 21 sends a read signal to the output port of the CAM 15 to transfer the frame data to the destination port to which the destination terminal is connected. Send control signal. Then CA
M15 outputs a destination port number from its output port OP according to the control signal, and the port number is input to the decoder 22. In addition, the sequencer 21 outputs an enable signal (Enable) to the decoder 22, and the decoder 22 receives the enable signal (Enable), decodes the port number, and writes the port number of the destination port to the port controller (for example, the port controller 12_n). A signal is output.
The write signal is input to the port controller of the destination port. At the same time, the sequencer 21 outputs a read signal to the port controller of the source port (the port to which the network frame has been sent) (in this example, the port controller 12_1), and the port controller 12_1 responds to this by switching the switched bus. The frame data is output to 11_2. The frame data is received by the port controller (in this example, the port controller 12_n) to which the write signal output from the decoder 22 is input, and transmitted to the LAN connected to the port controller 12_n. (3) If the destination address is a broadcast address, or if the destination address is not registered in the table in the CAM 15 (mis-hit), the sequencer 21
Outputs a write signal to the input port IP of the CAM 15. The port controller 12_1 outputs a source address indicating the source of the network frame to the header bus 11_1 following the destination address described above. The CAM 15 receives a write signal from the sequencer 21 and A search based on the source address is performed. If the search based on the source address succeeds (hits), the sequencer 21
Outputs a read signal and a control signal to the output port OP of the CAM 15, and the CAM 15 receives the control signal from the output port OP and outputs the highest priority hit address (HHA; Highest Hit A) from the output port OP.
address). This HHA has a plurality of hits in the search by the source address (CAM15
If there are a plurality of tables matching the source address among the tables in (1)), it indicates the address having the highest priority according to a predetermined priority order among the plurality of table addresses. However, considering the meaning of the source address, if there are multiple hits, there is an error in the table configuration.

【0026】テーブル構成が正しく、そのソースアドレ
スによる検索でヒットが1つのみの場合は、その1つの
みヒットしたテーブルのアドレスがHHAとなる。この
ネットワークフレーム中継器には、図1(D)に示すエ
ントリーポートテーブルが格納されたテーブルメモリ2
3が備えられており、CAM15から出力されたHHA
は、そのテーブルメモリ23に入力され、そのテーブル
メモリ23からは、その入力されたHHAに対応するメ
モリ領域に格納されたデスティネーションポート情報が
出力される。このデスティネーションポート情報は、各
ポートに1ビットが割り当てられており、そのまま、各
ポートコントローラへのライト信号となる。シーケンサ
21はリード信号をソースポートコントローラ(ここで
の例ではポートコントローラ12_1)に向けて出力
し、そのソースポートコントローラ12_1は、フレー
ムデータをスイッチドバス11_2に出力する。そのス
イッチドバス11_2に出力されたフレームデータは、
上述した、HHAに対するデスティネーションポート情
報がそのままライト信号として書き込まれた1つもしく
は複数のデスティネーションポートで受信され、そのデ
スティネーションポートに接続されたLAN(図4参
照)を経由して受信先の端末に向けて送信される。
If the table configuration is correct and only one hit is found in the search based on the source address, the address of the table that hits only one is HHA. This network frame repeater has a table memory 2 storing an entry port table shown in FIG.
3 is provided, and the HHA output from the CAM 15 is provided.
Is input to the table memory 23, and the destination port information stored in the memory area corresponding to the input HHA is output from the table memory 23. In the destination port information, one bit is assigned to each port, and becomes a write signal to each port controller as it is. The sequencer 21 outputs a read signal to a source port controller (in this example, the port controller 12_1), and the source port controller 12_1 outputs frame data to the switched bus 11_2. The frame data output to the switched bus 11_2 is
The above-mentioned destination port information for the HHA is received by one or a plurality of destination ports written as a write signal as it is, and the destination port information is received via the LAN (see FIG. 4) connected to the destination port. Sent to the terminal.

【0027】尚、テーブルメモリ23にはエントリポー
トテーブルが2つ格納されており、常に一方が、通常の
ルーチンでアクセスの対象となしているアクティブ状
態、もう一方は、通常のルーチンでアクセスの対象とな
らないインアクティブ状態にある。このエントリポート
テーブルを改訂するにあたり、CPU24は、MACア
ドレスの学習によってインアクティブ状態にあるエント
リポートテーブルを書き換え、その書き換えが終了する
と、シーケンサ21にテーブルの変更を制御バス(ta
ble bus)を経由して要求する。すると、シーケ
ンサ21は、スイッチ信号(Switch)をテーブル
メモリ23に送り、それまでインアクティブ状態にあっ
たテーブルをアクティブ状態に変更するとともに、それ
までアクティブ状態にあったテーブルをインアクティブ
状態に変更する。このようにして、テーブルメモリ23
に格納されたエントリポートテーブルの更新が行なわれ
る。
The table memory 23 stores two entry port tables, one of which is always in an active state which is accessed by a normal routine, and the other is an object which is accessed by a normal routine. Is in an inactive state. In revising the entry port table, the CPU 24 rewrites the inactive entry port table by learning the MAC address, and when the rewriting is completed, the sequencer 21 informs the sequencer 21 of the change of the table on the control bus (ta).
ble bus). Then, the sequencer 21 sends a switch signal (Switch) to the table memory 23 to change the table in the inactive state to the active state and change the table in the active state to the inactive state. . Thus, the table memory 23
The entry port table stored in is updated.

【0028】尚、CAM15内のテーブルも常に更新さ
れるが、この更新は従来と同様であり、詳細説明は省略
する。
Although the table in the CAM 15 is always updated, this update is the same as the conventional one, and the detailed description is omitted.

【0029】[0029]

【発明の効果】以上説明したように本発明は、端末のア
ドレスと、その端末がデータの発信元となったときにそ
のデータを送るポートとの対応関係を表わす情報を格納
しておくものであるため、いわゆるVLANの概念を導
入したブロードキャストにおいても極めて高速なデータ
転送が可能となる。
As described above, the present invention stores information indicating the correspondence between the address of a terminal and the port to which the data is sent when the terminal becomes a data source. For this reason, extremely high-speed data transfer is possible even in a broadcast in which the concept of the so-called VLAN is introduced.

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

【図1】本発明のネットワークフレーム中継器の一実施
形態における、端末のアドレスと、その端末が発信元と
なったときのネットワークフレームの受信先の端末が接
続されたポートとの対応テーブルが作成される過程を示
す模式図である。
FIG. 1 is a diagram showing an embodiment of a network frame repeater according to the present invention, in which a correspondence table is created between a terminal address and a port to which a terminal receiving a network frame when the terminal is a source is connected. It is a schematic diagram which shows the process performed.

【図2】本発明のネットワークフレーム中継器の一実施
形態の構成を示すブロック図である。
FIG. 2 is a block diagram showing a configuration of one embodiment of a network frame repeater of the present invention.

【図3】CAM内のテーブルの構造を示す図である。FIG. 3 is a diagram showing a structure of a table in a CAM.

【図4】従来のネットワークフレーム中継器の一構成例
を示す回路ブロック図である。
FIG. 4 is a circuit block diagram showing a configuration example of a conventional network frame repeater.

【図5】VLANの概念を説明するための模式図であ
る。
FIG. 5 is a schematic diagram for explaining the concept of a VLAN.

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

11_1 ヘッダバス(Header Bus) 11_2 スイッチドバス(Switched Bu
s) 12_1,…,12_n ポートコントローラ 15 CAM 17 パケットメモリ 21 シーケンサ 22 デコーダ 23 テーブルメモリ 24 CPU
11_1 Header Bus (Header Bus) 11_2 Switched Bus (Switched Bu)
s) 12_1,..., 12_n Port controller 15 CAM 17 Packet memory 21 Sequencer 22 Decoder 23 Table memory 24 CPU

フロントページの続き (72)発明者 石田 芳弘 東京都千代田区内幸町2丁目2番3号 川崎製鉄株式会社内 (56)参考文献 特開 平8−331165(JP,A) 特開 平10−154998(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04L 12/46 Continuation of the front page (72) Inventor Yoshihiro Ishida 2-3-2 Uchisaiwai-cho, Chiyoda-ku, Tokyo Inside Kawasaki Steel Corporation (56) References JP-A-8-331165 (JP, A) JP-A-10-154998 ( JP, A) (58) Field surveyed (Int. Cl. 7 , DB name) H04L 12/46

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 送信元を表わすソースアドレスおよび受
信先を表わすデスティネーションアドレスを含む、情報
の塊としてのネットワークフレームの送信元あるいは受
信先となり得るそれぞれ1つ以上の端末の接続が可能
な、該ネットワークフレームの送信および受信を行なう
複数のポートを有し、いずれかのポートで受信した受信
ネットワークフレームを、該受信ネットワークフレーム
の受信先となる端末が接続されたポートから送信するネ
ットワークフレーム中継器において、 前記ポートに接続された端末のアドレスを格納してお
き、前記受信ネットワークフレームに含まれるデスティ
ネーションアドレスないしソースアドレスと同一のアド
レスが格納されているか否かを検索する連想メモリを具
備し、該連想メモリの内部もしくは該連想メモリとは異
なるメモリに、ネットワークフレームの受信先の端末の
アドレスと該受信先の端末が接続されたポートとの対応
関係、およびネットワークフレームの発信元の端末のア
ドレスと該発信元の端末のアドレスから送信されたネッ
トワークフレームの受信先の端末が接続されたポートと
の対応関係を表わす情報を格納しておき、前記受信ネッ
トワークフレームに含まれるデスティネーションアドレ
スないしソースアドレスに基づいて前記連想メモリを検
索するとともに、前記情報に基づいて該受信ネットワー
クフレームを送信するポートを指定するアドレス変換回
路と、 前記受信ネットワークフレームを、前記アドレス変換回
路により指定されたポートから送信する送信制御回路と
を備えたことを特徴とするネットワークフレーム中継
器。
1. A method according to claim 1, wherein one or more terminals, each of which can be a source or a destination of a network frame as a block of information, including a source address representing a source and a destination address representing a destination, are connected. A network frame relay having a plurality of ports for transmitting and receiving a network frame, and transmitting a received network frame received at any one of the ports from a port connected to a terminal to which the received network frame is to be received. An associative memory that stores an address of a terminal connected to the port and searches whether or not the same address as a destination address or a source address included in the received network frame is stored; Inside the associative memory or In a memory different from the memory, the correspondence between the address of the terminal receiving the network frame and the port to which the terminal is connected, and the address of the terminal of the source of the network frame and the address of the terminal of the source Stores information indicating a correspondence relationship with a port to which a terminal to which a network frame transmitted from the receiving network is connected, and searches the associative memory based on a destination address or a source address included in the received network frame. And an address conversion circuit that specifies a port for transmitting the reception network frame based on the information, and a transmission control circuit that transmits the reception network frame from a port specified by the address conversion circuit. In a network frame characterized by Vessel.
【請求項2】 前記連想メモリが、前記ポートに接続さ
れた端末のアドレスと該端末が接続されたポートとの対
応表を格納するものであり、 前記アドレス変換回路が、該連想メモリを具備するとと
もに該連想メモリの、前記ポートに接続された端末のア
ドレスが格納されたアドレスに対応するアドレスに、該
端末から送信されたネットワークフレームの受信先の端
末が接続されたポートを指示する情報を格納するメモリ
を具備することを特徴とする請求項1記載のネットワー
クフレーム中継器。
2. The associative memory stores a correspondence table between an address of a terminal connected to the port and a port to which the terminal is connected, and the address conversion circuit includes the associative memory. At the same time, in the associative memory, at an address corresponding to the address at which the address of the terminal connected to the port is stored, information indicating the port to which the terminal to which the network frame transmitted from the terminal is received is connected. 2. The network frame repeater according to claim 1, further comprising a memory for performing the operation.
【請求項3】 前記ポートを指示する情報が、各ビット
が各ポートに対応づけられてなるビットパターンで表現
されていることを特徴とする請求項2記載のネットワー
クフレーム中継器。
3. The network frame repeater according to claim 2, wherein the information designating the port is represented by a bit pattern in which each bit is associated with each port.
JP00004296A 1996-01-04 1996-01-04 Network frame repeater Expired - Fee Related JP3315033B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP00004296A JP3315033B2 (en) 1996-01-04 1996-01-04 Network frame repeater

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP00004296A JP3315033B2 (en) 1996-01-04 1996-01-04 Network frame repeater

Publications (2)

Publication Number Publication Date
JPH09186715A JPH09186715A (en) 1997-07-15
JP3315033B2 true JP3315033B2 (en) 2002-08-19

Family

ID=11463253

Family Applications (1)

Application Number Title Priority Date Filing Date
JP00004296A Expired - Fee Related JP3315033B2 (en) 1996-01-04 1996-01-04 Network frame repeater

Country Status (1)

Country Link
JP (1) JP3315033B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004015931A1 (en) 2002-08-07 2004-02-19 Allied Telesis K.K. Transmission system, and method thereof
JP3924523B2 (en) 2002-10-29 2007-06-06 富士通株式会社 Transmission apparatus and transmission method
WO2006040796A1 (en) * 2004-10-08 2006-04-20 Mitsubishi Denki Kabushiki Kaisha Communication system and relay apparatus
JP4805708B2 (en) * 2006-03-30 2011-11-02 アラクサラネットワークス株式会社 Data transfer device

Also Published As

Publication number Publication date
JPH09186715A (en) 1997-07-15

Similar Documents

Publication Publication Date Title
JP3662378B2 (en) Network repeater
US6798775B1 (en) Virtual LANs over a DLSw network
US7519062B1 (en) Method and apparatus for implementing forwarding decision shortcuts at a network switch
AU685293B2 (en) Extended domain computer network using standard links
EP0537408B1 (en) Routing in a network of bridge-connected LAN segments
US7222188B1 (en) Method and apparatus for forwarding traffic between locally attached networks using level 3 addressing information
JP3095314B2 (en) Path switching method
US5926626A (en) Network bridge using only hardware to process media access control (MAC) packet-switching operations
US6801950B1 (en) Stackable network unit including register for identifying trunk connection status of stacked units
US8588229B1 (en) Multiple address databases in a switch without the need for extra memory
JPH0799837B2 (en) Method and apparatus for transmitting message package
JPH01255340A (en) Multinetwork system
US20060007917A1 (en) Frame transfer method and edge switch
US6438133B1 (en) Load balancing mechanism for a translational bridge environment
US5848242A (en) Local area network interconnection system implementing a routing protocol of the "source routing" type and interconnection equipment intended to be used in such a system
JP3315033B2 (en) Network frame repeater
JPH0624368B2 (en) Bridge method with learning function
JPH07143155A (en) Inter-lan connector
JP3189784B2 (en) Layer 3 multicast transmission method
JPH0983576A (en) Inter-network connection device
JPH03141754A (en) Address managing system
JP3456891B2 (en) Router device and frame transfer method
JPH10145411A (en) Switching hub
JPH0685817A (en) Repeater
JPH11127184A (en) Routing method and router

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020521

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

Free format text: PAYMENT UNTIL: 20090607

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090607

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100607

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110607

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees