JPH10336243A - Inter-dialup router communication system and inter-dialup router communication method - Google Patents

Inter-dialup router communication system and inter-dialup router communication method

Info

Publication number
JPH10336243A
JPH10336243A JP14186297A JP14186297A JPH10336243A JP H10336243 A JPH10336243 A JP H10336243A JP 14186297 A JP14186297 A JP 14186297A JP 14186297 A JP14186297 A JP 14186297A JP H10336243 A JPH10336243 A JP H10336243A
Authority
JP
Japan
Prior art keywords
address
router
terminal
transmitting
receiving
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
JP14186297A
Other languages
Japanese (ja)
Inventor
Jiro Kagayama
次郎 加賀山
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 JP14186297A priority Critical patent/JPH10336243A/en
Publication of JPH10336243A publication Critical patent/JPH10336243A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)
  • Communication Control (AREA)
  • Telephonic Communication Services (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an inter-dialup router communication system and an inter-dialup router communication method that are executed through a terminal dialup IP service by an Internet service provider ISP at. a low communication cost without direct communication between a transmission terminal and a reception terminal. SOLUTION: A communication system between inter-dialup routers has a means by which one B channel 11 in two B channels 11, 12 of the ISDN is used to allow routers to make direct communication and which controls the other B channel 12 and exchanges information as to IP addresses acquired from ISPs 14, 15 of both the routers and as to IP address of a communication terminal. Furthermore, the other B channel 12 has a means that conducts communication via an ISP as an exclusive channel for data transmission reception.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はダイヤルアップルー
タ間の通信システムおよびダイヤルアップルータ間の通
信方法に関し、特にインターネットサービスプロバイダ
(以下、ISPという)の端末型ダイヤルアップIPサ
ービスを利用し、遠地間の通信において経済的な通信を
可能とさせるためのダイヤルアップルータ間の通信シス
テムおよびダイヤルアップルータ間の通信方法に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication system between dial-up routers and a communication method between dial-up routers. More particularly, the present invention relates to a terminal-type dial-up IP service provided by an Internet service provider (hereinafter referred to as an ISP). TECHNICAL FIELD The present invention relates to a communication system between dial-up routers and a communication method between dial-up routers to enable economical communication in the communication of the present invention.

【0002】[0002]

【従来の技術】従来、複数の通信端末がLANで接続さ
れたネットワークが2地点にあった場合、それぞれのネ
ットワーク上にルータ装置を用意して、そのルータ装置
がISDN回線のBチャンネルを用いて直接接続し、2
地点間の通信端末間のデ−タ通信をする方法が用いられ
ている。
2. Description of the Related Art Conventionally, when there are two networks where a plurality of communication terminals are connected by LAN, router devices are prepared on each network, and the router devices use the B channel of the ISDN line. Direct connection, 2
A method of performing data communication between communication terminals between points is used.

【0003】例えば、特開平4−326226号公報に
は、ISDN端末のBチャンネルがISDN−LAN接
続端末のBチャンネルに対して直接接続し、そのISD
N端末とISDN−LAN端末に接続されたLAN端末
がデ−タを通信する技術が記載されている。
For example, Japanese Patent Application Laid-Open No. 4-326226 discloses that the B channel of an ISDN terminal is directly connected to the B channel of an ISDN-LAN connection terminal, and the ISD
A technique is described in which N terminals and LAN terminals connected to ISDN-LAN terminals communicate data.

【0004】一般に、ルータ装置同士が間接的に接続す
る手段としては、ISPとLAN型ダイヤルアップIP
サービスを契約し、そのISPからあらかじめ固定的に
割り当てられるIPアドレスを用いた通信が行われる。
Generally, means for indirectly connecting router devices include an ISP and a LAN type dial-up IP.
A service is contracted, and communication is performed using an IP address fixedly assigned in advance by the ISP.

【0005】[0005]

【発明が解決しようとする課題】従来技術の問題点は、
通信コストが非常に高くなるということである。
Problems with the prior art are as follows.
The communication cost is very high.

【0006】ルータ装置間がBチャンネルを用いて直接
接続されるため、通信端末間の距離が遠隔になるほど一
定の通信データ量に対する通信費用が高くなるという問
題がある。また、ISPのLAN型ダイヤルアップIP
サービスも、ISPに対する契約料が高価であるという
問題がある。
[0006] Since the routers are directly connected using the B channel, there is a problem that the communication cost for a certain amount of communication data increases as the distance between the communication terminals becomes longer. Also, ISP LAN type dial-up IP
The service also has a problem that the contract fee for the ISP is expensive.

【0007】本発明の目的は、送信端末と受信端末が直
接通信せずに、通信コストが低いISPの端末型ダイヤ
ルアップIPサービスを通じたダイヤルアップルータ間
の通信システムおよびダイヤルアップルータ間の通信方
法を提供することにある。
An object of the present invention is to provide a communication system between dial-up routers and a communication method between dial-up routers through a terminal type dial-up IP service of an ISP having a low communication cost without directly transmitting and receiving terminals. Is to provide.

【0008】[0008]

【課題を解決するための手段】本発明のダイヤルアップ
ルータ間の通信システムは、送信ルータと、受信ルータ
と、送信ルータに接続された送信端末と、受信ルータに
接続された受信端末と、ISDNと、送信ルータがIS
DNを通じて接続可能なインターネットサービスプロバ
イダのアクセスポイントとであるISPaと、受信ルー
タがISDNを通じて接続可能なインターネットサービ
スプロバイダのアクセスポイントであるISPbと、I
SPaおよびISPbを通じて接続されるインターネッ
トで構成されるダイヤルアップルータ間の通信システム
であって、送信ルータは送信ルータに接続された送信端
末のIPアドレスを収集し、送信端末のIPアドレスを
端末アドレスとして登録する送信ルータのローカルホス
トテーブルを作成し、受信ルータは受信ルータに接続さ
れた受信端末のIPアドレスを収集し、受信端末のIP
アドレスを端末アドレスとして登録する受信ルータのロ
ーカルホストテーブルを作成し、送信端末から送信デー
タを送信ルータに送信し、送信データの先頭には、デー
タリンク層であるイーサーネットのへッダがあり、続い
てネットワーク層のIPヘッダがあり、IPヘッダの送
信元IPアドレスには、送信端末のIPアドレスが示さ
れ、送信先IPアドレスには、受信端末のIPアドレス
が示され、続いてトランスポート層のへッダがあり、続
いて実デ−タがあり、送信端末から送信された送信デー
タが、送信ルータに到着すると、送信ルータはISDN
の第1のBチャンネルである制御用Bチャンネルを使用
して、受信ルータに発呼を行い、受信ルータが着信を受
け付け、送信ルータと接続を確認したら、次に送信ルー
タはISPaに発呼を行い制御用Bチャンネルの第1の
IPアドレスを取得し、受信ルータはISPbに発呼を
行い制御用Bチャンネルの第2のIPアドレスを取得
し、送信ルータは、第1のIPアドレスと送信ルータの
ローカルホストテーブルを、受信ルータに送信し、送信
ルータのローカルホストテーブルは受信ルータのリモー
トホストテーブルとなり、受信ルータは、第2のIPア
ドレスと受信ルータのローカルホストテーブルを、送信
ルータに送信し、受信ルータのローカルホストテーブル
は送信ルータのリモートホストテーブルとなり、ここ
で、制御用Bチャンネルはもはや必要とならないため切
断され、送信ルータは、送信端末からの送信データに対
して、IPヘッダの変換処理を行い、IPヘッダの変換
処理は、送信ルータのローカルホストテーブルの送信端
末のIPアドレス・エントリを参照し、送信端末のIP
アドレスから端末アドレスを導き出し送信元端末アドレ
スとし、送信ルータのリモートホストテーブルの受信端
末のIPアドレス・エントリを参照し、受信端末のIP
アドレスから端末アドレスを導き出し送信先端末アドレ
スとし、次に、送信元IPアドレスを第1のIPアドレ
スに置き換え、送信先IPアドレスを第2のIPアドレ
スに置き換え、次に、送信元端末アドレスと送信先端末
アドレスをIPヘッダのオプションフィールドに追加す
る処理であり、送信ルータは、IPヘッダの変換処理後
の送信データをISDNの第2のBチャンネルであるデ
ータ転送用Bチャンネルに送信し、IPヘッダの変換処
理後の送信データは受信ルータで受信され、受信ルータ
は、送信ルータからの送信データに対して、IPヘッダ
の変換処理を行い、IPヘッダの変換処理は、受信ルー
タのリモートホストテーブルの送信端末のIPアドレス
・エントリを参照し、送信元端末アドレスから送信端末
のIPアドレスを導き出し新送信元端末アドレスとし、
受信ルータのローカルホストテーブルの受信端末のIP
アドレス・エントリを参照し、送信先端末アドレスから
受信端末のIPアドレスを導き出し新送信先端末アドレ
スとし、次に、IPヘッダに含まれる送信元端末アドレ
スと送信先端末アドレスを削除し、次に、送信元IPア
ドレスを新送信元IPアドレスに置き換え、送信先IP
アドレスを新送信先IPアドレスに置き換える処理であ
り、IPヘッダの変換処理後の送信データは、送信端末
が出力したオリジナルの送信データに復元され、受信端
末で受信が可能となり通信は完了し、通信完了後は、送
信ルータにおいて送信端末からの無通信を検出すること
により、送信ルータと受信ルータのデータ転送用Bチャ
ンネルは切断される手段を有する。
A communication system between dial-up routers according to the present invention includes a transmitting router, a receiving router, a transmitting terminal connected to a transmitting router, a receiving terminal connected to a receiving router, and an ISDN. And the sending router is IS
ISPa, which is an access point of an Internet service provider connectable through the DN, ISPb, which is an access point of the Internet service provider which the receiving router can connect through ISDN,
A communication system between dial-up routers composed of the Internet connected through SPa and ISPb, wherein a transmission router collects an IP address of a transmission terminal connected to the transmission router and uses the IP address of the transmission terminal as a terminal address. Creates a local host table for the sending router to be registered, and the receiving router collects the IP address of the receiving terminal connected to the receiving router, and
Create a local host table of the receiving router that registers the address as the terminal address, transmit the transmitting data from the transmitting terminal to the transmitting router, and at the beginning of the transmitting data, there is an Ethernet header that is the data link layer, Subsequently, there is an IP header of a network layer. The source IP address of the IP header indicates the IP address of the transmitting terminal, the destination IP address indicates the IP address of the receiving terminal, and then the transport layer. When the transmission data transmitted from the transmission terminal arrives at the transmission router, the transmission router transmits the ISDN.
A call is made to the receiving router using the control B channel, which is the first B channel, and the receiving router accepts the incoming call and confirms the connection with the transmitting router. The receiving router obtains a first IP address of the control B channel, the receiving router makes a call to ISPb to obtain a second IP address of the controlling B channel, and the transmitting router transmits the first IP address and the transmitting router. The local host table of the transmitting router becomes the remote host table of the receiving router, and the receiving router transmits the second IP address and the local host table of the receiving router to the transmitting router. The local host table of the receiving router becomes the remote host table of the transmitting router, where the control B channel is used. Is no longer needed, the sending router performs an IP header conversion process on the transmission data from the sending terminal, and the IP header conversion process uses the IP address of the sending terminal in the local host table of the sending router. -Refer to the entry and send the IP of the sending terminal
The terminal address is derived from the address and used as the source terminal address. The IP address entry of the receiving terminal in the remote host table of the transmitting router is referred to,
The terminal address is derived from the address and used as the destination terminal address, then the source IP address is replaced with the first IP address, the destination IP address is replaced with the second IP address, and then the source terminal address and the transmission This is processing for adding the destination terminal address to the option field of the IP header. The transmitting router transmits the transmission data after the IP header conversion processing to the data transfer B channel which is the second B channel of the ISDN. The transmission data after the conversion processing is received by the receiving router, and the receiving router performs an IP header conversion processing on the transmission data from the transmission router. The IP header conversion processing is performed in the remote host table of the receiving router. Referring to the IP address entry of the transmitting terminal, the IP address of the transmitting terminal is obtained from the source terminal address. A new transmission source terminal address out come,
IP of the receiving terminal in the local host table of the receiving router
With reference to the address entry, the IP address of the receiving terminal is derived from the destination terminal address as a new destination terminal address, and then the source terminal address and the destination terminal address included in the IP header are deleted. Replace the source IP address with the new source IP address, and
This is a process of replacing the address with the new destination IP address. The transmission data after the IP header conversion process is restored to the original transmission data output by the transmission terminal, and the reception terminal can receive the data, and the communication is completed. After completion, the transmitting router has a means for disconnecting the data transfer B channel between the transmitting router and the receiving router by detecting no communication from the transmitting terminal.

【0009】本発明のダイヤルアップルータ間の通信方
法は、送信ルータと、受信ルータと、送信ルータに接続
された送信端末と、受信ルータに接続された受信端末
と、ISDNと、送信ルータがISDNを通じて接続可
能なインターネットサービスプロバイダのアクセスポイ
ントとであるISPaと、受信ルータがISDNを通じ
て接続可能なインターネットサービスプロバイダのアク
セスポイントであるISPbと、ISPaおよびISP
bを通じて接続されるインターネットで構成されるダイ
ヤルアップルータ間の通信システムを使用するダイヤル
アップルータ間の通信方法であって、送信ルータは送信
ルータに接続された送信端末のIPアドレスを収集し、
送信端末のIPアドレスを端末アドレスとして登録する
送信ルータのローカルホストテーブルを作成し、受信ル
ータは受信ルータに接続された受信端末のIPアドレス
を収集し、受信端末のIPアドレスを端末アドレスとし
て登録する受信ルータのローカルホストテーブルを作成
し、送信端末から送信データを送信ルータに送信し、送
信データの先頭には、データリンク層であるイーサーネ
ットのへッダがあり、続いてネットワーク層のIPヘッ
ダがあり、IPヘッダの送信元IPアドレスには、送信
端末のIPアドレスが示され、送信先IPアドレスに
は、受信端末のIPアドレスが示され、続いてトランス
ポート層のへッダがあり、続いて実デ−タがあり、送信
端末から送信された送信データが、送信ルータに到着す
ると、送信ルータはISDNの第1のBチャンネルであ
る制御用Bチャンネルを使用して、受信ルータに発呼を
行い、受信ルータが着信を受け付け、送信ルータと接続
を確認したら、次に送信ルータはISPaに発呼を行い
制御用Bチャンネルの第1のIPアドレスを取得し、受
信ルータはISPbに発呼を行い制御用Bチャンネルの
第2のIPアドレスを取得し、送信ルータは、第1のI
Pアドレスと送信ルータのローカルホストテーブルを、
受信ルータに送信し、送信ルータのローカルホストテー
ブルは受信ルータのリモートホストテーブルとなり、受
信ルータは、第2のIPアドレスと受信ルータのローカ
ルホストテーブルを、送信ルータに送信し、受信ルータ
のローカルホストテーブルは送信ルータのリモートホス
トテーブルとなり、ここで、制御用Bチャンネルはもは
や必要とならないため切断され、送信ルータは、送信端
末からの送信データに対して、IPヘッダの変換処理を
行い、IPヘッダの変換処理は、送信ルータのローカル
ホストテーブルの送信端末のIPアドレス・エントリを
参照し、送信端末のIPアドレスから端末アドレスを導
き出し送信元端末アドレスとし、送信ルータのリモート
ホストテーブルの受信端末のIPアドレス・エントリを
参照し、受信端末のIPアドレスから端末アドレスを導
き出し送信先端末アドレスとし、次に、送信元IPアド
レスを第1のIPアドレスに置き換え、送信先IPアド
レスを第2のIPアドレスに置き換え、次に、送信元端
末アドレスと送信先端末アドレスをIPヘッダのオプシ
ョンフィールドに追加する処理であり、送信ルータは、
IPヘッダの変換処理後の送信データをISDNの第2
のBチャンネルであるデータ転送用Bチャンネルに送信
し、IPヘッダの変換処理後の送信データは受信ルータ
で受信され、受信ルータは、送信ルータからの送信デー
タに対して、IPヘッダの変換処理を行い、IPヘッダ
の変換処理は、受信ルータのリモートホストテーブルの
送信端末のIPアドレス・エントリを参照し、送信元端
末アドレスから送信端末のIPアドレスを導き出し新送
信元端末アドレスとし、受信ルータのローカルホストテ
ーブルの受信端末のIPアドレス・エントリを参照し、
送信先端末アドレスから受信端末のIPアドレスを導き
出し新送信先端末アドレスとし、次に、IPヘッダに含
まれる送信元端末アドレスと送信先端末アドレスを削除
し、次に、送信元IPアドレスを新送信元IPアドレス
に置き換え、送信先IPアドレスを新送信先IPアドレ
スに置き換える処理であり、IPヘッダの変換処理後の
送信データは、送信端末が出力したオリジナルの送信デ
ータに復元され、受信端末で受信が可能となり通信は完
了し、通信完了後は、送信ルータにおいて送信端末から
の無通信を検出することにより、送信ルータと受信ルー
タのデータ転送用Bチャンネルは切断される。
The communication method between the dial-up routers according to the present invention includes a transmitting router, a receiving router, a transmitting terminal connected to the transmitting router, a receiving terminal connected to the receiving router, an ISDN, and an ISDN. ISPb which is an access point of an Internet service provider which can be connected through ISDN, ISPb which is an access point of an Internet service provider which can be connected through an ISDN, ISPa and ISP
b. A communication method between dial-up routers using a communication system between dial-up routers constituted by the Internet connected through b, wherein the transmitting router collects an IP address of a transmitting terminal connected to the transmitting router,
A local host table of the transmitting router that registers the IP address of the transmitting terminal as the terminal address is created, the receiving router collects the IP addresses of the receiving terminals connected to the receiving router, and registers the IP address of the receiving terminal as the terminal address. Creates a local host table for the receiving router, sends the sending data from the sending terminal to the sending router, and at the beginning of the sending data is an Ethernet header that is the data link layer, followed by the IP header of the network layer The source IP address of the IP header indicates the IP address of the transmitting terminal, the destination IP address indicates the IP address of the receiving terminal, followed by a header in the transport layer, Next, there is actual data, and when the transmission data transmitted from the transmission terminal arrives at the transmission router, the transmission router Using the control B channel, which is the first B channel of SDN, a call is made to the receiving router, and the receiving router accepts the incoming call and confirms the connection with the transmitting router. To obtain the first IP address of the control B channel, the receiving router makes a call to ISPb to obtain the second IP address of the control B channel, and the transmitting router sets the first I
P address and local host table of sending router,
Sends to the receiving router, the local host table of the sending router becomes the remote host table of the receiving router, and the receiving router sends the second IP address and the local host table of the receiving router to the transmitting router, and the local host of the receiving router The table becomes a remote host table of the transmitting router, where the control B channel is no longer needed, and is disconnected. The transmitting router performs an IP header conversion process on the transmission data from the transmitting terminal, In the conversion process, the terminal address is derived from the IP address of the transmitting terminal by referring to the IP address entry of the transmitting terminal in the local host table of the transmitting router, and is used as the source terminal address. Refer to the address entry, and The terminal address is derived from the IP address and set as the destination terminal address, then the source IP address is replaced with the first IP address, the destination IP address is replaced with the second IP address, and then the source terminal address and This is a process of adding a destination terminal address to an option field of an IP header.
The transmission data after the conversion processing of the IP header is transmitted to the second
The transmission data after the IP header conversion processing is received by the receiving router, and the receiving router performs the IP header conversion processing on the transmission data from the transmitting router. Then, the IP header conversion process refers to the IP address entry of the transmitting terminal in the remote host table of the receiving router, derives the IP address of the transmitting terminal from the source terminal address, sets it as the new source terminal address, and Referring to the IP address entry of the receiving terminal in the host table,
Deriving the IP address of the receiving terminal from the destination terminal address as a new destination terminal address, then deleting the source terminal address and destination terminal address contained in the IP header, and then newly transmitting the source IP address This is a process of replacing the source IP address with the source IP address and replacing the destination IP address with the new destination IP address. The transmission data after the IP header conversion process is restored to the original transmission data output by the transmission terminal and received by the reception terminal. Is completed, and the communication is completed. After the communication is completed, the transmitting router detects no communication from the transmitting terminal, and thus the B channel for data transfer between the transmitting router and the receiving router is disconnected.

【0010】即ち、本発明のダイヤルアップルータ間の
通信システムは、ISDNの2つのBチャンネルのう
ち、1つのBチャンネルを使用してルータ装置同士が直
接通信し、もう一方のBチャンネルの制御と、両ルータ
装置のISPから取得したIPアドレスと通信端末のI
Pアドレス情報についての情報を交換する手段を有す
る。
That is, in the communication system between the dial-up routers of the present invention, the router devices directly communicate with each other using one of the two B channels of the ISDN, and control and control of the other B channel. , The IP address obtained from the ISP of both routers and the I
It has means for exchanging information about P address information.

【0011】また、もう一方のBチャンネルは、データ
を送受信するための専用チャンネルとしてISPを経由
した通信を行う手段を有する。
The other B channel has means for performing communication via the ISP as a dedicated channel for transmitting and receiving data.

【0012】また、ルータ装置に動的なIPアドレスを
割り振る端末型ダイヤルアップIPサービスのISPを
使用した通信を可能とする、以下のIPアドレスの変換
手段を有する。2つの遠隔地に位置する通信端末aと通
信端末bの通信において、通信端末aが送信したデータ
に対して、通信端末aと同じ位置にあるルータ装置a
は、IPヘッダの送信元IPアドレスをデータ送信する
ルータ装置aが1SP接続時に取得したIPアドレスに
変換し、送信先IPアドレスをデータ受信するルータ装
置bがISP接続時に取得したIPアドレスに変換し、
通信端末aが送信した元の送信元IPアドレス情報と送
信先IPアドレス情報をIPヘッダに追加してISDN
に送信する。そして、ISDNから受信したルータ装置
bは、その受信データに対して、IPヘッダの送信元I
Pアドレスを前記で追加した送信元IPアドレス情報を
参照して通信端末aが送信した元の送信元IPアドレス
に変換し、送信先IPアドレスを前記でIPヘッダに追
加した送信先IPアドレス情報を参照して通信端末aが
送信した元の送信先IPアドレスに変換して、通信端末
aが送信したデータに復元され通信端末bで受信可能と
なる。
Further, the present invention has the following IP address conversion means for enabling communication using an ISP of a terminal type dial-up IP service for allocating a dynamic IP address to a router device. In the communication between the communication terminal a and the communication terminal b located at two remote locations, the router device a at the same position as the communication terminal a receives the data transmitted by the communication terminal a.
Converts the source IP address of the IP header into an IP address acquired by the router device a that transmits the data at the time of the 1SP connection, and converts the destination IP address into the IP address acquired by the router device b that receives the data at the time of the ISP connection. ,
The source IP address information and the destination IP address information transmitted by the communication terminal a are added to the IP header, and the ISDN
Send to Then, the router device b received from the ISDN adds the IP header source I to the received data.
The P address is converted to the original source IP address transmitted by the communication terminal a by referring to the source IP address information added above, and the destination IP address information obtained by adding the destination IP address to the IP header is The data is converted to the original transmission destination IP address transmitted by the communication terminal a with reference to the data, restored to the data transmitted by the communication terminal a, and can be received by the communication terminal b.

【0013】前記手段によれば、一方の通信端末からが
−タを転送する時に、ルータ装置間がISDNの1方の
Bチャンネルを使用して直接通信を行い、両ルータ装置
がISPヘ接続をするきっかけを与え、通信端末のIP
アドレスの情報及びISPから取得したIPアドレスを
交換する。その情報を交換後には、そのBチャンネルは
切断するため、ルータ装置同士の直接通信を短時間で済
ませることが可能である。
According to the above means, when one of the communication terminals transfers data, the routers directly communicate with each other using one B channel of the ISDN, and both routers establish a connection to the ISP. To the IP of the communication terminal
Exchanges the address information and the IP address obtained from the ISP. After exchanging the information, the B channel is disconnected, so that the direct communication between the router devices can be completed in a short time.

【0014】次に、ISPに接続済みのもう一方のBチ
ャンネルで実際のデータの送受信を行う。その際に、デ
一タのIPヘッダのIPアドレスをルータ装置のISP
から取得したIPアドレスに変換することにより、相手
ルータ装置を特定することが出来、ルータ装置にLAN
型ダイアルアップIPサービスのような固定IPアドレ
スを割り振る必要性は無くなる。また、そのデータのI
Pヘッダに送信元と送信先の通信端末のIPアドレスを
表す固有の番号を付加することによりルータ装置に接続
された特定の通信端末に対してデータを送信することが
可能となる。
Next, actual data transmission / reception is performed on the other B channel connected to the ISP. At this time, the IP address of the data IP header is set to the ISP of the router device.
By converting to the IP address obtained from, the partner router device can be specified,
There is no need to allocate a fixed IP address like a type dial-up IP service. In addition, the I
By adding a unique number indicating the IP address of the source and destination communication terminals to the P header, data can be transmitted to a specific communication terminal connected to the router device.

【0015】[0015]

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

【0016】図1は、本発明によるダイヤルアップルー
タ間の通信方式を適用したISDNとLANのネットワ
ーク構成を示す図である。
FIG. 1 is a diagram showing a network configuration of an ISDN and a LAN to which a communication system between dial-up routers according to the present invention is applied.

【0017】図1を参照すると、本発明の実施の形態
は、送信ルータ28と、受信ルータ27と、送信ルータ
28に接続された送信端末1と、受信ルータ17に接続
された受信端末17と、ISDNl3と、送信ルータ2
8がISDNを通じて接続可能なISPal4(インタ
ーネットサービスプロバイダのアクセスポイント)と、
受信ルータ27がISDNを通じて接続可能なISPb
l5(インターネットサービスプロバイダのアクセスポ
イント)と、ISPal4,ISPbl5を通じて接続
されるインターネット16で構成される。
Referring to FIG. 1, an embodiment of the present invention comprises a transmitting router 28, a receiving router 27, a transmitting terminal 1 connected to the transmitting router 28, and a receiving terminal 17 connected to the receiving router 17. , ISDN13 and sending router 2
8 is an ISPal4 (access point of an Internet service provider) connectable through ISDN;
ISPb to which the receiving router 27 can connect via ISDN
15 (access point of an Internet service provider) and the Internet 16 connected through ISPal4 and ISPbl5.

【0018】送信瑞末1と受信瑞末17はインターネッ
ト通信のプロトコルであるトランスミッション・コント
ロール・プロトコル/インターネット・プロトコル(以
下、TCP/IPという)を実装するパーソナルコンピ
ュータ,ワークステーション等の通信端末である。送信
端末1は、TCP/IP上で動作するファイル転送プロ
トコルアプリケーション等のデータ送信側として動作
し、受信端末17はファイル転送プロトコルアプリケー
ション等のデータ受信側として動作する。
The transmitting terminal 1 and the receiving terminal 17 are communication terminals such as a personal computer and a work station which implement a transmission control protocol / internet protocol (hereinafter, referred to as TCP / IP) which is a protocol for Internet communication. . The transmitting terminal 1 operates as a data transmitting side such as a file transfer protocol application operating on TCP / IP, and the receiving terminal 17 operates as a data receiving side such as a file transfer protocol application.

【0019】次に本発明の特徴である送信ルータ28と
受信ルータ27の構成について図1を用いて説明する。
Next, the configuration of the transmitting router 28 and the receiving router 27, which is a feature of the present invention, will be described with reference to FIG.

【0020】送信ルータ28は、LANインタフェース
部3と、ルーティング制御部4と、IPヘッダ変換部5
と、lSDNインタフェース部6と、端末アドレス収集
部7と、ローカルホストテーブル8と、リモートホスト
テーブル9と、チャンネル制御部10を備えている。
The transmission router 28 includes a LAN interface unit 3, a routing control unit 4, an IP header conversion unit 5,
, An SDN interface unit 6, a terminal address collection unit 7, a local host table 8, a remote host table 9, and a channel control unit 10.

【0021】LANインターフェース部3は、送信端末
1から送信されてくるデータを、図15のTCP/IP
インターネット階層モデル30の第1層、第2層のイー
サーネットの終端を行い、ルーティング制御部4に渡す
働きをする。
The LAN interface unit 3 converts the data transmitted from the transmitting terminal 1 into TCP / IP data as shown in FIG.
It functions to terminate the Ethernet of the first and second layers of the Internet hierarchy model 30 and pass it to the routing control unit 4.

【0022】端末アドレス収集部7では、LANインタ
フェース部3に接続される送信端末1に割り当てられた
IPアドレスを、あらかじめ収集し、図18のローカル
ホストテーブルのテーブルフォーマットの端末IPアド
レスフィールドに蓄積し、その端末IPアドレスに対し
て1対の端末アドレスと呼ばれる固有の番号を割り当て
る。
The terminal address collection unit 7 collects in advance the IP address assigned to the transmission terminal 1 connected to the LAN interface unit 3 and stores it in the terminal IP address field in the table format of the local host table in FIG. A unique number called a pair of terminal addresses is assigned to the terminal IP address.

【0023】ルーティング制御部4は、LANインター
フェース部3からのデ−タを受け、図15のTCP/1
Pインターネット階層モデル30の第3層IPの終端を
行う。また、図16のIPヘッダのフォーマットに示さ
れる送信先IPアドレスをもとに次のIPヘッダ変換部
5にデータを送るか否かを決定し、IPヘッダ変換部5
ヘの転送とチャンネル制御部ヘのISDNl3ヘの発呼
処理を指示する働きをする。
The routing control unit 4 receives the data from the LAN interface unit 3 and receives the data from the TCP / 1 shown in FIG.
Termination of the third layer IP of the P Internet hierarchical model 30 is performed. Further, based on the destination IP address indicated in the format of the IP header in FIG.
And a process of instructing the channel control unit to make a call to ISDN13.

【0024】チャンネル制御部10では、ルーティング
制御部4の要求に応じて、ISDNインタフェース部6
にBチャンネルの発呼を制御する。また、パケットを対
向ルータに転送する前に、制御用Bチャンネル11を対
向ルータの制御用Bチャンネル11に直接接続し、デー
タ転送用Bチャンネル12の発呼の制御、IPヘッダ変
換部5のIPヘッダ変換に必要な受信ルータ27のIS
Pbl5から取得したIPアドレスとローカルホストテ
ーブル24の取得を行う。また、自身のISPから取得
したIPアドレス及びローカルホストテーブル8を受信
ルータ27に送信する。
In the channel control unit 10, the ISDN interface unit 6 responds to the request of the routing control unit 4.
Control the outgoing call of the B channel. Before transferring the packet to the opposing router, the control B channel 11 is directly connected to the control B channel 11 of the opposing router to control the outgoing call of the data transfer B channel 12 and to control the IP of the IP header conversion unit 5. IS of receiving router 27 required for header conversion
The IP address acquired from Pbl5 and the local host table 24 are acquired. Further, it transmits the IP address and the local host table 8 obtained from its own ISP to the receiving router 27.

【0025】IPヘッダ変換部5では、ルーティング制
御部4から転送されたデータのIPヘッダに、そのIP
ヘッダの送信元IPアドレスと送信先IPアドレスから
参照されるローカルホストテーブル8とリモートホスト
テーブル9の端末アドレスをIPヘッダに付加する。ま
た、IPヘッダの送信元IPアドレスと送信先IPアド
レスを、チャンネル制御部10で取得したISPal4
から取得したIPアドレスと受信ルータ27がISPb
l5から取得したIPアドレスに変換する。
The IP header converter 5 adds the IP header of the data transferred from the routing controller 4 to the IP header.
The terminal addresses of the local host table 8 and the remote host table 9 referenced from the source IP address and the destination IP address of the header are added to the IP header. Further, the source IP address and the destination IP address of the IP header are obtained by using the ISPal4
Address and the receiving router 27 are ISPb
The IP address is converted to the IP address obtained from 15.

【0026】ISDNインタフェース部6では、IPヘ
ッダ変換部5からのデ−タを、図15のTCP/IPイ
ンターネット階層モデル30の第1層ISDN、第2層
ポイント・トゥ・ポイントプロトコル(以下、PPPと
いう)の終端を行い、ISDNl3に転送する。また、
ISDNの2つのBチャンネルに対してチャンネル制御
部10の要求に応じて発呼が出来る。
The ISDN interface unit 6 converts the data from the IP header conversion unit 5 into the first layer ISDN and the second layer point-to-point protocol (hereinafter referred to as PPP) of the TCP / IP Internet layer model 30 of FIG. ) And transfer to ISDN13. Also,
Calls can be made to the two B channels of ISDN in response to a request from the channel control unit 10.

【0027】ローカルホストテーブル8では、自身のL
ANインタフェース部3に接続される端末のIPアドレ
ス及び端末アドレス収集部7が割り振った端末アドレス
を記憶する。
In the local host table 8, its own L
The IP address of the terminal connected to the AN interface unit 3 and the terminal address allocated by the terminal address collection unit 7 are stored.

【0028】リモートホストテーブル9では、チャンネ
ル制御部10が受信ルータ27から取得した受信ルータ
27のLANインタフェース部19のIPアドレス及び
端末アドレスを記憶する。
The remote host table 9 stores the IP address and the terminal address of the LAN interface unit 19 of the receiving router 27 obtained from the receiving router 27 by the channel control unit 10.

【0029】受信ルータ27は、送信ルータ28と同様
に、LANインタフェース19と、ルーティング制御部
20と、IPヘッダ変換部21と、ISDNインタフェ
ース部22と、端末アドレス収集部23と、ローカルホ
ストテーブル24と、リモートホストテーブル25と、
チャンネル制御部26を備えている。
The receiving router 27, like the transmitting router 28, includes a LAN interface 19, a routing control unit 20, an IP header conversion unit 21, an ISDN interface unit 22, a terminal address collection unit 23, and a local host table 24. And a remote host table 25,
A channel control unit 26 is provided.

【0030】ISDNインタフェース部22では、IS
DNインタフェース部22からのデ−タを、図15のT
CP/IPインターネット階層モデル30の第1層IS
DN、第2層ポイント・トゥ・ポイントプロトコル(以
下、PPPという)の終端を行い、IPヘッダ変換部に
転送する。また、ISDNの2つのBチャンネルからの
着呼に対して、その情報をチャンネル制御部26に報告
する。
In the ISDN interface section 22, IS
The data from the DN interface unit 22 is transmitted to T in FIG.
First layer IS of CP / IP Internet hierarchy model 30
The DN terminates the second layer point-to-point protocol (hereinafter, referred to as PPP) and transfers it to the IP header conversion unit. In addition, for an incoming call from two ISDN B channels, the information is reported to the channel control unit 26.

【0031】チャンネル制御部26では、ISDNイン
タフェース部22の要求に応じて、1SDNのBチャン
ネルの着呼許可を制御する。また、送信ルータ28の制
御用Bチャンネル11と直接接続し、送信ルータ28の
チャンネル制御部10の要求に応じて、デ−タ転送用B
チャンネル12の発呼の制御、送信ルータ28が1SP
al4から取得したIPアドレスと送信ルータ8のロー
カルホストテーブル8の取得を行う。また、自身のIS
Pbl5から取得したIPアドレス及びローカルホスト
テーブル24を送信ルータ28に送信する。
In response to a request from the ISDN interface unit 22, the channel control unit 26 controls permission for incoming calls on the B channel of one SDN. Also, it is directly connected to the control B channel 11 of the transmission router 28, and in response to a request from the channel control unit 10 of the transmission router 28, the data transfer B channel 11
Control of outgoing call of channel 12, sending router 28 is 1SP
The IP address acquired from al4 and the local host table 8 of the transmission router 8 are acquired. Also, their own IS
The IP address and the local host table 24 acquired from Pbl5 are transmitted to the transmission router 28.

【0032】IPヘッダ変換部21では、ISDNイン
タフェース部22から転送されてきた図20に示される
データのIPヘッダの、送信元端末アドレスと送信先端
末アドレスから参照されるローカルホストテーブル24
とリモートホストテーブル25のIPアドレスを抽出
し、IPヘッダの送信元IPアドレスと送信先IPアド
レスと置き換え、ルーティング制御部20ヘ転送する。
In the IP header conversion unit 21, the local host table 24 referred to from the source terminal address and the destination terminal address of the IP header of the data shown in FIG.
Then, the IP address of the remote host table 25 is extracted, replaced with the source IP address and the destination IP address of the IP header, and transferred to the routing control unit 20.

【0033】ルーティング制御部20は、IPヘッダ変
換部21からのデータを受け、図15のTCP/IPイ
ンターネット階層モデル30の第3層IPの終端を行
う。また、図16のIPヘッダのフォーマットに示され
る送信先IPアドレスをもとに受信端末17にデ−タを
送るか否かを決定し、LANインタフェース部19ヘ転
送する働きをする。
The routing controller 20 receives the data from the IP header converter 21 and terminates the third layer IP of the TCP / IP Internet layer model 30 shown in FIG. Further, it determines whether or not to send data to the receiving terminal 17 based on the destination IP address shown in the format of the IP header in FIG.

【0034】LANインターフェース部19は、ルーテ
ィング制御部20から送信されてくるデータを、図15
のTCP/IPインターネット階層モデル30の第1
層、第2層のイーサーネットの終端を行い、受信端末1
7に渡す働きをする。
The LAN interface unit 19 converts the data transmitted from the routing control unit 20 into the data shown in FIG.
Of the TCP / IP Internet Hierarchy Model 30
Terminate the Ethernet of the layer and the second layer, and
Work to pass to 7.

【0035】端末アドレス収集部23では、送信ルータ
28の端末アドレス収集部7と同様に、LANインタフ
ェース部19に接続される受信端末17に割り当てられ
たIPアドレスを、あらかじめ収集し、図18のローカ
ルホストテーブルのテーブルフォーマットの端末IPア
ドレスフイールドに蓄積し、その端末IPアドレスに対
して1対の端末アドレスと呼ばれる固有の番号を割り当
てる。
The terminal address collecting unit 23 collects in advance the IP address assigned to the receiving terminal 17 connected to the LAN interface unit 19 in the same manner as the terminal address collecting unit 7 of the transmitting router 28, and It is stored in a terminal IP address field in the table format of the host table, and a unique number called a pair of terminal addresses is assigned to the terminal IP address.

【0036】ローカルホストテーブル24では、送信ル
ータ28のローカルホストテーブル8と同様に、自身の
LANインタフェース部19に接続される端末のIPア
ドレス及び端末アドレス収集部23が割り振った端末ア
ドレスが記憶されている。
In the local host table 24, similarly to the local host table 8 of the transmission router 28, the IP address of the terminal connected to its own LAN interface unit 19 and the terminal address allocated by the terminal address collection unit 23 are stored. I have.

【0037】リモートホストテーブル25では、チャン
ネル制御部26が送信ルータ28から取得した送信ルー
タ28のLANインタフェース部3に接続された端末の
IPアドレス及び端末アドレスを記憶する。
In the remote host table 25, the IP address and the terminal address of the terminal connected to the LAN interface unit 3 of the transmission router 28 acquired from the transmission router 28 by the channel control unit 26 are stored.

【0038】次に図2〜7のフローチャート,図10〜
14のシーケンスチャートを参照して、一般的な送信端
末1と受信端末17間のTCP/IP上のデータ転送に
おける本発明の特徴とする送信ルータ28と受信ルータ
27の通信方式について説明する。
Next, the flowcharts of FIGS.
With reference to a sequence chart of 14, a description will be given of a communication method of the transmission router 28 and the reception router 27, which is a feature of the present invention, in the general data transfer on the TCP / IP between the transmission terminal 1 and the reception terminal 17.

【0039】送信ルータ28と受信ルータ27は、LA
Nインターフェース部3,19に接続された端末1,1
7のIPアドレスを収集し、図18に示すようなIPア
ドレスが1つに対してユニークな端末アドレスを名前付
けしたテーブルを作成し、ローカルアドレステーブルと
してそれぞれのルータ内に記憶する。送信端末1のIP
アドレスと端末アドレスは、送信ルータ28のローカル
ホストテーブル8に記憶される(図4ステップRl)。
受信端末17のIPアドレスと端末アドレスは、受信ル
ータ27のローカルアドレステーブル24に記憶される
(図6ステップSl)。
The transmitting router 28 and the receiving router 27
Terminals 1, 1 connected to N interface units 3, 19
7 are collected, a table in which one IP address is assigned a unique terminal address as shown in FIG. 18 is created, and stored as a local address table in each router. IP of sending terminal 1
The address and the terminal address are stored in the local host table 8 of the transmission router 28 (Step Rl in FIG. 4).
The IP address and the terminal address of the receiving terminal 17 are stored in the local address table 24 of the receiving router 27 (Step Sl in FIG. 6).

【0040】最初に、送信端末1はTCPの接続要求メ
ッセージを受信端末17に送信する(図2ステップP
l)。この時の、送信のデータのフオーマットを図19
に示す。それによると、デ−タの先頭にデ−タリンク層
のへッダがあり、次にネットワーク層のIPヘッダが続
く。そのIPヘッダの内容は、デ−タを送信した送信端
末1のIPアドレスが、送信元IPアドレスとして示さ
れ、送信先である受信端末17の1Pアドレスが送信先
1Pアドレスとして示される。続いて、トランスポート
層のTCPヘッダがあり、次に実データが続く。
First, the transmitting terminal 1 transmits a TCP connection request message to the receiving terminal 17 (step P in FIG. 2).
l). At this time, the format of the transmission data is shown in FIG.
Shown in According to this, the header of the data link layer is at the head of the data, followed by the IP header of the network layer. In the contents of the IP header, the IP address of the transmitting terminal 1 that has transmitted the data is indicated as the source IP address, and the 1P address of the receiving terminal 17 that is the transmission destination is indicated as the transmission destination 1P address. Next, there is a transport layer TCP header, followed by actual data.

【0041】送信端末1からのデータを受信した送信ル
ータ28のLANインタフェース部3は、そのデータを
ルーティング制御部4に転送する。ルーティング制御部
4は、IPヘッダの送信先IPアドレスが受信ルータ2
7に接続されている受信端末17であると判断したら、
まず一時そのデータを蓄横して(図4ステップR4)、
チャンネル制御部10に受信ルータ27に接続を指示す
る。
The LAN interface unit 3 of the transmission router 28 that has received the data from the transmission terminal 1 transfers the data to the routing control unit 4. The routing control unit 4 determines that the destination IP address of the IP header is
7 is determined to be the receiving terminal 17 connected to
First, the data is temporarily stored (step R4 in FIG. 4).
It instructs the channel controller 10 to connect to the receiving router 27.

【0042】指示を受けたチャンネル制御部10は、制
御用Bチャンネル11を受信ルータ27に発呼するよう
1SDNインタフェース部に指示する。指示を受けたI
SDNインタフェース部6は、受信ルータ27に対して
発呼処理を行う(図4ステップR5)。この受信ルータ
27に対する制御用Bチャンネルの接続処理を図10の
ステップBからステップCに示す。
Upon receiving the instruction, the channel control unit 10 instructs the 1SDN interface unit to call the control B channel 11 to the receiving router 27. I was instructed
The SDN interface unit 6 performs a calling process to the receiving router 27 (step R5 in FIG. 4). The process of connecting the control B channel to the receiving router 27 is shown in steps B to C of FIG.

【0043】接続処理が完了したら、次にチャンネル制
御部10は受信ルータ28のチャンネル制御部26との
接続確認を行う(図4ステップR7)。この制御用Bチ
ャンネル11の接続確認の方法は3ウェイハンドシェー
クと呼ばれる方法を用い、そのシーケンスを図10のス
テップCからステップDに示す。そのシケーンスによる
と送信ルータ28のチャンネル制御部10は接続要求メ
ッセージを送信し、そのメッセージを受信した受信ルー
タ27のチャンネル制御部26は、応答メッセージを受
信ルータ28のチャンネル制御部10に対して送信し、
応答メッセージを受信したチャンネル制御部10は、さ
らに応答確認メッセージをチャンネル制御部10に対し
て送信する。チャンネル制御部10とチャンネル制御部
26間のデータフォーマットを図17に示す。そのデー
タフォーマットによると、デ−タリンク層はPPPを使
用し、インターネット層はIPを使用し、トランスポー
ト層にはユーザーデ−タグラム(以下、UDPという)
を使用する。チャンネル制御部10が送信する接続要求
メッセージは、メッセージの部分を10進数の’1’に
し、REQ/ACKは要求を示す’1’を入れ、データ
部は無しとする。チャンネル制御部26が送信する応答
メッセージはメッセージが接続要求を示し、REQ/A
CKは’2’を人れる。この場合もデータ部は無しとす
る。それから、チャンネル制御部10がチャンネル制御
部26に再返答する応答確認メッセージは、チャンネル
制御部26がチャンネル制御部10に返した応答メッセ
ージと同じフオーマットで返答する。
When the connection process is completed, the channel controller 10 checks the connection with the channel controller 26 of the receiving router 28 (step R7 in FIG. 4). The method of confirming the connection of the control B channel 11 uses a method called a three-way handshake, and the sequence is shown in steps C to D of FIG. According to the sequence, the channel control unit 10 of the transmission router 28 transmits a connection request message, and the channel control unit 26 of the reception router 27 that has received the message transmits a response message to the channel control unit 10 of the reception router 28. And
The channel control unit 10 that has received the response message further transmits a response confirmation message to the channel control unit 10. FIG. 17 shows a data format between the channel control unit 10 and the channel control unit 26. According to the data format, the data link layer uses PPP, the Internet layer uses IP, and the transport layer uses user datagrams (hereinafter referred to as UDP).
Use In the connection request message transmitted by the channel control unit 10, the message part is set to decimal "1", REQ / ACK is set to "1" indicating the request, and there is no data part. The response message transmitted by the channel control unit 26 indicates a connection request, and REQ / A
CK can take '2'. Also in this case, there is no data portion. Then, the response confirmation message returned by the channel control unit 10 to the channel control unit 26 responds in the same format as the response message returned by the channel control unit 26 to the channel control unit 10.

【0044】制御用Bチャンネル11の接続を確認した
ら、送信ルータ28と受信ルータ27は、もう一方のB
チャンネルを、それぞれISPal4,ISPbl5
ヘ、接続を開始する(図4ステップR9,図6ステップ
S3)。送信ルータ28と受信ルータ27が、デ−タ転
送用コネクションをISPに接続するシーケンスを図1
0のステップDからステップEに示す。
After confirming the connection of the control B channel 11, the transmitting router 28 and the receiving router 27
Channels are respectively ISPal4, ISPbl5
F, the connection is started (step R9 in FIG. 4, step S3 in FIG. 6). FIG. 1 shows a sequence in which a transmitting router 28 and a receiving router 27 connect a data transfer connection to an ISP.
Steps D to E of 0 are shown.

【0045】デ−タ転送用Bチャンネル11の接続が完
了したら、送信ルータ28と受信ルータ27のISDN
インタフェース部6,22は、ISPに対してPPPに
よるデータリンク層の接続を試みる(図4ステップR1
1,図6ステップS9)。ISPに端末型ダイヤルアッ
プIPサービスにより接続する場合、送信ルータ28と
受信ルータ27には固定IPアドレスが割り当てられな
いため、PPPのオプションであるインターネットプロ
トコル・コントロール・プロトコル(以下、IPCPと
いう)を用いてISPよりIPアドレスを取得する。P
PPによるデータリンク層の接続からIPCPによりI
Pアドレスを取得するまでのシーケンスを図11のステ
ップFからステップGに示す。
When the connection of the data transfer B channel 11 is completed, the ISDN of the transmitting router 28 and the receiving router 27
The interface units 6 and 22 attempt to connect the ISP to the data link layer by PPP (step R1 in FIG. 4).
1, step S9 in FIG. 6). When connecting to the ISP by the terminal type dial-up IP service, since a fixed IP address is not assigned to the transmission router 28 and the reception router 27, the Internet Protocol Control Protocol (hereinafter, referred to as IPCP) which is an option of PPP is used. To obtain an IP address from the ISP. P
Data link layer connection by PP to ICP by IPCP
The sequence until the P address is obtained is shown in steps F to G in FIG.

【0046】PPPの接続、IPアドレスの取得完了
後、次は送信ルータ28と受信ルータ27が制御用Bチ
ャンネルを通じてお互いの1Pアドレスを交換する(図
5ステップRl3,ステップRl5,図7ステップSl
1,ステップSl3)。そのIPアドレス取得シーケン
スは、図11のステップGからステップHに示す通り、
送信ルータ28のIPアドレス要求メッセージパケット
から、3ウェイハンドシェークにより1Pアドレスのお
互いの交換を行う。通信パケットのデータフォーマット
は図17に示す通りであり、送信ルータ28のIPアド
レス要求の応答メッセージのデータフイールドに受信ル
ータの1SPから取得したIPアドレスを載せる。その
応答に対する送信ルータ28の受信ルータ27の応答メ
ッセージに送信ルータのISPから取得したIPアドレ
スを載せる。
After completing the PPP connection and the acquisition of the IP address, the transmitting router 28 and the receiving router 27 exchange 1P addresses with each other through the control B channel (steps R13, R15, S15 in FIG. 5).
1, step Sl3). The IP address acquisition sequence is as shown in steps G to H in FIG.
From the IP address request message packet of the sending router 28, each other exchanges 1P addresses by a three-way handshake. The data format of the communication packet is as shown in FIG. 17, and the IP address acquired from the 1SP of the receiving router is placed in the data field of the response message of the IP address request of the transmitting router 28. The IP address obtained from the ISP of the transmitting router is placed in the response message of the receiving router 27 of the transmitting router 28 to the response.

【0047】次に、IPアドレスの交換と同様手順によ
り、送信ルータ28と受信ルータ27は制御用Bチャン
ネルを通じてお互いのホストテーブルを交換する(図5
ステップRl4,ステップRl6,図7ステップSl
2,ステップSl4)。ローカルホストテーブルの取得
シーケンスは図11のステップHからステップIに示す
通りであり、送信ルータ28のホストテーブル要求メッ
セージから、3ウェイハンドシェークによりお互いのホ
ストテーブルを交換する。通信パケットのデ一タフォー
マットは図17に示す通りであり、送信ルータ28のロ
ーカルホストテーブル要求の応答メッセージパケットの
デーダフイールドに受信ルータ27のローカルホストテ
ーブル24を載せる。その応答メッセージに対する送信
ルータ28の受信ルータ27の応答メッセージに送信ル
ータ28のローカルホストテーブル8を載せる。その交
換したローカルホストテーブルは、送信ルータ28と受
信ルータ27の内部でリモートホストテーブル9,24
として記憶される。
Next, the transmitting router 28 and the receiving router 27 exchange their host tables through the control B channel in the same procedure as the exchange of the IP address (FIG. 5).
Step R14, Step R16, FIG. 7 Step Sl
2, step Sl4). The acquisition sequence of the local host table is as shown in steps H to I in FIG. 11, and the host tables are exchanged by a three-way handshake from the host table request message of the sending router 28. The data format of the communication packet is as shown in FIG. 17, and the local host table 24 of the receiving router 27 is placed in the data field of the response message packet of the local host table request of the transmitting router 28. The local host table 8 of the transmission router 28 is placed in a response message of the reception router 27 of the transmission router 28 to the response message. The exchanged local host tables are stored in the remote host tables 9 and 24 inside the transmission router 28 and the reception router 27.
Is stored as

【0048】次にチャンネル制御部10は、データ転送
用Bチャンネル12の接続を確認する(図5ステップR
l7,図7ステップS15)。データ転送用Bチャンネ
ル12の接続確認シーケンスを図12のステップJから
ステップKに示す。このシーケンスを説明すると、最初
に送信ルータ28は受信ルータ27に対して接続メッセ
ージを送信する。そのメッセージを受信した受信ルータ
27は、その受信に対する応答メッセージを送信する。
受信ルータ27からの応答メッセージを受信した送信ル
ータ28は、応答メッセージに対する応答確認メッセー
ジを送信するという3ウェイハンドシェークの手順によ
り確立される。メッセージのパケットフォーマットは図
17に示されるデータフォーマットを使用し、デ−タリ
ンク層にはPPPを使用し、ネットワーク層にはIPを
使用し、トランスポート層にはUDPが使用される。接
続要求の場合は、デ−タフイールドのメッセージに’
2’を載せ、REQ/ACKフイールドには’1’を載
せる。また、データフィールドは無しとする。
Next, the channel control section 10 confirms the connection of the data transfer B channel 12 (step R in FIG. 5).
17, step S15 in FIG. 7). The connection confirmation sequence of the data transfer B channel 12 is shown in steps J to K of FIG. Describing this sequence, first, the transmitting router 28 transmits a connection message to the receiving router 27. Receiving router 27 that has received the message transmits a response message to the reception.
The transmitting router 28 that has received the response message from the receiving router 27 is established by a three-way handshake procedure of transmitting a response confirmation message to the response message. The packet format of the message uses the data format shown in FIG. 17, PPP is used for the data link layer, IP is used for the network layer, and UDP is used for the transport layer. In the case of a connection request, a '
Put '2' and put '1' in the REQ / ACK field. There is no data field.

【0049】次に、デ−タ転送用Bチャンネル12の接
続が確認されたら制御用Bチャンネル11の接続は不要
となり、図12のステップK〜Lに示す手順により、I
SDNl3から切断する(図5ステップR23,図7ス
テップS21)。
Next, when the connection of the data transfer B channel 12 is confirmed, the connection of the control B channel 11 becomes unnecessary, and by the procedure shown in steps KL of FIG.
Disconnect from SDN13 (step R23 in FIG. 5, step S21 in FIG. 7).

【0050】デ−タ転送用Bチャンネル12の接続を確
認したら、送信ルータ28のルーティング制御部4は、
蓄積していた送信端末1のデータをIPヘッダ変換部5
にデータを渡す。
After confirming the connection of the B channel 12 for data transfer, the routing controller 4 of the transmission router 28
The stored data of the transmission terminal 1 is converted into an IP header conversion unit 5
Pass the data to.

【0051】デ−タを受けたIPヘッダ変換部5では、
IPヘッダの変換処理を行うが(図5ステップR1
9)、その動作を図8のフローチャートに従い説明す
る。IPヘッダ変換部に送られてきたパケットは、図1
9に示すIPヘッダの形式となっている。IPヘッダ変
換部では最初にそのIPヘッダに示される送信元IPア
ドレスに対応する端末アドレスを図18に示す形式のロ
ーカルホストテーブル8から取り出し、それを送信元端
末アドレスとして保持する(図8ステップTl)。次に
IPヘッダに示される送信先IPアドレスに対応する端
末アドレスを図18に示すリモートホストテーブル9か
ら取り出し、それを送信先端末アドレスとして保持する
(図8ステップT2)。次に先ほど保持した送信元端末
アドレスと送信先端末アドレスを、図16のIPヘッダ
形式32のオプションに載せる。IPヘッダのオプショ
ンは可変長の制御データを載せることが可能なフィール
ドである。そのオプションに載せた後のIPヘッダ形式
は図20のIPヘッダのオプションに示す通りとなる
(図8ステップT3)。次に送信元IPアドレスを、送
信ルータ28がISPal4から取得した1Pアドレス
に置き換える(図8ステップT4)。次に送信先IPア
ドレスを、受信ルータ27がISPbl5から取得した
1Pアドレスに置き換える(図8ステップT5)。次
に、前述のIPヘッダの変更により、元のIPヘッダの
へッダ長、IPパケット長が変更になったため、その再
計算を行い、その結果に置き換える(図8ステップT
6)。IPアドレス変換部での最後の処理としては、図
16に示すTCPヘッダのチェックサムがIPヘッダの
値も合むため、そのチェックサムも再計算し置き換える
(図8ステップT7)。IPヘッダの変換処理が終了し
たら、IPヘッダ変換部は、デ−タをISDNインタフ
ェース部に送信する。
In the IP header converter 5 receiving the data,
The IP header is converted (step R1 in FIG. 5).
9), its operation will be described with reference to the flowchart of FIG. The packet sent to the IP header converter is shown in FIG.
9 is in the form of an IP header. The IP header conversion unit first retrieves the terminal address corresponding to the source IP address indicated in the IP header from the local host table 8 in the format shown in FIG. 18 and holds it as the source terminal address (step Tl in FIG. 8). ). Next, the terminal address corresponding to the transmission destination IP address indicated in the IP header is extracted from the remote host table 9 shown in FIG. 18 and is held as the transmission destination terminal address (step T2 in FIG. 8). Next, the source terminal address and the destination terminal address held earlier are listed in the option of the IP header format 32 in FIG. The option of the IP header is a field in which variable-length control data can be placed. The IP header format after placing the option is as shown in the option of the IP header in FIG. 20 (step T3 in FIG. 8). Next, the transmission source IP address is replaced by the 1P address acquired by the transmission router 28 from ISPal4 (step T4 in FIG. 8). Next, the destination IP address is replaced with the 1P address acquired by the receiving router 27 from the ISPb15 (step T5 in FIG. 8). Next, since the header length and the IP packet length of the original IP header are changed due to the above-described change of the IP header, the recalculation is performed and the results are replaced (step T in FIG. 8).
6). As the last processing in the IP address conversion unit, since the checksum of the TCP header shown in FIG. 16 matches the value of the IP header, the checksum is recalculated and replaced (step T7 in FIG. 8). When the IP header conversion process is completed, the IP header conversion unit sends the data to the ISDN interface unit.

【0052】デ−タパケットを受けたISDNインタフ
ェース部では、データパケットにPPPのへッダを付加
し、データ転送用Bチャンネルを使用し、ISPbl4
に送信する(図5ステップR20,図12ステップL〜
M)。そのときのデ―タのパケットフオーマットは、図
20の通りとなる。
The ISDN interface unit that has received the data packet adds a PPP header to the data packet, uses the B channel for data transfer, and uses the ISPbl4
(Step R20 in FIG. 5, steps L to
M). The packet format of the data at that time is as shown in FIG.

【0053】デ−タは、ISPbl4,インターネット
16,ISPb15を経由て受信ルータ27のISDN
インタフェース部22で受信される。デ−タを受信した
ISDNインタフェース部は、PPPの終端を行い、I
Pヘッダ変換部21にデータを転送する。
The data is sent to the ISDN of the receiving router 27 via the ISPbl4, the Internet 16, and the ISPb15.
The data is received by the interface unit 22. The ISDN interface unit that has received the data terminates the PPP, and
The data is transferred to the P header conversion unit 21.

【0054】デ−タを受けたIPヘッダ変換部21は、
IPヘッダの変換処理を行う(図7ステップSl7)。
その動作を図9に従い説明する。
Upon receiving the data, the IP header conversion unit 21
The IP header is converted (step S17 in FIG. 7).
The operation will be described with reference to FIG.

【0055】受信したデータのIPヘッダは図20のI
Pヘッダ部分のフォーマットになっているが、まず最初
にそのIPヘッダのオプションに示される送信先端末ア
ドレスに対応するIPアドレスを、ローカルホストテー
ブル24の中から取り出し、新送信先IPアドレスとす
る(図9ステップUl)。次に、同じIPヘッダのオプ
ションに示される送信元端末アドレスに対応するIPア
ドレスをリモートホストテーブル25の中から取り出
し、新送信元IPアドレスとする(図9ステップUl
2)。次にIPヘッダのオプションに付加されている送
信元端末アドレスと送信先端末アドレスを削除する(図
9ステップU3)。次に、送信先IPアドレスを新送信
先IPアドレスに置き換える(図9ステップU4)。次
に、送信元IPアドレスを新送信元IPアドレスに置き
換える(図9ステップU5)。次に、IPヘッダのIP
ヘッダ長,ヘッダチェックサムを計算し、元の値と置き
換える(図9ステップU6)。次に、TCPヘッダのチ
エックサムを計算し、元の値と置き換える(図9ステッ
プU7)。以上のIPヘッダ変換処理が終わったらルー
ティング制御部20に転送する。
The IP header of the received data is the I header of FIG.
Although the format of the P header portion is used, first, an IP address corresponding to the destination terminal address indicated in the option of the IP header is extracted from the local host table 24 and set as a new destination IP address ( FIG. 9 step Ul). Next, an IP address corresponding to the source terminal address indicated in the option of the same IP header is extracted from the remote host table 25 and set as a new source IP address (step Ul in FIG. 9).
2). Next, the source terminal address and the destination terminal address added to the option of the IP header are deleted (step U3 in FIG. 9). Next, the destination IP address is replaced with the new destination IP address (step U4 in FIG. 9). Next, the source IP address is replaced with the new source IP address (step U5 in FIG. 9). Next, the IP header IP
The header length and the header checksum are calculated and replaced with the original values (step U6 in FIG. 9). Next, the checksum of the TCP header is calculated and replaced with the original value (step U7 in FIG. 9). When the above-described IP header conversion processing is completed, the packet is transferred to the routing control unit 20.

【0056】デ−タを受けたルーティング制御部20
は、IPヘッダの送信先IPアドレスからLANインタ
ーフェース部19に転送するか否かを判断する。転送す
べきデータと判断した場合はLANインタフェース部1
9にデ−タを転送する。
The routing controller 20 receiving the data
Determines whether to transfer from the transmission destination IP address of the IP header to the LAN interface unit 19. If it is determined that the data should be transferred, the LAN interface unit 1
9 to transfer the data.

【0057】次にデータを受信したLANインタフェー
ス部19は、イーサーネットのへッダを付加して受信端
末17に送信する(図7ステップSl8)。その時のデ
ータのフォーマットは図19に示す通りであり、送信端
末1から送信された直後のデータのフォーマットと同一
である。
Next, upon receiving the data, the LAN interface unit 19 adds an Ethernet header and transmits the data to the receiving terminal 17 (step S18 in FIG. 7). The format of the data at that time is as shown in FIG. 19, and is the same as the format of the data immediately after being transmitted from the transmitting terminal 1.

【0058】以上の一連の動作により、送信端末1から
受信端末17に対してTCP接続要求データは到着す
る。
Through the above series of operations, the TCP connection request data arrives from the transmitting terminal 1 to the receiving terminal 17.

【0059】以下に、端末の残りのデータ転送手順を説
明するが、それは送信ルータ28と受信ルータ27の上
記の作用が含まれているものとする。
In the following, the remaining data transfer procedure of the terminal will be described, which is assumed to include the above-described operations of the transmitting router 28 and the receiving router 27.

【0060】次に、TCP接続要求データを受信瑞末1
7が受信し、TCPの接続を碓立する手順を図12のス
テップUからMに従い説明する。TCP接続要求受信待
ちで待ち受けていた受信端末17は、その要求に答え、
それに対するACKパケットを送信する(図3ステップ
Q2)。受信端末からのACK受信により、次に送信端
末1からTCP接続状態メッセージを送信し、TCP接
続の碓実性を確認する(図2ステップP3)。
Next, the TCP connection request data is received.
7 will be described according to steps U to M in FIG. The receiving terminal 17 waiting for the reception of the TCP connection request answers the request,
An ACK packet corresponding thereto is transmitted (step Q2 in FIG. 3). Upon receiving the ACK from the receiving terminal, the transmitting terminal 1 transmits a TCP connection status message to confirm the usability of the TCP connection (step P3 in FIG. 2).

【0061】次に送信端末1がTCPデ−タを、受信端
末17に対して最終データまで連続送信する手順を図1
3のステップN〜Oに従い説明する。送信端末1は、第
1のTCPデ−タを送信する(図2ステップP4)。送
信ルータ28は、前記のルータ内のIPヘッダ変換を行
い、受信ルータ27に対してデータ転送用Bチャンネル
12を経由して送信する(図5ステップRl9,R2
0)。そのTCPデータを受信した受信ルータ27は、
前記のルータ内のIPヘッダ変換を行い、受信端末17
にTCPデ−タを送信する(図7ステップSl7,Sl
8)。そのデ−タパケットを受信した受信端末17は、
受信TCPデ−タに対するACKを送信端末1に送信す
る(図3ステップQ6)。そのACKデ−タは、まず受
信ルータ27で受信され、受信ルータ内部では送信ルー
タ28のIPヘッダ変換と同様の操作を行い、送信ルー
タ28に対して送信する。そのACKデータを受信した
送信ルータ28は、受信ルータ27のIPヘッドの変換
と同様の操作を行い送信端末1に対して送信する。受信
端末17からのACKを確認した送信端末1は(図2ス
テップP10)、全てのTCPデータを送信していない
ため(図2ステップP5)、次に第2のデータを送信端
末1は送信する(図2ステップP4)。そのTCPデー
タを受信した送信ルータ28と受信ルータ27は、前記
のTCPデータ送信の処理を行い、そのデータを受信し
た受信端末17は、ACKを送信端末1に対して送信す
る。このACKデータに対しても、受信ルータ27と送
信ルータ27は、前記同様のACKデ−タの送信処理を
行う。続けて、送信端末1と受信端末17は同様の手順
により、最終デ−タまで送信する。
Next, the procedure for the transmitting terminal 1 to continuously transmit TCP data to the receiving terminal 17 up to the final data is shown in FIG.
A description will be given according to Steps N to O of No. 3. The transmitting terminal 1 transmits the first TCP data (Step P4 in FIG. 2). The transmission router 28 converts the IP header in the router and transmits the data to the reception router 27 via the data transfer B channel 12 (steps R19 and R2 in FIG. 5).
0). The receiving router 27 that has received the TCP data,
The IP address conversion in the router is performed, and the receiving terminal 17
(Steps S17, S17 in FIG. 7)
8). The receiving terminal 17 having received the data packet,
An ACK for the received TCP data is transmitted to the transmitting terminal 1 (step Q6 in FIG. 3). The ACK data is first received by the receiving router 27, performs the same operation as the IP header conversion of the transmitting router 28 in the receiving router, and transmits the ACK data to the transmitting router 28. The transmitting router 28 having received the ACK data performs the same operation as the conversion of the IP head of the receiving router 27 and transmits the data to the transmitting terminal 1. Since the transmitting terminal 1 that has confirmed the ACK from the receiving terminal 17 (step P10 in FIG. 2) has not transmitted all the TCP data (step P5 in FIG. 2), the transmitting terminal 1 transmits the second data next. (Step P4 in FIG. 2). The transmitting router 28 and the receiving router 27 that have received the TCP data perform the above-described TCP data transmission processing, and the receiving terminal 17 that has received the data transmits an ACK to the transmitting terminal 1. Also for this ACK data, the receiving router 27 and the transmitting router 27 perform the same ACK data transmission processing as described above. Subsequently, the transmitting terminal 1 and the receiving terminal 17 transmit data up to the final data in the same procedure.

【0062】次に、送信端末1が全ての送信TCPデ−
タを送信終えて、TCPの切断要求から、切断が完了す
るまでの手順を図13のステップO〜Pに従い説明す
る。全てのTCPデ−タを送信した送信端末1はTCP
切断要求を送信する(図2ステップP6)。TCP切断
要求を受信した受信端末は、TCP切断要求に対するA
CKを送信する(図3ステップQ7)。この間の送信ル
ータ28と受信ルータ27は、前記のTCPデ−タ送信
とそれに対するACK送信と同様のIPヘッダ変換処理
を行う。TCP切断要求ACKを受信した送信端末1
は、次に受信端末からのTCP切断完了を受信するまで
待つ(図2ステップP8)。受信端末17から、切断完
了パケットを受信した送信端末1は(図2ステップ
8)、受信端末17に対してTCP切断要求完了を送信
する(図2ステップP9)。受信端末17では、そのT
CP切断要求完了を受信し、端末間の通信を終了する。
受信端末17は再びTCP接続要求受信待ちのアイドル
状態となる(図3ステップQ1)。また、この間の通信
においても、送信ルータ28と受信ルータ27は、前記
のTCPデ−タ送信とそれに対するACK送信と同様の
IPヘッダ変換処理を行う。
Next, the transmitting terminal 1 transmits all the transmitted TCP data.
The procedure from the transmission of the data to the completion of the disconnection from the TCP disconnection request to the completion of the disconnection will be described with reference to steps OP of FIG. The transmitting terminal 1 that has transmitted all TCP data is TCP
A disconnection request is transmitted (step P6 in FIG. 2). Upon receiving the TCP disconnection request, the receiving terminal responds to the TCP disconnection request with A
CK is transmitted (step Q7 in FIG. 3). During this time, the transmission router 28 and the reception router 27 perform the same IP header conversion processing as the above-described TCP data transmission and ACK transmission. Transmission terminal 1 that has received the TCP disconnection request ACK
Waits for the next reception of the TCP disconnection from the receiving terminal (step P8 in FIG. 2). The transmitting terminal 1 that has received the disconnection completion packet from the receiving terminal 17 (step 8 in FIG. 2) transmits a TCP disconnection request completion to the receiving terminal 17 (step P9 in FIG. 2). In the receiving terminal 17, the T
Upon receiving the completion of the CP disconnection request, the communication between the terminals is terminated.
The receiving terminal 17 is again in an idle state of waiting for receiving a TCP connection request (step Q1 in FIG. 3). Also in the communication during this time, the transmission router 28 and the reception router 27 perform the same IP header conversion processing as the above-described TCP data transmission and ACK transmission.

【0063】送信端末1からのTCPデ−タ送信が完了
し、送信ルータ28のルーティング制御部4が一定時間
の無通信を検出することにより(図5ステップR2
1)、ルーティング制御部4はチャンネル制御部10に
データ転送用Bチャンネル12の切断要求を送信する。
そのデータ通信用Bチャンネルの切断手順を図13のス
テップQからRに従い説明する。それによると、切断要
求を受けたチャンネル制御部10は、デ一タ転送用Bチ
ャンネルの切断メッセージを受信ルータ27に送信する
(図5ステップR22)。その切断メッセージを受信し
た受信ルータ27のチャンネル制御部26は、送信ルー
タ28のチャンネル制御部10に対して応答メッセージ
を送信する。その応答メッセージを受信した送信ルータ
のチャンネル制御部10は、さらに受信ルータ27のチ
ャンネル制御部26に対して応答メッセージを送信す
る。このメッセージのパケットフォーマットを図17に
示す。送信ルータ28からの切断メッセージの場合、メ
ッセージフィールドに’8’を入れる。デ−タフイール
ドは無しとする。
When the transmission of the TCP data from the transmitting terminal 1 is completed and the routing controller 4 of the transmitting router 28 detects that there is no communication for a predetermined time (step R2 in FIG. 5).
1), the routing control unit 4 transmits a request to disconnect the data transfer B channel 12 to the channel control unit 10.
The procedure for disconnecting the B channel for data communication will be described with reference to steps Q to R in FIG. According to this, the channel control unit 10 receiving the disconnection request transmits a disconnection message of the data transfer B channel to the receiving router 27 (step R22 in FIG. 5). The channel controller 26 of the receiving router 27 that has received the disconnection message transmits a response message to the channel controller 10 of the transmitting router 28. The channel control unit 10 of the transmission router that has received the response message further transmits the response message to the channel control unit 26 of the reception router 27. FIG. 17 shows the packet format of this message. In the case of a disconnection message from the sending router 28, '8' is entered in the message field. There is no data field.

【0064】最後に、送信ルータ28と受信ルータ27
は、図14のステップS〜Tのシーケンスの示す手順に
より、ISPal4,ISPbl5からの切断を行う。
Finally, the transmitting router 28 and the receiving router 27
Performs disconnection from ISPal4 and ISPbl5 according to the procedure shown in the sequence of steps S to T in FIG.

【0065】[0065]

【実施例】次に、本発明の実施の形態の一実施例の動作
を図1と図21と図22を用いて詳細に説明する。この
例では送信端末1が、受信端末17に1つのデータを送
信する場合について、順を追って説明する。
Next, the operation of an embodiment of the present invention will be described in detail with reference to FIGS. 1, 21 and 22. FIG. In this example, the case where the transmitting terminal 1 transmits one piece of data to the receiving terminal 17 will be described step by step.

【0066】図1において、送信端末1のIPアドレス
が’192.168.1.1’とし、受信端末17のI
Pアドレスが’192.168.10.1’とする。ま
た、ISPal4は’202.55.55.1’のIP
アドレスを送信ルータ28に割り振る事が出来、ISP
bl5は’202.66.66.1’のIPアドレスを
受信ルータ27に割り振ることが出来るものとする。最
初に、送信ルータ28はLANインタフェース部3に接
続された送信端末のIPアドレスを収集し、図21に示
すようなローカルホストテーブルを作成する。それによ
ると、送信端末1のIPアドレス’192.168.
1.1’が、端末アドレス’1’として登録され、その
他の送信端末38のIPアドレス’192.168.
1.2’は端末アドレス’2’として登録され、送信端
末39のIPアドレス’192.16.1.3’は端末
アドレス’3’として登録される。
In FIG. 1, the IP address of the transmitting terminal 1 is “192.168.1.1”, and the I
It is assumed that the P address is “192.168.10.1”. ISPal4 has an IP of '202.55.55.1'.
Address can be assigned to the sending router 28, and ISP
bl5 can allocate an IP address of “202.66.6.1” to the receiving router 27. First, the transmission router 28 collects the IP addresses of the transmission terminals connected to the LAN interface unit 3 and creates a local host table as shown in FIG. According to this, the IP address' 192.168.
1.1 is registered as the terminal address “1”, and the IP addresses “192.168.
1.2 'is registered as the terminal address'2', and the IP address' 192.16.1.3.3 'of the transmitting terminal 39 is registered as the terminal address'3'.

【0067】受信ルータ27においても、図22に示す
ようなローカルホストテーブルが作成される。それによ
ると、受信端末17のIPアドレス’192.168.
10.1’は端末アドレス’1’として登録され、その
他の受信端末40のIPアドレス’192.168.1
0.2’は端末アドレス’2’として登録され、受信端
末41のIPアドレス’192.168.10.3’は
端末アドレス3として登録される。
The receiving router 27 also creates a local host table as shown in FIG. According to this, the IP address' 192.168.
10.1 'is registered as the terminal address'1', and the IP addresses' 192.168.1 'of the other receiving terminals 40 are registered.
0.2 'is registered as the terminal address'2', and the IP address' 192.168.10.3 'of the receiving terminal 41 is registered as the terminal address 3.

【0068】次に、送信端末1から図21のステップV
lに示すフォーマットの送信データを送信ルータ28に
送信する。それによると、送信データの先頭には、デー
タリンク層であるイーサーネットのへッダがあり、続い
てネットワーク層のIPヘッダがある。そのIPヘッダ
の送信元IPアドレスには、送信端末1のIPアドレ
ス’192.168.1.1’が示され、送信先IPア
ドレスには、受信端末17のIPアドレス’192.1
68.10.1’が示されている。続いて、トランスポ
ート層のへッダがあり、実デ−タがそれに続く。
Next, from the transmitting terminal 1 to step V in FIG.
1 is transmitted to the transmission router 28. According to this, at the head of transmission data, there is an Ethernet header which is a data link layer, followed by a network layer IP header. The source IP address of the IP header indicates the IP address' 192.168.1.1 'of the transmitting terminal 1, and the destination IP address indicates the IP address' 192.
68.10.1 'is shown. Next, there is a header in the transport layer, followed by actual data.

【0069】送信端末1から送信されたデータが、送信
ルータ28に到着すると、送信ルータ17は制御用Bチ
ャンネル11を使用して、受信ルータ27に発呼を行
う。受信ルータ27が着信を受け付け、送信ルータ17
と接続を確認したら、次に送信ルータ28はISPal
4に、受信ルータ27はISPbl5に発呼を行い、I
Pアドレスの取得を試みる。
When the data transmitted from the transmitting terminal 1 arrives at the transmitting router 28, the transmitting router 17 calls the receiving router 27 using the control B channel 11. The receiving router 27 accepts the incoming call, and the transmitting router 17
After confirming the connection, the sending router 28
4, the receiving router 27 makes a call to ISPbl5,
Attempt to obtain P address.

【0070】送信ルータ28と受信ルータ27が、それ
ぞれISPal4とISPbl5からIPアドレスを取
得し、この場合は、送信ルータ28はISPal4から
IPアドレス’202.55.55.1’を取得し、受
信ルータ27はISPbl5からIPアドレス’20
2.66.66.1’を取得する。
The sending router 28 and the receiving router 27 obtain the IP address from ISPal4 and ISPbl5, respectively. In this case, the sending router 28 obtains the IP address “202.55.55.1” from ISPal4, and 27 is the IP address '20 from ISPbl5
2.6.6.6.1 ′ is obtained.

【0071】次に送信ルータ28と受信ルータ27は、
制御用BチャンネルそれぞれのIPアドレスとローカル
ホストテーブルを交換する。送信ルータ28は、IPア
ドレス’202.55.55.1’と図21に示すロー
カルホストテーブルを、受信ルータ27に送信する。受
信ルータ27は、IPアドレス’202.66.66.
1’と図22に示すローカルホストテーブルを、送信ル
ータ28に送信する。送信ルータ28が送信したローカ
ルホストテーブルは、受信ルータ27上の図22に示す
リモートホストテーブルとなり、受信ルータ27が送信
したローカルホストテーブルは、送信ルータ28上の図
21に示すリモートホストテーブルとなる。
Next, the transmitting router 28 and the receiving router 27
The IP address and the local host table of each control B channel are exchanged. The transmitting router 28 transmits the IP address “202.55.55.1” and the local host table shown in FIG. 21 to the receiving router 27. The receiving router 27 has the IP address' 202.66.66.
1 'and the local host table shown in FIG. The local host table transmitted by the transmitting router 28 becomes the remote host table shown in FIG. 22 on the receiving router 27, and the local host table transmitted by the receiving router 27 becomes the remote host table shown in FIG. 21 on the transmitting router 28. .

【0072】ここで、制御用Bチャンネルはもはや必要
とならないため切断する。
Here, the control B channel is cut off because it is no longer needed.

【0073】次に、送信ルータ27は、送信端末1から
の送信データを、図21で示すIPヘッダの変換処理を
行う。最初に、図21のローカルホストテーブルの端末
IPアドレス・エントリを参照し、送信元IPアドレ
ス’192.168.1.1’(送信端末1のIPアド
レス)から、端末アドレス’1’を導き出す(これを送
信元端末アドレスとする)。次に、図21のリモートホ
ストテーブルの端末IPアドレス・エントリを参照し、
送信先IPアドレス’192.168.10.1’(受
信端末17のIPアドレス)から、端末アドレス’1’
を導き出す(これを送信先端末アドレスとする)。次に
送信元IPアドレスを、ISPal4から取得したIP
アドレス’202.55.55.1’に置き換える。次
に、送信先IPアドレスを受信ルータ28がISPbl
5から取得したIPアドレス’202.66.66.
1’に置き換える。次に、先ほど導き出した送信元端末
アドレスと送信先端末アドレスをIPヘッダの送信先I
Pアドレスとパディングの間のオプションフイールドに
追加する。以上のIPヘッダ変換処理後の送信データフ
ォーマットは図21のステップV2の形となり、送信ル
ータ28は、その送信データをデータ転送用Bチャンネ
ルに送信する。
Next, the transmission router 27 converts the transmission data from the transmission terminal 1 into an IP header shown in FIG. First, the terminal address “1” is derived from the source IP address “192.168.1.1” (the IP address of the transmission terminal 1) by referring to the terminal IP address entry of the local host table in FIG. 21 ( This is the source terminal address). Next, referring to the terminal IP address entry of the remote host table of FIG.
From the destination IP address '192.168.10.1' (IP address of the receiving terminal 17), the terminal address '1'
(This is the destination terminal address). Next, the source IP address is the IP address obtained from ISPal4.
Replace with address '202.55.55.1'. Next, the receiving router 28 sets the destination IP address to ISPbl.
IP address' 202.66.66.
Replace with 1 '. Next, the source terminal address and the destination terminal address that were derived earlier are set in the destination I of the IP header.
Add to option field between P address and padding. The transmission data format after the above IP header conversion processing is in the form of step V2 in FIG. 21, and the transmission router 28 transmits the transmission data to the data transfer B channel.

【0074】次に、送信データは受信ルータ27で受信
される。データを受信した受信ルータ28は、図22で
示すIPヘッダの変換処理を行う。最初に、図22のリ
モートホストテーブルを参照し、送信元端末アドレス’
1’から、送信端末1のIPアドレス’192.16
8.1.1’を導き出す(これを新送信元IPアドレス
とする)。次に、図22のローカルホストテーブルを参
照し、受信元端末アドレス’1’から受信端末17のI
Pアドレス’192.168.10.1’を導き出す
(これを新送信先IPアドレスとする)。次に、IPヘ
ッダに含まれる送信元端末アドレスと送信先端末アドレ
スを削除する。次に、送信元IPアドレスを先ほど導き
出した新送信元IPアドレスに置き換え、また、送信先
IPアドレスも先ほど導き出した新送信先IPアドレス
に置き換える。以上のIPヘッダの変換処理後の送信デ
ータのフォーマットは、図21のステップW2の形とな
り、オリジナルの送信端末1が出力した送信データ(図
21ステップV1)に復元され、受信端末17で受信が
可能となり通信は完了する。通信完了後は、送信ルータ
28において送信端末1からの無通信を検出することに
より、送信ルータ28と受信ルータ27のデータ転送用
Bチャンネルは切断される。
Next, the transmission data is received by the receiving router 27. The receiving router 28 that has received the data performs the conversion processing of the IP header shown in FIG. First, referring to the remote host table shown in FIG.
1 ', the IP address' 192.16 of the transmitting terminal 1
8.1.1 '(this is the new source IP address). Next, referring to the local host table of FIG.
The P address '192.168.10.1' is derived (this is set as a new destination IP address). Next, the source terminal address and the destination terminal address included in the IP header are deleted. Next, the source IP address is replaced with the new source IP address derived previously, and the destination IP address is also replaced with the new destination IP address derived previously. The format of the transmission data after the above-described IP header conversion processing is in the form of step W2 in FIG. 21, is restored to the original transmission data (step V1 in FIG. 21) output by the transmission terminal 1, and the reception is performed by the reception terminal 17. It becomes possible and communication is completed. After the communication is completed, the transmission router 28 detects no communication from the transmission terminal 1, thereby disconnecting the data transfer B channel between the transmission router 28 and the reception router 27.

【0075】また、この実施例が適用される最適な例
は、送信ルータ28とISPal4がISDNl3の料
金体系において区域内通信が適用される位置にあり、ま
た、受信ルータ27とISPbl5も区域内通信が適用
される位置にある場合において、送信ルータ28,IS
Pal4と受信ルータ27,ISPbl5間の距離が2
0Km以上離れている場合である。例えば、1時間の通
信時間が必要で、その間の距離が20Kmから30Km
までの昼間の通信において、従来のルータ間が直接通信
を行った場合は、1時間(3600秒)÷45秒(20
〜30Kmの通信料金)×10円=800円となる。そ
れに対して、本発明の通信方式を適用した場合は、次の
様になる。デ−タ通信用Bチャンネルに対しては、ルー
タからISPまでの通信料金が、1時間(3600秒)
÷180秒(区域内通信の料金)×10円=200円と
なり、それが送信ルータ28と受信ルータ27の両方で
適用されるため、200円×2=400円となる。制御
用Bチャンネルについてはルータ同士直接の通信となる
が、通信時間がルータがISPに接続するまでの待ち時
間とIPアドレスとローカルホストケーブルの送信の短
い間に限られるため、30秒以内と予測される。その時
間を元に制御用Bチャンネルの料金を計算すると、30
秒÷45秒×10円≒10円(端数切り上げ)となる。
よって、本発明の通信方式を適用した場合の合計金額
は、410円となり、従来の通信方式に対して約半分の
コストで済むことになる。
Further, the most suitable example to which this embodiment is applied is that the transmitting router 28 and ISPal 4 are located at a position where intra-area communication is applied in the ISDN13 charge system, and the receiving router 27 and ISPbl 5 are also in intra-area communication. Is in a position to which the transmission router 28, IS
The distance between Pal4 and the receiving router 27, ISPbl5 is 2
This is the case where they are separated by 0 km or more. For example, one hour of communication time is required, and the distance between them is 20 to 30 km.
In the daytime communication up to the time, when the conventional router directly communicates, 1 hour (3600 seconds) 60045 seconds (20 seconds)
通信 30 km communication fee) × 10 yen = 800 yen. On the other hand, when the communication method of the present invention is applied, the following is performed. For the B channel for data communication, the communication fee from the router to the ISP is 1 hour (3600 seconds)
÷ 180 seconds (charge for intra-area communication) × 10 yen = 200 yen, which is applied to both the transmission router 28 and the reception router 27, and thus 200 yen × 2 = 400 yen. For the control B channel, the routers communicate directly with each other, but the communication time is expected to be within 30 seconds because the communication time is limited to the waiting time until the router connects to the ISP and the short time between transmission of the IP address and the local host cable. Is done. When the charge of the control B channel is calculated based on the time, 30
Seconds ÷ 45 seconds × 10 yen ≒ 10 yen (rounded up).
Therefore, the total amount of money when the communication method of the present invention is applied is 410 yen, which is about half the cost of the conventional communication method.

【0076】さらに、最も効果が大きくなるケースとし
て、160Kmの距離を越える場合について比較する。
従来の通信方式の場合は、1時間(3600秒)÷1
6.5秒(160Kmを越える場合の通信料金)×10
円=2190円となる。それに対して本通信方式の場合
は、デ−タ転送用Bチャンネルに対しては、1時間(3
600秒)÷180秒(区域内通信の料金)×10円=
200円となり、送信ルータ28と受信ルータ27の両
方で適用されるため、200円×2=400円となる。
制御用Bチャンネルについては、30秒÷16.5秒×
10円≒20円(端数切り上げ)となる。よって、本通
信方式の場合の合計金額は、420円となり、従来の通
信方式に対して5分の1のコストで通信が可能となる。
Further, as a case where the effect is greatest, a case where the distance exceeds 160 km is compared.
In the case of the conventional communication method, one hour (3600 seconds) ÷ 1
6.5 seconds (communication charge for over 160km) x 10
Yen = 2190 yen. On the other hand, in the case of the present communication system, one hour (3 hours) is required for the B channel for data transfer.
600 seconds) ÷ 180 seconds (communication charges within the area) × 10 yen =
It is 200 yen, which is applied to both the transmission router 28 and the reception router 27, so that 200 yen × 2 = 400 yen.
For the control B channel, 30 seconds ÷ 16.5 seconds ×
10 yen ≒ 20 yen (rounded up). Therefore, the total amount in the case of the present communication system is 420 yen, and communication can be performed at one fifth of the cost of the conventional communication system.

【0077】[0077]

【発明の効果】以上説明したように本発明は、デ−タの
転送に使用する通信に契約料金が比較的に安価に済むI
SPの端末型ダイヤルアップIPサービスの回線を使用
することにより、通信コストを低くすることができると
いう効果がある。
As described above, according to the present invention, the communication used for data transfer requires a relatively low contract fee.
By using the line of the terminal type dial-up IP service of the SP, there is an effect that the communication cost can be reduced.

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

【図1】本発明によるダイヤルアップルータ間の通信方
式を適用したISDNとLANのネットワーク構成を示
す図である。
FIG. 1 is a diagram showing a network configuration of an ISDN and a LAN to which a communication system between dial-up routers according to the present invention is applied.

【図2】図1の端末の送信処理を示すフローチャートで
ある。
FIG. 2 is a flowchart illustrating a transmission process of the terminal in FIG. 1;

【図3】図1の端末の受信処理を示すフローチャートで
ある。
FIG. 3 is a flowchart illustrating a reception process of the terminal in FIG. 1;

【図4】図1のルータの送信処理を示すフローチャート
1である。
FIG. 4 is a flowchart 1 showing a transmission process of the router of FIG. 1;

【図5】図1のルータの送信処理を示すフローチャート
2である。
FIG. 5 is a flowchart 2 showing a transmission process of the router of FIG. 1;

【図6】図1のルータの受信処理を示すフローチャート
1である。
FIG. 6 is a flowchart 1 showing a receiving process of the router of FIG. 1;

【図7】図1のルータの受信処理を示すフローチャート
2である。
FIG. 7 is a flowchart 2 showing a receiving process of the router of FIG. 1;

【図8】図5のルータの送信処理におけるIPアドレス
変換の詳細を示すフローチャートである。
FIG. 8 is a flowchart showing details of an IP address conversion in a transmission process of the router of FIG. 5;

【図9】図7のルータの受信処理におけるIPアドレス
変換の詳細を示すフローチャートである。
9 is a flowchart showing details of IP address conversion in a reception process of the router of FIG. 7;

【図10】図1の端末,ルータ,制御用Bチャンネル,
デ−タ転送用Bチャンネルの動作を示すシーケンスチャ
ート1を示す図である。
FIG. 10 shows the terminal, router, control B channel of FIG.
FIG. 3 is a diagram showing a sequence chart 1 showing an operation of a data transfer B channel.

【図11】図1の瑞末,ルータ,制御用Bチャンネル,
データ転送用Bチャンネルの動作を示すシーケンスチャ
ート2を示す図である。
FIG. 11 is a diagram illustrating the Rizue, router, control B channel,
FIG. 7 is a diagram showing a sequence chart 2 illustrating an operation of a data transfer B channel.

【図12】図1の端末,ルータ,制御用Bチャンネル,
データ転送用Bチャンネルの動作を示すシーケンスチャ
ート3を示す図である。
FIG. 12 shows the terminal, router, control B channel,
FIG. 9 is a diagram showing a sequence chart 3 illustrating an operation of a data transfer B channel.

【図13】図1の端末,ルータ,制御用Bチャンネル,
デ一タ転送用Bチャンネルの動作を示すシーケンスチヤ
ート4を示す図である。
FIG. 13 shows the terminal, router, control B channel,
FIG. 9 is a diagram showing a sequence chart 4 showing the operation of the data transfer B channel.

【図14】図1の端末,ルータ,制御用Bチャンネル,
デ−タ転送用Bチャンネルの動作を示すシーケンスチャ
ート5を示す図である。
FIG. 14 shows the terminal, router, control B channel,
FIG. 9 is a diagram showing a sequence chart 5 showing the operation of the data transfer B channel.

【図15】0SIの7層参照モデルとTCP/IPイン
ターネット階層モデルを示す図である。
FIG. 15 is a diagram showing a 7-layer reference model of 0SI and a TCP / IP Internet layer model.

【図16】インターネットデ−タパケットのフォーマッ
トとそれに対するIPヘッダのフォーマットとTCPヘ
ッダのフォーマットを示す図である。
FIG. 16 is a diagram showing a format of an Internet data packet, a format of an IP header corresponding thereto, and a format of a TCP header.

【図17】図1の制御用Bチャンネル上のデータフォー
マットを示す図である。
FIG. 17 is a diagram showing a data format on a control B channel of FIG. 1;

【図18】ローカルホストテーブル及びリモートホスト
テーブルのテーブルフォーマットを示す図である。
FIG. 18 is a diagram showing table formats of a local host table and a remote host table.

【図19】図1のデータ転送Bチャンネル上のデータの
フォーマットを示す図である。
FIG. 19 is a diagram showing a format of data on a data transfer B channel of FIG. 1;

【図20】図1のLAN上のデータのフォーマットを示
す図である。
FIG. 20 is a diagram showing a format of data on the LAN in FIG. 1;

【図21】送信ルータのIPヘッダの変換を説明する図
である。
FIG. 21 is a diagram illustrating conversion of an IP header of a transmission router.

【図22】受信ルータのIPヘッダの変換を説明する図
である。
FIG. 22 is a diagram illustrating conversion of an IP header of a receiving router.

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

1,38,39 送信端末 2,18 LAN 3,19 LANインタフェース部 4,20 ルーティング制御部 5,21 IPヘッダ変換部 6,22 ISDNインタフェース部 7,23 端末アドレス収集部 8,24 ローカルホストテーブル 9,25 リモートホストテーブル 10,26 チャンネル制御部 11 制御用Bチャンネル 12 データ転送用Bチャンネル 13 ISDN 14 ISPa 15 ISPb 16 インターネット 17,40,41 受信端末 27 受信ルータ 28 送信ルータ 29 ISOの7層参照モデル 30 インターネットの階層モデル 31 インターネットデ−タパケットフォーマット 32 IPヘッダ 33 TCPヘッダフォーマット 34 制御用Bチャンネル上のデ−タフォーマット 35 ローカルホストテーブルとリモートホストテー
ブルのフォーマット 36 LAN上のデ−タフォーマット 37 データ転送用Bチャンネル上のデータフォーマ
ット
1, 38, 39 Transmission terminal 2, 18 LAN 3, 19 LAN interface unit 4, 20 Routing control unit 5, 21 IP header conversion unit 6, 22 ISDN interface unit 7, 23 Terminal address collection unit 8, 24 Local host table 9 , 25 remote host table 10, 26 channel control unit 11 control B channel 12 data transfer B channel 13 ISDN 14 ISPa 15 ISPb 16 Internet 17, 40, 41 receiving terminal 27 receiving router 28 transmitting router 29 ISO 7 layer reference model Reference Signs List 30 Internet hierarchical model 31 Internet data packet format 32 IP header 33 TCP header format 34 Data format on control B channel 35 Local host table and resource Over preparative host table format 36 de on the LAN - data format 37 data transfer data format on B-channel

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 送信ルータと、受信ルータと、該送信ル
ータに接続された送信端末と、該受信ルータに接続され
た受信端末と、ISDNと、前記送信ルータがISDN
を通じて接続可能なインターネットサービスプロバイダ
のアクセスポイントとであるISPaと、前記受信ルー
タがISDNを通じて接続可能なインターネットサービ
スプロバイダのアクセスポイントであるISPbと、I
SPaおよびISPbを通じて接続されるインターネッ
トで構成されるダイヤルアップルータ間の通信システム
であって、 前記送信ルータは該送信ルータに接続された送信端末の
IPアドレスを収集し、前記送信端末のIPアドレスを
端末アドレスとして登録する前記送信ルータのローカル
ホストテーブルを作成し、前記受信ルータは該受信ルー
タに接続された受信端末のIPアドレスを収集し、前記
受信端末のIPアドレスを端末アドレスとして登録する
前記受信ルータのローカルホストテーブルを作成し、 前記送信端末から送信データを前記送信ルータに送信
し、該送信データの先頭には、データリンク層であるイ
ーサーネットのへッダがあり、続いてネットワーク層の
IPヘッダがあり、該IPヘッダの送信元IPアドレス
には、前記送信端末のIPアドレスが示され、送信先I
Pアドレスには、前記受信端末のIPアドレスが示さ
れ、続いてトランスポート層のへッダがあり、続いて実
デ−タがあり、 前記送信端末から送信された前記送信データが、前記送
信ルータに到着すると、前記送信ルータはISDNの第
1のBチャンネルである制御用Bチャンネルを使用し
て、前記受信ルータに発呼を行い、前記受信ルータが着
信を受け付け、前記送信ルータと接続を確認したら、次
に前記送信ルータはISPaに発呼を行い前記制御用B
チャンネルの第1のIPアドレスを取得し、前記受信ル
ータはISPbに発呼を行い前記制御用Bチャンネルの
第2のIPアドレスを取得し、 前記送信ルータは、前記第1のIPアドレスと前記送信
ルータのローカルホストテーブルを、前記受信ルータに
送信し、前記送信ルータのローカルホストテーブルは前
記受信ルータのリモートホストテーブルとなり、前記受
信ルータは、前記第2のIPアドレスと前記受信ルータ
のローカルホストテーブルを、前記送信ルータに送信
し、前記受信ルータのローカルホストテーブルは前記送
信ルータのリモートホストテーブルとなり、 ここで、前記制御用Bチャンネルはもはや必要とならな
いため切断され、 前記送信ルータは、前記送信端末からの前記送信データ
に対して、前記IPヘッダの変換処理を行い、該IPヘ
ッダの変換処理は、前記送信ルータのローカルホストテ
ーブルの前記送信端末のIPアドレス・エントリを参照
し、前記送信端末のIPアドレスから端末アドレスを導
き出し送信元端末アドレスとし、前記送信ルータのリモ
ートホストテーブルの前記受信端末のIPアドレス・エ
ントリを参照し、前記受信端末のIPアドレスから端末
アドレスを導き出し送信先端末アドレスとし、次に、前
記送信元IPアドレスを前記第1のIPアドレスに置き
換え、前記送信先IPアドレスを前記第2のIPアドレ
スに置き換え、次に、前記送信元端末アドレスと前記送
信先端末アドレスを前記IPヘッダのオプションフィー
ルドに追加する処理であり、 前記送信ルータは、前記IPヘッダの変換処理後の送信
データをISDNの第2のBチャンネルであるデータ転
送用Bチャンネルに送信し、 前記IPヘッダの変換処理後の送信データは前記受信ル
ータで受信され、 前記受信ルータは、前記送信ルータからの前記送信デー
タに対して、前記IPヘッダの変換処理を行い、該IP
ヘッダの変換処理は、前記受信ルータのリモートホスト
テーブルの前記送信端末のIPアドレス・エントリを参
照し、前記送信元端末アドレスから前記送信端末のIP
アドレスを導き出し新送信元端末アドレスとし、前記受
信ルータのローカルホストテーブルの前記受信端末のI
Pアドレス・エントリを参照し、前記送信先端末アドレ
スから前記受信端末のIPアドレスを導き出し新送信先
端末アドレスとし、次に、前記IPヘッダに含まれる前
記送信元端末アドレスと前記送信先端末アドレスを削除
し、次に、前記送信元IPアドレスを前記新送信元IP
アドレスに置き換え、前記送信先IPアドレスを前記新
送信先IPアドレスに置き換える処理であり、 前記IPヘッダの変換処理後の送信データは、前記送信
端末が出力したオリジナルの送信データに復元され、前
記受信端末で受信が可能となり通信は完了し、 通信完了後は、前記送信ルータにおいて前記送信端末か
らの無通信を検出することにより、前記送信ルータと前
記受信ルータの前記データ転送用Bチャンネルは切断さ
れる手段を有することを特徴とするダイヤルアップルー
タ間の通信システム。
1. A transmitting router, a receiving router, a transmitting terminal connected to the transmitting router, a receiving terminal connected to the receiving router, an ISDN, and the transmitting router being an ISDN.
ISPa, which is an access point of an Internet service provider connectable through ISDN, ISPb, which is an access point of an Internet service provider connectable by the receiving router through ISDN,
A communication system between dial-up routers configured by the Internet connected through SPa and ISPb, wherein the transmitting router collects an IP address of a transmitting terminal connected to the transmitting router and changes an IP address of the transmitting terminal. Creating a local host table of the transmitting router to be registered as a terminal address, the receiving router collecting an IP address of a receiving terminal connected to the receiving router, and registering the IP address of the receiving terminal as a terminal address; A local host table of the router is created, and the transmission data is transmitted from the transmission terminal to the transmission router. At the head of the transmission data, there is an Ethernet header which is a data link layer. There is an IP header, and the source IP address of the IP header is IP address of the transmitting terminal is shown, destination I
The P address indicates the IP address of the receiving terminal, followed by a header in the transport layer, followed by actual data, and the transmission data transmitted from the transmitting terminal is transmitted by the transmission terminal. When arriving at the router, the transmitting router uses the control B channel, which is the first B channel of ISDN, to make a call to the receiving router, the receiving router accepts an incoming call, and establishes a connection with the transmitting router. After confirming, the transmitting router makes a call to ISPa and performs the control B
A first IP address of a channel is obtained, the receiving router makes a call to ISPb to obtain a second IP address of the control B channel, and the transmitting router transmits the first IP address and the transmission Transmitting a local host table of a router to the receiving router; the local host table of the transmitting router becomes a remote host table of the receiving router; and the receiving router is configured to store the second IP address and the local host table of the receiving router. Is transmitted to the transmitting router, and the local host table of the receiving router becomes a remote host table of the transmitting router. Here, the control B channel is disconnected because it is no longer required. A conversion process of the IP header with respect to the transmission data from the terminal. The IP header conversion process refers to an IP address entry of the transmitting terminal in the local host table of the transmitting router, derives a terminal address from the IP address of the transmitting terminal, sets the terminal address as a source terminal address, Referring to the IP address entry of the receiving terminal in the remote host table of the router, derive a terminal address from the IP address of the receiving terminal as a destination terminal address, and then set the source IP address to the first IP address And replacing the destination IP address with the second IP address, and then adding the source terminal address and the destination terminal address to an option field of the IP header. The transmission data after the conversion processing of the IP header is The data is transmitted to the B channel for data transfer, which is a B channel. The transmission data after the conversion processing of the IP header is received by the reception router. The reception router responds to the transmission data from the transmission router by the IP. The header is converted and the IP
The header conversion process refers to the IP address entry of the transmitting terminal in the remote host table of the receiving router, and calculates the IP address of the transmitting terminal from the source terminal address.
Address of the receiving terminal in the local host table of the receiving router.
With reference to the P address entry, the IP address of the receiving terminal is derived from the destination terminal address and set as a new destination terminal address. Next, the source terminal address and the destination terminal address included in the IP header are Delete and then replace the source IP address with the new source IP
Replacing the destination IP address with the new destination IP address. The transmission data after the IP header conversion process is restored to the original transmission data output by the transmission terminal, and the The terminal is ready to receive and the communication is completed. After the communication is completed, the transmitting router detects no communication from the transmitting terminal, so that the data transfer B channel of the transmitting router and the receiving router is disconnected. A communication system between dial-up routers.
【請求項2】 送信ルータと、受信ルータと、該送信ル
ータに接続された送信端末と、該受信ルータに接続され
た受信端末と、ISDNと、前記送信ルータがISDN
を通じて接続可能なインターネットサービスプロバイダ
のアクセスポイントとであるISPaと、前記受信ルー
タがISDNを通じて接続可能なインターネットサービ
スプロバイダのアクセスポイントであるISPbと、I
SPaおよびISPbを通じて接続されるインターネッ
トで構成されるダイヤルアップルータ間の通信システム
を使用するダイヤルアップルータ間の通信方法であっ
て、 前記送信ルータは該送信ルータに接続された送信端末の
IPアドレスを収集し、前記送信端末のIPアドレスを
端末アドレスとして登録する前記送信ルータのローカル
ホストテーブルを作成し、前記受信ルータは該受信ルー
タに接続された受信端末のIPアドレスを収集し、前記
受信端末のIPアドレスを端末アドレスとして登録する
前記受信ルータのローカルホストテーブルを作成し、 前記送信端末から送信データを前記送信ルータに送信
し、該送信データの先頭には、データリンク層であるイ
ーサーネットのへッダがあり、続いてネットワーク層の
IPヘッダがあり、該IPヘッダの送信元IPアドレス
には、前記送信端末のIPアドレスが示され、送信先I
Pアドレスには、前記受信端末のIPアドレスが示さ
れ、続いてトランスポート層のへッダがあり、続いて実
デ−タがあり、 前記送信端末から送信された前記送信データが、前記送
信ルータに到着すると、前記送信ルータはISDNの第
1のBチャンネルである制御用Bチャンネルを使用し
て、前記受信ルータに発呼を行い、前記受信ルータが着
信を受け付け、前記送信ルータと接続を確認したら、次
に前記送信ルータはISPaに発呼を行い前記制御用B
チャンネルの第1のIPアドレスを取得し、前記受信ル
ータはISPbに発呼を行い前記制御用Bチャンネルの
第2のIPアドレスを取得し、 前記送信ルータは、前記第1のIPアドレスと前記送信
ルータのローカルホストテーブルを、前記受信ルータに
送信し、前記送信ルータのローカルホストテーブルは前
記受信ルータのリモートホストテーブルとなり、前記受
信ルータは、前記第2のIPアドレスと前記受信ルータ
のローカルホストテーブルを、前記送信ルータに送信
し、前記受信ルータのローカルホストテーブルは前記送
信ルータのリモートホストテーブルとなり、 ここで、前記制御用Bチャンネルはもはや必要とならな
いため切断され、 前記送信ルータは、前記送信端末からの前記送信データ
に対して、前記IPヘッダの変換処理を行い、該IPヘ
ッダの変換処理は、前記送信ルータのローカルホストテ
ーブルの前記送信端末のIPアドレス・エントリを参照
し、前記送信端末のIPアドレスから端末アドレスを導
き出し送信元端末アドレスとし、前記送信ルータのリモ
ートホストテーブルの前記受信端末のIPアドレス・エ
ントリを参照し、前記受信端末のIPアドレスから端末
アドレスを導き出し送信先端末アドレスとし、次に、前
記送信元IPアドレスを前記第1のIPアドレスに置き
換え、前記送信先IPアドレスを前記第2のIPアドレ
スに置き換え、次に、前記送信元端末アドレスと前記送
信先端末アドレスを前記IPヘッダのオプションフィー
ルドに追加する処理であり、 前記送信ルータは、前記IPヘッダの変換処理後の送信
データをISDNの第2のBチャンネルであるデータ転
送用Bチャンネルに送信し、 前記IPヘッダの変換処理後の送信データは前記受信ル
ータで受信され、 前記受信ルータは、前記送信ルータからの前記送信デー
タに対して、前記IPヘッダの変換処理を行い、該IP
ヘッダの変換処理は、前記受信ルータのリモートホスト
テーブルの前記送信端末のIPアドレス・エントリを参
照し、前記送信元端末アドレスから前記送信端末のIP
アドレスを導き出し新送信元端末アドレスとし、前記受
信ルータのローカルホストテーブルの前記受信端末のI
Pアドレス・エントリを参照し、前記送信先端末アドレ
スから前記受信端末のIPアドレスを導き出し新送信先
端末アドレスとし、次に、前記IPヘッダに含まれる前
記送信元端末アドレスと前記送信先端末アドレスを削除
し、次に、前記送信元IPアドレスを前記新送信元IP
アドレスに置き換え、前記送信先IPアドレスを前記新
送信先IPアドレスに置き換える処理であり、 前記IPヘッダの変換処理後の送信データは、前記送信
端末が出力したオリジナルの送信データに復元され、前
記受信端末で受信が可能となり通信は完了し、 通信完了後は、前記送信ルータにおいて前記送信端末か
らの無通信を検出することにより、前記送信ルータと前
記受信ルータの前記データ転送用Bチャンネルは切断さ
れることを特徴とするダイヤルアップルータ間の通信方
法。
2. A transmitting router, a receiving router, a transmitting terminal connected to the transmitting router, a receiving terminal connected to the receiving router, an ISDN, and the transmitting router being an ISDN.
ISPa, which is an access point of an Internet service provider connectable through ISDN, ISPb, which is an access point of an Internet service provider connectable by the receiving router through ISDN,
A communication method between dial-up routers using a communication system between dial-up routers constituted by the Internet connected through SPa and ISPb, wherein the transmitting router assigns an IP address of a transmitting terminal connected to the transmitting router. Collecting, creating a local host table of the transmitting router that registers the IP address of the transmitting terminal as a terminal address, the receiving router collecting the IP address of the receiving terminal connected to the receiving router, Creates a local host table of the receiving router that registers an IP address as a terminal address, transmits transmission data from the transmission terminal to the transmission router, and, at the beginning of the transmission data, transmits data to an Ethernet of a data link layer. Followed by a network layer IP header The source IP address of the IP header, the IP address of the transmitting terminal is shown, destination I
The P address indicates the IP address of the receiving terminal, followed by a header in the transport layer, followed by actual data, and the transmission data transmitted from the transmitting terminal is transmitted by the transmission terminal. When arriving at the router, the transmitting router uses the control B channel, which is the first B channel of ISDN, to make a call to the receiving router, the receiving router accepts an incoming call, and establishes a connection with the transmitting router. After confirming, the transmitting router makes a call to ISPa and performs the control B
A first IP address of a channel is obtained, the receiving router makes a call to ISPb to obtain a second IP address of the control B channel, and the transmitting router transmits the first IP address and the transmission Transmitting a local host table of a router to the receiving router; the local host table of the transmitting router becomes a remote host table of the receiving router; and the receiving router is configured to store the second IP address and the local host table of the receiving router. Is transmitted to the transmitting router, and the local host table of the receiving router becomes a remote host table of the transmitting router. Here, the control B channel is disconnected because it is no longer required. A conversion process of the IP header with respect to the transmission data from the terminal. The IP header conversion process refers to an IP address entry of the transmitting terminal in the local host table of the transmitting router, derives a terminal address from the IP address of the transmitting terminal, sets the terminal address as a source terminal address, Referring to the IP address entry of the receiving terminal in the remote host table of the router, derive a terminal address from the IP address of the receiving terminal as a destination terminal address, and then set the source IP address to the first IP address And replacing the destination IP address with the second IP address, and then adding the source terminal address and the destination terminal address to an option field of the IP header. The transmission data after the conversion processing of the IP header is The data is transmitted to the B channel for data transfer, which is a B channel. The transmission data after the conversion processing of the IP header is received by the reception router. The reception router responds to the transmission data from the transmission router by the IP. The header is converted and the IP
The header conversion process refers to the IP address entry of the transmitting terminal in the remote host table of the receiving router, and calculates the IP address of the transmitting terminal from the source terminal address.
Address of the receiving terminal in the local host table of the receiving router.
With reference to the P address entry, the IP address of the receiving terminal is derived from the destination terminal address and set as a new destination terminal address. Next, the source terminal address and the destination terminal address included in the IP header are Delete and then replace the source IP address with the new source IP
Replacing the destination IP address with the new destination IP address. The transmission data after the IP header conversion process is restored to the original transmission data output by the transmission terminal, and the The terminal is ready to receive and the communication is completed. After the communication is completed, the transmitting router detects no communication from the transmitting terminal, so that the data transfer B channel of the transmitting router and the receiving router is disconnected. A communication method between dial-up routers.
JP14186297A 1997-05-30 1997-05-30 Inter-dialup router communication system and inter-dialup router communication method Pending JPH10336243A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14186297A JPH10336243A (en) 1997-05-30 1997-05-30 Inter-dialup router communication system and inter-dialup router communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14186297A JPH10336243A (en) 1997-05-30 1997-05-30 Inter-dialup router communication system and inter-dialup router communication method

Publications (1)

Publication Number Publication Date
JPH10336243A true JPH10336243A (en) 1998-12-18

Family

ID=15301902

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14186297A Pending JPH10336243A (en) 1997-05-30 1997-05-30 Inter-dialup router communication system and inter-dialup router communication method

Country Status (1)

Country Link
JP (1) JPH10336243A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003283525A (en) * 2002-03-25 2003-10-03 Seiko Instruments Inc Communication device, communication system, and program therefor
JP2011077828A (en) * 2009-09-30 2011-04-14 Nippon Telegr & Teleph Corp <Ntt> Communication method, communication apparatus and communication system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003283525A (en) * 2002-03-25 2003-10-03 Seiko Instruments Inc Communication device, communication system, and program therefor
JP2011077828A (en) * 2009-09-30 2011-04-14 Nippon Telegr & Teleph Corp <Ntt> Communication method, communication apparatus and communication system

Similar Documents

Publication Publication Date Title
EP0740440B1 (en) Method for connecting roaming stations in a source routed bridged local area network
EP0986222B1 (en) A mobile point-to-point protocol
JPH10154995A (en) Gateway system and method for relaying packet
CN1246024A (en) Method for providing wireless communication by means of loading circuit in a radio communication system
JPH05344161A (en) Connection router between local area networks
AU2005225061A1 (en) Data transmission apparatus, data transmission method, data transmission program, and recording medium
CN1357999A (en) MPLS implementation in ATM platform
JP3692083B2 (en) Communication device with dial-up function
WO2004077792A1 (en) Protocol conversion device and method
JPH07212404A (en) Inter-network data repeater
JPH10336243A (en) Inter-dialup router communication system and inter-dialup router communication method
JP4143479B2 (en) Communication system between subscriber terminals
JP3339514B2 (en) Mobility management device, packet relay device, and mobile communication system
JP2005244366A (en) Gateway unit, mobile terminal and inter-lan connection method
JP4741401B2 (en) Information transfer device
JP2002101127A (en) Ppp connection control system
KR100437144B1 (en) Method and apparatus for packet data processing in wireless packet data network
JP3829023B2 (en) Communication processing device and terminal adapter
JP3664388B2 (en) Bidirectional communication system and method
JP3001456B2 (en) Protocol-specific parameter absorption method in exchange
JP2005244273A (en) Data communication control apparatus
JP3113650B2 (en) Communication method using check packet
JPS63146536A (en) Data communication system
JPH0442656A (en) Isdn call control system
JP3231809B2 (en) Switching device and control method thereof