JP6833072B2 - Relay device, end judgment method, and end judgment program - Google Patents
Relay device, end judgment method, and end judgment program Download PDFInfo
- Publication number
- JP6833072B2 JP6833072B2 JP2019565639A JP2019565639A JP6833072B2 JP 6833072 B2 JP6833072 B2 JP 6833072B2 JP 2019565639 A JP2019565639 A JP 2019565639A JP 2019565639 A JP2019565639 A JP 2019565639A JP 6833072 B2 JP6833072 B2 JP 6833072B2
- Authority
- JP
- Japan
- Prior art keywords
- information
- client device
- bridge
- mac address
- packet
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/143—Termination or inactivation of sessions, e.g. event-controlled end of session
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/143—Termination or inactivation of sessions, e.g. event-controlled end of session
- H04L67/145—Termination or inactivation of sessions, e.g. event-controlled end of session avoiding end of session, e.g. keep-alive, heartbeats, resumption message or wake-up for inactive or interrupted session
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Health & Medical Sciences (AREA)
- Cardiology (AREA)
- General Health & Medical Sciences (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Description
本発明は、中継装置、終了判定方法、及び終了判定プログラムに関する。 The present invention relates to a relay device, an end determination method, and an end determination program.
データリンク層のプロトコルとして、PPPoE(Point−to−Point Protocol over Ethernet(登録商標))が知られている。クライアント装置とBAS(Broadband Access Server)は、ブリッジ機能を有する装置(以下、ブリッジ装置)を介して、セッションを確立する。ブリッジ装置は、停電などが発生した場合、クライアント装置とBASとで管理しているセッションID(identifier)に基づくセッションを終了させる必要がある。 PPPoE (Point-to-Point Protocol over Ethernet (registered trademark)) is known as a data link layer protocol. The client device and the BAS (Broadband Access Server) establish a session via a device having a bridging function (hereinafter, a bridge device). When a power failure or the like occurs, the bridge device needs to terminate the session based on the session ID (identifier) managed by the client device and the BAS.
ここで、セッションを終了させる技術が提案されている(例えば、特許文献1を参照)。例えば、特許文献1のPPPoEブリッジ装置は、PPPoEブリッジ機能をOFFにした後、LCP(Link Control Protocol) Echo requestパケットを受信した場合、LCP Echo requestパケットの送信元にPADT(PPPoE Active Discovery Terminate)パケットを送信し、セッションを終了させる。
Here, a technique for terminating a session has been proposed (see, for example, Patent Document 1). For example, when the PPPoE bridge device of
ところで、BASは、クライアント装置との間でセッションを確立しているとき、一定間隔で、クライアント装置宛てのLCP Echo requestパケットをブリッジ装置に送信する。
BASが送信したLCP Echo requestパケットは、フラッディングなどにより、他のブリッジ装置に受信される場合がある。上記技術によれば、他のブリッジ装置のブリッジ機能がOFFの状態のときにLCP Echo requestパケットを他のブリッジ装置が受信した場合、他のブリッジ装置は、PADTパケットをBASに送信する。BASは、PADTパケットを受信することで、クライアント装置とBASで確立しているセッションを終了する。このように、上記技術では、誤ってセッションを終了させてしまうことがある。By the way, when the BAS establishes a session with the client device, the BAS transmits an LCP Echo request packet addressed to the client device to the bridge device at regular intervals.
The LCP Echo request packet transmitted by BAS may be received by another bridging device due to flooding or the like. According to the above technique, when the other bridge device receives the LCP Echo request packet when the bridge function of the other bridge device is OFF, the other bridge device transmits the PADT packet to the BAS. By receiving the PADT packet, the BAS ends the session established by the client device and the BAS. As described above, in the above technique, the session may be terminated by mistake.
本発明の目的は、誤ってセッションを終了することを防止することである。 An object of the present invention is to prevent accidental termination of a session.
本発明の一態様に係る中継装置が提供される。中継装置は、ブリッジ機能を有することにより、第1のクライアント装置と情報処理装置との間で送受信される情報を中継する。また、中継装置は、前記第1のクライアント装置を特定する情報である第1の情報を記憶する記憶部と、前記ブリッジ機能が停止しているときに、前記第1のクライアント装置を含む複数のクライアント装置のうちの1つのクライアント装置である第2のクライアント装置との接続を確認するための情報であり、かつ前記第2のクライアント装置を特定する情報である第2の情報を含む接続確認情報を前記情報処理装置から受信し、前記第1の情報と前記第2の情報とが一致するか否かを判定し、一致しないと判定した場合、前記第2のクライアント装置と前記情報処理装置で確立しているセッションの終了を前記情報処理装置に指示しないように制御する制御部と、を有する。 A relay device according to one aspect of the present invention is provided. By having a bridge function, the relay device relays information transmitted and received between the first client device and the information processing device. Further, the relay device includes a storage unit that stores the first information that is information for identifying the first client device, and a plurality of relay devices including the first client device when the bridge function is stopped. Connection confirmation information including the second information which is the information for confirming the connection with the second client device which is one of the client devices and the information for identifying the second client device. Is received from the information processing device, it is determined whether or not the first information and the second information match, and if it is determined that they do not match, the second client device and the information processing device determine. It has a control unit that controls not to instruct the information processing apparatus to end an established session.
本発明によれば、誤ってセッションを終了することを防止できる。 According to the present invention, it is possible to prevent the session from being accidentally terminated.
以下、図面を参照しながら実施の形態を説明する。以下の実施の形態は、例にすぎず、本発明の範囲内で種々の変更が可能である。 Hereinafter, embodiments will be described with reference to the drawings. The following embodiments are merely examples, and various modifications can be made within the scope of the present invention.
実施の形態1.
図1は、実施の形態1の通信システムを示す図である。通信システムは、ブリッジ装置100,500、BAS200、クライアント装置300,301,302,303、及びISP(Internet Service Provider)400,401,402を含む。
FIG. 1 is a diagram showing a communication system according to the first embodiment. Communication systems include bridge devices 100,500, BAS200, client devices 300,301,302,303, and ISPs (Internet Service Providers) 400,401,402.
ブリッジ装置100,500は、光回線網10を介してBAS200に接続する。また、ブリッジ装置100は、ネットワークを介して、クライアント装置300に接続する。ブリッジ装置500は、有線ネットワークを介して、クライアント装置301,302に接続する。ブリッジ装置500は、無線ネットワークを介して、クライアント装置303に接続する。
ブリッジ装置100,500は、PPPoEブリッジ装置と表現してもよい。クライアント装置300,301,302,303は、PPPoEクライアント装置と表現してもよい。The
The
ブリッジ装置100と光回線網10との間、及びブリッジ装置500と光回線網10との間には、ONU(Optical Network Unit)が存在する。図1では、ONUを省略している。また、ブリッジ装置100,500は、ONUの機能を含んでもよい。
An ONU (Optical Network Unit) exists between the
ブリッジ装置100,500は、ブリッジ機能を有する装置である。例えば、ブリッジ装置100は、ブリッジ機能を有することにより、BAS200とクライアント装置300との間で送受信される情報を中継する。ブリッジ装置100,500は、中継装置とも言う。ブリッジ装置100,500は、終了判定方法を実行する装置である。
クライアント装置300〜303は、ユーザが利用するコンピュータである。クライアント装置300〜303は、ブリッジ装置100,500、及び光回線網10を介して、BAS200に接続する。クライアント装置300は、第1のクライアント装置とも言う。クライアント装置300は、第2のクライアント装置とも言う場合がある。クライアント装置301〜303のいずれかは、第2のクライアント装置とも言う。The
The
BAS200は、情報処理装置と言う。BAS200は、ISP400〜402に接続することができる。ISP400〜402は、ネットワーク20,21,22に接続するための認証を行う。例えば、ISP400は、クライアント装置300がネットワーク20に接続するための認証を行う。ISP400が認証した後、クライアント装置300は、ネットワーク20に接続できるようになる。以下の説明では、クライアント装置300は、ネットワーク20に接続するものとする。
The BAS200 is called an information processing device. BAS200 can be connected to ISP400-402.
次に、ブリッジ装置100,500の主なハードウェア構成について説明する。
図2は、実施の形態1のブリッジ装置が有する主なハードウェア構成を示す図である。ブリッジ装置100は、プロセッサ101、揮発性記憶装置102、及び不揮発性記憶装置103を有する。Next, the main hardware configurations of the
FIG. 2 is a diagram showing a main hardware configuration included in the bridge device of the first embodiment. The
プロセッサ101は、ブリッジ装置100全体を制御する。例えば、プロセッサ101は、CPU(Central Processing Unit)、又はFPGA(Field Programmable Gate Array)などである。プロセッサ101は、マルチプロセッサでもよい。ブリッジ装置100は、処理回路によって実現されてもよく、又は、ソフトウェア、ファームウェア若しくはそれらの組み合わせによって実現されてもよい。
The
揮発性記憶装置102は、ブリッジ装置100の主記憶装置である。例えば、揮発性記憶装置102は、RAM(Random Access Memory)である。不揮発性記憶装置103は、ブリッジ装置100の補助記憶装置である。例えば、不揮発性記憶装置103は、SSD(Solid State Drive)などである。
The
ブリッジ装置500は、ブリッジ装置100と同様に、プロセッサ、揮発性記憶装置、及び不揮発性記憶装置を有する。
The
以下の説明では、ブリッジ装置100、BAS200、及びクライアント装置300の間で行われる処理について、説明する。また、当該処理は、ブリッジ装置500、BAS200、及びクライアント装置301〜303の間で行われる処理と同様である。そのため、ブリッジ装置500、BAS200、及びクライアント装置301〜303の間で行われる処理の説明は、省略する。
In the following description, the processing performed between the
図3は、実施の形態1のブリッジ装置の構成を示す機能ブロック図である。ブリッジ装置100は、制御部110、ブリッジ機能部120、テーブル記憶部130、記憶部140、蓄積部150、WAN(Wide Area Network)ポート160、及びLAN(Local Area Network)ポート170を有する。記憶部140は、MAC(Media Access Control)アドレス記憶部と表現してもよい。なお、MACアドレスは、物理アドレスとも言う。
FIG. 3 is a functional block diagram showing the configuration of the bridge device according to the first embodiment. The
ブリッジ装置100は、複数のLANポートを有してもよい。例えば、ブリッジ装置100は、ブリッジ装置500のように、複数のLANポートを介して、複数のクライアント装置と通信する。また、ブリッジ装置100は、無線インターフェースを有してもよい。これにより、ブリッジ装置100は、ブリッジ装置500のように、クライアント装置と無線通信できる。
The
制御部110は、パケット監視部111、パケット識別部112、データ取得部113、パケット生成部114、送受信部115、及び終了判定部116を有する。
パケット監視部111、パケット識別部112、データ取得部113、パケット生成部114、送受信部115、終了判定部116、及びブリッジ機能部120の一部又は全部は、プロセッサ101によって実現してもよい。パケット監視部111、パケット識別部112、データ取得部113、パケット生成部114、送受信部115、終了判定部116、及びブリッジ機能部120の一部又は全部は、プロセッサ101が実行するプログラムのモジュールとして実現してもよい。当該プログラムは、揮発性記憶装置102又は不揮発性記憶装置103に格納される。例えば、当該プログラムは、終了判定プログラムである。The
A part or all of the
テーブル記憶部130及び蓄積部150は、揮発性記憶装置102に確保した記憶領域として実現される。記憶部140は、不揮発性記憶装置103に確保した記憶領域として実現される。
制御部110は、WANポート160を介して、BAS200と通信する。制御部110とブリッジ機能部120は、LANポート170を介して、クライアント装置300と通信する。The
The
パケット監視部111は、BAS200及びクライアント装置300が送信するパケットを監視する。パケット識別部112は、パケットを識別する。データ取得部113は、BAS200及びクライアント装置300が送信するパケットからMACアドレスとセッションIDとを取得する。パケット生成部114は、パケットを生成する。例えば、パケット生成部114は、PADTパケットを生成する。また、PADTパケットは、セッションの終了を指示する情報と表現してもよい。
The
送受信部115は、パケット生成部114が生成したパケットを、BAS200及びクライアント装置300に送信する。また、送受信部115は、BAS200及びクライアント装置300が送信したパケットを受信する。例えば、送受信部115は、BAS200及びクライアント装置300からLCP Echo Requestパケットを受信する。また、LCP Echo Requestパケットは、接続確認情報とも言う。接続確認情報は、接続を確認するための情報である。
The transmission /
終了判定部116の機能については、後で詳細に説明する。ブリッジ機能部120は、BAS200とクライアント装置300とを接続する機能を有する。ブリッジ機能部120は、クライアント装置300からPADI(PPPoE Active Discovery Initiation)パケットを受信する。
テーブル記憶部130、記憶部140、蓄積部150は、様々な情報を記憶する。テーブル記憶部130、記憶部140、蓄積部150がどのような情報を記憶するかについては、後で詳細に説明する。The function of the
The
次に、PADIパケットのフォーマットを説明する。
図4は、PADIパケットのフォーマットを示す図である。図4は、PADIパケットのフォーマット601のフィールド名を示している。PADIパケットは、Ethernetヘッダ、PPPoEペイロード、及びフレームチェックシーケンスを含む。Ethernetヘッダは、宛先MACアドレス、送信元MACアドレス、及びイーサタイプを含む。Next, the format of the PADI packet will be described.
FIG. 4 is a diagram showing the format of the PADI packet. FIG. 4 shows the field names of the PADI packet format 601. The PADI packet contains an Ethernet header, a PPPoE payload, and a frame check sequence. The Ethernet header contains the destination MAC address, the source MAC address, and the ether type.
宛先MACアドレスのフィールド長は、6オクテットである。送信元MACアドレスのフィールド長は、6オクテットである。イーサタイプのフィールド長は、2オクテットである。フレームチェックシーケンスのフィールド長は、4オクテットである。 The field length of the destination MAC address is 6 octets. The field length of the source MAC address is 6 octets. The Ethertype field length is 2 octets. The field length of the frame check sequence is 4 octets.
次に、LCP Echo Requestパケットのフォーマットを説明する。
図5は、LCP Echo Requestパケットのフォーマットを示す図である。図5は、LCP Echo Requestパケットのフォーマット602のフィールド名を示している。Next, the format of the LCP Echo Request packet will be described.
FIG. 5 is a diagram showing the format of the LCP Echo Request packet. FIG. 5 shows the field names of the LCP Echo Request packet format 602.
LCP Echo Requestパケットは、Ethernetヘッダ、PPPoEヘッダ、PPPoEペイロード、及びフレームチェックシーケンスを含む。Ethernetヘッダは、宛先MACアドレス、送信元MACアドレス、及びイーサタイプを含む。PPPoEヘッダは、バージョン、タイプ、コード、PPPoEセッションのセッションID、及びPPPoEペイロードのデータ長を含む。PPPoEペイロードは、PPPプロトコル、LCP Echo Requestのデータを含む。 The LCP Echo Request packet includes an Ethernet header, a PPPoE header, a PPPoE payload, and a frame check sequence. The Ethernet header contains the destination MAC address, the source MAC address, and the ether type. The PPPoE header contains the version, type, code, session ID of the PPPoE session, and the data length of the PPPoE payload. The PPPoE payload contains data from the PPP protocol, LCP Echo Request.
宛先MACアドレスのフィールド長は、6オクテットである。送信元MACアドレスのフィールド長は、6オクテットである。イーサタイプのフィールド長は、2オクテットである。 The field length of the destination MAC address is 6 octets. The field length of the source MAC address is 6 octets. The Ethertype field length is 2 octets.
バージョン、タイプのフィールド長は、1オクテットである。コードのフィールド長は、1オクテットである。セッションIDのフィールド長は、2オクテットである。データ長のフィールド長は、2オクテットである。
PPPプロトコルのフィールド長は、2オクテットである。フレームチェックシーケンスのフィールド長は、4オクテットである。The field length of version and type is 1 octet. The field length of the code is 1 octet. The field length of the session ID is 2 octets. The field length of the data length is 2 octets.
The field length of the PPP protocol is 2 octets. The field length of the frame check sequence is 4 octets.
次に、PADTパケットのフォーマットを説明する。
図6は、PADTパケットのフォーマットを示す図である。図6は、PADTパケットのフォーマット603のフィールド名を示している。Next, the format of the PADT packet will be described.
FIG. 6 is a diagram showing the format of the PADT packet. FIG. 6 shows the field names of the PADT packet format 603.
PADTパケットは、Ethernetヘッダ、PPPoEヘッダ、PPPoEペイロード、及びフレームチェックシーケンスを含む。Ethernetヘッダは、宛先MACアドレス、送信元MACアドレス、及びイーサタイプを含む。PPPoEヘッダは、バージョン、タイプ、コード、PPPoEセッションのセッションID、及びPPPoEペイロードのデータ長を含む。 The PADT packet includes an Ethernet header, a PPPoE header, a PPPoE payload, and a frame check sequence. The Ethernet header contains the destination MAC address, the source MAC address, and the ether type. The PPPoE header contains the version, type, code, session ID of the PPPoE session, and the data length of the PPPoE payload.
宛先MACアドレスのフィールド長は、6オクテットである。送信元MACアドレスのフィールド長は、6オクテットである。イーサタイプのフィールド長は、2オクテットである。
バージョン、タイプのフィールド長は、1オクテットである。コードのフィールド長は、1オクテットである。セッションIDのフィールド長は、2オクテットである。データ長のフィールド長は、2オクテットである。フレームチェックシーケンスのフィールド長は、4オクテットである。The field length of the destination MAC address is 6 octets. The field length of the source MAC address is 6 octets. The Ethertype field length is 2 octets.
The field length of version and type is 1 octet. The field length of the code is 1 octet. The field length of the session ID is 2 octets. The field length of the data length is 2 octets. The field length of the frame check sequence is 4 octets.
次に、テーブル記憶部130が記憶する情報について、説明する。
図7は、ブリッジテーブルを示す図である。ブリッジテーブル131は、テーブル記憶部130に格納される。
ブリッジテーブル131は、No.(すなわち、項番)、セッションID、及びMACアドレスの項目を有する。MACアドレスの項目は、クライアント装置及びBASの項目を有する。Next, the information stored in the
FIG. 7 is a diagram showing a bridge table. The bridge table 131 is stored in the
The bridge table 131 is No. It has items (ie, item number), session ID, and MAC address. The MAC address item includes the client device and BAS items.
No.の項目は、識別子を示す。セッションIDの項目は、セッションを識別する情報を示す。クライアント装置の項目は、ブリッジ装置100が接続するクライアント装置のMACアドレスを示す。BASの項目は、BAS200のMACアドレスを示す。
No. Item indicates an identifier. The session ID item indicates information that identifies the session. The item of the client device indicates the MAC address of the client device to which the
また、ブリッジテーブル131は、ブリッジ情報とも言う。例えば、ブリッジ情報は、BAS200とクライアント装置300との間で送受信される情報を中継する際に用いられる情報であると表現してもよい。
The bridge table 131 is also referred to as bridge information. For example, the bridge information may be expressed as information used when relaying information transmitted / received between the
次に、記憶部140が記憶する情報について、説明する。
図8は、MACアドレステーブルを示す図である。MACアドレステーブル141は、記憶部140に格納される。
MACアドレステーブル141は、No.(すなわち、項番)、及びクライアント装置の項目を有する。Next, the information stored in the
FIG. 8 is a diagram showing a MAC address table. The MAC address table 141 is stored in the
The MAC address table 141 shows No. (Ie, item number), and the item of the client device.
No.の項目は、識別子を示す。クライアント装置の項目は、ブリッジ装置100が接続するクライアント装置のMACアドレスを示す。
No. Item indicates an identifier. The item of the client device indicates the MAC address of the client device to which the
次に、ブリッジ装置100、BAS200、及びクライアント装置300の間で行われるセッション終了処理の概要について、シーケンス図を用いて説明する。
図9は、実施の形態1のセッション終了処理の例を示すシーケンス図(その1)である。図9、10は、図1、3〜8を参照する。Next, an outline of the session end processing performed between the
FIG. 9 is a sequence diagram (No. 1) showing an example of the session end processing of the first embodiment. 9 and 10 refer to FIGS. 1, 3 to 8.
(ステップS101)ブリッジ装置100は、ユーザの操作によりブリッジ機能がONの状態になる。これにより、ブリッジ装置100のブリッジ機能部120の機能が有効になる。
なお、ブリッジ装置100は、ユーザの操作によりブリッジ機能がOFFの状態になることもある。また、ブリッジ装置100は、ブリッジ機能がOFFの状態でも、ブリッジ装置100の電源がONの状態の場合もある。(Step S101) The
The
(ステップS102)クライアント装置300は、BAS200との間でセッションを確立するために、PADIパケットをブリッジ装置100に送信する。また、PADIパケットは、BAS200を探すための情報と表現してもよい。
(ステップS103)ブリッジ装置100のブリッジ機能部120は、クライアント装置300のMACアドレスをPADIパケットから取得する。ブリッジ装置100のブリッジ機能部120は、ブリッジテーブル131を作成する。ブリッジ装置100のブリッジ機能部120は、ブリッジテーブル131のクライアント装置の項目に、クライアント装置300のMACアドレスを登録する。(Step S102) The
(Step S103) The
(ステップS104)ブリッジ装置100のブリッジ機能部120は、MACアドレステーブル141のクライアント装置の項目に、クライアント装置300のMACアドレスを登録する。ブリッジ装置100は、MACアドレステーブル141にクライアント装置300のMACアドレスを登録することで、停電などが発生した場合でも、MACアドレステーブル141に登録された情報が消失されることを防ぐことができる。
(Step S104) The
このように、ブリッジ装置100は、セッションを確立するときに、ブリッジテーブル131とMACアドレステーブル141に、クライアント装置300のMACアドレスを登録する。ここで、クライアント装置300のMACアドレスは、第1の情報とも言う。
In this way, when the
ここで、ブリッジ装置100は、不特定多数のクライアント装置と接続できる。例えば、ブリッジ装置100は、無線インターフェースを有することで、不特定多数のクライアント装置と接続できる。ブリッジ装置100は、不特定多数のクライアント装置と接続できる場合、不特定多数のクライアント装置のMACアドレスをMACアドレステーブル141に登録する。しかし、ブリッジ装置100は、記憶部140の記憶容量が足らなくなり、全てのクライアント装置のMACアドレスをMACアドレステーブル141に登録できない場合もある。そこで、ブリッジ装置100のブリッジ機能部120は、MACアドレステーブル141に新しいMACアドレスを登録するとき、記憶部140に格納されているデータのデータ量が閾値以上の場合、MACアドレステーブル141に登録されたMACアドレスのうち、登録された時刻が最も早いMACアドレスを削除し、新しく取得したMACアドレスをMACアドレステーブル141に登録する。
Here, the
(ステップS105)ブリッジ装置100の送受信部115は、PADIパケットをBAS200に送信する。
(ステップS106)BAS200とクライアント装置300は、ブリッジ装置100を介して、PPPoE認証を行う。これにより、BAS200とクライアント装置300との間でセッションが確立される。(Step S105) The transmission /
(Step S106) The
ここで、ブリッジ装置100のブリッジ機能部120は、PPPoE認証を行う処理の中で、BAS200又はクライアント装置300が送信したパケットから、セッションID及びBAS200のMACアドレスを取得できる。ブリッジ装置100のブリッジ機能部120は、ブリッジテーブル131のセッションIDの項目に、セッションIDを登録する。ブリッジ装置100のブリッジ機能部120は、ブリッジテーブル131のBASの項目に、BAS200のMACアドレスを登録する。
Here, the
ステップS104では、MACアドレステーブル141にクライアント装置300のMACアドレスを登録する場合を説明した。しかし、ブリッジ装置100のブリッジ機能部120は、BAS200とクライアント装置300とでセッションが確立するまでの間に、BAS200又はクライアント装置300が送信した情報に含まれているクライアント装置300のMACアドレスをMACアドレステーブル141に登録してもよい。
In step S104, the case where the MAC address of the
BAS200とクライアント装置300は、セッションが確立した後、接続状態を確認するために、LCP Echo Requestパケットを一定間隔で送信する。
(ステップS107)停電が発生する。ブリッジ装置100は、停電が発生したことで、ブリッジテーブル131を消失する。ブリッジテーブル131が消失することは、ブリッジ機能がOFFの状態になることと同じである。また、ブリッジ機能がOFFの状態になることは、ブリッジ機能が停止することである。
また、ステップS107は、ユーザの操作によりブリッジ機能がOFFになった場合と考えてもよい。After the session is established, the
(Step S107) A power failure occurs. The
Further, step S107 may be considered as a case where the bridge function is turned off by the operation of the user.
ここで、ブリッジテーブル131が消失した場合、クライアント装置300は、ネットワーク20に接続できなくなる。クライアント装置300がネットワーク20に接続するためには、BAS200とクライアント装置300との間で再度、セッションを確立する必要がある。しかし、BAS200とクライアント装置300は、前回のセッションが残っているため、新たにセッションを確立することができない。すなわち、BAS200とクライアント装置300は、重複ログインの状態になるため、新たにセッションを確立することができない。そこで、ブリッジ装置100は、前回のセッションを終了させる。前回のセッションを終了させる方法については、図10で説明する。
(ステップS108)ブリッジ装置100は、再起動する。Here, if the bridge table 131 disappears, the
(Step S108) The
図10は、実施の形態1のセッション終了処理の例を示すシーケンス図(その2)である。
(ステップS111)ブリッジ装置100のパケット監視部111は、BAS200及びクライアント装置300がLCP Echo Requestパケットを送信するのを監視する。
(ステップS112)BAS200は、LCP Echo Requestパケットをブリッジ装置100に送信する。当該LCP Echo Requestパケットの宛先MACアドレスに登録されている情報は、第2の情報とも言う。FIG. 10 is a sequence diagram (No. 2) showing an example of the session end processing of the first embodiment.
(Step S111) The
(Step S112) The
(ステップS113)クライアント装置300は、LCP Echo Requestパケットをブリッジ装置100に送信する。
(ステップS114)ブリッジ装置100のパケット識別部112は、BAS200から受信したパケットがLCP Echo Requestパケットであることを識別する。ブリッジ装置100のデータ取得部113は、LCP Echo Requestパケットの送信元MACアドレスからBAS200のMACアドレスを取得する。ブリッジ装置100のデータ取得部113は、LCP Echo Requestパケットの宛先MACアドレスからクライアント装置300のMACアドレスを取得する。ブリッジ装置100のデータ取得部113は、LCP Echo RequestパケットからセッションIDを取得する。ブリッジ装置100のデータ取得部113は、取得したBAS200のMACアドレス、クライアント装置300のMACアドレス、及びセッションIDを蓄積部150に格納する。(Step S113) The
(Step S114) The
ブリッジ装置100のパケット識別部112は、クライアント装置300から受信したパケットがLCP Echo Requestパケットであることを識別する。ブリッジ装置100のデータ取得部113は、LCP Echo Requestパケットの送信元MACアドレスからクライアント装置300のMACアドレスを取得する。ブリッジ装置100のデータ取得部113は、LCP Echo Requestパケットの宛先MACアドレスからBAS200のMACアドレスを取得する。ブリッジ装置100のデータ取得部113は、LCP Echo RequestパケットからセッションIDを取得する。ブリッジ装置100のデータ取得部113は、取得したBAS200のMACアドレス、クライアント装置300のMACアドレス、及びセッションIDを蓄積部150に格納する。
The
ブリッジ装置100の終了判定部116は、蓄積部150に格納されているMACアドレスと、MACアドレステーブル141に登録されているMACアドレスとを比較する。詳細に説明する。ブリッジ装置100の終了判定部116は、BAS200から受信したLCP Echo Requestパケットに含まれていた宛先MACアドレスとMACアドレステーブル141に登録されているMACアドレスとを比較する。
The
図10では、BAS200から受信したLCP Echo Requestパケットに含まれていた宛先MACアドレスとMACアドレステーブル141に登録されているMACアドレスとが一致したものとする。一致しない場合については、後で詳細に説明する。 In FIG. 10, it is assumed that the destination MAC address included in the LCP Echo Request packet received from the BAS200 and the MAC address registered in the MAC address table 141 match. The case of mismatch will be described in detail later.
(ステップS115)ブリッジ装置100のパケット生成部114は、蓄積部150に格納されている情報に基づいて第1のPADTパケットと第2のPADTパケットを生成する。詳細に説明する。
ブリッジ装置100のパケット生成部114は、BAS200から受信したLCP Echo Requestパケットの情報に基づいて、第1のPADTパケットを生成する。例えば、ブリッジ装置100のパケット生成部114は、第1のPADTパケットの宛先MACアドレスにBAS200のMACアドレスを登録する。ブリッジ装置100のパケット生成部114は、第1のPADTパケットの送信元MACアドレスにクライアント装置300のMACアドレスを登録する。ブリッジ装置100のパケット生成部114は、第1のPADTパケットのセッションIDに、BAS200から受信したLCP Echo Requestパケットに含まれていたセッションIDを登録する。(Step S115) The
The
ブリッジ装置100のパケット生成部114は、クライアント装置300から受信したLCP Echo Requestパケットの情報に基づいて、第2のPADTパケットを生成する。例えば、ブリッジ装置100のパケット生成部114は、第2のPADTパケットの宛先MACアドレスにクライアント装置300のMACアドレスを登録する。ブリッジ装置100のパケット生成部114は、第2のPADTパケットの送信元MACアドレスにBAS200のMACアドレスを登録する。ブリッジ装置100のパケット生成部114は、第2のPADTパケットのセッションIDに、クライアント装置300から受信したLCP Echo Requestパケットに含まれていたセッションIDを登録する。
また、ブリッジ装置100のパケット生成部114は、BAS200から受信したLCP Echo Requestパケットの情報に基づいて、第2のPADTパケットを生成してもよい。The
Further, the
(ステップS116)ブリッジ装置100の送受信部115は、第1のPADTパケットをBAS200に送信する。
(ステップS117)ブリッジ装置100の送受信部115は、第2のPADTパケットをクライアント装置300に送信する。(Step S116) The transmission /
(Step S117) The transmission /
(ステップS118)ブリッジ装置100のパケット監視部111は、BAS200及びクライアント装置300がPADTパケットを送信するのを監視する。
(ステップS119)BAS200は、PADTパケットをブリッジ装置100に送信する。(Step S118) The
(Step S119) The
(ステップS120)クライアント装置300は、PADTパケットをブリッジ装置100に送信する。
(ステップS121)ブリッジ装置100の終了判定部116は、第1、2のPADTパケットに含まれていたセッションIDと、BAS200とクライアント装置300から受信したPADTパケットに含まれているセッションIDとが同一であるか否かを判定する。ブリッジ装置100の終了判定部116は、同一の場合、BAS200とクライアント装置300でセッションを終了したことを検出する。(Step S120) The
(Step S121) In the
次に、ブリッジ装置100が実行するセッション終了処理について、フローチャートを用いて説明する。
図11は、実施の形態1のブリッジ装置が実行するセッション終了処理を示すフローチャートである。図11の説明は、図1、3、5、6、8、10を参照する。また、図11は、BAS200及びクライアント装置300がLCP Echo Requestパケットを送信した時点(すなわち、ステップS112,113の時点)から説明する。そして、ブリッジ装置100の状態は、ブリッジテーブル131が消失した状態、又はブリッジ機能がOFFの状態である。Next, the session end processing executed by the
FIG. 11 is a flowchart showing a session end process executed by the bridge device of the first embodiment. For a description of FIG. 11, see FIGS. 1, 3, 5, 6, 8, and 10. Further, FIG. 11 will be described from the time when the
(ステップS11)送受信部115は、LCP Echo RequestパケットをBAS200から受信する。また、送受信部115は、LCP Echo Requestパケットをクライアント装置300から受信する。
(ステップS12)データ取得部113は、BAS200が送信したLCP Echo Requestパケットの送信元MACアドレス、宛先MACアドレス、及びセッションIDに登録されている情報を蓄積部150に格納する。また、データ取得部113は、クライアント装置300が送信したLCP Echo Requestパケットの送信元MACアドレス、宛先MACアドレス、及びセッションIDに登録されている情報を蓄積部150に格納する。(Step S11) The transmission /
(Step S12) The
(ステップS13)終了判定部116は、BAS200から受信したLCP Echo Requestパケットに含まれていた宛先MACアドレスとMACアドレステーブル141に登録されているMACアドレスとを比較する。
(Step S13) The
(ステップS14)終了判定部116は、BAS200から受信したLCP Echo Requestパケットに含まれていた宛先MACアドレスとMACアドレステーブル141に登録されているMACアドレスとが一致するか否かを判定する。一致する場合(ステップS14でYes)、終了判定部116は、処理をステップS15に進める。
一致しない場合(ステップS14でNo)、終了判定部116は、蓄積部150に格納されている情報を廃棄する。そして、終了判定部116は、処理を終了する。(Step S14) The
If they do not match (No in step S14), the
このように、終了判定部116は、一致しない場合(ステップS14でNo)、PADTパケットをBAS200に送信しないように制御する。すなわち、終了判定部116は、セッションの終了をBAS200に指示しないように制御する。
In this way, the
(ステップS15)パケット生成部114は、第1のPADTパケットと第2のPADTパケットを生成する。
(ステップS16)送受信部115は、第1のPADTパケットをBAS200に送信する。送受信部115は、第2のPADTパケットをクライアント装置300に送信する。(Step S15) The
(Step S16) The transmission /
(ステップS17)送受信部115は、PADTパケットをBAS200から受信する。また、送受信部115は、PADTパケットをクライアント装置300から受信する。
(ステップS18)終了判定部116は、第1、2のPADTパケットに含まれていたセッションIDと、BAS200とクライアント装置300から受信したPADTパケットに含まれているセッションIDとが同一であるか否かを判定する。終了判定部116は、同一の場合、BAS200とクライアント装置300でセッションを終了したことを検出する。
なお、終了判定部116は、同一ではない場合、処理をステップS15に進めてもよい。又は、終了判定部116は、同一ではない場合、処理を終了してもよい。(Step S17) The transmission /
(Step S18) Whether or not the session ID included in the first and second PADT packets and the session ID included in the PADT packet received from the
If the
このように、制御部110は、ブリッジ機能が停止しているときに、LCP Echo RequestパケットをBAS200から受信する(ステップS11)。制御部110は、LCP Echo Requestパケットに含まれていた宛先MACアドレスとMACアドレステーブル141に登録されているMACアドレスとが一致するか否かを判定する(ステップS14)。制御部110は、一致しないと判定した場合(ステップS14でNo)、LCP Echo Requestパケットに含まれていた宛先MACアドレスのクライアント装置とBAS200で確立しているセッションの終了をBAS200に指示しないように制御する。
In this way, the
ここで、BAS200とクライアント装置301は、セッションを確立しているものとする。BAS200は、一定間隔で、LCP Echo requestパケットを送信する。BAS200が送信したLCP Echo requestパケットは、フラッディングなどにより、ブリッジ装置100に受信される。当該LCP Echo requestパケットの宛先MACアドレスには、クライアント装置301のMACアドレスが登録されている。ブリッジ装置100は、ステップS14において、クライアント装置301のMACアドレスと、MACアドレステーブル141に登録されているクライアント装置300のMACアドレスとが一致しないと判定する。そのため、ブリッジ装置100は、BAS200にPADTパケットを送信しない。よって、実施の形態1は、BAS200とクライアント装置301とで確立しているセッションをBAS200が誤って終了することを防止できる。
Here, it is assumed that the
実施の形態2.
次に、実施の形態2を説明する。実施の形態1と相違する事項を主に説明し、実施の形態1と共通する事項の説明を省略する。実施の形態2の説明では、図1〜8、10、11を参照する。Embodiment 2.
Next, the second embodiment will be described. The matters different from the first embodiment will be mainly described, and the description of the matters common to the first embodiment will be omitted. In the description of the second embodiment, FIGS. 1 to 8, 10 and 11 are referred to.
実施の形態1は、停電などが発生する前に、クライアント装置300のMACアドレスを記憶部140に格納する場合を説明した。実施の形態2は、ユーザの操作により、ブリッジ機能をOFFにしたタイミングでクライアント装置300のMACアドレスを記憶部140に格納する場合を説明する。
The first embodiment has described a case where the MAC address of the
図12は、実施の形態2のブリッジ装置の構成を示す機能ブロック図である。ブリッジ装置100aは、ブリッジ機能部120aを有する。ブリッジ機能部120aの機能については、後で詳細に説明する。
図3に示される構成と同じ、又は対応する図12の構成は、図3に示される符号と同じ符号を付している。FIG. 12 is a functional block diagram showing the configuration of the bridge device according to the second embodiment. The
The configuration of FIG. 12, which is the same as or corresponds to the configuration shown in FIG. 3, has the same reference numerals as those shown in FIG.
図13は、実施の形態2のセッション終了処理の例を示すシーケンス図である。図13の説明は、図1、4、7、8及び12を参照する。
(ステップS131)ブリッジ装置100aは、ユーザの操作によりブリッジ機能がONの状態になる。これにより、ブリッジ装置100aのブリッジ機能部120aの機能が有効になる。FIG. 13 is a sequence diagram showing an example of the session end processing of the second embodiment. For a description of FIG. 13, see FIGS. 1, 4, 7, 8 and 12.
(Step S131) The
(ステップS132)クライアント装置300は、BAS200との間でセッションを確立するために、PADIパケットをブリッジ装置100aに送信する。
(ステップS133)ブリッジ装置100aのブリッジ機能部120aは、クライアント装置300のMACアドレスをPADIパケットから取得する。ブリッジ装置100aのブリッジ機能部120aは、ブリッジテーブル131を作成する。ブリッジ装置100aのブリッジ機能部120aは、ブリッジテーブル131のクライアント装置の項目に、クライアント装置300のMACアドレスを登録する。(Step S132) The
(Step S133) The
(ステップS134)ブリッジ装置100aの送受信部115は、PADIパケットをBAS200に送信する。
(ステップS135)BAS200とクライアント装置300は、ブリッジ装置100aを介して、PPPoE認証を行う。これにより、BAS200とクライアント装置300との間でセッションが確立される。
ブリッジ装置100aのブリッジ機能部120aは、ブリッジテーブル131のセッションIDの項目に、セッションIDを登録する。ブリッジ装置100aのブリッジ機能部120aは、ブリッジテーブル131のBASの項目に、BAS200のMACアドレスを登録する。(Step S134) The transmission /
(Step S135) The
The
(ステップS136)ブリッジ装置100aは、ユーザの操作によりブリッジ機能をOFFにする指示を受け付ける。すなわち、ブリッジ装置100aのブリッジ機能部120aは、ブリッジ機能の停止指示を受信する。そして、ブリッジ装置100aのブリッジ機能部120aは、ブリッジ機能を無効にする準備を実行する。
(ステップS137)ブリッジ装置100aのブリッジ機能部120aは、ブリッジテーブル131の項目に登録されている情報をMACアドレステーブル141に登録する。例えば、ブリッジ装置100aのブリッジ機能部120aは、ブリッジテーブル131に登録されているクライアント装置300のMACアドレスを、MACアドレステーブル141に登録する。そして、ブリッジ装置100aのブリッジ機能部120aは、ブリッジ機能を無効の状態に移行する。
なお、先述したように、ブリッジ装置100は、ブリッジ機能がOFFの状態に移行しても、ブリッジ装置100の電源はONの状態のままである。(Step S136) The
(Step S137) The
As described above, in the
ここで、実施の形態1では、停電などの影響によりMACアドレステーブル141が喪失するのを防ぐため、記憶部140を不揮発性記憶装置103で実現すると説明した。しかし、実施の形態2では、MACアドレステーブル141が喪失することがなく、MACアドレステーブル141を保持する期間が短時間でよいため、記憶部140を揮発性記憶装置102で実現してもよい。
Here, in the first embodiment, it has been described that the
ステップS137の後の処理は、ステップS111〜121と同じであるため、説明を省略する。
このように、ブリッジ装置100aは、ブリッジ機能をOFFにしたタイミングでクライアント装置300のMACアドレスを記憶部140に格納する。これにより、ブリッジ装置100aは、ステップS14の判定ができる。そのため、例えば、ブリッジ装置100aは、クライアント装置301宛てのLCP Echo requestパケットをBAS200から受信した場合、BAS200にPADTパケットを送信しない。よって、実施の形態2は、BAS200が誤ってセッションを終了することを防止できる。Since the processing after step S137 is the same as that of steps S111 to 121, the description thereof will be omitted.
In this way, the
実施の形態3.
次に、実施の形態3を説明する。実施の形態1と相違する事項を主に説明し、実施の形態1と共通する事項の説明を省略する。実施の形態3の説明では、図1〜8、10、11を参照する。Embodiment 3.
Next, the third embodiment will be described. The matters different from the first embodiment will be mainly described, and the description of the matters common to the first embodiment will be omitted. In the description of the third embodiment, FIGS. 1 to 8, 10 and 11 are referred to.
実施の形態2は、ユーザの操作により、ブリッジ機能をOFFにしたタイミングでクライアント装置300のMACアドレスを記憶部140に格納する場合を説明する。実施の形態3は、任意のタイミングでクライアント装置300のMACアドレスを記憶部140に格納する場合を説明する。
The second embodiment describes a case where the MAC address of the
図14は、実施の形態3のブリッジ装置の構成を示す機能ブロック図である。ブリッジ装置100bは、制御部110b及びブリッジ機能部120bを有する。制御部110bは、パケット生成部114bを有する。パケット生成部114bは、ARP(Address Resolution Protocol)パケットを生成する。また、パケット生成部114b及びブリッジ機能部120bの機能については、後で詳細に説明する。
図3に示される構成と同じ、又は対応する図14の構成は、図3に示される符号と同じ符号を付している。FIG. 14 is a functional block diagram showing the configuration of the bridge device according to the third embodiment. The
The configuration of FIG. 14, which is the same as or corresponds to the configuration shown in FIG. 3, has the same reference numerals as those shown in FIG.
図15は、ARPパケットのフォーマットを示す図である。ARPパケットのフォーマット604は、目標IP(Internet Protocol)アドレス、送信元IPアドレス、送信元MACアドレス、及び宛先MACアドレスを含む。 FIG. 15 is a diagram showing the format of the ARP packet. The ARP packet format 604 includes a target IP (Internet Protocol) address, a source IP address, a source MAC address, and a destination MAC address.
図16は、実施の形態3のセッション終了処理の例を示すシーケンス図である。図16の説明は、図1、4、7、8、14、15を参照する。
(ステップS141)ブリッジ装置100bは、ユーザの操作によりブリッジ機能がONの状態になる。これにより、ブリッジ装置100bのブリッジ機能部120bの機能が有効になる。FIG. 16 is a sequence diagram showing an example of the session end processing of the third embodiment. For a description of FIG. 16, see FIGS. 1, 4, 7, 8, 14, and 15.
(Step S141) The
(ステップS142)ブリッジ装置100bのブリッジ機能部120bは、ブリッジ装置100bが接続するクライアント装置のMACアドレスを探索する。ここで、ブリッジ装置100bのブリッジ機能部120bは、ユーザの操作により任意のタイミングで当該探索を行ってもよい。また、ブリッジ装置100bのブリッジ機能部120bは、定期的に当該探索を行ってもよい。
(Step S142) The
ブリッジ装置100bのブリッジ機能部120bは、パケット生成部114bにARPパケットの生成を指示する。ブリッジ装置100bのパケット生成部114bは、ARPパケットを生成する。詳細に説明する。ブリッジ装置100bのパケット生成部114bは、ARPパケットの目標IPアドレスに、探索の対象であるクライアント装置に割り当てられているIPアドレスを登録する。ブリッジ装置100bのパケット生成部114bは、ARPパケットの送信元IPアドレスに、ブリッジ装置100bに割り当てられているIPアドレスを登録する。ブリッジ装置100bのパケット生成部114bは、ARPパケットの送信元MACアドレスに、ブリッジ装置100bのMACアドレスを登録する。ブリッジ装置100bのパケット生成部114bは、ARPパケットの宛先MACアドレスに、“FF:FF:FF:FF:FF:FF”を登録する。宛先MACアドレスに“FF:FF:FF:FF:FF:FF”が登録されることで、ARPパケットは、ブロードキャストで送信される。
なお、ARPパケットは、MACアドレスの送信を指示する情報である。The
The ARP packet is information instructing the transmission of the MAC address.
(ステップS143)ブリッジ装置100bのブリッジ機能部120bは、ARPパケットを送信する。すなわち、ブリッジ装置100bのブリッジ機能部120bは、クライアント装置300のMACアドレスの送信をクライアント装置300に指示する。
(ステップS144)クライアント装置300は、ARPパケットを受信する。クライアント装置300は、ARPパケットの目標IPアドレスと、クライアント装置300に割り当てられているIPアドレスとが一致していた場合、ARPパケットの応答をブリッジ装置100bに送信する。ARPパケットの応答には、クライアント装置300のMACアドレスが含まれている。(Step S143) The
(Step S144) The
(ステップS145)ブリッジ装置100bのブリッジ機能部120bは、ARPパケットの応答に含まれているクライアント装置300のMACアドレスをMACアドレステーブル141に登録する。
(ステップS146)クライアント装置300は、BAS200との間でセッションを確立するために、PADIパケットをブリッジ装置100bに送信する。(Step S145) The
(Step S146) The
(ステップS147)ブリッジ装置100bのブリッジ機能部120bは、クライアント装置300のMACアドレスをPADIパケットから取得する。ブリッジ装置100bのブリッジ機能部120bは、ブリッジテーブル131を作成する。ブリッジ装置100bのブリッジ機能部120bは、ブリッジテーブル131のクライアント装置の項目に、クライアント装置300のMACアドレスを登録する。
(Step S147) The
(ステップS148)ブリッジ装置100bの送受信部115は、PADIパケットをBAS200に送信する。
(ステップS149)BAS200とクライアント装置300は、ブリッジ装置100を介して、PPPoE認証を行う。これにより、BAS200とクライアント装置300との間でセッションが確立される。(Step S148) The transmission /
(Step S149) The
ブリッジ装置100bのブリッジ機能部120bは、ブリッジテーブル131のセッションIDの項目に、セッションIDを登録する。ブリッジ装置100bのブリッジ機能部120bは、ブリッジテーブル131のBASの項目に、BAS200のMACアドレスを登録する。
The
(ステップS150)停電が発生する。また、ステップS150は、ユーザの操作によりブリッジ機能がOFFになった場合と考えてもよい。
(ステップS151)ブリッジ装置100bは、再起動する。
ステップS151の後の処理は、ステップS111〜121と同じであるため、説明を省略する。(Step S150) A power failure occurs. Further, step S150 may be considered as a case where the bridge function is turned off by the operation of the user.
(Step S151) The
Since the processing after step S151 is the same as that of steps S111 to 121, the description thereof will be omitted.
このように、ブリッジ装置100bは、任意のタイミングでクライアント装置300のMACアドレスを記憶部140に格納する。これにより、ブリッジ装置100bは、ステップS14の判定ができる。そのため、例えば、ブリッジ装置100bは、クライアント装置301宛てのLCP Echo requestパケットをBAS200から受信した場合、BAS200にPADTパケットを送信しない。よって、実施の形態3は、BAS200が誤ってセッションを終了することを防止できる。
In this way, the
以上に説明した各実施の形態における特徴は、互いに適宜組み合わせることができる。 The features of each of the embodiments described above can be combined with each other as appropriate.
10 光回線網、 20,21,22 ネットワーク、 100,100a,100b,500 ブリッジ装置、 110,110b 制御部、 111 パケット監視部、 112 パケット識別部、 113 データ取得部、 114,114b パケット生成部、 115 送受信部、 116 終了判定部、 120,120a,120b ブリッジ機能部、 130 テーブル記憶部、 131 ブリッジテーブル、 140 記憶部、 141 MACアドレステーブル、 150 蓄積部、 160 WANポート、 170 LANポート、 200 BAS、 300,301,302,303 クライアント装置、 400 ISP。
10 Optical network, 20,21,22 network, 100,100a, 100b, 500 bridge device, 110,110b control unit, 111 packet monitoring unit, 112 packet identification unit, 113 data acquisition unit, 114,114b packet generation unit, 115 Transmission / reception unit, 116 end judgment unit, 120, 120a, 120b bridge function unit, 130 table storage unit, 131 bridge table, 140 storage unit, 141 MAC address table, 150 storage unit, 160 WAN port, 170 LAN port, 200 BAS , 300,301,302,303 client device, 400 ISP.
Claims (10)
前記第1のクライアント装置を特定する情報である第1の情報を記憶する記憶部と、
前記ブリッジ機能が停止しているときに、前記第1のクライアント装置を含む複数のクライアント装置のうちの1つのクライアント装置である第2のクライアント装置との接続を確認するための情報であり、かつ前記第2のクライアント装置を特定する情報である第2の情報を含む接続確認情報を前記情報処理装置から受信し、前記第1の情報と前記第2の情報とが一致するか否かを判定し、一致しないと判定した場合、前記第2のクライアント装置と前記情報処理装置で確立しているセッションの終了を前記情報処理装置に指示しないように制御する制御部と、
を有する中継装置。It is a relay device that relays information transmitted and received between the first client device and the information processing device by having a bridge function.
A storage unit that stores the first information, which is information for identifying the first client device,
Information for confirming the connection with the second client device, which is one of the plurality of client devices including the first client device, when the bridge function is stopped. Connection confirmation information including the second information, which is information for identifying the second client device, is received from the information processing device, and it is determined whether or not the first information and the second information match. If it is determined that they do not match, the control unit that controls not to instruct the information processing device to end the session established by the second client device and the information processing device.
A relay device having.
請求項1に記載の中継装置。The control unit determines whether or not the first information and the second information match, and if it determines that they match, the session established by the second client device and the information processing device. Instruct the information processing apparatus to end the
The relay device according to claim 1.
請求項1又は2に記載の中継装置。The control unit determines whether or not the first information and the second information match, and if it determines that they match, the session established by the second client device and the information processing device. Instruct the second client device to end the process.
The relay device according to claim 1 or 2.
請求項1から3のいずれか1項に記載の中継装置。The first information included in the information transmitted by the first client device or the information processing device is stored in the storage until the session is established between the first client device and the information processing device. It also has a bridge function unit to be stored in the unit.
The relay device according to any one of claims 1 to 3.
請求項4に記載の中継装置。The bridge function unit stores the first information included in the information for searching for the information processing device transmitted by the first client device in the storage unit.
The relay device according to claim 4.
請求項1から3のいずれか1項に記載の中継装置。When the stop instruction of the bridge function is received, the bridge function unit further includes the first information registered in the bridge information which is the information used when executing the relay, and stores the first information in the storage unit.
The relay device according to any one of claims 1 to 3.
請求項1から3のいずれか1項に記載の中継装置。It further has a bridge function unit that instructs the first client device to transmit the first information and stores the first information included in the response from the first client device in the storage unit. ,
The relay device according to any one of claims 1 to 3.
前記第2の情報は、前記第2のクライアント装置を特定する物理アドレスである、
請求項1から7のいずれか1項に記載の中継装置。The first information is a physical address that identifies the first client device.
The second information is a physical address that identifies the second client device.
The relay device according to any one of claims 1 to 7.
前記ブリッジ機能が停止しているときに、前記第1のクライアント装置を含む複数のクライアント装置のうちの1つのクライアント装置である第2のクライアント装置との接続を確認するための情報であり、かつ前記第2のクライアント装置を特定する情報である第2の情報を含む接続確認情報を前記情報処理装置から受信し、
記憶部に格納されている前記第1のクライアント装置を特定する情報である第1の情報と前記第2の情報とが一致するか否かを判定し、
一致しないと判定した場合、前記第2のクライアント装置と前記情報処理装置で確立しているセッションの終了を前記情報処理装置に指示しないように制御する、
終了判定方法。By having a bridge function, a relay device that relays information transmitted and received between the first client device and the information processing device can be used.
Information for confirming the connection with the second client device, which is one of the plurality of client devices including the first client device, when the bridge function is stopped. Connection confirmation information including the second information, which is information for identifying the second client device, is received from the information processing device, and the connection confirmation information is received.
It is determined whether or not the first information, which is the information for identifying the first client device stored in the storage unit, and the second information match.
If it is determined that they do not match, the information processing device is controlled so as not to instruct the end of the session established by the second client device and the information processing device.
End judgment method.
前記ブリッジ機能が停止しているときに、前記第1のクライアント装置を含む複数のクライアント装置のうちの1つのクライアント装置である第2のクライアント装置との接続を確認するための情報であり、かつ前記第2のクライアント装置を特定する情報である第2の情報を含む接続確認情報を前記情報処理装置から受信し、
記憶部に格納されている前記第1のクライアント装置を特定する情報である第1の情報と前記第2の情報とが一致するか否かを判定し、
一致しないと判定した場合、前記第2のクライアント装置と前記情報処理装置で確立しているセッションの終了を前記情報処理装置に指示しないように制御する、
処理を実行させる終了判定プログラム。By having a bridge function, a relay device that relays information transmitted and received between the first client device and the information processing device can be used.
Information for confirming the connection with the second client device, which is one of the plurality of client devices including the first client device, when the bridge function is stopped. Connection confirmation information including the second information, which is information for identifying the second client device, is received from the information processing device, and the connection confirmation information is received.
It is determined whether or not the first information, which is the information for identifying the first client device stored in the storage unit, and the second information match.
If it is determined that they do not match, the information processing device is controlled so as not to instruct the end of the session established by the second client device and the information processing device.
An end judgment program that executes processing.
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/JP2018/001488 WO2019142303A1 (en) | 2018-01-19 | 2018-01-19 | Relay device, completion determining method, and completion determining program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPWO2019142303A1 JPWO2019142303A1 (en) | 2020-06-18 |
| JP6833072B2 true JP6833072B2 (en) | 2021-02-24 |
Family
ID=67301412
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2019565639A Expired - Fee Related JP6833072B2 (en) | 2018-01-19 | 2018-01-19 | Relay device, end judgment method, and end judgment program |
Country Status (2)
| Country | Link |
|---|---|
| JP (1) | JP6833072B2 (en) |
| WO (1) | WO2019142303A1 (en) |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2006090465A1 (en) * | 2005-02-24 | 2006-08-31 | Fujitsu Limited | Connection support device and gateway device |
| JP5088492B2 (en) * | 2008-03-28 | 2012-12-05 | サクサ株式会社 | Relay device |
| JP2012138864A (en) * | 2010-12-28 | 2012-07-19 | Brother Ind Ltd | Communication terminal, communication system, communication method and communication program |
| JP5664320B2 (en) * | 2011-02-18 | 2015-02-04 | 三菱電機株式会社 | Relay device, packet relay method, and communication system |
| JP2013126205A (en) * | 2011-12-16 | 2013-06-24 | Nec Access Technica Ltd | Communication device, communication system, failure determination method, and failure determination program |
| JP6750950B2 (en) * | 2016-02-03 | 2020-09-02 | Necプラットフォームズ株式会社 | Communication device and communication method |
-
2018
- 2018-01-19 WO PCT/JP2018/001488 patent/WO2019142303A1/en not_active Ceased
- 2018-01-19 JP JP2019565639A patent/JP6833072B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| WO2019142303A1 (en) | 2019-07-25 |
| JPWO2019142303A1 (en) | 2020-06-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101090366B (en) | Packet transfer device with gateway selection function | |
| US7733859B2 (en) | Apparatus and method for packet forwarding in layer 2 network | |
| JP4881829B2 (en) | Packet forwarding system | |
| US7035257B2 (en) | System and method to discover and configure remotely located network devices | |
| US8493839B2 (en) | Method and system of teamed network adapters with offloaded connections | |
| US7373407B2 (en) | Communications system for establishing PPP connections between IEEE 1394 terminals and IP networks | |
| US20060159029A1 (en) | Automatic LAN/WAN port detection | |
| CN107800602A (en) | A kind of message processing method, equipment and system | |
| BR102020014994A2 (en) | METHOD FOR CONFIGURING A WIRELESS COMMUNICATION COVERAGE EXTENSION SYSTEM AND A WIRELESS COMMUNICATION COVERAGE EXTENSION SYSTEM IMPLEMENTING THIS METHOD | |
| US11516294B2 (en) | Switch device, monitoring method and monitoring program | |
| JP2005204189A (en) | Access user management system, access user management device | |
| CN109076022B (en) | Network address translation device, setting requesting device, communication system, communication method, and storage medium storing program | |
| CN101501670A (en) | Early authentication in cable modem initialization | |
| JP6445408B2 (en) | Communication system and setting method | |
| JP6833072B2 (en) | Relay device, end judgment method, and end judgment program | |
| US7986695B1 (en) | Automatic selection of site-IDs for virtual private networks | |
| US12549411B2 (en) | LAN-connected device status determination by a bridged gateway | |
| JP5310734B2 (en) | COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND NETWORK SYSTEM | |
| CN108881178A (en) | Method for sending information and device, equipment, storage medium and electronic device | |
| US8732335B2 (en) | Device communications over unnumbered interfaces | |
| JP4615435B2 (en) | Network relay device | |
| US20250168097A1 (en) | Determining a status of a virtual gateway | |
| US9537750B2 (en) | Multicast router topology discovery | |
| CN111526224B (en) | Emergency network communication method, gateway and computer readable storage medium | |
| JP2021048508A (en) | Switching hub |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200115 |
|
| 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: 20210105 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210202 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6833072 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |