Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3636710B2 - Gateway device and control method thereof - Google Patents
[go: Go Back, main page]

JP3636710B2 - Gateway device and control method thereof - Google Patents

Gateway device and control method thereof Download PDF

Info

Publication number
JP3636710B2
JP3636710B2 JP2003027491A JP2003027491A JP3636710B2 JP 3636710 B2 JP3636710 B2 JP 3636710B2 JP 2003027491 A JP2003027491 A JP 2003027491A JP 2003027491 A JP2003027491 A JP 2003027491A JP 3636710 B2 JP3636710 B2 JP 3636710B2
Authority
JP
Japan
Prior art keywords
pppoe
address
frame
destination
ipoe
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 - Lifetime
Application number
JP2003027491A
Other languages
Japanese (ja)
Other versions
JP2004007412A (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.)
Panasonic Corp
Panasonic Holdings Corp
NTT Inc
NTT Inc USA
Original Assignee
Panasonic Corp
Nippon Telegraph and Telephone Corp
Matsushita Electric Industrial Co Ltd
NTT Inc USA
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 Panasonic Corp, Nippon Telegraph and Telephone Corp, Matsushita Electric Industrial Co Ltd, NTT Inc USA filed Critical Panasonic Corp
Priority to JP2003027491A priority Critical patent/JP3636710B2/en
Publication of JP2004007412A publication Critical patent/JP2004007412A/en
Application granted granted Critical
Publication of JP3636710B2 publication Critical patent/JP3636710B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、PPPoE(Point to Point Protocol over Ethernet(R))に対応可能なゲートウェイ装置及びその制御方法に関する。
【0002】
【従来の技術】
従来、企業内に構築されたネットワークと外部ネットワークとの相互間の通信を実現するためにゲートウェイ装置が用いられている。ゲートウェイ装置は、例えば、プロトコル体系の異なるネットワーク間を、相互接続するためのプロトコル変換機器として用いられる。ゲートウェイ装置の構成としては、例えば、外部ネットワークとの間のプロトコルとしてIPoE(Internet Protocol over Ethernet(R))のみに対応可能なものや、外部ネットワークとの間のプロトコルとしてIPoE及びPPPoEの双方に対応可能なものがある。
【0003】
図11は、IPoEにのみ対応可能なゲートウェイ装置1100の構成を示す図である。図12は、このようなIPoEにのみ対応可能なゲートウェイ装置1100が接続されるネットワーク構成例を示す図である。
【0004】
ゲートウェイ装置1100の一方のインタフェースには、図12に示すように、プロトコルとしてIPoEを使用したネットワーク1201〜1204が接続されている。ゲートウェイ装置1100は、ネットワーク1201〜1204上にそれぞれ配置されたゲートウェイ1205〜1208と通信を行う。また、他方のインタフェースには、プロトコルとしてIPoEを使用するパーソナルコンピュータ(以下、「PC」という)などの端末1209〜1211が接続されている。
【0005】
図11に示すゲートウェイ装置1100において、フレーム送受手段1101、1102は、Ethernet(R) I/Fとの間でフレームの送受を行う。IPoEフレーム組立/分解手段1103、1104は、IPoEフレームの組立/分解を行うと共に、そのIPoEフレームの構造を認識する。
【0006】
フォワーディング制御部1105は、入力されたIPoEフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスに基づいてIPoEフレームの出力を制御する。IPoEフレームの出力を制御する際、フォワーディング制御部1105は、IPoEフォワーディングテーブル1106及びARP(Address Resolution Protocol)テーブル1107を用いる。
【0007】
IPoEフォワーディングテーブル1106は、図13に示すように、ネットワークアドレス、出力インタフェース番号(出力IF番号)、ルーティングの種別(直接/間接ルーティング)及び間接ルーティングの場合の宛先IPアドレス(ネクストホップIPアドレス)が対応づけられている。
【0008】
ARPテーブル1107は、図14に示すように、宛先IPアドレス、発信MACアドレス、宛先MACアドレスが対応づけられている。なお、通常、発信MACアドレスにはゲートウェイ装置1100のMACアドレスが用いられるため、全てのエントリで同一の値となる。したがって、ARPテーブル1107に発信MACアドレスのエリアを設けず、ゲートウェイ装置1100のMACアドレスとして別レジスタとしてもよい。
【0009】
以下、上記構成を有するIPoEにのみ対応可能なゲートウェイ装置1100の動作について説明する。ここでは、フレーム送受信部1101にIPoEフレームが入力された場合について説明する。
【0010】
フレーム送受信部1101にIPoEフレームが入力されると、IPoEフレーム組立/分解部1103においてそのIPoEフレームの構造が認識される。認識されたそのIPoEフレームの構造はフォワーディング制御部1105に渡される。
【0011】
フォワーディング制御部1105は、IPoEフレーム上のIPパケットのヘッダ情報に含まれる宛先IPアドレスと、IPoEフォワーディングテーブル1106に登録されたネットワークアドレスとの比較を行う。
【0012】
宛先IPアドレスと同一のネットワークアドレスがあった場合には、そのネットワークアドレスにIPoEフォワーディングテーブル1106上で対応づけられた出力IF番号、ルーティング種別の情報(直接ルーティングであるか間接ルーティングであるかの情報)を取得し、さらに間接ルーティングである場合には、宛先IPアドレス(ネクストホップIPアドレス)も取得する。なお、直接ルーティングである場合には、IPパケットのIPヘッダの宛先IPアドレスが取得される。
【0013】
続いて、フォワーディング制御部1105は、取得した宛先IPアドレスを用いてARPテーブル1107を検索し、当該IPoEフレームの発信MACアドレスと宛先MACアドレスを取得する。取得された発信MACアドレスと宛先MACアドレスは、IPoEフレーム組立/分解部1104に渡される。
【0014】
IPoEフレーム組立/分解部1104は、この発信MACアドレスと宛先MACアドレスを用いてIPoEフレームを組み直す。組み直されたIPoEフレームは、フレーム送受信信部1102に渡され、フレーム送受信部1102から出力される。このようにして、IPoEにのみ対応可能なゲートウェイ装置1100において、IPoEフレームが転送される。
【0015】
図15は、PPPoEに対応可能なゲートウェイ装置1500の構成を示す図である。なお、図15において図1と同一の符号を付けたものは同様の機能を有するものとし、その説明を省略する。図16は、このようなPPPoEに対応可能なゲートウェイ装置1500が接続されるネットワーク構成例を示す図である。
【0016】
ゲートウェイ装置1500の一方のインタフェースには、図16に示すように、プロトコルとしてIPoEを使用したネットワーク1601やプロトコルとしてPPPoEを使用したネットワーク1602〜1604が接続されている。ゲートウェイ装置1500は、ネットワーク1601上に配置されたゲートウェイ1605並びにネットワーク1602〜1604上にそれぞれ配置されたPPPoEサーバ1606〜1608と通信を行う。また、他方のインタフェースには、プロトコルとしてIPoEを使用するPCなどの端末1609〜1611が接続されている。
【0017】
図15に示すゲートウェイ装置1500において、IPoE/PPPoEフレーム組立/分解部1501、1502は、IPoEフレーム及びPPPoEフレームの組立/分解を行うと共に、そのIPoEフレーム及びPPPoEフレームの構造を認識する。
【0018】
フォワーディング制御部1503は、入力されたIPoEフレームのIPパケットのヘッダ情報に含まれる発信IPアドレス又は宛先IPアドレスに基づいてIPoEフレーム又はPPPoEフレームの出力を制御する一方、入力されたPPPoEフレームのPPPoEヘッダ情報に基づいてPPPoEフレームの出力を制御する。IPoEフレーム又はPPPoEフレームの出力を制御する際、フォワーディング制御部1503は、IPoEフォワーディングテーブル1106及びARPテーブル1107に加え、PPPoEフォワーディングテーブル1504及びPPPoEセッションテーブル1505を用いる。
【0019】
PPPoEフォワーディングテーブル1504は、図17に示すように、発信IPアドレス、出力IF番号及びPPPoEセッションの検索インデックス(以下、「PPPoEセッションインデックス」という)が対応づけられている。
【0020】
PPPoEセッションテーブル1505は、図18に示すように、PPPoEセッションインデックス、クライアントMACアドレス、サーバMACアドレス及びPPPoEセッションIDが対応づけられている。
【0021】
以下、上記構成を有するPPPoEに対応可能なゲートウェイ装置1500の動作について説明する。ここでは、フレーム送受信部1101にIPoEフレームが入力された場合と、PPPoEフレームが入力された場合とに分けて説明する。
【0022】
フレーム送受信部1101にいずれかのフレームが入力されると、IPoE/PPPoEフレーム組立/分解部1501においてそのフレームの構造が認識される。認識されたそのフレームの構造はフォワーディング制御部1503に渡される。
【0023】
入力されたフレームがIPoEフレームの場合には、フォワーディング制御部1503は、IPoEフレーム上のIPパケットのヘッダ情報に含まれる発信IPアドレスと、PPPoEフォワーディングテーブル1504に登録された発信IPアドレスとの比較を行う。
【0024】
IPoEフレームのIPパケットのヘッダ情報に含まれる発信IPアドレスと同一の発信IPアドレスがあった場合には、その発信IPアドレスにPPPoEフォワーディングテーブル1504で対応づけられた出力IF番号及びPPPoEセッションインデックスを取得する。
【0025】
続いて、フォワーディング制御部1503は、取得したPPPoEセッションインデックスを用いてPPPoEセッションテーブル1505を検索し、発信MACアドレス、宛先MACアドレス、PPPoEセッションIDなどのPPPoEフレームを生成するための情報を取得する。取得されたPPPoEフレームを生成するための情報は、IPoE/PPPoEフレーム組立/分解部1502に渡される。
【0026】
なお、PPPoEセッションテーブル1505には直接、発信MACアドレス及び宛先MACアドレスの情報はない。しかし、クライアントMACアドレスが発信MACアドレスとして取得され、サーバMACアドレスが宛先MACアドレスとして取得される。
【0027】
IPoE/PPPoEフレーム組立/分解部1502は、このPPPoEフレームを生成するための情報に基づいて、入力されたIPoEフレームをPPPoEフレームに組み直す。組み直されたPPPoEフレームは、フレーム送受信部1102に渡され、フレーム送受信部1102から出力される。
【0028】
IPoEフレームのIPパケットのヘッダ情報に含まれる発信IPアドレスと同一の発信IPアドレスがPPPoEフォワーディングテーブル1504に登録されていなかった場合には、フォワーディング制御部1503は、IPパケットのヘッダ情報に含まれる宛先IPアドレスと、IPoEフォワーディングテーブル1106に登録されたネットワークアドレスとの比較を行う。
【0029】
宛先IPアドレスと同一のネットワークアドレスがあった場合には、そのネットワークアドレスにIPoEフォワーディングテーブル1106上で対応づけられた出力IF番号、ルーティング種別の情報(直接ルーティングであるか間接ルーティングであるかの情報)を取得し、さらに間接ルーティングである場合には、宛先IPアドレス(ネクストホップIPアドレス)も取得する。なお、直接ルーティングである場合には、IPパケットのIPヘッダの宛先IPアドレスが取得される。
【0030】
続いて、フォワーディング制御部1503は、取得した宛先IPアドレスを用いてARPテーブル1107を検索し、当該IPoEフレームの発信MACアドレスと宛先MACアドレスを取得する。取得された発信MACアドレスと宛先MACアドレスは、IPoE/PPPoEフレーム組立/分解部1502に渡される。
【0031】
IPoE/PPPoEフレーム組立/分解部1502は、この発信MACアドレスと宛先MACアドレスを用いてIPoEフレームを組み直す。組み直されたIPoEフレームは、フレーム送受信部1102に渡され、フレーム送受信部1102から出力される。
【0032】
一方、入力されたフレームがPPPoEフレームの場合には、フォワーディング制御部1503は、PPPoEフレームのPPPoEヘッダ情報とPPPoEセッションテーブル1505のエントリを比較する。
【0033】
PPPoEセッションテーブル1505に登録されたエントルがPPPoEフレームのPPPoEヘッダ情報と一致した場合には、PPPoEフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスと、IPoEフォワーディングテーブル1106に登録されたネットワークアドレスとの比較を行う。
【0034】
宛先IPアドレスと同一のネットワークアドレスがあった場合には、そのネットワークアドレスに対応づけられた出力IF番号、ルーティング種別の情報(直接ルーティングであるか間接ルーティングであるかの情報)を取得し、さらに間接ルーティングである場合には、宛先IPアドレス(ネクストホップIPアドレス)も取得する。なお、直接ルーティングである場合には、IPパケットのIPヘッダの宛先IPアドレスが取得される。
【0035】
続いてフォワーディング制御部1503は、取得した宛先IPアドレスを用いてARPテーブル1107を検索し、発信MACアドレスと宛先MACアドレスを取得する。取得された発信MACアドレスと宛先MACアドレスは、IPoE/PPPoEフレーム組立/分解部1502に渡される。
【0036】
IPoE/PPPoEフレーム組立/分解部1502は、この発信MACアドレスと宛先MACアドレスを用いてPPPoEフレームをIPoEフレームに組み直す。組み直されたIPoEフレームは、フレーム送受信部1102に渡され、フレーム送受信部1102から出力される。
【0037】
このようにPPPoEに対応可能なゲートウェイ装置1500は、IPoEフレームを、IPoEフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスに対応するネットワークアドレスに応じてIPoEフレームとして転送する。一方、IPoEフレームのIPパケットのヘッダ情報に含まれる発信IPアドレスに応じてPPPoEセッションを選択してPPPoEフレームとして出力する。
【0038】
なお、複数の端末が同時に異なるネットワークに接続して、データフレームの送受信を行うことができるフレーム転送方法を実現する技術が提案されている(例えば、特許文献1参照)。
【0039】
【特許文献1】
特開2001−237898号公報
【0040】
【発明が解決しようとする課題】
しかしながら、上記IPoEにのみ対応可能なゲートウェイ装置1100では、IPoEフレームしか転送することしかできないという問題がある。また、上記PPPoEに対応可能なゲートウェイ装置1500では、PPPoEフォワーディングテーブル1504を用いて、入力されたIPoEフレームのIPパケットのヘッダ情報に含まれる発信IPアドレスに応じてPPPoEセッションを選択している。したがって、各端末(1609〜1611)は、同時に複数のPPPoEセッションを選択することができないため、複数のPPPoEサーバにアクセスすることができないという問題がある。さらに、発信IPアドレスが一致した場合には、IPoEフレームが自動的にPPPoEフレームとして出力されるため、IPoEを使用したネットワークにアクセスすることができないという問題がある。
【0041】
本発明は、かかる問題点に鑑みて為されたものであり、接続された端末が、PPPoEとIPoEとの間で使用するプロトコルを選択すると共に、複数のPPPoEセッションを同時に選択することができるPPPoEに対応可能なゲートウェイ装置及びその制御方法を提供することを目的とする。
【0042】
【課題を解決するための手段】
本発明は、ネットワークアドレス、プロトコル種別、IPoEで用いられる宛先IPアドレス及びPPPoEで用いられるPPPoEセッションの検索インデックスが登録されたIPoE/PPPoEフォワーディングテーブルを設け、入力されたフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスと一致する前記IPoE/PPPoEフォワーディングテーブル上のネットワークアドレスに応じてプロトコル種別を選択し、選択されたプロトコル種別がPPPoEの場合には当該ネットワークアドレスに対応する検索インデックスからPPPoEセッションも選択できるようにしたものである。
【0043】
また、本発明は、入力側の発信MACアドレス及びPPPoEセッションID並びに出力側の宛先MACアドレス及びPPPoEセッションIDが登録されたPPPoEプロキシテーブルを設け、入力されたPPPoEフレームを、PPPoEをプロトコルとして使用するネットワークに中継するようにしたものである。
【0044】
【発明の実施の形態】
本発明の第1の態様に係るゲートウェイ装置は、ネットワークアドレス、プロトコル種別、IPoEで用いられる宛先IPアドレス及びPPPoEで用いられるPPPoEセッションの検索インデックスが登録されたIPoE/PPPoEフォワーディングテーブルと、前記検索インデックス、宛先MACアドレス及びPPPoEセッションIDが登録されたPPPoEセッションテーブルと、宛先IPアドレス及び宛先MACアドレスが登録されたARPテーブルと、前記IPoE/PPPoEフォワーディングテーブル、PPPoEセッションテーブル及びARPテーブルに登録された情報を用いて入力されたフレームの出力を制御する制御部と、を具備するゲートウェイ装置であって、前記制御部は、入力されたフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスと前記IPoE/PPPoEフォワーディングテーブル上で一致するネットワークアドレスに応じてプロトコル種別を選択し、選択されたプロトコル種別がIPoEの場合には当該ネットワークアドレスに対応する宛先IPアドレス又は前記ヘッダ情報に含まれる宛先IPアドレスと前記ARPテーブル上で対応づけられた宛先MACアドレスに基づいてIPoEフレームの出力を制御する一方、選択されたプロトコル種別がPPPoEの場合には当該ネットワークアドレスに対応する検索インデックスに前記PPPoEセッションテーブル上で対応づけられた宛先MACアドレス及びPPPoEセッションIDに基づいてPPPoEフレームの出力を制御する構成を採る。
【0045】
この構成によれば、制御部が宛先のネットワークアドレスによって出力時に使用するプロトコル(IPoE/PPPoE)の種別を選択し、そのプロトコル種別がPPPoEの場合にはセッションも選択する。したがって、入力されたフレームの宛先のネットワークに応じてIPoEとPPPoEとの間でプロトコルを使い分けることができると共に、プロトコルがPPPoEの場合にはPPPoEセッションを使い分けることができる。
【0046】
本発明の第2の態様は、第1の態様に係るゲートウェイ装置において、前記制御部は、PPPoEフレームが入力された場合には、当該PPPoEフレームのヘッダ情報と一致するエントリが前記PPPoEセッションテーブルに登録されている場合に当該PPPoEフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスと前記IPoE/PPPoEフォワーディングテーブル上のネットワークアドレスとの比較を行う一方、IPoEフレームが入力された場合には、当該IPoEフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスと前記IPoE/PPPoEフォワーディングテーブル上のネットワークアドレスとの比較を行う構成を採る。
【0047】
この構成によれば、PPPoEフレーム及びIPoEフレームのいずれが入力された場合であっても、宛先のネットワークアドレスに応じて出力時に使用するプロトコル(IPoE/PPPoE)の種別を選択することができ、そのプロトコル種別がPPPoEの場合にはセッションも選択することができる。
【0048】
本発明の第3の態様は、第1又は第2の態様に係るゲートウェイ装置において、発信IPアドレス、プロトコル種別、IPoEで用いられる宛先IPアドレス及びPPPoEで用いられるPPPoEセッションの検索インデックスが登録されたデフォルトルートテーブルをさらに具備し、入力されたフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスが前記IPoE/PPPoEフォワーディングテーブル上でデフォルトルートとして登録されたネットワークアドレスと一致した場合、前記制御部は、前記ヘッダ情報に含まれる発信IPアドレスと前記デフォルトルートテーブル上で一致する発信IPアドレスに応じてプロトコル種別を選択し、選択されたプロトコル種別がIPoEの場合には当該発信IPアドレスに対応する宛先IPアドレス又は前記ヘッダ情報に含まれる宛先IPアドレスと前記ARPテーブル上で対応づけられた宛先MACアドレスに基づいてIPoEフレームの出力を制御する一方、選択されたプロトコル種別がPPPoEの場合には当該発信IPアドレスに対応する検索インデックスに前記PPPoEセッションテーブル上で対応づけられた宛先MACアドレス及びPPPoEセッションIDに基づいてPPPoEフレームの出力を制御する構成を採る。
【0049】
この構成によれば、通常のネットワークアドレスが検索されない場合であっても、発信IPアドレスに応じて端末を識別し、さらに端末毎に使用すべきプロトコル(IPoE又はPPPoE)の種別を選択すると共に、そのプロトコル種別がPPPoEの場合にはPPPoEセッションも選択できる。このため、端末の使用者が希望するISP(Internet Service Provider)の情報を事前に登録しておくことにより、通常のネットワークアドレスが検索されない場合であっても、端末毎にISPを使い分けることができる。
【0050】
本発明の第4の態様に係るゲートウェイ装置は、ネットワークアドレス及び宛先IPアドレスが登録されたIPoEフォワーディングテーブルと、入力側の発信MACアドレス及びPPPoEセッションID並びに出力側の宛先MACアドレス及びPPPoEセッションIDが登録されたPPPoEプロキシテーブルと、宛先IPアドレス及び宛先MACアドレスが登録されたARPテーブルと、前記IPoEフォワーディングテーブル、PPPoEプロキシテーブル及びARPテーブルを用いて入力されたフレームの出力を制御する制御部と、を具備するゲートウェイ装置であって、前記制御部は、PPPoEフレームが入力された場合であって当該PPPoEフレームのヘッダ情報と一致するエントリが前記PPPoEプロキシテーブルに登録されている場合には、当該エントリに登録された前記出力側の宛先MACアドレス及びPPPoEセッションIDに基づいてPPPoEフレームの出力を制御する一方、IPoEフレームが入力された場合には、当該IPoEフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスと前記IPoEフォワーディングテーブル上で一致するネットワークアドレスに対応づけられた宛先IPアドレスを選択し、当該宛先IPアドレス又は前記ヘッダ情報に含まれる宛先IPアドレスと前記ARPテーブル上で対応づけられた宛先MACアドレスに基づいてIPoEフレームの出力を制御する構成を採る。
【0051】
この構成によれば、入力されたIPoEフレームのヘッダ情報に含まれる宛先IPアドレスに対応するネットワークアドレスに応じてIPoEフレームを転送することができる一方、入力されたPPPoEフレームを、PPPoEプロキシテーブルに登録された情報に応じて、プロトコルとしてPPPoEを使用するネットワークに中継することができる。このため、主にプロトコルとしてIPoEを使用するネットワークにおいても、端末からのプロトコルの選択に応じて、柔軟にPPPoEを使用したネットワークへのアクセスに対処することができる。
【0052】
本発明の第5の態様は、第1から第3のいずれかの態様に係るゲートウェイ装置において、入力側の発信MACアドレス及びPPPoEセッションID並びに出力側の宛先MACアドレス及びPPPoEセッションIDが登録されたPPPoEプロキシテーブルをさらに具備し、前記制御部は、PPPoEフレームが入力された場合であって当該PPPoEフレームのヘッダ情報と一致するエントリが前記PPPoEプロキシテーブルに登録されている場合には、当該エントリに登録された前記出力側の宛先MACアドレス及びPPPoEセッションIDに基づいてPPPoEフレームの出力を制御する一方、PPPoEフレームが入力された場合であって当該PPPoEフレームのヘッダ情報と一致するエントリが前記PPPoEプロキシテーブルに登録されていない場合には、当該PPPoEフレームのヘッダ情報と一致するエントリが前記PPPoEセッションテーブルに登録されている場合に当該PPPoEフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスと前記IPoE/PPPoEフォワーディングテーブル上のネットワークアドレスとの比較を行う構成を採る。
【0053】
この構成によれば、入力されたフレームのヘッダ情報に含まれる宛先IPアドレスに対応するネットワークアドレスに応じて出力時に使用するプロトコル(IPoE又はPPoE)の種別を選択し、そのプロトコルの種別がPPPoEの場合には、そのPPPoEセッションも選択する。したがって、入力されたフレームの宛先のネットワークに応じてIPoEとPPPoEとの間でプロトコルを使い分けることができると共に、プロトコルがPPPoEの場合にはPPPoEセッションを使い分けることができる。
【0054】
また、入力されたPPPoEフレームを、PPPoEプロキシテーブルに登録された情報に応じて、プロトコルとしてPPPoEを使用したネットワークに中継することができる。このため、主にプロトコルとしてIPoEを使用するネットワークにおいても、端末からのプロトコルの選択に応じて、柔軟にPPPoEを使用したネットワークへのアクセスに対処することができる。
【0055】
本発明の第6の態様に係るゲートウェイ装置の制御方法は、ネットワークアドレス、プロトコル種別、IPoEで用いられる宛先IPアドレス及びPPPoEで用いられるPPPoEセッションの検索インデックスが登録されたIPoE/PPPoEフォワーディングテーブルと、前記検索インデックス、宛先MACアドレス及びPPPoEセッションIDが登録されたPPPoEセッションテーブルと、宛先IPアドレス及び宛先MACアドレスが登録されたARPテーブルと、を具備するゲートウェイ装置の制御方法であって、入力されたフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスと前記IPoE/PPPoEフォワーディングテーブル上で一致するネットワークアドレスに応じてプロトコル種別を選択し、選択されたプロトコル種別がIPoEの場合には当該ネットワークアドレスに対応する宛先IPアドレス又は前記ヘッダ情報に含まれる宛先IPアドレスと前記ARPテーブル上で対応づけられた宛先MACアドレスに基づいてIPoEフレームの出力を制御する一方、選択されたプロトコル種別がPPPoEの場合には当該ネットワークアドレスに対応する検索インデックスに前記PPPoEセッションテーブル上で対応づけられた宛先MACアドレス及びPPPoEセッションIDに基づいてPPPoEフレームの出力を制御するものである。
【0056】
本発明の第7の態様は、第6の態様に係るゲートウェイ装置の制御方法において、PPPoEフレームが入力された場合には、当該PPPoEフレームのヘッダ情報と一致するエントリが前記PPPoEセッションテーブルに登録されている場合に当該PPPoEフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスと前記IPoE/PPPoEフォワーディングテーブル上のネットワークアドレスとの比較を行う一方、IPoEフレームが入力された場合には、当該IPoEフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスと前記IPoE/PPPoEフォワーディングテーブル上のネットワークアドレスとの比較を行うものである。
【0057】
本発明の第8の態様は、第6又は第7の態様に係るゲートウェイ装置の制御方法において、前記ゲートウェイ装置は、発信IPアドレス、プロトコル種別、IPoEで用いられる宛先IPアドレス及びPPPoEで用いられるPPPoEセッションの検索インデックスが登録されたデフォルトルートテーブルをさらに具備し、入力されたフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスが前記IPoE/PPPoEフォワーディングテーブル上でデフォルトルートとして登録されたネットワークアドレスと一致した場合、前記ヘッダ情報に含まれる発信IPアドレスと一致する前記デフォルトルートテーブル上の発信IPアドレスに応じてプロトコル種別を選択し、選択されたプロトコル種別がIPoEの場合には当該発信IPアドレスに対応する宛先IPアドレス又は前記ヘッダ情報に含まれる宛先IPアドレスと前記ARPテーブル上で対応づけられた宛先MACアドレスに基づいてIPoEフレームの出力を制御する一方、選択されたプロトコル種別がPPPoEの場合には当該発信IPアドレスに対応する検索インデックスに前記PPPoEセッションテーブル上で対応づけられた宛先MACアドレス及びPPPoEセッションIDに基づいてPPPoEフレームの出力を制御するものである。
【0058】
本発明の第9の態様に係るゲートウェイ装置の制御方法は、ネットワークアドレス及び宛先IPアドレスが登録されたIPoEフォワーディングテーブルと、入力側の発信MACアドレス及びPPPoEセッションID並びに出力側の宛先MACアドレス及びPPPoEセッションIDが登録されたPPPoEプロキシテーブルと、宛先IPアドレス及び宛先MACアドレスが登録されたARPテーブルと、を具備するゲートウェイ装置の制御方法であって、PPPoEフレームが入力された場合であって当該PPPoEフレームのヘッダ情報と一致するエントリが前記PPPoEプロキシテーブルに登録されている場合には、当該エントリに登録された前記出力側の宛先MACアドレス及びPPPoEセッションIDに基づいてPPPoEフレームの出力を制御する一方、IPoEフレームが入力された場合には、当該IPoEフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスと一致する前記IPoEフォワーディングテーブル上のネットワークアドレスに対応づけられた宛先IPアドレスを選択し、当該宛先IPアドレス又は前記ヘッダ情報に含まれる宛先IPアドレスと前記ARPテーブル上で対応づけられた宛先MACアドレスに基づいてIPoEフレームの出力を制御するものである。
【0059】
本発明の第10の態様は、第6から第8の態様に係るゲートウェイ装置の制御方法であって、前記ゲートウェイ装置は、入力側の発信MACアドレス及びPPPoEセッションID並びに出力側の宛先MACアドレス及びPPPoEセッションIDが登録されたPPPoEプロキシテーブルをさらに具備し、PPPoEフレームが入力された場合であって当該PPPoEフレームのヘッダ情報と一致するエントリが前記PPPoEプロキシテーブルに登録されている場合には、当該エントリに登録された前記出力側の宛先MACアドレス及びPPPoEセッションIDに基づいてPPPoEフレームの出力を制御する一方、PPPoEフレームが入力された場合であって当該PPPoEフレームのヘッダ情報と一致するエントリが前記PPPoEプロキシテーブルに登録されていない場合には、当該PPPoEフレームのヘッダ情報と一致するエントリがPPPoEセッションテーブルに登録されている場合に当該PPPoEフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスと前記IPoE/PPPoEフォワーディングテーブル上のネットワークアドレスとの比較を行うものである。
【0060】
本発明の第11の態様は、ネットワークアドレス、プロトコル種別、IPoEで用いられる宛先IPアドレス及びPPPoEで用いられるPPPoEセッションの検索インデックスが登録されたIPoE/PPPoEフォワーディングテーブルと、前記検索インデックス、宛先MACアドレス及びPPPoEセッションIDが登録されたPPPoEセッションテーブルと、宛先IPアドレス及び宛先MACアドレスが登録されたARPテーブルと、を具備するゲートウェイ装置のプログラムであって、コンピュータに、入力されたフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスと前記IPoE/PPPoEフォワーディングテーブル上で一致するネットワークアドレスに応じてプロトコル種別を選択する手順と、選択されたプロトコル種別がIPoEの場合には当該ネットワークアドレスに対応する宛先IPアドレス又は前記ヘッダ情報に含まれる宛先IPアドレスと前記ARPテーブル上で対応づけられた宛先MACアドレスに基づいてIPoEフレームの出力を制御する手順と、選択されたプロトコル種別がPPPoEの場合には当該ネットワークアドレスに対応する検索インデックスに前記PPPoEセッションテーブル上で対応づけられた宛先MACアドレス及びPPPoEセッションIDに基づいてPPPoEフレームの出力を制御する手順と、を実行させるためのプログラムである。
【0061】
本発明の第12の態様は、第11の態様に係るゲートウェイ装置のプログラムにおいて、コンピュータに、PPPoEフレームが入力された場合には、当該PPPoEフレームのヘッダ情報と一致するエントリが前記PPPoEセッションテーブルに登録されている場合に当該PPPoEフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスと前記IPoE/PPPoEフォワーディングテーブル上のネットワークアドレスとの比較を行う手順と、IPoEフレームが入力された場合には、当該IPoEフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスと前記IPoE/PPPoEフォワーディングテーブル上のネットワークアドレスとの比較を行う手順と、を実行させるものである。
【0062】
本発明の第13の態様は、第11又は第12の態様に係るゲートウェイ装置のプログラムにおいて、前記ゲートウェイ装置は、発信IPアドレス、プロトコル種別、IPoEで用いられる宛先IPアドレス及びPPPoEで用いられるPPPoEセッションの検索インデックスが登録されたデフォルトルートテーブルをさらに具備し、コンピュータに、入力されたフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスが前記IPoE/PPPoEフォワーディングテーブル上でデフォルトルートとして登録されたネットワークアドレスと一致した場合、当該ヘッダ情報に含まれる発信IPアドレスと一致する前記デフォルトルートテーブル上の発信IPアドレスに応じてプロトコル種別を選択する手順と、選択されたプロトコル種別がIPoEの場合には当該発信IPアドレスに対応する宛先IPアドレス又は前記ヘッダ情報に含まれる宛先IPアドレスと前記ARPテーブル上で対応づけられた宛先MACアドレスに基づいてIPoEフレームの出力を制御する手順と、選択されたプロトコル種別がPPPoEの場合には当該発信IPアドレスに対応する検索インデックスに前記PPPoEセッションテーブル上で対応づけられた宛先MACアドレス及びPPPoEセッションIDに基づいてPPPoEフレームの出力を制御する手順を実行させるものである。
【0063】
本発明の第14の態様は、ネットワークアドレス及び宛先IPアドレスが登録されたIPoEフォワーディングテーブルと、入力側の発信MACアドレス及びPPPoEセッションID並びに出力側の宛先MACアドレス及びPPPoEセッションIDが登録されたPPPoEプロキシテーブルと、宛先IPアドレス及び宛先MACアドレスが登録されたARPテーブルと、を具備するゲートウェイ装置のプログラムであって、コンピュータに、PPPoEフレームが入力された場合であって当該PPPoEフレームのヘッダ情報と一致するエントリが前記PPPoEプロキシテーブルに登録されている場合には、当該エントリに登録された前記出力側の宛先MACアドレス及びPPPoEセッションIDに基づいてPPPoEフレームの出力を制御する手順と、IPoEフレームが入力された場合には、当該IPoEフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスと一致する前記IPoEフォワーディングテーブル上のネットワークアドレスに対応づけられた宛先IPアドレスを選択し、当該宛先IPアドレス又は前記ヘッダ情報に含まれる宛先IPアドレスと前記ARPテーブル上で対応づけられた宛先MACアドレスに基づいてIPoEフレームの出力を制御する手順と、を実行させるためのプログラムである。
【0064】
本発明の第15の態様は、第11から第13の態様に係るゲートウェイ装置のプログラムにおいて、前記ゲートウェイ装置は、入力側の発信MACアドレス及びPPPoEセッションID並びに出力側の宛先MACアドレス及びPPPoEセッションIDが登録されたPPPoEプロキシテーブルをさらに具備し、コンピュータに、PPPoEフレームが入力された場合であって当該PPPoEフレームのヘッダ情報と一致するエントリが前記PPPoEプロキシテーブルに登録されている場合には、当該エントリに登録された前記出力側の宛先MACアドレス及びPPPoEセッションIDに基づいてPPPoEフレームの出力を制御する手順と、PPPoEフレームが入力された場合であって当該PPPoEフレームのヘッダ情報と一致するエントリが前記PPPoEプロキシテーブルに登録されていない場合には、当該PPPoEフレームのヘッダ情報と一致するエントリがPPPoEセッションテーブルに登録されている場合に当該PPPoEフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスと前記IPoE/PPPoEフォワーディングテーブル上のネットワークアドレスとの比較を行う手順と、を実行させるものである。
【0065】
以下、本発明に係る実施の形態について図面を参照して具体的に説明する。
【0066】
(実施の形態1)
図1は、本発明の実施の形態1に係るゲートウェイ装置100の構成を示す図である。図2は、実施の形態1に係るゲートウェイ装置100が接続されるネットワーク構成例を示す図である。
【0067】
本ゲートウェイ装置100の一方のインタフェースには、図2に示すように、プロトコルとしてIPoEを使用したネットワーク201やプロトコルとしてPPPoEを使用したネットワーク202〜204が接続されている。ゲートウェイ装置100は、ネットワーク201上に配置されたゲートウェイ205並びにネットワーク202〜204上にそれぞれ配置されたPPPoEサーバ206〜208と通信を行う。また、他方のインタフェースには、プロトコルとしてIPoEを使用するPCなどの端末209〜211が接続されている。
【0068】
図1に示す本ゲートウェイ装置100において、フレーム送受信部101、102は、Ethernet(R) I/Fとの間でフレームの送受信を行う。IPoE/PPPoEフレーム組立/分解部103、104は、IPoEフレーム及びPPPoEフレームの組立/分解を行うと共に、そのIPoEフレーム及びPPPoEフレームの構造を認識する。
【0069】
フォワーディング制御部105は、入力されたIPoEフレームのIPパケットのヘッダ情報に含まれる発信IPアドレス又は宛先IPアドレスに基づいてIPoEフレーム又はPPPoEフレームの出力を制御する一方、入力されたPPPoEフレームのPPPoEヘッダ情報に基づいてIPoEフレーム又はPPPoEフレームの出力を制御する。IPoEフレーム又はPPPoEフレームの出力を制御する際、フォワーディング制御部105は、IPoE/PPPoEフォワーディングテーブル106、デフォルトルートテーブル107、ARPテーブル108及びPPPoEセッションテーブル109を用いる。
【0070】
IPoE/PPPoEフォワーディングテーブル106は、従来のIPoEフォワーディングテーブル(図13参照)に含まれる情報と、PPPoEフォワーディングテーブル(図17参照)に含まれる情報とが登録されると共に、出力時に使用されるプロトコル(Layer2プロトコル)が登録されている。
【0071】
具体的には、図3に示すように、ネットワークアドレス、出力IF番号、プロトコル種別としてIPoEが選択された場合におけるルーティング種別(直接/間接ルーティング)、IPoEでルーティング種別として間接ルーティングが選択された場合における宛先IPアドレス(ネクストホップIPアドレス)、出力時に使用するプロトコル種別(Layer2プロトコル)及びプロトコル種別としてPPPoEが選択された場合におけるPPPoEセッションインデックスが対応づけられている。
【0072】
デフォルトルートテーブル107に登録された情報は、IPoE/PPPoEフォワーディングテーブル106におけるネットワークアドレスが、発信IPアドレスに置換されている点でIPoE/PPPoEフォワーディングテーブル106と相違する。
【0073】
具体的には、図4に示すように、発信IPアドレス、出力IF番号、プロトコル種別としてIPoEが選択された場合におけるルーティング種別(直接/間接ルーティング)、IPoEでルーティング種別として間接ルーティングが選択された場合における宛先IPアドレス(ネクストホップIPアドレス)、出力時に使用するプロトコル種別(Layer2プロトコル)及びプロトコル種別としてPPPoEが選択された場合におけるPPPoEセッションインデックスが対応づけられている。
【0074】
なお、ARPテーブル108、PPPoEセッションテーブル109は、それぞれ上述した図14、図18で説明したものと同様の情報を含むものであるため、その説明を省略する。なお、通常、ARPテーブル108における発信MACアドレスは、ゲートウェイ装置100のMACアドレスが用いられるため、全てのエントリで同一となる。したがって、発信MACアドレスをARPテーブル108上に設けず、1つのレジスタで記憶する方式を採用してもよい。
【0075】
以下、上記構成を有する本ゲートウェイ装置100の動作について説明する。ここでは、フレーム送受信部101にIPoEフレームが入力された場合と、PPPoEフレームが入力された場合とに分けて説明する。
【0076】
フレーム送受信部101にいずれかのフレームが入力されると、IPoE/PPPoEフレーム組立/分解部103においてそのフレームの構造が認識される。認識されたそのフレームの構造はフォワーディング制御部105に渡される。
【0077】
入力されたフレームがIPoEフレームの場合には、フォワーディング制御部105は、IPoEフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスと、IPoE/PPPoEフォワーディングテーブル106に登録されたネットワークアドレスとの比較を行う。
【0078】
宛先IPアドレスと同一のネットワークアドレスがあった場合には、そのネットワークアドレスに対応づけられた出力IF番号、出力時に使用するプロトコル種別(PPPoE又はIPoE)を取得する。取得したプロトコル種別がIPoEの場合には、ルーティング種別(間接ルーティングと直接ルーティング)を取得し、さらに間接ルーティングである場合には、宛先IPアドレス(ネクストホップIPアドレス)も取得する。なお、直接ルーティングである場合には、IPパケットのヘッダ情報に含まれる宛先IPアドレスが取得される。一方、取得したプロトコル種別がPPPoEの場合には、PPPoEセッションインデックスを取得する。
【0079】
取得したプロトコル種別がIPoEである場合には、フォワーディング制御部105は、取得した宛先IPアドレスを用いてARPテーブル108を検索し、宛先MACアドレスを取得する。取得された宛先MACアドレスは、IPoE/PPPoEフレーム組立/分解部104に渡される。
【0080】
IPoE/PPPoEフレーム組立/分解部104は、この宛先MACアドレスを用いてIPoEフレームを組み直す。組み直されたIPoEフレームは、フレーム送受信部102に渡され、フレーム送受信部102から出力される。
【0081】
一方、取得したプロトコル種別がPPPoEである場合には、PPPoEセッションインデックスを用いてPPPoEセッションテーブル109を検索し、発信MACアドレス、宛先MACアドレス及びPPPoEセッションIDなどのPPPoEフレームを生成するための情報を検索する。この検索結果は、IPoE/PPPoEフレーム組立/分解部104に渡される。
【0082】
IPoE/PPPoEフレーム組立/分解部104は、この検索結果に基づいてIPoEフレームをPPPoEフレームに組み直す。組み直されたPPPoEフレームは、フレーム送受信部102に渡され、フレーム送受信部102から出力される。
【0083】
一方、入力されたフレームがPPPoEフレームの場合には、フォワーディング制御部105は、PPPoEフレームのPPPoEヘッダ情報とPPPoEセッションテーブル109のエントリを比較する。
【0084】
PPPoEセッションテーブル109に登録されたエントリがPPPoEフレームのPPPoEヘッダ情報と一致した場合には、PPPoEフレーム上のIPパケットのヘッダ情報に含まれる宛先IPアドレスと、IPoE/PPPoEフォワーディングテーブル106に登録されたネットワークアドレスとの比較を行う。
【0085】
ヘッダ情報に含まれる宛先IPアドレスと同一のネットワークアドレスがあった場合には、そのネットワークアドレスに対応づけられた出力IF番号、出力時に使用するプロトコル種別(PPPoE又はIPoE)を取得する。取得したプロトコル種別がIPoEの場合には、ルーティング種別(間接ルーティング又は直接ルーティング)を取得し、さらに間接ルーティングの場合には、宛先IPアドレス(ネクストホップIPアドレス)も取得する。なお、直接ルーティングである場合には、IPパケットのヘッダ情報に含まれる宛先IPアドレスが取得される。一方、取得したプロトコル種別がPPPoEの場合には、PPPoEセッションインデックスを取得する。
【0086】
取得したプロトコル種別がIPoEである場合には、フォワーディング制御部105は、取得した宛先IPアドレスを用いてARPテーブル108を検索し、宛先MACアドレスを取得する。取得された宛先MACアドレスは、IPoE/PPPoEフレーム組立/分解部104に渡される。
【0087】
IPoE/PPPoEフレーム組立/分解部104は、この宛先MACアドレスを用いてPPPoEフレームをIPoEフレームに組み直す。組み直されたIPoEフレームは、フレーム送受信部102に渡され、フレーム送受信部102から出力される。
【0088】
一方、取得したプロトコル種別がPPPoEである場合には、PPPoEセッションインデックスを用いてPPPoEセッションテーブル109を検索し、発信MACアドレス、宛先MACアドレス、PPPoEセッションIDなどのPPPoEフレームを生成するための情報を検索する。この検索結果は、IPoE/PPPoEフレーム組立/分解部104に渡される。
【0089】
IPoE/PPPoEフレーム組立/分解部104は、この検索結果に基づいてPPPoEフレームを組み直す。組み直されたPPPoEフレームは、フレーム送受信部102に渡され、フレーム送受信部102から出力される。
【0090】
このように実施の形態1のゲートウェイ装置100によれば、フォワーディング制御部105が入力されたフレームのヘッダ情報に含まれる宛先IPアドレスに対応するネットワークアドレスに応じて出力時に使用するプロトコル(IPoE又はPPoE)の種別を選択し、そのプロトコルの種別がPPPoEの場合には、そのPPPoEセッションも選択する。したがって、入力されたフレームの宛先のネットワークに応じてIPoEとPPPoEとの間でプロトコルを使い分けることができると共に、プロトコルがPPPoEの場合にはPPPoEセッションを使い分けることができる。
【0091】
なお、IPoE/PPPoEフォワーディングテーブル106の検索の際、特に指定されたネットワークアドレス以外のネットワークアドレス、言い換えると、デフォルトルートのエントリと一致した場合には、フォワーディング制御部105は、IPパケットの発信IPアドレスを用いてデフォルトルートテーブル107を検索する。
【0092】
同一の発信IPアドレスが登録されている場合には、フォワーディング制御部105は、デフォルトルートテーブル107の検索結果をIPoE/PPPoEフォワーディングテーブル106の検索結果に置き換えて使用する。
【0093】
すなわち、フォワーディング制御部105は、発信IPアドレスに応じて、出力時に使用するプロトコル(IPoE又はPPPoE)の種別を選択し、そのプロトコル種別がPPPoEの場合には、そのPPPoEセッションも選択する。したがって、通常のネットワークアドレスが検索されない場合であっても、発信IPアドレスに応じて端末を識別し、さらに端末毎に使用すべきプロトコル(IPoE又はPPPoE)の種別を選択すると共に、そのプロトコル種別がPPPoEの場合にはPPPoEセッションも選択できる。このため、端末の使用者が希望するISP(Internet Service Provider)の情報を事前に登録しておくことにより、通常のネットワークアドレスが検索されない場合であっても、端末毎にISPを使い分けることができる。
【0094】
(実施の形態2)
図5は、本発明の実施の形態2に係るゲートウェイ装置500の構成を示す図である。図6は、実施の形態2に係るゲートウェイ装置500が接続されるネットワーク構成例を示す図である。なお、図5において、図1と同一の符号を付したものは同様の機能を有するものとし、その説明を省略する。
【0095】
本ゲートウェイ装置500の一方のインタフェースには、図6に示すように、プロトコルとしてIPoEを使用したネットワーク601〜603やプロトコルとしてPPPoEを使用したネットワーク604が接続されている。ゲートウェイ装置500は、ネットワーク601〜603上にそれぞれ配置されたゲートウェイ605〜607並びにネットワーク604上に配置されたPPPoEサーバ608と通信を行う。また、他方のインタフェースには、プロトコルとしてIPoEを使用するPCなどの端末609及び610、並びにプロトコルとしてPPPoEを使用するPCなどの端末611が接続されている。
【0096】
図5に示す本ゲートウェイ装置500において、フォワーディング制御部501は、入力されたIPoEフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスに基づいてIPoEフレーム又はPPPoEフレームの出力を制御する一方、入力されたPPPoEフレームのPPPoEヘッダ情報に基づいてIPoEフレーム又はPPPoEフレームの出力を制御する。IPoEフレーム又はPPPoEフレームの出力を制御する際、フォワーディング制御部501は、IPoEフォワーディングテーブル502、ARPテーブル108及びPPPoEプロキシテーブル503を用いる。
【0097】
なお、IPoEフォワーディングテーブル502は、上述した図13で説明したものと同様の情報を含むものであるため、その説明を省略する。
【0098】
PPPoEプロキシテーブル503は、図7に示すように、入力IF番号、発信MACアドレス▲1▼、宛先MACアドレス▲1▼、PPPoEセッションID▲1▼、出力IF番号、発信MACアドレス▲2▼、宛先MACアドレス▲2▼及びPPPoEセッションID▲2▼が対応づけられている。
【0099】
なお、通常、宛先MACアドレス▲1▼及び発信MACアドレス▲2▼には、ゲートウェイ装置500のMACアドレスが用いられるため、全てのエントリで同一の値となる。したがって、PPPoEプロキシテーブル503に入力側の宛先MACアドレス▲1▼、出力側の発信MACアドレス▲2▼のエリアを設けず、ゲートウェイ装置500のMACアドレスとして別レジスタにしてもよい。
【0100】
以下、上記構成を有する本ゲートウェイ装置500の動作について説明する。ここでは、フレーム送受信部101にIPoEフレームが入力された場合と、PPPoEフレームが入力された場合とに分けて説明する。
【0101】
フレーム送受信部101にいずれかのフレームが入力されると、IPoE/PPPoEフレーム組立/分解部103においてそのフレームの構造が認識される。認識されたそのフレームの構造はフォワーディング制御部501に渡される。
【0102】
入力されたフレームがIPoEフレームの場合には、フォワーディング制御部501は、IPoEフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスと、IPoEフォワーディングテーブル502に登録されたネットワークアドレスとの比較を行う。
【0103】
ヘッダ情報に含まれる宛先IPアドレスと同一のネットワークアドレスがあった場合には、そのネットワークアドレスに対応づけられた出力IF番号、ルーティング種別の情報(直接ルーティングであるか間接ルーティングであるかの情報)を取得し、さらに間接ルーティングである場合には、宛先IPアドレス(ネクストホップIPアドレス)も取得する。なお、直接ルーティングの場合にはIPパケットのヘッダ情報に含まれる宛先IPアドレスが取得される。
【0104】
続いて、フォワーディング制御部501は、取得した宛先IPアドレスを用いてARPテーブル108を検索し、宛先MACアドレスを取得する。取得された宛先MACアドレスは、IPoE/PPPoEフレーム組立/分解部104に渡される。
【0105】
IPoE/PPPoEフレーム組立/分解部104は、この宛先MACアドレスを用いてIPoEフレームを組み直す。組み直されたIPoEフレームは、フレーム送受信部102に渡され、フレーム送受信部102から出力される。
【0106】
一方、入力されたフレームがPPPoEフレームの場合には、フォワーディング制御部501は、PPPoEフレームのPPPoEヘッダの情報を用いてPPPoEプロキシテーブル503のエントリとの比較を行う。
【0107】
PPPoEプロキシテーブル503に登録されたエントリがPPPoEフレームのPPPoEヘッダの情報と一致した場合には、PPPoEプロキシテーブル503から出力IF番号、発信MACアドレス、宛先MACアドレス、PPPoEセッションIDなどのPPPoEフレームを生成するための情報を検索する。この検索結果は、IPoE/PPPoEフレーム組立/分解部104に渡される。
【0108】
IPoE/PPPoEフレーム組立/分解部104は、この検索結果に基づいてPPPoEフレームを組み直す。組み直されたPPPoEフレームは、フレーム送受信部102に渡され、フレーム送受信部102から出力される。
【0109】
このように実施の形態2のゲートウェイ装置500によれば、入力されたIPoEフレームのヘッダ情報に含まれる宛先IPアドレスに対応するネットワークアドレスに応じてIPoEフレームを転送する。一方、入力されたPPPoEフレームを、PPPoEプロキシテーブル503に登録された情報に応じて、プロトコルとしてPPPoEを使用するネットワークに中継する。このため、主にプロトコルとしてIPoEを使用するネットワークにおいても、端末からのプロトコルの選択に応じて、柔軟にPPPoEを使用したネットワークへのアクセスに対処することができる。
【0110】
(実施の形態3)
実施の形態3に係るゲートウェイ装置800は、実施の形態1及び実施の形態2の双方の機能を併せ持つものである。図8は、本発明の実施の形態3に係るゲートウェイ装置800の構成を示す図である。図9は、実施の形態3に係るゲートウェイ装置800が接続されるネットワーク構成例を示す図である。なお、図8において、図1及び図5と同一の符号を付したものは同様の機能を有するものとし、その説明を省略する。
【0111】
本ゲートウェイ装置800の一方のインタフェースには、図9に示すように、プロトコルとしてIPoEを使用したネットワーク901やプロトコルとしてPPPoEを使用したネットワーク902〜904が接続されている。ゲートウェイ装置800は、ネットワーク901上に配置されたゲートウェイ905並びにネットワーク902〜904上にそれぞれ配置されたPPPoEサーバ906〜908と通信を行う。また、他方のインタフェースには、プロトコルとしてIPoEを使用するPCなどの端末909及び910、並びにプロトコルとしてPPPoEを使用するPCなどの端末911が接続されている。
【0112】
図8に示すゲートウェイ装置800において、フォワーディング制御部801は、入力されたIPoEフレームのIPパケットのヘッダ情報に含まれる発信IPアドレス又は宛先IPアドレスに基づいてIPoEフレーム又はPPPoEフレームの出力を制御する一方、入力されたPPPoEフレームのPPPoEヘッダ情報に基づいてIPoEフレーム又はPPPoEフレームの出力を制御する。IPoEフレーム又はPPPoEフレームの出力を制御する際、フォワーディング制御部801は、IPoE/PPPoEフォワーディングテーブル106、デフォルトルートテーブル107、ARPテーブル108、PPPoEセッションテーブル109及びPPPoEプロキシテーブル503を用いる。
【0113】
以下、上記構成を有する本ゲートウェイ装置800の動作について説明する。ここでは、フレーム送受信部101にIPoEフレームが入力された場合と、PPPoEフレームが入力された場合とに分けて説明する。
【0114】
フレーム送受信部101にいずれかのフレームが入力されると、IPoE/PPPoEフレーム組立/分解部103においてそのフレームの構造が認識される。認識されたそのフレームの構造はフォワーディング制御部801に渡される。
【0115】
入力されたフレームがIPoEフレームの場合には、フォワーディング制御部801は、IPoEフレーム上のIPパケットのヘッダ情報に含まれる宛先IPアドレスと、IPoE/PPPoEフォワーディングテーブル106に登録されたネットワークアドレスとの比較を行う。
【0116】
ヘッダ情報に含まれる宛先IPアドレスと同一のネットワークアドレスがあった場合には、そのネットワークアドレスに対応づけられた出力IF番号、出力時に使用するプロトコル種別(PPPoEとIPoE)を取得する。取得したプロトコル種別がIPoEの場合には、ルーティング種別(間接ルーティングと直接ルーティング)を取得し、さらに間接ルーティングである場合には、宛先IPアドレス(ネクストホップIPアドレス)も取得する。なお、直接ルーティングである場合には、IPパケットのヘッダ情報に含まれる宛先IPアドレスが取得される。一方、取得したプロトコル種別がPPPoEの場合には、PPPoEセッションインデックスを取得する。
【0117】
取得したプロトコル種別がIPoEである場合には、フォワーディング制御部801は、取得した宛先IPアドレスを用いてARPテーブル108を検索し、宛先MACアドレスを取得する。取得された宛先MACアドレスは、IPoE/PPPoEフレーム組立/分解部104に渡される。
【0118】
IPoE/PPPoEフレーム組立/分解部104は、この宛先MACアドレスを用いてIPoEフレームを組み直す。組み直されたIPoEフレームは、フレーム送受信部102に渡され、フレーム送受信部102から出力される。
【0119】
一方、取得したプロトコル種別がPPPoEである場合には、PPPoEセッションインデックスを用いてPPPoEセッションテーブル109を検索し、発信MACアドレス、宛先MACアドレス及びPPPoEセッションIDなどのPPPoEフレームを生成するための情報を検索する。この検索結果は、IPoE/PPPoEフレーム組立/分解部104に渡される。
【0120】
IPoE/PPPoEフレーム組立/分解部104は、この検索結果に基づいてIPoEフレームをPPPoEフレームに組み直す。組み直されたPPPoEフレームは、フレーム送受信部102に渡され、フレーム送受信部102から出力される。
【0121】
入力されたフレームがPPPoEフレームの場合には、フォワーディング制御部801は、PPPoEフレームのPPPoEヘッダの情報を用いてPPPoEプロキシテーブル503のエントリとの比較を行う。
【0122】
PPPoEプロキシテーブル503に登録されたエントリがPPPoEフレームのPPPoEヘッダの情報と一致した場合には、フォワーディング制御部801は、PPPoEプロキシテーブル503から出力IF番号、発信MACアドレス、宛先MACアドレス、PPPoEセッションIDなどのPPPoEフレームを生成するための情報を検索する。この検索結果は、IPoE/PPPoEフレーム組立/分解部104に渡される。
【0123】
IPoEフレーム組立/分解部104は、この検索結果に基づいてPPPoEフレームを組み直す。組み直されたPPPoEフレームは、フレーム送受信部102に渡され、フレーム送受信部102から出力される。
【0124】
一方、PPPoEプロキシテーブル503に登録されたエントリがPPPoEフレームのPPPoEヘッダの情報と一致しなかった場合には、フォワーディング制御部801は、PPPoEフレームのPPPoEヘッダ情報とPPPoEセッションテーブル109のエントリの比較を行う。
【0125】
PPPoEセッションテーブル109に登録されたエントリがPPPoEフレームのPPPoEヘッダの情報と一致した場合には、フォワーディング制御部801は、PPPoEフレーム上のIPパケットのヘッダ情報に含まれる宛先IPアドレスと、IPoE/PPPoEフォワーディングテーブル106に登録されたネットワークアドレスとの比較を行う。
【0126】
ヘッダ情報に含まれる宛先IPアドレスと同一のネットワークアドレスがあった場合には、そのネットワークアドレスに対応づけられた出力IF番号、出力時に使用するプロトコル(PPPoE/IPoE)の種別を取得する。取得したプロトコル種別がIPoEの場合には、ルーティング種別(間接ルーティングと直接ルーティング)を取得し、さらに間接ルーティングの場合には、宛先IPアドレス(ネクストホップIPアドレス)も取得する。なお、直接ルーティングである場合には、IPパケットのヘッダ情報に含まれる宛先IPアドレスが取得される。一方、取得したプロトコル種別がPPPoEの場合には、PPPoEセッションインデックスを取得する。
【0127】
取得したプロトコル種別がIPoEである場合には、フォワーディング制御部801は、取得した宛先IPアドレスを用いてARPテーブル108を検索し、宛先MACアドレスを取得する。取得された宛先MACアドレスは、IPoE/PPPoEフレーム組立/分解部104に渡される。
【0128】
IPoE/PPPoEフレーム組立/分解部104は、この宛先MACアドレスを用いてPPPoEフレームをIPoEフレームに組み直す。組み直されたIPoEフレームは、フレーム送受信部102に渡され、フレーム送受信部102から出力される。
【0129】
一方、取得したプロトコル種別がPPPoEである場合には、PPPoEセッションインデックスを用いてPPPoEセッションテーブル109を検索し、発信MACアドレス、宛先MACアドレス、PPPoEセッションIDなどのPPPoEフレームを生成するための情報を検索する。この検索結果は、IPoE/PPPoEフレーム組立/分解部104に渡される。
【0130】
IPoE/PPPoEフレーム組立/分解部104は、この検索結果に基づいてPPPoEフレームを組み直す。組み直されたPPPoEフレームは、フレーム送受信部102に渡され、フレーム送受信部102から出力される。
【0131】
このように実施の形態3のゲートウェイ装置800によれば、フォワーディング制御部801が入力されたフレームのヘッダ情報に含まれる宛先IPアドレスに対応するネットワークアドレスに応じて出力時に使用するプロトコル(IPoE又はPPoE)の種別を選択し、そのプロトコルの種別がPPPoEの場合には、そのPPPoEセッションも選択する。したがって、入力されたフレームの宛先のネットワークに応じてIPoEとPPPoEとの間でプロトコルを使い分けることができると共に、プロトコルがPPPoEの場合にはPPPoEセッションを使い分けることができる。
【0132】
また、実施の形態3に係るゲートウェイ装置800によれば、入力されたPPPoEフレームを、PPPoEプロキシテーブル503に登録された情報に応じて、プロトコルとしてPPPoEを使用したネットワークに中継することができる。このため、主にプロトコルとしてIPoEを使用するネットワークにおいても、端末からのプロトコルの選択に応じて、柔軟にPPPoEを使用したネットワークへのアクセスに対処することができる。
【0133】
なお、IPoE/PPPoEフォワーディングテーブル106の検索の際、特に指定されたネットワークアドレス以外のネットワークアドレス、言い換えると、デフォルトルートのエントリと一致した場合には、フォワーディング制御部801は、IPパケットの発信IPアドレスを用いてデフォルトルートテーブル107を検索する。
【0134】
同一の発信IPアドレスが登録されている場合には、フォワーディング制御部801は、デフォルトルートテーブル107の検索結果をIPoE/PPPoEフォワーディングテーブル106の検索結果に置き換えて使用する。
【0135】
すなわち、フォワーディング制御部801は、発信IPアドレスに応じて、出力時に使用するプロトコル(IPoE又はPPPoE)の種別を選択し、そのプロトコル種別がPPPoEの場合にはそのPPPoEセッションも選択する。したがって、通常のネットワークアドレスが検索されない場合であっても、発信IPアドレスに応じて端末を識別し、さらに端末毎に使用すべきプロトコル(IPoE又はPPPoE)の種別を選択すると共に、そのプロトコル種別がPPPoEの場合にはPPPoEセッションも選択できる。このため、端末の使用者が希望するISP(Internet Service Provider)の情報を事前に登録しておくことにより、通常のネットワークアドレスが検索されない場合であっても、端末毎にISPを使い分けることができる。
【0136】
なお、ローカルIPアドレスとグローバルIPアドレスとを使い分けるネットワークに本ゲートウェイ装置100(500,800)を適用することができる。この場合、本ゲートウェイ装置は、図10に示すようなアドレス変換テーブルを備え、相互にローカルIPアドレスとグローバルIPアドレスとのアドレス変換を行うことで実現される。
【0137】
また、本発明は、当業者に明らかなように、上記実施の形態に記載した技術に従ってプログラムされた一般的な市販のデジタルコンピュータおよびマイクロプロセッサを使って実施することができる。また、当業者に明らかなように、本発明は、上記実施の形態に記載した技術に基づいて当業者により作成されるコンピュータプログラムを包含する。
【0138】
また、本発明を実施するコンピュータをプログラムするために使用できる命令を含む記憶媒体であるコンピュータプログラム製品が本発明の範囲に含まれる。この記憶媒体は、フロッピー(R)ディスク、光ディスク、CDROM及び磁気ディスク等のディスク、ROM、RAM、EPROM、EEPROM、磁気光カード、メモリカードまたはDVD等であるが、特にこれらに限定されるものではない。
【0139】
【発明の効果】
以上説明したように本発明のゲートウェイ装置及びその制御方法によれば、接続された端末が、PPPoEとIPoEとの間で使用するプロトコルを選択すると共に、複数のPPPoEセッションを同時に選択することができる。
【図面の簡単な説明】
【図1】本発明の実施の形態1に係るゲートウェイ装置の構成を示す図
【図2】実施の形態1に係るゲートウェイ装置が接続されるネットワーク構成例を示す図
【図3】実施の形態1に係るゲートウェイ装置が備えるIPoE/PPPoEフォワーディングテーブルの構成を示す図
【図4】実施の形態1に係るゲートウェイ装置が備えるデフォルトルートテーブルの構成を示す図
【図5】本発明の実施の形態2に係るゲートウェイ装置の構成を示す図
【図6】実施の形態2に係るゲートウェイ装置が接続されるネットワーク構成例を示す図
【図7】実施の形態2に係るゲートウェイ装置が備えるPPPoEプロキシテーブルの構成を示す図
【図8】本発明の実施の形態3に係るゲートウェイ装置の構成を示す図
【図9】実施の形態3に係るゲートウェイ装置が接続されるネットワーク構成例を示す図
【図10】本発明の実施の形態1〜3に係るゲートウェイが備えるアドレス変換テーブルの構成を示す図
【図11】従来のIPoEにのみ対応可能なゲートウェイ装置の構成を示す図
【図12】従来のIPoEにのみ対応可能なゲートウェイ装置が接続されるネットワーク構成例を示す図
【図13】従来のゲートウェイ装置が備えるIPoEフォワーディングテーブルの構成を示す図
【図14】従来のゲートウェイ装置が備えるARPテーブルの構成を示す図
【図15】従来のPPPoEに対応可能なゲートウェイ装置の構成を示す図
【図16】従来のPPPoEに対応可能なゲートウェイ装置が接続されるネットワーク構成例を示す図
【図17】従来のゲートウェイ装置が備えるPPPoEフォワーディングテーブルの構成を示す図
【図18】従来のゲートウェイ装置が備えるPPPoEセッションテーブルの構成を示す図
【符号の説明】
100,500,800 ゲートウェイ装置
101,102 フレーム送受信部
103,104 IPoE/PPPoEフレーム組立/分解部
105,501,801 フォワーディング制御部
106 IPoE/PPPoEフォワーディングテーブル
107 デフォルトルートテーブル
108 ARPテーブル
502 IPoEフォワーディングテーブル
503 PPPoEプロキシテーブル
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a gateway apparatus capable of supporting PPPoE (Point to Point Protocol over Ethernet (R)) and a control method thereof.
[0002]
[Prior art]
Conventionally, a gateway device has been used to realize communication between a network built in a company and an external network. The gateway device is used as a protocol conversion device for interconnecting networks having different protocol systems, for example. As the configuration of the gateway device, for example, it is possible to support only IPoE (Internet Protocol over Ethernet (R)) as a protocol with an external network, or both IPoE and PPPoE as a protocol with an external network. There is something possible.
[0003]
FIG. 11 is a diagram illustrating a configuration of a gateway device 1100 that can support only IPoE. FIG. 12 is a diagram illustrating an example of a network configuration to which a gateway device 1100 capable of supporting only such IPoE is connected.
[0004]
As shown in FIG. 12, networks 1201 to 1204 using IPoE as a protocol are connected to one interface of the gateway device 1100. The gateway device 1100 communicates with gateways 1205 to 1208 arranged on the networks 1201 to 1204, respectively. The other interface is connected to terminals 1209 to 1211 such as a personal computer (hereinafter referred to as “PC”) using IPoE as a protocol.
[0005]
In the gateway device 1100 shown in FIG. 11, frame transmission / reception means 1101 and 1102 transmit and receive frames to and from the Ethernet (R) I / F. The IPoE frame assembling / disassembling means 1103 and 1104 assemble / disassemble the IPoE frame and recognize the structure of the IPoE frame.
[0006]
The forwarding control unit 1105 controls the output of the IPoE frame based on the destination IP address included in the header information of the IP packet of the input IPoE frame. When controlling the output of the IPoE frame, the forwarding control unit 1105 uses an IPoE forwarding table 1106 and an ARP (Address Resolution Protocol) table 1107.
[0007]
As shown in FIG. 13, the IPoE forwarding table 1106 includes a network address, an output interface number (output IF number), a routing type (direct / indirect routing), and a destination IP address (next hop IP address) in the case of indirect routing. It is associated.
[0008]
As shown in FIG. 14, the ARP table 1107 associates a destination IP address, a transmission MAC address, and a destination MAC address. Normally, the MAC address of the gateway device 1100 is used as the outgoing MAC address, so the same value is used for all entries. Accordingly, the ARP table 1107 may not be provided with an area for the outgoing MAC address, but may be a separate register as the MAC address of the gateway device 1100.
[0009]
Hereinafter, an operation of the gateway apparatus 1100 that can handle only IPoE having the above-described configuration will be described. Here, a case where an IPoE frame is input to the frame transmission / reception unit 1101 will be described.
[0010]
When an IPoE frame is input to the frame transmission / reception unit 1101, the IPoE frame assembly / disassembly unit 1103 recognizes the structure of the IPoE frame. The recognized IPoE frame structure is passed to the forwarding control unit 1105.
[0011]
The forwarding control unit 1105 compares the destination IP address included in the header information of the IP packet on the IPoE frame with the network address registered in the IPoE forwarding table 1106.
[0012]
If there is a network address identical to the destination IP address, the output IF number and routing type information associated with the network address on the IPoE forwarding table 1106 (direct routing or indirect routing information) In the case of indirect routing, the destination IP address (next hop IP address) is also acquired. In the case of direct routing, the destination IP address of the IP header of the IP packet is acquired.
[0013]
Subsequently, the forwarding control unit 1105 searches the ARP table 1107 using the acquired destination IP address, and acquires the transmission MAC address and the destination MAC address of the IPoE frame. The acquired transmission MAC address and destination MAC address are passed to the IPoE frame assembling / disassembling unit 1104.
[0014]
The IPoE frame assembling / disassembling unit 1104 reassembles the IPoE frame using the transmission MAC address and the destination MAC address. The reassembled IPoE frame is delivered to the frame transmission / reception unit 1102 and output from the frame transmission / reception unit 1102. In this way, the IPoE frame is transferred in the gateway device 1100 that can support only IPoE.
[0015]
FIG. 15 is a diagram illustrating a configuration of a gateway device 1500 that can support PPPoE. 15 having the same reference numerals as those in FIG. 1 are assumed to have the same functions, and the description thereof is omitted. FIG. 16 is a diagram illustrating an example of a network configuration to which a gateway device 1500 capable of supporting such PPPoE is connected.
[0016]
As shown in FIG. 16, a network 1601 using IPoE as a protocol and networks 1602 to 1604 using PPPoE as a protocol are connected to one interface of the gateway device 1500. The gateway device 1500 communicates with a gateway 1605 arranged on the network 1601 and PPPoE servers 1606 to 1608 arranged on the networks 1602 to 1604, respectively. Further, terminals 1609 to 1611 such as PCs using IPoE as a protocol are connected to the other interface.
[0017]
In gateway apparatus 1500 shown in FIG. 15, IPoE / PPPoE frame assembling / disassembling units 1501 and 1502 assemble / disassemble IPoE frames and PPPoE frames and recognize the structures of the IPoE frames and PPPoE frames.
[0018]
The forwarding control unit 1503 controls the output of the IPoE frame or the PPPoE frame based on the source IP address or the destination IP address included in the header information of the IP packet of the input IPoE frame, while the PPPoE header of the input PPPoE frame The output of the PPPoE frame is controlled based on the information. When controlling the output of the IPoE frame or PPPoE frame, the forwarding control unit 1503 uses the PPPoE forwarding table 1504 and the PPPoE session table 1505 in addition to the IPoE forwarding table 1106 and the ARP table 1107.
[0019]
As shown in FIG. 17, the PPPoE forwarding table 1504 associates a transmission IP address, an output IF number, and a PPPoE session search index (hereinafter referred to as a “PPPoE session index”).
[0020]
As shown in FIG. 18, the PPPoE session table 1505 associates a PPPoE session index, a client MAC address, a server MAC address, and a PPPoE session ID.
[0021]
Hereinafter, the operation of the gateway apparatus 1500 capable of supporting PPPoE having the above-described configuration will be described. Here, a case where an IPoE frame is input to the frame transmission / reception unit 1101 and a case where a PPPoE frame is input will be described separately.
[0022]
When any frame is input to the frame transmitting / receiving unit 1101, the IPoE / PPPoE frame assembling / disassembling unit 1501 recognizes the structure of the frame. The recognized frame structure is passed to the forwarding control unit 1503.
[0023]
When the input frame is an IPoE frame, the forwarding control unit 1503 compares the outgoing IP address included in the header information of the IP packet on the IPoE frame with the outgoing IP address registered in the PPPoE forwarding table 1504. Do.
[0024]
When there is an outgoing IP address that is the same as the outgoing IP address included in the header information of the IP packet of the IPoE frame, an output IF number and a PPPoE session index associated with the outgoing IP address in the PPPoE forwarding table 1504 are acquired. To do.
[0025]
Subsequently, the forwarding control unit 1503 searches the PPPoE session table 1505 using the acquired PPPoE session index, and acquires information for generating a PPPoE frame such as a transmission MAC address, a destination MAC address, and a PPPoE session ID. Information for generating the acquired PPPoE frame is passed to the IPoE / PPPoE frame assembling / disassembling unit 1502.
[0026]
Note that the PPPoE session table 1505 has no information on the source MAC address and the destination MAC address directly. However, the client MAC address is acquired as the source MAC address, and the server MAC address is acquired as the destination MAC address.
[0027]
The IPoE / PPPoE frame assembling / disassembling unit 1502 reassembles the input IPoE frame into a PPPoE frame based on the information for generating the PPPoE frame. The reassembled PPPoE frame is passed to the frame transmission / reception unit 1102 and output from the frame transmission / reception unit 1102.
[0028]
When the same outgoing IP address as the outgoing IP address included in the header information of the IP packet of the IPoE frame is not registered in the PPPoE forwarding table 1504, the forwarding control unit 1503 displays the destination included in the header information of the IP packet. The IP address is compared with the network address registered in the IPoE forwarding table 1106.
[0029]
If there is a network address identical to the destination IP address, the output IF number and routing type information associated with the network address on the IPoE forwarding table 1106 (direct routing or indirect routing information) In the case of indirect routing, the destination IP address (next hop IP address) is also acquired. In the case of direct routing, the destination IP address of the IP header of the IP packet is acquired.
[0030]
Subsequently, the forwarding control unit 1503 searches the ARP table 1107 using the acquired destination IP address, and acquires the transmission MAC address and the destination MAC address of the IPoE frame. The acquired source MAC address and destination MAC address are passed to the IPoE / PPPoE frame assembling / disassembling unit 1502.
[0031]
The IPoE / PPPoE frame assembling / disassembling unit 1502 reassembles the IPoE frame using the source MAC address and the destination MAC address. The reassembled IPoE frame is transferred to the frame transmission / reception unit 1102 and output from the frame transmission / reception unit 1102.
[0032]
On the other hand, when the input frame is a PPPoE frame, the forwarding control unit 1503 compares the PPPoE header information of the PPPoE frame with an entry in the PPPoE session table 1505.
[0033]
If the entry registered in the PPPoE session table 1505 matches the PPPoE header information of the PPPoE frame, the destination IP address included in the header information of the IP packet of the PPPoE frame, the network address registered in the IPoE forwarding table 1106, and Make a comparison.
[0034]
If there is a network address identical to the destination IP address, an output IF number associated with the network address and routing type information (information regarding direct routing or indirect routing) are acquired, and In the case of indirect routing, a destination IP address (next hop IP address) is also acquired. In the case of direct routing, the destination IP address of the IP header of the IP packet is acquired.
[0035]
Subsequently, the forwarding control unit 1503 searches the ARP table 1107 using the acquired destination IP address, and acquires the transmission MAC address and the destination MAC address. The acquired source MAC address and destination MAC address are passed to the IPoE / PPPoE frame assembling / disassembling unit 1502.
[0036]
The IPoE / PPPoE frame assembling / disassembling unit 1502 reassembles the PPPoE frame into the IPoE frame using the source MAC address and the destination MAC address. The reassembled IPoE frame is transferred to the frame transmission / reception unit 1102 and output from the frame transmission / reception unit 1102.
[0037]
As described above, the gateway apparatus 1500 capable of PPPoE transfers the IPoE frame as an IPoE frame according to the network address corresponding to the destination IP address included in the header information of the IP packet of the IPoE frame. On the other hand, a PPPoE session is selected according to the originating IP address included in the header information of the IP packet of the IPoE frame and output as a PPPoE frame.
[0038]
A technique has been proposed for realizing a frame transfer method in which a plurality of terminals can simultaneously connect to different networks and transmit and receive data frames (see, for example, Patent Document 1).
[0039]
[Patent Document 1]
JP 2001-237898 A
[0040]
[Problems to be solved by the invention]
However, the gateway device 1100 that can handle only IPoE has a problem that only an IPoE frame can be transferred. Further, the gateway apparatus 1500 capable of PPPoE uses the PPPoE forwarding table 1504 to select a PPPoE session according to the originating IP address included in the header information of the IP packet of the input IPoE frame. Accordingly, each terminal (1609 to 1611) cannot select a plurality of PPPoE sessions at the same time, and thus cannot access a plurality of PPPoE servers. In addition, when the originating IP addresses match, the IPoE frame is automatically output as a PPPoE frame, so that there is a problem that a network using IPoE cannot be accessed.
[0041]
The present invention has been made in view of such a problem, and a connected terminal can select a protocol to be used between PPPoE and IPoE and can simultaneously select a plurality of PPPoE sessions. It is an object of the present invention to provide a gateway device and a control method thereof.
[0042]
[Means for Solving the Problems]
The present invention provides an IPoE / PPPoE forwarding table in which a network address, a protocol type, a destination IP address used in IPoE, and a search index of a PPPoE session used in PPPoE are registered, and the IP packet header information of an input frame A protocol type is selected according to the network address on the IPoE / PPPoE forwarding table that matches the destination IP address included, and if the selected protocol type is PPPoE, a PPPoE session is also obtained from the search index corresponding to the network address. It can be selected.
[0043]
In addition, the present invention provides a PPPoE proxy table in which the outgoing MAC address and PPPoE session ID on the input side and the destination MAC address and PPPoE session ID on the output side are registered, and uses the input PPPoE frame as a protocol. It is relayed to the network.
[0044]
DETAILED DESCRIPTION OF THE INVENTION
The gateway device according to the first aspect of the present invention includes an IPoE / PPPoE forwarding table in which a network address, a protocol type, a destination IP address used in IPoE, and a search index of a PPPoE session used in PPPoE are registered, and the search index A PPPoE session table in which the destination MAC address and the PPPoE session ID are registered, an ARP table in which the destination IP address and the destination MAC address are registered, and information registered in the IPoE / PPPoE forwarding table, the PPPoE session table, and the ARP table. And a control unit that controls the output of a frame input using the control unit, the control unit configured to control the IP packet of the input frame. The protocol type is selected according to the destination IP address included in the header information and the network address that matches on the IPoE / PPPoE forwarding table. When the selected protocol type is IPoE, the destination IP address corresponding to the network address is selected. While controlling the output of the IPoE frame based on the destination MAC address associated with the address or the destination IP address included in the header information on the ARP table, if the selected protocol type is PPPoE, the network address The output of the PPPoE frame is controlled based on the destination MAC address and the PPPoE session ID associated with the search index corresponding to the PPPoE session table.
[0045]
According to this configuration, the control unit selects the type of protocol (IPoE / PPPoE) to be used at the time of output according to the destination network address, and if the protocol type is PPPoE, also selects the session. Therefore, the protocol can be properly used between IPoE and PPPoE according to the destination network of the input frame, and the PPPoE session can be properly used when the protocol is PPPoE.
[0046]
According to a second aspect of the present invention, in the gateway device according to the first aspect, when a PPPoE frame is input, the control unit includes an entry that matches the header information of the PPPoE frame in the PPPoE session table. When registered, the destination IP address included in the header information of the IP packet of the PPPoE frame is compared with the network address on the IPoE / PPPoE forwarding table. On the other hand, if the IPoE frame is input, A configuration is adopted in which the destination IP address included in the header information of the IP packet of the IPoE frame is compared with the network address on the IPoE / PPPoE forwarding table.
[0047]
According to this configuration, regardless of whether a PPPoE frame or an IPoE frame is input, the type of protocol (IPoE / PPPoE) used at the time of output can be selected according to the destination network address. When the protocol type is PPPoE, a session can also be selected.
[0048]
In the third aspect of the present invention, in the gateway device according to the first or second aspect, the source IP address, the protocol type, the destination IP address used in IPoE, and the search index of the PPPoE session used in PPPoE are registered. If the destination IP address included in the header information of the IP packet of the input frame further matches the network address registered as the default route on the IPoE / PPPoE forwarding table, the control unit further includes a default route table. The protocol type is selected according to the source IP address included in the header information and the source IP address that matches on the default route table. If the selected protocol type is IPoE, the protocol type is selected. While controlling the output of the IPoE frame based on the destination IP address or the destination IP address included in the header information and the destination MAC address associated with the ARP table, if the selected protocol type is PPPoE, A configuration is adopted in which the output of the PPPoE frame is controlled based on the destination MAC address and PPPoE session ID associated with the search index corresponding to the source IP address on the PPPoE session table.
[0049]
According to this configuration, even when the normal network address is not searched, the terminal is identified according to the originating IP address, and the type of protocol (IPoE or PPPoE) to be used for each terminal is selected. When the protocol type is PPPoE, a PPPoE session can also be selected. For this reason, by registering ISP (Internet Service Provider) information desired by the user of the terminal in advance, the ISP can be used properly for each terminal even when a normal network address is not searched. .
[0050]
The gateway device according to the fourth aspect of the present invention includes an IPoE forwarding table in which a network address and a destination IP address are registered, an outgoing MAC address and a PPPoE session ID, and an outgoing destination MAC address and a PPPoE session ID. A registered PPPoE proxy table, an ARP table in which a destination IP address and a destination MAC address are registered, a control unit that controls output of a frame input using the IPoE forwarding table, the PPPoE proxy table, and the ARP table; And the control unit has an entry that matches the header information of the PPPoE frame when a PPPoE frame is input. If registered, the output of the PPPoE frame is controlled based on the destination MAC address and PPPoE session ID registered in the entry. On the other hand, if the IPoE frame is input, the IPoE frame is controlled. A destination IP address associated with a destination IP address included in the header information of the IP packet and a network address matching the IPoE forwarding table, and the destination IP address or the destination IP address included in the header information A configuration is adopted in which the output of the IPoE frame is controlled based on the destination MAC address associated with the ARP table.
[0051]
According to this configuration, the IPoE frame can be transferred according to the network address corresponding to the destination IP address included in the header information of the input IPoE frame, while the input PPPoE frame is registered in the PPPoE proxy table. Depending on the received information, it can be relayed to a network using PPPoE as a protocol. For this reason, even in a network that mainly uses IPoE as a protocol, it is possible to flexibly cope with access to the network that uses PPPoE according to the selection of the protocol from the terminal.
[0052]
According to a fifth aspect of the present invention, in the gateway device according to any one of the first to third aspects, the outgoing MAC address and PPPoE session ID on the input side and the destination MAC address and PPPoE session ID on the output side are registered. A PPPoE proxy table is further provided, and when the PPPoE frame is input, and the entry that matches the header information of the PPPoE frame is registered in the PPPoE proxy table, the control unit adds the PPPoE proxy table to the entry. While controlling the output of the PPPoE frame based on the registered destination MAC address and PPPoE session ID of the output side, an entry that matches the header information of the PPPoE frame when a PPPoE frame is input is included in the PPPoE proxy. In the case where the entry that matches the header information of the PPPoE frame is registered in the PPPoE session table, the destination IP address and the IPoE included in the header information of the IP packet of the PPPoE frame are registered. A configuration for comparing with a network address on the / PPPoE forwarding table is adopted.
[0053]
According to this configuration, the type of the protocol (IPoE or PPoE) used at the time of output is selected according to the network address corresponding to the destination IP address included in the header information of the input frame, and the protocol type is PPPoE. If so, that PPPoE session is also selected. Therefore, the protocol can be properly used between IPoE and PPPoE according to the destination network of the input frame, and the PPPoE session can be properly used when the protocol is PPPoE.
[0054]
In addition, the input PPPoE frame can be relayed to a network using PPPoE as a protocol according to information registered in the PPPoE proxy table. For this reason, even in a network that mainly uses IPoE as a protocol, it is possible to flexibly cope with access to the network that uses PPPoE according to the selection of the protocol from the terminal.
[0055]
The gateway device control method according to the sixth aspect of the present invention includes a network address, a protocol type, a destination IP address used in IPoE, and an IPoE / PPPoE forwarding table in which a search index of a PPPoE session used in PPPoE is registered. A method for controlling a gateway apparatus comprising: a PPPoE session table in which the search index, a destination MAC address, and a PPPoE session ID are registered; and an ARP table in which a destination IP address and a destination MAC address are registered. Select the protocol type according to the destination IP address included in the header information of the IP packet of the frame and the network address that matches on the IPoE / PPPoE forwarding table. If the protocol type is IPoE, an IPoE frame is output based on the destination IP address corresponding to the network address or the destination IP address included in the header information and the destination MAC address associated with the ARP table. On the other hand, when the selected protocol type is PPPoE, the output of the PPPoE frame is controlled based on the destination MAC address and the PPPoE session ID associated with the search index corresponding to the network address on the PPPoE session table. To do.
[0056]
According to a seventh aspect of the present invention, in the gateway device control method according to the sixth aspect, when a PPPoE frame is input, an entry that matches the header information of the PPPoE frame is registered in the PPPoE session table. If the IPoE frame is input, the destination IP address included in the header information of the IP packet of the PPPoE frame is compared with the network address on the IPoE / PPPoE forwarding table. The destination IP address included in the header information of the IP packet is compared with the network address on the IPoE / PPPoE forwarding table.
[0057]
An eighth aspect of the present invention is the gateway device control method according to the sixth or seventh aspect, wherein the gateway device includes a source IP address, a protocol type, a destination IP address used in IPoE, and PPPoE used in PPPoE. A default route table in which a session search index is registered, and a destination IP address included in header information of an IP packet of an input frame is a network address registered as a default route on the IPoE / PPPoE forwarding table; If they match, the protocol type is selected according to the outgoing IP address on the default route table that matches the outgoing IP address included in the header information, and if the selected protocol type is IPoE, the outgoing call is selected. While controlling the output of the IPoE frame based on the destination IP address corresponding to the P address or the destination MAC address associated with the destination IP address included in the header information on the ARP table, the selected protocol type is PPPoE. In this case, the output of the PPPoE frame is controlled based on the destination MAC address and PPPoE session ID associated with the search index corresponding to the originating IP address on the PPPoE session table.
[0058]
The gateway device control method according to the ninth aspect of the present invention includes an IPoE forwarding table in which a network address and a destination IP address are registered, an outgoing MAC address and a PPPoE session ID, and an outgoing MAC address and PPPoE. A control method of a gateway apparatus comprising a PPPoE proxy table in which a session ID is registered and an ARP table in which a destination IP address and a destination MAC address are registered, and when the PPPoE frame is input and the PPPoE If an entry that matches the header information of the frame is registered in the PPPoE proxy table, PPPoE is based on the destination MAC address and PPPoE session ID registered in the entry. While controlling the output of the frame, when an IPoE frame is input, the destination associated with the network address on the IPoE forwarding table that matches the destination IP address included in the header information of the IP packet of the IPoE frame. The IP address is selected, and the output of the IPoE frame is controlled based on the destination IP address or the destination IP address included in the header information and the destination MAC address associated with the ARP table.
[0059]
According to a tenth aspect of the present invention, there is provided a gateway apparatus control method according to the sixth to eighth aspects, wherein the gateway apparatus includes an input-side outgoing MAC address and a PPPoE session ID, an output-side destination MAC address, and When a PPPoE proxy table in which a PPPoE session ID is registered is further provided and a PPPoE frame is input and an entry matching the header information of the PPPoE frame is registered in the PPPoE proxy table, While controlling the output of the PPPoE frame based on the destination MAC address and PPPoE session ID registered in the entry, the entry that matches the header information of the PPPoE frame when the PPPoE frame is input PPP When not registered in the E proxy table, when an entry matching the header information of the PPPoE frame is registered in the PPPoE session table, the destination IP address included in the header information of the IP packet of the PPPoE frame The network address on the IPoE / PPPoE forwarding table is compared.
[0060]
An eleventh aspect of the present invention is an IPoE / PPPoE forwarding table in which a network address, a protocol type, a destination IP address used in IPoE, and a search index of a PPPoE session used in PPPoE are registered, and the search index and destination MAC address And a PPPoE session table in which a PPPoE session ID is registered, and an ARP table in which a destination IP address and a destination MAC address are registered. A procedure for selecting a protocol type in accordance with a destination IP address included in the header information and a network address matching the IPoE / PPPoE forwarding table, and When the protocol type is IPoE, output of the IPoE frame is controlled based on the destination IP address corresponding to the network address or the destination IP address included in the header information and the destination MAC address associated on the ARP table. If the protocol type selected is PPPoE, the output of the PPPoE frame is controlled based on the destination MAC address and PPPoE session ID associated with the search index corresponding to the network address on the PPPoE session table. And a program for executing the procedure.
[0061]
According to a twelfth aspect of the present invention, in the gateway device program according to the eleventh aspect, when a PPPoE frame is input to a computer, an entry matching the header information of the PPPoE frame is stored in the PPPoE session table. When registered, a procedure for comparing the destination IP address included in the header information of the IP packet of the PPPoE frame and the network address on the IPoE / PPPoE forwarding table, and when the IPoE frame is input, A procedure for comparing the destination IP address included in the header information of the IP packet of the IPoE frame with the network address on the IPoE / PPPoE forwarding table is executed.
[0062]
According to a thirteenth aspect of the present invention, in the program for the gateway device according to the eleventh or twelfth aspect, the gateway device includes a source IP address, a protocol type, a destination IP address used in IPoE, and a PPPoE session used in PPPoE. A network in which a destination IP address included in header information of an IP packet of an input frame is registered as a default route on the IPoE / PPPoE forwarding table. A procedure for selecting a protocol type according to the outgoing IP address on the default route table that matches the outgoing IP address included in the header information when the address matches, and the selected protocol When the IPoE is another, the output of the IPoE frame is controlled based on the destination IP address corresponding to the source IP address or the destination IP address included in the header information and the destination MAC address associated with the ARP table. If the protocol type selected is PPPoE, the output of the PPPoE frame is controlled based on the destination MAC address and PPPoE session ID associated with the search index corresponding to the originating IP address on the PPPoE session table. The procedure to perform is performed.
[0063]
The fourteenth aspect of the present invention is the IPoE forwarding table in which the network address and the destination IP address are registered, the outgoing MAC address and PPPoE session ID on the input side, and the PPPoE on which the destination MAC address and PPPoE session ID on the output side are registered. A gateway device program comprising a proxy table and an ARP table in which a destination IP address and a destination MAC address are registered, and a header information of the PPPoE frame when a PPPoE frame is input to the computer If a matching entry is registered in the PPPoE proxy table, a PPPoE frame is output based on the destination MAC address and PPPoE session ID registered in the entry. And a destination IP address associated with a network address on the IPoE forwarding table that matches the destination IP address included in the header information of the IP packet of the IPoE frame when an IPoE frame is input For controlling the output of the IPoE frame based on the destination MAC address associated with the destination IP address or the destination IP address included in the header information and the destination MAC address in the ARP table. It is.
[0064]
According to a fifteenth aspect of the present invention, in the program of the gateway device according to the eleventh to thirteenth aspects, the gateway device includes an outgoing MAC address and PPPoE session ID on an input side, and a destination MAC address and PPPoE session ID on an output side If the PPPoE frame is input to the computer and an entry that matches the header information of the PPPoE frame is registered in the PPPoE proxy table, the PPPoE proxy table is registered. The procedure for controlling the output of the PPPoE frame based on the destination MAC address and PPPoE session ID registered in the entry, and the case where the PPPoE frame is input and the header information of the PPPoE frame matches If the entry matching the header information of the PPPoE frame is registered in the PPPoE session table, the destination included in the header information of the IP packet of the PPPoE frame is not registered in the PPPoE proxy table. And a procedure for comparing an IP address with a network address on the IPoE / PPPoE forwarding table.
[0065]
Embodiments according to the present invention will be specifically described below with reference to the drawings.
[0066]
(Embodiment 1)
FIG. 1 is a diagram showing a configuration of a gateway device 100 according to Embodiment 1 of the present invention. FIG. 2 is a diagram illustrating a network configuration example to which the gateway device 100 according to the first embodiment is connected.
[0067]
As shown in FIG. 2, a network 201 using IPoE as a protocol and networks 202 to 204 using PPPoE as a protocol are connected to one interface of the gateway device 100. The gateway device 100 communicates with a gateway 205 arranged on the network 201 and PPPoE servers 206 to 208 arranged on the networks 202 to 204, respectively. The other interface is connected to terminals 209 to 211 such as a PC using IPoE as a protocol.
[0068]
In the gateway apparatus 100 shown in FIG. 1, the frame transmission / reception units 101 and 102 transmit / receive a frame to / from the Ethernet (R) I / F. The IPoE / PPPoE frame assembling / disassembling units 103 and 104 assemble / disassemble the IPoE frame and the PPPoE frame and recognize the structures of the IPoE frame and the PPPoE frame.
[0069]
The forwarding control unit 105 controls the output of the IPoE frame or the PPPoE frame based on the source IP address or the destination IP address included in the header information of the IP packet of the input IPoE frame, while the PPPoE header of the input PPPoE frame Based on the information, output of the IPoE frame or PPPoE frame is controlled. When controlling the output of the IPoE frame or PPPoE frame, the forwarding control unit 105 uses the IPoE / PPPoE forwarding table 106, the default route table 107, the ARP table 108, and the PPPoE session table 109.
[0070]
In the IPoE / PPPoE forwarding table 106, information included in the conventional IPoE forwarding table (see FIG. 13) and information included in the PPPoE forwarding table (see FIG. 17) are registered, and a protocol ( Layer 2 protocol) is registered.
[0071]
Specifically, as shown in FIG. 3, when IPoE is selected as the network address, output IF number, and protocol type (direct / indirect routing), when indirect routing is selected as the routing type in IPoE Is associated with the PPPoE session index when PPPoE is selected as the protocol type (Layer 2 protocol) used at the time of output and the protocol type.
[0072]
The information registered in the default route table 107 is different from the IPoE / PPPoE forwarding table 106 in that the network address in the IPoE / PPPoE forwarding table 106 is replaced with the originating IP address.
[0073]
Specifically, as shown in FIG. 4, the routing IP address (direct / indirect routing) when IPoE is selected as the outgoing IP address, output IF number, and protocol type, and indirect routing is selected as the routing type in IPoE. In this case, the destination IP address (next hop IP address), the protocol type used at the time of output (Layer 2 protocol), and the PPPoE session index when PPPoE is selected as the protocol type are associated with each other.
[0074]
Note that the ARP table 108 and the PPPoE session table 109 contain the same information as that described with reference to FIGS. Normally, the transmission MAC address in the ARP table 108 is the same in all entries because the MAC address of the gateway device 100 is used. Therefore, a method of storing the transmission MAC address in one register without providing it on the ARP table 108 may be adopted.
[0075]
Hereinafter, the operation of the gateway apparatus 100 having the above configuration will be described. Here, a case where an IPoE frame is input to the frame transmitting / receiving unit 101 and a case where a PPPoE frame is input will be described separately.
[0076]
When any frame is input to the frame transmitting / receiving unit 101, the IPoE / PPPoE frame assembling / disassembling unit 103 recognizes the structure of the frame. The recognized frame structure is passed to the forwarding control unit 105.
[0077]
When the input frame is an IPoE frame, the forwarding control unit 105 compares the destination IP address included in the header information of the IP packet of the IPoE frame with the network address registered in the IPoE / PPPoE forwarding table 106. Do.
[0078]
If there is a network address identical to the destination IP address, an output IF number associated with the network address and a protocol type (PPPoE or IPoE) used at the time of output are acquired. When the acquired protocol type is IPoE, the routing type (indirect routing and direct routing) is acquired. When the acquired protocol type is indirect routing, the destination IP address (next hop IP address) is also acquired. In the case of direct routing, the destination IP address included in the header information of the IP packet is acquired. On the other hand, if the acquired protocol type is PPPoE, a PPPoE session index is acquired.
[0079]
When the acquired protocol type is IPoE, the forwarding control unit 105 searches the ARP table 108 using the acquired destination IP address, and acquires the destination MAC address. The acquired destination MAC address is passed to the IPoE / PPPoE frame assembling / disassembling unit 104.
[0080]
The IPoE / PPPoE frame assembling / disassembling unit 104 reassembles the IPoE frame using this destination MAC address. The reassembled IPoE frame is transferred to the frame transmitting / receiving unit 102 and output from the frame transmitting / receiving unit 102.
[0081]
On the other hand, when the acquired protocol type is PPPoE, the PPPoE session table 109 is searched using the PPPoE session index, and information for generating a PPPoE frame such as a source MAC address, a destination MAC address, and a PPPoE session ID is obtained. Search for. This search result is passed to the IPoE / PPPoE frame assembling / disassembling unit 104.
[0082]
The IPoE / PPPoE frame assembling / disassembling unit 104 reassembles the IPoE frame into the PPPoE frame based on the search result. The reassembled PPPoE frame is transferred to the frame transmitting / receiving unit 102 and output from the frame transmitting / receiving unit 102.
[0083]
On the other hand, when the input frame is a PPPoE frame, the forwarding control unit 105 compares the PPPoE header information of the PPPoE frame with an entry in the PPPoE session table 109.
[0084]
If the entry registered in the PPPoE session table 109 matches the PPPoE header information of the PPPoE frame, the destination IP address included in the header information of the IP packet on the PPPoE frame and the IPoE / PPPoE forwarding table 106 are registered. Compare with network address.
[0085]
If there is the same network address as the destination IP address included in the header information, the output IF number associated with the network address and the protocol type (PPPoE or IPoE) used at the time of output are acquired. If the acquired protocol type is IPoE, the routing type (indirect routing or direct routing) is acquired, and if it is indirect routing, the destination IP address (next hop IP address) is also acquired. In the case of direct routing, the destination IP address included in the header information of the IP packet is acquired. On the other hand, if the acquired protocol type is PPPoE, a PPPoE session index is acquired.
[0086]
When the acquired protocol type is IPoE, the forwarding control unit 105 searches the ARP table 108 using the acquired destination IP address, and acquires the destination MAC address. The acquired destination MAC address is passed to the IPoE / PPPoE frame assembling / disassembling unit 104.
[0087]
The IPoE / PPPoE frame assembling / disassembling unit 104 reassembles the PPPoE frame into the IPoE frame using the destination MAC address. The reassembled IPoE frame is transferred to the frame transmitting / receiving unit 102 and output from the frame transmitting / receiving unit 102.
[0088]
On the other hand, when the acquired protocol type is PPPoE, the PPPoE session table 109 is searched using the PPPoE session index, and information for generating a PPPoE frame such as a source MAC address, a destination MAC address, and a PPPoE session ID is obtained. Search for. This search result is passed to the IPoE / PPPoE frame assembling / disassembling unit 104.
[0089]
The IPoE / PPPoE frame assembling / disassembling unit 104 reassembles the PPPoE frame based on the search result. The reassembled PPPoE frame is transferred to the frame transmitting / receiving unit 102 and output from the frame transmitting / receiving unit 102.
[0090]
As described above, according to the gateway device 100 of the first embodiment, the protocol (IPoE or PPoE) used at the time of output according to the network address corresponding to the destination IP address included in the header information of the input frame by the forwarding control unit 105. ), And if the protocol type is PPPoE, the PPPoE session is also selected. Therefore, the protocol can be properly used between IPoE and PPPoE according to the destination network of the input frame, and the PPPoE session can be properly used when the protocol is PPPoE.
[0091]
When the IPoE / PPPoE forwarding table 106 is searched, if it matches a network address other than the specified network address, in other words, a default route entry, the forwarding control unit 105 determines the IP address of the IP packet. Is used to search the default route table 107.
[0092]
When the same outgoing IP address is registered, the forwarding control unit 105 replaces the search result of the default route table 107 with the search result of the IPoE / PPPoE forwarding table 106 and uses it.
[0093]
That is, the forwarding control unit 105 selects the type of protocol (IPoE or PPPoE) used at the time of output according to the transmission IP address, and when the protocol type is PPPoE, also selects the PPPoE session. Therefore, even when a normal network address is not searched, the terminal is identified according to the originating IP address, and the type of protocol (IPoE or PPPoE) to be used for each terminal is selected, and the protocol type is In the case of PPPoE, a PPPoE session can also be selected. For this reason, by registering ISP (Internet Service Provider) information desired by the user of the terminal in advance, the ISP can be used properly for each terminal even when a normal network address is not searched. .
[0094]
(Embodiment 2)
FIG. 5 is a diagram showing a configuration of gateway apparatus 500 according to Embodiment 2 of the present invention. FIG. 6 is a diagram illustrating a network configuration example to which the gateway device 500 according to the second embodiment is connected. In FIG. 5, components having the same reference numerals as those in FIG. 1 have the same functions, and description thereof is omitted.
[0095]
As shown in FIG. 6, a network 601 to 603 using IPoE as a protocol and a network 604 using PPPoE as a protocol are connected to one interface of the gateway device 500. The gateway device 500 communicates with the gateways 605 to 607 disposed on the networks 601 to 603 and the PPPoE server 608 disposed on the network 604, respectively. The other interface is connected to terminals 609 and 610 such as a PC using IPoE as a protocol and a terminal 611 such as a PC using PPPoE as a protocol.
[0096]
In the gateway device 500 shown in FIG. 5, the forwarding control unit 501 controls the output of the IPoE frame or PPPoE frame based on the destination IP address included in the header information of the IP packet of the input IPoE frame. The output of the IPoE frame or PPPoE frame is controlled based on the PPPoE header information of the PPPoE frame. When controlling the output of the IPoE frame or PPPoE frame, the forwarding control unit 501 uses the IPoE forwarding table 502, the ARP table 108, and the PPPoE proxy table 503.
[0097]
Note that the IPoE forwarding table 502 includes the same information as that described with reference to FIG.
[0098]
As shown in FIG. 7, the PPPoE proxy table 503 includes an input IF number, a transmission MAC address (1), a destination MAC address (1), a PPPoE session ID (1), an output IF number, a transmission MAC address (2), a destination The MAC address (2) and the PPPoE session ID (2) are associated with each other.
[0099]
Normally, the MAC address of the gateway device 500 is used for the destination MAC address {circle around (1)} and the outgoing MAC address {circle around (2)}, so all entries have the same value. Accordingly, the PPPoE proxy table 503 may not be provided with the area of the destination MAC address (1) on the input side and the source MAC address (2) on the output side, but may be a separate register as the MAC address of the gateway device 500.
[0100]
Hereinafter, the operation of the gateway apparatus 500 having the above configuration will be described. Here, a case where an IPoE frame is input to the frame transmitting / receiving unit 101 and a case where a PPPoE frame is input will be described separately.
[0101]
When any frame is input to the frame transmitting / receiving unit 101, the IPoE / PPPoE frame assembling / disassembling unit 103 recognizes the structure of the frame. The recognized frame structure is passed to the forwarding control unit 501.
[0102]
When the input frame is an IPoE frame, the forwarding control unit 501 compares the destination IP address included in the header information of the IP packet of the IPoE frame with the network address registered in the IPoE forwarding table 502.
[0103]
If there is the same network address as the destination IP address included in the header information, the output IF number associated with the network address and routing type information (information on direct routing or indirect routing) Further, in the case of indirect routing, a destination IP address (next hop IP address) is also acquired. In the case of direct routing, the destination IP address included in the header information of the IP packet is acquired.
[0104]
Subsequently, the forwarding control unit 501 searches the ARP table 108 using the acquired destination IP address, and acquires the destination MAC address. The acquired destination MAC address is passed to the IPoE / PPPoE frame assembling / disassembling unit 104.
[0105]
The IPoE / PPPoE frame assembling / disassembling unit 104 reassembles the IPoE frame using this destination MAC address. The reassembled IPoE frame is transferred to the frame transmitting / receiving unit 102 and output from the frame transmitting / receiving unit 102.
[0106]
On the other hand, when the input frame is a PPPoE frame, the forwarding control unit 501 uses the information of the PPPoE header of the PPPoE frame and compares it with the entry of the PPPoE proxy table 503.
[0107]
If the entry registered in the PPPoE proxy table 503 matches the information in the PPPoE header of the PPPoE frame, a PPPoE frame such as an output IF number, a source MAC address, a destination MAC address, and a PPPoE session ID is generated from the PPPoE proxy table 503. Search for information to do. This search result is passed to the IPoE / PPPoE frame assembling / disassembling unit 104.
[0108]
The IPoE / PPPoE frame assembling / disassembling unit 104 reassembles the PPPoE frame based on the search result. The reassembled PPPoE frame is transferred to the frame transmitting / receiving unit 102 and output from the frame transmitting / receiving unit 102.
[0109]
As described above, according to gateway apparatus 500 of the second embodiment, the IPoE frame is transferred according to the network address corresponding to the destination IP address included in the header information of the input IPoE frame. On the other hand, the input PPPoE frame is relayed to a network that uses PPPoE as a protocol according to information registered in the PPPoE proxy table 503. For this reason, even in a network that mainly uses IPoE as a protocol, it is possible to flexibly cope with access to the network that uses PPPoE according to the selection of the protocol from the terminal.
[0110]
(Embodiment 3)
The gateway device 800 according to the third embodiment has both functions of the first embodiment and the second embodiment. FIG. 8 is a diagram showing a configuration of gateway apparatus 800 according to Embodiment 3 of the present invention. FIG. 9 is a diagram illustrating a network configuration example to which the gateway device 800 according to the third embodiment is connected. In FIG. 8, components having the same reference numerals as those in FIGS. 1 and 5 are assumed to have the same function, and description thereof is omitted.
[0111]
As shown in FIG. 9, a network 901 using IPoE as a protocol and networks 902 to 904 using PPPoE as a protocol are connected to one interface of the gateway device 800. The gateway device 800 communicates with a gateway 905 arranged on the network 901 and PPPoE servers 906 to 908 arranged on the networks 902 to 904, respectively. The other interface is connected to terminals 909 and 910 such as a PC using IPoE as a protocol and a terminal 911 such as a PC using PPPoE as a protocol.
[0112]
In the gateway device 800 shown in FIG. 8, the forwarding control unit 801 controls the output of the IPoE frame or the PPPoE frame based on the source IP address or the destination IP address included in the header information of the IP packet of the input IPoE frame. The output of the IPoE frame or PPPoE frame is controlled based on the PPPoE header information of the input PPPoE frame. When controlling the output of the IPoE frame or PPPoE frame, the forwarding control unit 801 uses the IPoE / PPPoE forwarding table 106, the default route table 107, the ARP table 108, the PPPoE session table 109, and the PPPoE proxy table 503.
[0113]
Hereinafter, the operation of the gateway device 800 having the above configuration will be described. Here, a case where an IPoE frame is input to the frame transmitting / receiving unit 101 and a case where a PPPoE frame is input will be described separately.
[0114]
When any frame is input to the frame transmitting / receiving unit 101, the IPoE / PPPoE frame assembling / disassembling unit 103 recognizes the structure of the frame. The recognized frame structure is passed to the forwarding control unit 801.
[0115]
When the input frame is an IPoE frame, the forwarding control unit 801 compares the destination IP address included in the header information of the IP packet on the IPoE frame with the network address registered in the IPoE / PPPoE forwarding table 106. I do.
[0116]
When there is the same network address as the destination IP address included in the header information, the output IF number associated with the network address and the protocol type (PPPoE and IPoE) used at the time of output are acquired. When the acquired protocol type is IPoE, the routing type (indirect routing and direct routing) is acquired. When the acquired protocol type is indirect routing, the destination IP address (next hop IP address) is also acquired. In the case of direct routing, the destination IP address included in the header information of the IP packet is acquired. On the other hand, if the acquired protocol type is PPPoE, a PPPoE session index is acquired.
[0117]
When the acquired protocol type is IPoE, the forwarding control unit 801 searches the ARP table 108 using the acquired destination IP address, and acquires the destination MAC address. The acquired destination MAC address is passed to the IPoE / PPPoE frame assembling / disassembling unit 104.
[0118]
The IPoE / PPPoE frame assembling / disassembling unit 104 reassembles the IPoE frame using this destination MAC address. The reassembled IPoE frame is transferred to the frame transmitting / receiving unit 102 and output from the frame transmitting / receiving unit 102.
[0119]
On the other hand, when the acquired protocol type is PPPoE, the PPPoE session table 109 is searched using the PPPoE session index, and information for generating a PPPoE frame such as a source MAC address, a destination MAC address, and a PPPoE session ID is obtained. Search for. This search result is passed to the IPoE / PPPoE frame assembling / disassembling unit 104.
[0120]
The IPoE / PPPoE frame assembling / disassembling unit 104 reassembles the IPoE frame into the PPPoE frame based on the search result. The reassembled PPPoE frame is transferred to the frame transmitting / receiving unit 102 and output from the frame transmitting / receiving unit 102.
[0121]
When the input frame is a PPPoE frame, the forwarding control unit 801 uses the information of the PPPoE header of the PPPoE frame and compares it with an entry in the PPPoE proxy table 503.
[0122]
When the entry registered in the PPPoE proxy table 503 matches the information in the PPPoE header of the PPPoE frame, the forwarding control unit 801 outputs the output IF number, the outgoing MAC address, the destination MAC address, the PPPoE session ID from the PPPoE proxy table 503. Information for generating a PPPoE frame such as is searched. This search result is passed to the IPoE / PPPoE frame assembling / disassembling unit 104.
[0123]
The IPoE frame assembling / disassembling unit 104 reassembles the PPPoE frame based on the search result. The reassembled PPPoE frame is transferred to the frame transmitting / receiving unit 102 and output from the frame transmitting / receiving unit 102.
[0124]
On the other hand, when the entry registered in the PPPoE proxy table 503 does not match the information of the PPPoE header of the PPPoE frame, the forwarding control unit 801 compares the PPPoE header information of the PPPoE frame with the entry of the PPPoE session table 109. Do.
[0125]
When the entry registered in the PPPoE session table 109 matches the information of the PPPoE header of the PPPoE frame, the forwarding control unit 801 determines the destination IP address included in the header information of the IP packet on the PPPoE frame and the IPoE / PPPoE. The network address registered in the forwarding table 106 is compared.
[0126]
When there is a network address identical to the destination IP address included in the header information, the output IF number associated with the network address and the type of protocol (PPPoE / IPoE) used at the time of output are acquired. When the acquired protocol type is IPoE, the routing type (indirect routing and direct routing) is acquired, and in the case of indirect routing, the destination IP address (next hop IP address) is also acquired. In the case of direct routing, the destination IP address included in the header information of the IP packet is acquired. On the other hand, if the acquired protocol type is PPPoE, a PPPoE session index is acquired.
[0127]
When the acquired protocol type is IPoE, the forwarding control unit 801 searches the ARP table 108 using the acquired destination IP address, and acquires the destination MAC address. The acquired destination MAC address is passed to the IPoE / PPPoE frame assembling / disassembling unit 104.
[0128]
The IPoE / PPPoE frame assembling / disassembling unit 104 reassembles the PPPoE frame into the IPoE frame using the destination MAC address. The reassembled IPoE frame is transferred to the frame transmitting / receiving unit 102 and output from the frame transmitting / receiving unit 102.
[0129]
On the other hand, when the acquired protocol type is PPPoE, the PPPoE session table 109 is searched using the PPPoE session index, and information for generating a PPPoE frame such as a source MAC address, a destination MAC address, and a PPPoE session ID is obtained. Search for. This search result is passed to the IPoE / PPPoE frame assembling / disassembling unit 104.
[0130]
The IPoE / PPPoE frame assembling / disassembling unit 104 reassembles the PPPoE frame based on the search result. The reassembled PPPoE frame is transferred to the frame transmitting / receiving unit 102 and output from the frame transmitting / receiving unit 102.
[0131]
As described above, according to the gateway device 800 of the third embodiment, the protocol (IPoE or PPoE) used when outputting according to the network address corresponding to the destination IP address included in the header information of the input frame by the forwarding control unit 801. ), And if the protocol type is PPPoE, the PPPoE session is also selected. Therefore, the protocol can be properly used between IPoE and PPPoE according to the destination network of the input frame, and the PPPoE session can be properly used when the protocol is PPPoE.
[0132]
Further, according to the gateway device 800 according to the third embodiment, the input PPPoE frame can be relayed to a network that uses PPPoE as a protocol according to information registered in the PPPoE proxy table 503. For this reason, even in a network that mainly uses IPoE as a protocol, it is possible to flexibly cope with access to the network that uses PPPoE according to the selection of the protocol from the terminal.
[0133]
When searching the IPoE / PPPoE forwarding table 106, when a network address other than the designated network address, in other words, a match with the entry of the default route, the forwarding control unit 801 sends the IP address of the IP packet. Is used to search the default route table 107.
[0134]
When the same outgoing IP address is registered, the forwarding control unit 801 replaces the search result of the default route table 107 with the search result of the IPoE / PPPoE forwarding table 106 and uses it.
[0135]
That is, the forwarding control unit 801 selects the type of protocol (IPoE or PPPoE) used at the time of output according to the originating IP address, and if the protocol type is PPPoE, also selects the PPPoE session. Therefore, even when a normal network address is not searched, the terminal is identified according to the originating IP address, and the type of protocol (IPoE or PPPoE) to be used for each terminal is selected, and the protocol type is In the case of PPPoE, a PPPoE session can also be selected. For this reason, by registering ISP (Internet Service Provider) information desired by the user of the terminal in advance, the ISP can be used properly for each terminal even when a normal network address is not searched. .
[0136]
The gateway device 100 (500, 800) can be applied to a network that uses a local IP address and a global IP address. In this case, this gateway apparatus is provided with an address conversion table as shown in FIG. 10, and is realized by mutually performing address conversion between a local IP address and a global IP address.
[0137]
Further, as will be apparent to those skilled in the art, the present invention can be implemented using a general commercially available digital computer and microprocessor programmed according to the technique described in the above embodiment. Further, as will be apparent to those skilled in the art, the present invention includes a computer program created by a person skilled in the art based on the technique described in the above embodiment.
[0138]
Also included within the scope of the invention are computer program products that are storage media containing instructions that can be used to program a computer that implements the invention. This storage medium is a disk such as a floppy (R) disk, an optical disk, a CDROM and a magnetic disk, a ROM, a RAM, an EPROM, an EEPROM, a magnetic optical card, a memory card, a DVD, etc., but is not particularly limited thereto. Absent.
[0139]
【The invention's effect】
As described above, according to the gateway device and the control method thereof of the present invention, a connected terminal can select a protocol to be used between PPPoE and IPoE, and can simultaneously select a plurality of PPPoE sessions. .
[Brief description of the drawings]
FIG. 1 is a diagram showing a configuration of a gateway device according to Embodiment 1 of the present invention;
FIG. 2 is a diagram showing a network configuration example to which the gateway device according to the first embodiment is connected;
FIG. 3 is a diagram illustrating a configuration of an IPoE / PPPoE forwarding table included in the gateway device according to the first embodiment.
FIG. 4 is a diagram showing a configuration of a default route table provided in the gateway device according to the first embodiment.
FIG. 5 is a diagram showing a configuration of a gateway device according to Embodiment 2 of the present invention;
FIG. 6 is a diagram showing a network configuration example to which a gateway device according to the second embodiment is connected;
FIG. 7 is a diagram showing a configuration of a PPPoE proxy table included in the gateway device according to the second embodiment.
FIG. 8 is a diagram showing a configuration of a gateway device according to Embodiment 3 of the present invention;
FIG. 9 is a diagram illustrating a network configuration example to which a gateway device according to the third embodiment is connected;
FIG. 10 is a diagram showing a configuration of an address conversion table provided in the gateway according to Embodiments 1 to 3 of the present invention.
FIG. 11 is a diagram showing a configuration of a gateway device that can only support conventional IPoE.
FIG. 12 is a diagram showing an example of a network configuration to which a gateway device that can handle only conventional IPoE is connected;
FIG. 13 is a diagram illustrating a configuration of an IPoE forwarding table provided in a conventional gateway device.
FIG. 14 is a diagram showing a configuration of an ARP table provided in a conventional gateway device
FIG. 15 is a diagram illustrating a configuration of a gateway device that can support conventional PPPoE;
FIG. 16 is a diagram illustrating an example of a network configuration to which a gateway device compatible with conventional PPPoE is connected;
FIG. 17 is a diagram illustrating a configuration of a PPPoE forwarding table provided in a conventional gateway device.
FIG. 18 is a diagram showing a configuration of a PPPoE session table provided in a conventional gateway device
[Explanation of symbols]
100, 500, 800 gateway device
101, 102 Frame transceiver
103,104 IPoE / PPPoE frame assembly / disassembly
105, 501, 801 Forwarding control unit
106 IPoE / PPPoE forwarding table
107 Default route table
108 ARP table
502 IPoE forwarding table
503 PPPoE proxy table

Claims (15)

ネットワークアドレス、プロトコル種別、IPoEで用いられる宛先IPアドレス及びPPPoEで用いられるPPPoEセッションの検索インデックスが登録されたIPoE/PPPoEフォワーディングテーブルと、前記検索インデックス、宛先MACアドレス及びPPPoEセッションIDが登録されたPPPoEセッションテーブルと、宛先IPアドレス及び宛先MACアドレスが登録されたARPテーブルと、前記IPoE/PPPoEフォワーディングテーブル、PPPoEセッションテーブル及びARPテーブルに登録された情報を用いて入力されたフレームの出力を制御する制御部と、を具備するゲートウェイ装置であって、
前記制御部は、入力されたフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスと前記IPoE/PPPoEフォワーディングテーブル上で一致するネットワークアドレスに応じてプロトコル種別を選択し、選択されたプロトコル種別がIPoEの場合には当該ネットワークアドレスに対応する宛先IPアドレス又は前記ヘッダ情報に含まれる宛先IPアドレスと前記ARPテーブル上で対応づけられた宛先MACアドレスに基づいてIPoEフレームの出力を制御する一方、選択されたプロトコル種別がPPPoEの場合には当該ネットワークアドレスに対応する検索インデックスに前記PPPoEセッションテーブル上で対応づけられた宛先MACアドレス及びPPPoEセッションIDに基づいてPPPoEフレームの出力を制御することを特徴とするゲートウェイ装置。
An IPoE / PPPoE forwarding table in which a network address, a protocol type, a destination IP address used in IPoE and a search index of a PPPoE session used in PPPoE are registered, and the search index, a destination MAC address, and a PPPoE session ID are registered in PPPoE Control for controlling output of a frame input using information registered in the session table, the ARP table in which the destination IP address and the destination MAC address are registered, and the IPoE / PPPoE forwarding table, the PPPoE session table, and the ARP table A gateway device comprising:
The control unit selects a protocol type according to a destination IP address included in header information of an IP packet of an input frame and a network address that matches on the IPoE / PPPoE forwarding table, and the selected protocol type is IPoE. In this case, the output of the IPoE frame is controlled based on the destination IP address corresponding to the network address or the destination IP address included in the header information and the destination MAC address associated with the ARP table. If the protocol type is PPPoE, a PPPoE frame is output based on the destination MAC address and PPPoE session ID associated with the search index corresponding to the network address on the PPPoE session table. Gateway device and controls the.
前記制御部は、PPPoEフレームが入力された場合には、当該PPPoEフレームのヘッダ情報と一致するエントリが前記PPPoEセッションテーブルに登録されている場合に当該PPPoEフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスと前記IPoE/PPPoEフォワーディングテーブル上のネットワークアドレスとの比較を行う一方、IPoEフレームが入力された場合には、当該IPoEフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスと前記IPoE/PPPoEフォワーディングテーブル上のネットワークアドレスとの比較を行うことを特徴とする請求項1記載のゲートウェイ装置。When the PPPoE frame is input, the control unit, when an entry that matches the header information of the PPPoE frame is registered in the PPPoE session table, the destination included in the header information of the IP packet of the PPPoE frame While comparing the IP address with the network address on the IPoE / PPPoE forwarding table, if an IPoE frame is input, the destination IP address included in the header information of the IP packet of the IPoE frame and the IPoE / PPPoE 2. The gateway device according to claim 1, wherein the gateway device compares with a network address on a forwarding table. 発信IPアドレス、プロトコル種別、IPoEで用いられる宛先IPアドレス及びPPPoEで用いられるPPPoEセッションの検索インデックスが登録されたデフォルトルートテーブルをさらに具備し、入力されたフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスが前記IPoE/PPPoEフォワーディングテーブル上でデフォルトルートとして登録されたネットワークアドレスと一致した場合、前記制御部は、前記ヘッダ情報に含まれる発信IPアドレスと前記デフォルトルートテーブル上で一致する発信IPアドレスに応じてプロトコル種別を選択し、選択されたプロトコル種別がIPoEの場合には当該発信IPアドレスに対応する宛先IPアドレス又は前記ヘッダ情報に含まれる宛先IPアドレスと前記ARPテーブル上で対応づけられた宛先MACアドレスに基づいてIPoEフレームの出力を制御する一方、選択されたプロトコル種別がPPPoEの場合には当該発信IPアドレスに対応する検索インデックスに前記PPPoEセッションテーブル上で対応づけられた宛先MACアドレス及びPPPoEセッションIDに基づいてPPPoEフレームの出力を制御することを特徴とする請求項1又は請求項2記載のゲートウェイ装置。The destination further includes a default route table in which a source IP address, a protocol type, a destination IP address used in IPoE, and a search index of a PPPoE session used in PPPoE are registered, and is included in the header information of the IP packet of the input frame When the IP address matches the network address registered as the default route on the IPoE / PPPoE forwarding table, the control unit matches the outgoing IP address included in the header information on the default route table. If the selected protocol type is IPoE, the destination IP address corresponding to the source IP address or the destination IP address included in the header information and the AR While controlling the output of the IPoE frame based on the destination MAC address associated on the table, if the selected protocol type is PPPoE, the search index corresponding to the originating IP address is supported on the PPPoE session table 3. The gateway apparatus according to claim 1, wherein output of the PPPoE frame is controlled based on the attached destination MAC address and PPPoE session ID. ネットワークアドレス及び宛先IPアドレスが登録されたIPoEフォワーディングテーブルと、入力側の発信MACアドレス及びPPPoEセッションID並びに出力側の宛先MACアドレス及びPPPoEセッションIDが登録されたPPPoEプロキシテーブルと、宛先IPアドレス及び宛先MACアドレスが登録されたARPテーブルと、前記IPoEフォワーディングテーブル、PPPoEプロキシテーブル及びARPテーブルを用いて入力されたフレームの出力を制御する制御部と、を具備するゲートウェイ装置であって、
前記制御部は、PPPoEフレームが入力された場合であって当該PPPoEフレームのヘッダ情報と一致するエントリが前記PPPoEプロキシテーブルに登録されている場合には、当該エントリに登録された前記出力側の宛先MACアドレス及びPPPoEセッションIDに基づいてPPPoEフレームの出力を制御する一方、IPoEフレームが入力された場合には、当該IPoEフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスと前記IPoEフォワーディングテーブル上で一致するネットワークアドレスに対応づけられた宛先IPアドレスを選択し、当該宛先IPアドレス又は前記ヘッダ情報に含まれる宛先IPアドレスと前記ARPテーブル上で対応づけられた宛先MACアドレスに基づいてIPoEフレームの出力を制御することを特徴とするゲートウェイ装置。
An IPoE forwarding table in which a network address and a destination IP address are registered, a transmission MAC address and a PPPoE session ID on the input side, a PPPoE proxy table in which a destination MAC address and a PPPoE session ID on the output side are registered, a destination IP address and a destination A gateway apparatus comprising: an ARP table in which MAC addresses are registered; and a control unit that controls output of a frame input using the IPoE forwarding table, the PPPoE proxy table, and the ARP table,
When the PPPoE frame is input and an entry that matches the header information of the PPPoE frame is registered in the PPPoE proxy table, the control unit outputs the destination on the output side registered in the entry. While controlling the output of the PPPoE frame based on the MAC address and the PPPoE session ID, when the IPoE frame is input, the destination IP address included in the header information of the IP packet of the IPoE frame and the IPoE forwarding table An IPoE frame is selected based on the destination IP address associated with the matching network address and the destination IP address or the destination IP address included in the header information and the destination MAC address associated with the ARP table. Gateway device and controls the output.
入力側の発信MACアドレス及びPPPoEセッションID並びに出力側の宛先MACアドレス及びPPPoEセッションIDが登録されたPPPoEプロキシテーブルをさらに具備し、前記制御部は、PPPoEフレームが入力された場合であって当該PPPoEフレームのヘッダ情報と一致するエントリが前記PPPoEプロキシテーブルに登録されている場合には、当該エントリに登録された前記出力側の宛先MACアドレス及びPPPoEセッションIDに基づいてPPPoEフレームの出力を制御する一方、PPPoEフレームが入力された場合であって当該PPPoEフレームのヘッダ情報と一致するエントリが前記PPPoEプロキシテーブルに登録されていない場合には、当該PPPoEフレームのヘッダ情報と一致するエントリが前記PPPoEセッションテーブルに登録されている場合に当該PPPoEフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスと前記IPoE/PPPoEフォワーディングテーブル上のネットワークアドレスとの比較を行うことを特徴とする請求項1から請求項3のいずれかに記載のゲートウェイ装置。It further includes a PPPoE proxy table in which the outgoing MAC address and PPPoE session ID on the input side and the destination MAC address and PPPoE session ID on the output side are registered, and the control unit is a case where a PPPoE frame is inputted and the PPPoE frame is input. When an entry that matches the header information of the frame is registered in the PPPoE proxy table, the output of the PPPoE frame is controlled based on the destination MAC address and PPPoE session ID registered in the entry. When a PPPoE frame is input and an entry that matches the header information of the PPPoE frame is not registered in the PPPoE proxy table, an error that matches the header information of the PPPoE frame is registered. And a destination IP address included in header information of an IP packet of the PPPoE frame is compared with a network address on the IPoE / PPPoE forwarding table when a bird is registered in the PPPoE session table. The gateway apparatus in any one of Claims 1-3. ネットワークアドレス、プロトコル種別、IPoEで用いられる宛先IPアドレス及びPPPoEで用いられるPPPoEセッションの検索インデックスが登録されたIPoE/PPPoEフォワーディングテーブルと、前記検索インデックス、宛先MACアドレス及びPPPoEセッションIDが登録されたPPPoEセッションテーブルと、宛先IPアドレス及び宛先MACアドレスが登録されたARPテーブルと、を具備するゲートウェイ装置の制御方法であって、
入力されたフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスと前記IPoE/PPPoEフォワーディングテーブル上で一致するネットワークアドレスに応じてプロトコル種別を選択し、選択されたプロトコル種別がIPoEの場合には当該ネットワークアドレスに対応する宛先IPアドレス又は前記ヘッダ情報に含まれる宛先IPアドレスと前記ARPテーブル上で対応づけられた宛先MACアドレスに基づいてIPoEフレームの出力を制御する一方、選択されたプロトコル種別がPPPoEの場合には当該ネットワークアドレスに対応する検索インデックスに前記PPPoEセッションテーブル上で対応づけられた宛先MACアドレス及びPPPoEセッションIDに基づいてPPPoEフレームの出力を制御することを特徴とするゲートウェイ装置の制御方法。
An IPoE / PPPoE forwarding table in which a network address, a protocol type, a destination IP address used in IPoE and a search index of a PPPoE session used in PPPoE are registered, and the search index, a destination MAC address, and a PPPoE session ID are registered in PPPoE A control method of a gateway device comprising a session table and an ARP table in which a destination IP address and a destination MAC address are registered,
The protocol type is selected according to the destination IP address included in the header information of the IP packet of the input frame and the matching network address on the IPoE / PPPoE forwarding table, and if the selected protocol type is IPoE While controlling the output of the IPoE frame based on the destination IP address corresponding to the network address or the destination IP address included in the header information and the destination MAC address associated with the ARP table, the selected protocol type is PPPoE. In this case, the output of the PPPoE frame is controlled based on the destination MAC address and the PPPoE session ID associated with the search index corresponding to the network address on the PPPoE session table. Control method for a gateway device according to claim.
PPPoEフレームが入力された場合には、当該PPPoEフレームのヘッダ情報と一致するエントリが前記PPPoEセッションテーブルに登録されている場合に当該PPPoEフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスと前記IPoE/PPPoEフォワーディングテーブル上のネットワークアドレスとの比較を行う一方、IPoEフレームが入力された場合には、当該IPoEフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスと前記IPoE/PPPoEフォワーディングテーブル上のネットワークアドレスとの比較を行うことを特徴とする請求項6記載のゲートウェイ装置の制御方法。When a PPPoE frame is input, when an entry matching the header information of the PPPoE frame is registered in the PPPoE session table, the destination IP address included in the header information of the IP packet of the PPPoE frame and the IPoE When the IPoE frame is input, the destination IP address included in the IP packet header information of the IPoE frame and the network on the IPoE / PPPoE forwarding table are compared with the network address on the / PoPoE forwarding table. The gateway device control method according to claim 6, wherein comparison with an address is performed. 前記ゲートウェイ装置は、発信IPアドレス、プロトコル種別、IPoEで用いられる宛先IPアドレス及びPPPoEで用いられるPPPoEセッションの検索インデックスが登録されたデフォルトルートテーブルをさらに具備し、入力されたフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスが前記IPoE/PPPoEフォワーディングテーブル上でデフォルトルートとして登録されたネットワークアドレスと一致した場合、前記ヘッダ情報に含まれる発信IPアドレスと一致する前記デフォルトルートテーブル上の発信IPアドレスに応じてプロトコル種別を選択し、選択されたプロトコル種別がIPoEの場合には当該発信IPアドレスに対応する宛先IPアドレス又は前記ヘッダ情報に含まれる宛先IPアドレスと前記ARPテーブル上で対応づけられた宛先MACアドレスに基づいてIPoEフレームの出力を制御する一方、選択されたプロトコル種別がPPPoEの場合には当該発信IPアドレスに対応する検索インデックスに前記PPPoEセッションテーブル上で対応づけられた宛先MACアドレス及びPPPoEセッションIDに基づいてPPPoEフレームの出力を制御することを特徴とする請求項6又は請求項7記載のゲートウェイ装置の制御方法。The gateway apparatus further includes a default route table in which a source IP address, a protocol type, a destination IP address used in IPoE, and a search index of a PPPoE session used in PPPoE are registered, and a header of an IP packet of an input frame When the destination IP address included in the information matches the network address registered as the default route on the IPoE / PPPoE forwarding table, the source IP address on the default route table that matches the source IP address included in the header information If the selected protocol type is IPoE, the destination IP address corresponding to the source IP address or the destination IP address included in the header information is selected. While controlling the output of the IPoE frame based on the destination MAC address associated on the ARP table, if the selected protocol type is PPPoE, the search index corresponding to the originating IP address is added to the PPPoE session table. 8. The gateway apparatus control method according to claim 6, wherein output of the PPPoE frame is controlled based on the destination MAC address and PPPoE session ID associated with each other in claim 6. ネットワークアドレス及び宛先IPアドレスが登録されたIPoEフォワーディングテーブルと、入力側の発信MACアドレス及びPPPoEセッションID並びに出力側の宛先MACアドレス及びPPPoEセッションIDが登録されたPPPoEプロキシテーブルと、宛先IPアドレス及び宛先MACアドレスが登録されたARPテーブルと、を具備するゲートウェイ装置の制御方法であって、
PPPoEフレームが入力された場合であって当該PPPoEフレームのヘッダ情報と一致するエントリが前記PPPoEプロキシテーブルに登録されている場合には、当該エントリに登録された前記出力側の宛先MACアドレス及びPPPoEセッションIDに基づいてPPPoEフレームの出力を制御する一方、IPoEフレームが入力された場合には、当該IPoEフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスと一致する前記IPoEフォワーディングテーブル上のネットワークアドレスに対応づけられた宛先IPアドレスを選択し、当該宛先IPアドレス又は前記ヘッダ情報に含まれる宛先IPアドレスと前記ARPテーブル上で対応づけられた宛先MACアドレスに基づいてIPoEフレームの出力を制御することを特徴とするゲートウェイ装置の制御方法。
An IPoE forwarding table in which a network address and a destination IP address are registered, a transmission MAC address and a PPPoE session ID on the input side, a PPPoE proxy table in which a destination MAC address and a PPPoE session ID on the output side are registered, a destination IP address and a destination A control method of a gateway device comprising an ARP table in which MAC addresses are registered,
When a PPPoE frame is input and an entry that matches the header information of the PPPoE frame is registered in the PPPoE proxy table, the output destination MAC address and PPPoE session registered in the entry While the output of the PPPoE frame is controlled based on the ID, when the IPoE frame is input, the network address on the IPoE forwarding table that matches the destination IP address included in the header information of the IP packet of the IPoE frame is set. The destination IP address associated with the destination is selected, and the output of the IPoE frame is controlled based on the destination IP address or the destination IP address included in the header information and the destination MAC address associated with the ARP table. The method of the gateway device, characterized in that.
前記ゲートウェイ装置は、入力側の発信MACアドレス及びPPPoEセッションID並びに出力側の宛先MACアドレス及びPPPoEセッションIDが登録されたPPPoEプロキシテーブルをさらに具備し、PPPoEフレームが入力された場合であって当該PPPoEフレームのヘッダ情報と一致するエントリが前記PPPoEプロキシテーブルに登録されている場合には、当該エントリに登録された前記出力側の宛先MACアドレス及びPPPoEセッションIDに基づいてPPPoEフレームの出力を制御する一方、PPPoEフレームが入力された場合であって当該PPPoEフレームのヘッダ情報と一致するエントリが前記PPPoEプロキシテーブルに登録されていない場合には、当該PPPoEフレームのヘッダ情報と一致するエントリがPPPoEセッションテーブルに登録されている場合に当該PPPoEフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスと前記IPoE/PPPoEフォワーディングテーブル上のネットワークアドレスとの比較を行うことを特徴とする請求項6から請求項8のいずれかに記載のゲートウェイ装置の制御方法。The gateway device further includes a PPPoE proxy table in which an outgoing MAC address and PPPoE session ID on an input side and a destination MAC address and PPPoE session ID on an output side are registered, and the PPPoE frame is input when the PPPoE frame is input. When an entry that matches the frame header information is registered in the PPPoE proxy table, the output of the PPPoE frame is controlled based on the destination MAC address and PPPoE session ID registered in the entry. When the PPPoE frame is input and an entry that matches the header information of the PPPoE frame is not registered in the PPPoE proxy table, the header information of the PPPoE frame is When a matching entry is registered in the PPPoE session table, the destination IP address included in the header information of the IP packet of the PPPoE frame is compared with the network address on the IPoE / PPPoE forwarding table. The control method of the gateway apparatus in any one of Claims 6-8. ネットワークアドレス、プロトコル種別、IPoEで用いられる宛先IPアドレス及びPPPoEで用いられるPPPoEセッションの検索インデックスが登録されたIPoE/PPPoEフォワーディングテーブルと、前記検索インデックス、宛先MACアドレス及びPPPoEセッションIDが登録されたPPPoEセッションテーブルと、宛先IPアドレス及び宛先MACアドレスが登録されたARPテーブルと、を具備するゲートウェイ装置のプログラムであって、
コンピュータに、入力されたフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスと前記IPoE/PPPoEフォワーディングテーブル上で一致するネットワークアドレスに応じてプロトコル種別を選択する手順と、選択されたプロトコル種別がIPoEの場合には当該ネットワークアドレスに対応する宛先IPアドレス又は前記ヘッダ情報に含まれる宛先IPアドレスと前記ARPテーブル上で対応づけられた宛先MACアドレスに基づいてIPoEフレームの出力を制御する手順と、選択されたプロトコル種別がPPPoEの場合には当該ネットワークアドレスに対応する検索インデックスに前記PPPoEセッションテーブル上で対応づけられた宛先MACアドレス及びPPPoEセッションIDに基づいてPPPoEフレームの出力を制御する手順と、を実行させるためのプログラム。
An IPoE / PPPoE forwarding table in which a network address, a protocol type, a destination IP address used in IPoE and a search index of a PPPoE session used in PPPoE are registered, and the search index, a destination MAC address, and a PPPoE session ID are registered in PPPoE A gateway device program comprising a session table and an ARP table in which a destination IP address and a destination MAC address are registered,
A procedure for selecting a protocol type according to a destination IP address included in header information of an IP packet of an input frame and a network address that matches the IPoE / PPPoE forwarding table, and the selected protocol type is IPoE In this case, a procedure for controlling the output of the IPoE frame based on the destination IP address corresponding to the network address or the destination IP address included in the header information and the destination MAC address associated on the ARP table, and selection If the protocol type assigned is PPPoE, PPPoE is based on the destination MAC address and PPPoE session ID associated with the search index corresponding to the network address on the PPPoE session table. Program for executing a step of controlling the output of the frame, a.
コンピュータに、PPPoEフレームが入力された場合には、当該PPPoEフレームのヘッダ情報と一致するエントリが前記PPPoEセッションテーブルに登録されている場合に当該PPPoEフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスと前記IPoE/PPPoEフォワーディングテーブル上のネットワークアドレスとの比較を行う手順と、IPoEフレームが入力された場合には、当該IPoEフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスと前記IPoE/PPPoEフォワーディングテーブル上のネットワークアドレスとの比較を行う手順と、を実行させることを特徴とする請求項11記載のプログラム。When a PPPoE frame is input to the computer, the destination IP address included in the header information of the IP packet of the PPPoE frame when an entry that matches the header information of the PPPoE frame is registered in the PPPoE session table And a network address on the IPoE / PPPoE forwarding table, and when an IPoE frame is input, a destination IP address included in header information of an IP packet of the IPoE frame and the IPoE / PPPoE forwarding 12. The program according to claim 11, wherein the program executes a procedure for comparing with a network address on a table. 前記ゲートウェイ装置は、発信IPアドレス、プロトコル種別、IPoEで用いられる宛先IPアドレス及びPPPoEで用いられるPPPoEセッションの検索インデックスが登録されたデフォルトルートテーブルをさらに具備し、コンピュータに、入力されたフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスが前記IPoE/PPPoEフォワーディングテーブル上でデフォルトルートとして登録されたネットワークアドレスと一致した場合、当該ヘッダ情報に含まれる発信IPアドレスと一致する前記デフォルトルートテーブル上の発信IPアドレスに応じてプロトコル種別を選択する手順と、選択されたプロトコル種別がIPoEの場合には当該発信IPアドレスに対応する宛先IPアドレス又は前記ヘッダ情報に含まれる宛先IPアドレスと前記ARPテーブル上で対応づけられた宛先MACアドレスに基づいてIPoEフレームの出力を制御する手順と、選択されたプロトコル種別がPPPoEの場合には当該発信IPアドレスに対応する検索インデックスに前記PPPoEセッションテーブル上で対応づけられた宛先MACアドレス及びPPPoEセッションIDに基づいてPPPoEフレームの出力を制御する手順を実行させることを特徴とする請求項11又は請求項12記載のプログラム。The gateway device further includes a default route table in which a source IP address, a protocol type, a destination IP address used in IPoE, and a search index of a PPPoE session used in PPPoE are registered, and an IP address of a frame input to the computer When the destination IP address included in the header information of the packet matches the network address registered as the default route on the IPoE / PPPoE forwarding table, the destination IP address on the default route table matches the outgoing IP address included in the header information. The procedure for selecting the protocol type according to the source IP address, and, if the selected protocol type is IPoE, the destination IP address corresponding to the source IP address or the header information A procedure for controlling the output of the IPoE frame based on the destination IP address associated with the destination IP address and the destination MAC address on the ARP table, and if the selected protocol type is PPPoE, the search corresponding to the source IP address 13. The program according to claim 11, wherein a program for controlling output of a PPPoE frame based on a destination MAC address and a PPPoE session ID associated with an index on the PPPoE session table is executed. ネットワークアドレス及び宛先IPアドレスが登録されたIPoEフォワーディングテーブルと、入力側の発信MACアドレス及びPPPoEセッションID並びに出力側の宛先MACアドレス及びPPPoEセッションIDが登録されたPPPoEプロキシテーブルと、宛先IPアドレス及び宛先MACアドレスが登録されたARPテーブルと、を具備するゲートウェイ装置のプログラムであって、
コンピュータに、PPPoEフレームが入力された場合であって当該PPPoEフレームのヘッダ情報と一致するエントリが前記PPPoEプロキシテーブルに登録されている場合には、当該エントリに登録された前記出力側の宛先MACアドレス及びPPPoEセッションIDに基づいてPPPoEフレームの出力を制御する手順と、IPoEフレームが入力された場合には、当該IPoEフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスと一致する前記IPoEフォワーディングテーブル上のネットワークアドレスに対応づけられた宛先IPアドレスを選択し、当該宛先IPアドレス又は前記ヘッダ情報に含まれる宛先IPアドレスと前記ARPテーブル上で対応づけられた宛先MACアドレスに基づいてIPoEフレームの出力を制御する手順と、を実行させるためのプログラム。
An IPoE forwarding table in which a network address and a destination IP address are registered, a transmission MAC address and a PPPoE session ID on the input side, a PPPoE proxy table in which a destination MAC address and a PPPoE session ID on the output side are registered, a destination IP address and a destination An ARP table in which MAC addresses are registered, and a gateway device program comprising:
When a PPPoE frame is input to the computer and an entry that matches the header information of the PPPoE frame is registered in the PPPoE proxy table, the destination MAC address on the output side registered in the entry And a procedure for controlling the output of the PPPoE frame based on the PPPoE session ID, and when the IPoE frame is input, on the IPoE forwarding table that matches the destination IP address included in the header information of the IP packet of the IPoE frame. A destination IP address associated with the network address of the IP address is selected, and the IPoE frame is selected based on the destination IP address or the destination IP address included in the header information and the destination MAC address associated with the ARP table. Program for executing a step of controlling the output of the beam, the.
前記ゲートウェイ装置は、入力側の発信MACアドレス及びPPPoEセッションID並びに出力側の宛先MACアドレス及びPPPoEセッションIDが登録されたPPPoEプロキシテーブルをさらに具備し、コンピュータに、PPPoEフレームが入力された場合であって当該PPPoEフレームのヘッダ情報と一致するエントリが前記PPPoEプロキシテーブルに登録されている場合には、当該エントリに登録された前記出力側の宛先MACアドレス及びPPPoEセッションIDに基づいてPPPoEフレームの出力を制御する手順と、PPPoEフレームが入力された場合であって当該PPPoEフレームのヘッダ情報と一致するエントリが前記PPPoEプロキシテーブルに登録されていない場合には、当該PPPoEフレームのヘッダ情報と一致するエントリがPPPoEセッションテーブルに登録されている場合に当該PPPoEフレームのIPパケットのヘッダ情報に含まれる宛先IPアドレスと前記IPoE/PPPoEフォワーディングテーブル上のネットワークアドレスとの比較を行う手順と、を実行させることを特徴とする請求項11から請求項13のいずれかに記載のプログラム。The gateway apparatus further includes a PPPoE proxy table in which the outgoing MAC address and PPPoE session ID on the input side and the destination MAC address and PPPoE session ID on the output side are registered, and a PPPoE frame is input to the computer. When an entry that matches the header information of the PPPoE frame is registered in the PPPoE proxy table, the PPPoE frame is output based on the destination MAC address and PPPoE session ID registered in the entry. If a PPPoE frame is input and an entry that matches the header information of the PPPoE frame is not registered in the PPPoE proxy table, the PPPoE frame is input. When an entry that matches the header information of the network is registered in the PPPoE session table, the destination IP address included in the header information of the IP packet of the PPPoE frame is compared with the network address on the IPoE / PPPoE forwarding table. The program according to any one of claims 11 to 13, wherein the program is executed.
JP2003027491A 2002-02-08 2003-02-04 Gateway device and control method thereof Expired - Lifetime JP3636710B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003027491A JP3636710B2 (en) 2002-02-08 2003-02-04 Gateway device and control method thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2002032813 2002-02-08
JP2003027491A JP3636710B2 (en) 2002-02-08 2003-02-04 Gateway device and control method thereof

Publications (2)

Publication Number Publication Date
JP2004007412A JP2004007412A (en) 2004-01-08
JP3636710B2 true JP3636710B2 (en) 2005-04-06

Family

ID=30445714

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003027491A Expired - Lifetime JP3636710B2 (en) 2002-02-08 2003-02-04 Gateway device and control method thereof

Country Status (1)

Country Link
JP (1) JP3636710B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5522374B2 (en) * 2010-01-26 2014-06-18 サクサ株式会社 COMMUNICATION MANAGEMENT CONTROL METHOD, COMMUNICATION MANAGEMENT CONTROL DEVICE, AND COMMUNICATION MANAGEMENT CONTROL PROGRAM
CN109995659B (en) 2017-12-29 2022-03-01 阿里巴巴集团控股有限公司 Network communication method and device
CN112600948B (en) * 2020-12-09 2022-05-31 中国电建集团华东勘测设计研究院有限公司 Equipment and user positioning method under IPoE network access environment
JP7253016B1 (en) 2021-09-27 2023-04-05 エレコム株式会社 NETWORK RELAY DEVICE AND CONNECTION ROUTE SELECTION METHOD

Also Published As

Publication number Publication date
JP2004007412A (en) 2004-01-08

Similar Documents

Publication Publication Date Title
US7249194B2 (en) Gateway apparatus and its controlling method
US7209486B2 (en) Address access system and method thereof
US8266266B2 (en) Systems and methods for providing dynamic network authorization, authentication and accounting
US7689716B2 (en) Systems and methods for providing dynamic network authorization, authentication and accounting
US6816890B2 (en) Gateway apparatus with LAC function
US7656872B2 (en) Packet forwarding apparatus and communication network suitable for wide area Ethernet service
JP4105722B2 (en) Communication device
EP2110743A1 (en) Label-based target host configuration for a server load balancer
US20050058132A1 (en) Network repeater apparatus, network repeater method and network repeater program
US20060274749A1 (en) Method enabling network address translation of incoming session initiation protocol connections base on dynamic host configuration protocol address assignments
CN101729427A (en) Multilink load sharing and routing method and router
CN101707569B (en) Method and device for processing NAT service message
US6850513B1 (en) Table-based packet classification
CN105991793A (en) Message forwarding method and device
JP2006295938A (en) Network type routing mechanism
JP3636710B2 (en) Gateway device and control method thereof
US20030135646A1 (en) Relay method for distributing packets to optimal server
US20050265257A1 (en) Networking apparatus and method
JPH11112570A (en) Routing control method and domain name system server determination method
US20050088971A1 (en) Enhanced local aaa redirector
JP2005217661A (en) Packet transfer apparatus and control method thereof
US20040230671A1 (en) Modular access point for wireless networking
US20050050179A1 (en) Method, apparatus and computer program product for implementing enhanced proxy ARP for virtual IP addresses
JP3655575B2 (en) Gateway device
US20060002384A1 (en) Network system and connecting method thereof

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041221

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050105

R150 Certificate of patent or registration of utility model

Ref document number: 3636710

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20100114

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20100114

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110114

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20120114

Year of fee payment: 7

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20120114

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130114

Year of fee payment: 8

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20130114

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20140114

Year of fee payment: 9

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20140114

Year of fee payment: 9

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

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

Free format text: PAYMENT UNTIL: 20140114

Year of fee payment: 9

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313117

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term