JPH01259646A - Bridge device for complex local area network - Google Patents

Bridge device for complex local area network

Info

Publication number
JPH01259646A
JPH01259646A JP8653488A JP8653488A JPH01259646A JP H01259646 A JPH01259646 A JP H01259646A JP 8653488 A JP8653488 A JP 8653488A JP 8653488 A JP8653488 A JP 8653488A JP H01259646 A JPH01259646 A JP H01259646A
Authority
JP
Japan
Prior art keywords
address
communication
bridge device
local area
communication packet
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
JP8653488A
Other languages
Japanese (ja)
Inventor
Kunio Tagami
田上 邦夫
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP8653488A priority Critical patent/JPH01259646A/en
Publication of JPH01259646A publication Critical patent/JPH01259646A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent the risk that a communication node is made into a down condition due to receiving the communication packet of a wrong destination address by the communication node by providing a transmission source address extraction means and a transmission source address comparison means. CONSTITUTION:The addresses (01)-(03) of bridge devices 131-133 and port addresses (1) and (2) are extracted from the transmission source address in the communication packet to be transmitted from an own slave local area network to the bridge devices 131-133, the address of the bridge devices and a port address are respectively compared with the address of an own bridge device and the address of the port receiving the communication packet and the communication packet is extinguished when both or either one is found to be different. Thus, the wrong bridge device address in the transmission source address or the communication packet having the port address are no longer transferred to a destination communication node and the risk that the communication node is led into the down condition by the return communication packet of the wrong destination address is completely prevented.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は複合ローカルエリアネットワークのブリッジ装
置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a bridge device for a complex local area network.

〔従来の技術〕[Conventional technology]

リング型ローカルエリアネットワークやバス型ローカル
エリアネットワークでは、同一の伝送路上に接続された
複数の通信ノードがN対N通信できることが一つの特徴
であり、そのため伝送路上を流れる通信パケットは、そ
のアドレスフィールドに宛先アドレスと送信元アドレス
の両方を保持し、そのパケットがどの通信ノードから送
信され、どの通信ノードへ送られるべきかを明らかにさ
せている。そして、上述の複合ローカルエリアネットワ
ークにおいて使用されるアドレスは、親ローカルエリア
ネットワークにおけるブリッジ装置の物理アドレス部分
と、そのブリッジ装置に接続された子ローカルエリアネ
ットワークに接続される複数の通信ノードの各々を一意
に識別できるアドレス部分とから構成されるのが一般的
である。
One of the features of ring-type local area networks and bus-type local area networks is that multiple communication nodes connected to the same transmission path can perform N-to-N communication. Therefore, communication packets flowing on the transmission path have their address fields It holds both the destination address and the source address, making it clear from which communication node the packet was sent and to which communication node it should be sent. The addresses used in the above-mentioned composite local area network include the physical address part of the bridge device in the parent local area network and each of the multiple communication nodes connected to the child local area network connected to the bridge device. Generally, it consists of an address part that can be uniquely identified.

従来、この種の複合ローカルエリアネットワークのブリ
ッジ装置は、子ローカルエリアネットワークから伝送さ
れてくる通信パケットに対しては、その宛先アドレスか
らその通信パケットを送りつけるべき宛先ブリッジ装置
の親ローカルエリアネットワーク上での物理アドレスを
抽出し、該アドレスを用いて前記通信パケットを宛先ブ
リッジ装置に転送するだけであった。その過程において
は、抽出した宛先ブリッジ装置の物理アドレスが自分自
身の物理アドレスと同一か否かを調べ、同一であれば、
前記通信パケットはそのブリッジ装置に接続された子ロ
ーカルエリアネットワークに接続された通信ノードから
同−子ローカルエリアネーットワークに接続された別の
通信ノードへ転送されたものであるので、受信したその
通信パケットを廃棄するという処理機構は含まれていた
が、送信元アドレスからブリッジ装置の物理アドレスを
抽出し、これを検証するという処理機構はなかった。
Conventionally, this type of composite local area network bridge device has been configured to send communication packets transmitted from a child local area network to the parent local area network of the destination bridge device to which the communication packet is to be sent from the destination address. All that was required was to extract the physical address at the address and transfer the communication packet to the destination bridge device using the address. In this process, it is checked whether the physical address of the extracted destination bridge device is the same as its own physical address, and if it is,
Since the communication packet is transferred from a communication node connected to a child local area network connected to the bridge device to another communication node connected to the same child local area network, the received communication Although it included a processing mechanism for discarding packets, there was no processing mechanism for extracting and verifying the physical address of the bridge device from the source address.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のブリッジ装置は、通信パケットの送信元
アドレス中のブリッジ装置の物理アドレスとポートアド
レスを、そのブリッジ装置自身の物理アドレスおよびそ
の通信パケットを受信したポートのアドレスとそれぞれ
同一か否かの検証を行なっていないので、子ローカルエ
リアネットワークに接続された通信ノードから送り出さ
れた通信パケット中の送信元アドレスのブリッジ装置の
物理アドレス部やポートアドレス部が誤っていても宛先
アドレスのみ正しければ、その通信パケットは宛先通信
ノードへ到達し、この通信パケットを受取った通信ノー
ドが、その通信パケットの誤ったブリッジ装置の物理ア
ドレスあるいはポートアドレスを持つ送信元アドレスを
返送用通信パケットの宛先アドレスとして使用すると、
この返送用通信パケットは、誤った通信ノードに返され
ることになる。したがって、このような場合にこの期待
しない返送用通信パケットを受取った通信ノートが、そ
の通信ノードの誤り回復機能の作られ方にもよるが最悪
の場合、ダウン状態となる可能性があるという欠点があ
る。
The conventional bridge device described above determines whether the physical address and port address of the bridge device in the source address of a communication packet are the same as the physical address of the bridge device itself and the address of the port that received the communication packet. Since verification is not performed, even if the physical address part or port address part of the bridge device of the source address in the communication packet sent from the communication node connected to the child local area network is incorrect, if only the destination address is correct, The communication packet reaches the destination communication node, and the communication node that receives the communication packet uses the source address that has the incorrect physical address or port address of the bridge device in the communication packet as the destination address of the return communication packet. Then,
This return communication packet will be returned to the wrong communication node. Therefore, in such a case, the communication node that receives this unexpected return communication packet may go down in the worst case, depending on how the error recovery function of the communication node is created. There is.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の複合ローカルエリアネットワークのブリッジ装
置は、 自子ローカルエリアネットワークから伝送されてくる通
信パケット内に階層型アドレス形式で存在する送信元ア
ドレスからブリッジ装置およびポートのアドレスをそれ
ぞれ抽出する送信元アドレス抽出手段と、 抽出された前記ブリッジ装置およびポートのアドレスと
自ブリッジ装置および該通信パケットを受信したポート
のアドレスをそれぞれ比較して、少なくとも両者のいず
れかが同一でなければ前記通信パケットを消滅させ、い
ずれも同一であれば宛先アドレスチェック手段に制御を
移す送信元アドレス比較手段を有している。
The bridge device of a composite local area network of the present invention has a source address that extracts the address of the bridge device and the port from the source address present in a hierarchical address format in a communication packet transmitted from its own local area network. an extraction means, which compares the extracted address of the bridge device and port with the address of the own bridge device and the port that received the communication packet, and if at least one of the two is the same, deletes the communication packet; , has source address comparing means that transfers control to destination address checking means if both are the same.

〔作用J 自子ローカルエリアネットワークからブリッジ装置に伝
送されてくる通信パケット内の送信元アドレスからブリ
ッジ装置のアドレスとポートアドレスを抽出し、このブ
リッジ装置のアドレスとポートアドレスを自ブリッジ装
置のアドレスおよびこの通信パケットを受信したポート
のアドレスとそれぞれ比較して、両者あるいはいずれか
が同一でなければこの通信パケットを消滅させるので、
送信元アドレス中の誤ったブリッジ装置アドレスまたは
ポートアドレスをもつ通信パケットが宛先通信ノードま
で転送されることがなくなり、したがって、その誤った
送信元アドレスにもとづいて誤った宛先アドレスによる
通信パケットが返送され、その誤った宛先アドレスの返
送通信パケットによって通信ノードがダウン状態に陥る
おそれが全くなくなる。
[Operation J: Extract the address and port address of the bridge device from the source address in the communication packet transmitted from the own local area network to the bridge device, and use the address and port address of the bridge device as the address and port address of the own bridge device. This communication packet is compared with the address of the port that received it, and if either or both are the same, this communication packet is deleted.
Communication packets with an incorrect bridge device address or port address in the source address will no longer be forwarded to the destination communication node, and therefore communication packets with an incorrect destination address will be returned based on the incorrect source address. , there is no possibility that the communication node will go down due to the returned communication packet with the incorrect destination address.

〔実施例] 次に、本発明の実施例について図面を参照して説明する
[Example] Next, an example of the present invention will be described with reference to the drawings.

第1図は本発明の複合ローカルエリアネットワーク(以
下ローカルエリアネットワークをLANと呼ぶ)のブリ
ッジ装置の一実施例を示すブロック図、第2図は第1図
のブリッジ装置を含む複合LANの全体構成図、第3図
(a)は通信ノード間で情報を伝送するための通信パケ
ットの形式図、第3図(b)は第3図(a)中の宛先ア
ドレスおよび送信元アドレスそれぞれの階層型構成を示
す形式図、第4図は第2図の通信ノード14+ lから
通信ノード1422への通信パケットで正しい送信元ア
ドレスを持ったものの形式図、第5図は第2図の通信ノ
ード14++から通信ノード1422への通信パケット
で誤った送信元アドレスを持ったものの形式図、第6図
は第1図中の送信元アドレスチェック機構109の動作
を示すフローチャート、第7図は第1図中の宛先アドレ
スチェック機構110の動作を示すフローチャートであ
る。
FIG. 1 is a block diagram showing an embodiment of a bridge device for a composite local area network (hereinafter referred to as LAN) of the present invention, and FIG. 2 is an overall configuration of a composite LAN including the bridge device of FIG. 1. 3(a) is a format diagram of a communication packet for transmitting information between communication nodes, and FIG. 3(b) is a hierarchical type diagram of each destination address and source address in FIG. 3(a). A format diagram showing the configuration. FIG. 4 is a format diagram of a communication packet with a correct source address from communication node 14+l in FIG. 2 to communication node 1422. FIG. 6 is a flowchart showing the operation of the source address check mechanism 109 in FIG. 1, and FIG. 3 is a flowchart showing the operation of the destination address check mechanism 110.

この複合LANは、第2図に示すように、リング型LA
Nである親L A N 11と、バス型LANである子
L A N 12鳳r、 12+a、 12□1,12
□2.123+。
This composite LAN is a ring-type LA, as shown in Figure 2.
Parent L A N 11 which is N and child L A N 12 which is bus type LAN r, 12+a, 12□1,12
□2.123+.

1232と、子LAN12++および12B、子L A
 N 12□1および12ai、子L A N 123
 tおよび12,2の各組を親L A N 11にそれ
ぞれ2個のポート101.102を介して接続するブリ
ッジ装置13+、 13*、 133と、子L A N
 12++、 1211.1221.12□112s+
、 1232にそれぞれ接続された通信ノード14目、
 1412.14□1゜14゜、 1431.14sz
とから構成され、親L A N 11内におけるブリッ
ジ装置131.13z、 13sをそれぞれ区別するた
めのアドレス”Ol”、”02”、”03”と、各ブリ
ッジ装置13+、 13g、 13s (7)2個のポ
ート101゜102を区別するためのアドレス”l”、
”2”と、子L A N 12+ r〜I232それぞ
れにおける通信ノード1’S++〜1432を指定する
ためのアドレス”001”とからなる階層型アドレスを
用いて通信ノード141゜142、143間で互いにパ
ケット通信を行なう。
1232, child LAN12++ and 12B, child LA
N 12□1 and 12ai, child L A N 123
bridging devices 13+, 13*, 133 connecting each pair of t and 12,2 to the parent L A N 11 via two ports 101, 102, respectively, and the child L A N
12++, 1211.1221.12□112s+
, 14th communication node connected to 1232,
1412.14□1゜14゜, 1431.14sz
Addresses "Ol", "02", and "03" for distinguishing the bridge devices 131.13z and 13s within the parent LAN 11, respectively, and the respective bridge devices 13+, 13g, and 13s (7) Address "l" to distinguish between two ports 101 and 102,
Communication nodes 141, 142 and 143 communicate with each other using hierarchical addresses consisting of "2" and address "001" for specifying communication nodes 1'S++ to 1432 in child L A N 12+r to I232, respectively. Perform packet communication.

通信パケットの形式は、第3図(a)に示すように、宛
先アドレスと送信元アドレスとデータ部より構成され、
宛先アドレスと送信元アドレスはそれぞれ第3図(b)
に示すように、宛先または送信元についてのブリッジ装
置アドレス部とポートアドレス部と通信ノードアドレス
部とからなっている。各ブリッジ装置13.〜13.の
ポート101.102はバス型LAN送受信機構であり
、それぞれ2つの子LAN12.1と12+a、  1
2□、と12□t+ 12s+と12,2の組を接続す
る。バス型LAN受信バッファ103とバス型LAN送
信バッファ104はポート101を介して送受信される
通信パケットを保持する。バス型LAN受信バッファ1
05とバス型LAN送信バッファ106はポート102
を介して送受信される通信パケットを保持する。受信ポ
ートアドレス保持機構107は、受信バッファ103ま
たは+05に通信パケットが入力されたとき、受信した
ポート101または102のポートアドレスを保持する
。自ブリッジ装置アドレス保持機構10Bは、その所属
するブリッジ装置13.〜133のいずれかのアドレス
を保持する。送信元アドレスチェック機構109は、入
力された通信パケット内に存在する送信元アドレスが正
しいものであるかどうかを検証して、誤っているときは
その通信パケットの廃棄を決定し、正しいときは宛先ア
ドレスチェック機構+10に制御を渡す、宛先アドレス
チェック機構110は受信された通信パケットの宛先ア
ドレスをチエツクし、その通信パケットを親L A N
 11上へ伝送すべきか、その通信パケットが伝送され
て来た子L A N 12+ I−12stとは別の自
子L A N 12□〜1232上へ伝送すべきか、ま
たはその通信パケットを廃棄すべきかを決定する。バス
型LAN受信パケット廃棄機構111は、送信元アドレ
スチェック機構109または宛先アドレスチェック機構
110により廃棄すべきであると決定された通信パケッ
トを廃棄し、バス型LAN受信バッファ103または1
05を次の通信パケットの受信可能な状態にする。バス
型LAN間ルーティング処理機構112は、宛先アドレ
スチェック機構110により別の自子LAN12..〜
12,2上へ伝送すべきであると決定された通信パケッ
トを受信バッファ103または105から送信バッファ
106または104へ移す。
As shown in Figure 3(a), the format of a communication packet consists of a destination address, a source address, and a data section.
The destination address and source address are shown in Figure 3(b).
As shown in , it consists of a bridge device address section, a port address section, and a communication node address section for the destination or source. Each bridge device 13. ~13. Ports 101 and 102 are bus type LAN transmitting and receiving mechanisms, and each has two child LANs 12.1 and 12+a, 1
2□, and 12□t+ 12s+ and 12,2 are connected. A bus-type LAN reception buffer 103 and a bus-type LAN transmission buffer 104 hold communication packets transmitted and received via the port 101. Bus type LAN reception buffer 1
05 and bus type LAN transmission buffer 106 are connected to port 102.
Holds communication packets sent and received via. The reception port address holding mechanism 107 holds the port address of the received port 101 or 102 when a communication packet is input to the reception buffer 103 or +05. The self-bridge device address holding mechanism 10B stores the bridge device 13.B to which it belongs. -133 is held. The source address check mechanism 109 verifies whether the source address present in the input communication packet is correct, and if it is incorrect, it decides to discard the communication packet, and if it is correct, it determines the destination address. The destination address check mechanism 110 passes control to the address check mechanism +10, checks the destination address of the received communication packet, and transfers the communication packet to the parent LAN.
Should the communication packet be transmitted to the child LAN 12□ to 1232, which is different from the child LAN 12+I-12st to which the communication packet has been transmitted, or should the communication packet be discarded? Decide on the strength. The bus type LAN reception packet discard mechanism 111 discards communication packets determined to be discarded by the source address check mechanism 109 or the destination address check mechanism 110, and
05 into a state ready to receive the next communication packet. The bus-type inter-LAN routing processing mechanism 112 uses the destination address checking mechanism 110 to determine whether the bus-type inter-LAN routing processing mechanism 112 is connected to another self-LAN 12 . .. ~
12,2 is transferred from the receive buffer 103 or 105 to the transmit buffer 106 or 104.

ポート102または101はこれを取出してその子LA
N12z〜123□へ送出する。リング型LAN送信処
理機構+13は、宛先アドレスチェック機構110によ
り親L A N II上へ伝送すべきであると決定され
た通信パケットを受信バッファ103または105から
リング型LAN送信バッファ115へ移す。リング型L
AN送受信機構116はこの通信パケットを親L A 
N II上へ送出し、または親LAN11から通信パケ
ットを取込む。リング型LAN受信バッファ114は、
親L A N 11からリング型LAN送受信機構11
6を介して入力された通信パケットを保持する。
Port 102 or 101 takes this out and sends it to its child LA.
Send to N12z to 123□. The ring type LAN transmission processing mechanism +13 moves communication packets determined by the destination address checking mechanism 110 to be transmitted onto the parent LAN II from the reception buffer 103 or 105 to the ring type LAN transmission buffer 115. Ring type L
The AN transmitting/receiving mechanism 116 sends this communication packet to the parent LA.
Send to the N II or take in communication packets from the parent LAN 11. The ring type LAN reception buffer 114 is
From the parent LAN 11 to the ring type LAN transmitting/receiving mechanism 11
The communication packet input via 6 is held.

第4図に示す通信パケットの宛先アドレスは”02−2
−0旧”となっている。先頭の”02”はブリッジ装置
13□を、次の”2”はそのポート102をそれぞれ示
し、その次の”0旧”はボー[02に接続される子L 
A N 12□2上の通信ノード142□を示す。送信
元アドレスの”旧−1−001”の内訳は、まず”Ol
”がブリッジ装置131を、次の“l”がそのポート+
01をそれぞれ示し、その次の”0旧”は、そのポート
101に接続される子LAN12++上の通信ノード1
4.1を示している。第5図は第4図に示した通信パケ
ットの送信元アドレスのポートアドレス部が正しくは”
1”であるところが”2“となっていて、これは通信ノ
ード14+iのアドレスであり、誤っていることを示し
ている。
The destination address of the communication packet shown in Figure 4 is "02-2"
-0 old". The first "02" indicates the bridge device 13□, the next "2" indicates its port 102, and the next "0 old" indicates the port connected to the board [02]. L
A communication node 142□ on A N 12□2 is shown. The breakdown of the sender address “Old-1-001” is “Ol
” indicates the bridge device 131, and the next “l” indicates its port +
01 respectively, and the next "0 old" indicates the communication node 1 on the child LAN 12++ connected to that port 101.
4.1 is shown. Figure 5 shows that the port address part of the source address of the communication packet shown in Figure 4 is correct.
1" is now "2", which indicates that this is the address of communication node 14+i and is incorrect.

次に、本実施例の動作を、その一部を第6図。Next, FIG. 6 shows a part of the operation of this embodiment.

第7図のフローチャートを参照して、通信ノード14.
1から通信ノード1422へ送信する場合について説明
する。
Referring to the flowchart of FIG. 7, communication node 14.
1 to the communication node 1422 will be explained.

通信ノード14zから送信された通信パケットはブリッ
ジ装置131のポート101を介してバス型LAN受信
バッファ103に入力され、同時に受信ポートアドレス
保持機構107にポートlotが受信したことを示すポ
ートアドレス”1”が格納される。次に、送信元アドレ
スチェック機構109が受信した通信パケットをチエツ
クする。
The communication packet transmitted from the communication node 14z is input to the bus-type LAN reception buffer 103 via the port 101 of the bridge device 131, and at the same time, the reception port address holding mechanism 107 receives a port address "1" indicating that the port lot has received the communication packet. is stored. Next, the source address check mechanism 109 checks the received communication packet.

(1)通信パケットの送信元アドレスが誤っている場合 送信元アドレスチェック機構109はバス型LAN受信
バッファ103にある通信パケット(第5図)の送信元
アドレスよりブリッジ装置アドレス部の”Ol”を抽出
する(ステップ61)。次に、自ブリッジ装置アドレス
保持機構108に保持されているブリッジ装置13.の
アドレス”Ol”といま抽出したアドレス°°旧”を比
較しくステップ62)、その結果同一であるのでさらに
送信元アドレスよりポートアドレス部の”2”を抽出し
くステップ63)、受信ポートアドレス保持機構107
に先程格納された”1゛°と今抽出した”2”とを比較
して(ステップ64)、その結果同一でないのでこれは
正しい送信元アドレスでないことが分かり、制御をバス
型LAN受信パケット廃棄機構111へ渡して処理を終
了する。バス型LAN受信パケット廃棄機構111は送
信元アドレスチェック機構109の指示によりバス型L
AN受信バッファ103に受信された通信パケットを廃
棄させる。そこで、この通信パケットはブリッジ装置1
3□に受信されたあと消えてしまう、もし、第5図で示
す送信元アドレスが”02−1−0旧”となっていると
きは、送信元アドレスチェック機構109は自ブリッジ
装置アドレスと抽出したブリッジ装置アドレスとが異な
るためこの通信パケットの廃棄を決め(ステップ62)
、上述した場合と同様にしてこの通信パケットは消滅す
る。
(1) If the source address of the communication packet is incorrect, the source address check mechanism 109 checks "Ol" in the bridge device address field from the source address of the communication packet (FIG. 5) in the bus type LAN reception buffer 103. Extract (step 61). Next, the bridge device 13. is held in the own bridge device address holding mechanism 108. Compare the address "Ol" with the address "Old" just extracted (step 62), and since they are the same, extract "2" in the port address part from the source address (step 63), and retain the receiving port address. Mechanism 107
The previously stored "1゛°" is compared with the just extracted "2" (step 64), and since they are not the same, it is determined that this is not the correct source address, and the control is discarded for the bus type LAN received packet. The bus-type LAN received packet discard mechanism 111 transfers the received packet to the bus-type L
The communication packet received by the AN reception buffer 103 is discarded. Therefore, this communication packet is sent to the bridge device 1.
If the source address shown in FIG. 5 is "02-1-0 old", the source address check mechanism 109 extracts it as the own bridge device address. The communication packet is decided to be discarded because it is different from the address of the bridge device that was sent (step 62).
, this communication packet disappears in the same way as in the case described above.

(2)通信パケットの送信元アドレスが正しい場合送信
元アドレスチェック機構109は受信した通信パケット
(第4図)の送信元アドレスよりブリッジ装置アドレス
部の”旧”を抽出する(ステップ61)。次に自ブリッ
ジ装置アドレス保持機構108に保持されているブリッ
ジ装置+31のアドレス”Ol”といま抽出したアドレ
ス”Ol”を比較しくステップ62)、その結果同一で
あるのでさらに送信元アドレスよりポートアドレス部の
1”を抽出しくステップ63)、受信ポートアドレス保
持機構+07に先程格納された°°l”と今抽出された
”l”とを比較して(ステップ64)、その結果同一で
あるためこの送信元アドレスは正しいと判定して、制御
を宛先アドレスチェック機構110に渡して処理を終了
する。
(2) If the source address of the communication packet is correct, the source address check mechanism 109 extracts "old" in the bridge device address part from the source address of the received communication packet (FIG. 4) (step 61). Next, compare the address "Ol" of the bridge device +31 held in the own bridge device address holding mechanism 108 with the address "Ol" just extracted (Step 62), and since they are the same, the port address is further compared with the source address. 1” is extracted (step 63), and the °°l” previously stored in the reception port address holding mechanism +07 is compared with the just extracted “l” (step 64), and as a result, they are the same. It is determined that this source address is correct, and control is passed to the destination address checking mechanism 110 to terminate the process.

制御を渡された宛先アドレスチェック機構+10はバス
型LAN受信バッファ103にある通信パケット(第4
図)の宛先アドレスよりブリッジ装置アドレス部の”0
2”を抽出する(ステップ71)。
The destination address check mechanism +10 that has been given control checks the communication packet (fourth
"0" in the bridge device address part from the destination address in Figure).
2” is extracted (step 71).

次に、自ブリッジ装置アドレス保持機構108に保持さ
れているブリッジ装置13.のアドレス”Ol”といま
抽出したアドレス”02”を比較しくステップ72)、
同一でないのでこの通信パケットは親L A N 11
へ送出すべき通信パケットであると判定し、制御をリン
グ型LAN送信処理機構113へ渡して処理を終了する
。リング型LAN送信処理機構+13は、この通信パケ
ットをリング型LAN送信バッファ115へ格納し、リ
ング型LAN送受信機構!16はこの通信パケットをリ
ング型LAN送信バッファ115から取出して親L A
 N +1に送出する。もし、第4図で示す宛先アドレ
スが”02−2−001”ではなく、通信ノード14.
□宛を示す”01−2−001”である場合はブリッジ
装置アドレス部のアドレスの判定結果は同一となり(ス
テップ72)、次に、宛先アドレスよりポートアドレス
部の”2”が抽出され(ステップ73)、受信ポートア
ドレス保持機構107に保持されている”l”といま抽
出された”2”とが比較されて、その結果が同一でない
のでこれはポート101からポート102への、すなわ
ち子L A N 121.から子L A N 12+2
へ伝送すべき通信パケットであると判定し、バス型LA
N間ルーティング処理機構112へ制御を渡して処理を
終了する。バス型LAN間ルーティング処理機構112
は通信パケットをバス型LAN送信バッファ106に格
納し、ポート102はこの通信パケットを取出して子L
AN1412へ送出する。
Next, the bridge device 13. is held in the own bridge device address holding mechanism 108. Compare the address "Ol" with the address "02" just extracted (step 72),
Since they are not the same, this communication packet is the parent L A N 11
It is determined that the communication packet should be sent to the ring type LAN transmission processing mechanism 113, and the process is terminated. The ring-type LAN transmission processing mechanism +13 stores this communication packet in the ring-type LAN transmission buffer 115, and the ring-type LAN transmission and reception mechanism! 16 takes out this communication packet from the ring type LAN transmission buffer 115 and sends it to the parent LA.
Send to N+1. If the destination address shown in FIG. 4 is not "02-2-001" but communication node 14.
□If it is "01-2-001" indicating the destination, the determination result of the address in the bridge device address part is the same (step 72), and then "2" in the port address part is extracted from the destination address (step 73), the “l” held in the receiving port address holding mechanism 107 and the just extracted “2” are compared, and since the results are not the same, this is the case from the port 101 to the port 102, that is, the child L AN 121. Karako L A N 12+2
It is determined that the communication packet should be transmitted to the bus type LA.
Control is passed to the N-to-N routing processing mechanism 112 and the processing is terminated. Bus type inter-LAN routing processing mechanism 112
stores the communication packet in the bus-type LAN transmission buffer 106, and the port 102 takes out this communication packet and sends it to the child L.
Send to AN1412.

(3)宛先アドレスが誤っている場合 もし宛先アドレスが誤って発信した通信ノード1411
自身のアドレス“01−1−0旧”となっておれば、宛
先アドレスチェック機構110は受信ポートアドレスが
抽出した宛先ポートアドレスと等しいのでこの通信パケ
ットの廃棄を決定しくステップ74)、バス型LAN受
信パケット廃棄機構I11へ制御を渡して処理を終了す
る。バス型LAN受信パケット廃棄機構lllは受信バ
ッファ103に入力されたこの通信パケットを消滅させ
る。
(3) If the destination address is incorrect If the destination address is incorrect, the communication node 1411
If the own address is "01-1-0 old", the destination address check mechanism 110 determines to discard this communication packet because the receiving port address is equal to the extracted destination port address (step 74), and the destination address check mechanism 110 determines to discard this communication packet. Control is passed to the received packet discard mechanism I11 and the process ends. The bus-type LAN received packet discard mechanism llll discards this communication packet input to the receive buffer 103.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、ブリッジ装置で子ローカ
ルエリアネットワークから流入してくる通信パケットの
送信元アドレスまでもチエツクし、その送信元アドレス
中のブリッジ装置アドレス部分が、自身のブリッジ装置
アドレスを示す正しいアドレスでなければ、その通信パ
ケットを消滅させ、また、送信元アドレス中のポートア
ドレス部分がその通信パケットが入力されたポートのア
ドレスと異なるときも、その通信パケットを消滅させる
ことにより、誤った送信元アドレスを持つ通信パケット
が、宛先通信ノードまで転送されることを未然に防ぎ、
従来のようにその誤った送信元アドレスを持つ通信パケ
ットを受取った通信ノードが誤ったアドレスとは知らず
にそのアドレスを宛先アドレスとした通信パケットを作
成して返送し、それが、最初に送信した通信ノードが属
する子ローカルエリアネットワーク以外の子ローカルエ
リアネットワークに返送されてくることがないので、通
信ノードが誤った宛先アドレスの通信パケットを受取っ
たためにダウン状態となるおそれがなくなり、また、通
信ノードの接続確認を目的としてテスト用パケットを送
出し、相手通信ノードでその宛先アドレスと送信元アド
レスを入れ替えて返送させるような試験で、自分の通信
ノードアドレスを、操作員が入力するような場合に特に
役立つという効果がある。
As explained above, in the present invention, the bridge device checks even the source address of communication packets flowing in from the child local area network, and the bridge device address part of the source address matches the own bridge device address. If the specified address is not correct, the communication packet will be deleted. Also, if the port address part of the source address is different from the address of the port to which the communication packet was input, the communication packet will be deleted. prevent communication packets with the same source address from being forwarded to the destination communication node,
Conventionally, a communication node that receives a communication packet with an incorrect source address creates and returns a communication packet with that address as the destination address, without knowing that it is an incorrect address, and sends it back. Since the communication node is not returned to a child local area network other than the child local area network to which the communication node belongs, there is no risk that the communication node will go down due to receiving a communication packet with an incorrect destination address. In a test where a test packet is sent out for the purpose of confirming the connection of the other party, the destination address and source address of the packet are exchanged and sent back, and the operator inputs the own communication node address. It has a particularly useful effect.

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

第1図は本発明の複合LANのブリッジ装置の一実施例
のブロック図、第2図は第1図のブリッジ装置を含む複
合LANの全体構成図、第3図(a)は通信ノード間で
情報を伝送するための通信パケットの形式図、第3図(
b)は第3図(aJ中の宛先アドレスおよび送信元アド
レスそれぞれの階層型構成を示す形式図、第4図は第2
図の通信ノード14□から通信ノード14□2への通信
パケットで正しい送信元アドレスを持ったものの形式図
、第5図は第2図の通信ノード14zから通信ノード1
4□2への通信パケットで誤った送信元アドレスを持っ
たものの形式図、第6図は第1図中の送信元アドレスチ
ェック機構109の動作を示すフローチャート、第7図
は第1図中の宛先アドレスチェック機構110の動作を
示すフローチャートである。 +1・・・・・・・・・・・・親LAN。 1211〜12,2・・・・子LAN。 13、〜13.・・・・・ブリッジ装置、+411−1
43□・・・・通信ノード、101、 102・・・・
自ポート、 103、105・・・・・・バス型LAN受信バッファ
、104、106・・・・・・バス型LAN送信バッフ
ァ、+07・・・・・・・・・・受信ポートアドレス保
持機構、108・・・自ブリッジ装置アドレス保持機構
、+09・・・送信元アドレスチェック機構、110・
・・宛先アドレスチェック機構、II+・・・バス型L
AN受信パケット廃棄機構、+12・・・パス型LAN
間ルーティング処理機構、113・・・リング型LAN
送信処理機構、114・・・リング型LAN受信バッフ
ァ、115・・・リング型LAN送信バッファ、116
・・・リング型LAN送受信機構、61〜64.71〜
74・・・・ステップ。
FIG. 1 is a block diagram of an embodiment of a bridge device for a composite LAN according to the present invention, FIG. 2 is an overall configuration diagram of a composite LAN including the bridge device of FIG. 1, and FIG. Format diagram of communication packets for transmitting information, Figure 3 (
b) is a format diagram showing the hierarchical structure of each destination address and source address in Fig. 3 (aJ);
A format diagram of a communication packet with a correct source address from the communication node 14□ to the communication node 14□2 in the figure.
A format diagram of a communication packet sent to 4□2 with an incorrect source address, FIG. 6 is a flowchart showing the operation of the source address check mechanism 109 in FIG. 1, and FIG. 3 is a flowchart showing the operation of the destination address check mechanism 110. +1・・・・・・・・・Parent LAN. 1211-12,2... Child LAN. 13, ~13. ...Bridge device, +411-1
43□...Communication node, 101, 102...
Own port, 103, 105...Bus-type LAN reception buffer, 104, 106...Bus-type LAN transmission buffer, +07...Reception port address holding mechanism, 108... Own bridge device address holding mechanism, +09... Source address checking mechanism, 110.
...Destination address check mechanism, II+...Bus type L
AN received packet discard mechanism, +12...Path type LAN
Inter-routing processing mechanism, 113...Ring type LAN
Transmission processing mechanism, 114...Ring type LAN reception buffer, 115...Ring type LAN transmission buffer, 116
...Ring type LAN transmission/reception mechanism, 61~64.71~
74...Step.

Claims (1)

【特許請求の範囲】 1、1つの親ローカルエリアネットワークと、複数の子
ローカルエリアネットワークと、複数の子ローカルエリ
アネットワークをそれぞれに対応する複数のポートを介
して親ローカルエリアネットワークに接続する複数のブ
リッジ装置と、各子ローカルエリアネットワークに接続
された複数の通信ノードとから構成され、前記親ローカ
ルエリアネットワーク内における各ブリッジ装置を区別
するアドレス部分と、各ブリッジ装置における各ポート
を区別するアドレス部分と各子ローカルエリアネットワ
ーク内における各通信ノードを区別するアドレス部分と
からなる階層型アドレスを用いて複数の通信ノード間で
互いにパケット通信を行なう複合ローカルエリアネット
ワークのブリッジ装置において、 自子ローカルエリアネットワークから伝送されてくる通
信パケット内に前記階層型アドレス形式で存在する送信
元アドレスからブリッジ装置およびポートのアドレスを
それぞれ抽出する送信元アドレス抽出手段と、 抽出された前記ブリッジ装置およびポートのアドレスと
自ブリッジ装置および該通信パケットを受信したポート
のアドレスをそれぞれ比較して、少なくとも両者のいず
れかが同一でなければ前記通信パケットを消滅させ、い
ずれも同一であれば宛先アドレスチェック手段に制御を
移す送信元アドレス比較手段を有することを特徴とする
複合ローカルエリアネットワークのブリッジ装置。
[Claims] 1. A parent local area network, a plurality of child local area networks, and a plurality of child local area networks that connect the plurality of child local area networks to the parent local area network through a plurality of ports corresponding to each of the child local area networks. An address portion that distinguishes each bridge device within the parent local area network, and an address portion that distinguishes each port in each bridge device, comprising a bridge device and a plurality of communication nodes connected to each child local area network. In a bridge device for a composite local area network that performs packet communication with each other between multiple communication nodes using a hierarchical address consisting of an address part that distinguishes each communication node in each child local area network, source address extraction means for extracting the addresses of the bridge device and the port from the source addresses present in the hierarchical address format in the communication packet transmitted from the communication packet; Comparing the addresses of the bridge device and the port that received the communication packet, and if at least one of them is the same, the communication packet is deleted, and if both are the same, the control is transferred to the destination address checking means. A bridge device for a composite local area network, comprising source address comparison means.
JP8653488A 1988-04-08 1988-04-08 Bridge device for complex local area network Pending JPH01259646A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8653488A JPH01259646A (en) 1988-04-08 1988-04-08 Bridge device for complex local area network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8653488A JPH01259646A (en) 1988-04-08 1988-04-08 Bridge device for complex local area network

Publications (1)

Publication Number Publication Date
JPH01259646A true JPH01259646A (en) 1989-10-17

Family

ID=13889666

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8653488A Pending JPH01259646A (en) 1988-04-08 1988-04-08 Bridge device for complex local area network

Country Status (1)

Country Link
JP (1) JPH01259646A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7116675B2 (en) 2000-08-21 2006-10-03 Kabushiki Kaisha Toshiba Methods and systems for transferring packets and preventing illicit access

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7116675B2 (en) 2000-08-21 2006-10-03 Kabushiki Kaisha Toshiba Methods and systems for transferring packets and preventing illicit access

Similar Documents

Publication Publication Date Title
EP1782580B1 (en) Method and apparatus for detecting support for a protocol defining supplemental headers
US9385941B2 (en) Data communication system and method for preventing packet proliferation in a multi-device link aggregation network
US4577313A (en) Routing mechanism with encapsulated FCS for a multi-ring local area network
JP2739023B2 (en) Packet transmission system
JP3963728B2 (en) Spanning tree bypass method and apparatus
US5477540A (en) Frame removal mechanism using end delimiter frames for token ring networks
US20030097470A1 (en) System, device, and method for improving communication network reliability using trunk splitting
US7447222B2 (en) Automated path tracing through switching mesh
US5398242A (en) Automatically configuring LAN numbers
JPH0799837B2 (en) Method and apparatus for transmitting message package
US20050226144A1 (en) Packet forwarding apparatus with redundant routing module
JPH06252951A (en) Method and apparatus for packet routing
JPH0578978B2 (en)
US20110170405A1 (en) multi-path network
JP3449541B2 (en) Data packet transfer network and data packet transfer method
US5400333A (en) Detecting LAN number misconfiguration
JP2005130408A (en) Link aggregation method and switch
US7668204B2 (en) Port driven authentication in a network
WO2008122512A2 (en) Network clustering for improving connection management and re-routing capabilities
JPH01259646A (en) Bridge device for complex local area network
JP4407422B2 (en) Switching hub
JP4633723B2 (en) Network system, transmission-side switch device, reception-side switch device, and dual-use switch device
JPH02109445A (en) Packet identification method
JP2003324463A (en) Communication path switching apparatus
JPH01189252A (en) Bridge device for composite local area network