JPH11112570A - Route control method and domain name system server deciding method - Google Patents

Route control method and domain name system server deciding method

Info

Publication number
JPH11112570A
JPH11112570A JP27582597A JP27582597A JPH11112570A JP H11112570 A JPH11112570 A JP H11112570A JP 27582597 A JP27582597 A JP 27582597A JP 27582597 A JP27582597 A JP 27582597A JP H11112570 A JPH11112570 A JP H11112570A
Authority
JP
Japan
Prior art keywords
route
terminal
address
datagram
route control
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
JP27582597A
Other languages
Japanese (ja)
Inventor
Kenichi Kashima
謙一 鹿島
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 JP27582597A priority Critical patent/JPH11112570A/en
Publication of JPH11112570A publication Critical patent/JPH11112570A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide the method for setting different routes for respective terminals by previously setting a default route to the terminal and executing connection by the default route which is set when the terminal is connected to a final address being a target in a network which can select the plural routes. SOLUTION: A datagram is transferred from the terminal 5 to a router 4 and the router 4 receiving the datagram transfers the datagram to a route control part 20 for deciding the used route. The route control part 20 calculates a final network address from the final address. Then, a route control table is referred to and it is recognized with which network address that is directly connected the calculated final network address is matched. When the matched ones exist, the received datagram is transmitted to a final point through the network. When the matched ones do not exist, it is recognized whether the final address exists as the terminal designation route or not.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ネットワーク相互
間の接続を行うための経路制御方式および経路制御方法
に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a route control method and a route control method for establishing a connection between networks.

【0002】[0002]

【従来の技術】従来のネットワーク相互間の経路制御方
法において、終点アドレスをキーとして転送経路が記述
された経路制御テーブルを検索することによりパケット
を転送する経路が決定されていた。このとき、終点アド
レスに対する明示的な経路が経路制御テーブル上が存在
しない場合には経路としてデフォルト経路を使用するこ
ととなる。
2. Description of the Related Art In a conventional route control method between networks, a route for transferring a packet is determined by searching a route control table in which a transfer route is described using an end address as a key. At this time, if there is no explicit route for the destination address on the route control table, the default route is used as the route.

【0003】図8はISP(インターネットサービスプ
ロバイダInternet Service Provider)とLAN(Local
Area Network)を接続する場合のネットワークの典型
的な構成を示す図である。
FIG. 8 shows an ISP (Internet Service Provider) and a LAN (Local).
FIG. 1 is a diagram illustrating a typical configuration of a network when connecting an area network (Area Network).

【0004】複数の端末5〜7を収容するLAN10
は、ルータ4を介してインターネット8と接続するが、
ルータ4とインターネット8との間には2つのISP
1,2が介在し、それぞれ経路90,91を介して接続
される。
A LAN 10 accommodating a plurality of terminals 5 to 7
Connects to the Internet 8 via the router 4,
Two ISPs between router 4 and Internet 8
1 and 2 are interposed and connected via paths 90 and 91, respectively.

【0005】従来行われている経路制御方法は、インタ
ーネット8における終点アドレスに対応して予めデフォ
ルト経路として指定されているISPを選択することが
行われていた。
[0005] In a conventional route control method, an ISP that has been designated as a default route in advance corresponding to an end point address on the Internet 8 has been selected.

【0006】[0006]

【発明が解決しようとする課題】LAN10に収容され
ている端末5〜7が複数のISPと契約している場合、
インターネット8に接続する際に、特定のISPを介し
て接続したいという要求がある。例えば、端末5からは
経路90、すなわちISP1を通じてインターネット8
へ接続し、また、端末6からは経路91、すなわちIS
P2を通じてインターネット8へ接続したいという要求
が存在する。このような要求は、ISPとの契約内容に
より料金が異なることがあるため、少なからず存在す
る。
When the terminals 5 to 7 accommodated in the LAN 10 have contracts with a plurality of ISPs,
When connecting to the Internet 8, there is a request to connect via a specific ISP. For example, from the terminal 5, the route 90, that is, the Internet 8 through the ISP 1
To the terminal 6 and a route 91, ie, IS
There is a request to connect to the Internet 8 through P2. Such demands are not a little present, since the charges may differ depending on the contents of the contract with the ISP.

【0007】上記のような要求を実現するためには、端
末5から送信されたデータグラムはISP1をデフォル
ト経路とする経路制御を行ない、端末6から送信された
データグラムはISP2をデフォルト経路とする経路制
御を行わなければならないが、上述した従来の経路制御
方法は、終点アドレスに対応して予めデフォルト経路と
して指定されているISPが選択されてしまい、各端末
毎にデフォルト経路を設定することができず、端末の種
類に応じて経路を設定することができないという問題点
がある。
[0007] In order to fulfill the above request, the datagram transmitted from the terminal 5 is route-controlled with the ISP1 as the default route, and the datagram transmitted from the terminal 6 is with the ISP2 as the default route. The route control must be performed. However, in the above-described conventional route control method, the ISP specified as the default route in advance corresponding to the end point address is selected, and the default route is set for each terminal. However, there is a problem that the route cannot be set according to the type of the terminal.

【0008】本発明は、上述したような従来の技術が有
する問題点に鑑みてなされたものであって、端末毎に異
なる経路を設定することのできる経路制御方法を実現す
ることを目的とする。
The present invention has been made in view of the above-described problems of the conventional technology, and has as its object to realize a route control method capable of setting a different route for each terminal. .

【0009】[0009]

【課題を解決するための手段】本発明による経路制御方
法は、目的とする終点アドレスに端末を接続する際に、
複数の経路が選択可能なネットワークで行われる経路制
御方法であって、前記端末に対して予めデフォルト経路
を設定し、該設定されたデフォルト経路により接続を行
うことを特徴とする。
According to the route control method of the present invention, when a terminal is connected to a target destination address,
A route control method performed in a network in which a plurality of routes can be selected, wherein a default route is set in advance for the terminal, and connection is performed using the set default route.

【0010】この場合、デフォルト経路の設定がインタ
ーネットサービスプロバイダを選択することにより行わ
れることとしてもよい。
[0010] In this case, the default route may be set by selecting an Internet service provider.

【0011】また、デフォルト経路の設定がゲートウェ
イを選択することにより行われることとしてもよい。
[0011] The setting of the default route may be performed by selecting a gateway.

【0012】上記のいずれにおいても、前記端末に対し
てデフォルト経路が設定されていない場合には、終点ア
ドレスに対して設定されたデフォルト経路を設定するこ
ととしてもよい。
In any of the above, when a default route is not set for the terminal, a default route set for an end point address may be set.

【0013】本発明のドメインネームシステムサーバ決
定方法は、目的とする終点アドレスに端末を接続する際
に、複数の経路が選択可能なネットワークで行われるド
メインネームシステムサーバ決定方法であって、前記端
末に対して予めデフォルト経路およびドメインネームシ
ステムサーバを設定し、前記端末からのドメインネーム
システムサーバを問い合わせるパケットは、該端末に設
定されたデフォルト経路を介して設定されたドメインネ
ームシステムサーバへ転送することを特徴とする。
[0013] A method for determining a domain name system server according to the present invention is a method for determining a domain name system server which is performed in a network in which a plurality of routes can be selected when connecting a terminal to a target end address. A default route and a domain name system server are set in advance, and a packet inquiring the domain name system server from the terminal is transferred to the set domain name system server via the default route set in the terminal. It is characterized by.

【0014】この場合、前記端末に対してドメインネー
ムシステムサーバが設定されていない場合には、パケッ
トを終点アドレスに対して設定されたドメインネームシ
ステムサーバへ転送することとしてもよい。
In this case, if a domain name system server is not set for the terminal, the packet may be transferred to a domain name system server set for the destination address.

【0015】「作用」上記のように構成される本発明に
おいては、端末に設定されたデフォルト経路にて接続が
なされるので、各端末に異なる経路を設定することによ
り、異なる経路にて接続を行うことができる。
[Operation] In the present invention configured as described above, the connection is made through the default route set in the terminal. Therefore, by setting a different route to each terminal, the connection is made through a different route. It can be carried out.

【0016】[0016]

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

【0017】図1は本発明の一実施例の構成を示す図、
図2は図1中のルータ4の構成を詳細に示す図、図3は
本実施例の動作を示すフローチャートである。
FIG. 1 is a diagram showing the configuration of an embodiment of the present invention.
FIG. 2 is a diagram showing the configuration of the router 4 in FIG. 1 in detail, and FIG. 3 is a flowchart showing the operation of the present embodiment.

【0018】本実施例は、インターネット8と、経路制
御部20を備えたルータ4と、インターネット8とルー
タ4とを接続するISP1〜ISP3と、LAN10を
接続するルータ4と、端末5〜7を収容し、ルータ4と
接続するLAN10から構成されている。LAN10の
ネットマスクは255.255.255.0で、ネット
ワークアドレス192.168.1.0である。
In the present embodiment, the Internet 8, the router 4 having the route control unit 20, the ISP1 to ISP3 connecting the Internet 8 and the router 4, the router 4 connecting the LAN 10, and the terminals 5 to 7 are connected. It comprises a LAN 10 that accommodates and connects to the router 4. The netmask of the LAN 10 is 255.255.255.0 and the network address is 192.168.1.0.

【0019】端末5、端末6、端末7のIPアドレスは
それぞれ192.168.1.2、192.168.
1.3、192.168.1.4であり、ルータ4のI
Pアドレスは192.168.1.1である。ルータ4
は端末5〜7から送信されるインターネット8内の端末
宛てのデータグラムを経路制御部20により決定した経
路へ転送する。
The IP addresses of terminal 5, terminal 6, and terminal 7 are 192.168.1.2, 192.168.
1.3, 192.168.1.4, and I of router 4
The P address is 192.168.1.1. Router 4
Transfers the datagram addressed to the terminal in the Internet 8 transmitted from the terminals 5 to 7 to the route determined by the route control unit 20.

【0020】図2に示すようにルータ4は図1に示した
経路制御部20の他に、経路制御テーブル21と、始点
アドレス経路制御テーブル22とを備えている。
As shown in FIG. 2, the router 4 includes a route control table 21 and a start address route control table 22 in addition to the route control unit 20 shown in FIG.

【0021】経路制御テーブル21は、終点ネットワー
クアドレスと、そこへ到達するために転送すべきゲート
ウェイとを格納するテーブルである。本実施例ではネッ
トワーク192.168.1.0へは直接配送を行い、
デフォルトのゲートウェイはISP1とされている。
The route control table 21 is a table for storing the destination network address and the gateway to be transferred to reach the destination network address. In this embodiment, direct delivery to the network 192.168.1.0 is performed,
The default gateway is ISP1.

【0022】始点アドレス経路制御テーブル22はデー
タグラムの始点アドレスと関連付けられたデフォルト経
路(以下、優先経路と呼ぶ)を格納するテーブルであ
る。本実施例では、始点アドレスが192.168.
1.2であるデータグラムは優先経路ISP2へ、始点
アドレスが192.168.1.3、192.168.
1.4であるデータグラムは優先経路ISP3へ経路が
制御される。経路制御部20は、経路付けされるデータ
グラム23が入力されると、経路制御テーブル21と始
点アドレス経路制御テーブル22を参照して、転送され
るべき経路24を決定する処理を行う。
The start address path control table 22 is a table for storing a default path (hereinafter, referred to as a priority path) associated with a start address of a datagram. In this embodiment, the start address is 192.168.
The datagram of 1.2 is sent to the priority route ISP2, and the source addresses are 192.168.1.3, 192.168.
The datagram of 1.4 is routed to the priority route ISP3. When the datagram 23 to be routed is input, the route control unit 20 performs a process of determining the route 24 to be transferred with reference to the route control table 21 and the start address route control table 22.

【0023】次に、本実施例の動作について、図1の端
末5からインターネット上の端末へデータグラムを送信
する場合を例とし、図1乃至図3を参照して説明する。
Next, the operation of this embodiment will be described with reference to FIGS. 1 to 3 by taking as an example a case where a datagram is transmitted from the terminal 5 in FIG. 1 to a terminal on the Internet.

【0024】端末5からルータ4へデータグラムが転送
される。データグラムを受信したルータ4は、使用する
経路を決定するために経路制御部20へデータグラムを
渡す。経路制御部20は終点アドレスから終点ネットワ
ークアドレスを計算する(ステップ31)。この後、経
路制御テーブル21を参照して、計算した終点ネットワ
ークアドレスが、直接接続しているネットワークアドレ
スのどれかに一致するかを確認する(ステップ32)。
The datagram is transferred from the terminal 5 to the router 4. The router 4 that has received the datagram passes the datagram to the path control unit 20 to determine a path to be used. The route control unit 20 calculates the destination network address from the destination address (step 31). Thereafter, referring to the routing control table 21, it is confirmed whether the calculated destination network address matches any of the directly connected network addresses (step 32).

【0025】計算した終点ネットワークアドレスが、直
接接続しているネットワークアドレスに一致するものが
ある場合には、受信したデータグラムをそのネットワー
クを通して終点へ送信し(ステップ33)、一致するも
のがない場合には終点アドレスが端末指定経路として存
在するかを確認する(ステップ34)。終点アドレスが
端末指定経路として存在する場合には、データグラムを
経路制御テーブル21の指定に従って経路を決定し(ス
テップ35)、終点アドレスが端末指定経路として存在
しない場合には、終点ネットワークアドレスが経路制御
テーブル21上に存在するかを確認する(ステップ3
6)。
If the calculated destination network address matches the directly connected network address, the received datagram is transmitted to the destination through the network (step 33). It is confirmed whether the destination address exists as a terminal designation route (step 34). If the destination address exists as the terminal-specified route, the route of the datagram is determined according to the designation in the routing control table 21 (step 35). If the destination address does not exist as the terminal-specified route, the destination network address is set as the route. Check whether it exists on the control table 21 (step 3
6).

【0026】終点ネットワークアドレスが経路制御テー
ブル21上に存在する場合には、データグラムの経路を
経路制御テーブル21に格納されている指定内容に従っ
てを決定する(ステップ37)。終点ネットワークアド
レスが経路制御テーブル21上に存在しない場合には、
データグラムから始点アドレスを取り出し(ステップ3
8)、取り出した始点アドレスに対応する優先経路が始
点アドレス経路制御テーブル22上に存在するかを確認
する(ステップ39)。
If the destination network address exists in the routing table 21, the route of the datagram is determined according to the designated contents stored in the routing table 21 (step 37). If the destination network address does not exist in the routing control table 21,
Extract the start address from the datagram (step 3
8) It is checked whether or not a priority route corresponding to the extracted start address exists in the start address routing table 22 (step 39).

【0027】取り出した始点アドレスに対応する優先経
路が始点アドレス経路制御テーブル22上に存在する場
合には、始点アドレスに対する優先経路として経路制御
する(ステップ40)。取り出した始点アドレスに対応
する優先経路が始点アドレス経路制御テーブル22上に
存在しない場合には、経路制御テーブル21にデフォル
トのゲートウェイを確認し(ステップ41)、確認した
ゲートウェイへデータグラムを経路制御する(ステップ
42)。ここで、ステップ41で経路制御テーブル21
にデフォルト経路が存在しないことが確認された場合に
は、経路制御エラーとして(ステップ43)、終了す
る。
If the priority route corresponding to the extracted start address exists in the start address routing table 22, the route is controlled as the priority route for the start address (step 40). If the priority route corresponding to the extracted start address does not exist in the start address routing control table 22, the default gateway is confirmed in the routing control table 21 (step 41), and the datagram is routed to the confirmed gateway. (Step 42). Here, in step 41, the route control table 21
If it is confirmed that no default route exists, the process ends as a route control error (step 43).

【0028】次に、本実施例の動作について具体例を用
いて説明する。
Next, the operation of this embodiment will be described using a specific example.

【0029】始点アドレスとなるIPアドレスが19
2.168.1.2である端末5がインターネット上の
端末(IPアドレス123.45.67.89)へデー
タグラムを送信する場合には、終点ネットワークアドレ
ス、終点アドレスとも経路制御テーブル21に存在せ
ず、始点アドレス経路制御テーブル22に上記の始点ア
ドレスに対する優先経路ISP2が存在するので、転送
されるべき経路はISP2となる。
The IP address serving as the starting point address is 19
When the terminal 5 of 2.168.1.2 transmits a datagram to a terminal on the Internet (IP address 123.45.67.89), both the destination network address and the destination address are present in the route control table 21. However, since the priority path ISP2 for the above-mentioned start point address exists in the start point address path control table 22, the path to be transferred is ISP2.

【0030】一方、始点アドレスとなるIPアドレスが
192.168.1.3である端末6がインターネット
上の端末(IPアドレス123.45.67.89)へ
データグラムを送信する場合には、同様にして転送され
るべき経路はISP3となる。
On the other hand, when the terminal 6 whose IP address as the start address is 192.168.1.3 transmits a datagram to a terminal on the Internet (IP address 123.45.67.89), the same applies. The path to be transferred is ISP3.

【0031】なお、第1の実施例では、LAN内の端末
が3つで、ルータ4の接続先が3つのISPを示した
が、本発明は、LAN内の端末の数は制限されるもので
はなく、ルータ4の接続先およびその数も制限されな
い。
In the first embodiment, the number of terminals in the LAN is three, and the router 4 is connected to the three ISPs. However, in the present invention, the number of terminals in the LAN is limited. However, the connection destination of the router 4 and the number thereof are not limited.

【0032】第2実施例 次に、本発明の第2の実施例について説明する。 Second Embodiment Next, a second embodiment of the present invention will be described.

【0033】図4は本発明の第2の実施例の構成を示す
図、図5は図4中のルータ4の構成を詳細に示す図であ
る。本実施例はルータ4の接続先が図1に示されたIS
Pではなく、社内LANなどのイントラネット50内の
ゲートウェイ(GW)51〜53である点が異なる。ル
ータ4からサーバ56への経路としては各GWについて
の経路54〜56がある。
FIG. 4 is a diagram showing the configuration of the second embodiment of the present invention, and FIG. 5 is a diagram showing the configuration of the router 4 in FIG. 4 in detail. In this embodiment, the connection destination of the router 4 is the IS shown in FIG.
The difference is that gateways (GW) 51 to 53 in the intranet 50 such as an in-house LAN are not Ps. The route from the router 4 to the server 56 includes routes 54 to 56 for each GW.

【0034】図5に示すようにルータ4は図4に示した
経路制御部20の他に、経路制御テーブル60と、始点
アドレス経路制御テーブル61とを備えている。
As shown in FIG. 5, the router 4 includes a route control table 60 and a start-point address route control table 61 in addition to the route control unit 20 shown in FIG.

【0035】本実施例における経路制御テーブル60
は、終点ネットワークアドレスと、そこへ到達するため
に転送すべきゲートウェイとを格納するテーブルであ
る。本実施例ではネットワーク192.168.1.0
へは直接配送を行い、デフォルトのゲートウェイはGW
51とされている。
The routing control table 60 in the present embodiment
Is a table storing the destination network address and the gateway to be transferred to reach the destination network address. In this embodiment, the network 192.168.1.0 is used.
Direct delivery to, default gateway is GW
51.

【0036】始点アドレス経路制御テーブル61はデー
タグラムの始点アドレスと関連付けられたデフォルト経
路(以下、優先経路と呼ぶ)を格納するテーブルであ
る。本実施例では、始点アドレスが192.168.
1.2であるデータグラムは優先経路GW52へ、始点
アドレスが192.168.1.3であるデータグラム
は優先経路GW53へ、192.168.1.4である
データグラムは優先経路GW54に経路が制御される。
The start address path control table 61 is a table for storing a default path (hereinafter referred to as a priority path) associated with a start address of a datagram. In this embodiment, the start address is 192.168.
A datagram with a start address of 192.168.1.3 is routed to a priority route GW53, and a datagram with a start address of 192.168.1.3 is routed to a priority route GW54. Is controlled.

【0037】経路制御部20は、経路付けされるデータ
グラム23が入力されると、経路制御テーブル60と始
点アドレス経路制御テーブル61を参照して、転送され
るべき経路24を決定する処理を行う。
When the datagram 23 to be routed is input, the route control unit 20 performs a process of determining the route 24 to be transferred with reference to the route control table 60 and the start address route control table 61. .

【0038】ルータ4からサーバ56へは複数の経路が
あり、上述したように、端末5(始点アドレスが19
2.168.1.2)の優先経路はGW51であり、端
末6(始点アドレスが192.168.1.3)の優先
経路はGW52であり、端末7(始点アドレスが19
2.168.1.4)の優先経路はGW53である点が
図2と異なっている。データグラムの経路の決定方法は
第1の実施例と同様であるために説明は省略する。
There are a plurality of routes from the router 4 to the server 56. As described above, the terminal 5 (starting address is 19
2.168.1.2) is the GW 51, the terminal 6 (starting address is 192.168.1.3) is the GW 52, and the terminal 7 (starting address is 19).
The difference from FIG. 2 is that the priority route of 2.168.1.4) is GW53. The method of determining the datagram path is the same as in the first embodiment, and a description thereof will be omitted.

【0039】本実施例の動作を図面を参照して詳細に説
明する。端末5から送信されるサーバ56へのデータグ
ラムは、ルータ4によってGW51へ転送され、経路5
4を通って、サーバ56へ到達する。一方、端末6から
送信されるサーバ56へのデータグラムは、ルータ4に
よってGW53へ転送され、経路55を通ってサーバ3
6へ到達する。
The operation of this embodiment will be described in detail with reference to the drawings. The datagram transmitted from the terminal 5 to the server 56 is transferred to the GW 51 by the router
4 to the server 56. On the other hand, the datagram transmitted from the terminal 6 to the server 56 is transferred to the GW 53 by the router 4 and passes through the path 55 to the server 3.
Reach 6.

【0040】本実施例ではサーバへの経路を端末毎に制
御することができるので、ネットワークの負荷を分散す
ることができるという新たな効果も有する。
In this embodiment, since the route to the server can be controlled for each terminal, there is also a new effect that the load on the network can be distributed.

【0041】第3の実施例 次に、本発明の第3の実施例について説明する。図6は
本実施例の要部構成を示す図、図7は本実施例の動作を
示すフローチャートである。
Third Embodiment Next, a third embodiment of the present invention will be described. FIG. 6 is a diagram showing the main configuration of the present embodiment, and FIG. 7 is a flowchart showing the operation of the present embodiment.

【0042】本実施例は図1に示した第1の実施例にお
けるルータ4の構成を異ならせたものであり、図6には
ルータ4の構成のみを示す。
This embodiment is different from the first embodiment shown in FIG. 1 in the configuration of the router 4, and FIG. 6 shows only the configuration of the router 4.

【0043】本実施例にけるルータ4には、優先経路と
DNS(Domain Name System)サーバを関連付けるテー
ブル71と代理DNS部70とが追加された点が第1の
実施例と異なっている。
The router 4 of this embodiment differs from the first embodiment in that a table 71 for associating a priority route with a DNS (Domain Name System) server and a proxy DNS unit 70 are added.

【0044】優先経路とDNSサーバを関連付けるテー
ブル71は、図2に示した始点アドレス経路制御テーブ
ル22に、優先経路に対応するDNSサーバを追加した
ものである。
The table 71 for associating a preferential route with a DNS server is obtained by adding a DNS server corresponding to a preferential route to the start address routing control table 22 shown in FIG.

【0045】代理DNS部70は、端末からDNSを問
い合わせる旨のパケットを受信すると、それを適当なD
NSサーバへ転送し、パケットを転送したDNSサーバ
から返って来た回答パケットを再び発信元の端末に転送
するサービスを提供する。
When the proxy DNS unit 70 receives a packet for inquiring of the DNS from the terminal, the proxy DNS unit 70
It provides a service of transferring the answer packet returned from the DNS server which transferred the packet to the NS server and the packet again to the source terminal.

【0046】この際、どのようにして適当なDNSサー
バを選択することが問題となる。本実施例の動作を図面
を参照して詳細に説明する。ルータ4の代理DNSサー
ビスへ送られたDNSの問い合わせパケットは、図7の
フローチャートに示される手順に従って転送されるべき
DNSサーバを決定する。図7を参照すると、パケット
から始点アドレスIを取り出し(ステップ80)、テ
ーブル71に始点アドレスIに対する優先経路が存在
するかを調べる(ステップ81)。
At this time, there is a problem how to select an appropriate DNS server. The operation of the present embodiment will be described in detail with reference to the drawings. The DNS inquiry packet sent to the proxy DNS service of the router 4 determines the DNS server to be transferred according to the procedure shown in the flowchart of FIG. Referring to FIG 7, taken out starting address I S from the packet (step 80), checks whether priority route exists for the source address I S in the table 71 (step 81).

【0047】テーブル71に始点アドレスIに対する
優先経路が存在する場合にはこれに対応するDNSサー
バに対してパケットを転送する(ステップ82)。テー
ブル71に始点アドレスIに対する優先経路が存在し
ない場合にはデフォルト経路に対応したDNSサーバへ
パケットを転送する(ステップ83)。具体的には、始
点アドレスが192.168.1.2である端末5から
送信されたDNS問い合わせパケットが、ルータ4によ
って転送されるべきDNSサーバはNAME2となる。
[0047] When the primary path for the source address I S on the table 71 is present for transferring a packet to the DNS server corresponding to this (step 82). If the table 71 there is no preferential path for the source address I S forwards the packet to the DNS server that corresponds to the default route (step 83). Specifically, the DNS server to which the DNS inquiry packet transmitted from the terminal 5 whose starting point address is 192.168.1.2 is to be transferred by the router 4 is NAME2.

【0048】一方、始点アドレスが192.168.
1.3である端末6から送信されたDNSの問い合わせ
パケットはNAME3へ転送される。
On the other hand, if the start point address is 192.168.
The DNS inquiry packet transmitted from the terminal 6 which is 1.3 is transferred to NAME3.

【0049】以上のように、端末ごとに適切なDNSサ
ーバへ選択することができる。本実施例では、端末ごと
に適切なDNSサーバを選択することにより、端末はD
NSサーバとしてルータ4を指定するだけでDNSサー
バも選択されることとなり、実際に転送を行う真のDN
Sサーバを意識する必要が不要となるという新たな効果
も有する。
As described above, an appropriate DNS server can be selected for each terminal. In this embodiment, by selecting an appropriate DNS server for each terminal, the terminal
The DNS server is also selected simply by specifying the router 4 as the NS server, and the true DNS that actually performs the transfer is selected.
There is also a new effect that it is not necessary to consider the S server.

【0050】[0050]

【発明の効果】本発明は以上説明したように構成されて
いるので、以下に記載するような効果を奏する。
Since the present invention is configured as described above, it has the following effects.

【0051】始点アドレス経路制御テーブルを参照し、
始点アドレスに基づいて経路制御が行われるため、端末
毎に異なるデフォルト経路を指定することができる効果
がある。
Referring to the start address routing table,
Since the route control is performed based on the start address, there is an effect that a different default route can be designated for each terminal.

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

【図1】本発明の実施例の構成を示すネットワーク図で
ある。
FIG. 1 is a network diagram showing a configuration of an embodiment of the present invention.

【図2】本発明の実施例の動作を示すブロック図であ
る。
FIG. 2 is a block diagram showing the operation of the embodiment of the present invention.

【図3】本発明の実施例の動作を示すフローチャートで
ある。
FIG. 3 is a flowchart showing the operation of the embodiment of the present invention.

【図4】本発明のその他の実施例の構成を示すネットワ
ーク図である。
FIG. 4 is a network diagram showing a configuration of another embodiment of the present invention.

【図5】本発明のその他の実施例の動作を示すブロック
図である。
FIG. 5 is a block diagram showing the operation of another embodiment of the present invention.

【図6】本発明のさらに他の実施例の構成を示すブロッ
ク図である。
FIG. 6 is a block diagram showing a configuration of still another embodiment of the present invention.

【図7】本発明のさらに他の実施例の動作を示すフロー
チャートである。
FIG. 7 is a flowchart showing an operation of still another embodiment of the present invention.

【図8】本発明の従来例の構成を示すネットワーク図で
ある。
FIG. 8 is a network diagram showing a configuration of a conventional example of the present invention.

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

1〜3 ISP 4 ルータ 5〜7 端末 8 インターネット 10 LAN 20 経路制御部 21,60 経路制御テーブル 22,61 始点アドレス経路制御テーブル 31〜43 ステップ 50 イントラネット 56 サーバ 70 代理DNS部 1-3 ISP 4 router 5-7 terminal 8 Internet 10 LAN 20 route control unit 21, 60 route control table 22, 61 start address route control table 31-43 step 50 intranet 56 server 70 proxy DNS unit

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 目的とする終点アドレスに端末を接続す
る際に、複数の経路が選択可能なネットワークで行われ
る経路制御方法であって、 前記端末に対して予めデフォルト経路を設定し、該設定
されたデフォルト経路により接続を行うことを特徴とす
る経路制御方法。
1. A route control method performed in a network in which a plurality of routes can be selected when connecting a terminal to a target destination address, wherein a default route is set in advance for the terminal, and the setting is performed. A route control method, wherein the connection is performed by a default route.
【請求項2】 請求項1記載の経路制御方法において、 デフォルト経路の設定がインターネットサービスプロバ
イダを選択することにより行われることを特徴とする経
路制御方法。
2. The route control method according to claim 1, wherein the setting of the default route is performed by selecting an Internet service provider.
【請求項3】 請求項1記載の経路制御方法において、 デフォルト経路の設定がゲートウェイを選択することに
より行われることを特徴とする経路制御方法。
3. The route control method according to claim 1, wherein the setting of the default route is performed by selecting a gateway.
【請求項4】 請求項1乃至請求項3のいずれかに記載
の経路制御方法において、 前記端末に対してデフォルト経路が設定されていない場
合には、終点アドレスに対して設定されたデフォルト経
路を設定することを特徴とする経路制御方法。
4. The route control method according to claim 1, wherein when a default route is not set for the terminal, a default route set for an end point address is set. A routing control method characterized by setting.
【請求項5】 目的とする終点アドレスに端末を接続す
る際に、複数の経路が選択可能なネットワークで行われ
るドメインネームシステムサーバ決定方法であって、 前記端末に対して予めデフォルト経路およびドメインネ
ームシステムサーバを設定し、 前記端末からのドメインネームシステムサーバを問い合
わせるパケットは、該端末に設定されたデフォルト経路
を介して設定されたドメインネームシステムサーバへ転
送することを特徴とするドメインネームシステムサーバ
決定方法。
5. A method for determining a server of a domain name system, which is performed in a network in which a plurality of routes can be selected when connecting a terminal to a target destination address, wherein a default route and a domain name Setting a system server, and transferring a packet from the terminal for inquiring of the domain name system server to the set domain name system server via a default route set for the terminal. Method.
【請求項6】 請求項5記載のドメインネームシステム
サーバ決定方法において、 前記端末に対してドメインネームシステムサーバが設定
されていない場合には、パケットを終点アドレスに対し
て設定されたドメインネームシステムサーバへ転送する
ことを特徴とするドメインネームシステムサーバ決定方
法。
6. The domain name system server determination method according to claim 5, wherein if no domain name system server is set for the terminal, the packet is set for the destination address. A method for determining a domain name system server, comprising:
JP27582597A 1997-10-08 1997-10-08 Route control method and domain name system server deciding method Pending JPH11112570A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27582597A JPH11112570A (en) 1997-10-08 1997-10-08 Route control method and domain name system server deciding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27582597A JPH11112570A (en) 1997-10-08 1997-10-08 Route control method and domain name system server deciding method

Publications (1)

Publication Number Publication Date
JPH11112570A true JPH11112570A (en) 1999-04-23

Family

ID=17560960

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27582597A Pending JPH11112570A (en) 1997-10-08 1997-10-08 Route control method and domain name system server deciding method

Country Status (1)

Country Link
JP (1) JPH11112570A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002300184A (en) * 2001-03-29 2002-10-11 Sumitomo Electric Ind Ltd Access device and method to relay communication between server unit providing access switching service to service provider and optional user terminal on network, and program to operate computer as the access device and computer-readable recording medium with the program recorded
JP2003273905A (en) * 2002-03-14 2003-09-26 Fujitsu Ltd Method and program for switching communication path
WO2004006518A1 (en) * 2002-07-05 2004-01-15 Allied Telesis Holdings K. K. Relay apparatus, relay method, program, and communication system
KR100472775B1 (en) * 2000-11-29 2005-03-07 엘지전자 주식회사 Routing table search method for supporting multiple default route
WO2006098043A1 (en) * 2005-03-17 2006-09-21 Fujitsu Limited Network system and network connection device
JP2006333080A (en) * 2005-05-26 2006-12-07 Nec Corp Mobile communication terminal, and method and program for communication path selection
JP2007088992A (en) * 2005-09-26 2007-04-05 Nippon Telegraph & Telephone West Corp System and apparatus for gateway selection
JP2007208818A (en) * 2006-02-03 2007-08-16 Intec Web & Genome Informatics Corp Multi-home connection method and device
WO2007141840A1 (en) 2006-06-05 2007-12-13 Hitachi Communication Technologies, Ltd. Relay network system and terminal adapter
US7978633B2 (en) 2003-06-11 2011-07-12 Nec Corporation Method and system of updating routing/establishing paths in a hierarchical network
JP2018206299A (en) * 2017-06-09 2018-12-27 三菱電機株式会社 Network system, customer-premises equipment, and communication method

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100472775B1 (en) * 2000-11-29 2005-03-07 엘지전자 주식회사 Routing table search method for supporting multiple default route
JP4590765B2 (en) * 2001-03-29 2010-12-01 住友電気工業株式会社 An access device and method for relaying communication between a server device that provides an access switching service to a service provider and an arbitrary user terminal on the network, and a program for causing a computer to operate as the access device Computer-readable recording medium recording the program
JP2002300184A (en) * 2001-03-29 2002-10-11 Sumitomo Electric Ind Ltd Access device and method to relay communication between server unit providing access switching service to service provider and optional user terminal on network, and program to operate computer as the access device and computer-readable recording medium with the program recorded
JP2003273905A (en) * 2002-03-14 2003-09-26 Fujitsu Ltd Method and program for switching communication path
WO2004006518A1 (en) * 2002-07-05 2004-01-15 Allied Telesis Holdings K. K. Relay apparatus, relay method, program, and communication system
US8780764B2 (en) 2003-06-11 2014-07-15 Nec Corporation Method and system of updating routing/establishing paths in a hierarchical network
US7978633B2 (en) 2003-06-11 2011-07-12 Nec Corporation Method and system of updating routing/establishing paths in a hierarchical network
WO2006098043A1 (en) * 2005-03-17 2006-09-21 Fujitsu Limited Network system and network connection device
WO2006098028A1 (en) * 2005-03-17 2006-09-21 Fujitsu Limited Network system and network connection device
US7885267B2 (en) 2005-03-17 2011-02-08 Fujitsu Limited Network system and network connection device
JP4600154B2 (en) * 2005-05-26 2010-12-15 日本電気株式会社 Portable communication terminal, communication route selection method and communication route selection program
JP2006333080A (en) * 2005-05-26 2006-12-07 Nec Corp Mobile communication terminal, and method and program for communication path selection
JP4593418B2 (en) * 2005-09-26 2010-12-08 西日本電信電話株式会社 Gateway selection system and gateway selection device
JP2007088992A (en) * 2005-09-26 2007-04-05 Nippon Telegraph & Telephone West Corp System and apparatus for gateway selection
JP2007208818A (en) * 2006-02-03 2007-08-16 Intec Web & Genome Informatics Corp Multi-home connection method and device
WO2007141840A1 (en) 2006-06-05 2007-12-13 Hitachi Communication Technologies, Ltd. Relay network system and terminal adapter
US8159989B2 (en) 2006-06-05 2012-04-17 Hitachi, Ltd. Relay network system and terminal adaptor apparatus
JP2018206299A (en) * 2017-06-09 2018-12-27 三菱電機株式会社 Network system, customer-premises equipment, and communication method

Similar Documents

Publication Publication Date Title
US6396833B1 (en) Per user and network routing tables
US7574522B2 (en) Communication data relay system
JP4354532B2 (en) Distributed computer system and method for distributing user requests to replica network servers
US8320384B2 (en) Packet forwarding apparatus suitable for real time packets
EP2137844B1 (en) Distributed routing table architecture and design
CA2307949C (en) Integrated ip network containing a plurality of separated ip networks each having different characteristics
US20030237002A1 (en) Network node and communication system
WO2007033363A2 (en) System and method for providing packet connectivity between heterogeneous networks
EP1041776A1 (en) Multiple ARP functionality for an IP data transmission system
JPH11112570A (en) Route control method and domain name system server deciding method
JPH1065735A (en) Address resolving device
EP1246425A1 (en) Packet switching networks
EP1552662B1 (en) System and method for communicating data between networks operating under different protocols
Cisco IPX Commands
Cisco Novell IPX Commands
Cisco Novell IPX Commands
Cisco access-list additional-zones to appletalk eigrp-timers
Cisco Configuring Banyan VINES
Cisco Configuring Banyan VINES
Cisco Configuring Banyan VINES
Cisco Configuring Banyan VINES
Cisco Cisco IOS Apollo Domain, Banyan VINES, DECnet, ISO CLNS, and XNS Configuration Guide Release 12.1
Cisco Novell IPX Commands
Cisco Novell IPX Commands
Cisco Novell IPX Commands