JP3726074B2 - PPPoE communication terminal, method thereof, program thereof, and computer-readable recording medium recording the program - Google Patents
PPPoE communication terminal, method thereof, program thereof, and computer-readable recording medium recording the program Download PDFInfo
- Publication number
- JP3726074B2 JP3726074B2 JP2002196408A JP2002196408A JP3726074B2 JP 3726074 B2 JP3726074 B2 JP 3726074B2 JP 2002196408 A JP2002196408 A JP 2002196408A JP 2002196408 A JP2002196408 A JP 2002196408A JP 3726074 B2 JP3726074 B2 JP 3726074B2
- Authority
- JP
- Japan
- Prior art keywords
- pppoe
- packet
- session
- communication
- 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
Links
Images
Landscapes
- Small-Scale Networks (AREA)
- Communication Control (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、PPPoEセッションが占有された場合においてもPPPoE通信を行うことができるPPPoE通信端末、その方法、そのプログラム及びそのプログラムを記録したコンピュータ読み取り可能な記録媒体に関する。
【0002】
【従来の技術】
第一種通信事業者が提供するADSL網接続サービスを利用する場合、図8に示すように、例えば利用者宅のADSLモデム2とパーソナルコンピュータ(PC)3とが接続され、ADSLモデム2は加入者回線を介して通信局舎内に設けられたDSLアクセスマルチプレクサ(DSLAM)4に接続される。DSLAM4は同通信局舎内のブロードバンドアクセスサーバ(BAS)5に接続されている。ここでPC3とBAS5との間ではRFC2516の手順に従ってPPPoE通信が行われる。PC3はADSLモデム2から受信したパケットからBAS5のMACアドレスを取得してBAS5へPPPoEパケットを送信する。
【0003】
【発明が解決しようとする課題】
しかしながら、ADSL網接続サービスにおいてPPPoEセッションが1つに制限されている場合にPPPoEパケットを送出できる利用者側端末は、上記例ではPC3だけあるが、この利用者側端末が故障した場合には、ADSL網接続ができなくなる。したがって、ADSL網接続の可用性を上げるために、1台の通信端末がPPPoEセッションを占有している場合であっても、他の通信端末でPPPoE通信を可能にする必要がある。
【0004】
そこで本発明は、上記の従来の課題に鑑みてなされたものであり、その目的とするところは、PPPoEセッションが占有された場合においてもPPPoE通信を行うことができるPPPoE通信端末、その方法、そのプログラム及びそのプログラムを記録したコンピュータ読み取り可能な記録媒体を提供することにある。
【0005】
【課題を解決するための手段】
上記従来の課題を解決するために、請求項1の本発明は、ADSLモデムまたはブリッジモードに設定されたADSLルータと該ADSLモデムまたはADSLルータと通信可能な利用者側端末との間の通信経路に挿入される通信端末であるPPPoE通信端末であって、前記ADSLモデムまたはADSLルータの先に設けられたブロードバンドアクセスサーバと前記利用者側端末との間で形成されるPPPoEセッション開始時の各パケットから、当該ブロードバンドアクセスサーバのMACアドレス、当該利用者側端末のIPアドレス、ならびに当該PPPoEセッションのセッションIDを検出する検出手段と、この検出手段で検出されたMACアドレス、IPアドレス及びセッションIDと、当該PPPoE通信端末のMACアドレスと、当該PPPoE通信端末の通信相手のIPアドレスとを含むPPPoEパケットを生成するパケット生成手段と、このパケット生成手段で生成されたPPPoEパケットを前記PPPoEセッションが継続する間において前記ADSLモデムまたはADSLルータへ送出するパケット送出手段とを備えたことを特徴とするPPPoE通信端末をもって解決手段とする。
【0006】
請求項1の本発明によれば、ブロードバンドアクセスサーバと利用者側端末との間で形成されるPPPoEセッション開始時の各パケットから、当該ブロードバンドアクセスサーバのMACアドレス、当該利用者側端末のIPアドレス、ならびに当該PPPoEセッションのセッションIDを検出する検出手段と、この検出手段で検出されたMACアドレス、IPアドレス及びセッションIDと、当該PPPoE通信端末のMACアドレスと、当該PPPoE通信端末の通信相手のIPアドレスとを含むPPPoEパケットを生成するパケット生成手段と、このパケット生成手段で生成されたPPPoEパケットを前記PPPoEセッションが継続する間において前記ADSLモデムまたはADSLルータへ送出するパケット送出手段とを備えるので、利用者側端末とブロードバンドアクセスサーバとの間でPPPoEセッションが占有された場合においてもPPPoE通信を行うことができる。
【0007】
請求項2の本発明は、前記PPPoEセッションが継続する間に前記ADSLモデムまたはADSLルータから受信したパケットの送信元IPアドレスが前記通信相手のIPアドレスであるときは前記利用者側端末へ当該パケットを送出しないことを特徴とする請求項1記載のPPPoE通信端末をもって解決手段とする。
【0008】
請求項2の本発明によれば、PPPoEセッションが継続する間にADSLモデムまたはADSLルータから受信したパケットの送信元IPアドレスが通信相手のIPアドレスであるときは利用者側端末へ当該パケットを送出しないので、利用者側端末での当該パケットの処理が不要になる。
【0009】
請求項3の本発明は、前記PPPoEセッション継続する間において該PPPoEセッションを終了させるパケットを検出したときは、開始時の各パケットからのMACアドレス、IPアドレス及びセッションIDの検出を再び行うことを特徴とする請求項1または2記載のPPPoE通信端末をもって解決手段とする。
【0010】
請求項3の本発明によれば、PPPoEセッション継続する間において該PPPoEセッションを終了させるパケットを検出したときは、開始時の各パケットからのMACアドレス、IPアドレス及びセッションIDの検出を再び行うので、PPPoEセッションが終了して新たなPPPoEセッションが開始されたときには当該新たなPPPoEセッションの中でPPPoE通信を行うことができる。
【0011】
請求項4の本発明は、ADSLモデムまたはブリッジモードに設定されたADSLルータと該ADSLモデムまたはADSLルータと通信可能な利用者側端末との間の通信経路に挿入される通信端末が行うPPPoE通信方法であって、前記ADSLモデムまたはADSLルータの先に設けられたブロードバンドアクセスサーバと前記利用者側端末との間で形成されるPPPoEセッション開始時の各パケットから、当該ブロードバンドアクセスサーバのMACアドレス、当該利用者側端末のIPアドレス、ならびに当該PPPoEセッションのセッションIDを検出し、この検出されたMACアドレス、IPアドレス及びセッションIDと、当該PPPoE通信端末のMACアドレスと、当該PPPoE通信端末の通信相手のIPアドレスとを含むPPPoEパケットを生成し、この生成されたPPPoEパケットを前記PPPoEセッションが継続する間において前記ADSLモデムまたはADSLルータへ送出することを特徴とするPPPoE通信方法をもって解決手段とする。
【0012】
請求項4の本発明によれば、ブロードバンドアクセスサーバと利用者側端末との間で形成されるPPPoEセッション開始時の各パケットから、当該ブロードバンドアクセスサーバのMACアドレス、当該利用者側端末のIPアドレス、ならびに当該PPPoEセッションのセッションIDを検出し、この検出されたMACアドレス、IPアドレス及びセッションIDと、当該PPPoE通信端末のMACアドレスと、当該PPPoE通信端末の通信相手のIPアドレスとを含むPPPoEパケットを生成し、この生成されたPPPoEパケットを前記PPPoEセッションが継続する間において前記ADSLモデムまたはADSLルータへ送出するので、利用者側端末とブロードバンドアクセスサーバとの間でPPPoEセッションが占有された場合においてもPPPoE通信を行うことができる。
【0013】
請求項5の本発明は、前記PPPoEセッションが継続する間に前記ADSLモデムまたはADSLルータから受信したパケットの送信元IPアドレスが前記通信相手のIPアドレスであるときは前記利用者側端末へ当該パケットを送出しないことを特徴とする請求項4記載のPPPoE通信方法をもって解決手段とする。
【0014】
請求項5の本発明によれば、PPPoEセッションが継続する間にADSLモデムまたはADSLルータから受信したパケットの送信元IPアドレスが通信相手のIPアドレスであるときは利用者側端末へ当該パケットを送出しないので、利用者側端末での当該パケットの処理が不要になる。
【0015】
請求項6の本発明は、前記PPPoEセッション継続する間において該PPPoEセッションを終了させるパケットを検出したときは、開始時の各パケットからのMACアドレス、IPアドレス及びセッションIDの検出を再び行うことを特徴とする請求項4または5記載のPPPoE通信方法をもって解決手段とする。
【0016】
請求項6の本発明によれば、PPPoEセッション継続する間において該PPPoEセッションを終了させるパケットを検出したときは、開始時の各パケットからのMACアドレス、IPアドレス及びセッションIDの検出を再び行うので、PPPoEセッションが終了して新たなPPPoEセッションが開始されたときには当該新たなPPPoEセッションの中でPPPoE通信を行うことができる。
【0017】
請求項7の本発明は、請求項4ないし6のいずれか記載の通信方法をPPPoE通信端末に実行させるPPPoE通信プログラムをもって解決手段とする。
【0018】
請求項7の本発明によれば、当該PPPoE通信プログラムにより処理を行うPPPoE通信端末は、利用者側端末とブロードバンドアクセスサーバとの間でPPPoEセッションが占有された場合においてもPPPoE通信を行うことができる。
【0019】
請求項8の本発明は、請求項4ないし6のいずれか記載の通信方法をPPPoE通信端末に実行させるPPPoE通信プログラムを記録したコンピュータ読み取り可能な記録媒体をもって解決手段とする。
【0020】
請求項8の本発明によれば、当該記録媒体に記録されたPPPoE通信プログラムにより処理を行うPPPoE通信端末は、利用者側端末とブロードバンドアクセスサーバとの間でPPPoEセッションが占有された場合においてもPPPoE通信を行うことができる。
【0021】
【発明の実施の形態】
以下、本発明の一実施の形態を図面を参照して説明する。
図1は、本発明の一実施の形態のPPPoE通信端末の構成と接続形態を示す図である。なお、Ethernet、イーサネットは、それぞれ登録商標である。
PPPoE(Point to Point Protocol over Ethernet)通信端末1は、ADSL(Asymmetric Digital Subscriber Line)モデム2と該ADSLモデム2と通信可能なパーソナルコンピュータ(PC)3との間の通信経路に挿入されている。ADSLモデム2は加入者回線を介して通信局舎内に設けられたDSLアクセスマルチプレクサ(DSLAM:Digital Subscriber Line Access Multiplexer)4に接続され、DSLAM4は同通信局舎内のブロードバンドアクセスサーバ(BAS:Broadband Access Server)5に接続されている。なお、BAS5は図示しないインターネットに接続されている。PC3はルータでもよく、これらの機器は本発明の利用者側端末に相当するものである。また、ADSLモデム2はブリッジモードに設定されたADSLルータであってもよい。
【0022】
PPPoE通信端末1は、イーサネット部11A及び11Bと、制御部12を備える。イーサネット部11AはRJ−45タイプのコネクタや通信ケーブルを介してPC3に接続され、イーサネット部11Bは同様の接続形態でADSLモデム2に接続されている。
【0023】
各イーサネット部11A,11Bは、PC3,ADSLモデム2から受信したパケットを制御部12に渡す。制御部12は、渡されたパケットを他方のイーサネット部に渡し、該イーサネット部がこのパケットを送出する。
【0024】
制御部12はまた、パケットを解析し、必要に応じてパケットを生成して各イーサネット部11A,11Bへ渡し、各イーサネット部11A,11BがこのパケットをPC3,ADSLモデム2へ送出するようになっている。
【0025】
制御部12は該制御部12に設定された通信プログラム(PPPoE通信プログラム)により各機能を発揮する。つまり、制御部12が通信プログラムで動作するときには、PPPoE通信端末1は、PC3とADSLモデム2との間の通信回線(以下単に通信回線という)上のパケットを監視(モニター)するパケットモニタリング部121、通信回線上のパケットを識別するパケット識別部122、通信回線上のパケット内のデータを取得し記憶するデータ取得部123、該データ取得部123が記憶したデータを含んだパケットを生成するパケット生成部124、該パケット生成部124により生成されたPPPoEパケットを送信するパケット送信部125、パケットを受信するパケット受信部126という各機能ブロックを備えることになる。そして、これら機能ブロックが協調して本発明のPPPoE通信方法を実行する。
【0026】
次に、PPPoE通信方法を詳細に説明する。図2は、PPPoE通信方法の概略図である。
【0027】
図2に示すように、先ずPPPoE通信端末1はPC3とBAS5の間のPPPoEセッションの開始時に準備処理を行い、当該PPPoEセッションが継続する間はパケット送信処理とパケット受信処理を平行して、そして必要に応じて繰り返し行うようになっている。そして、パケット受信処理にあってPPPoEセッションを終了させるためのパケットを検出したときは準備処理に戻るようになっている。
【0028】
次に、これら各処理を詳細に説明する。
図3は、準備処理のフローチャートであり、図4は、PC3とBAS5との間のPPPoE通信のシーケンス図である。図4に示すようにPC3とBAS5との間のRFC2516の手順に従ったPPPoEセッションでは、先ずPC3がセッション開始を示すPADIをBAS5に送信し、BAS5が該BAS5のMAC(Media Access Control)アドレスを含むPADOをPC3に送信し、PC3がPADRを送信し、BAS5が当該セッションのセッションIDを含むPADSを送信する。そして、PC3(またはBAS5)がPC3のIPアドレスを含むConfigure-requestを送信し、BAS5(またはPC3)がConfigure-Ackを送信する。なお、Configure-Ackの代わりにConfigure-Nakが送信されることもある。
【0029】
かかる開始時のシーケンスが終了すると、PC3はIP通信を行う。そして、必要なIP通信が終了すると、PC3(またはBAS5)からTerminate-Requestが送信され、これにより終了時のやりとりがなされ、当該PPPoEセッションが終了することになる。
【0030】
準備処理では先ず、パケットモニタリング部121が通信回線に流れるパケットを監視する(ステップS1)。次にパケット識別部122は、通信回線に流れたパケットがPADIであるか否かを判定する(ステップS3)。なお、パケット識別部122は、パケットの内容をレイヤ2まで解析して識別を行う。ここで、NOと判定されたときはステップS1に戻り、YESと判定されたときは、パケットモニタリング部121が通信回線上に流れるパケットを監視する(ステップS5)。
【0031】
次にパケット識別部122は、通信回線に流れたパケットがPADOであるか否かを判定する(ステップS7)。ここで、NOと判定されたときはステップS7に戻り、YESと判定されたときは、データ取得部123がPADOパケットからBAS5のMACアドレスを取得して記憶する(ステップS9)。
【0032】
次に、パケットモニタリング部121が通信回線上に流れるパケットを監視する(ステップS11)。次にパケット識別部122は、通信回線に流れたパケットがPADSであるか否かを判定する(ステップS13)。ここで、NOと判定されたときはステップS13に戻り、YESと判定されたときは、データ取得部123がPADSパケットからセッションIDを取得して記憶する(ステップS15)。
【0033】
次に、パケットモニタリング部121が通信回線上に流れるパケットを監視する(ステップS17)。次にパケット識別部122は、通信回線に流れたパケットがConfigure-requestであるか否かを判定する(ステップS19)。ここで、NOと判定されたときはステップS19に戻り、YESと判定されたときは、Configure-requestにPC3のIPアドレスが含まれているか否かを判定する(ステップS20)。ここで、NOと判定されたときは、ステップS19に戻り、YESと判定されたときは、データ取得部123がConfigure-requestパケットからPC3のIPアドレスを取得して記憶する(ステップS21)。
【0034】
次に、パケット送信処理を説明する。図5は、パケット送信処理のフローチャートである。
【0035】
先ず、パケット生成部124が、データ取得部123で記憶しているBAS5のMACアドレス、PC3のIPアドレス及びセッションIDと、当該PPPoE通信端末のMACアドレスと、当該PPPoE通信端末1の通信相手(例えばBAS5の先のADSL網にあるWebサーバ)のIPアドレスとを含むPPPoEパケットを生成する(ステップS31)。
【0036】
図6は、パケット生成部124により生成されるPPPoEパケットの構成を示す図である。
図6に示すようにPPPoEパケットは、Ethernetヘッダ、PPPoEヘッダ及びPPPoEデータ部からなる。Ethernetヘッダは宛先MACアドレス、送信元MACアドレス及びイーサタイプからなる。PPPoEヘッダはバージョン、タイプ、コード、セッションID、PPPoEデータ部の長さの各情報からなる。PPPoEデータ部はPPPプロトコル識別子とPPPデータ部とからなる。
【0037】
パケット生成部124は、データ取得部123が取得記憶したBAS5のMACアドレスをEthernetヘッダの宛先MACアドレスとし、PPPoE通信端末1のMACアドレスをEthernetヘッダの送信元MACアドレスとし、データ取得部123が取得記憶したセッションIDをPPPoEヘッダのセッションIDとし、データ取得部123が取得記憶したPC3のIPアドレスとPPPoE通信端末1の通信相手のIPアドレスとをPPPデータ部に含ませてPPPoEパケットを生成する。また、パケット生成部124が生成するPPPoEパケットのPPPデータ部には、必要に応じてPC3の利用者の利用者IDとパスワードが含まれる。
【0038】
そして、パケット送信部125が、生成されたPPPoEパケットをADSLモデム2へと送出する(ステップS33)。このパケットは送信元MACアドレスとして設定されたBAS5のMACアドレスによりBAS5に到達し、BAS5が必要に応じて利用者IDとパスワードで認証を行い、その後、PPPデータ部のIPアドレスによりPPPoE通信端末1の通信相手に届けられる。
【0039】
次に、パケット受信処理を説明する。図7は、パケット受信処理のフローチャートである。
【0040】
パケットモニタリング部121が通信回線上に流れるパケットを監視する(ステップS41)。次にパケット識別部122は、通信回線に流れたパケットがTerminate-Requestであるか否かを判定する(ステップS43)。ここで、YESと判定されたときはステップS1へ戻る。Terminate-Request以降は、PPPoEセッション終了時の通信が行われるからである。
【0041】
一方、ステップS43でNOと判定されたときは、PPPoEセッションが継続していることになるので、パケット識別部122は、このパケットの送信元IPアドレスが、PPPoE通信端末1の通信相手のIPアドレスであるか否かを判定する(ステップS45)。ここでYESと判定されたときは、パケット受信部126がこのパケットを受信する(ステップS47)。この際には、パケットはPC3にとっては不要であるのでPC3へは送信されない。
【0042】
なお、ステップS45でNOと判定されたとき、またはステップS47を行った後は、ステップS41へ戻り、パケットモニタリング部121がパケットの監視を行う。
【0043】
以上説明したように、本実施の形態のPPPoE通信端末1によれば、ADSLモデムまたはADSLルータの先に設けられたブロードバンドアクセスサーバと利用者側端末との間で形成されるPPPoEセッション開始時の各パケットから、当該ブロードバンドアクセスサーバのMACアドレス、当該利用者側端末のIPアドレス、ならびに当該PPPoEセッションのセッションIDを検出する検出手段と、この検出手段で検出されたMACアドレス、IPアドレス及びセッションIDと、当該PPPoE通信端末のMACアドレスと、当該PPPoE通信端末の通信相手のIPアドレスとを含むPPPoEパケットを生成するパケット生成手段と、このパケット生成手段で生成されたPPPoEパケットをPPPoEセッションが継続する間においてADSLモデムまたはADSLルータへ送出するパケット送出手段とを備え、ADSLモデムまたはADSLルータの先に設けられたブロードバンドアクセスサーバと利用者側端末との間で形成されるPPPoEセッション開始時の各パケットから、当該ブロードバンドアクセスサーバのMACアドレス、当該利用者側端末のIPアドレス、ならびに当該PPPoEセッションのセッションIDを検出し、この検出されたMACアドレス、IPアドレス及びセッションIDと、当該PPPoE通信端末のMACアドレスと、当該PPPoE通信端末の通信相手のIPアドレスとを含むPPPoEパケットを生成し、この生成されたPPPoEパケットをPPPoEセッションが継続する間においてADSLモデムまたはADSLルータへ送出するというPPPoE通信方法を実行するので、利用者側端末とBAS5との間でPPPoEセッションが占有された場合においてもPPPoE通信を行うことができる。
【0044】
また、PPPoEセッションが継続する間にADSLモデムまたはADSLルータから受信したパケットの送信元IPアドレスが通信相手のIPアドレスであるときは利用者側端末へ当該パケットを送出しないので、利用者側端末での当該パケットの処理が不要になる。
【0045】
また、PPPoEセッション継続する間において該PPPoEセッションを終了させるパケットを検出したときは、開始時の各パケットからのMACアドレス、IPアドレス及びセッションIDの検出を再び行うので、PPPoEセッションが終了して新たなPPPoEセッションが開始されたときには当該新たなPPPoEセッションの中でPPPoE通信を行うことができる。
【0046】
なお、上記説明した処理をPPPoE通信端末1に実行させるPPPoE通信プログラムは、半導体メモリ、磁気ディスク、光ディスク、光磁気ディスク、磁気テープなどのコンピュータ読み取り可能な記録媒体に記録したり、インターネットなどの通信網を介して伝送させて、広く流通させることができる。
【0047】
【発明の効果】
以上説明したように、本発明によれば、ADSLモデムまたはADSLルータの先に設けられたブロードバンドアクセスサーバと利用者側端末との間で形成されるPPPoEセッション開始時の各パケットから、当該ブロードバンドアクセスサーバのMACアドレス、当該利用者側端末のIPアドレス、ならびに当該PPPoEセッションのセッションIDを検出し、この検出されたMACアドレス、IPアドレス及びセッションIDと、当該PPPoE通信端末のMACアドレスと、当該PPPoE通信端末の通信相手のIPアドレスとを含むPPPoEパケットを生成し、この生成されたPPPoEパケットをPPPoEセッションが継続する間においてADSLモデムまたはADSLルータへ送出するようにしたので、利用者側端末とブロードバンドアクセスサーバとの間でPPPoEセッションが占有された場合においてもPPPoE通信を行うことができる。
【図面の簡単な説明】
【図1】本発明の一実施の形態のPPPoE通信端末の構成と接続形態を示す図である。
【図2】PPPoE通信方法の概略図である。
【図3】PPPoE通信方法の中の準備処理のフローチャートである。
【図4】PC3とBAS5との間のPPPoE通信のシーケンス図である。
【図5】PPPoE通信方法の中のパケット送信処理のフローチャートである。
【図6】生成されるPPPoEパケットの構成を示す図である。
【図7】PPPoE通信方法の中のパケット受信処理のフローチャートである。
【図8】ADSL網接続サービスを利用する場合の接続形態とPPPoEパケットの経路を示す図である。
【符号の説明】
1 PPPoE通信端末
2 ADSLモデム
3 パーソナルコンピュータ(PC)
4 DSLアクセスマルチプレクサ(DSLAM)
5 ブロードバンドアクセスサーバ(BAS)
11A,11B イーサネット部
12 制御部
121 パケットモニタリング部
122 パケット識別部
123 データ取得部
124 パケット生成部
125 パケット送信部
126 パケット受信部[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a PPPoE communication terminal capable of performing PPPoE communication even when a PPPoE session is occupied, a method thereof, a program thereof, and a computer-readable recording medium storing the program.
[0002]
[Prior art]
When using the ADSL network connection service provided by the first type communication carrier, as shown in FIG. 8, for example, an
[0003]
[Problems to be solved by the invention]
However, in the above example, only the PC 3 is the user side terminal that can send a PPPoE packet when the PPPoE session is limited to one in the ADSL network connection service. However, when this user side terminal fails, ADSL network connection is not possible. Therefore, in order to increase the availability of ADSL network connection, it is necessary to enable PPPoE communication with another communication terminal even when one communication terminal occupies a PPPoE session.
[0004]
Therefore, the present invention has been made in view of the above-described conventional problems, and its object is to provide a PPPoE communication terminal capable of performing PPPoE communication even when a PPPoE session is occupied, its method, and its An object is to provide a program and a computer-readable recording medium in which the program is recorded.
[0005]
[Means for Solving the Problems]
In order to solve the above-described conventional problems, the present invention of
[0006]
According to the present invention of
[0007]
According to the present invention of
[0008]
According to the present invention of
[0009]
According to the third aspect of the present invention, when a packet that terminates the PPPoE session is detected while the PPPoE session continues, the MAC address, IP address, and session ID are detected again from each packet at the start. The PPPoE communication terminal according to
[0010]
According to the third aspect of the present invention, when a packet that terminates the PPPoE session is detected while the PPPoE session continues, detection of the MAC address, IP address, and session ID from each packet at the start is performed again. When the PPPoE session is terminated and a new PPPoE session is started, PPPoE communication can be performed in the new PPPoE session.
[0011]
According to the present invention of
[0012]
According to the present invention of
[0013]
According to the present invention of
[0014]
According to the present invention of
[0015]
According to the sixth aspect of the present invention, when a packet that terminates the PPPoE session is detected while the PPPoE session continues, detection of a MAC address, an IP address, and a session ID from each packet at the start is performed again. The PPPoE communication method according to
[0016]
According to the sixth aspect of the present invention, when a packet that terminates the PPPoE session is detected while the PPPoE session continues, detection of the MAC address, IP address, and session ID from each packet at the start is performed again. When the PPPoE session is terminated and a new PPPoE session is started, PPPoE communication can be performed in the new PPPoE session.
[0017]
The seventh aspect of the present invention provides a solving means comprising a PPPoE communication program for causing a PPPoE communication terminal to execute the communication method according to any one of the fourth to sixth aspects.
[0018]
According to the present invention of
[0019]
The eighth aspect of the present invention provides a solving means comprising a computer-readable recording medium on which a PPPoE communication program for causing a PPPoE communication terminal to execute the communication method according to any of the fourth to sixth aspects is recorded.
[0020]
According to the present invention of claim 8, the PPPoE communication terminal that performs processing by the PPPoE communication program recorded on the recording medium can be used even when the PPPoE session is occupied between the user side terminal and the broadband access server. PPPoE communication can be performed.
[0021]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a diagram showing a configuration and connection form of a PPPoE communication terminal according to an embodiment of the present invention. Note that Ethernet and Ethernet are registered trademarks.
A PPPoE (Point to Point Protocol over Ethernet)
[0022]
The
[0023]
Each
[0024]
The
[0025]
The
[0026]
Next, the PPPoE communication method will be described in detail. FIG. 2 is a schematic diagram of a PPPoE communication method.
[0027]
As shown in FIG. 2, first, the
[0028]
Next, each of these processes will be described in detail.
FIG. 3 is a flowchart of the preparation process, and FIG. 4 is a sequence diagram of PPPoE communication between the
[0029]
When the start sequence is completed, the
[0030]
In the preparation process, first, the
[0031]
Next, the
[0032]
Next, the
[0033]
Next, the
[0034]
Next, packet transmission processing will be described. FIG. 5 is a flowchart of packet transmission processing.
[0035]
First, the
[0036]
FIG. 6 is a diagram illustrating a configuration of a PPPoE packet generated by the
As shown in FIG. 6, the PPPoE packet is composed of an Ethernet header, a PPPoE header, and a PPPoE data portion. The Ethernet header includes a destination MAC address, a source MAC address, and an Ethernet type. The PPPoE header includes information on version, type, code, session ID, and length of the PPPoE data part. The PPPoE data part is composed of a PPP protocol identifier and a PPP data part.
[0037]
The
[0038]
Then, the
[0039]
Next, packet reception processing will be described. FIG. 7 is a flowchart of packet reception processing.
[0040]
The
[0041]
On the other hand, when it is determined NO in step S43, the PPPoE session is continuing, so the
[0042]
When NO is determined in step S45 or after step S47 is performed, the process returns to step S41, and the
[0043]
As described above, according to the
[0044]
Further, when the source IP address of the packet received from the ADSL modem or ADSL router while the PPPoE session is continued is the IP address of the communication partner, the packet is not sent to the user side terminal. This processing of the packet becomes unnecessary.
[0045]
If a packet that terminates the PPPoE session is detected while the PPPoE session continues, the MAC address, IP address, and session ID are detected again from each packet at the start, so the PPPoE session ends and a new one is detected. When a new PPPoE session is started, PPPoE communication can be performed in the new PPPoE session.
[0046]
Note that a PPPoE communication program that causes the
[0047]
【The invention's effect】
As described above, according to the present invention, from the packets at the start of the PPPoE session formed between the broadband access server provided at the end of the ADSL modem or ADSL router and the user terminal, the broadband access is performed. The server MAC address, the IP address of the user terminal, and the session ID of the PPPoE session are detected, and the detected MAC address, IP address and session ID, the MAC address of the PPPoE communication terminal, and the PPPoE are detected. Since the PPPoE packet including the IP address of the communication terminal of the communication terminal is generated and the generated PPPoE packet is sent to the ADSL modem or ADSL router while the PPPoE session continues, the user side terminal and It is possible to perform PPPoE communication even when the PPPoE session is occupied between the load band access server.
[Brief description of the drawings]
FIG. 1 is a diagram showing a configuration and connection form of a PPPoE communication terminal according to an embodiment of the present invention.
FIG. 2 is a schematic diagram of a PPPoE communication method.
FIG. 3 is a flowchart of a preparation process in the PPPoE communication method.
FIG. 4 is a sequence diagram of PPPoE communication between PC3 and BAS5.
FIG. 5 is a flowchart of packet transmission processing in the PPPoE communication method.
FIG. 6 is a diagram illustrating a configuration of a generated PPPoE packet.
FIG. 7 is a flowchart of packet reception processing in the PPPoE communication method.
FIG. 8 is a diagram illustrating a connection form and a path of a PPPoE packet when an ADSL network connection service is used.
[Explanation of symbols]
1
4 DSL access multiplexer (DSLAM)
5 Broadband access server (BAS)
11A,
Claims (8)
前記ADSLモデムまたはADSLルータの先に設けられたブロードバンドアクセスサーバと前記利用者側端末との間で形成されるPPPoEセッション開始時の各パケットから、当該ブロードバンドアクセスサーバのMACアドレス、当該利用者側端末のIPアドレス、ならびに当該PPPoEセッションのセッションIDを検出する検出手段と、
この検出手段で検出されたMACアドレス、IPアドレス及びセッションIDと、当該PPPoE通信端末のMACアドレスと、当該PPPoE通信端末の通信相手のIPアドレスとを含むPPPoEパケットを生成するパケット生成手段と、
このパケット生成手段で生成されたPPPoEパケットを前記PPPoEセッションが継続する間において前記ADSLモデムまたはADSLルータへ送出するパケット送出手段と
を備えたことを特徴とするPPPoE通信端末。A PPPoE communication terminal, which is a communication terminal inserted into a communication path between an ADSL router set to ADSL modem or bridge mode and a user side terminal capable of communicating with the ADSL modem or ADSL router,
From each packet at the start of the PPPoE session formed between the broadband access server provided at the end of the ADSL modem or ADSL router and the user side terminal, the MAC address of the broadband access server, the user side terminal Detecting means for detecting the IP address of the session and the session ID of the PPPoE session;
Packet generating means for generating a PPPoE packet including the MAC address, IP address and session ID detected by the detecting means, the MAC address of the PPPoE communication terminal, and the IP address of the communication partner of the PPPoE communication terminal;
A PPPoE communication terminal, comprising: a packet sending means for sending a PPPoE packet generated by the packet generating means to the ADSL modem or ADSL router while the PPPoE session continues.
前記ADSLモデムまたはADSLルータの先に設けられたブロードバンドアクセスサーバと前記利用者側端末との間で形成されるPPPoEセッション開始時の各パケットから、当該ブロードバンドアクセスサーバのMACアドレス、当該利用者側端末のIPアドレス、ならびに当該PPPoEセッションのセッションIDを検出し、
この検出されたMACアドレス、IPアドレス及びセッションIDと、当該PPPoE通信端末のMACアドレスと、当該PPPoE通信端末の通信相手のIPアドレスとを含むPPPoEパケットを生成し、
この生成されたPPPoEパケットを前記PPPoEセッションが継続する間において前記ADSLモデムまたはADSLルータへ送出する
ことを特徴とするPPPoE通信方法。A PPPoE communication method performed by a communication terminal inserted in a communication path between an ADSL router set in an ADSL modem or bridge mode and a user side terminal capable of communicating with the ADSL modem or ADSL router,
From each packet at the start of the PPPoE session formed between the broadband access server provided at the end of the ADSL modem or ADSL router and the user side terminal, the MAC address of the broadband access server, the user side terminal , And the session ID of the PPPoE session,
Generating a PPPoE packet including the detected MAC address, IP address and session ID, the MAC address of the PPPoE communication terminal, and the IP address of the communication partner of the PPPoE communication terminal;
A PPPoE communication method, wherein the generated PPPoE packet is sent to the ADSL modem or ADSL router while the PPPoE session continues.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002196408A JP3726074B2 (en) | 2002-07-04 | 2002-07-04 | PPPoE communication terminal, method thereof, program thereof, and computer-readable recording medium recording the program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002196408A JP3726074B2 (en) | 2002-07-04 | 2002-07-04 | PPPoE communication terminal, method thereof, program thereof, and computer-readable recording medium recording the program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2004040586A JP2004040586A (en) | 2004-02-05 |
| JP3726074B2 true JP3726074B2 (en) | 2005-12-14 |
Family
ID=31704509
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2002196408A Expired - Fee Related JP3726074B2 (en) | 2002-07-04 | 2002-07-04 | PPPoE communication terminal, method thereof, program thereof, and computer-readable recording medium recording the program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3726074B2 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100388723C (en) * | 2004-07-23 | 2008-05-14 | 中兴通讯股份有限公司 | A Method for Realizing Broadband Subscriber Reverse Check |
| JP4817797B2 (en) * | 2005-10-19 | 2011-11-16 | 東日本電信電話株式会社 | PPPoE bridge device and PPPoE session disconnection method |
| CN100389558C (en) * | 2006-02-14 | 2008-05-21 | 华为技术有限公司 | Method for transmitting subscriber line layer 2 encapsulation mode to broadband access server |
| WO2009038410A2 (en) * | 2007-09-21 | 2009-03-26 | Posdata Co., Ltd. | Method for interworking between mobile communication network and digital subscriber line netrowk and mobile communication system for supporting that method |
-
2002
- 2002-07-04 JP JP2002196408A patent/JP3726074B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2004040586A (en) | 2004-02-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101218575B (en) | Techniques for migrating a point to point protocol to a protocol for an access network | |
| US20100217882A1 (en) | Method, system and apparatus for accessing a Layer-3 session | |
| KR100455973B1 (en) | Method to establish a home network in multiple physical layers | |
| US6754712B1 (en) | Virtual dial-up protocol for network communication | |
| US7039049B1 (en) | Method and apparatus for PPPoE bridging in a routing CMTS | |
| US6112245A (en) | Session establishment for static links in Point-to-Point Protocol sessions | |
| JPWO2004107671A1 (en) | Communication device | |
| Valencia et al. | Cisco Layer Two Forwarding (Protocol)" L2F" | |
| US7228358B1 (en) | Methods, apparatus and data structures for imposing a policy or policies on the selection of a line by a number of terminals in a network | |
| CN101102273A (en) | Broadband access device and broadband access method | |
| CN100534055C (en) | Method for implementing network access through broadband router | |
| WO2006114053A1 (en) | A method, system and apparatus for preventing from counterfeiting the mac address | |
| EP2381626B1 (en) | An access terminal and a method for the terminal binding to the operator | |
| JP3726074B2 (en) | PPPoE communication terminal, method thereof, program thereof, and computer-readable recording medium recording the program | |
| US7680134B2 (en) | Tunneling Ethernet | |
| JP4140703B2 (en) | IP compatible adapter | |
| CN101499993B (en) | Authentication method, equipment and system | |
| US20070121833A1 (en) | Method of Quick-Redial for Broadband Network Users and System Thereof | |
| WO2007107076A1 (en) | A broadband user access method and device | |
| EP2073432B1 (en) | Method for binding an access terminal to an operator and corresponding access terminal | |
| CN101083662A (en) | Apparatus and method for improving PPPoA transmission performance | |
| JP2010514290A (en) | Network device and method for translating media access control address | |
| CN100556034C (en) | method for transmitting information | |
| JP4817797B2 (en) | PPPoE bridge device and PPPoE session disconnection method | |
| US7320036B1 (en) | Method and apparatus for multiple communications sessions |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20041222 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20050308 |
|
| 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: 20050913 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20050926 |
|
| 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: 20080930 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090930 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100930 Year of fee payment: 5 |
|
| LAPS | Cancellation because of no payment of annual fees |