JPH09149069A - Switching hub - Google Patents

Switching hub

Info

Publication number
JPH09149069A
JPH09149069A JP7307260A JP30726095A JPH09149069A JP H09149069 A JPH09149069 A JP H09149069A JP 7307260 A JP7307260 A JP 7307260A JP 30726095 A JP30726095 A JP 30726095A JP H09149069 A JPH09149069 A JP H09149069A
Authority
JP
Japan
Prior art keywords
port
frame
registered
ports
terminal
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
JP7307260A
Other languages
Japanese (ja)
Inventor
Kiyonobu Terada
清伸 寺田
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 JP7307260A priority Critical patent/JPH09149069A/en
Publication of JPH09149069A publication Critical patent/JPH09149069A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To omit the transfer of frames to a port not required even when an object port is unclear and frames are transferred to all ports. SOLUTION: Number of destination addresses registered in a path table of the switching hub 101 is designated in advance to ports 1-4. When a destination address of a frame sent from a station is not registered in any path table of ports, it is discriminated that no destination station is in existence to ports to which a designated number of addresses is already registered, and the frame is transferred to other ports, then occurrence of undesired track to a transmission line to a station not needing the reception of the frame is prevented and the operating efficiency of the network is improved.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、フレームの宛先に
従いポート間の伝送路を切替えて転送処理を行なうスイ
ッチングハブに係り、特に、該当ポートが不明で全ポー
トにフレームを転送する場合にも必要のないポートへの
転送が省略できるスイッチングハブに関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a switching hub that switches a transmission line between ports according to a destination of a frame to perform a transfer process, and is particularly necessary when a frame is transferred to all ports because the corresponding port is unknown. The present invention relates to a switching hub in which transfer to a port without a port can be omitted.

【0002】[0002]

【従来の技術】ネットワークの集線装置として、複数の
端末を接続し、これら端末が送信するフレームの宛先に
従い伝送路を切替えて転送処理を行なうスイッチングハ
ブが知られている。
2. Description of the Related Art As a network concentrator, there is known a switching hub which connects a plurality of terminals and switches a transmission path according to a destination of a frame transmitted by these terminals to perform a transfer process.

【0003】本発明の実施形態を示す図1を用いて説明
すると、図1に示されたネットワークシステムは、伝送
速度10Mbpsイーサネットでそれぞれの端末が通信
を行なうものであり、スイッチングハブ101は端末を
1対1に接続する複数の伝送路を確立し、それぞれの伝
送路で端末同士が通信を行なうことのできる中継装置
(集線装置)である。
An embodiment of the present invention will be described with reference to FIG. 1. In the network system shown in FIG. 1, each terminal communicates at a transmission speed of 10 Mbps Ethernet. It is a relay device (concentrator) that establishes a plurality of transmission lines connected one-to-one and allows terminals to communicate with each other on each transmission line.

【0004】また、スイッチングハブ101は、ポート
毎に受信したフレームの送信元アドレスを登録する経路
表を有し、受信したフレームの送信元アドレスを経路表
に登録することにより、ポートに接続している局を学習
する機能を持つ。
Further, the switching hub 101 has a route table for registering the source address of the received frame for each port, and by connecting the source address of the received frame to the route table, the switching hub 101 is connected to the port. It has the function of learning which stations are in use.

【0005】スイッチングハブ101が端末から送信さ
れたフレームを受信すると、スイッチングハブ101は
そのフレームの宛先アドレスを保持し、前記の経路表を
参照してそのアドレスが登録されているポートにのみフ
レームを転送する。
When the switching hub 101 receives the frame transmitted from the terminal, the switching hub 101 holds the destination address of the frame, and refers to the above-mentioned routing table to send the frame only to the port where the address is registered. Forward.

【0006】いずれのポートの経路表にも受信したフレ
ームの宛先アドレスが登録されていない場合、スイッチ
ングハブ101は宛先アドレスを有する端末が接続され
ているポートを判定できないため、そのフレームが必ず
宛先の端末に到達するよう、全てのポートにフレームを
転送する。
If the destination address of the received frame is not registered in the route table of any port, the switching hub 101 cannot determine the port to which the terminal having the destination address is connected, so that the frame must be the destination. Forward the frame to all ports to reach the terminal.

【0007】[0007]

【発明が解決しようとする課題】上記のように、従来の
スイッチングハブは、受信したフレームの宛先アドレス
がいずれのポートの経路表にも登録のない場合、宛先の
局が接続されているポートを知ることができず、全ての
ポートにフレームを転送してしまう。これによって、そ
のフレームを受信する必要の無い端末への伝送路に不要
なトラフィックが発生し、その端末の通信を妨げてしま
う。
As described above, in the conventional switching hub, when the destination address of the received frame is not registered in the route table of any port, the port to which the destination station is connected is selected. It can't know and forwards frames to all ports. As a result, unnecessary traffic is generated on the transmission path to the terminal that does not need to receive the frame, and communication of the terminal is disturbed.

【0008】そこで、本発明の目的は、上記課題を解決
し、該当ポートが不明で全ポートにフレームを転送する
場合にも必要のないポートへの転送が省略できるスイッ
チングハブを提供することにある。
[0008] Therefore, an object of the present invention is to solve the above problems and to provide a switching hub capable of omitting forwarding to unnecessary ports even when the relevant port is unknown and frames are forwarded to all ports. .

【0009】[0009]

【課題を解決するための手段】上記目的を達成するため
に本発明は、複数のポートを備え、ポート毎に受信した
フレームの送信元アドレスを登録する経路表を有し、あ
るポートから受信したフレームをそのフレームの宛先ア
ドレスで上記経路表を参照して該当するポートに転送す
ることができるスイッチングハブにおいて、予め経路表
に登録できるアドレスの個数をポート別に指定してお
き、受信したフレームの宛先アドレスがいずれのポート
の経路表にも登録されていない場合、前記で指定した個
数のアドレスが未だ登録されていないポートにのみフレ
ームを転送するようにしたものである。
In order to achieve the above object, the present invention has a plurality of ports, has a routing table for registering a source address of a frame received for each port, and receives from a certain port. In a switching hub that can transfer a frame to the corresponding port by referring to the routing table with the destination address of the frame, specify the number of addresses that can be registered in the routing table for each port in advance, and the destination of the received frame When the address is not registered in the route table of any port, the frame is transferred only to the port where the number of addresses specified above has not been registered yet.

【0010】[0010]

【発明の実施の形態】本発明の要旨は、スイッチングハ
ブの経路表に登録する宛先アドレスの個数をポート別に
予め指定しておき、ある局から送信されたフレームの宛
先アドレスがいずれのポートの経路表にも登録されてい
ない場合、指定した個数のアドレスが既に登録されてい
るポートには宛先の局が存在しないと判断し、それ以外
のポートにのみフレームを転送することによって、その
フレームを受信する必要のない局への伝送路に不要なト
ラフィックが発生することを防ぎ、ネットワークの使用
効率を向上させるものである。
BEST MODE FOR CARRYING OUT THE INVENTION The gist of the present invention is to specify in advance the number of destination addresses to be registered in the routing table of a switching hub for each port, and the destination address of a frame transmitted from a certain station If it is not registered in the table, it is judged that the destination station does not exist in the port where the specified number of addresses have already been registered, and the frame is received only by transferring the frame to other ports. It is possible to prevent unnecessary traffic from being generated in a transmission path to a station that does not need to operate, and to improve network use efficiency.

【0011】以下に、本発明の実施形態を図を用いて説
明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0012】図1に示されるように、スイッチングハブ
101は、複数のポート1〜4を備え、ポート毎に受信
したフレームの送信元アドレスを登録する経路表(図
2)を有し、あるポートから受信したフレームをそのフ
レームの宛先アドレスで上記経路表を参照して該当する
ポートに転送することができる。各ポート1〜4には、
端末111,112,113又はリピータ121が接続
されている。リピータ121には端末114,115が
接続されており、従ってポート3には端末114,11
5が接続されていることになる。
As shown in FIG. 1, the switching hub 101 has a plurality of ports 1 to 4 and has a routing table (FIG. 2) for registering the source address of the frame received for each port. The frame received from the frame can be transferred to the corresponding port by referring to the routing table with the destination address of the frame. For each port 1 to 4,
The terminals 111, 112, 113 or the repeater 121 are connected. Terminals 114 and 115 are connected to the repeater 121, and therefore terminals 114 and 11 are connected to the port 3.
5 is connected.

【0013】また、図2に示されるように、経路表は、
宛先アドレス格納部201と指定個数格納部202とか
らなり、宛先アドレス格納部201には当該ポートに受
信されたフレームの送信元アドレスが登録され、指定個
数格納部202には予め経路表に登録できるアドレスの
個数が指定される。なお、ここでは宛先アドレスとして
MACアドレスが使用されている。
Further, as shown in FIG. 2, the route table is
It is composed of a destination address storage unit 201 and a designated number storage unit 202. The destination address storage unit 201 registers the source address of the frame received by the port, and the designated number storage unit 202 can be registered in advance in the routing table. The number of addresses is specified. The MAC address is used as the destination address here.

【0014】次に動作を述べる。Next, the operation will be described.

【0015】まず、スイッチングハブ101の経路表に
登録できる宛先アドレスの個数を指定する。ここではポ
ート1及びポート2にはそれぞれ1台の端末のみを接続
するものとし、ポート1、ポート2の宛先アドレスの登
録個数を1に指定する。端末の接続数が決まっていない
ポート3、ポート4には何も指定しない。
First, the number of destination addresses that can be registered in the routing table of the switching hub 101 is designated. Here, only one terminal is connected to each of port 1 and port 2, and the number of registered destination addresses of port 1 and port 2 is designated as 1. Nothing is specified for port 3 and port 4 where the number of terminal connections is not determined.

【0016】学習により、ポート1の宛先アドレス格納
部には端末111のMACアドレスA1、ポート2の宛
先アドレス格納部には端末112のMACアドレスB
1、ポート3の宛先アドレス格納部には端末114のM
ACアドレスC1、ポート4の宛先アドレス格納部には
端末113のMACアドレスD1が登録されているもの
とする。MACアドレスがC2である端末115から
は、まだ、フレームを受信しておらず、接続ポートを学
習していない。
By learning, the MAC address A1 of the terminal 111 is stored in the destination address storage section of the port 1, and the MAC address B of the terminal 112 is stored in the destination address storage section of the port 2.
1 and M of the terminal 114 in the destination address storage of port 3
It is assumed that the MAC address D1 of the terminal 113 is registered in the AC address C1 and the destination address storage unit of the port 4. A frame has not yet been received from the terminal 115 whose MAC address is C2, and a connection port has not been learned.

【0017】この状態では、指定個数と実際に登録され
ている個数との比較から、ポート1にはA1以外のアド
レスの端末は存在しない、ポート2にはB1以外のアド
レスの端末は存在しない、ポート3にはC1以外のアド
レスの端末が存在する可能性がある、ポート4にはQ1
以外のアドレスの端末が存在する可能性がある、と判断
することができる。
In this state, from the comparison between the designated number and the actually registered number, there is no terminal with an address other than A1 in port 1, there is no terminal with an address other than B1 in port 2, There may be a terminal with an address other than C1 on port 3, Q1 on port 4.
It can be determined that there is a possibility that there is a terminal with an address other than.

【0018】ここで、端末113が端末115にフレー
ムを送信した場合、スイッチングハブ101はポート4
が受信したフレームの宛先MACアドレス(C2)で経
路表を参照し、このMACアドレス(C2)がいずれの
ポートの経路表にも登録されていないことを知る。従っ
て、従来であれば、全ポートにフレームを転送すること
になる。しかし、本発明では、ポート1及びポート2に
はそれぞれ指定個数である1個のMACアドレスが既に
登録してあるため、それらのポートには宛先の端末が存
在しないと判定できる。一方、ポート3には指定個数が
何も指定されておらず、従って2以上のMACアドレス
の登録が可能であると共に、現在登録されているMAC
アドレスは1個である。即ち、指定個数のMACアドレ
スが未だ登録されていないので、未学習のMACアドレ
ス(C2)を持った端末が接続されている可能性があ
る。ポート4は受信ポートである。そこで、ポート3に
のみフレームを転送する。これにより、端末113が端
末115に宛てて送信したフレームは、ポート3から端
末115に届くことになる。
Here, when the terminal 113 transmits a frame to the terminal 115, the switching hub 101 operates on the port 4
Refers to the routing table with the destination MAC address (C2) of the received frame, and finds that this MAC address (C2) is not registered in the routing table of any port. Therefore, in the conventional case, the frame is transferred to all ports. However, in the present invention, since one designated MAC address has already been registered in each of port 1 and port 2, it can be determined that there is no destination terminal in those ports. On the other hand, no specified number is specified for port 3, and therefore it is possible to register two or more MAC addresses and the currently registered MAC
There is one address. That is, since the specified number of MAC addresses have not been registered yet, there is a possibility that a terminal having an unlearned MAC address (C2) is connected. Port 4 is a receiving port. Therefore, the frame is transferred only to the port 3. As a result, the frame transmitted from the terminal 113 to the terminal 115 reaches the terminal 115 from the port 3.

【0019】このように、経路表に登録する宛先アドレ
スの個数を予め指定しておくことによって、スイッチン
グハブ101が受信したフレームの宛先アドレスがまだ
経路表に登録されていない場合、指定した個数のアドレ
スが既に登録済みであるポートには目的の端末が存在し
ないことを判定できる。
By thus designating the number of destination addresses to be registered in the routing table in advance, if the destination address of the frame received by the switching hub 101 is not yet registered in the routing table, the specified number of destination addresses is registered. It can be determined that the target terminal does not exist at the port whose address has already been registered.

【0020】さらに、その目的の端末が存在しないポー
トにフレームを転送しないことによって、フレームを受
信しない端末が接続されている伝送路に不要なトラフィ
ックが送信されず、ネットワークの使用効率を向上させ
ることができる。
Further, by not transferring the frame to the port where the target terminal does not exist, unnecessary traffic is not transmitted to the transmission line to which the terminal that does not receive the frame is connected, thereby improving the efficiency of use of the network. You can

【0021】例えば、図1の形態において、上記のよう
に端末113から端末115に宛てたフレームをポート
4からポート3へ転送しているときに、端末111から
端末112に宛てたフレームがポート1に受信された場
合、これを直ちにポート2へ転送することができる。
For example, in the configuration of FIG. 1, when the frame addressed to the terminal 115 from the terminal 113 is being transferred from the port 4 to the port 3 as described above, the frame addressed to the terminal 111 from the terminal 111 is changed to the port 1 If it is received by the device, it can be immediately forwarded to port 2.

【0022】なお、上記実施形態にあっては、ポート3
の指定個数には何も指定しなかったが、2,3…等の個
数を指定してもよいことは勿論である。
In the above embodiment, the port 3
Although no designation was made for the designated number of, the number of designations such as 2, 3, ... May be designated.

【0023】[0023]

【発明の効果】本発明は次の如き優れた効果を発揮す
る。
The present invention exhibits the following excellent effects.

【0024】(1)該当ポートが不明で全ポートにフレ
ームを転送する場合でも、指定した個数のアドレスが未
だ登録されていないポートにのみフレームを転送するよ
うにしたので、指定した個数のアドレスが既に登録され
ているポートにはフレームが転送されず、従って、その
フレームを受信する必要の無い端末への伝送路に不要な
トラフィックが発生しなくなり、ネットワークの使用効
率を向上させることができる。
(1) Even when the frame is transferred to all ports because the corresponding port is unknown, the frame is transferred only to the port where the specified number of addresses are not yet registered, so that the specified number of addresses are The frame is not transferred to the already registered port, so that unnecessary traffic does not occur in the transmission path to the terminal that does not need to receive the frame, and the use efficiency of the network can be improved.

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

【図1】本発明の一実施形態を示すネットワーク構成図
である。
FIG. 1 is a network configuration diagram showing an embodiment of the present invention.

【図2】本発明による経路表の構成図である。FIG. 2 is a configuration diagram of a routing table according to the present invention.

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

101 スイッチングハブ 201 宛先アドレス格納部 202 指定個数格納部 101 switching hub 201 destination address storage unit 202 designated number storage unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 複数のポートを備え、ポート毎に受信し
たフレームの送信元アドレスを登録する経路表を有し、
あるポートから受信したフレームをそのフレームの宛先
アドレスで上記経路表を参照して該当するポートに転送
することができるスイッチングハブにおいて、予め経路
表に登録できるアドレスの個数をポート別に指定してお
き、受信したフレームの宛先アドレスがいずれのポート
の経路表にも登録されていない場合、前記で指定した個
数のアドレスが未だ登録されていないポートにのみフレ
ームを転送するようにしたことを特徴とするスイッチン
グハブ。
1. A routing table, comprising a plurality of ports, for registering a source address of a frame received for each port,
In a switching hub that can transfer a frame received from a port to the corresponding port by referring to the routing table with the destination address of the frame, specify the number of addresses that can be registered in the routing table for each port in advance, Switching characterized in that if the destination address of the received frame is not registered in the routing table of any port, the frame is transferred only to the port where the number of addresses specified above has not been registered yet. Hub.
JP7307260A 1995-11-27 1995-11-27 Switching hub Pending JPH09149069A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7307260A JPH09149069A (en) 1995-11-27 1995-11-27 Switching hub

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7307260A JPH09149069A (en) 1995-11-27 1995-11-27 Switching hub

Publications (1)

Publication Number Publication Date
JPH09149069A true JPH09149069A (en) 1997-06-06

Family

ID=17966973

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7307260A Pending JPH09149069A (en) 1995-11-27 1995-11-27 Switching hub

Country Status (1)

Country Link
JP (1) JPH09149069A (en)

Similar Documents

Publication Publication Date Title
US7222188B1 (en) Method and apparatus for forwarding traffic between locally attached networks using level 3 addressing information
US6807182B1 (en) Stacked network devices including a protocol engine and distributed trunk ports and method of operating same
US6757286B1 (en) Self-configuring communication network
US6041057A (en) Self-configuring ATM network
JP3484019B2 (en) LAN connection method
US6763023B1 (en) Network switch with self-learning routing facility
EP1035685B1 (en) Data communication system with distributed multicasting
US5909441A (en) Apparatus and method for reducing frame loss in route switched networks
US6735201B1 (en) Efficient network multicast switching apparatus and methods
US8879569B2 (en) Virtual network connection method, network system, and network device
US7061876B2 (en) Switch and bridged network
US6873603B1 (en) MAC address population protocol
JP2002523992A (en) Communication network with variable address learning, switching and routing
JPH04107029A (en) System for connection between local area networks
JPH05199229A (en) Router using multiple-hop transfer message enabling bridge-type data transfer
WO2001030034A9 (en) System for routing and switching in computer networks
KR20010070190A (en) System, device, and method for supporting virtual private networks in a label switched communication network
CN101257447A (en) Method, system and routing apparatus of load sharing
US6411625B1 (en) ATM-LAN network having a bridge that establishes communication with or without LAN emulation protocol depending on destination address
US7398322B1 (en) System using routing bridges to transparently interconnect multiple network links to form a single virtual network link
JP4007690B2 (en) End device and router
EP1022881B1 (en) Ultra-low bandwidth intra-network routing method
JPH1127326A (en) Hierarchical lan switch network
US7006444B1 (en) Self-configuring communication network
JPH09149069A (en) Switching hub