JPH09275413A - Inter-network equipment - Google Patents

Inter-network equipment

Info

Publication number
JPH09275413A
JPH09275413A JP8083654A JP8365496A JPH09275413A JP H09275413 A JPH09275413 A JP H09275413A JP 8083654 A JP8083654 A JP 8083654A JP 8365496 A JP8365496 A JP 8365496A JP H09275413 A JPH09275413 A JP H09275413A
Authority
JP
Japan
Prior art keywords
packet
information
module
destination
relay
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
JP8083654A
Other languages
Japanese (ja)
Inventor
Haato Andoriyuu
ハート アンドリュー
Masashi Fukuda
将志 福田
Hiroyuki Sakota
博幸 迫田
Yasunori Oikawa
康範 及川
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 Software Engineering Co Ltd
Hitachi Ltd
Hitachi Computer Engineering Co Ltd
Original Assignee
Hitachi Software Engineering Co Ltd
Hitachi Ltd
Hitachi Computer Engineering Co 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 Software Engineering Co Ltd, Hitachi Ltd, Hitachi Computer Engineering Co Ltd filed Critical Hitachi Software Engineering Co Ltd
Priority to JP8083654A priority Critical patent/JPH09275413A/en
Publication of JPH09275413A publication Critical patent/JPH09275413A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an inter network equipment which conducts a highly efficient routing in a large scale network by enhancing the utilizing efficiency of a path interconnecting a memory of each processor module of a multi- processor router and each processor module. SOLUTION: In this inter network equipment containing plural networks and adopting a multi-processor structure for communication among networks, a master module 2 having functions of routing protocol processing, routing processing and address solution processing informs dynamically path information to link modules 3, 4 each having a routing processing function. Furthermore, the path information has both sets of network layer address and data link layer address in common and the path information to be noticed as above is only information required for the link module 3 or 4 so as to reduce the memory capacity of the link module and make the retrieval processing of the path information efficient.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はネットワーク間を接
続するインタネットワーク装置に関し、特にマルチプロ
セッサ構造のインタネットワーク装置のルーティング方
式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an internetwork device for connecting networks, and more particularly to a routing system for an internetwork device having a multiprocessor structure.

【0002】[0002]

【従来の技術】従来のルーティング方式は特開平7−1
07111号公報に記載のように、経路情報として宛先
ネットワーク情報のみを有していた。この従来方式で
は、中継先経路を決定する経路情報の検索を行った後に
宛先ハードウエア情報の検索を行なう必要があり、ルー
ティング処理における検索効率の配慮がなされていなか
った。
2. Description of the Related Art A conventional routing method is disclosed in Japanese Patent Laid-Open No. 7-1.
As described in JP07111, only the destination network information is included as the route information. In this conventional method, it is necessary to search the destination hardware information after searching the route information that determines the relay destination route, and the search efficiency in the routing process has not been considered.

【0003】[0003]

【発明が解決しようとする課題】上記従来技術は、経路
情報およびアドレス解決情報用のメモリの使用効率や読
み出し回数の点について配慮がされておらず、必要以上
にメモリを使用し、検索処理が重複するとの問題があっ
た。
The above-mentioned prior art does not consider the use efficiency of the memory for the route information and the address resolution information and the number of times of reading, and uses the memory more than necessary, and the search processing is There was a problem with duplication.

【0004】本発明の目的は、ルーティングプロトコル
を実行するマスタモジュールとネットワーク間のパケッ
ト中継処理を行う1つまたは複数のリンクモジュールと
を有するインタネットワーク装置において、マスタモジ
ュールがリンクモジュールに対し必要最低限の経路情報
を動的に通知することにより、リンクモジュールキャッ
シュのメモリ使用を最適化することにある。
An object of the present invention is to provide an internetwork apparatus having a master module for executing a routing protocol and one or a plurality of link modules for performing packet relay processing between networks. It is to optimize the memory usage of the link module cache by dynamically notifying the route information of the.

【0005】本発明の他の目的は、ルーティングプロト
コルを実行するマスタモジュールとネットワーク間のパ
ケット中継処理を行う1つまたは複数のリンクモジュー
ルとを有するインタネットワーク装置において、リンク
モジュールにおけるキャッシュ検索処理を簡素化するこ
とにある。
Another object of the present invention is to simplify cache search processing in a link module in an internetwork device having a master module that executes a routing protocol and one or more link modules that perform packet relay processing between networks. Is to turn into.

【0006】本発明の他の目的は、ルーティングプロト
コルを実行するマスタモジュールとネットワーク間のパ
ケット中継処理を行う1つまたは複数のリンクモジュー
ルとを有するインタネットワーク装置において、宛先ネ
ットワーク情報とハードウエア情報を経路情報の1エン
トリ中に保持することにより、ルーティング処理におけ
る検索の効率の向上を狙うことにある。
Another object of the present invention is to provide destination network information and hardware information in an internetwork device having a master module for executing a routing protocol and one or more link modules for performing packet relay processing between networks. By holding the route information in one entry, it is intended to improve the search efficiency in the routing process.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するた
め、ルーティングプロトコルを実行するマスタモジュー
ルとネットワーク間のパケット中継処理を行う1つまた
は複数のリンクモジュールとを有するインタネットワー
ク装置において、マスタモジュールが各リンクモジュー
ルに必要な情報のみを動的に通知し、各リンクモジュー
ル側においては経路とアドレス解決の両情報を合わせて
キャッシュ式に格納される方式を採用したものである。
また、リンクモジュール側の処理の簡素化のために、経
路情報とアドレス解決情報の総合管理をマスタモジュー
ルに持たせ、リンクモジュール側は経路情報の検索処理
とパケットの送受信処理のみを実行する方式としたもの
である。さらに、モジュール間バスにおけるマルチキャ
スト機能(一斉に複数のリンクモジュールに送信する機
能)を前提として、バス使用効率向上のために経路とア
ドレス解決の情報の通知時に前記マルチキャスト機能を
利用したものである。
In order to achieve the above object, in an internetwork apparatus having a master module that executes a routing protocol and one or more link modules that perform packet relay processing between networks, the master module is Only the required information is dynamically notified to each link module, and each link module side adopts a method of storing both route and address resolution information in a cache manner.
In addition, in order to simplify the processing on the link module side, the master module has comprehensive management of route information and address resolution information, and the link module side executes only route information search processing and packet transmission / reception processing. It was done. Further, on the premise of the multicast function in the inter-module bus (function of transmitting to a plurality of link modules at once), the multicast function is used at the time of notifying the route and address resolution information in order to improve the bus usage efficiency.

【0008】[0008]

【発明の実施の形態】以下、本発明の実施例を図面を参
照して詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0009】図1は本発明の実施例の動作環境であるマ
ルチプロセッサ型のインタネットワーク装置の構成図で
ある。インタネットワーク装置(1)は、経路情報とア
ドレス解決情報を管理するルーティングプロトコル機
能、パケットを中継する機能及びハードウエアアドレス
解決機能を有する一つのマスタモジュール(2)と伝送
路(28、29、30、31)へのパケットの送受信機
能及び高速ルーティング機能を有する1つ又は複数のリ
ンクモジュール(3、4)から構成され、モジュール間
バス(5)により各モジュール間を接続される。マスタ
モジュール(2)は、ネットワーク層の経路情報を有す
る経路情報データベース(6)と、経路情報データベー
ス(6)を管理する機能を有する経路情報管理機構
(7)と、ネットワーク層アドレス(プロトコルアドレ
ス)とデータリンク層アドレス(ハードウエアアドレ
ス)の対応情報を有するアドレス解決情報データベース
(8)と、アドレス解決情報データベース(8)を管理
する機能を有するアドレス解決管理機構(9)と、該デ
ータベースの更新契機を決定する機能を有するタイマ監
視機構(10)と、宛先アドレスが自局となっている受
信パケットを処理する機能を有する自局宛パケット処理
機構(11)とパケットの中継機能を有するパケット中
継機構(13)と、モジュール間バス(5)を介して他
のリンクモジュール(3、4)間との通信を実行する機
能を有するモジュール間バス転送機構(13)から構成
される。
FIG. 1 is a block diagram of a multiprocessor type internetwork device which is an operating environment of an embodiment of the present invention. The internetwork device (1) has one master module (2) having a routing protocol function for managing route information and address resolution information, a function for relaying packets, and a hardware address resolution function, and a transmission path (28, 29, 30). , 31), and one or a plurality of link modules (3, 4) having a high-speed routing function and a module-to-module bus (5) for connecting the modules. The master module (2) includes a route information database (6) having route information of the network layer, a route information management mechanism (7) having a function of managing the route information database (6), and a network layer address (protocol address). And an address resolution information database (8) having correspondence information of data link layer addresses (hardware addresses), an address resolution management mechanism (9) having a function of managing the address resolution information database (8), and updating of the database. A timer monitoring mechanism (10) having a function of deciding a trigger, a packet processing mechanism (11) addressed to its own station having a function of processing a received packet whose destination address is its own station, and a packet relay having a packet relay function. Mechanism (13) and other link modules via intermodule bus (5) (3,4) between the modules have the function of communicating with the between bus transfer mechanism composed of (13).

【0010】リンクモジュール(3、4)は1つ以上の
物理ポート(24、25、26、27)と、伝送路(2
8、29、30、31)へのパケットの送信機能を有す
るパケット送信機構(20、21)と、伝送路(28、
29、30、31)からのパケットの受信機能を有する
パケット受信機構(22、23)と、モジュール間バス
(5)からのパケットの受信機能及び該バス(5)へパ
ケットを送信する機能を有するバス転送機構(14、1
5)と、ハードウエアアドレスとプロトコルアドレスの
両機能を兼ね備えたルーティング情報を有する中継情報
キャッシュ(16、17)と、該キャッシュ(16、1
7)の登録及び検索の機能を有するキャッシュ管理機構
(18、19)から構成される。
The link module (3, 4) includes one or more physical ports (24, 25, 26, 27) and a transmission line (2).
8, 29, 30, 31) and a packet transmission mechanism (20, 21) having a function of transmitting a packet to a transmission line (28,
29, 30, 31) having a packet receiving mechanism (22, 23) having a function of receiving a packet from the module, a function of receiving a packet from the inter-module bus (5) and a function of transmitting a packet to the bus (5). Bus transfer mechanism (14, 1
5), a relay information cache (16, 17) having routing information having both functions of a hardware address and a protocol address, and the cache (16, 1)
It is composed of a cache management mechanism (18, 19) having a registration and retrieval function of 7).

【0011】図2は伝送路上のパケットフォーマット
図、図3はモジュール間バス(5)上のモジュール間転
送パケットフォーマット図であり、伝送路パケット(3
2)は送信先ハードウエアアドレス部(36)と送信元
ハードウエアアドレス部(37)から成るデータリンク
層ヘッダ部(33)と送信先プロトコルアドレス部(3
8)と送信元プロトコルアドレス部(39)から成るネ
ットワーク層ヘッダ部(34)及びデータ部(35)か
ら構成され、更にプロトコルアドレス部(38、39)
はネットワーク部(40)及びステーション部(41)
から構成される。モジュール間転送パケット(42)は
送信先ポート番号(44)とキャッシュ登録先ポート番
号(45 )及び伝送路パケット(32)の到達点が自
ルータに直結しているネットワークに存在するか否かを
示す直結フラグ(46)から成るモジュール間転送パケ
ット管理ヘッダ部(43)と伝送路パケット(32)か
ら構成される。
FIG. 2 is a packet format diagram on the transmission line, and FIG. 3 is an inter-module transfer packet format diagram on the inter-module bus (5).
2) is a data link layer header part (33) consisting of a destination hardware address part (36) and a source hardware address part (37) and a destination protocol address part (3)
8) and a source layer protocol address section 39, a network layer header section 34 and a data section 35, and a protocol address section 38, 39.
Is a network section (40) and a station section (41)
Consists of The inter-module transfer packet (42) determines whether the destination port number (44), the cache registration destination port number (45), and the arrival point of the transmission path packet (32) are in the network directly connected to the own router. It is composed of an inter-module transfer packet management header part (43) including a direct connection flag (46) shown and a transmission line packet (32).

【0012】図4は中継情報キャッシュ(16、17)
のキャッシュエントリフォーマット図であり、1つのキ
ャッシュエントリ(47)は送信先プロトコルアドレス
(48)と送信先ポート番号(49)及び送信先ハード
ウエアアドレス(50)から構成され、データリンク層
アドレスとネットワーク層アドレスとの両情報を有する
ことを特徴とする該中継情報キャッシュ(16、17)
は0エントリ以上のキャッシュエントリ(47)から構
成される。
FIG. 4 shows the relay information cache (16, 17).
FIG. 4 is a cache entry format diagram of one cache entry (47), which is composed of a destination protocol address (48), a destination port number (49) and a destination hardware address (50), a data link layer address and a network. The relay information cache (16, 17) characterized by having both information of layer address
Is composed of 0 or more cache entries (47).

【0013】以下、マスタモジュール(2)及びリンク
モジュール(3、4)の各機構の動作を説明する。
The operation of each mechanism of the master module (2) and the link module (3, 4) will be described below.

【0014】図5はリンクモジュール(3、4)のパケ
ット受信時の処理フローであり、パケット受信機構(2
2、23)が物理ポート(24、25、26、27)か
ら伝送路パケット(32)を受信すると、キャッシュ管
理機構(18、19)に通知する。該キャッシュ管理機
構(18、19)は、先ず送信先プロトコルアドレス
(38)のネットワーク部(40)をキーとして中継情
報キャッシュ(16、17)からマッチするエントリ
(47)を検索し、検索が失敗した場合、更にプロトコ
ルアドレス全部(38)をキーとして再検索する。検索
が失敗した場合、バス転送機構(14、15)がパケッ
トをマスタモジュール(2)へ転送する。一方、前記の
検索が成功した場合、検索で読み出した中継情報キャッ
シュエントリ(47)の送信先ハードウエアアドレスを
該パケットの送信先ハードウエアアドレス部(36)に
コピーし、次に中継情報キャッシュエントリ(47)上
の送信先ポート番号(49)で示す物理ポートが該パケ
ットを受信した物理ポート(24、25、26、27)
と同一モジュールに存在するかの検査を実行する。前記
検査にて存在する場合は、パケット送信機構(20、2
1)が該パケットの送信元ハードウエアアドレス部(3
7)に送信する物理ポート(24、25、26、27)
のハードウエアアドレスをコピーし、送信処理を実行
し、前記検査にて存在しない場合はバス転送機構(1
4、15)が中継情報キャッシュエントリ(47)上の
送信先ポート番号の存在するリンクモジュール(3、
4)へ転送することにより高速なルーティングが実施さ
れる。
FIG. 5 is a processing flow when the link module (3, 4) receives a packet.
When the transmission line packet (32) is received by the physical port (24, 25, 26, 27) from the physical port (24, 25), it notifies the cache management mechanism (18, 19). The cache management mechanism (18, 19) first searches the relay information cache (16, 17) for a matching entry (47) using the network part (40) of the destination protocol address (38) as a key, and the search fails. In this case, all protocol addresses (38) are used as a key to search again. If the search fails, the bus transfer mechanism (14, 15) transfers the packet to the master module (2). On the other hand, if the search is successful, the destination hardware address of the relay information cache entry (47) read by the search is copied to the destination hardware address part (36) of the packet, and then the relay information cache entry The physical port indicated by the destination port number (49) in (47) is the physical port that received the packet (24, 25, 26, 27)
And check if it exists in the same module as. If it exists in the inspection, the packet transmission mechanism (20, 2,
1) is the source hardware address part (3
7) physical port to send to (24, 25, 26, 27)
Hardware address is copied, transmission processing is executed, and if it is not found in the above inspection, the bus transfer mechanism (1
4, 15) is the link module (3, where the destination port number on the relay information cache entry (47) exists.
High-speed routing is implemented by transferring to 4).

【0015】図6はリンクモジュール(3、4)でのキ
ャッシュ検索失敗後に行なわれるマスタモジュール中継
動作フローであり、モジュール間バス転送機構(13)
がモジュール間バス(5)から該パケット(42)を受
信すると、中継機構(12)に通知し、該機構(12)
は該パケットに含まれる伝送路パケット(32)の送信
先プロトコルアドレス(38)が自局宛かの検査を実行
する。前記検査にて自局宛である場合、自局宛パケット
処理機構(11)に通知し、前記検査にて自局宛でない
場合、経路情報管理機構(7)に通知し、該機構(7)
は該パケットの送信先プロトコルアドレス部(38)の
ネットワーク部(40)をキーとして経路情報データベ
ース(6)から最短経路を検索する。前記検索にて該当
経路が存在しない場合、該パケットを廃棄し、前記検索
にて該当経路が存在する場合は、モジュール間パケット
管理ヘッダ(43)の送信先ポート番号(44)に送信
物理ポート番号を書き、該ヘッダ(43)のキャッシュ
登録先ポート番号(45)に受信物理ポート番号を書
き、該パケットの到達点が自インタネットワーク装置
(1)に直結しているネットワークに存在するか否かを
示す直結フラグ(46)を書き、アドレス解決管理機構
(9)に通知する。該機構(9)はアドレス解決処理を
実行し、本処理が成功した場合、情報データベース
(8)を更新した後、該パケット(32)の送信先ハー
ドウエアアドレス部(36)にコピーし、中継機構(1
2)に通知する。アドレス解決処理が失敗した場合、該
パケットをはいきする。中継機構(12)はモジュール
間バスマルチキャスト機能がない場合、パケットを送信
先リンクモジュールへ転送した直後に同一パケットを受
信元リンクモジュールへ転送するが、該バスマルチキャ
スト機能がある場合、送信先リンクモジュールと受信元
リンクモジュールとへ同時に転送することにより、マル
チプロセッサ型のインタネットワーク装置(1)におけ
るモジュール間バス(5)の使用効率を向上することが
可能となり、かつ、必要な経路情報のみを動的にリンク
モジュールに登録することが可能となる。
FIG. 6 is a master module relay operation flow performed after a cache search failure in the link modules (3, 4). The inter-module bus transfer mechanism (13) is shown in FIG.
When the packet (42) is received from the inter-module bus (5), the relay mechanism (12) is notified and the mechanism (12) is notified.
Performs a check as to whether the destination protocol address (38) of the transmission path packet (32) included in the packet is addressed to itself. If it is addressed to its own station in the inspection, it notifies the packet processing mechanism (11) addressed to itself, and if it is not addressed to its own station, it notifies the route information management mechanism (7), and the mechanism (7)
Searches the shortest route from the route information database (6) using the network part (40) of the destination protocol address part (38) of the packet as a key. If the route does not exist in the search, the packet is discarded, and if the route exists in the search, the transmission physical port number is set in the destination port number (44) of the inter-module packet management header (43). And the reception physical port number in the cache registration port number (45) of the header (43), and whether the arrival point of the packet exists in the network directly connected to the own internetwork device (1). Write a direct connection flag (46) indicating that, and notify the address resolution management mechanism (9). The mechanism (9) executes address resolution processing, and if this processing is successful, updates the information database (8), then copies to the destination hardware address part (36) of the packet (32) and relays it. Mechanism (1
Notify 2). If the address resolution process fails, the packet is abandoned. The relay mechanism (12) transfers the same packet to the source link module immediately after transferring the packet to the destination link module when the inter-module bus multicast function is not provided. And the receiver link module at the same time, it is possible to improve the usage efficiency of the inter-module bus (5) in the multiprocessor type internetwork device (1) and to move only necessary route information. It becomes possible to register in the link module.

【0016】図7はリンクモジュール(3、4)がマス
タモジュール(2)又は他のリンクモジュール(3、
4)からモジュール間転送パケット(42)を受信する
際に実施するパケット送信/キャッシュ登録処理フロー
を示す。バス転送機構(14、15)がモジュール間転
送パケット(42)を受信するとモジュール間転送パケ
ット管理ヘッダ(43)の登録先ポート番号(45)で
示される物理ポートが自リンクモジュールに存在するか
のキャッシュ登録判定処理を実行する。存在しない場
合、該パケットをパケット送信機構(20、21)に通
知する。存在する場合、キャッシュ管理機構(18、1
9)に通知し、キャッシュ登録処理を実行する。該機構
(18、19)はモジュール間転送パケット管理ヘッダ
(43)の直結フラグ(46)を参照し、伝送路パケッ
ト(32)の到達点が自リンクモジュールに直結してい
るネットワークに存在する場合、該パケットの送信先プ
ロトコルアドレス全体(38)をキャッシュエントリ
(47)の送信先プロトコルアドレス(48)に登録
し、伝送路パケット(32)の到達点が自ルータに直結
しているネットワークに存在しない場合、該パケットの
送信先プロトコルアドレス部(38)のネットワーク部
(40)をキャッシュエントリ(47)の送信先プロト
コルアドレス(48)に登録し、該キャッシュエントリ
(47)の送信ポート番号(49)と送信先ハードウエ
アアドレス(50)にモジュール間転送パケット管理ヘ
ッダ(43)の送信先ポート番号(44)と送信先ハー
ドウエアアドレス(36)を登録し、パケット送信機構
(20、21)に通知する。該機構(20、21)はモ
ジュール間転送パケット管理ヘッダ(43)の送信先ポ
ート番号(44)で示される物理ポートが自リンクモジ
ュールに存在するかのパケット送信判定処理を実行す
る。存在する場合、該パケットの送信先ポート番号(4
4)で示される物理ポート(24、25、26、27)
に送信し、存在しない場合、該パケットを廃棄する。
In FIG. 7, the link module (3, 4) is a master module (2) or another link module (3, 4).
4 shows a packet transmission / cache registration processing flow executed when receiving the inter-module transfer packet (42) from 4). When the bus transfer mechanism (14, 15) receives the inter-module transfer packet (42), does the physical port indicated by the registration destination port number (45) of the inter-module transfer packet management header (43) exist in its own link module? Executes cache registration determination processing. If it does not exist, the packet is notified to the packet transmission mechanism (20, 21). If present, cache management mechanism (18, 1,
9) is notified and cache registration processing is executed. When the mechanism (18, 19) refers to the direct connection flag (46) of the inter-module transfer packet management header (43) and the arrival point of the transmission path packet (32) exists in the network directly connected to the own link module. , The entire destination protocol address (38) of the packet is registered in the destination protocol address (48) of the cache entry (47), and the arrival point of the transmission line packet (32) exists in the network directly connected to the own router. If not, the network part (40) of the destination protocol address part (38) of the packet is registered in the destination protocol address (48) of the cache entry (47), and the transmission port number (49) of the cache entry (47) is registered. ) And the destination hardware address (50) of the inter-module transfer packet management header (43) Shinsaki to register the port number (44) and a destination hardware address (36), and notifies the packet transmission mechanism (20, 21). The mechanism (20, 21) executes a packet transmission determination process as to whether the physical port indicated by the transmission destination port number (44) of the inter-module transfer packet management header (43) exists in its own link module. If it exists, the destination port number (4
4) Physical port (24, 25, 26, 27)
If the packet does not exist, the packet is discarded.

【0017】図8は、マスタモジュールの経路情報デー
タベース(6)又はアドレス解決情報データベース
(8)変化時におけるキャッシュエントリ削除指示を行
なうマスタモジュール(2)の動作フローであり、
(a)は経路情報データベース(6)変化時に、パケッ
ト中継機構(12)がタイマ監視機構(10)又は自局
宛パケット処理機構(11)からの通知を受けてネット
ワーク層のアドレス情報をキーとしたキャッシュエント
リ削除指示を全リンクモジュール(3、4)へ送信する
動作を示し、(b)はアドレス解決情報データベース
(8)変化時にパケット中継機構(12)がタイマ監視
機構(10)又は自局宛パケット処理機構(11)から
の通知を受けてハードウエアアドレス情報をキーとした
キャッシュエントリ削除指示を全リンクモジュール
(3、4)へ送信する動作である。
FIG. 8 is an operation flow of the master module (2) which gives a cache entry deletion instruction when the route information database (6) of the master module or the address resolution information database (8) changes.
In (a), when the route information database (6) changes, the packet relay mechanism (12) receives a notification from the timer monitoring mechanism (10) or the own-station-destined packet processing mechanism (11) and uses the address information of the network layer as a key. The operation for transmitting the cache entry deletion instruction to all the link modules (3, 4) is shown. (B) shows the packet relay mechanism (12) when the address resolution information database (8) changes and the timer monitoring mechanism (10) or its own station. This is an operation of receiving a notification from the destination packet processing mechanism (11) and transmitting a cache entry deletion instruction using the hardware address information as a key to all link modules (3, 4).

【0018】図9は、リンクモジュール(3、4)がキ
ャッシュエントリ削除指示を受信した時の動作フローを
であり、バス転送機構(14、15)がマスタモジュー
ル(2)からのキャッシュエントリ削除指示を受信し、
キャッシュ管理機構(18、19)に通知する。該管理
機構は、該指示のキーがネットワーク層アドレスである
か、データリンク層アドレスであるかを判定し、ネット
ワーク層アドレスがキーである場合、中継情報キャッシ
ュ(16、17)から該キーアドレスと同じ送信先プロ
トコルアドレス(48)を持つキャッシュエントリ(4
7)を検索し、ハードウエアアドレスがキーである場合
は、中継情報キャッシュ(16、17)から該キーアド
レスと同じ送信先ハードウエアアドレス(50)を持つ
キャッシュエントリ(47)を検索する。中継情報キャ
ッシュ(16、17)に該当エントリが存在する場合は
該エントリを削除し、該当エントリがない場合は処理を
終了する。
FIG. 9 shows the operation flow when the link module (3, 4) receives the cache entry deletion instruction, and the bus transfer mechanism (14, 15) instructs the cache entry deletion instruction from the master module (2). Received
Notify the cache management mechanism (18, 19). The management mechanism determines whether the key of the instruction is a network layer address or a data link layer address. If the network layer address is a key, the management information is stored in the relay information cache (16, 17) as the key address. A cache entry (4 with the same destination protocol address (48)
7) is searched, and if the hardware address is the key, the cache entry (47) having the same destination hardware address (50) as the key address is searched from the relay information cache (16, 17). If the corresponding entry exists in the relay information cache (16, 17), the entry is deleted, and if there is no corresponding entry, the process is terminated.

【0019】[0019]

【発明の効果】本発明によれば、マルチプロセッサ構造
のインタネットワーク装置における各リンクモジュール
が保持する経路情報は、各リンクモジュールに必要最低
限の情報のみであるため、メモリを効率的に使用するこ
とが可能である。また、各リンクモジュールが保持する
経路情報にはネットワーク層のアドレス情報とデータリ
ンク層のアドレス情報との両情報を兼ね備えているた
め、高速かつ効率の高い検索処理が可能となる。更にマ
ルチプロセッサ間の通信においてマルチキャスト方式を
用いることにより、マスタモジュールの処理及びプロセ
ッサ間接続バスの負荷の軽減が可能となる。
According to the present invention, since the route information held by each link module in the internetwork apparatus having the multiprocessor structure is only the minimum necessary information for each link module, the memory is used efficiently. It is possible. Further, since the route information held by each link module has both the information of the address of the network layer and the address information of the data link layer, high-speed and highly efficient search processing can be performed. Further, by using the multicast method in the communication between the multiprocessors, the processing of the master module and the load on the interprocessor connection bus can be reduced.

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

【図1】マルチプロセッサ構造のインタネットワーク装
置の構造図である。
FIG. 1 is a structural diagram of an internetwork device having a multiprocessor structure.

【図2】ネットワーク伝送路上を流れるパケットフォー
マットである。
FIG. 2 is a packet format flowing on a network transmission path.

【図3】インタネットワーク装置内のバス上を流れるパ
ケットフォーマットである。
FIG. 3 is a packet format flowing on a bus in an internetwork device.

【図4】リンクモジュールで保持するキャッシュエント
リのフォーマットである。
FIG. 4 is a format of a cache entry held by a link module.

【図5】リンクモジュールにおけるパケット受信処理フ
ローである。
FIG. 5 is a packet reception processing flow in the link module.

【図6】マスタモジュールにおける中継処理フローであ
る。
FIG. 6 is a relay processing flow in the master module.

【図7】リンクモジュールにおけるパケット送信処理フ
ローである。
FIG. 7 is a packet transmission processing flow in the link module.

【図8】マスタモジュールでのキャッシュエントリ削除
指示送信処理フローである。
FIG. 8 is a flowchart of a cache entry deletion instruction transmission processing flow in the master module.

【図9】リンクモジュールでのキャッシュエントリ削除
指示受信処理フローである。
FIG. 9 is a flow chart of a cache entry deletion instruction reception processing flow in the link module.

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

1…インタネットワーク装置、2…マスタモジュール、
3、4…リンクモジュール、5…モジュール間バス、6
…経路情報データベース、7…経路情報管理機構、8…
アドレス解決情報データベース、9…アドレス解決情報
管理機構、10…タイマ監視機構、11…自局宛パケッ
ト処理機構、12…パケット中継機構、13…モジュー
ル間バス転送機構、14、15…バス転送機構、16、
17…中継情報キャッシュ、18、19…キャッシュ管
理機構、20、21…パケット送信機構、22、23…
パケット受信機構、24〜27…物理ポート、28〜3
1…伝送路。
1 ... Internetwork device, 2 ... Master module,
3, 4 ... Link module, 5 ... Inter-module bus, 6
... Route information database, 7 ... Route information management mechanism, 8 ...
Address resolution information database, 9 ... Address resolution information management mechanism, 10 ... Timer monitoring mechanism, 11 ... Self-addressed packet processing mechanism, 12 ... Packet relay mechanism, 13 ... Inter-module bus transfer mechanism, 14, 15 ... Bus transfer mechanism, 16,
17 ... Relay information cache, 18, 19 ... Cache management mechanism, 20, 21 ... Packet transmission mechanism, 22, 23 ...
Packet receiving mechanism, 24-27 ... Physical port, 28-3
1 ... Transmission line.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 アンドリュー ハート 神奈川県海老名市下今泉810番地株式会社 日立製作所オフィスシステム事業部内 (72)発明者 福田 将志 神奈川県海老名市下今泉810番地株式会社 日立製作所オフィスシステム事業部内 (72)発明者 迫田 博幸 神奈川県秦野市堀山下1番地日立コンピュ ータエンジニアリング株式会社内 (72)発明者 及川 康範 神奈川県横浜市中区尾上町6丁目81番地日 立ソフトウェアエンジニアリング株式会社 内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Andrew Heart 810 Shimoimaizumi, Ebina City, Kanagawa Prefecture, Office Systems Division, Hitachi, Ltd. (72) Masashi Fukuda 810 Shimoimaizumi, Ebina City, Kanagawa Hitachi, Ltd. Office (72) Inventor Hiroyuki Sakoda 1 Horiyamashita, Hadano City, Kanagawa Prefecture Hitachi Computer Engineering Co., Ltd. (72) Inventor, Yasunori Oikawa 6-81, Onoue-cho, Naka-ku, Yokohama, Kanagawa Hitachi Software Engineering Co., Ltd. In the company

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】複数のネットワークを相互に接続し、接続
したネットワーク間のパケット中継を行うインタネット
ワーク装置であって、ルーティングプロトコルを実行す
るマスタモジュールとネットワーク間のパケット中継処
理を行う1つまたは複数のリンクモジュールとを有し、
前記マスタモジュールと前記リンクモジュールをそれぞ
れ別のプロセッサにて構成し、前記マスタモジュールと
前記リンクモジュールはモジュール間バスを介して相互
接続されており、前記マスタモジュールは経路情報の計
算を行う経路情報管理機構と経路情報の計算結果である
経路情報部と端末の宛先ハードウエアアドレスを解決す
るアドレス解決情報管理機構と宛先ハードウエアアドレ
スの解決結果であるアドレス解決情報部と端末間の通信
パケットの中継処理を行うフレーム中継機構とモジュー
ル間バスを介して前記リンクモジュールへパケットの転
送処理及び受信処理を行うモジュール間バス転送機構を
具備し、前記リンクモジュールはネットワークへの接続
を行う1つまたは複数のポートと前記ポートが受信した
パケットの受信処理を行うパケット受信機構と前記ポー
トを介してネットワークへのパケット送信処理を行うパ
ケット送信機構と経路情報部及びアドレス解決情報部を
有するキャッシュ部と前記キャッシュ部への経路情報及
びアドレス解決情報の登録及び削除を行うキャッシュ管
理機構と前記キャッシュ部を参照し受信パケットの宛先
検索処理を行うキャッシュ検索機構とネットワークから
受信したパケットを前記モジュール間バスを介して前記
マスタモジュールまたは前記他リンクモジュールへの転
送を行うモジュール間バス転送機構を具備し、ネットワ
ークに接続した前記ポートから前記パケット受信機構を
介してパケットを受信した時に前記パケットの宛先ネッ
トワークアドレス情報をキーとして前記キャッシュ部を
前記キャッシュ検索機構が検索し、検索の結果、中継先
情報及び宛先ハードウエアアドレス情報が前記キャッシ
ュ部に登録されている場合、前記バス転送機構を利用し
て、登録されているパケットの中継先である前記他リン
クモジュールへパケットの転送を行い、前記他リンクモ
ジュールは転送された前記パケットをバス転送機構を介
して受信し、受信した前記パケットをパケット送信機構
を介してネットワークを接続した前記ポートへパケット
送信を行うことを特徴とするインタネットワーク装置。
1. An internetwork device for connecting a plurality of networks to each other and relaying packets between the connected networks, wherein one or more internetwork devices for performing a packet relay process between a master module executing a routing protocol and the networks. And a link module of
The master module and the link module are configured by separate processors, the master module and the link module are interconnected via an inter-module bus, and the master module manages route information. Address resolution information management that resolves the destination hardware address of the route information section and the terminal that is the calculation result of the mechanism and the route information, and the relay processing of the communication packet between the address resolution information section that is the resolution result of the destination hardware address and the terminal The inter-module bus transfer mechanism that transfers and receives packets to and from the link module via the inter-module bus and the frame relay mechanism that performs one or more of the link modules. Port and reception process of packet received by the port And a packet transmission mechanism for performing packet transmission processing to the network through the port, a cache unit having a route information unit and an address resolution information unit, and registration of route information and address resolution information in the cache unit, and A cache management mechanism for deleting and a cache search mechanism for performing a destination search process of a received packet by referring to the cache unit and a packet received from a network are transferred to the master module or the other link module via the inter-module bus. When the packet is received from the port connected to the network via the packet receiving mechanism, the cache search mechanism searches the cache unit using the destination network address information of the packet as a key. Then As a result of the search, when the relay destination information and the destination hardware address information are registered in the cache unit, the bus transfer mechanism is used to transfer the packet to the other link module which is the relay destination of the registered packet. The other link module performs transfer, receives the transferred packet via the bus transfer mechanism, and transmits the received packet to the port connected to the network via the packet transmission mechanism. Internetworking equipment.
【請求項2】前記キャッシュ部中の個々のエントリ情報
は、前記経路情報部の中継先情報と前記アドレス解決情
報部の宛先ハードウエアアドレス情報の両情報で構成さ
れ、前記キャッシュ部が有する中継先情報の数は前記経
路情報部が有する中継先情報の全部あるいは一部のみを
有し、前記キャッシュ部が有する宛先ハードウエアアド
レス情報の数は前記アドレス解決情報部が有する宛先ハ
ードウエアアドレス情報の全部あるいは一部のみを有す
ることを特徴とする請求項1記載のインタネットワーク
装置。
2. The individual entry information in the cache unit is composed of both relay destination information of the route information unit and destination hardware address information of the address resolution information unit, and the relay destination of the cache unit. The number of pieces of information includes all or part of the relay destination information included in the route information section, and the number of destination hardware address information included in the cache section corresponds to the entire destination hardware address information included in the address resolution information section. Alternatively, the internetwork device according to claim 1, wherein the internetwork device has only a part thereof.
【請求項3】前記キャッシュ検索機構が前記キャッシュ
部の検索を行った時に、中継先情報または宛先ハードウ
エアアドレス情報が前記キャッシュ部に登録されていな
かった場合には、前記バス転送機構を利用して、前記マ
スタモジュール宛に前記パケットの送信を行い、送信さ
れたパケットをモジュール間バス転送機構を介して受信
したマスタモジュールは、前記パケットの受信処理を前
記フレーム中継機構にて行い、前記経路情報部からは中
継先情報を経路情報管理機構が、前記アドレス解決情報
部からは宛先ハードウエアアドレス情報をアドレス解決
情報管理機構が受信した前記パケット中の宛先ネットワ
ークアドレス情報をキーとして検索を行い、検索結果か
ら得た中継先情報及び宛先ハードウエアアドレス情報を
用いてフレーム中継機構は前記パケットの送信先である
前記リンクモジュール宛に前記モジュール間バス転送機
構を利用して送信し、前記マスタモジュールから前記パ
ケットをバス転送機構を介して受信した前記リンクモジ
ュールがパケット送信機構を介してネットワークを接続
した前記ポートへパケット送信を行うことを特徴とする
請求項1記載のインタネットワーク装置。
3. The bus transfer mechanism is used if relay destination information or destination hardware address information is not registered in the cache unit when the cache search mechanism searches the cache unit. Then, the master module, which transmits the packet to the master module and receives the transmitted packet via the inter-module bus transfer mechanism, performs the packet reception process in the frame relay mechanism, The routing information management mechanism searches the relay destination information from the unit, and the destination hardware address information is searched from the address resolution information unit using the destination network address information in the packet received by the address resolution information management mechanism as a key. In the frame using the relay destination information and destination hardware address information obtained from the result The mechanism transmits to the link module that is the destination of the packet using the inter-module bus transfer mechanism, and the link module that receives the packet from the master module via the bus transfer mechanism uses the packet transmission mechanism. The internetwork apparatus according to claim 1, wherein packet transmission is performed to the port connected to the network via the network.
【請求項4】前記マスタモジュールは、前記パケットの
送信元リンクモジュールに対して中継先情報及び宛先ハ
ードウエアアドレス情報の登録指示をモジュール間バス
転送機構を介して動的に行うことを特徴とする請求項3
記載のインタネットワーク装置。
4. The master module dynamically gives a registration instruction of relay destination information and destination hardware address information to a transmission source link module of the packet via an inter-module bus transfer mechanism. Claim 3
The internetwork device described.
【請求項5】前記モジュール間バス転送機構のバスマル
チキャスト転送機能を利用することにより、前記パケッ
トの送信元である前記リンクモジュールに対する中継先
情報及び宛先ハードウエアアドレス情報の登録指示と、
前記パケットの送信先である前記リンクモジュールへの
パケット送信を同時に行うことを特徴とする請求項4記
載のインタネットワーク装置。
5. A registration instruction of relay destination information and destination hardware address information for the link module which is a transmission source of the packet by utilizing a bus multicast transfer function of the inter-module bus transfer mechanism,
The internetwork apparatus according to claim 4, wherein packet transmission to the link module, which is the destination of the packet, is performed simultaneously.
JP8083654A 1996-04-05 1996-04-05 Inter-network equipment Pending JPH09275413A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8083654A JPH09275413A (en) 1996-04-05 1996-04-05 Inter-network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8083654A JPH09275413A (en) 1996-04-05 1996-04-05 Inter-network equipment

Publications (1)

Publication Number Publication Date
JPH09275413A true JPH09275413A (en) 1997-10-21

Family

ID=13808450

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8083654A Pending JPH09275413A (en) 1996-04-05 1996-04-05 Inter-network equipment

Country Status (1)

Country Link
JP (1) JPH09275413A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10011667A1 (en) * 2000-03-10 2001-09-20 Infineon Technologies Ag High-speed router for data packet transmission between data networks
US6553031B1 (en) 1999-08-02 2003-04-22 Hitachi, Ltd. Communication node apparatus with routing tables in cache memories
JP2014505409A (en) * 2010-12-21 2014-02-27 トムソン ライセンシング DNS proxy service for multi-core platforms
JP2014505410A (en) * 2010-12-21 2014-02-27 トムソン ライセンシング DNS forwarder for multi-core platforms

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6553031B1 (en) 1999-08-02 2003-04-22 Hitachi, Ltd. Communication node apparatus with routing tables in cache memories
DE10011667A1 (en) * 2000-03-10 2001-09-20 Infineon Technologies Ag High-speed router for data packet transmission between data networks
DE10011667C2 (en) * 2000-03-10 2002-11-21 Infineon Technologies Ag High Speed Router
US7079538B2 (en) 2000-03-10 2006-07-18 Infineon Technologies Ag High-speed router
JP2014505409A (en) * 2010-12-21 2014-02-27 トムソン ライセンシング DNS proxy service for multi-core platforms
JP2014505410A (en) * 2010-12-21 2014-02-27 トムソン ライセンシング DNS forwarder for multi-core platforms
US9697173B2 (en) 2010-12-21 2017-07-04 Thomson Licensing DNS proxy service for multi-core platforms

Similar Documents

Publication Publication Date Title
US7230914B2 (en) Method and system for synchronizing a standby route distributor in a distributed routing platform
US5781715A (en) Fault-tolerant bridge/router with a distributed switch-over mechanism
JP5376371B2 (en) Network interface card used for parallel computing systems
JP3645734B2 (en) Network relay device and network relay method
JP4068166B2 (en) Search engine architecture for high performance multilayer switch elements
JP4867545B2 (en) Communication device and search table management method used therefor
CN103125102A (en) System and method for providing ethernet over infiniband virtual hub scalability in a middleware machine environment
JP2002508124A (en) Mechanism for replacing packet fields in multilayer switching network elements
JP2001045061A (en) Communication node device
JP2002111723A (en) Routing system
GB2458546A (en) Network switch wherein egress port specified by ingress interface is overwritten with standby port before switch fabric for failed ports
US7564860B2 (en) Apparatus and method for workflow-based routing in a distributed architecture router
US20050010687A1 (en) Multiprocessor network multicasting and gathering
CN107077429A (en) Method for reading data, equipment and system
JP3825692B2 (en) Method and apparatus for handling invalidation requests for processors not present in a computer system
JPH09275413A (en) Inter-network equipment
US20030123387A1 (en) Device and method for filtering network traffic
Tantawy et al. On the design of a multigigabit IP router
JP3620719B2 (en) Routing processing system in data exchange equipment
JP3645733B2 (en) Network relay device and network relay method
JPH06197111A (en) Internetwork device
AT&T
JPH07111507A (en) Data reception system and communication controller
Hutchinson et al. The flooding sink—a new approach to local area networking
JPH09289524A (en) Packet router processor