JP3596609B2 - Packet relay method - Google Patents

Packet relay method Download PDF

Info

Publication number
JP3596609B2
JP3596609B2 JP2001109914A JP2001109914A JP3596609B2 JP 3596609 B2 JP3596609 B2 JP 3596609B2 JP 2001109914 A JP2001109914 A JP 2001109914A JP 2001109914 A JP2001109914 A JP 2001109914A JP 3596609 B2 JP3596609 B2 JP 3596609B2
Authority
JP
Japan
Prior art keywords
packet
link
destination
links
address
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.)
Expired - Fee Related
Application number
JP2001109914A
Other languages
Japanese (ja)
Other versions
JP2002314584A (en
Inventor
一俊 長澤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2001109914A priority Critical patent/JP3596609B2/en
Publication of JP2002314584A publication Critical patent/JP2002314584A/en
Application granted granted Critical
Publication of JP3596609B2 publication Critical patent/JP3596609B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、パケット中継方式に関し、特に、マルチリンク接続におけるパケット中継方式に関する。
【0002】
【従来の技術】
従来より、マルチリンク接続におけるパケット中継方式に用いられるルータのパケットフォワーディング技術としては、MLPPP方式やラウンドロビン方式等がある。また、ルータのCPUリソースの消費を少なくする技術として、パケットをストリーム毎にフォワーディングする方式がある。
【0003】
【発明が解決しようとする課題】
しかしながら、上述したような従来の技術においては、以下に示すような問題点がある。
【0004】
(1)パケットを中継する際にパケットの送出順序が入れ替わる可能性があるため、音声データの様にリアルタイム性のあるパケットを転送する場合、パケットを受信するエンドノードにおいて転送されてきたパケットの順序を整列しなおさなけらばならない。
【0005】
(2)MLPPP方式においては、パケットの組立とヘッダ付けにおいて多大な処理が必要であるため、CPUリソースを大きく消費してしまう。
【0006】
(3)パケットをストリーム毎にフォワーディングするものにおいては、ストリームの先頭のパケットに基づいて該ストリームをフォワーディングするルート(リンク)が決定されるため、一度、フォワーディングするルートが決定されると、他のリンクが空いていても他のリンクはそのストリームに関して使用することができない。そのため、選択されたリンクが輻輳状態となった場合に、空いているリンクがあるにも関わらずその空きリンクを使用することができない。
【0007】
本発明は、上述したような従来の技術が有する問題点に鑑みてなされたものであって、ストリーム毎にパケットの転送順序を維持しながらもリンクを有効利用でき、さらに、プロセッサに掛かる負荷を少なくすることができるマルチリンク接続におけるパケット中継方式を提供することを目的とする。
【0008】
【課題を解決するための手段】
上記目的を達成するために本発明は、
複数のリンクを介して互いに接続された2つのルータを少なくとも有し、前記2つのルータ間にて前記複数のリンクのうち1つのリンクを介してパケットが転送されるパケット中継方式であって、
前記ルータは、
前記リンクを介して転送されてきたパケットを受信、保持する、前記複数のリンク毎に設けられたバッファのキューを監視することにより前記リンクの使用状況を前記パケットの送信元のルータに通知する通知手段と、
前記通知手段によって通知されるリンクの使用状況に基づいて前記パケットを転送するリンクを選択する選択手段と、
前記パケットの送信先となる宛先アドレスと該宛先アドレスによって指定される送信先に前記パケットを転送する際に使用するリンクとが対応づけられて設定され、当該ルータの入力インターフェース毎に設けられた第1のテーブルと、
前記通知手段から通知されたリンクの使用状況に基づいて当該リンクを用いてパケットを転送することができるかどうかが前記複数のリンク毎に設定された第2のテーブルとを有し、
前記選択手段は、前記第2のテーブルを参照して、前記第1のテーブルにて前記パケットの送信先となる宛先アドレスと対応づけられたリンクが前記パケットを転送することができないものである場合、前記第2のテーブルに設定された、前記パケットを転送することができるリンクを選択し、
前記選択されたリンクが、前記第1のテーブルにて当該パケットの送信先となる宛先アドレスと対応づけられる。
【0009】
また、前記ルータは、前記リンクを介して転送されてきたパケットを受信、保持する、前記複数のリンク毎に設けられたバッファのキューを監視することにより前記リンクの使用状況を前記パケットの送信元のルータに通知する通知手段を有し、
前記選択手段は、前記通知手段によって通知されるリンクの使用状況に基づいて前記パケットを転送するリンクを選択することを特徴とする。
【0010】
また、前記ルータは、前記パケットの送信先となる宛先アドレスと該宛先アドレスによって指定される送信先に前記パケットを転送する際に使用するリンクとが対応づけられて設定され、当該ルータの入力インターフェース毎に設けられた第1のテーブルを有することを特徴とする。
【0011】
また、前記ルータは、前記通知手段から通知されたリンクの使用状況に基づいて当該リンクを用いてパケットを転送することができるかどうかが前記複数のリンク毎に設定された第2のテーブルを有することを特徴とする。
【0012】
また、前記選択手段は、前記第2のテーブルを参照して、前記第1のテーブルにて前記パケットの送信先となる宛先アドレスと対応づけられたリンクが前記パケットを転送することができないものである場合、前記第2のテーブルに設定された、前記パケットを転送することができるリンクを選択することを特徴とする。
【0013】
また、複数のリンクを介して互いに接続された2つのルータを少なくとも有し、前記2つのルータ間にて前記複数のリンクのうち1つのリンクを介してパケットが転送されるパケット中継方式であって、
前記ルータは、前記リンクの使用率及び帯域幅に基づいて前記パケットを転送するリンクを選択する選択手段を有することを特徴とする。
【0014】
(作用)
上記のように構成された本発明においては、ルータ間のリンクの使用状況に基づいてパケットを転送するためのリンクが選択、設定されるので、パケットヘッダを変更することなく、ストリーム毎にパケットの転送が行われ、かつ、空きリンクが有効に活用される。
【0015】
また、パケットの送信先となる宛先アドレスと該宛先アドレスによって指定される送信先にパケットを転送する際に使用するリンクとが対応づけられて設定された第1のテーブルが当該ルータの入力インターフェース毎に設けられているので、パケットの転送順序を維持した状態でストリーム毎にパケットを転送することができるとともに、CPUにかかる負荷が軽減される。
【0016】
【発明の実施の形態】
以下に、本発明の実施の形態について図面を参照して詳細に説明する。
【0017】
図1は、本発明のパケット中継方式の実施の一形態を示す図である。なお、本形態においては、2つのルータが4つのリンクを介して接続されているが、これらの数はこれに限定されるものではない。
【0018】
本形態は図1に示すように、通話を行うための電話機10a,10bと、電話機10a,10bがそれぞれ接続される電話網20a,20bと、電話網20a,20bとそれぞれ接続されたVoIPゲートウェイ30a,30bと、通信を行うためのH323端末40a,40bと、H323端末40a,40bとそれぞれ接続されたルータ50a,50bと、VoIPゲートウェイ30a,30b及びルータ50a,50bとそれぞれ接続されるとともにリンク70−1〜70−4を介して互いに接続され、電話機10a,10bあるいはH323端末40a,40b間にて送受信されるパケットをリンク70−1〜70−4のうちいずれかを用いて中継するルータ60a,60bとから構成されている。
【0019】
また、ルータ60a,60bはそれぞれ、リンク70−1〜70−4とそれぞれ接続され、リンク70−1〜70−4を介して転送されてきたパケットを受信、保持するバッファ61a−1〜61a−4,61b−1〜61b−4と、パケットの転送先を示す宛先IPアドレスに対応して該パケットを出力するリンクが設定されている第1のテーブルであるフォワーディングテーブル62a,62bと、バッファ61a−1〜61a−4,61b−1〜61b−4のキューを監視することによりリンク70−1〜70−4の使用状況を互いのルータ60b,60aに通知するリンク状態通知部63a,63bと、リンク状態通知部63a,63bから通知されたリンク70−1〜70−4の使用状況に基づいてリンク70−1〜70−4にパケットを出力できるかどうかが設定されている第2のテーブルであるリンク状態テーブル64a,64bと、フォワーディングテーブル62a,62b及びリンク状態テーブル64a,64bを参照してパケットを出力するリンクを選択するリンク選択部65a,65bとから構成されている。
【0020】
また、電話網20a,20bとしては、公衆電話網と私設電話網とのいずれも想定でき、また、IP網としても、公衆IP網と私設IP網とのいずれも想定できる。
【0021】
なお、本形態におけるマルチリンク接続やVoIPゲートウェイにおいては、当業者にとってよく知られた事項であり、また本発明とは直接関係しないので、その詳細な構成の説明は省略する。
【0022】
上記何れの場合においても、エンドポイントはマルチリンク接続されたルータにより構成されるIP網を介して接続されており、エンドポイントは、この構成上でエンドーエンドで音声等のリアルタイム性パケットを送受する。
【0023】
以下に、上記のように構成されたパケット中継方式におけるパケット中継方法について説明する。
【0024】
図2は、図1に示したパケット中継方式におけるパケット中継方法を説明するためのフローチャートである。
【0025】
ルータ60aに、リンク70−1〜70−4を介してルータ60b側に転送すべきパケットが入力されると(ステップS1)、まず、リンク選択部65aにおいて、フォワーディングテーブル62aを参照してパケットの宛先IPアドレスが、既にフォワーディングテーブル62aに設定されているアドレスであるかどうかが判断される(ステップS2)。
【0026】
図3は、図1に示したフォワーディングテーブル62aの一例を示す図である。
【0027】
図3に示すように本形態におけるフォワーディングテーブル62aには、宛先IPアドレス毎に、パケットを出力すべきリンク70−1〜70−4が一意に設定されている。なお、このフォワーディングテーブル62aは、ルータ60aの入力インターフェース毎に設けられている。例えば、図1に示したものおいては、電話機10a、電話網20a及びゲートウェイ30aからなる入力インタフェースと、H323端末40a及びルータ50aからなる入力インターフェースとのそれぞれに対応してフォワーディングテーブル62aが設けられている。
【0028】
ルータ60aに入力されたパケットの宛先IPアドレスがフォワーディングテーブル62aに既に設定されている場合は、リンク選択部65aにおいて、フォワーディングテーブル62aを参照して、ルータ60aに入力されたパケットの宛先IPアドレスに対応するリンクが選択される(ステップS3)。例えば、ルータ60aに入力されたパケットの宛先IPアドレスが“AA.AA.AA.AA”の場合、図3に示したフォワーディングテーブル62aにおいては、宛先IPアドレス“AA.AA.AA.AA”にリンク70−1が対応して設定されているため、リンク70−1がパケットを出力するリンクとして選択される。
【0029】
次に、リンク選択部65aにおいて、リンク状態テーブル64aを参照して、ステップS3にて選択されたリンクにパケットを出力できるかどうかが判断される(ステップS4)。
【0030】
図4は、図1に示したリンク状態テーブル64aの一例を示す図である。
【0031】
図4に示すように本形態におけるリンク状態テーブル64aには、リンク70−1〜70−4のそれぞれを用いてパケットを転送することができるかどうかが設定されている。これは、パケットの受信側となるルータ60b内のバッファ61b−1〜61b−4のキューに基づいて設定されており、バッファ61b−1〜61b−4のキューは、ルータ60b内のリンク状態通知部63bにて検出され、これに基づいてリンク70−1〜70−4を用いてパケットを転送することができるかどうかがリンク状態テーブル64aに設定されている。
【0032】
ここで、リンク状態通知部63bにおいては、バッファ61b−1〜61b−4のキューに所定のしきい値を設定し、バッファ61b−1〜61b−4のキューがこのしきい値以下である場合、そのバッファに接続されたリンクを用いたパケットの転送を可とし、バッファ61b−1〜61b−4のキューがしきい値を超えている場合、そのバッファに接続されたリンクを用いてパケットの転送を不可としている。
【0033】
リンク選択部65において、ステップS3にて選択されたリンクを用いてパケットを転送することができると判断された場合は、ステップS3にて選択されたリンクにパケットが出力される(ステップS5)。例えば、ルータ60aに入力されたパケットの宛先IPアドレスが“BB.BB.BB.BB”の場合、図3に示したフォワーディングテーブル62aにおいては、宛先IPアドレス“BB.BB.BB.BB”にリンク70−2が対応して設定されているため、リンク70−2がパケットを転送するためのリンクとして選択され、その後、リンク状態テーブル64aを参照すると、ステップS3にて選択されたリンク70−2が、パケットを転送することができるものであるため、宛先IPアドレスが“BB.BB.BB.BB”であるパケットがリンク70−2に出力される。
【0034】
一方、ステップS2において、ルータ60aに入力されたパケットの宛先IPアドレスがフォワーディングテーブル62aに設定されていない場合は、リンク選択部65aにおいて、リンク状態テーブル64aを参照して、パケットを出力するリンクを選択する(ステップS6)。ステップS6におけるリンクの選択においては、リンク状態テーブル64aを参照して、パケットを転送可とするリンクのうち任意のリンクが選択されることにより行われるが、その方法は、循環方法、若番選択方法あるいは乱数等を使用したランダム方法等が考えられ、それらは選択可能なものとする。
【0035】
また、ステップS4において、ステップS3にて選択されたリンクにパケットを出力できないと判断された場合は、ステップS6における処理に移行し、パケットを出力するリンクを選択する。例えば、ルータ60aに入力されたパケットの宛先IPアドレスが“AA.AA.AA.AA”の場合、図3に示したフォワーディングテーブル62aにおいては、宛先IPアドレス“AA.AA.AA.AA”にリンク70−1が対応して設定されているため、リンク70−1がパケットを転送するためのリンクとして選択されるものの、図4に示したリンク状態テーブル64aを参照すると、リンク70−1はパケットの転送が不可となっている。そのため、宛先IPアドレスが“AA.AA.AA.AA”のパケットをリンク70−1以外のリンク70−2〜70−4を用いて転送することになる。
【0036】
図5は、図1に示したフォワーディングテーブル62aの一例を示す図である。
【0037】
図5に示すように、リンク選択部65aにおいて、宛先IPアドレスが“AA.AA.AA.AA”のパケットを出力するリンクとして、パケットの転送が可能であるリンク70−3が選択される。
【0038】
その後、ステップS6にて選択されたリンクが、パケットの宛先IPアドレスと対応づけられたフォワーディングテーブル62aに設定されるとともに(ステップS7)、ステップS5における処理に移行し、ステップS6にて選択されたリンクにパケットが出力される。なお、ステップS7におけるリンクの設定は、ルータ60aに入力されたパケットの宛先IPアドレスがフォワーディングテーブル62aに設定されていないものである場合は、この宛先IPアドレスが、ステップS6にて選択されたリンクと対応づけられてフォワーディングテーブル62aに新規に設定され、また、ルータ60aに入力されたパケットの宛先IPアドレスがフォワーディングテーブル62aに既に設定されているものであって、ステップS4においてそれに対応するリンクがパケットの転送が不可のものであると判断された場合は、フォワーディングテーブル62aの宛先IPアドレスが一度削除され、その後、該宛先IPアドレスがステップS6にて選択されたリンクと対応づけられてフォワーディングテーブル62aに設定される。
【0039】
以下に、複数のパケットからなるストリームを転送中にリンク70−1〜70−4の使用状況が変化した場合の処理について説明する。
【0040】
図6は、図1に示したパケット中継方式においてストリームの転送中にリンク70−1〜70−4の使用状況が変化した場合の処理を説明するためのフローチャートである。
【0041】
リンク状態通知部63bにおいては、バッファ61b−1〜61b−4のキューが常時監視されており(ステップS11)、バッファ61b−1〜61b−4のキューに応じてリンク70−1〜70−4を用いてパケットを転送可能であるかどうかがリンク状態テーブル64aに通知、設定される。
【0042】
リンク選択部65aにおいては、リンク状態テーブル64aを参照して、リンクを用いてパケットを転送することができるかどうかが、転送可能な状態から転送不可能な状態に変化した場合(ステップS12)、このパケットの宛先IPアドレスをフォワーディングテーブル62aから削除するとともに(ステップS13)、図2に示したステップS6における処理に移行して再度リンクを選択し、ステップS7において、選択したリンクを宛先IPアドレスと対応づけてフォワーディングテーブル62aに設定する。
【0043】
このように、ストリームの転送中にリンク70−1〜70−4の使用状況が変化した場合においても、パケットを出力するリンクを再度選択して選択したリンクにパケットを出力するとともに、選択したリンクを宛先IPアドレスと対応づけてフォワーディングテーブル62aに設定する。
【0044】
また、フォワーディングテーブル62a,62bに、登録されている宛先IPアドレスでも、一定期間、該当宛先アドレスのパケットを受信しない場合、タイムアウトにより登録を削除する機能を付加することも考えられる。
【0045】
また、フォワーディングテーブル62a,62bに登録されている宛先IPアドレスを用いてパケットを所望の送信先に転送できるかどうかによって、フォワーディングテーブル62a,62bに登録されている宛先IPアドレスを削除することもできる。
【0046】
図7は、図1に示したパケット中継方式におけるフォワーディングテーブル62a,62bの点検処理を説明するためのフローチャートである。
【0047】
フォワーディングテーブル62a,62bに登録されている宛先IPアドレスを用いてパケットを所望の送信先に転送できなくなった場合(ステップS21)、フォワーディングテーブル62a,62bに登録されている宛先IPアドレスをフォワーディングテーブル62a,62bから削除する(ステップS22)。
【0048】
上述したように本形態においては、ルータ間のリンクの使用状況に応じてパケットの転送に用いるリンクが設定されるので、パケットヘッダを変更することなく、ストリーム毎にフォワーディングを行うことができ、かつ、空きリンクを有効に活用することができる。
【0049】
また、入力インターフェース毎に宛先IPアドレス毎のフォワーディングテーブルが設けられているので、パケットの転送順序を維持した状態でストリーム毎にパケットを転送することができるとともに、CPUにかかる負荷が軽減される。
【0050】
(他の実施の形態)
図8は、図1に示したリンク状態テーブル64a,64bの他の例を示す図である。
【0051】
図8に示すように本形態においては、リンク70−1〜70−4のそれぞれに、パケットを出力することができるかどうかを示すリンク状態の他に、リンクの帯域幅と使用率がそれぞれ対応づけられてリンク状態テーブル64a,64bに設定されており、パケットを出力するリンクを選択する際、リンクの帯域幅と使用率とにより重み付けされた値に基づいて、パケットを出力するリンクを選択する。なお、リンクの使用率は、受信側のルータ60bのリンク状態通知部63bから送信側のルータ60aに通知される。
【0052】
このように、パケットを出力するリンクを選択する際、リンクの帯域幅と使用率とにより重み付けされた値に基づいて、パケットを出力するリンクを選択しているため、リンク70−1〜70−4の負荷分散を図ることができる。
【0053】
【発明の効果】
以上説明したように本発明においては、ルータ間のリンクの使用状況に基づいてパケットを転送するためのリンクが選択、設定される構成としたため、パケットヘッダを変更することなく、ストリーム毎にパケットの転送を行うことができ、かつ、空きリンクを有効に活用することができる。
【0054】
また、パケットの送信先となる宛先アドレスと該宛先アドレスによって指定される送信先にパケットを転送する際に使用するリンクとが対応づけられて設定された第1のテーブルを当該ルータの入力インターフェース毎に設けたため、パケットの転送順序を維持した状態でストリーム毎にパケットを転送することができ、リアルタイム性のあるパケット転送を行うことができ、また、CPUにかかる負荷を軽減することができる。
【図面の簡単な説明】
【図1】本発明のパケット中継方式の実施の一形態を示す図である。
【図2】図1に示したパケット中継方式におけるパケット中継方法を説明するためのフローチャートである。
【図3】図1に示したフォワーディングテーブルの一例を示す図である。
【図4】図1に示したリンク状態テーブルの一例を示す図である。
【図5】図1に示したフォワーディングテーブルの一例を示す図である。
【図6】図1に示したパケット中継方式においてストリームの転送中にリンクの使用状況が変化した場合の処理を説明するためのフローチャートである。
【図7】図1に示したパケット中継方式におけるフォワーディングテーブルの点検処理を説明するためのフローチャートである。
【図8】図1に示したリンク状態テーブルの他の例を示す図である。
【符号の説明】
10a,10b 電話機
20a,20b 電話網
30a,30b ゲートウェイ
40a,40b H323端末
50a,50b,60a,60b ルータ
61a−1〜61a−4,61b−1〜61b−4 バッファ
62a,62b フォワーディングテーブル
63a,63b リンク状態通知部
64a,64b リンク状態テーブル
65a,65b リンク選択部
70−1〜70−4 リンク
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a packet relay system, and more particularly, to a packet relay system in a multilink connection.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, as a packet forwarding technique of a router used for a packet relay scheme in a multilink connection, there is an MLPPP scheme, a round robin scheme, and the like. Further, as a technique for reducing the consumption of CPU resources of a router, there is a method of forwarding packets for each stream.
[0003]
[Problems to be solved by the invention]
However, the conventional techniques described above have the following problems.
[0004]
(1) Since the transmission order of packets may be changed when relaying packets, when transferring packets having real-time characteristics such as voice data, the order of packets transferred at the end node receiving the packets Must be rearranged.
[0005]
(2) In the MLPPP method, a great deal of processing is required in assembling and header-attaching packets, so that CPU resources are greatly consumed.
[0006]
(3) In the case where packets are forwarded for each stream, a route (link) for forwarding the stream is determined based on the first packet of the stream. Therefore, once a route for forwarding is determined, another route is determined. If a link is free, no other links can be used for that stream. Therefore, when the selected link is in a congestion state, the available link cannot be used even though there is a free link.
[0007]
The present invention has been made in view of the above-described problems of the conventional technology, and can effectively use a link while maintaining a packet transfer order for each stream, and further reduce a load on a processor. An object of the present invention is to provide a packet relay method in a multilink connection that can be reduced.
[0008]
[Means for Solving the Problems]
In order to achieve the above object, the present invention provides
A packet relay system having at least two routers connected to each other via a plurality of links, and transferring a packet between the two routers via one of the plurality of links,
Said router,
A notification that receives and holds a packet transferred via the link, and notifies a use state of the link to a router of a source of the packet by monitoring a queue of a buffer provided for each of the plurality of links. Means,
Selecting means for selecting a link to transfer the packet based on a use state of the link notified by the notifying means,
A destination address as a destination of the packet and a link used to transfer the packet to a destination specified by the destination address are set in association with each other, and a destination address is provided for each input interface of the router. One table,
A second table set for each of the plurality of links whether a packet can be transferred using the link based on the use state of the link notified from the notifying unit,
The selecting unit refers to the second table, and if the link associated with the destination address of the destination of the packet in the first table cannot transfer the packet Selecting a link set in the second table and capable of forwarding the packet,
The selected link is associated with a destination address to which the packet is to be transmitted in the first table.
[0009]
Further, the router receives and holds a packet transferred via the link, and monitors a queue of a buffer provided for each of the plurality of links to determine a use state of the link by a source of the packet. Has notification means for notifying the router of
The selecting means selects a link to which the packet is to be transferred, based on a use state of the link notified by the notifying means.
[0010]
The router is configured such that a destination address as a destination of the packet and a link used when transferring the packet to a destination specified by the destination address are associated with each other, and an input interface of the router is set. It is characterized by having a first table provided for each.
[0011]
Further, the router has a second table in which whether or not a packet can be transferred using the link notified from the notification unit is set for each of the plurality of links. It is characterized by the following.
[0012]
In addition, the selecting means refers to the second table, and the link associated with the destination address of the destination of the packet in the first table cannot transfer the packet. In some cases, a link set in the second table and capable of transferring the packet is selected.
[0013]
A packet relay system having at least two routers connected to each other via a plurality of links, wherein a packet is transferred between the two routers via one of the plurality of links. ,
The router includes a selecting unit that selects a link for transferring the packet based on a usage rate and a bandwidth of the link.
[0014]
(Action)
In the present invention configured as described above, the link for transferring the packet is selected and set based on the use state of the link between the routers, so that the packet header is not changed for each stream without changing the packet header. The transfer is performed, and the empty link is used effectively.
[0015]
Also, a first table in which a destination address as a destination of a packet and a link used to transfer the packet to the destination specified by the destination address are set is associated with each input interface of the router. , Packets can be transferred for each stream while maintaining the packet transfer order, and the load on the CPU is reduced.
[0016]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
[0017]
FIG. 1 is a diagram showing an embodiment of the packet relay system of the present invention. In this embodiment, two routers are connected via four links, but the number is not limited to this.
[0018]
In this embodiment, as shown in FIG. 1, telephones 10a and 10b for making a call, telephone networks 20a and 20b to which telephones 10a and 10b are connected, and a VoIP gateway 30a to which telephone networks 20a and 20b are connected. , 30b, H323 terminals 40a, 40b for communication, routers 50a, 50b respectively connected to the H323 terminals 40a, 40b, and VoIP gateways 30a, 30b and routers 50a, 50b, respectively, and a link 70. A router 60a connected to each other through -1 to 70-4 and relaying a packet transmitted and received between the telephones 10a and 10b or the H323 terminals 40a and 40b using any one of the links 70-1 to 70-4. , 60b.
[0019]
The routers 60a and 60b are connected to the links 70-1 to 70-4, respectively, and receive and hold the packets transferred via the links 70-1 to 70-4. 4, 61b-1 to 61b-4, a forwarding table 62a, 62b which is a first table in which a link for outputting the packet is set corresponding to a destination IP address indicating a transfer destination of the packet, and a buffer 61a. -1 to 61a-4 and 61b-1 to 61b-4 by monitoring the queues to notify the routers 60b and 60a of the use status of the links 70-1 to 70-4. Link 70-1 to 70-4 based on the use status of the links 70-1 to 70-4 notified from the link state notification units 63a and 63b. A link for outputting a packet is selected with reference to link state tables 64a and 64b, which are second tables in which whether packets can be output, and forwarding tables 62a and 62b and link state tables 64a and 64b. It is composed of link selecting sections 65a and 65b.
[0020]
Further, as the telephone networks 20a and 20b, both a public telephone network and a private telephone network can be assumed, and as an IP network, both a public IP network and a private IP network can be assumed.
[0021]
Note that the multilink connection and the VoIP gateway in the present embodiment are well known to those skilled in the art and are not directly related to the present invention, so that the detailed description of the configuration is omitted.
[0022]
In any of the above cases, the endpoints are connected via an IP network composed of multi-link connected routers, and the endpoints transmit and receive real-time packets such as voice end-to-end on this configuration. .
[0023]
Hereinafter, a packet relay method in the packet relay system configured as described above will be described.
[0024]
FIG. 2 is a flowchart for explaining a packet relay method in the packet relay system shown in FIG.
[0025]
When a packet to be transferred to the router 60b side is input to the router 60a via the links 70-1 to 70-4 (step S1), first, the link selecting unit 65a refers to the forwarding table 62a to check the packet of the packet. It is determined whether the destination IP address is an address already set in the forwarding table 62a (step S2).
[0026]
FIG. 3 is a diagram illustrating an example of the forwarding table 62a illustrated in FIG.
[0027]
As shown in FIG. 3, in the forwarding table 62a in the present embodiment, links 70-1 to 70-4 to which a packet is to be output are uniquely set for each destination IP address. The forwarding table 62a is provided for each input interface of the router 60a. For example, in the configuration shown in FIG. 1, a forwarding table 62a is provided corresponding to each of the input interface including the telephone 10a, the telephone network 20a, and the gateway 30a, and the input interface including the H323 terminal 40a and the router 50a. ing.
[0028]
If the destination IP address of the packet input to the router 60a has already been set in the forwarding table 62a, the link selecting unit 65a refers to the forwarding table 62a to change the destination IP address of the packet input to the router 60a. The corresponding link is selected (Step S3). For example, when the destination IP address of the packet input to the router 60a is “AA.AA.AA.AA”, the destination IP address “AA.AA.AA.AA” in the forwarding table 62a shown in FIG. Since the link 70-1 is set correspondingly, the link 70-1 is selected as the link for outputting the packet.
[0029]
Next, the link selecting unit 65a determines whether or not the packet can be output to the link selected in step S3 by referring to the link state table 64a (step S4).
[0030]
FIG. 4 is a diagram showing an example of the link state table 64a shown in FIG.
[0031]
As shown in FIG. 4, the link status table 64a according to the present embodiment sets whether a packet can be transferred using each of the links 70-1 to 70-4. This is set based on the queues of the buffers 61b-1 to 61b-4 in the router 60b which is the packet receiving side, and the queues of the buffers 61b-1 to 61b-4 indicate the link status notification in the router 60b. The link state table 64a detects whether the packet can be transferred using the links 70-1 to 70-4 based on the detection by the unit 63b.
[0032]
Here, in the link state notification unit 63b, a predetermined threshold value is set for the queues of the buffers 61b-1 to 61b-4, and the queue of the buffers 61b-1 to 61b-4 is equal to or smaller than the threshold value. Transfer of a packet using the link connected to the buffer is permitted, and when the queue of the buffers 61b-1 to 61b-4 exceeds the threshold value, the packet is transferred using the link connected to the buffer. Transfer is not allowed.
[0033]
If the link selection unit 65 determines that the packet can be transferred using the link selected in step S3, the packet is output to the link selected in step S3 (step S5). For example, when the destination IP address of the packet input to the router 60a is “BB.BB.BB.BB”, the destination IP address “BB.BB.BB.BB” in the forwarding table 62a shown in FIG. Since the link 70-2 is set correspondingly, the link 70-2 is selected as the link for transferring the packet. After that, referring to the link status table 64a, the link 70-2 selected in step S3 is selected. 2 is capable of transferring the packet, the packet whose destination IP address is “BB.BB.BB.BB” is output to the link 70-2.
[0034]
On the other hand, in step S2, if the destination IP address of the packet input to the router 60a is not set in the forwarding table 62a, the link selecting unit 65a refers to the link state table 64a to determine the link for outputting the packet. Select (Step S6). The link selection in step S6 is performed by referring to the link state table 64a and selecting an arbitrary link from among the links for which packets can be transferred. A method or a random method using a random number or the like can be considered, and these can be selected.
[0035]
If it is determined in step S4 that the packet cannot be output to the link selected in step S3, the process proceeds to step S6, and the link to output the packet is selected. For example, when the destination IP address of the packet input to the router 60a is “AA.AA.AA.AA”, the destination IP address “AA.AA.AA.AA” in the forwarding table 62a shown in FIG. Since the link 70-1 is set correspondingly, the link 70-1 is selected as the link for transferring the packet. However, referring to the link state table 64a shown in FIG. Packet transfer is disabled. Therefore, the packet whose destination IP address is "AA.AA.AA.AA" is transferred using the links 70-2 to 70-4 other than the link 70-1.
[0036]
FIG. 5 is a diagram illustrating an example of the forwarding table 62a illustrated in FIG.
[0037]
As shown in FIG. 5, in the link selection unit 65a, a link 70-3 capable of transferring a packet is selected as a link for outputting a packet whose destination IP address is "AA.AA.AA.AA".
[0038]
Then, the link selected in step S6 is set in the forwarding table 62a associated with the destination IP address of the packet (step S7), and the process proceeds to step S5, where the link is selected in step S6. Packets are output on the link. In step S7, if the destination IP address of the packet input to the router 60a is not set in the forwarding table 62a, the destination IP address is set to the link selected in step S6. Is newly set in the forwarding table 62a, and the destination IP address of the packet input to the router 60a is already set in the forwarding table 62a, and the corresponding link is set in step S4. If it is determined that the packet cannot be transferred, the destination IP address in the forwarding table 62a is deleted once, and then the destination IP address is associated with the link selected in step S6, and the forwarding table 62a is deleted. 62a It is set.
[0039]
Hereinafter, a description will be given of a process performed when the usage status of the links 70-1 to 70-4 changes while a stream including a plurality of packets is being transferred.
[0040]
FIG. 6 is a flowchart for explaining a process in the case where the use status of the links 70-1 to 70-4 changes during the transfer of the stream in the packet relay system shown in FIG.
[0041]
In the link status notifying unit 63b, the queues of the buffers 61b-1 to 61b-4 are constantly monitored (step S11), and the links 70-1 to 70-4 according to the queues of the buffers 61b-1 to 61b-4. Is notified and set in the link state table 64a as to whether or not the packet can be transferred.
[0042]
The link selecting unit 65a refers to the link state table 64a to determine whether the packet can be transferred using the link from the transferable state to the transfer disabled state (step S12). The destination IP address of this packet is deleted from the forwarding table 62a (step S13), and the process proceeds to step S6 shown in FIG. 2 to select a link again. In step S7, the selected link is replaced with the destination IP address. It is set in the forwarding table 62a in association with it.
[0043]
As described above, even when the usage status of the links 70-1 to 70-4 changes during the transfer of the stream, the link for outputting the packet is selected again, the packet is output to the selected link, and the selected link is output. Is set in the forwarding table 62a in association with the destination IP address.
[0044]
It is also conceivable to add a function of deleting the registration due to timeout when a packet of the destination address is not received for a certain period of time even if the destination IP address is registered in the forwarding tables 62a and 62b.
[0045]
Further, the destination IP address registered in the forwarding tables 62a, 62b can be deleted depending on whether the packet can be transferred to a desired destination using the destination IP address registered in the forwarding tables 62a, 62b. .
[0046]
FIG. 7 is a flowchart for explaining the inspection processing of the forwarding tables 62a and 62b in the packet relay system shown in FIG.
[0047]
If the packet cannot be transferred to the desired destination using the destination IP address registered in the forwarding tables 62a and 62b (step S21), the destination IP address registered in the forwarding tables 62a and 62b is stored in the forwarding table 62a. , 62b (step S22).
[0048]
As described above, in the present embodiment, since the link used for packet transfer is set according to the use state of the link between routers, forwarding can be performed for each stream without changing the packet header, and In addition, the free links can be effectively used.
[0049]
In addition, since a forwarding table for each destination IP address is provided for each input interface, packets can be transferred for each stream while maintaining the packet transfer order, and the load on the CPU is reduced.
[0050]
(Other embodiments)
FIG. 8 is a diagram showing another example of the link state tables 64a and 64b shown in FIG.
[0051]
As shown in FIG. 8, in this embodiment, in addition to the link state indicating whether or not a packet can be output to each of the links 70-1 to 70-4, the link bandwidth and the usage rate correspond to each other. The link is set in the link status tables 64a and 64b. When selecting a link to output a packet, the link to output the packet is selected based on a value weighted by the bandwidth and the usage rate of the link. . Note that the link usage rate is notified from the link state notifying unit 63b of the receiving router 60b to the transmitting router 60a.
[0052]
As described above, when selecting the link to output the packet, the link to output the packet is selected based on the value weighted by the link bandwidth and the usage rate. 4 can be distributed.
[0053]
【The invention's effect】
As described above, in the present invention, since a link for transferring a packet is selected and set based on the use state of the link between routers, the packet header is not changed for each stream without changing the packet header. Transfer can be performed, and free links can be effectively used.
[0054]
Further, a first table in which a destination address as a destination of a packet and a link used to transfer the packet to a destination specified by the destination address are set is associated with each input interface of the router. Therefore, packets can be transferred for each stream while maintaining the packet transfer order, real-time packet transfer can be performed, and the load on the CPU can be reduced.
[Brief description of the drawings]
FIG. 1 is a diagram showing an embodiment of a packet relay system of the present invention.
FIG. 2 is a flowchart for explaining a packet relay method in the packet relay system shown in FIG.
FIG. 3 is a diagram illustrating an example of a forwarding table illustrated in FIG. 1;
FIG. 4 is a diagram illustrating an example of a link state table illustrated in FIG. 1;
FIG. 5 is a diagram illustrating an example of a forwarding table illustrated in FIG. 1;
FIG. 6 is a flowchart illustrating a process performed when a link usage status changes during transfer of a stream in the packet relay method illustrated in FIG. 1;
FIG. 7 is a flowchart for explaining a forwarding table check process in the packet relay system shown in FIG. 1;
FIG. 8 is a diagram showing another example of the link state table shown in FIG. 1;
[Explanation of symbols]
10a, 10b Telephone 20a, 20b Telephone network 30a, 30b Gateway 40a, 40b H323 terminals 50a, 50b, 60a, 60b Routers 61a-1 to 61a-4, 61b-1 to 61b-4 Buffers 62a, 62b Forwarding tables 63a, 63b Link status notification units 64a, 64b Link status tables 65a, 65b Link selection units 70-1 to 70-4 Links

Claims (1)

複数のリンクを介して互いに接続された2つのルータを少なくとも有し、前記2つのルータ間にて前記複数のリンクのうち1つのリンクを介してパケットが転送されるパケット中継方式であって、
前記ルータは、
前記リンクを介して転送されてきたパケットを受信、保持する、前記複数のリンク毎に設けられたバッファのキューを監視することにより前記リンクの使用状況を前記パケットの送信元のルータに通知する通知手段と、
前記通知手段によって通知されるリンクの使用状況に基づいて前記パケットを転送するリンクを選択する選択手段と、
前記パケットの送信先となる宛先アドレスと該宛先アドレスによって指定される送信先に前記パケットを転送する際に使用するリンクとが対応づけられて設定され、当該ルータの入力インターフェース毎に設けられた第1のテーブルと、
前記通知手段から通知されたリンクの使用状況に基づいて当該リンクを用いてパケットを転送することができるかどうかが前記複数のリンク毎に設定された第2のテーブルとを有し、
前記選択手段は、前記第2のテーブルを参照して、前記第1のテーブルにて前記パケットの送信先となる宛先アドレスと対応づけられたリンクが前記パケットを転送することができないものである場合、前記第2のテーブルに設定された、前記パケットを転送することができるリンクを選択し、
前記選択されたリンクが、前記第1のテーブルにて当該パケットの送信先となる宛先アドレスと対応づけられるパケット中継方式。
A packet relay system having at least two routers connected to each other via a plurality of links, and transferring a packet between the two routers via one of the plurality of links,
Said router,
A notification that receives and holds a packet transferred via the link, and notifies a use state of the link to a router of a source of the packet by monitoring a queue of a buffer provided for each of the plurality of links. Means,
Selecting means for selecting a link to transfer the packet based on a use state of the link notified by the notifying means,
A destination address as a destination of the packet and a link used to transfer the packet to a destination specified by the destination address are set in association with each other, and a destination address is provided for each input interface of the router. One table,
A second table set for each of the plurality of links whether a packet can be transferred using the link based on the use state of the link notified from the notifying unit,
The selecting unit refers to the second table, and if the link associated with the destination address of the destination of the packet in the first table cannot transfer the packet Selecting a link set in the second table and capable of forwarding the packet,
A packet relay system in which the selected link is associated with a destination address to which the packet is to be transmitted in the first table .
JP2001109914A 2001-04-09 2001-04-09 Packet relay method Expired - Fee Related JP3596609B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001109914A JP3596609B2 (en) 2001-04-09 2001-04-09 Packet relay method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001109914A JP3596609B2 (en) 2001-04-09 2001-04-09 Packet relay method

Publications (2)

Publication Number Publication Date
JP2002314584A JP2002314584A (en) 2002-10-25
JP3596609B2 true JP3596609B2 (en) 2004-12-02

Family

ID=18961779

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001109914A Expired - Fee Related JP3596609B2 (en) 2001-04-09 2001-04-09 Packet relay method

Country Status (1)

Country Link
JP (1) JP3596609B2 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE60319387D1 (en) * 2003-11-10 2008-04-10 Ericsson Telefon Ab L M A method and system for communicating between a client and a server, wherein the client selects one of multiple physical connections
JP2007053564A (en) * 2005-08-17 2007-03-01 Fujitsu Ltd Network switching device
JP4509187B2 (en) * 2005-11-24 2010-07-21 日本電気株式会社 COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND TRANSMISSION PATH CONTROL METHOD THEREOF
JP4648224B2 (en) 2006-03-16 2011-03-09 富士通株式会社 BAND CONTROL DEVICE, BAND CONTROL PROGRAM, AND BAND CONTROL METHOD
JP4488256B2 (en) * 2006-03-29 2010-06-23 日本電気株式会社 Communication method, node, and control program
JP4765892B2 (en) * 2006-10-25 2011-09-07 株式会社日立製作所 Data transmission method, data transmission apparatus, and data transmission system for performing multilink bundle control
JP5205819B2 (en) * 2007-06-06 2013-06-05 日本電気株式会社 Communication system, packet scheduling method thereof, and transmission node
JP4924285B2 (en) * 2007-08-23 2012-04-25 日本電気株式会社 Communication apparatus, communication system, transfer efficiency improvement method, and transfer efficiency improvement program
JP5105074B2 (en) * 2008-03-26 2012-12-19 Necエンジニアリング株式会社 IP phone system
EP3648421A4 (en) 2017-06-29 2020-09-09 Sony Corporation Communication system and transmitting device

Also Published As

Publication number Publication date
JP2002314584A (en) 2002-10-25

Similar Documents

Publication Publication Date Title
EP2030385B1 (en) Routing protocol with packet network attributes for improved route selection
US8699500B2 (en) Method and apparatus to perform network routing
US6247058B1 (en) Method and apparatus for processing network packets using time stamps
US7200116B2 (en) Communication device and method, and system
JP4105341B2 (en) Fragment size changing method and router apparatus
EP1763204B1 (en) System and method for redundant switches taking into account learning bridge functionality
US5805818A (en) System for acknowledging availability of neighbor node using data packet containing data that is ordinarily fowarded to neighbor node
US6456632B1 (en) Protocol separation in packet communication
EP1741247A2 (en) Router configured for outputting update messages specifying a detected attribute change of a connected active path according to a prescribed routing protocol
JP3596609B2 (en) Packet relay method
US20050002379A1 (en) Dynamic real-time quality management of packetized communications in a network environment
KR101307114B1 (en) Method of performing an intra-segment handover
JPH07250100A (en) Mutual communication system between lans using wide area network and mutual connection device used therefor
KR100602649B1 (en) Apparatus and method for queuing delay-sensitive packets for transmission on heterogenous links
US6064654A (en) Internet facsimile timing technique
WO2007094308A1 (en) Wireless data communication system
JP2005311596A (en) Router performing congestion control, congestion control system and method
EP1933510B1 (en) Network switch that is optimized for a telephony-capable endpoint
CN100411383C (en) Method for realizing message retransmission under routing device
Cisco Designing SRB Internetworks
Alheid et al. Packet reordering response for MPTCP under wireless heterogeneous environment
JP3533153B2 (en) Delivery message sending suppression method in network
CA2307218C (en) Hybrid rf packet network for both mobile and fixed subscribers
JP2003218895A (en) Packet repeater
Sharma Computer Network

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040528

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040609

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040720

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20040720

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: 20040818

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040831

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: 20080917

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20080917

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090917

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090917

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100917

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees