JP2005033351A - Packet relaying apparatus - Google Patents

Packet relaying apparatus Download PDF

Info

Publication number
JP2005033351A
JP2005033351A JP2003194070A JP2003194070A JP2005033351A JP 2005033351 A JP2005033351 A JP 2005033351A JP 2003194070 A JP2003194070 A JP 2003194070A JP 2003194070 A JP2003194070 A JP 2003194070A JP 2005033351 A JP2005033351 A JP 2005033351A
Authority
JP
Japan
Prior art keywords
packet
entry
relay
aging time
aging
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
JP2003194070A
Other languages
Japanese (ja)
Inventor
Masaki Kishi
昌樹 岸
Hiroshi Sekino
浩 関野
Nagayuki Hirota
永幸 弘田
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 Information Technology Co Ltd
Original Assignee
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 Information Technology Co Ltd filed Critical Hitachi Information Technology Co Ltd
Priority to JP2003194070A priority Critical patent/JP2005033351A/en
Publication of JP2005033351A publication Critical patent/JP2005033351A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a packet relaying apparatus for enhancing the reliability of communication by decreasing a memory use amount and reducing a CPU load on the packet relaying apparatus. <P>SOLUTION: An entry with an entry identifier of a set (S, G) of a sender S and a destination G by each of received packets is provided to a routing table 21 of a forwarding section 1 of the packet relaying apparatus, an aging time is set to each entry, the aging time is updated by subtracting an unrelayed time from the aging time set to the entry when no packet is relayed, and when the updated aging time reaches 0 or below, the corresponding entry is deleted. The aging time is set in advance to an aging table 13 by each the entry identifiers (S, G), and when the packet relaying apparatus receives a packet and the entry corresponding to the packet is present in the routing table 21, the aging table 13 is referred and the aging time is set to the entry. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、パケット中継装置に係り、特に、中継用テーブルに従ってパケットを中継するパケット中継装置に関する。
【0002】
【従来の技術】
TCP/IPプロトコルなどにおけるルータやスイッチなどのパケット中継装置で、パケット受信後にそのパケットのエントリをルーティングテーブルに登録し、ルーティングテーブルに従ってパケットを中継し、予め設定されたエイジング時間経過後に不必要になったエントリをルーティングテーブルから削除する中継方式において、中継装置がパケットを受信した場合、ルーティングテーブルに登録するエントリのエイジング時間は一定である。
エイジング時間については、エイジング時間が一定でない従来技術として、中継データのテーブルヒット率に着目し、エイジング時間を変更する方法がある(例えば、特許文献1参照。)。
また、エントリ登録時間に着目し、登録時間が更新されるまでの経過時間に応じてエイジング時間を変更する方法がある(例えば、特許文献2参照。)。
【特許文献1】
特平開11−68818号公報
【特許文献2】
特開2000−196643号公報
【0003】
【発明が解決しようとする課題】
ルータやスイッチなどの中継装置のルーティングテーブルにおけるエイジング時間設定の従来技術は、ルーティングテーブルからエントリ削除するためのエイジング時間が一定であるため、経路情報エントリを長期保持することで不必要な経路情報エントリを保持し、経路情報継続処理による負荷やメモリ使用量が増大する。
また、経路情報エントリの保持時間が短期間の場合、中継パケット再受信で経路情報エントリの作成処理が必要になるため、負荷増大による通信の信頼性欠如といった問題がおこる。
しかし、上記特許文献1、2では、短時間に大量のデータ中継が頻発しても、通信量、スループットに応じた、エイジング時間変更を行っていない。そのため、例えば、大量の画像を含むニュースデータなどを配信する場合、特に、ある特定のグループ(マルチキャスト通信)に対して配信する場合、中継装置において、瞬時に大量データの中継作業が発生することになる。この時、中継装置において、対象となるデータに対する経路情報エントリが登録されていないと、本中継が発生してから、中継用の経路情報エントリを作成することになるため、瞬時に大量に受信したデータのうち受信バッファを超えるデータが破棄されてしまう可能性が増えることになる。
本発明の目的は、パケット中継装置のメモリ使用量の削減、CPU負荷の減少による通信の信頼性向上を図ることにある。
また、受信したパケット情報から経路計算を行う通信において、経路情報のテーブルにおける各エントリごとに個別のエイジング時間を設け、通信の性質に応じたエイジング時間で経路情報を作成・制御することにある。
【0004】
【課題を解決するための手段】
上記目的を達成するため、
パケット中継装置で中継パケット受信後に中継用テーブルにエントリを登録し、該中継用テーブルに従ってパケットを中継し、指定されたエイジング時間経過後、該エントリを不必要になったエントリとして該中継用テーブルから削除するパケット中継装置において、
中継パケットの予め指定した指定フィールドの内容に対応するエントリを前記中継用テーブルに登録するエントリ登録手段と、該エントリにエイジング時間を設定するエイジング時間設定手段と、該指定フィールドの内容を有するパケットを中継しない間は、該エントリに設定したエイジング時間から該パケットを中継しない時間を減算して該エイジング時間を更新する手段を有している。
また、前記指定フィールドの内容を有するパケットを中継しない時間が、該パケットに対応するエントリに設定されたエイジング時間を越えた時に、該パケットに対応するエントリを前記中継用テーブルから削除する手段を有している。
また、前記指定フィールドの内容と該指定フィールドの内容に対して予め割り当てられたエイジング時間からなるエイジングテーブルを有し、
中継パケットを受信したとき、該パケットに対応するエントリが前記中継用テーブルに存在するとき、前記エイジング時間設定手段は前記エイジングテーブルを参照してエイジング時間を設定するようにしている。
【0005】
【発明の実施の形態】
図1に本発明におけるインターネットなどで知られているTCP/IPプロトコルを基本としたネットワーク構成例を示す。
801,802,803,804,805は、それぞれIPアドレスS1,S2,S3,S4,S5をもった端末装置を示す。811,812,813,814,815は、それぞれルータなどのパケット中継装置を示す。
本例では、パケット中継装置を、ある特定のグルーピングされた装置を宛先とするマルチキャスト通信を使用するルータを例として説明する。このグルーピングされた装置の宛先のIPアドレスをグループアドレスという。
図2は、TCP/IPプロトコルにおけるIPデータグラムのパケットフォーマットである。
ヘッダ部には、送信元アドレス51、宛先アドレス52が含まれている。
送信元のIPアドレスはヘッダの送信元アドレスフィールド51に格納され、宛先のIPアドレスであるグループアドレスは宛先アドレスフィールド52に格納される。
以下、送信元アドレス(ソースアドレス)Sm、宛先アドレス(グループアドレス)Gnのマルチキャストパケットを(Sm,Gn)で表す。m=1,n=1の場合は、(S1,G1)である。
【0006】
図3は図1における中継装置813を例にして、中継装置の機能ブロック図を示している。
この中継装置は、物理的な接続口であるインタフェースa31、b32、c33、d34から受信したパケットを中継するフォワーディング部1と、フォワーディング部1で経路を求められない場合の経路計算を行う経路計算部2に分かれる。
フォワーディング部1は、受信パケットに対する中継インタフェース情報をもつ中継用テーブルをもつ。本実施例では、中継用テーブルとしてルーティングテーブル21をもつ。
経路計算部2はソース情報テーブル11と、グループ情報テーブル12、エイジングテーブル13、エントリログ情報テーブル14、制御テーブル15をもつ。
【0007】
図4にルーティングテーブル21のフォーマットを示す。
ルーティングテーブル21は、エントリ識別子、受信インタフェース、中継インタフエース、エイジング時間、累積通信量をエントリ要素として有する。
本実施例では、エントリ識別子としてパケット内のフィールドの送信元アドレスSと宛先アドレス(グループアドレス)の組である(S,G)を用いている。エントリ識別子としては、(S,G)以外にパケット内のフィールドを指定してもよい。例えば、送信元アドレスのみ、宛先アドレスのみ、セッションなどを指定してもよい。 本実施例では、例えば、先頭のエントリは、エントリ識別子として(S1,G1)を持ち、(S1,G1)に関するエントリであり、ソースアドレスS1とグループアドレスG1のパケットをインタフェースaから受信した場合、インタフェースcに中継することを意味する。
エイジング時間T1はこのエントリがルーティングテーブル21上に保持される時間を表す。エイジング時間T1は、(S1,G1)のパケット中継が行われない間、時間の経過とともに減少し、値が0になった場合、(S1,G1)のエントリはルーティングテーブル21から削除される。
また、累積通信量は、このルートに対して、中継された過去の累積通信量を蓄積しているものである。
【0008】
図5にソース情報テーブル11のフォーマットを示す。
ソース情報テーブル11は、本実施例では、予め初期設定された各ソースアドレスとそれに対する受信インタフェース情報をエントリ要素としてもつ。
受信インタフェースの情報は、TCP/IPにおけるRIP,OSPFなどのユニキャストルーティングプロトコルによって決定される。
【0009】
図6にグループ情報テーブル12のフォーマットを示す。
グループ情報テーブル12、本実施例では、予め初期設定された各グループアドレスとそれに対する中継インタフェース情報をエントリ要素としてもつ。
中継インタフェースの情報は、TCP/IPにおけるDVMRP、PIMなどのマルチキャストルーティングプロトコルによって決定される。
【0010】
図7にエイジングテーブル13のフォーマットを示す。
エイジングテーブル13の各エントリは、エントリ識別子とそのエイジング時間をエントリ要素としてもつ。
エントリ識別子としては、(Sm,Gn)の外に、送信元アドレス情報のみ、宛先アドレス情報のみ、セッションなどを用いることもでき、それらに対して、個別のエイジング時間を割り当てる方法が考えられる。図8にエントリログ情報テーブル14のエントリ識別子についても同様である。
ここでは、送信元アドレス、宛先アドレスの対(Sm,Gn)を例にして説明する。
各送信元アドレス、宛先アドレスの対に対応して、エイジング時間を設定する。
また、どの対にも対応しない場合のデフォルトのエイジング時間(T0)をもち、個別に登録されていないエントリはこのデフォルト値でエイジング時間が割り当てられるものとする。
本実施例では予め、通信の種類および重要度からルーティングエントリのエイジング時間を設定しておく。
重要な通信ではルーティングエントリを長時間保持し、ルーティングエントリ再作成時のCPU過負荷によるパケット紛失を防ぎ、通信の品質向上を図る。
また、重要度の低い通信では、エントリ保持時間を短く設定し、ルーティングエントリが不要になった場合にいち早くエントリを削除することで、エントリリソースの使用量を減少させる。
これにより無駄な再作成CPUリソースとエントリリソースの最適な管理を行う。
【0011】
図8にエントリログ情報テーブル14のフォーマットを示す。
エントリログ情報テーブル14の各エントリは、エントリ識別子とエントリログ情報をもつ。
エントリ識別子としては、送信元アドレス、宛先アドレスの対が格納される。
エントリログ情報については、本実施例では、通信量を用いる。
エントリログ情報テーブル14には、ルーティングテーブル21からエントリを削除する時に、その時のルーティングテーブル21エントリログ情報テーブル14における累積通信量が格納される。
エントリログ情報テーブル14における通信量は、ルーティングテーブル21にエントリ再登録時に過去の通信量から、新たなエイジング時間を求めるために使用される。
エントリログ情報テーブル14への通信量の登録は、フォワーディング部1から登録依頼を受信することで行われる。
【0012】
図9に制御テーブル15を示す。
制御テーブル15は通信量基準値Kpをもつ。
通信量基準値Kpは、ルーティングテーブル21へ、以前使用していたエントリを再登録する時に、新たに設定するエイジング時間を決定するための処理において使用される。
【0013】
図10にパケット中継処理を示す。
パケット中継処理1002はフォワーディング部1におけるパケット中継処理を示しており、フォワーディング部処理1000は、パケットを受信してからパケットを中継するまでフォワーディング部1で行われる処理を示している。
経路計算処理1011は経路計算部2における経路計算処理を示しており、経路計算部処理1010は、経路計算要求を受けてから経路計算結果通知を返すまで経路計算部2で行われる処理を示している。
例えば、フォワーディング部1のインタフェースa31からパケット(S1,G1)を受信した場合、ルーティングテーブル21にエントリ(S1,G1)が存在すれば、パケット中継処理1002を行う。
この処理でルーティングテーブル21にエントリ(S1,G1)が存在しない場合、経路計算部2に経路計算要求1003を送信し、経路計算部2からの応答を待つ。
経路計算部2から経路計算結果通知1012を受けると、ルーティングテーブル21にエントリを登録し、登録したエントリに従ってパケット中継1004をする。
経路計算部2が経路計算要求1003を受信すると、経路計算処理1011を行い、フォワーディング部1に対し、エントリ追加要求またはエントリエラーの経路計算結果通知1012をする。
【0014】
次に図10のパケット中継処理1002、経路計算処理1011の詳細をそれぞれ図11、図12を用いて説明する。
図11は、パケットを受信したときにフォワーディング部1で行われる処理のフローチャートを示しており、フォワーディング部1において、あるインタフェースから、パケット(S,G)を受信した場合、ルーティングテーブル21に該当するエントリ識別子が(S,G)であるエントリが存在するかどうか調べる(210)。
ルーティングテーブル21にエントリ識別子が(S,G)であるエントリが存在する場合、本エントリが参照されたということから、ルーティングテーブル21のエントリ識別子が(S,G)であるエントリのエイジング時間を、エイジングテーブル13における該当するエイジング時間を読み出し、図4のルーティングテーブル21のエイジング時間、例えば、(S,G)が(S1,G1)の場合、T1を読み出し、その値をセットする(211)。
次に、登録されている中継インタフェースにパケットを送信する(212)。
ここで、(S,G)が(S1,G1)の場合には、インタフェースcに送信する。
また、パケット(S,G)を受信し、ルーティングテーブル21中に(S,G)の該当エントリが存在しない場合、フォワーディング部1は経路計算部2に対し経路計算を依頼し(213)、経路計算部2からの経路計算依頼に対する返信を待つ(220)。
フォワーディング部1は、経路計算依頼(213)後に経路計算部2からの返信を受けると、受信メッセージを調べ(221)、エントリエラーの場合、受信パケットを破棄する(232)。
フォワーディング部1は、経路計算部2からエントリ追加要求を受信した場合、ルーティングテーブル21に受信した(S,G)をエントリ識別子としたエントリを追加し、このエントリに受信インターフェース、中継インターフェース、新たなエイジング時間を登録し、累積通信量として‘0’を登録し(222)、該当中継インタフェースにパケット(S,G)を送信する(212)。
なお、本実施例では、累積通信量を‘0’にしたが、エントリログ情報テーブル14に(S,G)に対応する通信量が登録されている場合には、この通信量を累積通信量として登録してもよい。
【0015】
図12は、経路計算を要求されたときに経路計算部2で行われる処理のフローチャートを示しており、例えば、アドレスの対(S,G)、インターフェースをパラメータとして、呼び出されたケースを示す。
経路計算依頼を受信した経路計算部2では、受信パケットの送信元アドレスSがソース情報テーブルに存在するかどうかを調べる(250)。
送信元アドレスSが存在する場合には(251)に進み、送信元アドレスSがソース情報テーブルに存在しない場合には、受信エントリを破棄し、フォワーディング部1に対し、エントリエラーを返信する(260)。
送信元アドレスSがソース情報テーブルに存在する場合、ソース情報テーブルの受信インタフェースとパケットを受信したインタフェースが同じであるか調べる(251)。
同じ場合には(252)に進み、同じでない場合には、フォワーディング部1に対し、エントリエラーを返信する(260)。
受信パケットのグループアドレスGがグループ情報テーブルに存在するかを調べる(252)。
グループアドレスGがグループ情報テーブルに存在する場合には(253)に進み、グループアドレスGがグループ情報テーブルに存在しない場合、フォワーディング部1にエントリエラーを返信する(260)。
グループアドレスGがグループ情報テーブルに存在する場合、フォワーディング部1のルーティングテーブル21に追加のエントリを登録するため、以上で取得した受信インタフェース、中継インタフェースを使用し、エントリ識別子を(S,G)として追加のエントリを作成する(253)。
次に、エントリログ情報テーブル14から該当するエントリ識別子(S,G)を検索する(254)。
エントリログ情報テーブル14にエントリ識別子(S,G)が存在しない場合、エイジングテーブル13から(S,G)をキーとするエイジング時間を検索し、そのエイジング時間Tを読み出す(255)。
エントリログ情報テーブル14にエントリ識別子が(S,G)であるエントリが存在する場合、累積通信量から、新たなエイジング時間を算出し(算出方法は後述する。)、エイジング時間の再作成処理を行う(256)。
(253)で作成したエントリにエイジング時間を追加したエントリ、フォワーディング部1に対し、作成したエントリのエントリ追加要求を送信する(257)。
【0016】
次に、図13は、ルーティングテーブル21のエイジング時間を減算更新する処理を示す。
本処理は、一定周期のタイマにより、起動をかけられ、フォワーディング処理、経路計算処理とは、別のタスクとして実行するものである。
本処理は、ルーティングテーブル21の全エントリのエイジング時間をタイマ値分減算更新する(310)。
減算後のエイジング時間が0以下であれば、当該エントリに対するエントリログ情報として、累積通信量の情報を採取する(320)。
経路計算部2に対し、採取した累積通信量の情報をエントリログ情報登録要求によって通知する(321)。
経路計算部2がエントリログ登録要求を受信すると、エントリログ情報テーブル14に、上記の採取した累積通信量をエントリログ情報として登録する。
フォワーディング部1ではエントリログ情報登録要求通知(321)後、当該エントリを削除する(322)。
以上の処理をルーティングテーブル21の全エントリに対して実行する(312)。
【0017】
図14を用いて再作成処理(図12の256)を説明する。
エントリログ情報テーブル14のエントリフィールドに要求のあった(S,G)が存在する場合、エントリログ情報14の通信量と制御テーブル15の通信量基準値Kpとを比較する(610)。
通信量基準値Kpより通信量のほうが大きい場合は、通信量からエイジング時間増加分ΔTを算出し、エイジングテーブル13の当該のエイジング時間に加算する(620)。エイジング時間増加分ΔTの算出式の一例を次に示す。
ΔT=pd/Kp×T・・・・(式1)
通信量基準値Kpより、通信量が少ない場合は、エイジングテーブル13のエイジング時間の設定値をそのまま使用する。
以上により、エイジングテーブル13のエイジング時間を更新し、その値を使用して、ルーティングテーブル21のエイジング時間へ設定する値とする。
なお、図11のフローチャートの222では、累積通信量を‘0’にしたが、エントリログ情報テーブル14に(S,G)に対応する通信量が登録されている場合に、この通信量を累積通信量として登録する場合には、上記(式1)において、pdが大きな値になるケースがあり、(式1)は適当な式とは言えなくなるので、(式1)の代わりに別の式を適用し、ΔTを計算するようにすればよい。
【0018】
以上の例では、送信元アドレスS、宛先マルチキャストアドレスGの対(S,G)をエイジング時間決定の要素としたが、送信元アドレスS、宛先マルチキャストアドレスGそれぞれ単独、または、ユニキャストアドレス単位でも同様に適用可能である。
本実施例では、インターフェースなる物理的通信路を想定したが、メール、Webなどの論理的通信路に対しても、同様に適用可能であることはいうまでもない。
また、本実施例では、1個のルーティングテーブル21としたが、本テーブルの各エントリが複数に分割保存されていてもよく、また、その他、ルーティングに関する同様な中継用テーブルであれば、同様に適用可能である。
【0019】
本実施例では、累積通信量に応じて、エイジング時間を決める方式としたが、累積値に限定するものでなく、また、パケット数も、通信量に相当するものとして扱ってよい。
さらに、通信量に代わり、スループット値に応じて、エイジング時間を定めることも可能である。
この場合、上記実施例において、時間を計測するタイマを設け、図4に、累積通信量と同様にスループット値を設け、本装置起動時または、図11のフローチャートに累積通信量を‘0’にするタイミングと同様にスループット値を‘0’にするタイミングで、タイマを初期値0にして起動をかける。以降は、データを中継するたびに、累積通信量を本タイマ値で除算することにより得られる値をスループット値(他の方法で得られたスループット値でもよい)として、図4の対象エントリのスループット値を更新する。そして、累積通信量を基にエイジング時間を決める手順と同様の手順で、エイジング時間を決めることができる。
【0020】
さらに、エイジング時間を決める他の要素として、エントリ存在時間、エントリ削除時刻などについてもログ情報を残しエントリ再登録時のエイジング時間に反映させる方法も考えられる。
【0021】
【発明の効果】
以上のように本発明は、パケット受信により経路計算を行う通信手段において、経路情報エントリの任意の要素ごとに個別のエイジング時間を設けることで通信の性質に応じたエイジング時間で経路情報を作成・制御することができる。
これにより、不要エントリの早期削除によるメモリ使用量の削減が期待でき、必要エントリの長期保持で、経路再計算回数が減少し、CPU負荷減少が期待できる。
これらのことから、パケット廃棄が減少し、信頼性の高いデータ中継が可能となる。
【図面の簡単な説明】
【図1】実施例におけるネットワーク構成例を示す図である。
【図2】TCP/IPプロトコルにおけるIPデータグラムのパケットフォーマットの例を示す図である。
【図3】実施例におけるパケット中継装置の機能ブロック図を示す図である。
【図4】実施例におけるルーティングテーブルの例を示す図である。
【図5】実施例におけるソース情報テーブルの例を示す図である。
【図6】実施例におけるグループ情報テーブルの例を示す図である。
【図7】実施例におけるエイジングテーブルの例を示す図である。
【図8】実施例におけるエントリログ情報テーブルの例を示す図である。
【図9】実施例における制御情報テーブルの例を示す図である。
【図10】パケット受信時の中継動作の例を示す図である。
【図11】フォワーディング部のパケット中継処理のフローチャートを示す図である。
【図12】経路計算部の経路計算処理のフローチャートを示す図である。
【図13】ルーティングテーブルのエイジング時間を減算更新する処理のフローチャートを示す図である。
【図14】エントリ再登録時のエイジング時間変更処理のフローチャートを示す図である。
【符号の説明】
1 フォワーディング部
2 経路計算部
11 ソース情報テーブル
12 グループ情報テーブル
13 エイジングテーブル
14 エントリログ情報テーブル
15 制御テーブル
21 ルーティングテーブル
31〜34 インタフェース
51 送信元アドレス
52 宛先アドレス
801〜805 端末装置
811〜815 中継装置
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a packet relay device, and more particularly to a packet relay device that relays packets according to a relay table.
[0002]
[Prior art]
A packet relay device such as a router or switch in the TCP / IP protocol or the like registers a packet entry in the routing table after receiving the packet, relays the packet according to the routing table, and becomes unnecessary after a preset aging time has elapsed. In the relay method in which the entry is deleted from the routing table, when the relay device receives a packet, the aging time of the entry registered in the routing table is constant.
Regarding the aging time, as a conventional technique in which the aging time is not constant, there is a method of changing the aging time by paying attention to the table hit rate of relay data (for example, refer to Patent Document 1).
Further, there is a method of changing the aging time according to the elapsed time until the registration time is updated, focusing on the entry registration time (see, for example, Patent Document 2).
[Patent Document 1]
Japanese Patent Publication No. 11-68818 [Patent Document 2]
Japanese Patent Laid-Open No. 2000-196643
[Problems to be solved by the invention]
In the conventional technology for setting the aging time in the routing table of a relay device such as a router or switch, the aging time for deleting an entry from the routing table is constant. And the load and memory usage due to the path information continuation process increase.
In addition, when the retention time of the route information entry is short, the route information entry must be created by re-receiving the relay packet, which causes a problem of lack of communication reliability due to an increase in load.
However, in Patent Documents 1 and 2, even if a large amount of data relay frequently occurs in a short time, the aging time is not changed according to the communication amount and throughput. Therefore, for example, when distributing news data including a large amount of images, particularly when distributing to a specific group (multicast communication), a relay device instantaneously generates a large amount of data to be relayed. Become. At this time, if the route information entry for the target data is not registered in the relay device, the route information entry for relay will be created after the occurrence of this relay. There is an increased possibility that data exceeding the reception buffer will be discarded.
An object of the present invention is to improve the reliability of communication by reducing the memory usage of the packet relay device and reducing the CPU load.
Further, in communication in which route calculation is performed from received packet information, an individual aging time is provided for each entry in the route information table, and route information is created and controlled with an aging time according to the nature of the communication.
[0004]
[Means for Solving the Problems]
To achieve the above objective,
After the relay packet is received by the packet relay device, an entry is registered in the relay table, the packet is relayed according to the relay table, and after the specified aging time has elapsed, the entry is regarded as an unnecessary entry from the relay table. In the packet relay device to be deleted,
An entry registration means for registering an entry corresponding to the contents of a designated field specified in advance in the relay packet in the relay table; an aging time setting means for setting an aging time in the entry; and a packet having the contents of the designated field. While not relaying, there is means for updating the aging time by subtracting the time when the packet is not relayed from the aging time set in the entry.
In addition, there is provided means for deleting the entry corresponding to the packet from the relay table when the time during which the packet having the contents of the designated field is not relayed exceeds the aging time set in the entry corresponding to the packet. is doing.
Also, an aging table comprising contents of the designated field and an aging time assigned in advance to the contents of the designated field,
When the relay packet is received, and an entry corresponding to the packet exists in the relay table, the aging time setting means sets the aging time with reference to the aging table.
[0005]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 shows a network configuration example based on the TCP / IP protocol known in the Internet or the like in the present invention.
Reference numerals 801, 802, 803, 804, and 805 denote terminal apparatuses having IP addresses S1, S2, S3, S4, and S5, respectively. Reference numerals 811, 812, 813, 814, and 815 denote packet relay apparatuses such as routers.
In this example, the packet relay apparatus will be described as an example of a router that uses multicast communication destined for a specific grouped apparatus. The destination IP address of the grouped device is called a group address.
FIG. 2 is a packet format of an IP datagram in the TCP / IP protocol.
The header part includes a source address 51 and a destination address 52.
The source IP address is stored in the source address field 51 of the header, and the group address that is the destination IP address is stored in the destination address field 52.
Hereinafter, a multicast packet having a source address (source address) Sm and a destination address (group address) Gn is represented by (Sm, Gn). When m = 1 and n = 1, it is (S1, G1).
[0006]
FIG. 3 is a functional block diagram of the relay device, taking the relay device 813 in FIG. 1 as an example.
This relay device includes a forwarding unit 1 that relays packets received from interfaces a31, b32, c33, and d34 that are physical connection ports, and a route calculation unit that performs route calculation when a route cannot be obtained by the forwarding unit 1. Divided into two.
The forwarding unit 1 has a relay table having relay interface information for received packets. In this embodiment, a routing table 21 is provided as a relay table.
The route calculation unit 2 includes a source information table 11, a group information table 12, an aging table 13, an entry log information table 14, and a control table 15.
[0007]
FIG. 4 shows the format of the routing table 21.
The routing table 21 has an entry identifier, a reception interface, a relay interface, an aging time, and a cumulative communication amount as entry elements.
In this embodiment, (S, G), which is a set of the source address S and the destination address (group address) in the field in the packet, is used as the entry identifier. As an entry identifier, a field in the packet may be specified in addition to (S, G). For example, only a source address, only a destination address, a session, or the like may be designated. In the present embodiment, for example, the top entry has (S1, G1) as an entry identifier, and is an entry related to (S1, G1), and when the packet of the source address S1 and the group address G1 is received from the interface a, It means to relay to interface c.
The aging time T1 represents the time that this entry is held on the routing table 21. The aging time T1 decreases with time while the packet relay of (S1, G1) is not performed, and when the value becomes 0, the entry of (S1, G1) is deleted from the routing table 21.
Further, the accumulated traffic is the accumulated past traffic that has been relayed for this route.
[0008]
FIG. 5 shows the format of the source information table 11.
In the present embodiment, the source information table 11 has each source address initialized in advance and reception interface information corresponding thereto as entry elements.
The information of the reception interface is determined by a unicast routing protocol such as RIP or OSPF in TCP / IP.
[0009]
FIG. 6 shows the format of the group information table 12.
In the group information table 12, in this embodiment, each group address that is initialized in advance and the relay interface information corresponding thereto are included as entry elements.
The information of the relay interface is determined by a multicast routing protocol such as DVMRP or PIM in TCP / IP.
[0010]
FIG. 7 shows the format of the aging table 13.
Each entry in the aging table 13 has an entry identifier and its aging time as entry elements.
As the entry identifier, in addition to (Sm, Gn), only the source address information, only the destination address information, a session, etc. can be used, and a method of assigning individual aging times to them can be considered. The same applies to the entry identifier of the entry log information table 14 in FIG.
Here, a description will be given taking as an example a pair (Sm, Gn) of a source address and a destination address.
An aging time is set for each source address / destination address pair.
Further, it is assumed that an entry that has a default aging time (T0) when not corresponding to any pair and is not individually registered is assigned with this default value.
In this embodiment, the aging time of the routing entry is set in advance from the type and importance of communication.
In important communications, routing entries are retained for a long time, packet loss due to CPU overload when routing entries are recreated is prevented, and communication quality is improved.
In communication with low importance, the entry holding time is set short, and when the routing entry becomes unnecessary, the entry is deleted as soon as possible, thereby reducing the usage amount of the entry resource.
Thus, optimal management of useless recreated CPU resources and entry resources is performed.
[0011]
FIG. 8 shows the format of the entry log information table 14.
Each entry in the entry log information table 14 has an entry identifier and entry log information.
A pair of a source address and a destination address is stored as the entry identifier.
As for the entry log information, the communication amount is used in this embodiment.
The entry log information table 14 stores the accumulated traffic in the routing table 21 entry log information table 14 at the time when an entry is deleted from the routing table 21.
The traffic in the entry log information table 14 is used to obtain a new aging time from the past traffic when the entry is re-registered in the routing table 21.
The communication amount is registered in the entry log information table 14 by receiving a registration request from the forwarding unit 1.
[0012]
FIG. 9 shows the control table 15.
The control table 15 has a communication amount reference value Kp.
The communication amount reference value Kp is used in a process for determining a newly set aging time when an entry that has been used before is re-registered in the routing table 21.
[0013]
FIG. 10 shows packet relay processing.
A packet relay process 1002 indicates a packet relay process in the forwarding unit 1, and a forwarding unit process 1000 indicates a process performed in the forwarding unit 1 after receiving a packet until the packet is relayed.
A route calculation process 1011 shows a route calculation process in the route calculation unit 2, and a route calculation unit process 1010 shows a process performed in the route calculation unit 2 from receiving a route calculation request until returning a route calculation result notification. Yes.
For example, when the packet (S1, G1) is received from the interface a31 of the forwarding unit 1, if the entry (S1, G1) exists in the routing table 21, the packet relay processing 1002 is performed.
If there is no entry (S1, G1) in the routing table 21 in this process, a route calculation request 1003 is transmitted to the route calculation unit 2 and a response from the route calculation unit 2 is awaited.
When the route calculation result notification 1012 is received from the route calculation unit 2, an entry is registered in the routing table 21, and the packet relay 1004 is performed according to the registered entry.
When the route calculation unit 2 receives the route calculation request 1003, the route calculation processing 1011 is performed, and an entry addition request or entry error route calculation result notification 1012 is sent to the forwarding unit 1.
[0014]
Next, details of the packet relay processing 1002 and the route calculation processing 1011 in FIG. 10 will be described with reference to FIGS. 11 and 12, respectively.
FIG. 11 shows a flowchart of processing performed by the forwarding unit 1 when a packet is received. When the forwarding unit 1 receives a packet (S, G) from a certain interface, it corresponds to the routing table 21. It is checked whether there is an entry whose entry identifier is (S, G) (210).
When there is an entry whose entry identifier is (S, G) in the routing table 21, since this entry is referred to, the aging time of the entry whose entry identifier is (S, G) in the routing table 21 is The corresponding aging time in the aging table 13 is read, and when the aging time in the routing table 21 in FIG. 4, for example, (S, G) is (S1, G1), T1 is read and the value is set (211).
Next, the packet is transmitted to the registered relay interface (212).
Here, when (S, G) is (S1, G1), it transmits to the interface c.
When the packet (S, G) is received and the corresponding entry of (S, G) does not exist in the routing table 21, the forwarding unit 1 requests the route calculation unit 2 to perform route calculation (213). It waits for a reply to the route calculation request from the calculation unit 2 (220).
When receiving the reply from the route calculation unit 2 after the route calculation request (213), the forwarding unit 1 examines the received message (221), and discards the received packet in the case of an entry error (232).
When receiving the entry addition request from the route calculation unit 2, the forwarding unit 1 adds an entry having (S, G) received as an entry identifier to the routing table 21, and adds a reception interface, a relay interface, and a new entry to this entry. The aging time is registered, “0” is registered as the accumulated communication amount (222), and the packet (S, G) is transmitted to the corresponding relay interface (212).
In this embodiment, the accumulated communication amount is set to “0”. However, when the communication amount corresponding to (S, G) is registered in the entry log information table 14, this amount of communication is calculated as the accumulated communication amount. You may register as
[0015]
FIG. 12 shows a flowchart of processing performed in the route calculation unit 2 when route calculation is requested. For example, the case is called using an address pair (S, G) and an interface as parameters.
Upon receiving the route calculation request, the route calculation unit 2 checks whether the source address S of the received packet exists in the source information table (250).
If the source address S exists, the process proceeds to (251). If the source address S does not exist in the source information table, the received entry is discarded and an entry error is returned to the forwarding unit 1 (260). ).
If the source address S exists in the source information table, it is checked whether the receiving interface of the source information table is the same as the interface that received the packet (251).
If they are the same, the process proceeds to (252). If they are not the same, an entry error is returned to the forwarding unit 1 (260).
It is checked whether the group address G of the received packet exists in the group information table (252).
If the group address G exists in the group information table, the process proceeds to (253). If the group address G does not exist in the group information table, an entry error is returned to the forwarding unit 1 (260).
When the group address G is present in the group information table, an additional entry is registered in the routing table 21 of the forwarding unit 1, so that the received identifier and relay interface acquired above are used and the entry identifier is (S, G). An additional entry is created (253).
Next, the corresponding entry identifier (S, G) is searched from the entry log information table 14 (254).
If the entry identifier (S, G) does not exist in the entry log information table 14, the aging time using (S, G) as a key is searched from the aging table 13, and the aging time T is read (255).
When there is an entry whose entry identifier is (S, G) in the entry log information table 14, a new aging time is calculated from the accumulated traffic (a calculation method will be described later), and an aging time re-creation process is performed. (256).
An entry addition request for the created entry is transmitted to the entry created by adding the aging time to the entry created in (253) and the forwarding unit 1 (257).
[0016]
Next, FIG. 13 shows processing for subtracting and updating the aging time of the routing table 21.
This process is activated by a fixed-cycle timer, and is executed as a separate task from the forwarding process and the route calculation process.
In this processing, the aging time of all entries in the routing table 21 is subtracted and updated by the timer value (310).
If the aging time after subtraction is 0 or less, information on the accumulated traffic is collected as entry log information for the entry (320).
Information on the collected accumulated traffic is notified to the route calculation unit 2 by an entry log information registration request (321).
When the route calculation unit 2 receives the entry log registration request, the collected accumulated traffic is registered as entry log information in the entry log information table 14.
The forwarding unit 1 deletes the entry (322) after the entry log information registration request notification (321).
The above processing is executed for all entries in the routing table 21 (312).
[0017]
The re-creation process (256 in FIG. 12) will be described with reference to FIG.
When there is a requested (S, G) in the entry field of the entry log information table 14, the communication amount of the entry log information 14 is compared with the communication amount reference value Kp of the control table 15 (610).
If the communication amount is larger than the communication amount reference value Kp, the aging time increment ΔT is calculated from the communication amount and added to the aging time in the aging table 13 (620). An example of a formula for calculating the aging time increase ΔT is shown below.
ΔT = pd / Kp × T (Formula 1)
When the communication amount is smaller than the communication amount reference value Kp, the set value of the aging time in the aging table 13 is used as it is.
As described above, the aging time of the aging table 13 is updated, and the value is used as a value set to the aging time of the routing table 21.
In the flowchart 222 of FIG. 11, the accumulated communication amount is set to “0”. However, when the communication amount corresponding to (S, G) is registered in the entry log information table 14, this communication amount is accumulated. In the case of registering as a traffic, there is a case where pd becomes a large value in (Expression 1), and (Expression 1) cannot be said to be an appropriate expression. Therefore, another expression is substituted for (Expression 1). And ΔT may be calculated.
[0018]
In the above example, the pair (S, G) of the source address S and the destination multicast address G is used as an element for determining the aging time. However, the source address S and the destination multicast address G are each singly or in unicast address units. The same applies.
In the present embodiment, a physical communication path serving as an interface is assumed, but it goes without saying that the present invention can be similarly applied to a logical communication path such as mail and Web.
In this embodiment, one routing table 21 is used. However, each entry of this table may be divided and stored in a plurality, and other similar relay tables related to routing may be used. Applicable.
[0019]
In the present embodiment, the aging time is determined according to the accumulated traffic, but is not limited to the accumulated value, and the number of packets may be handled as corresponding to the traffic.
Further, the aging time can be determined according to the throughput value instead of the communication amount.
In this case, in the above embodiment, a timer for measuring time is provided, a throughput value is provided in FIG. 4 in the same way as the accumulated communication amount, and the accumulated communication amount is set to “0” when the apparatus is activated or in the flowchart of FIG. In the same way as the timing to perform, the timer is set to the initial value 0 at the timing to set the throughput value to “0”, and the activation is started. Thereafter, every time data is relayed, the value obtained by dividing the accumulated communication amount by this timer value is used as the throughput value (or the throughput value obtained by another method), and the throughput of the target entry in FIG. Update the value. Then, the aging time can be determined by the same procedure as the procedure for determining the aging time based on the accumulated communication amount.
[0020]
Further, as another factor for determining the aging time, a method of leaving the log information and reflecting the entry existing time, entry deletion time, etc. in the aging time at the time of entry re-registration is also conceivable.
[0021]
【The invention's effect】
As described above, according to the present invention, in communication means that performs route calculation by receiving a packet, route information is created with aging time according to the nature of communication by providing individual aging time for each arbitrary element of the route information entry. Can be controlled.
As a result, a reduction in memory usage by early deletion of unnecessary entries can be expected, and the number of path recalculations can be reduced by holding the required entries for a long time, and a reduction in CPU load can be expected.
For these reasons, packet discard is reduced, and highly reliable data relay becomes possible.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating an example of a network configuration in an embodiment.
FIG. 2 is a diagram illustrating an example of a packet format of an IP datagram in the TCP / IP protocol.
FIG. 3 is a functional block diagram of a packet relay device according to an embodiment.
FIG. 4 is a diagram illustrating an example of a routing table in the embodiment.
FIG. 5 is a diagram illustrating an example of a source information table in the embodiment.
FIG. 6 is a diagram illustrating an example of a group information table in the embodiment.
FIG. 7 is a diagram illustrating an example of an aging table in the embodiment.
FIG. 8 is a diagram illustrating an example of an entry log information table in the embodiment.
FIG. 9 is a diagram illustrating an example of a control information table in the embodiment.
FIG. 10 is a diagram illustrating an example of a relay operation when a packet is received.
FIG. 11 is a diagram illustrating a flowchart of packet relay processing of a forwarding unit.
FIG. 12 is a diagram illustrating a flowchart of route calculation processing of a route calculation unit.
FIG. 13 is a flowchart of a process for subtracting and updating an aging time of a routing table.
FIG. 14 is a diagram illustrating a flowchart of aging time change processing at the time of entry re-registration.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Forwarding part 2 Path | route calculation part 11 Source information table 12 Group information table 13 Aging table 14 Entry log information table 15 Control table 21 Routing table 31-34 Interface 51 Source address 52 Destination address 801-805 Terminal apparatus 811-815 Relay apparatus

Claims (12)

パケット中継装置で中継パケット受信後に中継用テーブルにエントリを登録し、該中継用テーブルに従ってパケットを中継し、指定されたエイジング時間経過後、該エントリを不必要になったエントリとして該中継用テーブルから削除するパケット中継装置において、
中継パケットの予め指定した指定フィールドの内容に対応するエントリを前記中継用テーブルに登録するエントリ登録手段と、該エントリにエイジング時間を設定するエイジング時間設定手段と、該指定フィールドの内容を有するパケットを中継しない間は、該パケットに対応するエントリに設定したエイジング時間から該パケットを中継しない時間を減算して該エイジング時間を更新する手段を有することを特徴とするパケット中継装置。
After the relay packet is received by the packet relay device, an entry is registered in the relay table, the packet is relayed according to the relay table, and after the specified aging time has elapsed, the entry is regarded as an unnecessary entry from the relay table. In the packet relay device to be deleted,
An entry registration means for registering an entry corresponding to the contents of a designated field specified in advance in the relay packet in the relay table; an aging time setting means for setting an aging time in the entry; and a packet having the contents of the designated field. A packet relay apparatus comprising: means for subtracting a time during which the packet is not relayed from an aging time set in an entry corresponding to the packet while the relay is not performed, and updating the aging time.
請求項1記載のパケット中継装置において、
前記指定フィールドの内容を有するパケットを中継しない時間が、該パケットに対応するエントリに設定されたエイジング時間を越えた時に、該パケットに対応するエントリを前記中継用テーブルから削除する手段を有することを特徴とするパケット中継装置。
The packet relay device according to claim 1,
Means for deleting an entry corresponding to the packet from the relay table when a time during which the packet having the contents of the designated field is not relayed exceeds an aging time set in an entry corresponding to the packet; A packet relay device characterized.
請求項2記載のパケット中継装置において、
前記指定フィールドの内容と該指定フィールドの内容に対して予め割り当てられたエイジング時間からなるエイジングテーブルを有し、
中継パケットを受信したとき、該パケットに対応するエントリが前記中継用テーブルに存在するとき、前記エイジング時間設定手段は前記エイジングテーブルを参照してエイジング時間を設定することを特徴とするパケット中継装置。
The packet relay device according to claim 2,
An aging table comprising contents of the designated field and an aging time assigned in advance to the contents of the designated field;
The packet relay device according to claim 1, wherein, when a relay packet is received and the entry corresponding to the packet exists in the relay table, the aging time setting means sets the aging time with reference to the aging table.
請求項3記載のパケット中継装置において、
前記指定フィールドの内容を有するパケットに対応するエントリに該パケットの累積通信量を設定する手段と、
パケットに対応するエントリを削除する際に、該パケットの前記指定フィールドの内容と前記累積通信量をメモリに保存する手段を有することを特徴とするパケット中継装置。
The packet relay device according to claim 3, wherein
Means for setting the cumulative traffic of the packet in an entry corresponding to the packet having the contents of the designated field;
A packet relay apparatus, comprising: means for storing the contents of the designated field of the packet and the accumulated communication amount in a memory when deleting an entry corresponding to the packet.
請求項4記載のパケット中継装置において、
中継パケットを受信したとき、該パケットに対応するエントリが前記中継用テーブルに存在しないとき、
前記エントリ登録手段により該パケットに対応するエントリを該中継用テーブルに登録し、
該エントリの前記指定フィールドの内容に対応する前記累積通信量が前記メモリに保存されており、該累積通信量が予め定めた基準量より大きいとき、該累積通信量に基づきエイジング時間の増分値を求め、前記エイジングテーブルにおける該エントリの前記指定フィールドの内容に対応するエイジング時間に該増分値を加えて新たなエイジング時間を取得して該エントリに設定すると共に該新たなエイジング時間により該エイジングテーブルを更新する手段を有することを特徴とするパケット中継装置。
The packet relay device according to claim 4, wherein
When a relay packet is received, and an entry corresponding to the packet does not exist in the relay table,
Registering the entry corresponding to the packet in the relay table by the entry registration means;
When the accumulated traffic corresponding to the contents of the designated field of the entry is stored in the memory and the accumulated traffic is larger than a predetermined reference amount, an increment value of the aging time is calculated based on the accumulated traffic. The new aging time is obtained by adding the increment value to the aging time corresponding to the contents of the designated field of the entry in the aging table and set in the entry, and the aging table is set by the new aging time. A packet relay device comprising means for updating.
請求項1乃至請求項5のいずれかの請求項記載のパケット中継装置において、
前記中継パケットの予め指定した指定フィールドが送信元情報であることを特徴とするパケット中継装置。
In the packet relay device according to any one of claims 1 to 5,
A packet relay apparatus characterized in that a designated field specified in advance in the relay packet is transmission source information.
請求項1乃至請求項5のいずれかの請求項記載のパケット中継装置において、
前記中継パケットの予め指定した指定フィールドが宛先情報であることを特徴とするパケット中継装置。
In the packet relay device according to any one of claims 1 to 5,
A packet relay apparatus, wherein a designated field designated in advance of the relay packet is destination information.
請求項1乃至請求項5のいずれかの請求項記載のパケット中継装置において、
前記中継パケットの予め指定した指定フィールドが送信元情報と宛先情報の組であることを特徴とするパケット中継装置。
In the packet relay device according to any one of claims 1 to 5,
A packet relay apparatus, wherein the designated field specified in advance in the relay packet is a set of transmission source information and destination information.
パケット中継装置で中継パケット受信後に中継用テーブルにエントリを登録し、該中継用テーブルに従ってパケットを中継し、指定されたエイジング時間経過後、該エントリを不必要になったエントリとして該中継用テーブルから削除するパケット中継装置において、
前記エントリに前記中継パケットが経由する物理的な通信路を指定する情報を設定する手段と、前記エントリにエイジング時間を設定する手段と、前記中継パケットを指定された物理的な通信路で中継しない間は、該エントリに設定したエイジング時間から該パケットを中継しない時間を減算して該エイジング時間を更新する手段を有することを特徴とするパケット中継装置。
After the relay packet is received by the packet relay device, an entry is registered in the relay table, the packet is relayed according to the relay table, and after the specified aging time has elapsed, the entry is regarded as an unnecessary entry from the relay table. In the packet relay device to be deleted,
Means for setting information specifying a physical communication path through which the relay packet passes in the entry; means for setting an aging time in the entry; and not relaying the relay packet through the specified physical communication path A packet relay apparatus characterized by comprising means for subtracting a time during which the packet is not relayed from an aging time set in the entry to update the aging time.
パケット中継装置で中継パケット受信後に中継用テーブルにエントリを登録し、該中継用テーブルに従ってパケットを中継し、指定されたエイジング時間経過後、該エントリを不必要になったエントリとして該中継用テーブルから削除するパケット中継装置において、
前記エントリに前記中継パケットが経由する論理的通信路を指定する情報を設定する手段と、前記エントリにエイジング時間を設定する手段と、前記中継パケットを指定された論理的通信路で中継しない間は、該エントリに設定したエイジング時間から該パケットを中継しない時間を減算して該エイジング時間を更新する手段を有することを特徴とするパケット中継装置。
After the relay packet is received by the packet relay device, an entry is registered in the relay table, the packet is relayed according to the relay table, and after the specified aging time has elapsed, the entry is regarded as an unnecessary entry from the relay table. In the packet relay device to be deleted,
Means for setting information specifying a logical communication path through which the relay packet passes in the entry; means for setting an aging time in the entry; and while the relay packet is not relayed on the specified logical communication path. A packet relay apparatus comprising: means for subtracting a time during which the packet is not relayed from an aging time set in the entry to update the aging time.
請求項3記載のパケット中継装置において、
前記指定フィールドの内容を有するパケットに対応するエントリに該パケットのスループット値を設定する手段と、
パケットに対応するエントリを削除する際に、該パケットの前記指定フィールドの内容と前記スループット値をメモリに保存する手段を有することを特徴とするパケット中継装置。
The packet relay device according to claim 3, wherein
Means for setting a throughput value of the packet in an entry corresponding to the packet having the contents of the designated field;
A packet relay apparatus, comprising: means for storing, in a memory, contents of the designated field of the packet and the throughput value when deleting an entry corresponding to the packet.
請求項11記載のパケット中継装置において、
中継パケットを受信したとき、該パケットに対応するエントリが前記中継用テーブルに存在しないとき、
前記エントリ登録手段により該パケットに対応するエントリを該中継用テーブルに登録し、
該エントリの前記指定フィールドの内容に対応する前記スループット値が前記メモリに保存されており、該スループット値が予め定めた基準量より大きいとき、該スループット値に基づきエイジング時間の増分値を求め、前記エイジングテーブルにおける該エントリの前記指定フィールドの内容に対応するエイジング時間に該増分値を加えて新たなエイジング時間を取得して該エントリに設定すると共に該新たなエイジング時間により該エイジングテーブルを更新する手段を有することを特徴とするパケット中継装置。
The packet relay device according to claim 11,
When a relay packet is received, and an entry corresponding to the packet does not exist in the relay table,
Registering the entry corresponding to the packet in the relay table by the entry registration means;
When the throughput value corresponding to the content of the designated field of the entry is stored in the memory and the throughput value is larger than a predetermined reference amount, an increment value of aging time is obtained based on the throughput value, and Means for obtaining the new aging time by adding the increment value to the aging time corresponding to the contents of the designated field of the entry in the aging table, setting the new aging time, and updating the aging table by the new aging time A packet relay device comprising:
JP2003194070A 2003-07-09 2003-07-09 Packet relaying apparatus Pending JP2005033351A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003194070A JP2005033351A (en) 2003-07-09 2003-07-09 Packet relaying apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003194070A JP2005033351A (en) 2003-07-09 2003-07-09 Packet relaying apparatus

Publications (1)

Publication Number Publication Date
JP2005033351A true JP2005033351A (en) 2005-02-03

Family

ID=34205328

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003194070A Pending JP2005033351A (en) 2003-07-09 2003-07-09 Packet relaying apparatus

Country Status (1)

Country Link
JP (1) JP2005033351A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011101245A (en) * 2009-11-06 2011-05-19 Nec Corp Communication system, path controller, path control method and program for path control
JP2012175578A (en) * 2011-02-23 2012-09-10 Nippon Telegr & Teleph Corp <Ntt> Layer 2 address cache update control method, device, and program
JP2012235400A (en) * 2011-05-09 2012-11-29 Alaxala Networks Corp Switching device and aging method for switching device
WO2013133400A1 (en) * 2012-03-09 2013-09-12 日本電気株式会社 Controller, communication system, switch control method and program
JP2014033322A (en) * 2012-08-02 2014-02-20 Nippon Telegr & Teleph Corp <Ntt> Ip router and packet communication method
JP2017005516A (en) * 2015-06-10 2017-01-05 キヤノン株式会社 Communication device, control method for the same, and computer program
CN109885779A (en) * 2019-01-09 2019-06-14 中国平安人寿保险股份有限公司 Management subsystem method, apparatus, computer installation and storage medium

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011101245A (en) * 2009-11-06 2011-05-19 Nec Corp Communication system, path controller, path control method and program for path control
JP2012175578A (en) * 2011-02-23 2012-09-10 Nippon Telegr & Teleph Corp <Ntt> Layer 2 address cache update control method, device, and program
JP2012235400A (en) * 2011-05-09 2012-11-29 Alaxala Networks Corp Switching device and aging method for switching device
WO2013133400A1 (en) * 2012-03-09 2013-09-12 日本電気株式会社 Controller, communication system, switch control method and program
JPWO2013133400A1 (en) * 2012-03-09 2015-07-30 日本電気株式会社 Control device, communication system, switch control method, and program
US9559959B2 (en) 2012-03-09 2017-01-31 Nec Corporation Control apparatus, communication system, switch controlling method and program
JP2014033322A (en) * 2012-08-02 2014-02-20 Nippon Telegr & Teleph Corp <Ntt> Ip router and packet communication method
JP2017005516A (en) * 2015-06-10 2017-01-05 キヤノン株式会社 Communication device, control method for the same, and computer program
CN109885779A (en) * 2019-01-09 2019-06-14 中国平安人寿保险股份有限公司 Management subsystem method, apparatus, computer installation and storage medium
CN109885779B (en) * 2019-01-09 2024-04-02 中国平安人寿保险股份有限公司 Subsystem management method, device, computer device and storage medium

Similar Documents

Publication Publication Date Title
US10075338B2 (en) Relay control unit, relay control system, relay control method, and relay control program
US8169910B1 (en) Network traffic analysis using a flow table
JP3717836B2 (en) Dynamic load balancer
US10148573B2 (en) Packet processing method, node, and system
JP4825696B2 (en) Packet relay device
EP3035638A1 (en) Interest acknowledgements for information centric networking
JP5967090B2 (en) COMMUNICATION SYSTEM, CONTROL DEVICE, NODE CONTROL METHOD, AND PROGRAM
US9276852B2 (en) Communication system, forwarding node, received packet process method, and program
KR102536676B1 (en) Packet processing method and apparatus, and related devices
US6546422B1 (en) Caching of network contents by packet relays that determine cache priority utilizing contents access frequency and metrics in their routing tables representing relaying path lengths
US7864782B2 (en) Packet processing apparatus and method
US10516615B2 (en) Network traffic congestion control
JP2008118281A (en) Communication device
JP2005033351A (en) Packet relaying apparatus
US9654399B2 (en) Methods and devices in an IP network for congestion control
JP2006324981A (en) Multicast packet transfer system
JP5812612B2 (en) COMMUNICATION CONTROL DEVICE AND PROGRAM, AND COMMUNICATION SYSTEM
JP4677501B2 (en) Relay device and relay method
US7859997B2 (en) Packet handling on a network device
KR20150016916A (en) A device for multipath routing of packets in computer networking and the method for its use
KR100823135B1 (en) Routing control device for efficient arp request and method thereof
JP2003008662A (en) Method and device for controling access to network, and system for controling access to network using its device
JP5071245B2 (en) Packet switching apparatus and program
JP4597102B2 (en) Packet switching equipment
JP6424496B2 (en) Packet transfer system and packet transfer apparatus