JPH08298523A - Router - Google Patents

Router

Info

Publication number
JPH08298523A
JPH08298523A JP7125993A JP12599395A JPH08298523A JP H08298523 A JPH08298523 A JP H08298523A JP 7125993 A JP7125993 A JP 7125993A JP 12599395 A JP12599395 A JP 12599395A JP H08298523 A JPH08298523 A JP H08298523A
Authority
JP
Japan
Prior art keywords
packet
keep
router
local
alive
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7125993A
Other languages
Japanese (ja)
Inventor
宗彦 ▲高▼橋
Munehiko Takahashi
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP7125993A priority Critical patent/JPH08298523A/en
Publication of JPH08298523A publication Critical patent/JPH08298523A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To prevent wasteful charging even if the equipment for transmitting/ receiving a keep-alive packet and a keep-alive response packet is erroneously connected to a LAN in a router installed between the LAN and a public exchange network. CONSTITUTION: The local-side router 3 is provided with a function for disconnecting a line on the ISDN exchange network 7 when a transmission packet and a reception packet do not exist for prescribed time. A keep-alive packet filtering means 32 in the local-side router 3 is provided with a function for abolishing the keep-alive packet when it is outputted from a local-side equipment 2 to a remote-side equipment 5. When only the keep alive packet is transmitted from the local-side equipment 2, a system becomes a state where the transmission packet and the reception packet do not exist. When such state continues for a prescribed time, the local-side router 3 disconnects the line.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ローカルエリアネット
ワークと公衆交換網との間に設置されるルータに関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a router installed between a local area network and a public switched network.

【0002】[0002]

【従来の技術】ローカルエリアネットワーク(LAN)
とISDN交換網等の公衆交換網との間に配置され、T
CP/IPプロトコルをサポートする従来のルータに於
いては、パケットが一定時間送受信されない場合、回線
を切断し、無駄な課金がされないようにしたものがある
(例えば、「ネットワーク構成機器 C&C光ネットワ
ークシステム C&C−NET BRANCH4680
II LAN間接続機構取扱説明書」,1993年5月初
版,日本電気株式会社発行,P2−34〜P2−3
6)。
2. Description of the Related Art Local Area Network (LAN)
And a public switched network such as an ISDN switched network.
Some conventional routers that support the CP / IP protocol disconnect the line when packets are not transmitted / received for a certain period of time to prevent unnecessary charges (for example, "Network configuration device C & C optical network system"). C & C-NET BRANCH4680
II LAN-to-LAN Connection Mechanism Operation Manual, "May 1993, first edition, issued by NEC Corporation, P2-34 to P2-3
6).

【0003】また、LANに接続される従来の機器に於
いては、自機器がダウンしていないことを相手機器に通
知すると共に相手機器がダウンしていないことを確認す
るために、キープアライブパケット,キープアライブ応
答パケットを送受信するようにしたものがある。
In addition, in a conventional device connected to a LAN, a keep-alive packet is sent in order to notify the partner device that the own device is not down and to confirm that the partner device is not down. , There is a device that sends and receives a keep-alive response packet.

【0004】このようなキープアライブパケット,キー
プアライブ応答パケットを送受信する機器は、自機器が
ダウンしていないことを相手機器に通知し、相手機器が
ダウンしていないことを確認することができる点で有利
であるが、若し、キープアライブパケット,キープアラ
イブ応答パケットを公衆交換網に送信するようにする
と、パケットを交換する公衆交換網にコスト的負担を強
いるため、ルータを介して公衆交換網に接続されるLA
Nには接続しないようにするのが一般的である。
A device transmitting and receiving such a keep-alive packet and a keep-alive response packet can notify the partner device that its own device is not down and can confirm that the partner device is not down. However, if the keep-alive packet and the keep-alive response packet are transmitted to the public switched network, the public switched network for exchanging the packets imposes a cost burden. Therefore, the public switched network is routed through the router. Connected to LA
It is common not to connect to N.

【0005】[0005]

【発明が解決しようとする課題】上述したように、ルー
タを介して公衆交換網に接続されるLANには、キープ
アライブパケット,キープアライブ応答パケットを送受
信する機器を接続しないようにするのが一般的である
が、何らかの手違いでそのような機器が接続されてしま
う場合がある。
As described above, it is common not to connect a device for transmitting and receiving keepalive packets and keepalive response packets to the LAN connected to the public switched network via the router. However, such a device may be connected by some mistake.

【0006】若し、このような事態が発生すると、パケ
ットが一定時間送受信されない場合に回線を切断するル
ータを使用してLANと公衆交換網とを接続するように
していても、キープアライブパケット,キープアライブ
応答パケットが流れるため、回線が切断されず、無駄な
課金が行われてしまうという問題が生じる。
If such a situation occurs, even if the LAN and the public switched network are connected using a router that disconnects the line when the packet is not transmitted / received for a certain period of time, the keep-alive packet, Since the keep-alive response packet flows, the line is not disconnected, and there is a problem that useless billing is performed.

【0007】そこで、本発明の目的は、LANにキープ
アライブパケット,キープアライブ応答パケットを送受
信する機器が誤って接続された場合に於いても、無駄な
課金が行われないようにすることができるルータを提供
することにある。
Therefore, an object of the present invention is to prevent unnecessary charging even if a device for transmitting and receiving a keepalive packet and a keepalive response packet is erroneously connected to the LAN. To provide a router.

【0008】[0008]

【課題を解決するための手段】本発明は上記目的を達成
するため、ローカルエリアネットワークと公衆交換網と
の間に設置され、前記ローカルエリアネットワークに接
続された機器からルーティングすべきパケットが送信さ
れたとき回線を接続し、パケットが一定時間送受信され
ないとき回線を切断するルータに於いて、前記ローカル
エリアネットワークに接続された機器から送信されたキ
ープアライブパケットを破棄するキープアライブパケッ
トフィルタリング手段を備えたものである。
In order to achieve the above-mentioned object, the present invention is installed between a local area network and a public switched network, and a packet to be routed is transmitted from a device connected to the local area network. In the router that connects the line when the packet is transmitted and disconnects the line when the packet is not transmitted / received for a certain period of time, the device has a keep-alive packet filtering means for discarding the keep-alive packet transmitted from the device connected to the local area network. It is a thing.

【0009】[0009]

【作用】ローカルエリアネットワークに接続されている
機器からキープアライブパケットが送信されると、ルー
タのキープアライブパケットフィルタリング手段がそれ
を破棄する。従って、ローカルエリアネットワークに接
続されている機器からキープアライブパケットのみが送
信されている状態に於いては、回線が切断され、無駄な
課金が行われることはなくなる。
When the keep-alive packet is transmitted from the device connected to the local area network, the keep-alive packet filtering means of the router discards it. Therefore, in the state where only the keep-alive packet is transmitted from the device connected to the local area network, the line will not be disconnected and wasteful charging will not be performed.

【0010】[0010]

【実施例】次に本発明の実施例について図面を参照して
詳細に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0011】図1は本発明の実施例のブロック図であ
り、ローカル側機器2が接続されたローカル側LAN1
と、リモート側機器5が接続されたリモート側LAN4
と、ローカル側LAN1とISDN交換網7とを接続す
るローカル側ルータ3と、リモート側LAN4とISD
N交換網7とを接続するリモート側ルータ6とから構成
されている。
FIG. 1 is a block diagram of an embodiment of the present invention, in which a local LAN 1 to which a local device 2 is connected.
And the remote LAN 4 to which the remote device 5 is connected
, A local router 3 connecting the local LAN 1 and the ISDN switching network 7, a remote LAN 4 and an ISD
It is composed of a remote side router 6 which connects to the N-switching network 7.

【0012】ローカル側ルータ3,リモート側ルータ6
は、それぞれLAN制御手段31,61と、キープアラ
イブパケットフィルタリング手段32,62と、回線接
続手段33,63とから構成されている。
Local router 3 and remote router 6
Comprises LAN control means 31, 61, keep-alive packet filtering means 32, 62, and line connection means 33, 63, respectively.

【0013】LAN制御手段31,61は、ローカル側
ルータ3,リモート側ルータ6とローカル側LAN1,
リモート側LAN4とを接続するための機能を有する。
The LAN control means 31, 61 include a local side router 3, a remote side router 6 and a local side LAN 1,
It has a function for connecting to the remote side LAN 4.

【0014】キープアライブパケットフィルタリング手
段32,62は、ローカル側機器2,リモート側機器5
がISDN交換網7を介して相手機器に送信しようとし
たキープアライブパケットを破棄する機能,ローカル側
機器2,リモート側機器5がISDN交換網7を介して
相手機器に送信しようとしたキープアライブパケット以
外のパケットを回線制御手段33,63を介してISD
N交換網7に送信する機能を有する。
The keep-alive packet filtering means 32 and 62 are comprised of the local device 2 and the remote device 5.
A function of discarding a keep-alive packet that the device has attempted to send to the partner device via the ISDN exchange network 7, and a keep-alive packet that the local device 2 and the remote device 5 attempt to send to the partner device via the ISDN exchange network 7. Other than ISD via the line control means 33, 63
It has a function of transmitting to the N switching network 7.

【0015】回線制御手段33,63は、相手ルータと
回線が接続されていない状態に於いてキープアライブパ
ケットフィルタリング手段32,62からパケットが渡
された場合、回線接続を行って相手ルータにパケットを
送信する機能,相手ルータと回線が接続されている状態
に於いてキープアライブパケットフィルタリング手段3
2,62からパケットが渡された場合、既に接続されて
いる回線を介して相手ルータにパケットを送信する機
能,相手ルータとの間で一定時間パケットが送受信され
ない場合、回線を切断する機能等を有する。
When the packet is passed from the keep-alive packet filtering means 32 or 62 while the line is not connected to the partner router, the line controller 33 or 63 connects the line and sends the packet to the partner router. Keep-alive packet filtering means 3 with the function of transmitting and the line connected to the partner router
When a packet is passed from 2, 62, the function to send the packet to the other router through the already connected line, the function to disconnect the line when the packet is not sent and received with the other router for a certain period of time, etc. Have.

【0016】図2は本実施例の動作説明図であり、以下
各図を参照して本実施例の動作を説明する。
FIG. 2 is a diagram for explaining the operation of this embodiment. The operation of this embodiment will be described below with reference to the drawings.

【0017】ローカル側機器2がリモート側機器5に送
信するSYNパケットをローカル側LAN1に送出する
と、ローカル側ルータ3内のLAN制御手段31によっ
てSYNパケットが受信される(S21)。
When the local device 2 sends the SYN packet to be transmitted to the remote device 5 to the local LAN 1, the LAN control means 31 in the local router 3 receives the SYN packet (S21).

【0018】キープアライブパケットフィルタリング手
段32では、LAN制御手段31がパケットを受信する
と、それがキープアライブパケットである否かを判断
し、キープアライブパケットである場合は破棄し、キー
プアライブパケットでない場合は回線制御手段33に渡
す。この例の場合、LAN制御手段31が受信したパケ
ットはSYNパケットであるので、キープアライブパケ
ットフィルタリング手段32は、それを回線制御手段3
3に渡すことになる。
In the keep-alive packet filtering means 32, when the LAN control means 31 receives a packet, it judges whether or not it is a keep-alive packet, discards it if it is a keep-alive packet, and discards it if it is not a keep-alive packet. It is passed to the line control means 33. In the case of this example, since the packet received by the LAN control means 31 is a SYN packet, the keep-alive packet filtering means 32 regards it as the line control means 3.
It will be passed to 3.

【0019】回線制御手段33は、パケットが渡される
と、そのパケットの送信先のリモート側機器5に対応す
るリモート側ルータ6と回線が接続されているか否かを
判断し、接続されていない場合には回線接続を行った
後、パケットをリモート側ルータ6に送信し、接続され
ている場合は、既に接続済みの回線を使用してパケット
をリモート側ルータに送信する。今、回線が接続されて
いないとすると、回線制御手段33は、回線接続動作を
行ってローカル側ルータ3とリモート側ルータ6とをI
SDN交換網7を介して接続し、その後、SYNパケッ
トをISDN交換網7を介してリモート側ルータ6に送
信する(S22,S23)。
When the packet is delivered, the line control means 33 judges whether or not the line is connected to the remote side router 6 corresponding to the remote side device 5 of the destination of the packet, and if not connected. After connecting the line, the packet is transmitted to the remote side router 6, and if connected, the packet is transmitted to the remote side router using the already connected line. If the line is not connected now, the line control means 33 performs a line connection operation to connect the local side router 3 and the remote side router 6 to each other.
Connection is made via the SDN exchange network 7, and then a SYN packet is transmitted to the remote side router 6 via the ISDN exchange network 7 (S22, S23).

【0020】リモート側ルータ6では、SYNパケット
を受信すると、それをリモート側機器5に送信し、リモ
ート側機器5はSYNパケットを受信すると、それに対
する応答としてSYN−ACKパケットを送信する(S
24,S25)。このSYN−ACKパケットは、リモ
ート側ルータ6,ISDN交換網7,ローカル側ルータ
3,ローカル側LAN1を介してローカル側機器2に送
られる(S25〜S27)。
When the remote-side router 6 receives the SYN packet, it sends it to the remote-side device 5, and when the remote-side device 5 receives the SYN packet, it sends a SYN-ACK packet as a response thereto (S
24, S25). This SYN-ACK packet is sent to the local device 2 via the remote router 6, the ISDN switching network 7, the local router 3, and the local LAN 1 (S25 to S27).

【0021】ローカル側機器2は、SYN−ACKパケ
ットを受信すると、リモート側機器5に送信すべきデー
タを含んだ(DATA+PUSH)パケットをローカル
側LAN1に出力する(S28)。
Upon receiving the SYN-ACK packet, the local device 2 outputs a (DATA + PUSH) packet containing data to be transmitted to the remote device 5 to the local LAN 1 (S28).

【0022】この(DATA+PUSH)パケットは、
ローカル側ルータ3,ISDN交換網7,リモート側ル
ータ6を介してリモート側機器5に送られ(S29,S
30)、それに対する応答であるACKパケットがリモ
ート側ルータ6,ISDN交換網7,ローカル側ルータ
3を介してローカル側機器2に送られる(S31〜S3
3)。
This (DATA + PUSH) packet is
It is sent to the remote-side device 5 via the local-side router 3, the ISDN switching network 7, and the remote-side router 6 (S29, S
30), an ACK packet as a response thereto is sent to the local device 2 via the remote router 6, the ISDN switching network 7, and the local router 3 (S31 to S3).
3).

【0023】今、ローカル側機器2がキープアライブパ
ケット,キープアライブ応答パケットの送受信機能を有
する機器であるとすると、ACKパケットを受信後、ロ
ーカル側機器2に送信すべきデータがない場合には、リ
モート側機器5に対してキープアライブパケットを送出
することになる(S41〜S47)。
Now, assuming that the local device 2 is a device having a function of transmitting and receiving keepalive packets and keepalive response packets, if there is no data to be transmitted to the local device 2 after receiving the ACK packet, A keep-alive packet is sent to the remote device 5 (S41 to S47).

【0024】このキープアライブパケットは、ローカル
側ルータ3のLAN制御手段31で受信されるが、キー
プアライブパケットであるので、キープアライブパケッ
トフィルタリング手段32によって破棄され、回線制御
手段33には渡されない。このため、回線制御手段33
は、パケットを送信も受信もしない状態となり、この状
態が一定時間続くと、回線制御手段33は回線切断動作
を行い、ローカル側ルータ3とリモート側ルータ6との
間の回線を切断する(S51)。
This keep-alive packet is received by the LAN control means 31 of the local side router 3, but since it is a keep-alive packet, it is discarded by the keep-alive packet filtering means 32 and is not passed to the line control means 33. Therefore, the line control means 33
Becomes a state in which neither packet is transmitted nor received, and when this state continues for a certain period of time, the line control means 33 performs a line disconnection operation to disconnect the line between the local side router 3 and the remote side router 6 (S51). ).

【0025】その後、リモート側ルータ6へ送信するデ
ータが発生すると、ローカル側機器2は、そのデータを
含む(DATA+PUSH)パケットをリモート側機器
5に対して送出する(S61)。
After that, when data to be transmitted to the remote side router 6 is generated, the local side device 2 sends a (DATA + PUSH) packet containing the data to the remote side device 5 (S61).

【0026】この(DATA+PUSH)パケットは、
キープアライブパケットでないことから、LAN制御手
段31で受信された後、キープアライブパケットフィル
タリング手段32によって回線制御手段33に渡され
る。
This (DATA + PUSH) packet is
Since it is not a keep-alive packet, it is received by the LAN control means 31 and then passed to the line control means 33 by the keep-alive packet filtering means 32.

【0027】回線制御手段33は、現時点ではローカル
側ルータ3とリモート側ルータ6との間の回線は切断状
態になっていることから、回線接続を行い(S62)、
その後、(DATA+PUSH)パケットをリモート側
ルータに送信する(S63)。
Since the line between the local side router 3 and the remote side router 6 is currently in a disconnected state, the line control means 33 connects the line (S62),
Then, the (DATA + PUSH) packet is transmitted to the remote router (S63).

【0028】[0028]

【発明の効果】以上説明したように本発明のルータは、
ローカルエリアネットワークに接続されている機器から
送信されたキープアライブパケットを破棄するキープア
ライブパケットフィルタリング手段を備え、キープアラ
イブパケットが公衆交換網を介して送受信されないよう
にしているので、ローカルエリアネットワークにキープ
アライブパケット,キープアライブ応答パケットを送受
信する機器が誤って接続された場合に於いても、キープ
アライブパケットによって回線の切断が妨げられるとい
うことがなくなり、この結果、無駄な課金を防ぐことが
できる。
As described above, the router of the present invention is
Keep-alive packet filtering means that discards keep-alive packets sent from devices connected to the local area network is provided to prevent keep-alive packets from being sent and received over the public switched network. Even if a device that transmits and receives the alive packet and the keepalive response packet is erroneously connected, the keepalive packet does not prevent the disconnection of the line, and as a result, it is possible to prevent wasteful billing.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】本発明の実施例の動作説明図である。FIG. 2 is an operation explanatory diagram of the embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1…ローカル側LAN 2…ローカル側機器 3…ローカル側ルータ 31…LAN制御手段 32…キープアライブパケットフィルタリング手段 33…回線制御手段 4…リモート側LAN 5…リモート側機器 6…リモート側ルータ 61…LAN制御手段 62…キープアライブパケットフィルタリング手段 63…回線制御手段 7…ISDN交換網 1 ... Local side LAN 2 ... Local side device 3 ... Local side router 31 ... LAN control means 32 ... Keep alive packet filtering means 33 ... Line control means 4 ... Remote side LAN 5 ... Remote side device 6 ... Remote side router 61 ... LAN Control means 62 ... Keep-alive packet filtering means 63 ... Line control means 7 ... ISDN switching network

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 ローカルエリアネットワークと公衆交換
網との間に設置され、前記ローカルエリアネットワーク
に接続された機器からルーティングすべきパケットが送
信されたとき回線を接続し、パケットが一定時間送受信
されないとき回線を切断するルータに於いて、 前記ローカルエリアネットワークに接続された機器から
送信されたキープアライブパケットを破棄するキープア
ライブパケットフィルタリング手段を備えたことを特徴
とするルータ。
1. A line is connected when a packet to be routed is transmitted from a device connected to the local area network and is installed between a local area network and a public switched network, and the packet is not transmitted or received for a certain period of time. A router for disconnecting a line, comprising: keep-alive packet filtering means for discarding a keep-alive packet transmitted from a device connected to the local area network.
【請求項2】 前記キープアライブパケットフィルタリ
ング手段は、前記ローカルエリアネットワークに接続さ
れている機器から送信されたキープアライブパケット以
外のパケットを前記公衆交換網に送信することを特徴と
する請求項1記載のルータ。
2. The keep-alive packet filtering means transmits packets other than keep-alive packets transmitted from a device connected to the local area network to the public switched network. Router.
【請求項3】 前記公衆交換網は、ISDN交換網であ
ることを特徴とする請求項2記載のルータ。
3. The router according to claim 2, wherein the public switched network is an ISDN switched network.
JP7125993A 1995-04-26 1995-04-26 Router Pending JPH08298523A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7125993A JPH08298523A (en) 1995-04-26 1995-04-26 Router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7125993A JPH08298523A (en) 1995-04-26 1995-04-26 Router

Publications (1)

Publication Number Publication Date
JPH08298523A true JPH08298523A (en) 1996-11-12

Family

ID=14924073

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7125993A Pending JPH08298523A (en) 1995-04-26 1995-04-26 Router

Country Status (1)

Country Link
JP (1) JPH08298523A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000042942A (en) * 1998-12-28 2000-07-15 윤종용 Method for controlling router access by use of charge information
JP2008217383A (en) * 2007-03-05 2008-09-18 Alaxala Networks Corp Authentication system and information repeater
JP2013117729A (en) * 2005-02-01 2013-06-13 Qualcomm Inc Method for discontinuous transmission and accurate reproduction of background noise information
JP2017085302A (en) * 2015-10-27 2017-05-18 キヤノンマーケティングジャパン株式会社 Information processing device, information processing system, control method thereof, and program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
DATA COMMUNICATIONS=1994 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000042942A (en) * 1998-12-28 2000-07-15 윤종용 Method for controlling router access by use of charge information
JP2013117729A (en) * 2005-02-01 2013-06-13 Qualcomm Inc Method for discontinuous transmission and accurate reproduction of background noise information
JP2008217383A (en) * 2007-03-05 2008-09-18 Alaxala Networks Corp Authentication system and information repeater
JP2017085302A (en) * 2015-10-27 2017-05-18 キヤノンマーケティングジャパン株式会社 Information processing device, information processing system, control method thereof, and program

Similar Documents

Publication Publication Date Title
US6259538B1 (en) Real-time facsimile gateway
JP2721303B2 (en) Method of transmitting route information of connection device
JP2003289299A (en) Communication connecting apparatus for executing function of security protocol, and communication connecting method thereof
US20060182131A1 (en) Gateway interface control
JPH08298523A (en) Router
JP2003258844A (en) Network terminating device of internet protocol network and method for operating its redundancy system
Cisco X.25 and LAPB Commands
Cisco X.25 Commands
Cisco X.25 and LAPB Commands
Cisco X.25 and LAPB Commands
Cisco X.25 and LAPB Commands
Cisco X.25 and LAPB Commands
Cisco X.25 Configuration Commands
Cisco Commands: debug ipx ipxwan through debug lane client
Cisco X.25 and LAPB Commands
Cisco X.25 and LAPB Commands
Cisco X.25 and LAPB Commands
Cisco X.25 Configuration Commands
Cisco X.25 Configuration Commands
Cisco X.25 Configuration Commands
Cisco X.25 Configuration Commands
Cisco PRI Backhaul Using the Stream Control Transmission Protocol and the ISDN Q.921 User Adaptation Layer
JPH058896B2 (en)
JP3637893B2 (en) Separation method and separation method for network address translation device
JP3041533B2 (en) LAN connection device