JP2000083051A - Packet relaying method and packet relaying device - Google Patents

Packet relaying method and packet relaying device

Info

Publication number
JP2000083051A
JP2000083051A JP37442798A JP37442798A JP2000083051A JP 2000083051 A JP2000083051 A JP 2000083051A JP 37442798 A JP37442798 A JP 37442798A JP 37442798 A JP37442798 A JP 37442798A JP 2000083051 A JP2000083051 A JP 2000083051A
Authority
JP
Japan
Prior art keywords
relay
information
packet
route
destination
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.)
Granted
Application number
JP37442798A
Other languages
Japanese (ja)
Other versions
JP3928833B2 (en
Inventor
Satoshi Kimura
智 木村
Hiroshi Sekino
浩 関野
Nagayuki Hirota
永幸 弘田
Hisayoshi Hayashi
久善 林
Shigeki Morimoto
茂樹 森本
Yoshito Sako
義人 左古
Masashi Fukuda
将志 福田
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 Ltd
Hitachi Information Technology Co Ltd
Original Assignee
Hitachi Ltd
Hitachi Information Technology 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 Ltd, Hitachi Information Technology Co Ltd filed Critical Hitachi Ltd
Priority to JP37442798A priority Critical patent/JP3928833B2/en
Publication of JP2000083051A publication Critical patent/JP2000083051A/en
Application granted granted Critical
Publication of JP3928833B2 publication Critical patent/JP3928833B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a packet relaying device without causing any packet relay wait caused by a route calculation. SOLUTION: A route calculating part 1 preliminarily distributes a relaying basic information 3 being the basis of route calculation to a forwarding part 2 and the part 2 decides a relaying route by utilizing a preliminarily distributed relaying basic information 6 in the case of receiving a packet where a destination does not exist in a relaying determination information 26, relays the packet and then reports noncoincidence destination information of the packet to the route calculating part 1. The part 1 formally produces relaying determination information according to the relaying basic information 3 and the noncoincidence destination information and distributes it to the forwarding part 2. The part 2 relays the same destination packet that arrives next according to the distributed relation determination information.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、中継パケットの情
報を中継方路選択に使用するパケット中継方法及びパケ
ット中継装置に係わり、特にマルチキャスト通信に好適
なパケット中継方法及びパケット中継装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a packet relay method and a packet relay apparatus using information of a relay packet for selecting a relay route, and more particularly to a packet relay method and a packet relay apparatus suitable for multicast communication.

【0002】[0002]

【従来の技術】マルチキャスト通信とは、1つの計算機
(ノード)がグループ宛に送信したパケットをそのグル
ープに属する複数の計算機(ノード)のすべてに中継伝
達するものである。図6にマルチキャスト通信の概念図
を示す。図6では、ソースSの計算機(150)が送信
したパケットが同一グループGのすべての計算機(15
1〜157)に中継伝達されることを示している。グル
ープとは、マルチキャストの通信単位であり、パケット
中継装置は1つのグループに対し、複数の中継インタフ
ェースを保持している。基本的に、マルチキャスト通信
では、同一のパケットを同一の計算機およびパケット中
継装置に中継させない。ゆえに、パケット中継装置の入
インタフェースは必ず1インタフェースである。ただ
し、ルーティングプロトコルのルート解決段階において
はその限りではない。図6のマルチキャスト通信では、
グループ宛パケットを受信したパケット中継装置(ルー
タ)Rは、マルチキャストルーティングの冗長経路であ
るR1とR4間(158)、R4とR3間(159)、
R2とR3間(160)、R6とR9間(161)、R
8とR9間(162)にはパケット(IPデータグラ
ム)を中継しない。また、例えばR7(166)を考え
ると、データの流れを発信元側(163)を上流とし、
宛先側を下流(164,165)とした場合、1つのパ
ケット中継装置の上流に位置する計算機(151)に対
しては、より上流のパケット中継装置(167)が中継
するため、上流側(163)に中継する必要はない。
2. Description of the Related Art In multicast communication, a packet transmitted from one computer (node) to a group is relayed to all of a plurality of computers (nodes) belonging to the group. FIG. 6 shows a conceptual diagram of the multicast communication. In FIG. 6, the packet transmitted by the computer (150) of the source S is transmitted to all the computers (15
1 to 157). A group is a unit of multicast communication, and the packet relay device holds a plurality of relay interfaces for one group. Basically, in multicast communication, the same packet is not relayed to the same computer and packet relay device. Therefore, the input interface of the packet relay device is always one interface. However, this is not the case at the route resolution stage of the routing protocol. In the multicast communication of FIG.
The packet relay device (router) R which has received the packet addressed to the group transmits the redundant route of multicast routing between R1 and R4 (158), between R4 and R3 (159),
Between R2 and R3 (160), between R6 and R9 (161), R
No packets (IP datagrams) are relayed between 8 and R9 (162). Further, for example, considering R7 (166), the data flow is set such that the source side (163) is upstream,
If the destination side is downstream (164, 165), the upstream packet relay device (167) relays to the computer (151) located upstream of one packet relay device. No need to relay to).

【0003】従来のマルチキャスト通信を実現するパケ
ット中継装置について、図17に従い説明する。パケッ
ト中継装置は、1つ以上の物理もしくは論理インタフェ
ース(ここでは221〜226)を持ち、大きくフォワ
ーディング部(235)と経路計算部(236)に分か
れる。一般に経路計算部(236)は複数のフォワーデ
ィング部(235)を管理する。
A conventional packet relay device for realizing multicast communication will be described with reference to FIG. The packet relay device has one or more physical or logical interfaces (here, 221 to 226), and is largely divided into a forwarding unit (235) and a route calculation unit (236). Generally, the route calculation unit (236) manages a plurality of forwarding units (235).

【0004】フォワーディング部(235)は、特定の
パケットを中継するための中継確定情報(234)を持
ち、1つのインタフェース(221)から受信したパケ
ット(227)のアドレス情報と、中継確定情報(23
4)のアドレス部を比較し、一致する中継確定情報のエ
ントリの出インタフェース部に従い中継動作を行う。中
継確定情報(234)には、過去に受信したパケットに
ついて、経路計算部(236)により経路計算した結果
が登録される。
The forwarding section (235) has relay determination information (234) for relaying a specific packet, and has address information of a packet (227) received from one interface (221) and relay determination information (23).
The address part of 4) is compared, and the relay operation is performed according to the outgoing interface part of the entry of the matching relay determination information. Registered in the relay determination information (234) is a result of a route calculation performed by the route calculation unit (236) on a packet received in the past.

【0005】経路計算部(236)は、発信元情報が正
しいインタフェースから受信しているかを確認するため
の発信元情報(240)と、宛先により中継先を示す宛
先情報(241)からなる中継基礎情報(220)を持
つ。この中継基礎情報(220)の発信元情報(24
0)の入インタフェース部には、その発信元に最適のイ
ンタフェースを登録する。中継基礎情報(220)の宛
先情報(241)の宛先部にはグループアドレスを登録
し、出インタフェース部にはそのグループに中継するた
めの最適の複数のインタフェースを登録する。この中継
基礎情報(220)は、ユーザが設定する場合や、ルー
ティングプロトコルなどで装置間で解決する場合があ
る。
[0005] The route calculation unit (236) is a relay base consisting of source information (240) for confirming whether source information is received from a correct interface, and destination information (241) indicating a relay destination by a destination. It has information (220). Source information (24) of the relay basic information (220)
In the input interface section 0), an interface most suitable for the transmission source is registered. A group address is registered in the destination section of the destination information (241) of the relay basic information (220), and a plurality of optimal interfaces for relaying to the group are registered in the output interface section. The relay basic information (220) may be set by a user or may be resolved between devices by a routing protocol or the like.

【0006】このような構成のパケット中継装置におい
て、従来技術の場合、フォワーディング部(235)
は、中継確定情報(234)に未登録の宛先のパケット
(232)を受信した場合、当該パケット(232)を
中継待ちキュー(237)に登録し、経路計算部(23
6)に、該受信パケット(232)のアドレス情報と受
信インタフェース情報からなる不一致宛先情報(23
3)を報告する。経路計算部(236)は、フォワーデ
ィング部(235)から中継確定情報(234)に一致
するアドレス部が存在しないことを示す不一致宛先情報
(233)を受け取ると、該不一致宛先情報(233)
内のアドレス情報に含まれる発信元情報および宛先情報
と経路計算部内の中継基礎情報(220)の発信元情報
(240)および宛先情報(241)を1エントリずつ
比較し、受信方路の正当性の確認と中継先を算出し、宛
先情報(241)の出インタフェース部から入インタフ
ェースを削除して、フォワーディング部(235)に新
たな中継確定情報エントリ追加要求(238)を発行す
る。フォワーディング部(235)は、経路計算部(2
36)からの中継確定情報エントリ追加要求(238)
の内容を新たに中継確定情報(234)として格納し
(242)、中継待ちキュー(237)に登録している
パケットから、この経路計算部(236)が新たに配布
した中継確定情報(234)のアドレス部(239)と
一致する宛先のパケット(227)を中継確定情報(2
34)に従い(243)、インタフェース(222,2
23,224,226)に中継する(228〜23
1)。そして、次に到着する同宛先を持つ中継パケット
は新規に追加された中継確定情報に従い中継する。
In the packet relay device having such a configuration, in the case of the prior art, the forwarding unit (235)
Receives the packet (232) of the destination not registered in the relay determination information (234), registers the packet (232) in the relay waiting queue (237), and
6), the mismatch destination information (23) comprising the address information of the received packet (232) and the reception interface information.
Report 3). Upon receiving from the forwarding unit (235) the mismatch destination information (233) indicating that there is no address portion that matches the relay determination information (234), the route calculation unit (236) receives the mismatch destination information (233).
The source information and the destination information included in the address information in the field and the source information (240) and the destination information (241) of the relay basic information (220) in the route calculation unit are compared one entry at a time, and the validity of the receiving route is compared. And the relay destination is calculated, the incoming interface is deleted from the outgoing interface section of the destination information (241), and a new relay fixed information entry addition request (238) is issued to the forwarding section (235). The forwarding unit (235) includes a route calculation unit (2
36) Request to add relay confirmation information entry from (238)
Is newly stored as relay determination information (234) (242), and from the packets registered in the relay queue (237), the relay determination information (234) newly distributed by the route calculation unit (236) The packet (227) of the destination that matches the address portion (239) of the
34) (243), the interface (222, 2)
23, 224, 226) (228-23)
1). Then, the next arriving relay packet having the same destination is relayed according to the newly added relay determination information.

【0007】もし、フォワーディング部(235)から
報告された不一致宛先情報(233)に対して、経路計
算部(236)での経路計算において、新たな中継確定
情報が生成できなかった場合は、経路計算部(236)
は中継確定情報作成不可報告をフォワーディング部(2
35)に報告する。フォワーディング部(235)は中
継確定情報作成不可報告を受けると、中継待ちキュー
(237)から該中継確定情報作成不可報告で指定され
たパケットを削除する。
If new route determination information cannot be generated in the route calculation by the route calculator (236) for the mismatched destination information (233) reported from the forwarding unit (235), Calculation part (236)
Sends the relay confirmation information creation failure report to the forwarding unit (2
35). The forwarding unit (235), upon receiving the relay fixed information creation failure report, deletes the packet specified by the relay fixed information creation failure report from the relay queue (237).

【0008】なお、図には示されていないが、経路計算
部(236)は中継確定情報(234)を管理してお
り、ネットワークなどの状態変化に応じてフォワーディ
ング部(235)へ中継確定情報(234)の変更も指
示する。
Although not shown in the figure, the route calculation unit (236) manages the relay determination information (234), and sends the relay determination information to the forwarding unit (235) according to a change in the state of the network or the like. The change of (234) is also instructed.

【0009】[0009]

【発明が解決しようとする課題】このように、従来のパ
ケット中継装置においては、フォワーディング部の中継
確定情報に未登録の宛先のパケットを受信した場合、フ
ォワーディング部では当該受信パケットを中継待ちキュ
ーに登録して、経路計算部に不一致宛先情報を報告し、
経路計算部からの新たな中継確定情報あるいは生成不可
通知を待って、受信パケットの中継あるいは削除を行う
ため、パケット中継の伝送遅延が発生し、さらに、中継
待ちキューが有限であることから輻輳時などで溢れが生
じ、中継すべきパケットが破棄されるという問題があっ
た。また、経路計算部では、フォワーディング部から不
一致宛先情報を受け取ると、逐一経路計算を実行するた
め、新たな中継確定情報が生成できなかった場合は、は
じめから中継不可能なパケットの経路計算を経路計算部
で行うといった冗長処理の問題があった。
As described above, in the conventional packet relay device, when a packet of a destination not registered in the relay determination information of the forwarding unit is received, the forwarding unit places the received packet in a relay queue. Register, report the mismatched destination information to the route calculation unit,
Waiting for new relay confirmation information or generation failure notification from the route calculation unit, relaying or deleting the received packet causes a transmission delay of packet relay. For example, there is a problem that packets to be relayed are discarded. In addition, when receiving the mismatched destination information from the forwarding unit, the route calculation unit executes the route calculation one by one. Therefore, if new relay determination information cannot be generated, the route calculation of the packet that cannot be relayed from the beginning is performed. There is a problem of a redundant process such as performing in a calculation unit.

【0010】本発明は、上記従来のパケット中継装置の
問題に鑑み、中継確定情報に未登録の宛先のパケットを
受信した場合の、フォワーディング部での経路計算部か
らの中継確定情報配布待ちによる中継パケットの伝送遅
延の発生や中継待ちキュー溢れによるパケット廃棄の発
生、さらには、経路計算部での冗長な経路計算処理の発
生等を防止・軽減することを目的とすることにある。
The present invention has been made in view of the above-described problems of the conventional packet relay apparatus, and has been developed in the event that a packet having a destination not registered in the relay determination information is received. It is an object of the present invention to prevent and reduce the occurrence of packet transmission delay and the occurrence of packet discard due to overflow of a relay queue, and the occurrence of redundant route calculation processing in a route calculation unit.

【0011】[0011]

【課題を解決するための手段】上記目的を達成するため
に、本発明では、経路計算とパケット中継の処理の順番
を換えて、経路計算前に中継基礎情報を基に中継方路を
決定し、パケットを中継した後で経路計算を行い、中継
確定情報を生成することにより、次以降の同宛先パケッ
トを該中継確定情報に従い中継するようにする。
In order to achieve the above object, according to the present invention, the order of processing of route calculation and packet relay is changed, and a relay route is determined based on basic relay information before route calculation. Then, by performing a route calculation after relaying the packet and generating relay determination information, the next and subsequent same destination packets are relayed according to the relay determination information.

【0012】具体的には経路計算部は、ユーザの固定設
定した中継基礎情報、あるいは隣接するパケット中継装
置または計算機同士の通信により収集した経路情報によ
り生成した中継基礎情報をあらかじめフォワーディング
部に配布し、フォワーディング部は、宛先が中継確定情
報に存在しないパケットを受信した場合、この経路計算
部からあらかじめ配布されている中継基礎情報を利用し
て中継方路を計算し、当該パケットを中継待ちキューに
格納することなく中継または廃棄する。それと同時にフ
ォワーディング部は、この宛先が中継確定情報に存在し
ない受信パケット情報を含む不一致宛先情報を経路計算
部に報告し、経路計算部は、保持している中継基礎情報
とフォワーディング部から受けた不一致宛先情報の受信
パケット情報により新たな中継確定情報を正式に作成
し、フォワーディング部に配布する。次到着の同一宛先
パケットは、フォワーディング部で、この経路計算部か
ら配布された中継確定情報に従い中継する。
More specifically, the route calculation unit distributes the basic relay information fixed by the user or the basic relay information generated based on the route information collected by communication between adjacent packet relay devices or computers to the forwarding unit in advance. When the forwarding unit receives a packet whose destination does not exist in the relay determination information, the forwarding unit calculates a relay route using the basic relay information distributed in advance from the route calculation unit, and places the packet in the relay waiting queue. Relay or discard without storing. At the same time, the forwarding unit reports the mismatch destination information including the received packet information whose destination does not exist in the relay determination information to the route calculation unit, and the route calculation unit checks the held relay basic information and the mismatch received from the forwarding unit. New relay decision information is formally created based on the received packet information of the destination information, and distributed to the forwarding unit. The next arrival same destination packet is relayed by the forwarding unit in accordance with the relay determination information distributed from the route calculation unit.

【0013】これにより、中継確定情報に未登録の宛先
パケットを受信した場合、経路計算によるパケット中継
の遅延や中継待ちキュー溢れによるパケット破棄がなく
なり、また、中継不可能なパケットは、フォワーディン
グ部で廃棄するため、経路計算部に報告する必要がなく
なることにより冗長処理も削減できる。
[0013] Thus, when a destination packet not registered in the relay determination information is received, packet relay delay due to route calculation and packet discard due to overflow of the relay waiting queue are eliminated, and packets that cannot be relayed are forwarded by the forwarding unit. Since it is discarded, there is no need to report to the route calculation unit, so that redundant processing can be reduced.

【0014】また、本発明の別の構成では、フォワーデ
ィング部が決定した中継方路をフォワーディング部で一
時的に中継確定情報として登録しておき、経路計算部へ
報告した不一致宛先情報に対応する中継確定情報が経路
計算部から配布される以前に、フォワーディング部が次
到着の同一宛先パケットを受信した場合、フォワーディ
ング部で一時的に登録した中継確定情報に従い中継す
る。これにより、フォワーディング部は、経路計算部へ
冗長な不一致宛先情報を報告することを削除でき、ま
た、経路計算部は、冗長な不一致宛先情報の報告による
冗長な経路計算を削除できる。
Further, in another configuration of the present invention, the forwarding route determined by the forwarding unit is temporarily registered in the forwarding unit as relay determination information, and the forwarding route corresponding to the mismatched destination information reported to the route calculation unit is registered. If the forwarding unit receives the same destination packet of the next arrival before the decision information is distributed from the route calculation unit, the forwarding unit relays according to the relay decision information temporarily registered in the forwarding unit. Thereby, the forwarding unit can delete the report of the redundant mismatched destination information to the route calculation unit, and the route calculation unit can delete the redundant route calculation based on the report of the redundant mismatched destination information.

【0015】なお、フォワーディング部は少なくとも最
初の不一致宛先情報を経路計算部に報告し、経路計算部
にて中継確定情報を正式に作成してフォワーディング部
に配布するため、経路計算部で管理する中継確定情報と
フォワーディング部の中継確定情報の一致性が保証され
る。
The forwarding unit reports at least the first mismatched destination information to the route calculation unit, and the route calculation unit formalizes the relay determination information and distributes it to the forwarding unit. The consistency between the determined information and the relay determined information of the forwarding unit is guaranteed.

【0016】[0016]

【発明の実施の形態】以下、本発明の実施形態について
図面を参照して説明する。図1は、本発明によるパケッ
ト中継装置の第一の実施形態の機能ブロック図である。
本パケット中継装置は、図17と同様に、6つのインタ
フェース(11〜16)を持ち、大きく、パケットの中
継経路を計算する経路計算部(1)とパケットを中継す
るフォワーディング部(2)に分かれる。経路計算部
(1)とフォワーディング部(2)は、経路計算と中継
処理の同時動作を可能にするため、それぞれ異なるプロ
セッサにより実現するのが好ましいが、単一プロセッサ
の別タスクモジュールに分けることでもよい。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a functional block diagram of a first embodiment of a packet relay device according to the present invention.
This packet relay device has six interfaces (11 to 16) as in FIG. 17, and is largely divided into a route calculation unit (1) for calculating a packet relay route and a forwarding unit (2) for relaying the packet. . The route calculation unit (1) and the forwarding unit (2) are preferably implemented by different processors in order to enable simultaneous operation of the route calculation and the relay process, but may be divided into separate task modules of a single processor. Good.

【0017】経路計算部(1)は、中継経路を計算する
基となる中継基礎情報(3)の更新と、中継基礎情報
(3)を使い経路計算した結果である特定パケットの中
継方路を格納した中継確定情報の生成と管理、フォワー
ディング部(2)への中継確定情報(26)と中継基礎
情報(6)の登録および更新を行う。本実施例では、中
継基礎情報(3)は、このネットワーク内の受信パケッ
トの受信方路の正当性をチェックするための発信元情報
(4)と受信パケットの中継先を示す宛先情報(5)か
らなる。プロトコル情報(29)については後述する。
一般に経路計算部(1)は複数のフォワーディング部
(2)を管理し、より信頼性を高める場合には、現用と
予備の二重化構成がとられる。
The route calculation unit (1) updates the relay basic information (3) on which the relay route is calculated, and determines the relay route of the specific packet which is the result of the route calculation using the relay basic information (3). It generates and manages the stored relay determination information, and registers and updates the relay determination information (26) and the relay basic information (6) in the forwarding unit (2). In this embodiment, the relay basic information (3) includes source information (4) for checking the validity of a receiving route of a received packet in the network and destination information (5) indicating a relay destination of the received packet. Consists of The protocol information (29) will be described later.
In general, the route calculation unit (1) manages a plurality of forwarding units (2), and in order to further improve the reliability, a duplex configuration of a working and a backup is adopted.

【0018】フォワーディング部(2)は、受信したパ
ケットを中継確定情報(26)に従い中継するが、中継
確定情報(26)に受信パケットの発信元情報と宛先情
報が一致するエントリが存在しなければ、経路計算部
(1)からあらかじめ配布されている中継基礎情報
(6)を用いて中継先を計算し、該パケットを中継す
る。その後、中継確定情報(26)に存在しないパケッ
トを中継したことを経路計算部(1)に不一致宛先情報
(27)として報告する。経路計算部(1)が不一致宛
先情報(27)と中継基礎情報(3)から計算し作成し
た中継確定情報エントリ追加要求(28)をフォワーデ
ィング部(2)に発行すると、フォワーディング部
(2)は、該中継確定情報エントリ追加要求(28)か
ら中継確定情報(26)に新たなエントリを追加する。
The forwarding unit (2) relays the received packet in accordance with the relay determination information (26). If there is no entry in the relay determination information (26) in which the source information and the destination information of the received packet match, The relay destination is calculated using the relay basic information (6) distributed in advance from the route calculation unit (1), and the packet is relayed. Thereafter, the fact that a packet that does not exist in the relay determination information (26) has been relayed is reported to the route calculation unit (1) as mismatched destination information (27). When the route calculation unit (1) issues to the forwarding unit (2) a relay confirmation information entry addition request (28) calculated and created from the mismatched destination information (27) and the basic relay information (3), the forwarding unit (2) Then, a new entry is added to the relay determination information (26) from the relay determination information entry addition request (28).

【0019】次以降の同宛先パケットを受信した場合、
フォワーディング部(2)では、この新たに追加された
中継確定情報に従い当該パケットを中継する。図2はこ
れを示している。また、フォワーディング部(2)は、
もし中継基礎情報(6)を用いても中継方路を決定でき
ない場合、当該パケットを破棄する。図3はこれを示し
ている。
When the next and subsequent same destination packets are received,
The forwarding unit (2) relays the packet according to the newly added relay determination information. FIG. 2 illustrates this. Also, the forwarding unit (2)
If the relaying route cannot be determined by using the basic relay information (6), the packet is discarded. FIG. 3 illustrates this.

【0020】中継確定情報(26)および中継基礎情報
(3,6)の検索情報は、発信元情報と宛先情報を持っ
ており、経路計算部(1)とフォワーディング部(2)
では受信パケットの発信元情報と宛先情報を比較して経
路計算を行う。
The search information of the relay determination information (26) and the relay basic information (3, 6) has source information and destination information, and includes a route calculation unit (1) and a forwarding unit (2).
Then, the route information is calculated by comparing the source information and the destination information of the received packet.

【0021】中継確定情報(26)と中継基礎情報
(3,6)は、1つの発信元情報の入インタフェースエ
ントリに対し、1つ以上の出インタフェースを登録で
き、フォワーディング部(2)は、1つの入インタフェ
ースから受信した1つのパケットを別の複数の出インタ
フェースにコピーし送信することによりマルチキャスト
中継を実現する。
The relay determination information (26) and the relay basic information (3, 6) can register one or more outgoing interfaces with respect to one incoming interface entry of source information, and the forwarding unit (2) Multicast relay is realized by copying and transmitting one packet received from one incoming interface to another plurality of outgoing interfaces.

【0022】以下では、本パケット中継装置が、IP
(Internet Protocol)マルチキャスト通信のネット
ワークでIPルータとして使用されるとする。
In the following, the present packet relay device will
(Internet Protocol) It is assumed that it is used as an IP router in a multicast communication network.

【0023】図5は、IPマルチキャスト対応のネット
ワークシステムを示し、R1からR6(120〜12
5)がIPマルチキャスト対応のルータである。ルータ
とはIPプロトコルの通信単位パケットであるIPデー
タグラムを中継する装置である。図5のシステムにおい
て、S1からS9(126〜134)は、IPマルチキ
ャストプロトコル対応の計算機であり、IPデータグラ
ムの発信者および受信者である。G1からG3(135
〜137)はIPマルチキャスト通信の通信範囲を示
し、G1(135)にはS1(126),S3(12
8),S9(134)が属し、G2(136)にはS3
(128),S4(129),S8(133),S9
(134)が属し、G3(137)にはS2(12
7),S5(130),S6(131),S7(13
2),S8(133)が属する。このシステムでは、G
1(135)宛に送信したIPデータグラムは、S1
(126),S3(128),S9(134)に中継さ
れ、G2(136)宛に送信したIPデータグラムは、
S3(128),S4(129),S8(133),S
9(134)に中継され、G3(137)宛に送信した
IPデータグラムは、S2(127),S5(13
0),S6(131),S7(132),S8(13
3)に中継される。ルータR1(120)は6つのイン
タフェース(11〜16)を有し、インタフェースa
(11)はルータR2(121)、インタフェースb
(12)はルータR6(125)、インタフェースc
(13)はルータR4(123)、インタフェースd
(14)は計算機S3(128)、インタフェースe
(15)は計算機S4(129)、インタフェースf
(16)はルータR5(124)とそれぞれ接続してい
る。
FIG. 5 shows a network system compatible with IP multicast, in which R1 to R6 (120 to 12).
5) is an IP multicast compatible router. A router is a device that relays an IP datagram that is a communication unit packet of the IP protocol. In the system of FIG. 5, S1 to S9 (126 to 134) are computers compatible with the IP multicast protocol, and are the sender and receiver of the IP datagram. G1 to G3 (135
137) indicate the communication range of the IP multicast communication, and G1 (135) indicates S1 (126) and S3 (12).
8) and S9 (134) belong to G2 (136).
(128), S4 (129), S8 (133), S9
(134) belongs, and G3 (137) belongs to S2 (12).
7), S5 (130), S6 (131), S7 (13
2) and S8 (133). In this system, G
1 (135) is sent to S1
(126), S3 (128), and the IP datagram relayed to S9 (134) and transmitted to G2 (136)
S3 (128), S4 (129), S8 (133), S
9 (134) and transmitted to G3 (137) are sent to S2 (127) and S5 (13).
0), S6 (131), S7 (132), S8 (13
It is relayed to 3). The router R1 (120) has six interfaces (11 to 16), and the interface a
(11) is router R2 (121), interface b
(12) is router R6 (125), interface c
(13) is router R4 (123), interface d
(14) is a computer S3 (128), interface e
(15) is the computer S4 (129), interface f
(16) is connected to the router R5 (124), respectively.

【0024】マルチキャスト通信経路情報は、各ルータ
に予めユーザが設定する方式と、ルーティングプロトコ
ルによりルータ間で情報の受け渡しを行い、自動的にマ
ルチキャスト通信経路を計算する方式がある。ここで、
ルーティングプロトコルXとルーティングプロトコルY
の2つのマルチキャストルーティングプロトコルが存在
すると仮定する。
The multicast communication path information includes a method in which a user sets in advance each router, and a method in which information is exchanged between routers by a routing protocol and a multicast communication path is automatically calculated. here,
Routing protocol X and routing protocol Y
Suppose there are two multicast routing protocols:

【0025】図7および図8はルーティングプロトコル
Xの動作を説明したものである。ルーティングプロトコ
ルX(9)とは、図7で示す様にルータR1(176)
は、自管理インタフェースの1つから受信したIPデー
タグラム(170)を受信したインタフェースを除くす
べての自管理インタフェース(171〜173)に中継
する。その中継されたルータがその中継されたIPデー
タグラムの宛先グループへ属するインタフェースが存在
しないルータ(174)は、そのIPデータグラムを中
継したルータに対してその発信元アドレスと宛先グルー
プのIPデータグラムの中継拒否の刈込要求(175)
を送信する。刈込要求(175)を受信したIPルータ
(176)は以後、図8で示す様にその拒否された発信
元アドレスと宛先グループを持つIPデータグラム(1
80)を受信すると、刈込要求を受信したインタフェー
ス(181)には中継しない。
FIGS. 7 and 8 illustrate the operation of the routing protocol X. The routing protocol X (9) refers to the router R1 (176) as shown in FIG.
Relays the IP datagram (170) received from one of the self-management interfaces to all self-management interfaces (171 to 173) except the interface that received the IP datagram (170). The router (174), whose interface does not belong to the destination group of the relayed IP datagram, has the source address and the IP datagram of the destination group sent to the router that relayed the IP datagram. Pruning request for rejection of relay (175)
Send After receiving the pruning request (175), the IP router (176) thereafter sets the IP datagram (1) having the rejected source address and destination group as shown in FIG.
80) is not relayed to the interface (181) that has received the pruning request.

【0026】図9および図10は、ルーティングプロト
コルYの動作を説明したものである。ルーティングプロ
トコルY(10)は、図9で示す様にあらかじめ、ある
グループのIPデータグラムの中継を希望する計算機
(190,191)またはルータ(192,193)が
グループ情報を含むグループ登録要求(194〜19
7)をルータ(192,193,198)に発行する。
グループ登録要求を受信したルータ(192,193,
198)はグループ登録要求(194〜197)を受信
したインタフェースとグループ登録要求(194〜19
7)に含まれるグループ情報を登録する。その後、図1
0で示す様に、以後登録しているグループ情報と一致す
る宛先のIPデータグラム(200)を受信した場合、
グループ登録要求を受信したインタフェース(201,
202)のうち、IPデータグラムを受信したインタフ
ェース(203)以外のインタフェースに対して送信す
る。
FIGS. 9 and 10 explain the operation of the routing protocol Y. As shown in FIG. 9, the routing protocol Y (10) transmits a group registration request (194) containing the group information to a computer (190, 191) or a router (192, 193) desiring to relay an IP datagram of a certain group in advance. ~ 19
7) to the router (192, 193, 198).
The router (192, 193,
198) is the interface that has received the group registration request (194 to 197) and the group registration request (194 to 19).
The group information included in 7) is registered. Then, FIG.
As shown by 0, when an IP datagram (200) of a destination matching the group information registered thereafter is received,
Interface (201,
202), the IP datagram is transmitted to an interface other than the interface (203) that received the IP datagram.

【0027】図11は、IPデータグラムのヘッダフォ
ーマットである。マルチキャスト通信において、発信元
アドレスは、IPデータグラムヘッダの発信元アドレス
フィールド(210)に格納され、マルチキャストのグ
ループアドレスは、IPデータグラムヘッダの宛先アド
レスフィールド(211)に格納される。宛名グループ
アドレスは、既存(クラスA〜C)のIP宛先アドレス
との共存および区別をするためにクラスDのアドレスが
使用される。クラスDのアドレスフォーマットを図12
に示す。図12で先頭4ビットの「1110」がクラス
Dを意味する。なお、クラスAは先頭1ビットが
「0」、クラスBは先頭2ビットが「10」、クラスC
は先頭3ビットが「110」である。
FIG. 11 shows a header format of an IP datagram. In the multicast communication, the source address is stored in the source address field (210) of the IP datagram header, and the multicast group address is stored in the destination address field (211) of the IP datagram header. As the destination group address, a class D address is used to coexist with and distinguish from an existing (class A to C) IP destination address. Figure 12 shows the class D address format.
Shown in In FIG. 12, “1110” of the first 4 bits means the class D. Note that the first bit of class A is “0”, the first two bits of class B are “10”, and the class C is
The first three bits are “110”.

【0028】図5のシステムにおいて、ルータR1(1
20)は、インタフェースa(11)とインタフェース
b(12)とインタフェースc(13)にはルーティン
グプロトコルX(9)が動作しており、インタフェース
d(14)とインタフェースe(15)とインタフェー
スf(16)にはルーティングプロトコルY(10)が
動作している。この2つのプロトコルX,Yは異なる
が、同一のグループは互いに通信可能である必要があ
る。
In the system shown in FIG. 5, the router R1 (1
20), the routing protocol X (9) is operating on the interface a (11), the interface b (12) and the interface c (13), and the interface d (14), the interface e (15) and the interface f ( 16), the routing protocol Y (10) is operating. Although the two protocols X and Y are different, the same group needs to be able to communicate with each other.

【0029】図1に示した実施形態のパケット中継装置
は、図5に示したネットワークシステムにおいてルータ
R1(120)に該当するものである。即ち、図1にお
いて、図5に示したようにインタフェースa,b,c
(11,12,13)側のネットワークにはルーティン
グプロトコルX(9)が動作し、インタフェースd,
e,f(14,15,16)側のネットワークにはルー
ティングプロトコルY(10)が動作している。このイ
ンタフェース毎のプロトコル情報を、プロトコル情報
(29)として、経路計算部(1)が管理している。
The packet relay device of the embodiment shown in FIG. 1 corresponds to the router R1 (120) in the network system shown in FIG. That is, in FIG. 1, the interfaces a, b, and c as shown in FIG.
The routing protocol X (9) operates on the (11, 12, 13) side network, and the interface d,
The routing protocol Y (10) operates on the network on the side of e, f (14, 15, 16). The route calculation unit (1) manages the protocol information for each interface as protocol information (29).

【0030】経路計算部(1)は隣接するIPルータの
経路計算部とのルーティングプロトコルによる情報交換
によって中継基礎情報(3)を収集する。このとき、ル
ーティングプロトコルを使用せず、ネットワーク情報を
ユーザが固定値入力により設定する場合もある。
The route calculator (1) collects relay basic information (3) by exchanging information with a route calculator of an adjacent IP router by a routing protocol. At this time, a user may set network information by inputting a fixed value without using a routing protocol.

【0031】ここで、経路計算部(1)は、中継基礎情
報(3)の送信元情報(4)に、そのネットワークにも
っとも近いインタフェースを登録する。図5のシステム
の場合、ルータR1(120)の計算機S1(126)
からの中継方路は、インタフェースa(11)とインタ
フェースc(13)が中継可能であるが、インタフェー
スa(11)がルータR2(121)の1段中継に対し
て、インタフェースc(13)はルータR2(12
1),R3(122),R4(123)と3段中継で到
達するため、図1で示すように、発信元情報(4)のソ
ース部がS1エントリ(17)の入インタフェース部に
は、インタフェースa(11)が登録され、出インタフ
ェース部には、ルーティングプロトコルX(9)が動作
する全てのインタフェース(a(11),b(12),
c(13))のうち、入インタフェースであるインタフ
ェースa(11)を除く全てのインタフェースb(1
2),c(13)を登録する。また、図5の計算機S5
(130)の様に、ルータR1(120)のインタフェ
ースa(11)とインタフェースc(13)の計算機S
5(130)までの距離が2段中継で等しい場合は、ル
ータR1(120)からみたアドレスなどの情報からど
ちらか1つを選択する。ここでは、ルータR1(12
0)のインタフェースa(11)に接続しているルータ
R2(121)のインタフェース(11)のIPアドレ
スがルータR1(120)のインタフェースc(13)
に接続しているルータR4(123)のインタフェース
(13)のIPアドレスより小さいものとし、IPアド
レスが小さいほうを選択するとする。よって、図1で示
す様に、発信元情報(4)のソース部がS5のエントリ
(18)の入インタフェース部には、インタフェースa
(11)を登録し、出インタフェースには、インタフェ
ースb(12),c(13)を登録する。
Here, the route calculation unit (1) registers the interface closest to the network in the transmission source information (4) of the basic relay information (3). In the case of the system of FIG. 5, the computer S1 (126) of the router R1 (120)
Can be relayed by the interface a (11) and the interface c (13), but the interface a (11) can be relayed by the router R2 (121) while the interface c (13) can be relayed. Router R2 (12
1), R3 (122), and R4 (123) arrive at the three-stage relay, and as shown in FIG. 1, the source part of the source information (4) is included in the input interface part of the S1 entry (17). The interface a (11) is registered, and all interfaces (a (11), b (12), and b (12), on which the routing protocol X (9) operates) are registered in the outgoing interface unit.
c (13)), all interfaces b (1) except the interface a (11) which is an input interface.
2) and c (13) are registered. The computer S5 in FIG.
As shown in (130), the computer S of the interface a (11) and the interface c (13) of the router R1 (120)
In the case where the distance to 5 (130) is the same for the two-stage relay, one of them is selected from information such as the address viewed from the router R1 (120). Here, the router R1 (12
The IP address of the interface (11) of the router R2 (121) connected to the interface a (11) of the router R0 (0) is the interface c (13) of the router R1 (120).
It is assumed that the IP address is smaller than the IP address of the interface (13) of the router R4 (123) connected to the router R4, and that the one with the smaller IP address is selected. Therefore, as shown in FIG. 1, the source part of the transmission source information (4) has the interface a in the input interface part of the entry (18) of S5.
(11) is registered, and interfaces b (12) and c (13) are registered in the outgoing interface.

【0032】以上のことから、ルーティングプロトコル
X(9)のネットワークとルーティングプロトコルY
(10)のネットワークで同一グループ間を相互に通信
可能にするためには、ルーティングプロトコルY(1
0)のネットワークのインタフェースから受信するIP
データグラムをルーティングプロトコルX(9)のネッ
トワークのすべてのインタフェース(11,12,1
3)に中継しなければならない。そのため、ルーティン
グプロトコルX(9)が動作する全てのインタフェース
をプロトコル情報(29)のプロトコルXエントリから
取り出し、宛先情報(5)の登録インタフェース部に追
加して登録する。
From the above, the network of the routing protocol X (9) and the routing protocol Y
In order to enable the same group to communicate with each other in the network of (10), the routing protocol Y (1
0) IP received from network interface
The datagram is transmitted to all interfaces (11, 12, 1) of the network of the routing protocol X (9).
3) must be relayed. Therefore, all interfaces on which the routing protocol X (9) operates are extracted from the protocol X entry of the protocol information (29), and are added and registered in the registration interface section of the destination information (5).

【0033】図1において、経路計算部(1)は収集し
た発信元情報(4)と宛先情報(5)から、中継基礎情
報(3)を生成し、フォワーディング部(2)に配布す
る(19)。その結果、中継基礎情報(3,6)は経路
計算部(1)とフォワーディング部(2)で同一のもの
となる。また、経路計算部(1)は、ルーティングプロ
トコルX(9)による新たな送信元の発見や、ルーティ
ングプロトコルY(10)のグループ参加要求により、
中継基礎情報(3)に変更があった場合も、フォワーデ
ィング部(2)に中継基礎情報(3)を再配布し(1
9)、常に経路計算部(1)とフォワーディング部
(2)の中継基礎情報(3,6)を同一に保つ。
In FIG. 1, the route calculation unit (1) generates relay basic information (3) from the collected source information (4) and destination information (5) and distributes it to the forwarding unit (2) (19). ). As a result, the relay basic information (3, 6) is the same in the route calculation unit (1) and the forwarding unit (2). In addition, the route calculation unit (1) detects a new transmission source by the routing protocol X (9), and receives a group participation request of the routing protocol Y (10).
Even when the relay basic information (3) is changed, the relay basic information (3) is redistributed to the forwarding unit (2) (1).
9) The relay basic information (3, 6) of the route calculation unit (1) and the forwarding unit (2) is always kept the same.

【0034】図4は、図1に示した本発明の第一の実施
形態のパケット中継装置において、フォワーディング部
(2)がIPデータグラムを受信したときの動作のフロ
ーチャートである。以下、図1乃至図4を参照して、第
一の実施形態のフォワーディング部(2)の動作を詳述
する。
FIG. 4 is a flowchart of the operation when the forwarding unit (2) receives an IP datagram in the packet relay device of the first embodiment of the present invention shown in FIG. Hereinafter, the operation of the forwarding unit (2) of the first embodiment will be described in detail with reference to FIGS.

【0035】インタフェースa(11)から受信したI
Pデータグラム(25)のIPヘッダに含まれる発信元
であるソースアドレス及び宛先であるグループアドレス
とフォワーディング部(2)の中継確定情報(26)の
ソースアドレス及びグループアドレスを1エントリずつ
比較する(ステップ90)。もし、IPデータグラム
(25)のヘッダ中のソースアドレスとグループアドレ
スがそれぞれ一致するエントリが中継確定情報(26)
中に存在すれば(ケース105)、そのエントリ中の入
インタフェースがそのIPデータグラムを受信したイン
タフェース(11)と一致しているか確認する(ステッ
プ101)。もし、受信したIPデータグラム(25)
のIPヘッダ中のソースアドレスとグループアドレスが
中継確定情報(26)エントリのアドレス部と一致し、
同エントリの入インタフェース部がIPデータグラムの
受信インタフェース(11)と違っていた場合(ケース
106)は、そのIPデータグラムを廃棄する(ステッ
プ102)。中継確定情報(26)にソースアドレスと
グループアドレスと入インタフェースが一致したエント
リが存在すれば(ケース115)、フォワーディング部
(2)は同エントリの出インタフェース部に登録してい
る1つ以上のインタフェースにIPデータグラムを送信
する(ステップ103)。このとき、出インタフェース
が2つ以上登録されていたら、IPデータグラムをコピ
ーし、2つ以上のインタフェースに同一のIPデータグ
ラムを送信する(図1の12,13,14,16)。こ
の時、TTLなどのインタフェース毎情報によりIPデ
ータグラムヘッダを変更する場合もある。 また、受信
したIPデータグラム(25)のIPヘッダ中のソース
アドレスとグループアドレスが、中継確定情報(26)
のアドレス部と一致しない場合(ケース104)は、I
Pデータグラムのソースアドレスと中継基礎情報(6)
の発信元情報(7)のアドレス部を1エントリずつ比較
し(ステップ91)、一致するエントリが存在すれば
(ケース108)、そのエントリの入インタフェース部
(インタフェースa(11))とIPデータグラム(2
5)の受信インタフェース(インタフェースa(1
1))を比較する(ステップ92)。ここでインタフェ
ースが不一致であれば(ケース109)、図3の61に
示すように、受信したIPデータグラム(60)を廃棄
する(100)。インタフェースが一致していれば(ケ
ース110)、そのエントリの出インタフェース部(イ
ンタフェースb(12),c(13))を取り出す(ス
テップ93)。
I received from interface a (11)
The source address and the destination group address contained in the IP header of the P datagram (25) are compared with the source address and the group address of the forwarding determination information (26) of the forwarding unit (2), one entry at a time, respectively ( Step 90). If the source address and the group address in the header of the IP datagram (25) match each other, the relay determination information (26)
If it exists (case 105), it is checked whether the incoming interface in the entry matches the interface (11) that received the IP datagram (step 101). If received IP datagram (25)
The source address and the group address in the IP header match the address part of the relay determination information (26) entry,
If the incoming interface of the entry is different from the receiving interface (11) of the IP datagram (case 106), the IP datagram is discarded (step 102). If there is an entry in the relay determination information (26) in which the source address, the group address, and the input interface match (case 115), the forwarding unit (2) performs one or more interfaces registered in the output interface unit of the entry. (Step 103). At this time, if two or more outgoing interfaces are registered, the IP datagram is copied and the same IP datagram is transmitted to two or more interfaces (12, 13, 14, and 16 in FIG. 1). At this time, the IP datagram header may be changed according to interface-specific information such as TTL. Also, the source address and the group address in the IP header of the received IP datagram (25) correspond to the relay determination information (26).
If the address does not match (case 104),
Source address of P datagram and basic relay information (6)
Are compared one by one (step 91). If there is a matching entry (case 108), the input interface (interface a (11)) of the entry and the IP datagram are compared. (2
5) receiving interface (interface a (1
1)) are compared (step 92). If the interfaces do not match (case 109), the received IP datagram (60) is discarded (100), as shown at 61 in FIG. If the interfaces match (case 110), the outgoing interface units (interfaces b (12) and c (13)) of the entry are extracted (step 93).

【0036】さらに、IPデータグラム(25)の宛先
アドレスと中継基礎情報(6)の宛先情報部(8)のグ
ループ部を比較し(ステップ94)、一致するエントリ
があれば(ケース111)、そのエントリの登録インタ
フェース部(インタフェースa(11),b(12),
c(13),d(14),f(16))を取り出し、前
の中継基礎情報(6)の発信元情報(7)から取り出し
た出インタフェース部との論理和をとり(ステップ9
5)、IPデータグラムの入インタフェース(インタフ
ェースa(11))を削除し(ステップ96)、出イン
タフェースを決定する(インタフェースb(12),c
(13),d(14),f(16))。中継基礎情報
(6)の宛先情報部(8)のグループ部に一致するエン
トリが存在しなければ(ケース112)、前の中継基礎
情報(6)の発信元情報から取り出した出インタフェー
ス部のみを出インタフェースとする。
Further, the destination address of the IP datagram (25) is compared with the group part of the destination information part (8) of the relay basic information (6) (step 94), and if there is a matching entry (case 111), The registration interface section of the entry (interfaces a (11), b (12),
c (13), d (14), f (16)), and ORs with the outgoing interface unit extracted from the source information (7) of the previous relay basic information (6) (step 9).
5), delete the incoming interface (interface a (11)) of the IP datagram (step 96) and determine the outgoing interface (interface b (12), c)
(13), d (14), f (16)). If there is no entry that matches the group part of the destination information part (8) of the relay basic information (6) (case 112), only the outgoing interface part extracted from the source information of the previous relay basic information (6) Out interface.

【0037】IPデータグラム(25)のソースアドレ
スと中継基礎情報(6)の発信元情報(7)のアドレス
部の比較(91)で、一致するエントリが存在しなかっ
た場合(ケース107)は、出インタフェースなしと
し、IPデータグラム(25)のグループアドレスと中
継基礎情報(6)の宛先情報部(8)のグループ部を比
較し(ステップ94)、一致するエントリがあれば(ケ
ース111)、そのエントリの登録インタフェース部を
取り出し、形式上論理和をとり(ステップ95)、IP
データグラムの入インタフェースを削除し(ステップ9
6)、出インタフェースを決定する。中継基礎情報
(6)の宛先情報部(8)のグループ部に一致するエン
トリが存在しなければ(ケース112)、ここでも出イ
ンタフェースなしとなる。
In the comparison (91) between the source address of the IP datagram (25) and the address part of the source information (7) of the relay basic information (6), if no matching entry exists (case 107), No outgoing interface is set, and the group address of the IP datagram (25) is compared with the group part of the destination information section (8) of the relay basic information (6) (step 94), and if there is a matching entry (case 111). , Take out the registration interface part of the entry, and logically OR it (step 95)
Delete the datagram input interface (step 9
6) Determine the outgoing interface. If there is no entry matching the group part of the destination information part (8) of the relay basic information (6) (case 112), there is no outgoing interface here.

【0038】ここでは、中継基礎情報(6)の発信元情
報(7)と宛先情報(8)の比較を行っているが、中継
基礎情報(6)の発信元情報(7)のみの比較でのパケ
ット中継装置や、中継基礎情報(6)の宛先情報(8)
のみの比較でのパケット中継装置も実現できる。中継基
礎情報(6)の発信元情報(7)のみの比較でのパケッ
ト中継装置は、上記例での中継基礎情報(6)の宛先情
報部(8)のグループ部不一致と同じ動作(ケース11
2)を行い、中継基礎情報(6)の宛先情報部(8)の
みの比較でのパケット中継装置は、上記例での中継基礎
情報(6)の発信元情報(7)のアドレス部不一致と同
じ動作(ケース107)を行えばよい。
Here, the source information (7) of the relay basic information (6) and the destination information (8) are compared, but only the source information (7) of the relay basic information (6) is compared. Packet relay device and destination information (8) of relay basic information (6)
A packet relay device based on only comparison can also be realized. The packet relay apparatus by comparing only the transmission source information (7) of the relay basic information (6) performs the same operation (case 11) as the group mismatch of the destination information part (8) of the relay basic information (6) in the above example.
2), the packet relay apparatus by comparing only the destination information part (8) of the relay basic information (6), finds that the address part mismatch of the source information (7) of the relay basic information (6) in the above example The same operation (case 107) may be performed.

【0039】次に、算出した出インタフェースが存在す
るか判定し(ステップ97)、1つ以上のインタフェー
スが存在すれば(ケース114)、出インタフェースの
すべてのインタフェースに対し受信IPデータグラムを
送信する(ステップ98)。出インタフェースに2つ以
上のインタフェースが登録していたら受信IPデータグ
ラムをコピーし、2つ以上のインタフェースに同一のI
Pデータグラムを送信する(図1の21〜24)。算出
した出インタフェースにインタフェースが存在しなけれ
ば(ケース113)、受信IPデータグラムを削除する
(ステップ100)。
Next, it is determined whether or not the calculated outgoing interface exists (step 97). If one or more interfaces exist (case 114), the received IP datagram is transmitted to all the outgoing interfaces. (Step 98). If two or more interfaces are registered in the outgoing interface, the received IP datagram is copied, and the same I
The P datagram is transmitted (21 to 24 in FIG. 1). If no interface exists in the calculated outgoing interface (case 113), the received IP datagram is deleted (step 100).

【0040】出インタフェースにインタフェースが存在
し(ケース114)、中継基礎情報(6)を用い、受信
IPデータグラムを出インタフェースに従い送信した場
合(ステップ98)、フォワーディング部(2)は受信
したIPデータグラム(25)のソースアドレスとグル
ープアドレスと入インタフェースからなる不一致宛先情
報(27)を共に経路計算部(1)へ報告する(ステッ
プ99)。
If the outgoing interface has an interface (case 114) and the received IP datagram is transmitted in accordance with the outgoing interface using the relay basic information (6) (step 98), the forwarding unit (2) receives the received IP datagram. The source address of the gram (25), the group address, and the mismatched destination information (27) comprising the incoming interface are both reported to the route calculation unit (1) (step 99).

【0041】図4のフローチャートは、基本的に、受信
IDデータグラムを不一致宛先情報に置き替えれば、経
路計算部(1)での処理にも適用できる。すなわち、経
路計算部(1)では、不一致宛先情報(27)のソース
アドレスと中継基礎情報(3)の発信元情報(4)のア
ドレス部を1エントリずつ比較し、一致するエントリが
存在すれば(ケース108)、そのエントリの入インタ
フェース部(インタフェースa(11))と不一致宛先
情報(27)の入インタフェース(インタフェースa
(11))を比較する。ここでインタフェースが不一致
であれば(ケース109)、不一致宛先情報(27)を
廃棄する。インタフェースが一致していれば、そのエン
トリの出インタフェース部(インタフェースb(1
2),c(13))を取り出す。さらに、不一致宛先情
報(27)の宛先アドレスと中継基礎情報(3)の宛先
情報部(5)のグループ部を比較し、一致するエントリ
があれば(ケース111)、そのエントリの登録インタ
フェース部(インタフェースa(11),b(12),
c(13),d(14),f(16))を取り出し、前
の中継基礎情報(3)の発信元情報(4)から取り出し
た出インタフェース部との論理和をとり、入インタフェ
ース(インタフェースa(11))を削除し、出インタ
フェースを決定する(インタフェースb(12),c
(13),d(14),f(16))。中継基礎情報
(3)の宛先情報部(5)のグループ部に一致するエン
トリが存在しなければ(ケース112)、前の中継基礎
情報(3)の発信元情報(4)から取り出した出インタ
フェース部のみを出インタフェースとする。
The flow chart of FIG. 4 is basically applicable to the processing in the route calculation unit (1) if the received ID datagram is replaced with the mismatched destination information. That is, the route calculation unit (1) compares the source address of the mismatched destination information (27) with the address portion of the source information (4) of the relay basic information (3) one entry at a time, and if there is a matching entry, (Case 108), the input interface (interface a (11)) of the entry and the input interface (interface a) of the mismatched destination information (27)
(11)) is compared. If the interfaces do not match (case 109), the mismatch destination information (27) is discarded. If the interface matches, the outgoing interface section of that entry (interface b (1
2), c (13)) is taken out. Further, the destination address of the non-match destination information (27) is compared with the group part of the destination information part (5) of the relay basic information (3), and if there is a matching entry (case 111), the registration interface part of that entry (case 111) Interfaces a (11), b (12),
c (13), d (14), f (16)), and the logical sum of the previous relay basic information (3) with the outgoing interface part extracted from the source information (4) is obtained, and the incoming interface (interface a (11)) and determine the outgoing interface (interfaces b (12), c)
(13), d (14), f (16)). If there is no entry that matches the group part of the destination information part (5) of the relay basic information (3) (case 112), the outgoing interface extracted from the source information (4) of the previous relay basic information (3) Only the section is the outgoing interface.

【0042】不一致宛先情報(27)のソースアドレス
と中継基礎情報(3)の発信元情報(4)のアドレス部
の比較で、一致するエントリが存在しなかった場合(ケ
ース107)は、不一致宛先情報(27)のグループア
ドレスと中継基礎情報(3)の宛先情報部(5)のグル
ープ部を比較し、一致するエントリがあれば(ケース1
11)、そのエントリの登録インタフェース部を取り出
し、前の中継基礎情報(3)の発信元情報(4)から取
り出した出インタフェース部との論理和をとり、入イン
タフェースを削除する。
In the comparison between the source address of the mismatched destination information (27) and the address portion of the source information (4) of the relay basic information (3), if no matching entry exists (case 107), The group address of the information (27) is compared with the group part of the destination information part (5) of the relay basic information (3), and if there is a matching entry (Case 1)
11) Take out the registered interface part of the entry, take the logical sum with the outgoing interface part taken out from the source information (4) of the previous relay basic information (3), and delete the incoming interface.

【0043】経路計算部(1)においても、中継基礎情
報(3)の発信元情報(4)のみの比較でのパケット中
継装置は、上記例での中継基礎情報(3)の宛先情報部
(5)のグループ部不一致と同じ動作を行い、中継基礎
情報(3)の宛先情報部(5)のみの比較でのパケット
中継装置は、上記例での中継基礎情報(6)の発信元情
報(4)のアドレス部不一致と同じ動作を行うようにす
ればよい。
Also in the route calculation section (1), the packet relay device by comparing only the source information (4) of the relay basic information (3) is used to determine the destination information section (3) of the relay basic information (3) in the above example. Performing the same operation as the group part mismatch of 5), the packet relay apparatus by comparing only the destination information part (5) of the relay basic information (3), transmits the source information of the relay basic information (6) in the above example. The same operation as in the case of the address part mismatch of 4) may be performed.

【0044】算出した出インタフェースに1つ以上のイ
ンタフェースが存在すれば、不一致宛先情報(27)の
ソースアドレスとグループアドレスと入インタフェース
と上記算出した出インタフェースにより中継確定情報エ
ントリ追加要求(28)を作成しフォワーディング部
(2)へ配布する。算出した出インタフェースにインタ
フェースが存在しなければ、不一致宛先情報通知(2
7)を廃棄する。
If there is one or more interfaces in the calculated outgoing interface, a request for adding a relay confirmation information entry (28) is made by the source address, group address, incoming interface, and outgoing interface of the mismatch destination information (27). Create and distribute to forwarding unit (2). If no interface exists in the calculated outgoing interface, a mismatch destination information notification (2
Discard 7).

【0045】フォワーディング部(2)は経路計算部
(1)から配布された中継確定情報エントリ(28)を
中継確定情報(26)に登録する。
The forwarding unit (2) registers the relay determination information entry (28) distributed from the route calculation unit (1) in the relay determination information (26).

【0046】中継確定情報(26)の管理元は経路計算
部(1)であり、ソースアドレス、グループアドレスの
ペアで発生する状況変化の検出と、それに伴う中継確定
情報(26)への反映とフォワーディング部(2)への
配布は経路計算部(1)が行う。これは、ルーティング
プロトコルX(9)による刈込要求や、ルーティングプ
ロトコルY(10)によるグループ参加要求などであ
る。
The source of management of the relay determination information (26) is the route calculation unit (1), which detects a status change occurring in the pair of the source address and the group address and reflects the change in the relay determination information (26) accordingly. The distribution to the forwarding unit (2) is performed by the route calculation unit (1). This is a pruning request by the routing protocol X (9), a group participation request by the routing protocol Y (10), or the like.

【0047】フォワーディング部(2)では、その後、
図2で示した様に、上記処理で中継したものと同一のソ
ースアドレスとグループアドレスをもつIPデータグラ
ム(40)が到着した場合、該フォワーディング部
(2)の中継確定情報(45)に一致し、出インタフェ
ースに従いIPデータグラムを送信する(41〜4
4)。
In the forwarding unit (2),
As shown in FIG. 2, when an IP datagram (40) having the same source address and group address as the one relayed in the above processing arrives, one is added to the relay determination information (45) of the forwarding unit (2). And sends an IP datagram according to the outgoing interface (41 to 4).
4).

【0048】このように、図1の第一の本実施形態によ
れば、フォワーディング部が中継確定情報に未登録の宛
先のパケットを受信した場合、経路計算部(1)に報告
後、経路計算部(1)がフォワーディング部(2)に中
継確定情報エントリ(28)を配布し、フォワーディン
グ部(2)が中継確定情報(26)に配布された中継確
定情報エントリ(28)を追加する前に、受信フレーム
を最適なインタフェースに中継した後で、正式に経路計
算部(1)で中継確定情報(26)を作成することがで
きる。
As described above, according to the first embodiment of FIG. 1, when the forwarding unit receives a packet of an unregistered destination in the relay determination information, the forwarding unit reports the packet to the route calculation unit (1), and then performs the route calculation. Before the unit (1) distributes the relay determination information entry (28) to the forwarding unit (2) and before the forwarding unit (2) adds the distributed relay determination information entry (28) to the relay determination information (26), After the received frame is relayed to the optimum interface, the route calculation unit (1) can formally create the relay determination information (26).

【0049】次に、本発明の第二の実施形態について説
明する。図1において、フォワーディング部(2)が経
路計算部(1)へ不一致宛先情報(27)を報告して、
経路計算部(1)が中継確定情報エントリ追加要求(2
8)をフォワーディング部(2)へ発行し、フォワーデ
ィング部(2)が中継確定情報(26)に新たなエント
リを追加するまでには、ある一定以上の時間が必要であ
る。この間に、フォワーディング部(2)が同一宛先パ
ケットを受信することも考えられる。この場合、フォワ
ーディング部(2)は、中継確定情報(234)に、該
パケットを中継する情報が無いことから、再度、中継基
礎情報(6)を用いて中継先を計算し、該パケットを中
継して、不一致宛先情報(27)を経路計算部へ報告す
ることとなる。これに伴い、経路計算部(1)では、再
び中継確定情報エントリ追加要求(28)の作成、およ
び発行といった冗長な処理が発生する。第二の実施形態
は、これらの冗長な処理を削除するものである。
Next, a second embodiment of the present invention will be described. In FIG. 1, the forwarding unit (2) reports mismatch destination information (27) to the route calculation unit (1),
The route calculation unit (1) issues a request to add a relay confirmation information entry (2
8) to the forwarding unit (2), and a certain time or more is required until the forwarding unit (2) adds a new entry to the relay determination information (26). During this time, the forwarding unit (2) may receive the same destination packet. In this case, the forwarding unit (2) calculates the relay destination again using the relay basic information (6) since there is no information for relaying the packet in the relay determination information (234), and relays the packet. Then, the mismatch destination information (27) is reported to the route calculation unit. Along with this, the route calculation unit (1) again generates redundant processing such as creation and issuance of the relay determination information entry addition request (28). In the second embodiment, these redundant processes are deleted.

【0050】図13は、本発明によるパケット中継装置
の第二の実施形態の機能ブロック図を示す。図13にお
いて、図1との相違点は、フォワーディング部(2)で
中継確定情報(26)に仮のエントリ登録(244)を
追加したことであり、それ以外は図1と同じである。ま
た、経路計算部(1)とフォワーディング部(2)は、
それぞれ独立したプロセッサでの構成、あるいは、同一
プロセッサのそれぞれ独立したタスクモジュールでの構
成のいずれでもよく、これも第一の実施形態の場合と同
様である。
FIG. 13 is a functional block diagram of a second embodiment of the packet relay device according to the present invention. 13 differs from FIG. 1 in that a temporary entry registration (244) is added to the relay determination information (26) in the forwarding unit (2), and the rest is the same as FIG. The route calculation unit (1) and the forwarding unit (2)
The configuration may be either an independent processor or an independent task module of the same processor, which is the same as in the first embodiment.

【0051】図14は中継確定情報の仮のエントリによ
るパケット中継を示す図、図15は中継確定情報の仮の
エントリを中継確定情報エントリ追加要求で更新するこ
とを示す図である。また、図16は、図4と同様に、フ
ォワーディング部(2)がIPデータグラムを受信した
ときの動作のフローチャートである。図16で図4との
相違点は、中継確定情報に仮エントリを登録する処理を
追加したことであり、それ以外は図4と同じである。
FIG. 14 is a diagram showing the packet relay by the temporary entry of the relay determination information, and FIG. 15 is a diagram showing that the temporary entry of the relay determination information is updated by the relay determination information entry addition request. FIG. 16 is a flowchart of the operation when the forwarding unit (2) receives the IP datagram, similarly to FIG. FIG. 16 differs from FIG. 4 in that a process of registering a temporary entry in the relay determination information is added, and the rest is the same as FIG.

【0052】以下、図13乃至図16を参照し、本第二
の実施形態のフォワーディング部(2)の動作を、図4
と対比させて詳述する。図4では、受信したIPデータ
グラム(25)のIPヘッダ中のソースアドレスとグル
ープアドレスが、中継確定情報(26)のアドレス部と
一致しない場合(ケース104)、その後の処理とし
て、算出した出インタフェースが存在するか判定し(ス
テップ97)、1つ以上のインタフェースが存在すれば
(ケース114)、出インタフェースのすべてのインタ
フェースに対して受信IPデータグラムを送信するとし
た(ステップ98)。
The operation of the forwarding unit (2) according to the second embodiment will now be described with reference to FIGS.
This will be described in detail in comparison with. In FIG. 4, when the source address and the group address in the IP header of the received IP datagram (25) do not match the address part of the relay confirmation information (26) (case 104), the calculated output is performed as a subsequent process. It is determined whether an interface exists (step 97), and if one or more interfaces exist (case 114), it is determined that the received IP datagram is transmitted to all the outgoing interfaces (step 98).

【0053】これに対し、図16では、算出した出イン
タフェースが存在するか判定し(ステップ97)、1つ
以上のインタフェースが存在すれば(ケース114)、
図13に示す様に、中継確定情報(26)に仮のエント
リの登録(244)を行い(ステップ247)、出イン
タフェースのすべてのインタフェースに対し受信IPデ
ータグラムを送信する(ステップ98)。ここで、中継
確定情報(26)に登録したエントリは、IPデータグ
ラム(25)のソースアドレス、宛先アドレス、入イン
タフェース、およびステップ96で算出した出インタフ
ェースを基に作成したエントリである。
On the other hand, in FIG. 16, it is determined whether or not the calculated output interface exists (step 97). If one or more interfaces exist (case 114),
As shown in FIG. 13, a temporary entry is registered (244) in the relay determination information (26) (step 247), and the received IP datagram is transmitted to all outgoing interfaces (step 98). Here, the entry registered in the relay determination information (26) is an entry created based on the source address, destination address, incoming interface, and outgoing interface calculated in step 96 of the IP datagram (25).

【0054】この様に、第二の実施形態では、中継確定
情報(26)に仮のエントリを登録する(ステップ24
7)ことにより、図14に示すように、経路計算部
(1)が中継確定情報エントリ追加要求(28)を発行
する前に、フォワーディング部(2)が次以降の同宛先
パケットを受信した場合、IPデータグラム(40)の
ヘッダ中のソースアドレスとグループアドレスがそれぞ
れ一致する仮のエントリ(246)が中継確定情報(2
45)中に存在する(ケース105)こととなり、該仮
のエントリ(246)中の入インタフェースがそのIP
データグラムを受信したインタフェース(11)と一致
しているか確認する処理(ステップ101)を継続する
こととなる。つまり、受信したIPデータグラム(4
0)のIPヘッダ中のソースアドレスとグループアドレ
スが、中継確定情報(245)のアドレス部と一致しな
い場合(ケース104)の処理は実行されない。このた
め、IPデータグラムのソースアドレスと中継基礎情報
(6)の発信元情報(7)のアドレス部を1エントリず
つ比較する処理(ステップ91)から、フォワーディン
グ部(2)が不一致宛先情報(27)を経路計算部
(1)へ報告する処理(ステップ99)までが、再発生
しないこととなる。
As described above, in the second embodiment, a temporary entry is registered in the relay determination information (26) (step 24).
7) As a result, as shown in FIG. 14, when the forwarding unit (2) receives the next and subsequent same destination packets before the route calculation unit (1) issues the relay determination information entry addition request (28). , The tentative entry (246) in the header of the IP datagram (40) in which the source address and the group address respectively match is the relay determination information (2).
45) (case 105), and the input interface in the temporary entry (246) is
The process (step 101) of checking whether the datagram matches the interface (11) that received the datagram is continued. That is, the received IP datagram (4
If the source address and the group address in the IP header 0) do not match the address part of the relay determination information (245) (case 104), the process is not executed. For this reason, from the processing (step 91) in which the source address of the IP datagram and the address part of the source information (7) of the relay basic information (6) are compared one by one (step 91), the forwarding part (2) sets the mismatch destination information (27). ) To the route calculation unit (1) (step 99) will not occur again.

【0055】また、図15は、経路計算部(1)が中継
確定情報エントリ追加要求(28)を正式に発行した
後、フォワーディング部(2)が、図14に示した中継
確定情報(245)中の仮のエントリ(246)を該中
継確定情報エントリ追加要求(28)に従って更新した
ことを示している。フォワーディング部(2)が一時的
に登録したエントリを仮のエントリ(246)とした理
由は、図15に示す様に、経路計算部(1)が中継確定
情報エントリ追加要求(28)を発行後、フォワーディ
ング部(2)と経路計算部(1)で、中継確定情報(2
45)を一致させるために、正式にフォワーディング部
(2)が、中継確定情報(245)の当該エントリ(2
46)を更新するためである。
FIG. 15 shows that, after the route calculation unit (1) has formally issued the relay determination information entry addition request (28), the forwarding unit (2) sets the relay determination information (245) shown in FIG. This indicates that the temporary entry (246) in the middle has been updated in accordance with the relay confirmation information entry addition request (28). The reason why the entry temporarily registered by the forwarding unit (2) is a temporary entry (246) is that, as shown in FIG. 15, after the route calculation unit (1) issues a relay determination information entry addition request (28). , The forwarding unit (2) and the route calculation unit (1) transmit the relay decision information (2
45) to formally match the entry (2) in the relay determination information (245).
46) is updated.

【0056】以上の様なフォワーディング部(2)の処
理に伴い、経路計算部(1)では、次以降の同宛先パケ
ットによる不一致宛先情報(27)が報告されることが
なく、冗長な中継確定情報エントリ追加要求(28)を
作成する処理が削除されることとなる。
Along with the processing of the forwarding unit (2) as described above, the route calculation unit (1) does not report the mismatched destination information (27) due to the next and subsequent same destination packets, so that a redundant relay decision is made. The process of creating the information entry addition request (28) is deleted.

【0057】以上、本発明の実施形態を説明したが、中
継基礎情報(3)や中継確定情報(26)は、経路計算
部(1)とフォワーディング部(2)で独立にアクセス
可能な共通メモリ装置に格納しておくようにしてもよ
い。この場合、経路計算部(1)があらかじめフォワー
ディング部(2)に中継基礎情報(6)を配布しておく
必要がなく、フォワーディング部(2)は、メモリ装置
に格納された中継基礎情報(3)を基に中継方路を決定
できる。
Although the embodiment of the present invention has been described above, the relay basic information (3) and the relay decision information (26) are stored in the common memory which can be independently accessed by the route calculation unit (1) and the forwarding unit (2). It may be stored in a device. In this case, there is no need for the route calculation unit (1) to distribute the relay basic information (6) to the forwarding unit (2) in advance, and the forwarding unit (2) uses the relay basic information (3) stored in the memory device. ) Can be used to determine the relay route.

【0058】また、図1や図13の実施形態では、中継
基礎情報(3,6)を宛先情報(5,8)と発信元情報
(4,7)から構成されるとしたが、宛先情報のみや、
発信元情報のみとすることは任意である。これにより、
パケット中継装置では宛先情報のみや発信元情報のみを
収集すればよいネットワークが構築できる。さらに、図
1や図13の実施形態のように、中継基礎情報を宛先情
報と発信元情報から構成すれば、これらのネットワーク
を相互に中継できるパケット中継装置が実現できる。
In the embodiment shown in FIGS. 1 and 13, the relay basic information (3, 6) is composed of the destination information (5, 8) and the source information (4, 7). drinking places,
It is optional to use only the source information. This allows
The packet relay device can construct a network that needs to collect only destination information and only source information. Further, if the relay basic information is composed of the destination information and the source information as in the embodiment of FIGS. 1 and 13, a packet relay device capable of mutually relaying these networks can be realized.

【0059】[0059]

【発明の効果】以上詳述したように、本発明によれば、
受信したパケット情報から経路計算を行う通信手段にお
いて、経路計算処理とパケット中継の処理の順番を変え
ることで、フォワーディング部にパケット中継待ち状態
を発生させないパケット中継装置を実現できる。具体的
には、経路計算部の計算待ちによるパケット中継の遅延
を減少させ、中継確定情報に未登録の宛先のパケットを
受信した場合、そのパケットが中継できるパケットかど
うかをフォワーディング部で判定し、中継不可能なパケ
ットを経路計算部に報告しないことによる冗長処理の削
除、フォワーディング部にパケット中継待ち状態を発生
させないことにより経路計算部で中継確定情報が作成で
きなかった時に発生する中継待ちキューからのパケット
削除処理の削除、経路計算部に報告後の中継待ちパケッ
トのキューが有限であることから発生する輻輳時のパケ
ット廃棄を減少させた、パケット中継装置を実現でき
る。
As described in detail above, according to the present invention,
By changing the order of the route calculation process and the packet relay process in the communication unit that performs the route calculation from the received packet information, it is possible to realize a packet relay device that does not cause a packet relay wait state in the forwarding unit. Specifically, the delay of the packet relay due to the calculation waiting of the route calculation unit is reduced, and when the packet of the destination not registered in the relay determination information is received, the forwarding unit determines whether the packet can be relayed, Redundancy processing is deleted by not reporting unrelayable packets to the route calculation unit, and from the relay wait queue that occurs when the route calculation unit cannot create relay decision information by not causing the forwarding unit to wait for packet relay. And a packet relay device in which packet discard at the time of congestion caused by the finite queue of relay waiting packets after being reported to the route calculation unit is reduced.

【0060】そして、経路計算部とフォワーディング部
の機能を異なるプロセッサにより実現することにより、
物理的に同時に経路計算と中継動作を行うことが可能
で、従来より遅延の少ないフォワーディング機能を備え
たパケット中継装置を実現できる。
By realizing the functions of the path calculation unit and the forwarding unit by different processors,
It is possible to perform a route calculation and a relay operation physically at the same time, and to realize a packet relay device having a forwarding function with less delay than before.

【0061】また、経路計算部とフォワーディング部を
単一プロセッサの別タスクモジュールに分ければ、処理
の優先度や処理順番により、異なるプロセッサにした場
合はほどではないが、同様の効果が得られる。さらに、
異なるプロセッサによるパケット中継装置より安価なパ
ケット中継装置が実現できる。
Further, if the path calculation unit and the forwarding unit are separated into different task modules of a single processor, the same effect can be obtained, though not so much when different processors are used depending on the processing priority and the processing order. further,
A packet relay device that is less expensive than a packet relay device using different processors can be realized.

【0062】また、さらに、経路計算部とフォワーディ
ング部の機能を分けた場合、経路計算部が計算中に次到
着の同一宛先パケットを受信することにより、冗長な経
路の再計算処理が該パケット中継装置に起こるが、フォ
ワーディング部でも一時的に中継確定情報を登録するこ
とにより、この冗長な経路の再計算処理を行わないパケ
ット中継装置も実現できる。
Further, when the functions of the route calculating unit and the forwarding unit are separated, the route calculating unit receives the same next destination packet during the calculation during the calculation. Although this occurs in the device, a packet relay device that does not perform the recalculation processing of the redundant route can also be realized by temporarily registering the relay determination information in the forwarding unit.

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

【図1】本発明によるパケット中継装置の一実施形態の
機能ブロック図である。
FIG. 1 is a functional block diagram of an embodiment of a packet relay device according to the present invention.

【図2】中継確定情報によるパケット中継を示す図であ
る。
FIG. 2 is a diagram illustrating packet relay based on relay determination information.

【図3】受信インタフェース不一致によるパケット廃棄
を示す図である。
FIG. 3 is a diagram illustrating packet discarding due to reception interface mismatch.

【図4】本発明によるパケット中継装置の一実施形態の
IPデータグラムを受信契機としたフォワーディング部
の動作のフローチャートである。
FIG. 4 is a flowchart of the operation of the forwarding unit when receiving an IP datagram in the packet relay device according to an embodiment of the present invention;

【図5】発明の一実施形態のネットワークシステムの全
体図である。
FIG. 5 is an overall view of a network system according to an embodiment of the present invention.

【図6】マルチキャスト通信の概念図である。FIG. 6 is a conceptual diagram of multicast communication.

【図7】ルーティングプロトコルXの動作1を示す図で
ある。
FIG. 7 is a diagram showing an operation 1 of the routing protocol X.

【図8】ルーティングプロトコルXの動作2を示す図で
ある。
FIG. 8 is a diagram showing an operation 2 of the routing protocol X.

【図9】ルーティングプロトコルYの動作1を示す図で
ある。
FIG. 9 is a diagram showing an operation 1 of the routing protocol Y.

【図10】ルーティングプロトコルYの動作2を示す図
である。
FIG. 10 is a diagram showing an operation 2 of the routing protocol Y.

【図11】IPデータグラムのヘッダフォーマットを示
す図である。
FIG. 11 is a diagram showing a header format of an IP datagram.

【図12】マルチキャストグループアドレスフォーマッ
トを示す図である。
FIG. 12 is a diagram showing a multicast group address format.

【図13】フォワーディング部で中継確定情報に仮のエ
ントリを追加する本発明の他の実施形態の機能ブロック
図である。
FIG. 13 is a functional block diagram of another embodiment of the present invention in which a forwarding section adds a temporary entry to relay determination information.

【図14】中継確定情報の仮のエントリによるパケット
中継を示す図である。
FIG. 14 is a diagram illustrating packet relay using a temporary entry of relay determination information.

【図15】中継確定情報の仮のエントリを中継確定情報
エントリ追加要求で更新することを示す図である。
FIG. 15 is a diagram showing that a temporary entry of relay determination information is updated by a relay determination information entry addition request.

【図16】フォワーディング部で中継確定情報に仮のエ
ントリを追加する本発明の他の実施形態のIPデータグ
ラムを受信契機とした、フォワーディング部の動作のフ
ローチャートである。
FIG. 16 is a flowchart of the operation of the forwarding unit when receiving a trigger of receiving an IP datagram according to another embodiment of the present invention, in which the forwarding unit adds a temporary entry to the relay determination information.

【図17】従来のパケット中継装置の機能ブロック図で
ある。
FIG. 17 is a functional block diagram of a conventional packet relay device.

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

1 経路計算部 2 フォワーディング部 3 経路計算部の中継基礎情報 4 経路計算部の中継基礎情報の発信元情報 5 経路計算部の中継基礎情報の宛先情報 6 フォワーディング部の中継基礎情報 7 フォワーディング部の中継基礎情報の発信元情報 8 フォワーディング部の中継基礎情報の宛先情報 9 プロトコルX 10 プロトコルY 11〜16 インタフェースa〜f 19 中継基礎情報の配布 25 フォワーディング部の処理中パケット 26 フォワーディング部の中継確定情報 27 不一致宛先情報 28 中継確定情報エントリ追加要求 29 経路計算部のプロトコル情報 45 更新した中継確定情報 244 中継確定情報の仮のエントリ登録 245 仮のエントリを登録された中継確定情報 246 仮のエントリ DESCRIPTION OF SYMBOLS 1 Route calculation part 2 Forwarding part 3 Basic relay information of route calculation part 4 Source information of basic relay information of route calculation part 5 Destination information of basic relay information of route calculation part 6 Basic relay information of forwarding part 7 Relay of forwarding part Source information of basic information 8 Destination information of basic relay information of forwarding section 9 Protocol X 10 Protocol Y 11 to 16 Interfaces a to f 19 Distribution of basic relay information 25 Processing packet of forwarding section 26 Relay determination information of forwarding section 27 Unmatched destination information 28 Relay fixed information entry addition request 29 Protocol information of route calculation unit 45 Updated relay fixed information 244 Temporary entry registration of relay fixed information 245 Relay fixed information registered with temporary entry 246 Temporary entry

───────────────────────────────────────────────────── フロントページの続き (72)発明者 関野 浩 神奈川県秦野市堀山下1番地 株式会社日 立インフォメーションテクノロジー内 (72)発明者 弘田 永幸 神奈川県秦野市堀山下1番地 株式会社日 立インフォメーションテクノロジー内 (72)発明者 林 久善 神奈川県海老名市下今泉810番地 株式会 社日立製作所サーバ開発本部内 (72)発明者 森本 茂樹 神奈川県海老名市下今泉810番地 株式会 社日立製作所サーバ開発本部内 (72)発明者 左古 義人 神奈川県海老名市下今泉810番地 株式会 社日立製作所サーバ開発本部内 (72)発明者 福田 将志 神奈川県海老名市下今泉810番地 株式会 社日立製作所内サーバ開発本部 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Hiroshi Sekino 1 Horiyamashita, Hadano-shi, Kanagawa Prefecture Inside Nichi Information Technology Co., Ltd. (72) Inventor Kuzen Hayashi 810 Shimo-Imaizumi, Ebina-shi, Kanagawa Pref., Hitachi, Ltd.Server Development Division (72) Inventor Shigeki Morimoto 810 Shimo-Imaizumi, Ebina-shi, Kanagawa Pref. 72) Inventor Yoshito Sako 810 Shimo-Imaizumi, Ebina-shi, Kanagawa Prefecture Inside the server development headquarters of Hitachi, Ltd.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 受信したパケットの情報と保持している
経路計算の基となる中継基礎情報により経路計算して、
特定のパケットを中継するための中継確定情報を生成
し、該生成された中継確定情報によりパケットの中継を
行うパケット中継方法において、 経路計算前に中継基礎情報を基に中継方路を決定し、パ
ケットを中継して経路計算を行い、中継確定情報を生成
し、次以降の同宛先パケットを該中継確定情報に従い中
継することを特徴とするパケット中継方法。
1. A route is calculated based on information of a received packet and relay basic information which is a basis of a route calculation stored therein.
In a packet relay method of generating relay determination information for relaying a specific packet and relaying a packet based on the generated relay determination information, a relay route is determined based on relay basic information before calculating a route, A packet relay method comprising: performing a route calculation by relaying a packet; generating relay determination information; and relaying a subsequent same destination packet in accordance with the relay determination information.
【請求項2】 1つ以上の物理もしくは論理インタフェ
ースと、あるインタフェースから受信したパケットを、
特定のパケットを中継するための登録済みの中継確定情
報に従い中継するフォワーディング部と、パケットの情
報と保持している経路計算の基となる中継基礎情報によ
り経路計算して中継確定情報を生成する経路計算部とを
具備するパケット中継装置において、 フォワーディング部は、中継確定情報に未登録の宛先の
パケットを受信した場合に、中継基礎情報から中継方路
を計算して該パケットを中継するとともに、当該パケッ
トの情報を経路計算部に報告し、 経路計算部は、フォワーディング部から報告されたパケ
ット情報と中継基礎情報により新たな中継確定情報を生
成し、次以降の同宛先パケットの中継確定情報として登
録する、 ことを特徴とするパケット中継装置。
2. The method of claim 1, wherein one or more physical or logical interfaces and a packet received from an interface are
A forwarding unit that relays according to registered relay determination information for relaying a specific packet, and a route that generates a relay determination information by calculating a route based on the packet information and the relay basic information that is the basis of the held route calculation A packet relay device comprising a calculation unit, when the forwarding unit receives a packet of a destination not registered in the relay determination information, calculates a relay route from the relay basic information and relays the packet, and Report the packet information to the route calculation unit.The route calculation unit generates new relay decision information based on the packet information reported from the forwarding unit and the relay basic information, and registers it as the relay decision information for the next and subsequent same destination packets. A packet relay device.
【請求項3】 1つ以上の物理もしくは論理インタフェ
ースと、あるインタフェースから受信したパケットを、
特定のパケットを中継するための登録済みの中継確定情
報に従い中継するフォワーディング部と、パケットの情
報と保持している経路計算の基となる中継基礎情報によ
り経路計算して中継確定情報を生成する経路計算部とを
具備するパケット中継装置において、 フォワーディング部は、中継確定情報に未登録の宛先の
パケットを受信した場合に、中継基礎情報から中継方路
を計算して該中継方路を次以降の同宛先パケットの一時
的な中継確定情報として登録し、該パケットを中継する
とともに、当該パケットの情報を経路計算部に報告し、 経路計算部は、フォワーディング部から報告されたパケ
ット情報と中継基礎情報により新たな中継確定情報を生
成し、同宛先パケットの中継確定情報として登録する、
ことを特徴とするパケット中継装置。
3. The method of claim 1, wherein one or more physical or logical interfaces and a packet received from an interface are
A forwarding unit that relays according to registered relay determination information for relaying a specific packet, and a route that generates a relay determination information by calculating a route based on the packet information and the relay basic information that is the basis of the held route calculation In a packet relay device comprising a calculation unit, when receiving a packet of a destination not registered in the relay determination information, the forwarding unit calculates a relay route from the relay basic information and changes the relay route to the next and subsequent packets. Register as temporary relay decision information of the same destination packet, relay the packet, and report the information of the packet to the route calculation unit. The route calculation unit transmits the packet information and relay basic information reported from the forwarding unit. To generate new relay determination information and register it as relay determination information of the same destination packet.
A packet relay device characterized by the above-mentioned.
JP37442798A 1998-06-30 1998-12-28 Packet relay method and packet relay apparatus Expired - Lifetime JP3928833B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP37442798A JP3928833B2 (en) 1998-06-30 1998-12-28 Packet relay method and packet relay apparatus

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP18448698 1998-06-30
JP10-184486 1998-06-30
JP37442798A JP3928833B2 (en) 1998-06-30 1998-12-28 Packet relay method and packet relay apparatus

Publications (2)

Publication Number Publication Date
JP2000083051A true JP2000083051A (en) 2000-03-21
JP3928833B2 JP3928833B2 (en) 2007-06-13

Family

ID=26502525

Family Applications (1)

Application Number Title Priority Date Filing Date
JP37442798A Expired - Lifetime JP3928833B2 (en) 1998-06-30 1998-12-28 Packet relay method and packet relay apparatus

Country Status (1)

Country Link
JP (1) JP3928833B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011030490A1 (en) * 2009-09-10 2011-03-17 日本電気株式会社 Relay control device, relay control system, relay control method, and relay control program
JP2011166700A (en) * 2010-02-15 2011-08-25 Nec Corp Network system, and packet speculative transfer method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011030490A1 (en) * 2009-09-10 2011-03-17 日本電気株式会社 Relay control device, relay control system, relay control method, and relay control program
JP5648639B2 (en) * 2009-09-10 2015-01-07 日本電気株式会社 Relay control device, relay control system, relay control method, and relay control program
US10075338B2 (en) 2009-09-10 2018-09-11 Nec Corporation Relay control unit, relay control system, relay control method, and relay control program
JP2011166700A (en) * 2010-02-15 2011-08-25 Nec Corp Network system, and packet speculative transfer method

Also Published As

Publication number Publication date
JP3928833B2 (en) 2007-06-13

Similar Documents

Publication Publication Date Title
CN100444574C (en) Multicast optimization in a VLAN tagged network
US7385977B2 (en) Multicast system for forwarding desired multicast packets in a computer network
Oran OSI IS-IS intra-domain routing protocol
CN101047714B (en) Apparatus and method for processing network data
US7072952B2 (en) Spanning tree bypassing method and apparatus
JP2002507364A (en) A mechanism for packet field replacement in multilayer distributed network elements
JP2001500345A (en) Routing in multilayer distributed network elements
EP1022875B1 (en) Push network
JP2002508124A (en) Mechanism for replacing packet fields in multilayer switching network elements
JPH06334691A (en) Packet switching network
US7170885B2 (en) Packet switching method and apparatus thereof
CN101345705A (en) Packet transfer apparatus and packet transfer method
CN102197627A (en) Improved convergence of multicast traffic
JP3449541B2 (en) Data packet transfer network and data packet transfer method
JPH11284664A (en) Virtual exclusive network buildup system
JP3824906B2 (en) INTERNET CONNECTION METHOD, ITS DEVICE, AND INTERNET CONNECTION SYSTEM USING THE DEVICE
JPH11331237A (en) Method and device for repeating multicast packet
JP3928833B2 (en) Packet relay method and packet relay apparatus
Segall et al. Reliable multiuser tree setup with local identifiers
JPH06232875A (en) Router and wide band communication network system
Cisco Novell IPX Commands
Cisco DECNet Commands
Cisco Internetworking Fundamentals Self-Study Guide
Cisco Internetworking Fundamentals
JP3471137B2 (en) Packet transmission node device and packet transfer method

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20050630

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050712

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070207

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070228

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070301

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110316

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110316

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120316

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130316

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130316

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20140316

Year of fee payment: 7

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term