[go: up one dir, main page]

JP3595655B2 - Network connection device - Google Patents

Network connection device Download PDF

Info

Publication number
JP3595655B2
JP3595655B2 JP23780897A JP23780897A JP3595655B2 JP 3595655 B2 JP3595655 B2 JP 3595655B2 JP 23780897 A JP23780897 A JP 23780897A JP 23780897 A JP23780897 A JP 23780897A JP 3595655 B2 JP3595655 B2 JP 3595655B2
Authority
JP
Japan
Prior art keywords
server
router
network
network device
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP23780897A
Other languages
Japanese (ja)
Other versions
JPH1168852A (en
Inventor
尚久 式田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP23780897A priority Critical patent/JP3595655B2/en
Publication of JPH1168852A publication Critical patent/JPH1168852A/en
Application granted granted Critical
Publication of JP3595655B2 publication Critical patent/JP3595655B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

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

Description

【0001】
【発明の属する技術分野】
本発明は、LAN(Local Area Network)やWAN(Wide Area Network )のようなネットワークシステムに使用される、ネットワーク接続装置に関する。
【0002】
【従来の技術】
従来、NetWareによるネットワーク環境で動作するネットワーク装置において、そのネットワーク装置が、NetWareのサービスを受けるためにはまず、一時的に不定なサーバに接続する必要があり、そのサーバの物理的経路を認識することはできない。
一方、ネットワークは、通常、ある程度の規模(単位)で分割してサブネットワーク化し、その複数のサブネットワークをルータという中継装置によって接続するという形態が一般的である。
ルータが接続するネットワークは、イーサネットなどのLANによるもの、専用線によるもの、ISDN回線によるものなどが考えられる。LANとISDN回線とを中継する装置は、ISDNルータと呼ばれる。
【0003】
【発明が解決しようとする課題】
ところで、ISDN回線の場合には、その通信料は従量制であり、ISDN回線を経由して接続を行うと、その通信事業者から課金を受けることになる。
したがって、ISDN回線を経由して接続するサーバに対しては、アクセスを行わないようにすることが望ましい。
【0004】
そこで、本発明の目的は、ISDN回線を経由するサーバの接続を防止できるネットワーク接続装置を提供することにある。
【0005】
【課題を解決するための手段】
請求項1記載の発明では、複数のサブネットワークをルータにより接続させるとともに、前記サブネットワークのうちの少なくとも1つをISDN回線に接続させ、かつ、ネットワーク装置がサーバと接続する際に、不定なサーバへの仮接続を必要とするネットワークシステムにおいて、その仮接続先までの通信経路においてルータを中継しないサーバを検出する検出手段と、この検出手段により検出されたサーバを、前記ネットワーク装置の仮接続先として選択する選択手段とを具備することにより、前記目的を達成する。
【0006】
請求項2記載の発明では、複数のサブネットワークをルータにより接続させるとともに、前記サブネットワークのうちの少なくとも1つをISDN回線に接続させ、かつ、ネットワーク装置がサーバと接続する際に、不定なサーバへの仮接続を必要とするネットワークシステムにおいて、前記ネットワーク装置との接続を許可するルータの段数nを任意に設定する設定手段と、この設定手段により設定されたルータの段数nを記憶する記憶手段と、その仮接続先までの通信経路において経由するルータの段数が、前記記憶手段に記憶されているルータの段数n以下であるか否を判定する判定手段と、この判定手段が前記ルータの段数がn以下であると判定したときには、前記ネットワーク装置の仮接続先として、前記ルータの段数がn以下のサブネットワークに属するサーバを選択する選択手段とを具備することにより、前記目的を達成する。
【0007】
請求項3記載の発明では、複数のサブネットワークをルータにより接続させるとともに、前記サブネットワークのうちの少なくとも1つをISDN回線に接続させ、かつ、ネットワーク装置がサーバと接続する際に、不定なサーバへの仮接続を必要とするネットワークシステムにおいて、前記ネットワーク装置の接続経路として許可しないルータのアドレスXを設定する設定手段と、この設定手段により設定されたルータのアドレスXを記憶する記憶手段と、仮接続先までの通信経路において経由するルータのアドレスが、前記記憶手段に記憶されているルータのアドレスXと一致するか否かを判定する判定手段と、この判定手段が前記両アドレスが一致したと判定したときには、前記ネットワーク装置の仮接続先として、その一致したアドレスXのルータ以外のルータを経由するサーバを選択する選択手段とを具備することにより、前記目的を達成する。
【0008】
【発明の実施の形態】
以下、本発明のネットワーク接続装置の実施の形態について、図面を参照して説明する。
図1は、本発明の第1の実施の形態が適用されるネットワークシステムの構成の一例を示す図である。
このネットワークシステムでは、図1に示すように、ネットワーク装置(A1)が接続されている。このネットワーク装置(A1)は、それが接続されるネットワーク内の他の端末との通信機能を有している。
ネットワーク装置(A1)は、NetWareネットワーク用として動作し、NetWareサーバとの通信を行う。ネットワーク内には、NetWareサーバ(NW1〜3)のように、NetWareサーバが1台以上存在する。
【0009】
このネットワークは、図示のように複数のサブネットワークに分割され、この分割されたサブネットワーク間は、中継装置であるルータ(R1、R2)により接続されている。さらに、サブネットワークの1つは、ISDNルータ(IR1)、ISDN回線、ISDNルータ(IR2)を介して他のサブネットワークに接続されている。
ネットワーク装置(A1)は、NetWare接続機能を有するものであり、その動作のためにNetWareサーバへのアクセスを必要とする。プリファードサーバ名としては“NW2”が指定されている。
【0010】
次に、このような構成からなるネットワークの初期化手順を説明するに先立って、従来の初期化手順について、図7のフローチャートを参照して説明する。
(1)先ず、ネットワーク装置(A1)が、Get Nearest serverにより、仮接続するサーバを検索する。すなわち、Get Nearestserverをブロードキャスト送信により要求し(ステップ1)、応答があると(ステップ2;Y)、最初の応答のサーバをニアレストサーバとみなす(ステップ3)。
(2)(1)で得られたニアレストサーバに対し、コネクションを確立し、コネクション上必要な初期化処理を行う(ステップ4)。
【0011】
(3)ニアレストサーバを利用して、プリファードサーバ“NW2”を検索する(ステップ5、6)。これにより、プリファードサーバのアドレスを得る。
(4)(3)で検索の結果、プリファードサーバ“NW2”が存在し、そのアドレスの取得に成功したら、プリファードサーバ“NW2”にログインする(ステップ7)。
(5)(4)でログインに成功したならば(ステップ8;Y)、ネットワーク装置(A1)の主目的の動作を行う。たとえば、このネットワーク装置(A1)がプリントサーバであるならば、プリファードサーバ“NW2”からプリントジョブをポーリングし、存在すれば印字出力する。
【0012】
ここで、問題となるのは、プリファードサーバを検索する際に、必要となる仮のサーバであるニアレストサーバが、どこにあるサーバになるか不定なことである。
これは物理的に近くにいるサーバが認識されるわけではなく、ネットワーク装置(A1)側で、その応答パケットを受け取った順序によって決定されるからである(図8参照)。ここで、ルータを越えての応答は、サーバ自身ではなくルータによって代理応答される。ルータでは、通常、サーバ情報を常にキャッシュしており、Get Nearest Serverには即答する。
【0013】
したがって、ISDN回線を経由して接続されたプリファードサーバ“NW3”が得られてしまう可能性があり得る。
この場合にも、上記の手順通り(2)において、ネットワーク装置(A1)は、サーバNW3に接続を行う。この動作により、ルータ(R1)はルータ(R2)に対して発呼し接続を行う。
このISDN回線の課金が従量制のものであれば、このとき料金が発生することになる。
また、プリファードサーバが存在しなかった場合の処理として、再試行するような装置の場合には、プリファードサーバが見つかるまで、ニアレストサーバとの接続はつながったままということにもなる。
以上からわかるように、従来の方式では、Get Nearest Serverの応答のうち、最も早く到着したもののみを採用していた。
【0014】
そこで、本発明の第1の実施の形態は、ネットワークの初期化手順を以下のように行うようにした。図2は、その初期化手順を示すフローチャートである。
まず、ネットワーク装置(A1)は「Get Nearest Server」要求をブロードキャストにより発行してから、所定のt秒間、その要求に対する応答を受信し、t秒間の間に受信したパケットを、図3(A)に示すようにサーバテーブルT1に記録していく(ステップ11〜ステップ14)。この受信したパケットには、サーバ名、サーバアドレス、ホップ数が含まれているので、これらの各情報をテーブルT1に記録する。
なお、上記のt秒間のタイムアウト処理を行うのは、受信について、応答がない(NetWareサーバが存在しない)ことを考慮したためである。
【0015】
そして、t秒間を経過してタイムアウトになると(ステップ12;Y)、サーバが1台以上あるか否かを判定する(ステップ15)。この判定の結果、、サーバが1台以上ある場合には(ステップ15;Y)、図3(B)に示すように、テーブルT1におけるサーバの順序を、ホップ数の小さい順に並べ替える(ステップ16)。ここで、ホップ数とは、経由するルータの段数(個数)をいう。
そのサーバの順序の並べ替え後に、最初のエントリとなるレコードを参照し、それをニアレストサーバとみなす。すなわち、先頭レコードのホップ数が「0」か否かを判定し(ステップ17)、ホップ数が「0」の場合には、先頭レコードに記録されているサーバをニアレストサーバとみなす(ステップ18)。
この例では、サーバ(NW1)が、必ずニアレストサーバとみなされることになる。このニアレストサーバのホップ数は「0」であるため、このサーバはルータを越えることは絶対にないサーバであり、ISDNに対して発呼することもない。
【0016】
このようにして、ニアレストサーバとコネクションが確立すると(ステップ19)、通常の処理を続行する。
すなわち、ニアレストサーバを利用して、プリファードサーバを検索し(ステップ20)、検索の結果、プリファードサーバが存在したら(ステップ21;Y)、そのプリファードサーバにログインする(ステップ22、23)。
【0017】
次に、本発明の第2の実施の形態について説明する。
図1のネットワークにおいて、ネットワーク装置(A1)と同一のサブネットワークに接続されたNetWareサーバ(NW1)が存在しなかったとする。この場合には、ネットワーク装置(A1)は、NetWareサーバ(NW2)をプリファードサーバとして使用したいので、NetWareサーバ(NW1)の存在は本質的には、必要ではない。
しかし、第1の実施の形態では、上記のように必ずホップ数「0」にNetWareサーバが存在することが動作上の必要条件のため、このネットワークシステムは動作しなくなってしまう。
一方、図1のネットワークの構成を十分に理解している管理者がいるならば、ホップ数が「1」以内にも、ISDNルータを経由するNetWareサーバが存在しないことは明らかである。
【0018】
そこで、この第2の実施の形態では、ニアレストサーバを決定する際のホップ数の上限値を可変にし、そのホップ数をユーザが設定でき、設定してホップ数を記憶できるようにしたものである。
ここで、ユーザがあらかじめ設定しておいたホップ数の上限値を「n」とする。そして、ホップ数が「n」以下のサーバが存在した場合には、そのサーバをニアレストサーバとみなして、処理を続行するようにする。
【0019】
次に、第2の実施の形態のネットワークの初期化手順について、図4のフローチャートを参照して説明する。
まず、ユーザによって設定され、あらかじめ記憶されているホップ数の上限値nを読み取る(ステップ31)。
次に、ネットワーク装置(A1)が「Get Nearest Server」要求をブロードキャストにより発行してから、所定のt秒間、その要求に対する応答を受信し、t秒間の間に受信したパケットを、サーバテーブルに記録していく(ステップ32〜ステップ35)。この受信したパケットには、サーバ名、サーバアドレス、ホップ数が含まれているので、これらの各情報をサーバテーブルに記録する。
【0020】
そして、t秒間を経過してタイムアウトになると(ステップ33;Y)、サーバが1台以上あるか否かを判定する(ステップ36)。この判定の結果、、サーバが1台以上ある場合には(ステップ36;Y)、サーバテーブルにおけるサーバの順序を、ホップ数の小さい順に並べ替える(ステップ37)。
そのサーバの順序の並べ替え後に、先頭レコードのホップ数が「n」以下か否かを判定し(ステップ38)、「n」以下であれば、その先頭レコードに記録されているサーバをニアレストサーバとみなす(ステップ39)。
このようにして、ニアレストサーバとコネクションが確立すると(ステップ40)、通常の処理を続行する。すなわち、ニアレストサーバを利用して、プリファードサーバを検索し(ステップ41)、検索の結果、プリファードサーバが存在したら(ステップ42;Y)、そのプリファードサーバにログインする(ステップ43、44)。
【0021】
次に、本発明の第3の実施の形態について説明する。
図5は、この第3の実施の形態が適用されるネットワークシステムの構成の一例を示す図である。
このネットワークシステムでは、図示のように、ネットワーク装置(A1)が含まれるサブネットワークが、ISDNルータ(IR1)、ISDN回線、ISDNルータ(IR2)を介して他のサブネットワークに接続されている。
さらに、ネットワーク装置(A1)に対し、「除外ルータ」なる設定項目を設け、そこにはルータのノードアドレス値を保持できるようにする。
ここでは、図5におけるISDNルータ(IR1)が、その除外ルータの対象となる。このため、ネットワーク装置(A1)に、「除外ルータ」としてISDNルータ(IR1)のアドレス「X」を設定し、記憶させておく。
【0022】
次に、このような構成からなる第3の実施の形態の初期化手順を、図6のフローチャートを参照して説明する。
まず、ネットワーク装置(A1)は、「Get Nearest server」要求を発行し(ステップ51)、その応答を受ける際に、その応答パケットの送信元アドレスを、登録されている「除外ルータ」のアドレス「X」と比較する(ステップ52、53)。
この比較の結果、送信元アドレスの値が登録されている「除外ルータ」のアドレス「X」と一致するときには(ステップ54;Y)、このパケットは破棄し、他のパケットを受信する。
一方、送信元アドレスの値が登録されている「除外ルータ」のアドレス「X」と一致しないきには(ステップ54;N)、その応答パケットを有効とする。
ここで、有効とする応答パケットは、「除外ルータ」以外で最も早いものであるが、「除外ルータ」以外からの応答パケットのうちから1つを抽出するようにしても良い。
【0023】
次に、その有効とされた応答パケットに格納されている、サーバをニアレストサーバとみなす(ステップ55)。
このようにして、ニアレストサーバとコネクションが確立すると(ステップ56)、通常の処理を続行する。すなわち、ニアレストサーバを利用して、プリファードサーバを検索し(ステップ57)、検索の結果、プリファードサーバが存在したら(ステップ58;Y)、そのプリファードサーバにログインする(ステップ59、60)。
【0024】
【発明の効果】
請求項1記載の発明では、仮接続先までの通信経路においてルータを中継しないサーバを検出し、この検出されたサーバを、ネットワーク装置の仮接続先として選択するようにした。このため、ISDNを経由したサーバとの接続を防止することができる。
【0025】
請求項2記載の発明では、ネットワーク装置との接続を許可するルータの段数nを任意に設定・記憶できるようにし、仮接続先までの通信経路において経由するルータの段数が、その記憶されているルータの段数n以下であると判定したときには、ネットワーク装置の仮接続先として、ルータの段数がn以下のサブネットワークに属するサーバを選択するようにした。このため、ISDNを経由したサーバとの接続を防止することができる。
【0026】
請求項3記載の発明では、ネットワーク装置の接続経路として許可しないルータのアドレスXを設定・記憶できるようにし、仮接続先までの通信経路において経由するルータのアドレスが、その記憶されているルータのアドレスXと一致したときには、ネットワーク装置の仮接続先として、その一致したアドレスXのルータ以外のルータを経由するサーバを選択するようにした。このため、ISDNを経由したサーバとの接続を防止できる。
【図面の簡単な説明】
【図1】本発明の第1の実施の形態が適用されるネットワークシステムの構成の一例を示す図である。
【図2】第1の実施の形態におけるネットワークの初期化手順を示すフローチャートである。
【図3】サーバテーブルの格納内容の一例を示す図である。
【図4】第2の実施の形態におけるネットワークの初期化手順を示すフローチャートである。
【図5】本発明の第3の実施の形態が適用されるネットワークシステムの構成の一例を示す図である。
【図6】第3の実施の形態におけるネットワークの初期化手順を示すフローチャートである。
【図7】従来のネットワークの初期化手順を示すフローチャートである。
【図8】Get Nearest Serverシーケンスの一例を示す図である。
【符号の説明】
A1 ネットワーク装置
NW1〜3 NetWareサーバ
R1、R2 ルータ
IR1、IR2 ISDNルータ
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a network connection device used for a network system such as a LAN (Local Area Network) and a WAN (Wide Area Network).
[0002]
[Prior art]
2. Description of the Related Art Conventionally, in a network device operating in a network environment based on NetWare, in order to receive the service of NetWare, the network device first needs to temporarily connect to an indefinite server, and recognizes a physical route of the server. It is not possible.
On the other hand, a network is generally divided into a certain size (unit) to form a sub-network, and the plurality of sub-networks are connected by a relay device called a router.
The network to which the router is connected may be a LAN such as Ethernet, a dedicated line, an ISDN line, or the like. A device that relays a LAN and an ISDN line is called an ISDN router.
[0003]
[Problems to be solved by the invention]
By the way, in the case of the ISDN line, the communication fee is a pay-as-you-go system, and if a connection is made via the ISDN line, the communication carrier will be charged.
Therefore, it is desirable not to access the server connected via the ISDN line.
[0004]
Therefore, an object of the present invention is to provide a network connection device that can prevent connection of a server via an ISDN line.
[0005]
[Means for Solving the Problems]
According to the first aspect of the present invention, when a plurality of sub-networks are connected by a router, at least one of the sub-networks is connected to an ISDN line, and when a network device connects to the server, an indeterminate server is connected. Detecting means for detecting a server which does not relay a router in a communication path to the temporary connection destination in a network system requiring temporary connection to the temporary connection destination of the network device. The above object is achieved by providing a selecting means for selecting as.
[0006]
According to the second aspect of the present invention, when a plurality of sub-networks are connected by a router, at least one of the sub-networks is connected to an ISDN line, and when a network device connects to the server, an indeterminate server is connected. Setting means for arbitrarily setting the number n of routers permitted to be connected to the network device in a network system requiring temporary connection to the network device, and storage means for storing the number n of routers set by the setting means Determining means for determining whether or not the number of router steps through the communication path to the temporary connection destination is equal to or less than the number of router steps n stored in the storage means; Is determined to be n or less, the number of stages of the router is n or less as a temporary connection destination of the network device. By providing the selecting means for selecting a server that belongs to blanking network, to achieve the above object.
[0007]
According to the third aspect of the present invention, a plurality of sub-networks are connected by a router, and at least one of the sub-networks is connected to an ISDN line. Setting means for setting an address X of a router which is not permitted as a connection path of the network device in a network system which requires a temporary connection to the network device; storage means for storing the address X of the router set by the setting means; Determining means for determining whether or not the address of the router passing through the communication path to the temporary connection destination matches the address X of the router stored in the storage means; and the determining means determines that the two addresses match. Is determined as the temporary connection destination of the network device, Through the router other than the scan X routers by having a selection means for selecting a server, to achieve the above object.
[0008]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of a network connection device of the present invention will be described with reference to the drawings.
FIG. 1 is a diagram illustrating an example of a configuration of a network system to which the first embodiment of the present invention is applied.
In this network system, as shown in FIG. 1, a network device (A1) is connected. This network device (A1) has a communication function with another terminal in the network to which it is connected.
The network device (A1) operates for a NetWare network and communicates with a NetWare server. One or more NetWare servers exist in the network, such as NetWare servers (NW1 to 3).
[0009]
This network is divided into a plurality of sub-networks as shown in the figure, and the divided sub-networks are connected by routers (R1, R2) which are relay devices. Further, one of the sub-networks is connected to another sub-network via an ISDN router (IR1), an ISDN line, and an ISDN router (IR2).
The network device (A1) has a NetWare connection function and requires access to a NetWare server for its operation. “NW2” is specified as the preferred server name.
[0010]
Next, prior to describing a procedure for initializing a network having such a configuration, a conventional initialization procedure will be described with reference to a flowchart of FIG.
(1) First, the network device (A1) searches for a server to be provisionally connected by using the Get Nearest server. That is, a request for Get Nearestserver is requested by broadcast transmission (step 1), and if there is a response (step 2; Y), the server of the first response is regarded as the nearest server (step 3).
(2) A connection is established with the nearest server obtained in (1), and initialization necessary for the connection is performed (step 4).
[0011]
(3) Using the nearest server, search for the preferred server "NW2" (steps 5 and 6). Thereby, the address of the preferred server is obtained.
(4) As a result of the search in (3), the preferred server "NW2" exists, and if the address is successfully obtained, the user logs in to the preferred server "NW2" (step 7).
(5) If the login is successful in (4) (Step 8; Y), the main purpose operation of the network device (A1) is performed. For example, if the network device (A1) is a print server, the print server polls the print job from the preferred server "NW2", and prints out if it exists.
[0012]
Here, the problem is that it is unclear where the nearest server, which is a temporary server required when searching for a preferred server, will be.
This is because the server that is physically close is not recognized, but is determined by the order in which the response packets are received on the network device (A1) side (see FIG. 8). Here, the response beyond the router is not made by the server itself but by the router. Normally, the router always caches server information, and answers Get Nearest Server immediately.
[0013]
Therefore, there is a possibility that the preferred server “NW3” connected via the ISDN line may be obtained.
Also in this case, the network device (A1) connects to the server NW3 in the above procedure (2). By this operation, the router (R1) makes a call to the router (R2) to make a connection.
If the ISDN line is charged on a pay-as-you-go basis, a charge will be incurred at this time.
In the case where the preferred server does not exist, in the case of an apparatus that retrys, the connection with the nearest server is continued until the preferred server is found.
As can be seen from the above, in the conventional method, only the response that has arrived earliest among the responses of the Get Nearest Server has been adopted.
[0014]
Therefore, in the first embodiment of the present invention, the procedure for initializing the network is performed as follows. FIG. 2 is a flowchart showing the initialization procedure.
First, the network device (A1) issues a "Get Nearest Server" request by broadcasting, receives a response to the request for a predetermined t seconds, and converts the packet received during the t seconds into a packet shown in FIG. Are recorded in the server table T1 (steps 11 to 14). Since the received packet includes the server name, the server address, and the hop number, these pieces of information are recorded in the table T1.
The time-out process for t seconds is performed in consideration of no response (there is no NetWare server) for reception.
[0015]
When a timeout occurs after elapse of t seconds (step 12; Y), it is determined whether there is one or more servers (step 15). If the result of this determination is that there is at least one server (step 15; Y), as shown in FIG. 3B, the order of the servers in the table T1 is rearranged in ascending order of the number of hops (step 16). ). Here, the number of hops refers to the number of stages (number) of routers that pass through.
After rearranging the order of the servers, the server refers to the record that is the first entry and regards it as the nearest server. That is, it is determined whether or not the hop number of the first record is “0” (step 17). If the hop number is “0”, the server recorded in the first record is regarded as the nearest server (step 18). ).
In this example, the server (NW1) is always regarded as the nearest server. Since the number of hops of this nearest server is “0”, this server is a server that never crosses a router, and does not call the ISDN.
[0016]
When the connection with the nearest server is established in this way (step 19), normal processing is continued.
In other words, the preferred server is searched using the nearest server (step 20), and as a result of the search, if the preferred server exists (step 21; Y), the user logs in to the preferred server (steps 22 and 23).
[0017]
Next, a second embodiment of the present invention will be described.
In the network of FIG. 1, it is assumed that there is no NetWare server (NW1) connected to the same subnetwork as the network device (A1). In this case, since the network device (A1) wants to use the NetWare server (NW2) as a preferred server, the existence of the NetWare server (NW1) is essentially unnecessary.
However, in the first embodiment, the network system will not operate because the operation requirement is that the NetWare server always exists at the hop number “0” as described above.
On the other hand, if there is an administrator who fully understands the configuration of the network in FIG. 1, it is clear that there is no NetWare server that passes through the ISDN router even when the hop count is within “1”.
[0018]
Therefore, in the second embodiment, the upper limit value of the number of hops when determining the nearest server is made variable, and the number of hops can be set by the user, and the hop number can be set and stored. is there.
Here, the upper limit of the number of hops preset by the user is “n”. Then, when there is a server whose hop number is equal to or less than “n”, the server is regarded as the nearest server and the processing is continued.
[0019]
Next, a network initialization procedure according to the second embodiment will be described with reference to the flowchart in FIG.
First, the upper limit value n of the number of hops set by the user and stored in advance is read (step 31).
Next, after the network device (A1) issues a “Get Nearest Server” request by broadcast, a response to the request is received for a predetermined t seconds, and the packet received for the t seconds is recorded in the server table. (Steps 32 to 35). Since the received packet includes the server name, the server address, and the number of hops, these pieces of information are recorded in the server table.
[0020]
When a timeout occurs after elapse of t seconds (step 33; Y), it is determined whether there is one or more servers (step 36). If the result of this determination is that there is at least one server (step 36; Y), the server order in the server table is rearranged in ascending order of hop count (step 37).
After rearranging the order of the servers, it is determined whether or not the number of hops of the first record is equal to or less than "n" (step 38). It is regarded as a server (step 39).
Thus, when the connection with the nearest server is established (step 40), the normal processing is continued. That is, the preferred server is searched using the nearest server (step 41), and if the preferred server exists as a result of the search (step 42; Y), the user logs in to the preferred server (steps 43 and 44).
[0021]
Next, a third embodiment of the present invention will be described.
FIG. 5 is a diagram showing an example of a configuration of a network system to which the third embodiment is applied.
In this network system, as shown, a subnetwork including a network device (A1) is connected to another subnetwork via an ISDN router (IR1), an ISDN line, and an ISDN router (IR2).
Further, a setting item “excluded router” is provided for the network device (A1), and the node address value of the router can be stored therein.
Here, the ISDN router (IR1) in FIG. 5 is a target of the excluded router. Therefore, the address “X” of the ISDN router (IR1) is set and stored in the network device (A1) as the “excluded router”.
[0022]
Next, an initialization procedure according to the third embodiment having such a configuration will be described with reference to the flowchart in FIG.
First, the network device (A1) issues a “Get Nearest server” request (step 51), and upon receiving the response, sets the source address of the response packet to the registered “excluded router” address “ X "(steps 52 and 53).
As a result of this comparison, when the value of the source address matches the registered “excluded router” address “X” (Step 54; Y), this packet is discarded and another packet is received.
On the other hand, when the value of the source address does not match the registered address "X" of the "excluded router" (step 54; N), the response packet is validated.
Here, the valid response packet is the earliest one other than the “excluded router”, but one may be extracted from the response packets from other than the “excluded router”.
[0023]
Next, the server stored in the valid response packet is regarded as the nearest server (step 55).
Thus, when the connection with the nearest server is established (step 56), the normal processing is continued. In other words, the preferred server is searched using the nearest server (step 57), and as a result of the search, if the preferred server exists (step 58; Y), the user logs in to the preferred server (steps 59 and 60).
[0024]
【The invention's effect】
According to the first aspect of the present invention, a server that does not relay the router in the communication path to the temporary connection destination is detected, and the detected server is selected as a temporary connection destination of the network device. For this reason, connection with the server via the ISDN can be prevented.
[0025]
According to the second aspect of the present invention, it is possible to arbitrarily set and store the number n of routers permitted to connect to the network device, and to store the number of routers passing through the communication path to the temporary connection destination. When it is determined that the number of stages of the router is n or less, a server belonging to a subnetwork having the number of stages of the router of n or less is selected as a temporary connection destination of the network device. For this reason, connection with the server via the ISDN can be prevented.
[0026]
According to the third aspect of the present invention, it is possible to set and store the address X of a router that is not permitted as a connection route of the network device, and to set the address of the router that passes through the communication route to the temporary connection destination with the stored router address. When the address X coincides with the address X, a server passing through a router other than the router having the coincident address X is selected as a temporary connection destination of the network device. For this reason, connection with the server via the ISDN can be prevented.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating an example of a configuration of a network system to which a first embodiment of the present invention is applied;
FIG. 2 is a flowchart illustrating a network initialization procedure according to the first embodiment.
FIG. 3 is a diagram illustrating an example of contents stored in a server table;
FIG. 4 is a flowchart illustrating a procedure for initializing a network according to a second embodiment;
FIG. 5 is a diagram illustrating an example of a configuration of a network system to which a third embodiment of the present invention is applied;
FIG. 6 is a flowchart illustrating a network initialization procedure according to the third embodiment.
FIG. 7 is a flowchart showing a conventional network initialization procedure.
FIG. 8 is a diagram illustrating an example of a Get Nearest Server sequence.
[Explanation of symbols]
A1 Network device NW1-3 NetWare server R1, R2 Router IR1, IR2 ISDN router

Claims (3)

複数のサブネットワークをルータにより接続させるとともに、前記サブネットワークのうちの少なくとも1つをISDN回線に接続させ、かつ、ネットワーク装置がサーバと接続する際に、不定なサーバへの仮接続を必要とするネットワークシステムにおいて、
その仮接続先までの通信経路においてルータを中継しないサーバを検出する検出手段と、
この検出手段により検出されたサーバを、前記ネットワーク装置の仮接続先として選択する選択手段と、
を具備することを特徴とするネットワーク接続装置。
A plurality of sub-networks are connected by a router, at least one of the sub-networks is connected to an ISDN line, and a temporary connection to an indeterminate server is required when the network device connects to the server. In network systems,
Detecting means for detecting a server that does not relay a router in a communication path to the temporary connection destination;
Selecting means for selecting a server detected by the detecting means as a temporary connection destination of the network device;
A network connection device, comprising:
複数のサブネットワークをルータにより接続させるとともに、前記サブネットワークのうちの少なくとも1つをISDN回線に接続させ、かつ、ネットワーク装置がサーバと接続する際に、不定なサーバへの仮接続を必要とするネットワークシステムにおいて、
前記ネットワーク装置との接続を許可するルータの段数nを任意に設定する設定手段と、
この設定手段により設定されたルータの段数nを記憶する記憶手段と、
その仮接続先までの通信経路において経由するルータの段数が、前記記憶手段に記憶されているルータの段数n以下であるか否を判定する判定手段と、
この判定手段が前記ルータの段数がn以下であると判定したときには、前記ネットワーク装置の仮接続先として、前記ルータの段数がn以下のサブネットワークに属するサーバを選択する選択手段と、
を具備することを特徴とするネットワーク接続装置。
A plurality of sub-networks are connected by a router, at least one of the sub-networks is connected to an ISDN line, and a temporary connection to an indeterminate server is required when the network device connects to the server. In network systems,
Setting means for arbitrarily setting the number of stages n of the router that permits connection with the network device;
Storage means for storing the number of router stages n set by the setting means;
Determining means for determining whether or not the number of stages of the router passing through the communication path to the temporary connection destination is equal to or less than the number of stages of the router n stored in the storage means;
When the determination unit determines that the number of stages of the router is n or less, a selection unit that selects a server belonging to a subnetwork whose number of stages of the router is n or less as a temporary connection destination of the network device;
A network connection device, comprising:
複数のサブネットワークをルータにより接続させるとともに、前記サブネットワークのうちの少なくとも1つをISDN回線に接続させ、かつ、ネットワーク装置がサーバと接続する際に、不定なサーバへの仮接続を必要とするネットワークシステムにおいて、
前記ネットワーク装置の接続経路として許可しないルータのアドレスXを設定する設定手段と、
この設定手段により設定されたルータのアドレスXを記憶する記憶手段と、
仮接続先までの通信経路において経由するルータのアドレスが、前記記憶手段に記憶されているルータのアドレスXと一致するか否かを判定する判定手段と、
この判定手段が前記両アドレスが一致したと判定したときには、前記ネットワーク装置の仮接続先として、その一致したアドレスXのルータ以外のルータを経由するサーバを選択する選択手段と、
を具備することを特徴とするネットワーク接続装置。
A plurality of sub-networks are connected by a router, at least one of the sub-networks is connected to an ISDN line, and a temporary connection to an indeterminate server is required when the network device connects to the server. In network systems,
Setting means for setting an address X of a router not permitted as a connection path of the network device;
Storage means for storing the router address X set by the setting means;
Determining means for determining whether or not an address of a router passing through a communication path to a temporary connection destination matches an address X of the router stored in the storage means;
When the determining means determines that the two addresses match, selecting means for selecting a server passing through a router other than the router having the matching address X as a temporary connection destination of the network device;
A network connection device, comprising:
JP23780897A 1997-08-18 1997-08-18 Network connection device Expired - Fee Related JP3595655B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23780897A JP3595655B2 (en) 1997-08-18 1997-08-18 Network connection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23780897A JP3595655B2 (en) 1997-08-18 1997-08-18 Network connection device

Publications (2)

Publication Number Publication Date
JPH1168852A JPH1168852A (en) 1999-03-09
JP3595655B2 true JP3595655B2 (en) 2004-12-02

Family

ID=17020723

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23780897A Expired - Fee Related JP3595655B2 (en) 1997-08-18 1997-08-18 Network connection device

Country Status (1)

Country Link
JP (1) JP3595655B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4527523B2 (en) * 2004-12-27 2010-08-18 Necインフロンティア株式会社 Server selection method, server selection method, server, and client terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6330671B1 (en) * 1997-06-23 2001-12-11 Sun Microsystems, Inc. Method and system for secure distribution of cryptographic keys on multicast networks

Also Published As

Publication number Publication date
JPH1168852A (en) 1999-03-09

Similar Documents

Publication Publication Date Title
US7373429B2 (en) Integrated IP network
US6466986B1 (en) Method and apparatus for providing dynamic host configuration protocol (DHCP) tagging
US8054804B2 (en) Method of and system for support of user devices roaming between routing realms by a single network server
JP4081472B2 (en) Cluster management method and apparatus for network device
US6256314B1 (en) Apparatus and methods for routerless layer 3 forwarding in a network
US6157647A (en) Direct addressing between VLAN subnets
US7111065B2 (en) Method and apparatus for managing tunneled communications in an enterprise network
US7701936B2 (en) Obtaining path information related to a bridged network
US20040003292A1 (en) User identifying technique on networks having different address systems
US20070168531A1 (en) System and Method for Identifying a Subscriber for Connection to a Communication Network
WO2001014988B1 (en) Technique for automatic remote media access control (mac) layer address resolution
US20040105449A1 (en) Location management server and ethernet-based wireless LAN distribution system having local management server, and embodiment method thereof
EP1699247B1 (en) Multiple isp local area network egress selecting method
US6965577B1 (en) Identifying an edge switch and port to which a network user is attached
CN102143164B (en) Message relaying method, message relaying device and base station
CN114629725A (en) User domain dumb terminal management method, device, system and storage medium
WO1997041517A1 (en) Apparatus and methods for selecting improved routing paths in computer networks
CN107070790B (en) Route learning method and routing equipment
US20020065906A1 (en) Method and apparatus for tunneled communication in an enterprise network
JP3595655B2 (en) Network connection device
KR20210047386A (en) Method for controlling the link between a plurality of sessions and apparatus therefor
JP2004158973A (en) Packet relay device
JP2001292168A (en) IP communication system
US7216175B1 (en) System and method for determining subscriber information
US6826605B1 (en) Internet protocol exchange network number automatic discovery method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040811

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040820

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040906

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20080910

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20080910

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090910

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090910

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100910

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110910

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120910

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130910

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees