JPH09321789A - Network system with duplexed routers and fault countermeasure method for it - Google Patents

Network system with duplexed routers and fault countermeasure method for it

Info

Publication number
JPH09321789A
JPH09321789A JP8136854A JP13685496A JPH09321789A JP H09321789 A JPH09321789 A JP H09321789A JP 8136854 A JP8136854 A JP 8136854A JP 13685496 A JP13685496 A JP 13685496A JP H09321789 A JPH09321789 A JP H09321789A
Authority
JP
Japan
Prior art keywords
router
address
duplicated
arp
communication 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
JP8136854A
Other languages
Japanese (ja)
Inventor
Shogo Yamatani
昇吾 山谷
Takushi Hamada
卓志 濱田
Sadao Mizokawa
貞生 溝河
Masayuki Tanji
雅行 丹治
Hisayuki Maruyama
久幸 丸山
Hirobumi Inoue
博文 井上
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP8136854A priority Critical patent/JPH09321789A/en
Publication of JPH09321789A publication Critical patent/JPH09321789A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To improve the availability of a network and to avoid the increase of the load on the CPU of a computer by reducing the time for switching a route from an active router to a stand-by router to be shorter than that at the time of using RIP(routing information protocol) in a network system with duplexed routers. SOLUTION: One of the duplexed routers is set to be an active router and the other is set to be a stand-by router and they are assigned with respectively the same logic address (IP(internet protocol) address) and different physical addresses (MAC(medium access control) addresses), and the communication controller 11 of a computer (a1) on a network holds this logical address and physical address. Then when the communication controller 11 communicates with another computer (b-1) through routers α and β, the physical address of the active router is used for communication. On the other hand, when an ARP (address resolution protocol) response message is not transmitted to the active router α in spite of requesting it from the active router α, the router is switched to the stand-by router β by judging the fault to be generated.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ルータが2重化さ
れたネットワークシステムおよびルータが2重化された
ネットワークシステムの障害対策方法に係り、ルータを
2重化して信頼性を高めるシステムであって、しかも、
無停止で運用する必要性のあるネットワークシステムに
用いて好適なネットワークシステムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a network system in which a router is duplicated and a failure countermeasure method for a network system in which a router is duplicated, and is a system for enhancing reliability by duplicating a router. Moreover,
The present invention relates to a network system suitable for use in a network system that needs to be operated without interruption.

【0002】[0002]

【従来の技術】近年、異なるネットワークに接続する計
算機間で通信する場合に、ネットワーク間でデータを中
継し、経路選択する機器として、ルータを用いるケース
が増えてきている。
2. Description of the Related Art In recent years, there has been an increasing number of cases in which a router is used as a device for relaying data between networks and selecting a route when communicating between computers connected to different networks.

【0003】一般に、ルータが経路を選択するプロトコ
ル(「ルーティングプロトコル」といわれる)として
は、静的な情報としてルーティング情報を保持するスタ
ティックルーティングと、動的に情報を交換して、それ
に基づいてルーティングをおこなうダイナミックルーテ
ィングと言われる二種類の方法がある。
Generally, as a protocol for a router to select a route (referred to as "routing protocol"), static routing, which holds routing information as static information, is dynamically exchanged, and routing is performed based on it. There are two types of methods called dynamic routing.

【0004】ところで、このようなルータで2つのネッ
トワークを接続する際に、1台のルータでネットワーク
間を接続している場合には、そのルータに障害が発生す
ると、ネットワーク間での通信ができなくなる。
By the way, when two networks are connected by such a router, if one router connects the networks, if the router fails, communication between the networks can be performed. Disappear.

【0005】このようなルータの障害に対し、ネットワ
ーク間の通信の信頼性を上げるためには、ネットワーク
間を2台のルータで接続し、通常は、一方のルータを介
して、ネットワーク間の通信をおこない、このルータに
障害が発生してメッセージの中継ができなくなった場合
には、他方のルータに経路を切り替えるという方法を取
る場合がある。
In order to improve the reliability of communication between networks against such a failure of the router, the two networks are connected to each other, and normally, communication between networks is performed through one router. In some cases, if a failure occurs in this router and it becomes impossible to relay the message, the route may be switched to the other router.

【0006】このように、ルータを2重化しておいて障
害があるときに予備のルータを使おうとするときには、
ルーティングプロトコルとして、必然的にダイナミック
ルーティングを採用することになる。
As described above, when the router is duplicated and a spare router is used when there is a failure,
Dynamic routing is inevitably adopted as the routing protocol.

【0007】このダイナミックルーティングの中で、代
表的なものとしては、RIP(Routing Information Pr
otocol)がある。RIPは、ネットワークシステムに接
続する各計算機とルータが互いに経路情報を交換し、交
換した経路情報から最短経路となる経路情報のみ取り出
し、保有するという経路制御方法を規定したプロトコル
であり、各計算機およびルータは、自分の持つ経路情報
より経路を選択してメッセージ通信をおこなう。なお、
RIPの規格は、インターネット関連組織の一つである
米国NIC(Network Information Center)が発行して
いるRFC(Request For Comments)1058に規定さ
れている。
A typical example of this dynamic routing is RIP (Routing Information Pr
otocol). RIP is a protocol that defines a route control method in which each computer and router connected to a network system exchanges route information with each other, retrieves only the shortest route information from the exchanged route information, and retains it. The router performs message communication by selecting a route from its own route information. In addition,
The RIP standard is defined in RFC (Request For Comments) 1058 issued by the United States NIC (Network Information Center), which is one of Internet-related organizations.

【0008】RIPでは、ルータは、一周期(30秒)
ごとにネットワークに接続された他のルータに、RIP
メッセージと言う経路情報を配布している。そして、各
ルータは、最適な経路を選択し、ルーティングをおこな
っている。
In RIP, the router has one cycle (30 seconds).
RIP to other routers connected to the network for each
The route information called a message is distributed. Then, each router selects an optimum route and performs routing.

【0009】ところが、ルータに障害が発生した場合で
あっても、RIPメッセージを受信してから、6周期
(180秒)は、その情報を保持して、正常時と変わり
のない動作をおこなう。したがって、予備のルータがあ
り、それと障害時に切り替えるようにしていても、最低
6周期(180秒)は、切り替えがおこなわれず、その
間、通信がおこなえなくなる。
However, even when the router fails, the information is held for six cycles (180 seconds) after receiving the RIP message, and the operation is the same as in the normal state. Therefore, even if there is a spare router and switching is performed at the time of failure, switching is not performed for at least 6 cycles (180 seconds), and communication cannot be performed during that period.

【0010】[0010]

【発明が解決しようとする課題】上記従来技術で述べた
RIPは、TCP/IPのダイナミックルーティングと
しては、現在まで、最も広く用いられてきたルーティン
グプロトコルである。しかしながら、ルータを2重化し
ていても、ルータに障害が発生してから経路を切り替る
までには、少なくとも180秒間かかり、その間は、通
信が途絶するという問題点があった。
The RIP described in the above prior art is the most widely used routing protocol to date as the dynamic routing of TCP / IP. However, even if the router is duplicated, it takes at least 180 seconds until the route is switched after the failure of the router, and the communication is interrupted during that time.

【0011】このように、ルータに障害が発生してから
経路を切替をするまでの時間を、短縮し、通信が途絶す
る時間を短縮する方法としては、例えば、以下の方法が
考えられている。
As a method of shortening the time from the occurrence of a failure in the router to the switching of the route and the time of interruption of communication, for example, the following method is considered. .

【0012】先ず、ネットワーク上にある全てのルータ
の論理アドレスと、そのルータを経由してたどり着くあ
て先ネットワークアドレス(ネットワーク全体で、一つ
のアドレスを対応させたもの)とを対応付けして、予め
計算機のメモリに登録しておく。1つのあて先ネットワ
ークに対しては、登録して有るルータの中から特定の1
台のルータを使用してメッセージを中継し、同時に、計
算機から、このルータあてに、RFC792で標準化さ
れているICMPエコーリクエストメッセージ(TCP
/IPでは、Pingというコマンドで定義されてい
る)を周期的に送信する。
First, the logical addresses of all the routers on the network are associated with the destination network address (the one address is associated with the entire network) that arrives at the router, and the computer is preliminarily calculated. Register in the memory of. For one destination network, select a specific one from the registered routers.
Messages are relayed using two routers, and at the same time, from the computer to this router, the ICMP echo request message (TCP standardized by RFC792) is sent.
/ IP, which is defined by a command called Ping) is periodically transmitted.

【0013】そして、そのルータより、ICMPエコー
リクエストメッセージに対するICMPエコーリプライ
メッセージが送信されてくるかを一定時間待ち、ICM
Pエコーリプライメッセージを受信しない場合、そのル
ータに障害が発生したと判断して、予めメモリに登録し
ておいた他のルータに中継ルータを切り替え、メッセー
ジの通信を継続する。
Then, the router waits for a certain period of time to send an ICMP echo reply message in response to the ICMP echo request message from the router.
If the P echo reply message is not received, it is determined that a failure has occurred in that router, the relay router is switched to another router registered in the memory in advance, and message communication is continued.

【0014】この方法によれば、例えば、15秒おきに
ICMPエコーリクエストメッセージを送信し、送信
後、10秒間ICMPエコーリプライメッセージを待
つ。そして、10秒待ってもICMPエコーリプライメ
ッセージを受信しない場合には、ICMPエコーリクエ
ストメッセージを送ったルータに障害が発生したと判断
して、他のルータに中継ルータを切り替える。このよう
にすると、経路切替時間は、ルータ障害発生から、25
秒で終了することができる。
According to this method, for example, the ICMP echo request message is transmitted every 15 seconds, and after the transmission, the ICMP echo reply message is waited for 10 seconds. If the ICMP echo reply message is not received even after waiting 10 seconds, it is determined that the router that has sent the ICMP echo request message has failed, and the relay router is switched to another router. In this way, the route switching time will be 25
Can be finished in seconds.

【0015】しかしながら、この方法は、計算機のメモ
リ上に実装された通信プログラムをCPUが解釈実行す
る形態をとるために、計算機のCPUの負荷を増加させ
るという問題点があった。
However, this method has a problem that the load of the CPU of the computer is increased because the CPU interprets and executes the communication program mounted on the memory of the computer.

【0016】本発明は、上記問題点を解決するためにな
されたもので、その目的は、ルータが2重化されたネッ
トワークシステムにおいて、現用のルータから予備用の
ルータに経路を切り替えるときには、その切替時間をR
IP使用時より短縮し、ネットワークの可用性を向上さ
せ、かつ、計算機のCPUの負荷を増加させることのな
いルータが2重化されたネットワークシステムおよびル
ータが2重化されたネットワークシステムの障害対策方
法を提供することにある。
The present invention has been made to solve the above problems, and its purpose is to switch a route from an active router to a backup router in a network system having dual routers. Switching time is R
A network system in which the router is duplicated and a failure countermeasure method for the network system in which the router is duplicated, which is shorter than when IP is used, improves the network availability, and does not increase the CPU load of the computer To provide.

【0017】[0017]

【課題を解決するための手段】上記目的を達成するため
に、本発明のルータが2重化されたネットワークシステ
ムに係る発明の構成は、一つ以上のネットワークをルー
タを介して接続し、しかも、そのルータが2重化された
ネットワークシステムにおいて、前記ネットワークに接
続された計算機は、通信制御装置を有し、この計算機
は、各々有する通信制御装置によって通信し、また、前
記2重化されたルータは、一方を現用ルータ、他の一方
を予備用ルータとして、各々同一の論理アドレスと、異
なった物理アドレスとが割り当てられ、前記通信制御装
置は、前記2重化されたルータの論理アドレスと物理ア
ドレスとを保持する手段を有し、この通信制御装置が、
ルータを介して他の計算機と通信するときには、前記現
用ルータの物理アドレスを用いて通信し、2重化された
ルータに対して、周期的に論理アドレスから物理アドレ
スを求めるリクエストメッセージを送信し、その送信し
たリクエストメッセージの返答となるレスポンスメッセ
ージが、ルータから送信されてくるか否かを、2重化さ
れた各々のルータに対して監視し、ルータからレスポン
スメッセージが送信されてこないときには、そのルータ
に障害が発生したものとして、もし、前記現用ルータに
障害が発生したとされたときには、ルータを介して他の
計算機と通信するときに、前記予備用ルータの物理アド
レスを用いて通信するように切り替えるようにしたもの
である。
In order to achieve the above object, the configuration of the invention relating to the network system in which the router of the present invention is duplicated is such that one or more networks are connected via the router, and In a network system in which the router is duplicated, a computer connected to the network has a communication control device, and the computer communicates by the communication control device that it has, and the duplication is also performed. The routers are assigned the same logical address and different physical addresses, one of which is the working router and the other one of which is the backup router, and the communication control device uses the logical address of the duplicated router. This communication control device has means for holding the physical address and
When communicating with another computer via the router, the physical address of the working router is used for communication, and a request message for periodically requesting the physical address from the logical address is transmitted to the duplicated router. Whether or not a response message, which is a response to the transmitted request message, is transmitted from the router is monitored for each duplicated router, and when the response message is not transmitted from the router, Assuming that the router has failed, if it is determined that the working router has failed, the physical address of the backup router is used when communicating with other computers via the router. It is intended to switch to.

【0018】より詳しくは、上記ルータが2重化された
ネットワークシステムにおいて、前記通信制御装置が、
前記2重化されたルータに割り当てられる論理アドレス
と物理アドレスとを、計算機より受け取って、それらを
2重化されたルータの論理アドレスと物理アドレスとを
保持する手段に設定するようにしたものである。
More specifically, in the network system in which the router is duplicated, the communication control device is
A logical address and a physical address assigned to the duplicated router are received from a computer and set as means for holding the logical address and the physical address of the duplicated router. is there.

【0019】また別に詳しくは、ルータが2重化された
ネットワークシステムにおいて、前記通信制御装置が、
前記2重化されたルータに割り当てられる論理アドレス
と物理アドレスとを、2重化されたルータ各々に対して
送信される前記論理アドレスから物理アドレスを求める
リクエストメッセージの返答となるレスポンスメッセー
ジから得て、それらを2重化されたルータの論理アドレ
スと物理アドレスとを保持する手段に設定するようにし
たものである。
Further in detail, in a network system in which a router is duplicated, the communication control device is
The logical address and physical address assigned to the duplicated router are obtained from a response message which is a response to a request message for obtaining a physical address from the logical address transmitted to each duplicated router. , And these are set as means for holding the logical address and physical address of the duplicated router.

【0020】さらに詳しくは、上記ルータが2重化され
たネットワークシステムにおいて、前記現用ルータに障
害が発生されたときには、前記予備用ルータを新たな現
用ルータとし、現用ルータを取換えて、新たな予備用ル
ータとして、前記通信制御装置が、2重化されたルータ
の論理アドレスと物理アドレスとを保持する手段に、前
記新たな現用ルータと前記新たな予備用ルータとに割り
当てられる論理アドレスと物理アドレスとを、それぞれ
設定するようにしたものである。
More specifically, in a network system in which the routers are duplicated, when a failure occurs in the working router, the spare router is set as a new working router, and the working router is replaced with a new one. As a backup router, the communication control device has means for holding a logical address and a physical address of a duplicated router, and a logical address and a physical address assigned to the new working router and the new backup router. The address and the address are respectively set.

【0021】またより具体的に詳しくは、上記ルータが
2重化されたネットワークシステムにおいて、前記物理
アドレスが、MAC(Media Access Control)アドレス
であり、前記論理アドレスが、IP(Internet Protoco
l)アドレスであり、前記論理アドレスから、物理アド
レスを求めるリクエストメッセージが、ARP(Addres
s Resolution Protocol)リクエストメッセージで、そ
の返答となるレスポンスメッセージが、ARPレスポン
スメッセージであるようにしたものである。
More specifically, in the network system in which the router is duplicated, the physical address is a MAC (Media Access Control) address and the logical address is an IP (Internet Protocol).
l) address, and the request message for the physical address from the logical address is ARP (Addres
s Resolution Protocol) request message, and the response message as a response is an ARP response message.

【0022】上記目的を達成するために、本発明のルー
タが2重化されたネットワークシステムの障害対策方法
に係る発明の構成は、一つ以上のネットワークをルータ
を介して接続し、しかも、そのルータが2重化されたネ
ットワークシステムの障害対策方法において、前記ネッ
トワークに接続された計算機は、通信制御装置を有し、
この計算機は、各々有する通信制御装置によって通信
し、また、前記2重化されたルータは、一方を現用ルー
タ、他の一方を予備用ルータとして、各々同一の論理ア
ドレスと、異なった物理アドレスとが割り当てられ、前
記通信制御装置は、前記2重化されたルータの論理アド
レスと物理アドレスとを保持する手段を有し、この通信
制御装置が、ルータを介して他の計算機と通信するとき
には、前記現用ルータの物理アドレスを用いて通信し、
2重化されたルータに対して、周期的に論理アドレスか
ら物理アドレスを求めるリクエストメッセージを送信
し、その送信したリクエストメッセージの返答となるレ
スポンスメッセージが、ルータから送信されてくるか否
かを、2重化された各々のルータに対して監視し、ルー
タからレスポンスメッセージが送信されてこないときに
は、そのルータに障害が発生したものとして、もし、前
記現用ルータに障害が発生したとされたときには、ルー
タを介して他の計算機と通信するときに、前記予備用ル
ータの物理アドレスを用いて通信するように切り替える
ようにしたものである。
In order to achieve the above object, the configuration of the invention relating to the failure countermeasure method of the network system in which the router is duplicated according to the present invention is such that one or more networks are connected via the router and In a failure countermeasure method for a network system having dual routers, a computer connected to the network has a communication control device,
This computer communicates by means of a communication control device each of which has the same logical address and a different physical address, with one of the duplicated routers being a working router and the other being a standby router. Is assigned to the communication control device, and the communication control device has means for holding a logical address and a physical address of the duplicated router. When the communication control device communicates with another computer via the router, Communicate using the physical address of the working router,
A request message for periodically requesting a physical address from a logical address is sent to a duplicated router, and whether or not a response message, which is a response to the sent request message, is sent from the router, Each duplicated router is monitored, and when a response message is not sent from the router, it is determined that a failure has occurred in that router. If it is determined that the working router has a failure, When communicating with another computer via the router, the physical address of the spare router is used for communication.

【0023】より詳しくは、上記ルータが2重化された
ネットワークシステムの障害対策方法において、前記通
信制御装置が、前記2重化されたルータに割り当てられ
る論理アドレスと物理アドレスとを、計算機より受け取
って、それらを2重化されたルータの論理アドレスと物
理アドレスとを保持する手段に設定するようにしたもの
である。
More specifically, in the failure countermeasure method for a network system in which the router is duplicated, the communication control device receives a logical address and a physical address assigned to the duplicated router from a computer. Then, they are set as means for holding the logical address and physical address of the duplicated router.

【0024】また別に詳しくは、ルータが2重化された
ネットワークシステムの障害対策方法において、前記通
信制御装置が、前記2重化されたルータに割り当てられ
る論理アドレスと物理アドレスとを、2重化されたルー
タ各々に対して送信される前記論理アドレスから物理ア
ドレスを求めるリクエストメッセージの返答となるレス
ポンスメッセージから得て、それらを2重化されたルー
タの論理アドレスと物理アドレスとを保持する手段に設
定するようにしたものである。
More specifically, in a failure countermeasure method for a network system in which a router is duplicated, the communication control device duplicates a logical address and a physical address assigned to the duplicated router. Obtained from the response message which is a response to the request message for requesting the physical address from the logical address transmitted to each of the duplicated routers, and uses them as means for holding the logical address and the physical address of the duplicated router. This is set.

【0025】さらに詳しくは、ルータが2重化されたネ
ットワークシステムの障害対策方法において、前記現用
ルータに障害が発生されたときには、前記予備用ルータ
を新たな現用ルータとし、現用ルータを取換えて、新た
な予備用ルータとして、前記通信制御装置が、2重化さ
れたルータの論理アドレスと物理アドレスとを保持する
手段に、前記新たな現用ルータと前記新たな予備用ルー
タとに割り当てられる論理アドレスと物理アドレスと
を、それぞれ設定するようにしたものである。
More specifically, in a failure countermeasure method for a network system having dual routers, when a failure occurs in the working router, the spare router is set as a new working router, and the working router is replaced. As a new spare router, the communication control device is a means for holding a logical address and a physical address of a duplicated router, and is a logic assigned to the new working router and the new spare router. The address and the physical address are set respectively.

【0026】より具体的に詳しくは、ルータが2重化さ
れたネットワークシステムの障害対策方法において、前
記物理アドレスが、MAC(Media Access Control)ア
ドレスであり、前記論理アドレスが、IP(Internet P
rotocol)アドレスであり、前記論理アドレスから、物
理アドレスを求めるリクエストメッセージが、ARP
(Address Resolution Protocol)リクエストメッセー
ジで、その返答となるレスポンスメッセージが、ARP
レスポンスメッセージであるようにしたものである。
More specifically, in a failure countermeasure method for a network system having dual routers, the physical address is a MAC (Media Access Control) address and the logical address is an IP (Internet P
request message for requesting a physical address from the logical address is ARP
(Address Resolution Protocol) Request message, the response message that is the response is ARP
It is made to be a response message.

【0027】[0027]

【発明の実施の形態】以下、本発明に係る各実施形態
を、図1ないし図19を用いて説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments according to the present invention will be described below with reference to FIGS.

【0028】〔TCP/IPに関する一般的事項〕先
ず、本発明の実施形態の理解を容易にするために、図2
ないし図4を用いてTCP/IPの一般的事項について
簡単に説明する。最初に、図2を用いてIPアドレスの
概念から説明する。図2は、IPアドレスの各クラスの
形態を模式的に示した図である。
[General Matters Regarding TCP / IP] First, in order to facilitate understanding of the embodiment of the present invention, FIG.
The general items of TCP / IP will be briefly described with reference to FIGS. First, the concept of the IP address will be described with reference to FIG. FIG. 2 is a diagram schematically showing the form of each class of IP address.

【0029】IPアドレスとは、TCP/IPの通信規
約において、通信に参加する計算機(TCP/IPの用
語では、「ホスト」という)などのエンテティ(「ノー
ド」ともいう)に割り当てられるネットワーク上で一意
的なアドレスである。
In the TCP / IP communication protocol, an IP address is a network assigned to an entity (also called a "node") such as a computer (in the TCP / IP terminology, called "host") participating in communication. It is a unique address.

【0030】IPアドレスは、32ビットの整数で表現
され、図2(a)に示されているように、ネットワーク
IDとホストIDで構成されている。ネットワークID
は、ネットワークを識別するIDであり、ホストID
は、そのネットワーク上でホストを識別するIDであ
る。
The IP address is represented by a 32-bit integer and is composed of a network ID and a host ID, as shown in FIG. Network ID
Is the ID that identifies the network, and the host ID
Is an ID for identifying a host on the network.

【0031】このIPアドレスには、利用するネットワ
ークの形態によってクラスが設けられていて、図1には
その内でAクラスからCクラスまでが図示されている。
IPアドレスがどのクラスに属するかは、ネットワーク
IDの先頭ビットのパターンで識別するようになってい
る。
Classes are provided in the IP address depending on the form of the network to be used. In FIG. 1, classes A to C are shown in FIG.
The class to which the IP address belongs is identified by the pattern of the first bit of the network ID.

【0032】図からわかるように、Aクラスほどホスト
IDのビット数が大きくなっており、従って、大規模な
ネットワークで用いることになる。反対に、Cクラス
は、ホストIDは、8ビットしか持っていないため、小
規模なネットワーク向きであるといえる。
As can be seen from the figure, the class A has a larger number of bits of the host ID, and therefore is used in a large-scale network. On the other hand, the C class has a host ID of only 8 bits, so it can be said that it is suitable for a small-scale network.

【0033】上記の様に、IPアドレスは、32ビット
のビット列であったが、これを表記するために、8ビッ
ト単位で区切ってそれを10進数で表わす、いわゆるオ
クテット表示が用いられるのが、一般的になっている。
例えば、2進数のビット列で、(10000010 0
0000001 00000100 0000100
0)と表わされるIPアドレスは、「130.1.4.
8」と表記される。本明細書でも、以下このオクテット
表示を用いることにする。
As described above, the IP address is a 32-bit bit string, but in order to express this, a so-called octet display is used in which it is divided into 8-bit units and expressed in decimal. It is becoming popular.
For example, in a binary bit string, (10000010 0
0000001 00000100 0000100
The IP address represented by 0) is "130.1.4.
It is written as "8". In the present specification, this octet display will be used hereinafter.

【0034】また、一つのネットワークをIPアドレス
で識別したいときには、これをネットワークアドレスて
呼び、IPアドレスの内のホストIDを0として表記す
ることにする。例えば、上記の例の「130.1.4.
8」は、Bクラスに属するので、下位16ビットがホス
トIDとなり、ネットワークアドレスは、「130.
1.0.0」となる。
When it is desired to identify one network with an IP address, this is called a network address, and the host ID in the IP address is represented as 0. For example, “130.1.4.
8 ”belongs to class B, the lower 16 bits are the host ID, and the network address is“ 130.
It becomes 1.0.0 ".

【0035】次に、MACアドレスについて説明する。Next, the MAC address will be described.

【0036】上記のIPアドレスは、各ノードに割り振
られるアドレスであったが、このIPアドレスよりも、
より低位な立場から、割り振られる48ビットのアドレ
スが、MAC(Media Access Control)アドレスであ
る。したがって、比較して、IPアドレスは、論理的ア
ドレスであり、MACアドレスは、物理的アドレスであ
るということができる。
The above-mentioned IP address was an address assigned to each node, but rather than this IP address,
The 48-bit address allocated from a lower position is a MAC (Media Access Control) address. Therefore, by comparison, it can be said that the IP address is a logical address and the MAC address is a physical address.

【0037】さて、通信プロトコルを説明するための著
名なモデルとして、OSI(Open Systems Interconnec
tion)参照モデルがある。ここでは、図3を用いて、こ
のOSI参照モデルによるTCP/IPでの通信規約と
上記のIPアドレスとMACアドレスの関係について概
説することにしよう。図3は、OSI参照モデルとTC
P/IPの通信プロトコルの関係を示す模式図である。
As a well-known model for explaining the communication protocol, OSI (Open Systems Interconnec
There is a reference model. Here, with reference to FIG. 3, the communication protocol in TCP / IP according to the OSI reference model and the relationship between the above IP address and MAC address will be outlined. Figure 3 shows the OSI reference model and TC
It is a schematic diagram which shows the relationship of the communication protocol of P / IP.

【0038】OSI参照モデルは、図3(a)に示され
る様に通信機能を階層的にモデルとして表わしたもので
あり、下位になるほどより物理的な機能を担う層であ
り、上位は、より論理的な機能を担う層である。このモ
デルの各層は、特定のサービスを上位層に提供し、特定
のサービスを下位層より受け取る。
The OSI reference model is a model in which communication functions are hierarchically represented as shown in FIG. 3A. The lower the layer, the more physical layer the physical function is. This layer is responsible for logical functions. Each layer of this model provides a specific service to an upper layer and receives a specific service from a lower layer.

【0039】このOSI参照モデルを、TCP/IPの
通信規約にあてはめると、図3(b)に示されるように
なる。OSI参照モデルで、第5層から第7層に該当す
るのが、上位層に属するTelnet(仮想端末機
能)、FTP(ファイル転送)などの通信サービスであ
る。
When this OSI reference model is applied to the communication protocol of TCP / IP, it becomes as shown in FIG. 3 (b). In the OSI reference model, communication services such as Telnet (virtual terminal function) and FTP (file transfer) belonging to the upper layers correspond to the fifth to seventh layers.

【0040】その下が、第4層のトランスポート層のプ
ロトコルで、TCP(TransmitionControl Protocol)
とUDP(User Datagram Protocol)という通信プロト
コルである。また、その下は、第3層のネットワーク層
のプロトコルは、IPプロトコルである。(この層をT
CP/IPの用語で、インターネット層ということがあ
る。) 最下層は、電気的な規格や物理的な通信路の確立に関す
るものであり、代表的な規格としては、イーサネット
(Erthenet)がある。(この層をTCP/IPの用語
で、ネットワーク・インターフェース層ということがあ
る。)本明細書の説明でも、イーサネットで通信をおこ
なうものとして説明する。
Below that is the transport layer protocol of the fourth layer, which is TCP (Transmition Control Protocol).
And UDP (User Datagram Protocol). Below that, the protocol of the third network layer is the IP protocol. (This layer is T
In CP / IP terms, it is sometimes called the Internet layer. ) The lowest layer is related to establishment of electrical standards and physical communication paths, and a typical standard is Ethernet (Erthenet). (This layer is sometimes referred to as a network interface layer in the term of TCP / IP.) Also in the description of the present specification, it is assumed that communication is performed by Ethernet.

【0041】さて、実際に通信が行われる場合の仕組み
について説明すると、図3(c)に示されるように、送
信のときに、下位層にデータを渡して、下位層では、そ
の層のヘッダ情報を付け、逆に、受信のときには、その
層のヘッダを解析して、上位層に渡すようになってい
る。
The mechanism in the case of actual communication will now be described. As shown in FIG. 3 (c), data is passed to a lower layer at the time of transmission, and the header of that layer is used in the lower layer. Information is added, and conversely, at the time of reception, the header of that layer is analyzed and passed to the upper layer.

【0042】具体的にいうと、最下層では、通信の対象
は、イーサネットフレームを受け取る。先頭には、イー
サネットヘッダがあり、あて先のMACアドレスと送信
元のMACアドレスとそのフレームのタイプを示すフレ
ームタイプが含まれている。その後は、この層からみた
ときのイーサネットデータとなる。一つ上の層のIPプ
ロトコルでは、下の層のイーサネットデータを、この層
では、IPデータグラムといい、IPヘッダとIPデー
タとからなる。そして、IPヘッダには、あて先のIP
アドレスと送信元のIPアドレスとプロトコルのタイプ
を示すプロトコルタイプとが含まれている。
Specifically, in the lowest layer, the communication target receives an Ethernet frame. At the beginning, there is an Ethernet header, which includes a destination MAC address, a source MAC address, and a frame type indicating the type of the frame. After that, it becomes Ethernet data as seen from this layer. In the upper layer IP protocol, the lower layer Ethernet data is referred to as an IP datagram in this layer, and is composed of an IP header and IP data. Then, in the IP header, the destination IP
The address, the IP address of the transmission source, and the protocol type indicating the type of protocol are included.

【0043】同様に、その上の層のTCPプロトコルで
は、IPデータは、TCPヘッダとTCPデータとから
なる。
Similarly, in the upper layer TCP protocol, the IP data consists of a TCP header and TCP data.

【0044】この様に、各層ではその層のヘッダの処理
をおこなうようように、仕様が定められていて、通信の
一貫性と各層での処理のモジュール化が図られている。
As described above, the specifications are set so that the header of each layer is processed, and the consistency of communication and the modularization of the processing in each layer are achieved.

【0045】次に、図4を用いてARP(Address Reso
lution Protocol)プロトコルについて説明しよう。図
4は、ARPの仕組みを説明する模式図である。
Next, referring to FIG. 4, ARP (Address Reso
Solution Protocol) Let's talk about the protocol. FIG. 4 is a schematic diagram illustrating the mechanism of ARP.

【0046】既に述べたように、TCP/IPの下位の
ネットワーク・インターフェース層では、通信のノード
のアドレスをMACアドレスとして、その上位にあたる
インターネット層では、IPアドレスとして認識する。
そして、IPアドレスによって相手を指定して通信をお
こなう際にも、イーサネットフレームを組み立てるの
で、MACアドレスとIPアドレスの両者が必要であ
る。ところが、通常、通信に参加するホストは、相手の
IPアドレスを認識していても、MACアドレスを認識
していない。そのために、IPアドレスからMACアド
レスを知るためのプロトコルが、ARPである。このA
RPに使われるメッセージには、ARPリクエストメッ
セージとARPレスポンスメッセージの二種類が有る。
As described above, in the lower network interface layer of TCP / IP, the address of the communication node is recognized as the MAC address, and in the upper Internet layer, it is recognized as the IP address.
Both the MAC address and the IP address are necessary because the Ethernet frame is assembled when the communication is performed by designating the other party by the IP address. However, normally, a host participating in communication recognizes the IP address of the other party, but does not recognize the MAC address. Therefore, the protocol for knowing the MAC address from the IP address is ARP. This A
There are two types of messages used for RP, an ARP request message and an ARP response message.

【0047】ここで、図4に示されるネットワーク構成
のシステムがあったとする。
Here, it is assumed that there is a system having the network configuration shown in FIG.

【0048】(1)ノードAがノードCと通信をおこな
いたいとする。CのIPアドレスは、160.160.
0.3なので、あて先のIPアドレスは、160.16
0.0.3である。
(1) Suppose node A wants to communicate with node C. The IP address of C is 160.160.
Since it is 0.3, the IP address of the destination is 160.16
It is 0.0.3.

【0049】(2)ノードAは、先ず、ノードBのMA
Cアドレスを入手するために、ARPリクエストメッセ
ージをネットワーク上にブロードキャストする。このメ
ッセージの中には、ターゲットとなるIPアドレスであ
る160.160.0.3が含まれている。
(2) The node A first receives the MA of the node B.
Broadcast an ARP request message over the network to obtain the C address. In this message, the target IP address of 160.160.0.3 is included.

【0050】(3)同一セグメント(ここでは、ルータ
を越えない上の部分)上のノードであるノードB、ノー
ドC、ルータは、ブロードキャストされたメッセージを
受け取り、その内容を解析する。
(3) Nodes B, C, and routers, which are nodes on the same segment (here, the upper part that does not cross the router), receive the broadcast message and analyze the contents.

【0051】(4)ノードBは、ターゲットとなるIP
アドレスである160.160.0.3と自分のアドレ
スは、一致しないのでなにもしない。ルータも同様であ
る。
(4) Node B is the target IP
Since the address 160.160.0.3 and my address do not match, I do nothing. The same applies to routers.

【0052】ノードCは、ターゲットとなるIPアドレ
スである160.160.0.3と自分のアドレスが一
致するので、ARPレスポンスメッセージをノードAに
返送する。このARPレスポンスメッセージには、ノー
ドBのMACアドレス0900.0420.1111が
含まれている。
The node C returns the ARP response message to the node A because its own address matches the target IP address of 160.160.0.3. This ARP response message contains the MAC address 0900.0420.1111 of node B.

【0053】(5)ノードAは、返送されたARPレス
ポンスメッセージによって、あて先のノードBのMAC
アドレスを知ることができる。
(5) The node A receives the MAC response of the destination node B according to the returned ARP response message.
You can know the address.

【0054】上記の説明では、ルータもARPリクエス
トメッセージを受け取る対象になっている。ルータも、
両端にIPアドレスとMACアドレスを一対づつ持ち、
該当するときには、ARPレスポンスメッセージを返す
ことがあるのに注意しておこう。これは、ルータを越え
た通信をおこなう場合には、ルータのMACアドレスを
知る必要があるからである。
In the above description, the router is also a target for receiving the ARP request message. Router too
Have a pair of IP address and MAC address at both ends,
Note that it may return an ARP response message when applicable. This is because it is necessary to know the MAC address of the router when performing communication beyond the router.

【0055】〔実施形態1〕以下、本発明に係る第一の
実施形態を図1、図5ないし図11を用いて説明する。
[First Embodiment] A first embodiment of the present invention will be described below with reference to FIGS. 1 and 5 to 11.

【0056】(I)ネットワーク構成とIPアドレスお
よびMACアドレスの割当て 先ず、図5を用いて本発明の第一の実施形態に係るネッ
トワーク構成とIPアドレスおよびMACアドレスの割
当てについて説明する。図5は、本発明の一実施形態に
係るネットワークシステムの構成を表わす模式図であ
る。
(I) Network Configuration and IP Address / MAC Address Allocation First, the network configuration and IP address / MAC address allocation according to the first embodiment of the present invention will be described with reference to FIG. FIG. 5 is a schematic diagram showing the configuration of the network system according to the embodiment of the present invention.

【0057】本実施形態では、ネットワーク・インター
フェース層の通信規格としては、イーサネットを使用し
た場合を考え、その上位層のプロトコルとして、各ホス
トは、TCP/IPでメッセージ通信をおこなうものと
する。
In this embodiment, it is assumed that Ethernet is used as the communication standard of the network interface layer, and each host performs message communication by TCP / IP as a protocol of the upper layer.

【0058】このネットワークシステムは、図5に示さ
れるように伝送路Aと伝送路Bが、ルータαとルータβ
を介して接続されている。そして、伝送路Aには、計算
機a1、計算機a2、…、計算機amが接続されてい
る。一方の伝送路Bには、計算機b1、計算機b2、
…、計算機bnが接続されている。またここで、伝送路
A側のネットワークをセグメントA、伝送路B側のネッ
トワークをセグメントBともいうことにする。
In this network system, as shown in FIG. 5, the transmission line A and the transmission line B are the router α and the router β.
Connected through. The computer a1, the computer a2, ..., The computer am are connected to the transmission path A. On one transmission path B, a computer b1, a computer b2,
..., the computer bn is connected. The network on the transmission path A side is also referred to as segment A, and the network on the transmission path B side is also referred to as segment B.

【0059】各計算機は、CPU12、メモリ13、通
信制御装置11で構成されていて、これらの各要素がシ
ステムバス14で接続されている。
Each computer is composed of a CPU 12, a memory 13, and a communication control device 11, and these respective elements are connected by a system bus 14.

【0060】さてここで、セグメントA側のネットワー
クアドレスを、160.160.0.0とし、セグメン
トB側のネットワークアドレスを、160.161.
0.0としよう。
Now, let us say that the network address on the segment A side is 160.160.0.0 and the network address on the segment B side is 160.161.
Let's set it to 0.0.

【0061】そして、各計算機には、以下の表1のよう
にIPアドレスとMACアドレスを割り当てるものとす
る。
Then, an IP address and a MAC address are assigned to each computer as shown in Table 1 below.

【0062】[0062]

【表1】 [Table 1]

【0063】また、ルータは、接続されたネットワーク
の端子(これを、「インタフェース」という)ごとにI
PアドレスとMACアドレスを有している。IPアドレ
スを割り当てるときには、セグメントA側のインタフェ
ースには、セグメントAのネットワークアドレスを有す
るIPアドレスを、セグメントB側のインターフェース
には、セグメントB側のネットワークアドレスを有する
IPアドレスをそれぞれ割り当てる。
Further, the router has an I for each terminal (which is called an "interface") of the connected network.
It has a P address and a MAC address. When assigning an IP address, an IP address having the network address of the segment A is assigned to the interface on the segment A side, and an IP address having the network address of the segment B is assigned to the interface on the segment B side.

【0064】ルータα,βのIPアドレスとMACアド
レスは、それぞれ以下の表2のようになる。
The IP addresses and MAC addresses of the routers α and β are as shown in Table 2 below.

【0065】[0065]

【表2】 [Table 2]

【0066】ここで、上の表2に示されるように、ルー
タαとルータβの各インターフェースのIPアドレスの
割当てを同じものにしていることに注意しておく。
It should be noted here that, as shown in Table 2 above, the IP addresses assigned to the interfaces of the router α and the router β are the same.

【0067】(II)本実施形態におけるARPの動作 次に、図5ないし図9を用いて本実施形態におけるAR
Pの動作について説明する。図6は、本発明の一実施形
態に係るネットワークシステムで、計算機a1からAR
Pリクエストメッセージが発せられたときの模式図であ
る。図7は、本発明の一実施形態に係るネットワークシ
ステムで、計算機a2からARPレスポンスメッセージ
が発せられたときの模式図である。図8は、ルーティン
グテーブルの一例を示す模式図である。図9は、ARP
テーブルの一例を示す模式図である。
(II) Operation of ARP in this Embodiment Next, the AR in this embodiment will be described with reference to FIGS.
The operation of P will be described. FIG. 6 is a network system according to an embodiment of the present invention, in which the computer a1 to the AR
It is a schematic diagram when a P request message is issued. FIG. 7 is a schematic diagram when the ARP response message is issued from the computer a2 in the network system according to the embodiment of the present invention. FIG. 8 is a schematic diagram showing an example of the routing table. Figure 9 shows ARP
It is a schematic diagram which shows an example of a table.

【0068】ARPプロトコルの一般的な仕組みについ
ては、既に説明したが、本発明の実施形態を理解するた
めに、より詳細に説明することにする。
The general mechanism of the ARP protocol has already been described, but will be described in more detail in order to understand the embodiments of the present invention.

【0069】各計算機a1〜am,b1〜bnは、メモ
リ13上にルーティングテーブルRTTとARPテーブ
ルARPTを有している。
Each of the computers a1 to am and b1 to bn has a routing table RTT and an ARP table ARPT on the memory 13.

【0070】本実施形態の係るネットワークは、図5に
示されるネットワーク構成で、表1および表2に示した
ようにIPアドレスとMACアドレスが割り当てられて
いるものとする。
The network according to this embodiment has the network configuration shown in FIG. 5 and is assigned an IP address and a MAC address as shown in Tables 1 and 2.

【0071】図8に示されるように、ルーティングテー
ブルRTTは、あて先ネットワークアドレスRTT1と
中継ルータのIPアドレスRTT2で構成されている。
As shown in FIG. 8, the routing table RTT is composed of a destination network address RTT1 and an IP address RTT2 of the relay router.

【0072】このルーティングテーブルの意味は、あて
先ネットワークアドレスRTT1を持つIPアドレスへ
のメッセージは、中継ルータのIPアドレスRTT2に
示されるIPアドレスを持つルータに送信するというこ
とである。
The meaning of this routing table is that a message to the IP address having the destination network address RTT1 is transmitted to the router having the IP address indicated by the IP address RTT2 of the relay router.

【0073】例えば、計算機a1が、ルーティングテー
ブルRTTに、図8に示される値を持っているとする
と、計算機a1は、ネットワークアドレスとして、16
0.161.0.0を持つIPアドレスあてへのメッセ
ージは、IPアドレス160.また、図9に示されるよ
うに、ARPテーブルARPTは、IPアドレスとMA
Cアドレスとを対にして構成したものであり、IPアド
レスとMACアドレスの変換表であるといえる。
For example, if the computer a1 has the values shown in FIG. 8 in the routing table RTT, the computer a1 has a network address of 16
A message destined for an IP address having 0.161.0.0 has an IP address of 160. In addition, as shown in FIG. 9, the ARP table ARPT contains the IP address and the MA.
It is composed of a pair of C addresses and can be said to be a conversion table of IP addresses and MAC addresses.

【0074】例えば、図9に示される値でいうと、IP
アドレスARPT11は、160.160.0.3で、
MACアドレスARPT12は、3なので、IPアドレ
ス160.160.0.3を有するホスト(実際には、
計算機の通信制御装置11が、MACアドレスを保持し
ている)のMACアドレスは、3であるということがわ
かる。
For example, in terms of the values shown in FIG. 9, IP
The address ARPT11 is 160.160.0.3,
The MAC address ARPT12 is 3, so the host with the IP address 160.160.0.3 (actually,
It can be seen that the MAC address of the communication control device 11 of the computer holds the MAC address) is 3.

【0075】このARPTテーブルを用いて、計算機a
1が、IPアドレス160.160.0.3のホストへ
メッセージを送信することにしよう。
Using this ARPT table, computer a
Suppose one sends a message to the host with IP address 160.160.0.3.

【0076】このとき、先ず、計算機a1は、送信元I
Pアドレスが160.160.0.3のIPデータグラ
ムを作成する。そして、ARPテーブルを参照して、I
Pアドレス160.160.0.3に対応するMACア
ドレス3を取り出す。次に、このあてMACアドレス3
と送信するIPデータグラムとをメモリ13に格納し
て、通信制御装置11に送信起動をかける。送信起動を
受けた通信制御装置11は、メモリ13から、あて先M
ACアドレスと送信IPデータグラムとを取り込み、イ
ーサネットフレームを作成し、伝送路Aを介して作成し
たそのイーサネットフレームを計算機a3に送信する。
At this time, first, the computer a1 determines that the transmission source I
Create an IP datagram with a P address of 160.160.0.3. Then, referring to the ARP table, I
The MAC address 3 corresponding to the P address 160.160.0.3 is taken out. Next, this address MAC address 3
The IP datagram to be transmitted is stored in the memory 13, and the communication control device 11 is activated for transmission. The communication control device 11, which has received the transmission activation, sends the destination M from the memory 13.
The AC address and the transmission IP datagram are taken in to create an Ethernet frame, and the Ethernet frame created via the transmission path A is transmitted to the computer a3.

【0077】このように例えば、計算機a1からIPア
ドレスにより他のホストに送信する場合に、ARPテー
ブルに該当するMACアドレスがあるときは良いが、該
当するMACアドレスが存在しないときには、既に述べ
たようにARPプロトコルによってMACアドレスを求
めることになる。
Thus, for example, when transmitting from the computer a1 to another host by IP address, it is good if there is a corresponding MAC address in the ARP table, but if there is no corresponding MAC address, as already described. Then, the MAC address is obtained by the ARP protocol.

【0078】例えば、計算機a1が計算機a2と通信し
たいとしよう。計算機a2のIPアドレスは、160.
160.0.2であり、このIPアドレスが計算機a1
のARPテーブルから検索できなかったとする。このと
きに、図6に示されるように計算機a1の通信制御装置
11は、ARPリクエストメッセージをネットワーク上
(ただし、セグメントAのみ)にブロードキャストし、
IPアドレス160.160.0.2に対応するMAC
アドレスを、各ホストに問い合わせる。
For example, suppose computer a1 wants to communicate with computer a2. The IP address of the computer a2 is 160.
160.0.2, and this IP address is computer a1
It is assumed that the ARP table could not be searched. At this time, as shown in FIG. 6, the communication control device 11 of the computer a1 broadcasts an ARP request message on the network (however, only segment A),
MAC corresponding to IP address 160.160.0.2
Ask each host for the address.

【0079】各ホストは、このARPリクエストメッセ
ージを受け取って解析し、自らのIPアドレスと異なる
ときには、なにもおこなわない。計算機a2は、ARP
リクエストメッセージのターゲットとなるIPアドレス
160.160.0.2を持つので、図7に示されるよ
うに、自らのMACアドレスである2を書き込んだAR
Pレスポンスメッセージを返信する。ARPレスポンス
メッセージのあて先のIPアドレスは、ARPリクエス
トメッセージの送信元IPアドレスになるので、当然、
ARPレスポンスメッセージのあて先は、計算機a1で
ある。
Each host receives this ARP request message, analyzes it, and does nothing if it is different from its own IP address. Computer a2 is ARP
Since it has the IP address 160.160.0.2 that is the target of the request message, the AR that has written its own MAC address of 2, as shown in FIG.
P Response message is returned. Since the destination IP address of the ARP response message becomes the source IP address of the ARP request message, of course,
The destination of the ARP response message is the computer a1.

【0080】計算機a1は、ARPレスポンスメッセー
ジを受信すると、受信したARPレスポンスメッセージ
に書き込まれたさがしていたMACアドレス(計算機a
2の通信制御装置のMACアドレスである2)を読み込
んで、自分のARPテーブルにIPアドレス160.1
60.0.2に対応付けして登録し、その後、必要なら
ば、そのMACアドレスを用いてイーサネットフレーム
を組み立てて通信をおこなう。
Upon receiving the ARP response message, the computer a1 searches for the MAC address (computer a that was written in the received ARP response message).
2) which is the MAC address of the second communication control device is read, and the IP address 160.1 is set in its own ARP table.
It is registered in association with 60.0.2, and thereafter, if necessary, the MAC address is used to assemble an Ethernet frame for communication.

【0081】(III)本実施形態におけるネットワーク
システムの動作 次に、上記の前提事項を基にして、図1および図10を
用いて本実施形態に係るネットワークシステムの動作に
ついて説明する。図1は、本発明の一実施形態に係るネ
ットワークシステムの要部拡大図である。
(III) Operation of Network System in this Embodiment Next, the operation of the network system according to this embodiment will be described with reference to FIGS. FIG. 1 is an enlarged view of a main part of a network system according to an embodiment of the present invention.

【0082】本発明の特徴は、ルータが二重化されてい
るところに起因する。ルータを二重化しておき、一方を
現用とし他方を予備用として、障害がおこったときに切
り替えようとするものである。
The feature of the present invention is that the router is duplicated. The router is duplicated and one of them is used as a working one and the other is used as a backup, and when a failure occurs, switching is performed.

【0083】既に、図5により本発明に係るネットワー
クシステムの構成を示したが、このうちでルータαを現
用ルータ、ルータβを予備用ルータとする。また、誤解
の恐れのないときは、現用ルータα、予備用ルータβと
も表記することにする。
The configuration of the network system according to the present invention has already been shown in FIG. 5, of which the router α is the active router and the router β is the standby router. Further, when there is no fear of misunderstanding, the working router α and the standby router β are also described.

【0084】したがって、通常、セグメントAとセグメ
ントBの中継ルータとしては、現用ルータαが使われ、
このルータになんらかの障害がおこったときには、予備
用ルータβが使われることになる。
Therefore, normally, the working router α is used as the relay router of the segment A and the segment B,
If any failure occurs in this router, the backup router β will be used.

【0085】(III-1)通信制御装置内に保持されるテ
ーブル 図1に示されるように、通信制御装置11は、内部メモ
リ118有していて、その中には、2重化ルータ管理テ
ーブルDRTT、IPアドレス格納テーブルIPAT、
MACアドレス格納テーブルMACATを保持してい
る。また、通常、MACアドレス格納テーブルMACA
Tは、ROM(Read Only Memory)114に保持され
る。
(III-1) Table Held in Communication Control Unit As shown in FIG. 1, the communication control unit 11 has an internal memory 118 in which a duplicate router management table is stored. DRTT, IP address storage table IPAT,
It holds a MAC address storage table MACAT. In addition, normally, the MAC address storage table MACA
T is stored in a ROM (Read Only Memory) 114.

【0086】これらのIPアドレス格納テーブルIPA
Tは、計算機a1の自らのIPアドレス160.16
0.0.1を格納している。一方、MACアドレス格納
テーブルMACATは、計算機a1の通信制御装置のM
ACアドレスである1を格納している。
These IP address storage table IPA
T is the own IP address of the computer a1, 160.16
It stores 0.0.1. On the other hand, the MAC address storage table MACAT is the M of the communication control device of the computer a1.
It stores 1 which is the AC address.

【0087】ここで、図10を用いて2重化ルータ管理
テーブルDRTTの構成について説明する。図10は、
2重化ルータ管理テーブルDRTTの構成を示す模式図
である。
The structure of the duplicated router management table DRTT will be described with reference to FIG. FIG.
It is a schematic diagram which shows the structure of the duplication router management table DRTT.

【0088】2重化ルータ管理テーブルDRTTは、2
重化されたルータを取扱うためのもので、その構成の主
要なものとしては、IPアドレス格納エリアDRTT1
とそれに対応する現用ルータに関する情報を格納する現
用ルータ管理エリアDRTT2と予備用ルータに関する
情報を格納する予備用ルータ管理エリアDRTT3があ
る。
The duplicated router management table DRTT is 2
The IP address storage area DRTT1 is used for handling duplicated routers, and the main components of the configuration are the IP address storage area DRTT1.
And a working router management area DRTT2 for storing information about the corresponding working router and a spare router management area DRTT3 for storing information about the spare router.

【0089】ここで、現用ルータ管理エリアDRTT2
を例に採り説明しよう。予備用ルータ管理エリアDRT
T3は、以下の説明で「現用ルータ」というところを
「予備用ルータ」と読み変えれば良い。
Here, the active router management area DRTT2
Let's take as an example. Spare router management area DRT
In T3, the term "working router" may be read as "spare router" in the following description.

【0090】現用ルータMACアドレスDRTT21
は、このホストからのあて先となる現用ルータに割り当
てられているMACアドレスが格納される。
Working router MAC address DRTT21
Stores the MAC address assigned to the active router that is the destination from this host.

【0091】現用ルータアドレス登録ビットDRTT2
3は、現用ルータMACアドレスDRTT21に現用ル
ータのMACアドレスが登録されているか否かを示すビ
ットであり、このエリアに現用ルータMACアドレスが
登録済のときは1であり、未登録の場合は0である。
Working router address registration bit DRTT2
3 is a bit indicating whether or not the MAC address of the active router is registered in the active router MAC address DRTT21, which is 1 when the active router MAC address is already registered in this area and 0 when it is not registered. Is.

【0092】現用ルータARPレスポンス受信管理ビッ
トDRTT24は、現用ルータからARPレスポンスメ
ッセージの受信を管理するためのビットであり、現用ル
ータからの受信待ち状態の場合は1であり、現用ルータ
からのARPレスポンスメッセージを受信済の場合は0
である。現用ルータ障害表示ビットDRTT25は、現
用ルータに障害が検知されたか否かをしめすためのビッ
トであり、現用ルータの障害を検知すると1とし、検知
してないときは0とする。
The active router ARP response reception management bit DRTT24 is a bit for managing the reception of the ARP response message from the active router, and is 1 in the waiting state for reception from the active router, and the ARP response from the active router. 0 if the message has been received
It is. The working router failure indication bit DRTT25 is a bit for indicating whether or not a failure is detected in the working router, and is set to 1 when a failure in the working router is detected, and is set to 0 when it is not detected.

【0093】さて、この計算機a1は、セグメントAに
属しているので、ルータαとルータβのセグメントA側
のインターフェースを通じてルーティングされる。した
がって、2重化ルータ管理テーブルDRTTのIPアド
レスを登録するエリアであるIPアドレスDRTT1に
は、160.160.1.1が格納され、現用ルータの
MACアドレスを登録するエリアである現用MACアド
レスDRTT21には、m+n+1、また、予備用ルー
タのMACアドレスを登録するエリアである予備用MA
CアドレスDRTT31には、m+n+3をそれぞれ格
納する。
Since the computer a1 belongs to the segment A, it is routed through the interfaces on the segment A side of the router α and the router β. Therefore, 160.160.1.1 is stored in the IP address DRTT1 which is the area for registering the IP address of the dual router management table DRTT, and the active MAC address DRTT21 which is the area for registering the MAC address of the active router. , M + n + 1, and a spare MA that is an area for registering the MAC address of the spare router.
The C address DRTT31 stores m + n + 3, respectively.

【0094】なお、一般に、現用ルータα、予備用ルー
タβのIPアドレスとMACアドレスおよび計算機a1
のIPアドレスは、システム管理者が予めシステムの稼
働前に、システム情報として設定しておく。
Generally, the IP addresses and MAC addresses of the active router α and the standby router β and the computer a1
The IP address is set by the system administrator in advance as system information before the system starts operating.

【0095】そして、計算機a1は、その立ち上げの処
理時に、それらを取りだして、通信制御装置11の内部
メモリ118にある2重化ルータ管理テーブルDRTT
とIPアドレス格納テーブルIPATに登録する。
Then, the computer a1 fetches them at the time of the start-up process and stores them in the dual router management table DRTT in the internal memory 118 of the communication control unit 11.
And the IP address storage table IPAT.

【0096】(III-2)通常のデータ送信のルーティン
グ 通信制御装置11は、CPU12から通信起動を受ける
と、ルーティングのために現用ルータαを用いる。例え
ば、ルータを越えて、セグメントBのネットワークに属
する計算機b1に対して通信をおこないたいとする。計
算機b1のIPアドレスは、160.161.0.1で
あった。このとき、図4に示したように、イーサネット
フレームの先頭のあて先MACアドレスには、2重化ル
ータ管理テーブルDRTTに格納された現用ルータαの
MACアドレスm+n+1を用いる。また、データとな
るIPデータグラムのあて先IPアドレスには、計算機
b1のIPアドレス160.161.0.1をセットす
る。
(III-2) Routing for normal data transmission When the communication control device 11 receives a communication activation from the CPU 12, it uses the active router α for routing. For example, suppose that the user wants to communicate with the computer b1 belonging to the network of the segment B over the router. The IP address of the computer b1 was 160.161.0.1. At this time, as shown in FIG. 4, the MAC address m + n + 1 of the working router α stored in the dual router management table DRTT is used as the destination MAC address of the head of the Ethernet frame. Further, the IP address 160.161.0.1 of the computer b1 is set as the destination IP address of the IP datagram that becomes the data.

【0097】現用ルータαは、送信されたイーサネット
フレームのあて先を見て、自分あてのイーサネットフレ
ームであることを知り、そのIPデータグラムを解析す
る。IPデータグラムに属するあて先IPアドレスを見
て、セグメントBにデータを流せば良いことが分かるの
で、このデータをセグメントBに流すことになる。
The active router α looks at the destination of the transmitted Ethernet frame, finds that it is the Ethernet frame for itself, and analyzes the IP datagram. By looking at the destination IP address belonging to the IP datagram and knowing that the data should be sent to the segment B, this data will be sent to the segment B.

【0098】(III-3)ARPリクエストメッセージの
送信 通信制御装置11は、内部にタイマを持ち、一定周期T
q毎に、現用ルータαと予備用ルータβにARPリクエ
ストメッセージを送信する。
(III-3) Transmission of ARP request message The communication control device 11 has a timer inside and a fixed period T
An ARP request message is transmitted to the active router α and the standby router β for each q.

【0099】ARPメッセージのフォーマットは、主要
なエリアとして、送信元MACアドレス、送信元IPア
ドレス、あて先MACアドレス、あて先IPアドレスを
格納するエリアがある。
The main area of the format of the ARP message is a source MAC address, a source IP address, a destination MAC address, and an area for storing a destination IP address.

【0100】ARPリクエストメッセージは、あて先M
ACアドレスのエリアに、求めたいIPアドレスを有す
るノードのMACアドレスが格納される。ここでは、現
用ルータαに対しては、通信制御装置11の内部メモリ
118に格納されたDRTTのMACアドレスm+n+
1を用いて、また、予備用ルータβには、MACアドレ
スm+n+3を用いて、それぞれにARPリクエストメ
ッセージが発せられることになる。
The ARP request message is sent to the destination M.
The MAC address of the node having the desired IP address is stored in the AC address area. Here, for the active router α, the DRTT MAC address m + n + stored in the internal memory 118 of the communication control device 11 is used.
Therefore, the ARP request message is issued to each of the spare routers β by using the MAC address m + n + 3.

【0101】(III-4)ARPレスポンスメッセージの
受信と障害対策 通信制御装置11は、現用ルータαと予備用ルータβと
にARPリクエストメッセージを送信後、送信したAR
Pリクエストメッセージの返答となる現用ルータαと予
備用ルータβからのARPレスポンスメッセージの受信
をタイマ監視する。
(III-4) Reception of ARP Response Message and Countermeasures for Failure The communication control device 11 transmits the ARP request message to the working router α and the protection router β, and then transmits the transmitted AR.
The timer monitoring is performed for the reception of the ARP response message from the working router α and the protection router β, which are replies to the P request message.

【0102】監視タイマがタイムアウトする前に、周期
Tqおきに送信されるARPリクエストメッセージに対
し、現用ルータαからARPレスポンスメッセージを受
信し続けてる間は、計算機b1〜計算機bnあてにデー
タを送信するときには、現用ルータαのMACアドレス
を用いて現用ルータαに(III-2)に示したようにして
データを送信する。
Before the monitoring timer times out, data is transmitted to the computers b1 to bn while continuing to receive the ARP response message from the active router α for the ARP request message transmitted every period Tq. In some cases, the MAC address of the active router α is used to transmit data to the active router α as shown in (III-2).

【0103】周期Tqおきに送信されるARPリクエス
トメッセージに対し、現用ルータαからARPレスポン
スメッセージの返信がなく、ARPレスポンスメッセー
ジ受信を監視するタイマがタイムアウトしたとする。
It is assumed that, in response to the ARP request message transmitted every cycle Tq, there is no reply of the ARP response message from the active router α, and the timer for monitoring the reception of the ARP response message times out.

【0104】そのときには、現用ルータαに何らかの障
害が起こったものと判断し、セグメントBの計算機b1
〜計算機bn2にデータを送信するときには、予備用ル
ータβのMACアドレスであるm+n+3を用いて、こ
れをあて先MACアドレスとしてイーサネットフレーム
を作成して、伝送路Aに流すようにする。すなわち、こ
の操作は、現用ルータαから予備用ルータβへの通信経
路を切り替えたことに該当する。
At that time, it is judged that some failure has occurred in the active router α, and the computer b1 of the segment B is determined.
When transmitting data to the computer bn2, the MAC address m + n + 3 of the backup router β is used, an Ethernet frame is created using this as the destination MAC address, and the Ethernet frame is sent to the transmission path A. That is, this operation corresponds to switching the communication path from the active router α to the standby router β.

【0105】このようにして、予備用ルータβに通信経
路を切替えた後も、通信制御装置11は、現用ルータα
と予備用ルータβあてのARPリクエストメッセージの
周期的な送信は継続する。
In this way, even after the communication path is switched to the backup router β, the communication control device 11 keeps the working router α.
And the periodical transmission of the ARP request message to the backup router β continues.

【0106】その後に出されたARPリクエストメッセ
ージに対して、監視タイマがタイムアウトする前に、現
用ルータαからARPレスポンスメッセージの返信を受
信したときには、現用ルータαの障害は、一時的であっ
たかまたは、回復したと判断して、再びメッセージの中
継ルータを予備用ルータ54から現用ルータ53へ切り
替える。すなわち、現用ルータαあてのMACアドレス
をあて先アドレスとして、イーサネットフレームを作っ
てセグメントBの計算機b1〜bnと交信する。それ以
降は、再び障害が起こらない限り、通信制御装置11
は、再び現用ルータαを中継ルータとしてデータを送信
することになる。
In response to the ARP request message issued thereafter, when the reply of the ARP response message is received from the working router α before the monitoring timer times out, the failure of the working router α was temporary or When it is determined that the message has been recovered, the relay router for the message is switched from the backup router 54 to the active router 53 again. That is, the MAC address addressed to the active router α is used as the destination address to create an Ethernet frame and communicate with the computers b1 to bn of the segment B. After that, unless a failure occurs again, the communication control device 11
Will transmit data again using the active router α as a relay router.

【0107】一定回数のARPリクエストメッセージを
送っても、ARPレスポンスメッセージが返ってこない
ときには、そのルータは、回復不可能であると判断し
て、ネットワークの管理サーバのコンソールなどに表示
して、システム管理者に連絡して、障害のあったルータ
を取り換えるなどの対策をおこなうようにする。
Even if the ARP request message is sent a fixed number of times, if the ARP response message is not returned, the router judges that it is not recoverable and displays it on the console of the management server of the network to display the system. Contact the administrator and take measures such as replacing the faulty router.

【0108】(IV)本実施形態に係る通信制御装置の構
成と動作 本発明のネットワークシステムとしての動作は、以上に
説明した通りであるが、以下では、図11を用いて上記
動作を実現するための通信制御装置の構成と動作をより
詳細に説明していこう。図11は、本発明の一実施形態
に係る通信制御装置の構成を表すブロック図である。
(IV) Configuration and Operation of Communication Control Device According to this Embodiment The operation as the network system of the present invention is as described above, but below, the above operation is realized using FIG. The configuration and operation of the communication control device will be described in more detail. FIG. 11 is a block diagram showing the configuration of the communication control device according to the embodiment of the present invention.

【0109】(IV-1)通信制御装置11の構成と一般的
動作 ネットワークに接続される計算機は、通信制御装置を用
いて接続するのが一般的である。通常良く用いられるの
は、計算機の拡張スロットに増設するタイプで、LAN
アダプタ、イーサネットアダプタ、LANボード、ネッ
トワークインターフェースカード(NIC)などと呼ば
れる。また、CPUと同じボードに実装されることもあ
る。
(IV-1) Configuration and General Operation of Communication Control Unit 11 Computers connected to a network are generally connected using a communication control unit. The type that is often used is a type that is added to the expansion slot of a computer, LAN
It is called an adapter, an Ethernet adapter, a LAN board, a network interface card (NIC), or the like. It may also be mounted on the same board as the CPU.

【0110】本実施形態に係る通信制御装置11は、イ
ンテリジェント型を想定としており、それ自身MPU
(Micro processing Unit)111を有している。この
MPUは、ROM114に格納されたプログラムに従っ
て動作する。また、ROM114には、通信制御装置1
1の動作プログラムの外に、この通信制御装置に割りあ
てられたMACアドレスを格納するMACアドレス格納
テーブルMATを保持している。
The communication control device 11 according to this embodiment is assumed to be an intelligent type, and the communication control device 11 itself is an MPU.
It has (Micro processing Unit) 111. This MPU operates according to the program stored in the ROM 114. In addition, the communication control device 1 is stored in the ROM 114.
In addition to the operation program No. 1, a MAC address storage table MAT that stores the MAC address assigned to this communication control device is held.

【0111】伝送回路115は、CSMA/CD(Carr
ier Sense Multiple Access with Collision Detectio
n)方式によりトランシーバ15を介して共通伝送路A
にイーネットフレームを伝送する。
The transmission circuit 115 uses the CSMA / CD (Carr
ier Sense Multiple Access with Collision Detectio
n) method, the common transmission line A via the transceiver 15
To transmit an Ethernet frame.

【0112】内部メモリ118には、2重化ルータ管理
テーブルDRTTと自計算機に割り付けられたIPアド
レスを格納するIPアドレス格納テーブルIPATがあ
り、この通信制御装置11が起動されるときに、CPU
12は、信号線S1よりバススケジューラ116へ内部
バス119の使用を要求して、バススケジューラ116
から信号線S2より内部バス119の使用許可を受け
る。内部バスの使用許可を受けると、CPU12は、信
号線S11によってメモリ118を書き込み許可状態に
する。そして、システムバス14とインタフェース11
7と内部バス119を介して、2重化ルータのIPアド
レスおよび現用ルータと予備用ルータのMACアドレス
を2重化ルータ管理テーブルDRTT内のIPアドレス
登録エリアとMACアドレス登録エリアにそれぞれ書き
込む。また、IPアドレス格納テーブルIPATに自計
算機に割りあてられたIPアドレスを書き込む。
The internal memory 118 has a dual router management table DRTT and an IP address storage table IPAT for storing the IP address assigned to the own computer. When the communication control unit 11 is activated, the CPU
12 requests the bus scheduler 116 to use the internal bus 119 from the signal line S1, and the bus scheduler 116
Receives permission to use the internal bus 119 from the signal line S2. When the use permission of the internal bus is received, the CPU 12 sets the memory 118 in the write permission state by the signal line S11. Then, the system bus 14 and the interface 11
7 and the internal bus 119, the IP address of the duplicated router and the MAC addresses of the working router and the spare router are written in the IP address registration area and the MAC address registration area in the duplicated router management table DRTT, respectively. Also, the IP address assigned to the computer is written in the IP address storage table IPAT.

【0113】(IV-2)通信制御装置11のデータ送信動
作 次に、本実施形態の通信制御装置11のデータの送信動
作について説明しよう。
(IV-2) Data Transmission Operation of Communication Control Device 11 Next, the data transmission operation of the communication control device 11 of this embodiment will be described.

【0114】最初に、セグメントBに属する計算機b1
〜計算機bnにメッセージを送信する場合を説明する。
CPU12は、共通伝送路Bに接続される計算機b2〜
計算機bnに送信するメッセージが有ると、IPデータ
グラムを作成する。IPデータグラムは、IPヘッダと
それ以外のデータ部分で構成されている。IPヘッダに
は、あて先IPアドレス、送信元IPアドレスおよびそ
の他の管理情報が含まれている。
First, the computer b1 belonging to the segment B
The case of sending a message to the computer bn will be described.
The CPU 12 is a computer b2 connected to the common transmission path B2.
When there is a message to be sent to the computer bn, an IP datagram is created. The IP datagram is composed of an IP header and a data part other than the IP header. The IP header contains a destination IP address, a source IP address, and other management information.

【0115】すなわち、CPU12は、送信したいメッ
セージをデータ部713に書き込み、IPヘッダには、
あて先のIPアドレス、自らのIPアドレスである送信
元IPアドレスおよびその他の必要な管理情報をセット
する。
That is, the CPU 12 writes the message to be transmitted in the data section 713, and the IP header contains
The destination IP address, the source IP address that is its own IP address, and other necessary management information are set.

【0116】CPU12は、IPデータグラムを送信を
するときは、送信するIPデータグラムと送信先のMA
Cアドレスをメモリ13に書き込み、信号線S9によっ
て、通信制御装置内のMPU111に送信要求をする。
ここで、送信元のMACアドレスは、R8に示したIP
アドレスからARPテーブルARPTを検索することに
よって得ることができる。
When transmitting an IP datagram, the CPU 12 sends the IP datagram to be transmitted and the destination MA.
The C address is written in the memory 13, and a transmission request is sent to the MPU 111 in the communication control device by the signal line S9.
Here, the source MAC address is the IP shown in R8.
It can be obtained by searching the ARP table ARPT from the address.

【0117】信号線S9によって送信要求を受けたMP
U111は、信号線S4によりバススケジューラ116
にシステムバス114の使用権を要求する。MPU11
1は、信号線S3によってバススケジューラ116から
システムバス14の使用許可を受ける。そして、内部バ
ス119とインタフェース117とシステムバス14を
介して、メモリ13より送信するIPデータグラムと送
信先MACアドレスを内部メモリ118に取り込み、イ
ーサネットフレームを作成する。IPデータグラムとイ
ーサネットフレームの関係は、既に図3により示した通
りである。
MP which received the transmission request by the signal line S9
U111 uses the signal line S4 to generate the bus scheduler 116.
Request the right to use the system bus 114. MPU11
1 receives permission to use the system bus 14 from the bus scheduler 116 via the signal line S3. Then, via the internal bus 119, the interface 117, and the system bus 14, the IP datagram to be transmitted from the memory 13 and the destination MAC address are taken into the internal memory 118, and an Ethernet frame is created. The relationship between the IP datagram and the Ethernet frame is as already shown in FIG.

【0118】MPU111はイーサネットフレームを作
成すると、内部メモリ118に作成したイーサネットフ
レームを格納し、信号線S5によって伝送回路115に
送信要求をする。伝送回路115は、信号線S5により
送信要求を受けると、内部メモリ118から送信するイ
ーサネットフレームを取り出しトランシーバ15を介し
て、共通伝送路Bにイーサネットフレームを送信する。
When the MPU 111 creates an Ethernet frame, the MPU 111 stores the created Ethernet frame in the internal memory 118 and requests the transmission circuit 115 to send it through the signal line S5. Upon receiving the transmission request through the signal line S5, the transmission circuit 115 takes out the Ethernet frame to be transmitted from the internal memory 118 and transmits the Ethernet frame to the common transmission line B via the transceiver 15.

【0119】さて、上記の処理は、イーサネットフレー
ムを伝送路に送信する場合の一般的な処理であったが、
次に、セグメントAの計算機a1からセグメントBの計
算機b1に対してデータを送信する場合のようなルータ
を越えてデータ送信を行う場合についての特有の処理に
ついて説明しよう。
By the way, the above-mentioned processing is the general processing when the Ethernet frame is transmitted to the transmission line.
Next, a description will be given of a peculiar process in the case of transmitting data over a router such as the case of transmitting data from the computer a1 of the segment A to the computer b1 of the segment B.

【0120】このようなときは、CPU12は、送信し
たいメッセージをIPデータグラムのデータ部に書き込
み、あて先IPアドレスにメッセージを送信するあて先
計算機のIPアドレスを書き込んだIPデータグラムを
作成し、信号線S10によってMPU111に送信要求
をする。それとともに、そのIPデータグラムの送信先
は、セグメントBに属するホストであることをMPU1
11に通知する。MPU111は、セグメントBに属す
るホストへの送信要求を受けると、メモリ13より送信
するIPデータグラムをインタフェース117を介し
て、メモリ13より取り出す。そして、図1に示される
2重化ルータ管理テーブルDRTTを参照して、現用ル
ータの通信障害を検知していない場合は、現用ルータの
MACアドレスを取り出して、イーサネットフレームの
あて先アドレスに書き込む。
In such a case, the CPU 12 writes the message to be sent in the data part of the IP datagram, creates the IP datagram in which the IP address of the destination computer for sending the message to the destination IP address is written, and outputs the signal line. A transmission request is sent to the MPU 111 in S10. At the same time, MPU1 indicates that the destination of the IP datagram is a host belonging to segment B.
Notify 11 Upon receiving the transmission request to the host belonging to the segment B, the MPU 111 takes out the IP datagram transmitted from the memory 13 from the memory 13 via the interface 117. Then, referring to the duplicated router management table DRTT shown in FIG. 1, when the communication failure of the working router is not detected, the MAC address of the working router is taken out and written in the destination address of the Ethernet frame.

【0121】これに反して、現用ルータの障害を検知し
ていて、かつ予備用ルータの通信障害を検知していない
場合は、予備用ルータのMACアドレスを取りだして、
イーサネットフレームのあて先アドレスに書き込む。
On the contrary, when the failure of the working router is detected and the communication failure of the protection router is not detected, the MAC address of the protection router is taken out,
Write to the destination address of the Ethernet frame.

【0122】そして、メモリ13から取れ出したIPデ
ータグラムをイーサネットフレームのデータ部25に書
き込む。MPU111は、このようにしてイーサネット
フレームを作成した後に、信号線S5によって伝送回路
115に送信起動する。送信起動を受けた伝送回路11
5は、そのイーサネットフレームをトランシーバ15を
介して共通伝送路Aに送信する。送信されたイーサネッ
トフレームのあて先は、中継ルータのMACアドレスが
書き込まれているので、指定された中継ルータが、それ
を受信して、共通伝送路B介して、セグメントBに属す
るあて先計算機まで送信される。
Then, the IP datagram fetched from the memory 13 is written in the data section 25 of the Ethernet frame. After creating the Ethernet frame in this way, the MPU 111 starts transmission to the transmission circuit 115 via the signal line S5. Transmission circuit 11 that has received transmission activation
5 transmits the Ethernet frame to the common transmission line A via the transceiver 15. Since the MAC address of the relay router is written in the destination of the transmitted Ethernet frame, the designated relay router receives it and transmits it via the common transmission path B to the destination computer belonging to the segment B. It

【0123】(IV-3)通信制御装置11の2重化したル
ータの障害検出動作 次に、本実施形態に係る通信制御装置11が、周期Tq
おきにARPリクエストフレームを伝送路上に送信し
て、2重化したルータの障害を検出する動作について説
明しよう。
(IV-3) Fault Detection Operation of Duplicated Router of Communication Control Device 11 Next, the communication control device 11 according to the present embodiment sets the cycle Tq.
Every time, the operation of transmitting the ARP request frame on the transmission line and detecting the failure of the duplicated router will be described.

【0124】(IV-3-1)ARPリクエストメッセージの
送信 ARPリクエスト送信タイマ1121は、周期Tq毎に
MPU111に信号線S7−1より割り込みをいれる。
S7−1より割り込みを受けたMPU111は、ARP
リクエストメッセージを作成する。
(IV-3-1) Transmission of ARP Request Message The ARP request transmission timer 1121 interrupts the MPU 111 from the signal line S7-1 every cycle Tq.
The MPU 111 that received the interrupt from S7-1 sends an ARP
Create request message.

【0125】そのときに、送信元MACアドレスには、
ROM114内のMACアドレス格納テーブルMACT
を参照して、自らの通信制御装置に割り当てられたMA
Cアドレス1を格納する。また、送信元IPアドレスに
は、内部メモリ118内のIPアドレス格納エリアIP
Aを参照して、自らに割り当てられたIPアドレス16
0.160.0.1を格納する。
At this time, the source MAC address is
MAC address storage table MACT in ROM 114
MA assigned to its own communication control device
The C address 1 is stored. The source IP address is the IP address storage area IP in the internal memory 118.
IP address 16 assigned to itself by referring to A
Store 0.160.0.1.

【0126】一方、現用ルータαに対するARPリクエ
ストメッセージのときも、予備用ルータに対するARP
リクエストメッセージのときも、あて先IPアドレスに
は、内部メモリ118内の2重化ルータ管理テーブルD
RTTのIPアドレス登録エリアを参照して、2重化ル
ータに割り当てられたIPアドレス160.160.
1.1を、それぞれ書き込んだARPリクエストメッセ
ージを作成する。
On the other hand, even in the case of the ARP request message for the working router α, the ARP
Even in the case of a request message, the duplicated router management table D in the internal memory 118 is stored in the destination IP address.
Referring to the IP address registration area of RTT, the IP address 160.160.
The ARP request message in which 1.1 is written is created.

【0127】そして、イーサネットフレームを作るため
に、ARPリクエストメッセージをイーサネットフレー
ムのデータ部に格納する。イーサネットフレームのヘッ
ダ部には、送信元MACアドレス、あて先MACアドレ
スその他の管理情報を格納する。送信元MACアドレス
は、ROM114に保持されたMACアドレス格納テー
ブルMATに格納されたMACアドレス1である。あて
先MACアドレスは、2重化ルータ管理テーブルDRT
Tに格納されている値を用いる。本実施形態では、現用
ルータαに対するイーサネットフレームのあて先MAC
アドレスとして、m+n+1、予備用ルータβに対する
イーサネットフレームのあて先MACアドレスとして、
m+n+3が用いられる。
Then, in order to create an Ethernet frame, the ARP request message is stored in the data section of the Ethernet frame. The header part of the Ethernet frame stores a source MAC address, a destination MAC address and other management information. The source MAC address is the MAC address 1 stored in the MAC address storage table MAT held in the ROM 114. The destination MAC address is the duplicate router management table DRT.
The value stored in T is used. In the present embodiment, the destination MAC of the Ethernet frame for the active router α
As the address, m + n + 1, as the destination MAC address of the Ethernet frame for the backup router β,
m + n + 3 is used.

【0128】そして、組み立てたイーサネットフレーム
を、伝送回路115とトランシーバ15と共通伝送路A
を介して、現用ルータαと予備用ルータβにそれぞれ送
信する。それと同時に、ARPレスポンス受信監視タイ
マ1122を信号線S7−4によって起動する。これに
よって、ARPレスポンス受信監視タイマ1122は、
現用ルータαと予備用ルータβから送信されるARPレ
スポンスメッセージの受信を待つことになる。
Then, the assembled Ethernet frame is sent to the transmission circuit 115, the transceiver 15 and the common transmission line A.
To the working router α and the standby router β via the. At the same time, the ARP response reception monitoring timer 1122 is started by the signal line S7-4. As a result, the ARP response reception monitoring timer 1122
It waits for the reception of the ARP response message transmitted from the working router α and the protection router β.

【0129】(IV-3-2)ARPレスポンスメッセージの
受信 次に、この通信制御装置11がイーサネットフレームを
受信するときの動作について説明しよう。
(IV-3-2) Reception of ARP Response Message Next, the operation when the communication control device 11 receives an Ethernet frame will be described.

【0130】伝送回路115は、共通伝送路51とトラ
ンシーバ15を介してイーサネットフレームを受信する
と、信号線S6より受信割り込みをMPU111に入
れ、受信したイーサネットフレームを内部メモリ118
に格納する。
When the transmission circuit 115 receives the Ethernet frame via the common transmission line 51 and the transceiver 15, it inputs a reception interrupt to the MPU 111 through the signal line S6 and stores the received Ethernet frame in the internal memory 118.
To be stored.

【0131】さて、イーサネットフレームのヘッダ部の
管理情報の中には、フレームタイプを格納するエリアが
あり、そのフレームのタイプを判別することができる。
したがって、このフレームタイプを読み取ることによっ
て、受信したイーサネットフレームのデータ部がARP
メッセージであるか否かの判断をすることができる。
Now, in the management information of the header part of the Ethernet frame, there is an area for storing the frame type, and the type of the frame can be discriminated.
Therefore, by reading this frame type, the data part of the received Ethernet frame is ARPed.
It is possible to judge whether or not it is a message.

【0132】受信割り込みを受けたMPU111が、内
部メモリ118に格納されたイーサネットフレームのフ
レームタイプを読み取って、これがARPメッセージで
ないと判断したとき、受信したイーサネットフレームの
データ部をインタフェース117を介してメモリ13に
書き込んで、信号線S10によってCPU12にメッセ
ージを受信したことを通知する。
When the MPU 111 receiving the reception interrupt reads the frame type of the Ethernet frame stored in the internal memory 118 and determines that this is not the ARP message, the data part of the received Ethernet frame is stored in the memory via the interface 117. 13 is written to notify the CPU 12 that the message is received by the signal line S10.

【0133】受信割り込みを受けたMPU111が、内
部メモリ118に格納されたイーサネットフレームのフ
レームタイプを読み取って、これをARPメッセージと
判断したとき、先ず、MPU111は、データ部に書き
込まれたARPメッセージの送信元IPアドレスを参照
して、そのARPメッセージがどこから送られてきたか
を判断する。
When the MPU 111 that received the reception interrupt reads the frame type of the Ethernet frame stored in the internal memory 118 and determines that this is an ARP message, first, the MPU 111 sends the ARP message written in the data section. The source IP address is referenced to determine where the ARP message came from.

【0134】送信元IPアドレスが、2重化ルータに割
り当てられているIPアドレス160.160.1.1
であるときは、それは、現用ルータαから来たものか予
備用ルータβからきたものかのいずれかである。
The source IP address is the IP address 160.160.1.1 assigned to the duplicated router.
, It is either from the working router α or the backup router β.

【0135】そのときには、イーサネットフレームのヘ
ッダ部の送信元MACアドレスによって現用ルータαか
らのARPレスポンスメッセージであるか予備用ルータ
βからのARPレスポンスメッセージであるかを判断す
ることができる。
At this time, it is possible to determine whether the ARP response message is from the working router α or the backup router β, based on the source MAC address of the header part of the Ethernet frame.

【0136】それが、現用ルータαからのARPレスポ
ンスメッセージであったときは、図10で説明した2重
化ルータ管理テーブルDRTTの現用ルータARPレス
ポンス受信管理ビットDRT24を1にする。
When it is the ARP response message from the active router α, the active router ARP response reception management bit DRT24 of the duplicated router management table DRTT described in FIG. 10 is set to 1.

【0137】しかる後に、予備用ルータARPレスポン
ス受信管理ビットDRT34を参照して、予備用ルータ
からのARPレスポンスメッセージを受信済と判断した
ときには、信号線S7−3によってARPレスポンス受
信監視タイマ1122を停止させる。予備用ルータから
のARPレスポンスを受信していないと判断されたとき
には、ARPレスポンス受信監視監視タイマ1122を
停止せずに、受信処理を終了する。
Thereafter, referring to the spare router ARP response reception management bit DRT34, when it is determined that the ARP response message from the spare router has been received, the ARP response reception monitoring timer 1122 is stopped by the signal line S7-3. Let When it is determined that the ARP response from the backup router has not been received, the reception process is terminated without stopping the ARP response reception monitoring and monitoring timer 1122.

【0138】一方、それが予備用ルータβからのARP
レスポンスメッセージであったときは、図10で説明し
た2重化ルータ管理テーブルDRTTの予備用ルータA
RPレスポンス受信管理ビットDRT34を1にする。
On the other hand, it is the ARP from the backup router β.
If it is a response message, the backup router A of the duplicated router management table DRTT described in FIG.
The RP response reception management bit DRT34 is set to 1.

【0139】しかる後に、現用ルータARPレスポンス
受信管理ビットDRT24を参照して、現用ルータから
のARPレスポンスメッセージを受信済と判断したとき
には、信号線S7−3によってARPレスポンス受信監
視タイマ1122を停止させる。現用ルータからのAR
Pレスポンスを受信していないと判断されたときには、
ARPレスポンス受信監視タイマ1122を停止せず
に、受信処理を終了する。
Thereafter, when it is determined that the ARP response message from the active router has been received by referring to the active router ARP response reception management bit DRT24, the ARP response reception monitoring timer 1122 is stopped by the signal line S7-3. AR from working router
When it is determined that the P response has not been received,
The reception process is terminated without stopping the ARP response reception monitoring timer 1122.

【0140】すなわち、現用ルータ、予備用ルータの両
方からのARPレスポンスメッセージが来たときにの
み、ARPレスポンス受信監視タイマ1122がはじめ
て停止されるわけである。
That is, the ARP response reception monitoring timer 1122 is stopped for the first time only when the ARP response message is received from both the working router and the protection router.

【0141】受信したARPレスポンスメッセージの送
信元IPアドレスが2重化ルータに割り当てられている
IPアドレス以外のときは、2重化ルータに関する処理
とは無関係である。このときには、受信したARPメッ
セージをインターフェース117を介して、メモリ13
に書き込み、その後に信号線S10によってCPU12
に受信割り込みをいれて、ARPレスポンスメッセージ
を受信したことを知らせることになる。
When the source IP address of the received ARP response message is other than the IP address assigned to the duplicate router, the process relating to the duplicate router is irrelevant. At this time, the received ARP message is sent to the memory 13 via the interface 117.
To the CPU 12 by the signal line S10.
A reception interrupt is put in to inform that the ARP response message has been received.

【0142】(IV-3-3)ARPレスポンス受信監視タイ
マ1122のタイムアウト時の処理 上記の様に、通信制御装置11は、ARPリクエストメ
ッセージを送信後、ARPレスポンス受信監視タイマ1
122によって、ARPレスポンスメッセージを監視し
ているが、決められた時間内に、現用ルータまたは予備
用ルータのいずれか一方でも、ARPレスポンスメッセ
ージが受信されなかったときには、ARPレスポンス受
信監視タイマ1122は、タイムアウト処理をおこすこ
とになる。すなわち、その受信しなかった方に該当する
ルータに何らかの障害がおこったものと判断するわけで
ある。
(IV-3-3) Processing at the time of timeout of ARP response reception monitoring timer 1122 As described above, the communication control device 11 transmits the ARP request message, and then the ARP response reception monitoring timer 1
Although the ARP response message is monitored by 122, when the ARP response message is not received by either the working router or the protection router within the determined time, the ARP response reception monitoring timer 1122 A timeout process will be performed. In other words, it is determined that some failure has occurred in the router that does not receive it.

【0143】ARPレスポンス受信監視タイマ1122
がタイムアウトすると、このARPレスポンス受信監視
タイマ1122は、信号線S7−2よりMPU111に
割り込みをいれる。割り込みを受けたMPU111は、
2重化ルータ管理テーブルDRTTの現用ルータARP
レスポンス受信管理ビットDRTT24と予備用ルータ
ARPレスポンス受信管理ビットDRTT34の値を調
べる。
ARP response reception monitoring timer 1122
When is timed out, the ARP response reception monitoring timer 1122 interrupts the MPU 111 via the signal line S7-2. The MPU 111 that received the interrupt
Duplicated router management table DRTT working router ARP
The values of the response reception management bit DRTT24 and the backup router ARP response reception management bit DRTT34 are checked.

【0144】このビットのいずれかが未受信であること
を示す0であるときには、そのルータに障害がおこった
わけであるから、現用ルータARPレスポンス受信管理
ビットDRTT24が0であるときには、現用ルータ障
害表示ビットDRTT25を1にし、予備用ルータAR
Pレスポンス受信管理ビットDRTT34が0であると
きには、予備用ルータ障害表示ビットDRTT35を1
とする。そして、いずれかのルータに障害が発生したこ
とをCPU12に通知する。
If any of these bits is 0, which indicates that the router has not been received, that router has failed. Therefore, when the active router ARP response reception management bit DRTT24 is 0, the active router failure indicator is displayed. Bit DRTT25 is set to 1, and spare router AR
When the P response reception management bit DRTT34 is 0, the spare router failure indication bit DRTT35 is set to 1
And Then, the CPU 12 is notified that a failure has occurred in any of the routers.

【0145】そして、既に(III)で述べたように、C
PU12は、現用ルータに障害がおこっていて、予備用
ルータに障害がおこっていないときには、ルータの切替
処理をおこない、それ以降は、予備用ルータで通信をお
こなうことになる。
Then, as already described in (III), C
When there is a failure in the working router and no failure in the backup router, the PU 12 performs router switching processing, and thereafter, the backup router performs communication.

【0146】MPU111は、このようにルータに障害
が発生したことを検知した後も、タイマ1122より割
り込みが発生する度に、現用系ルータと予備用ルータに
ARPレスポンスメッセージの送信を続ける。
The MPU 111 continues to send the ARP response message to the active router and the standby router each time an interrupt is generated from the timer 1122 even after detecting the failure in the router.

【0147】そして、ARPレスポンス受信監視タイマ
がタイムアウトする前に、障害発生中のルータからAR
Pレスポンスメッセージを受信すると、障害が回復した
と認識して、当該ルータの障害表示ビットをクリアす
る。
Before the ARP response reception monitor timer times out, the AR
When the P response message is received, it is recognized that the failure is recovered, and the failure indication bit of the router is cleared.

【0148】(V)本実施形態の2重化ルータを用いる
利点 本実施形態に係る2重化ルータを用いたネットワークシ
ステムで、例えばTqを10秒、ARPリクエスト受信
タイマのタイムアウト時間を5秒と設定すると、現用ル
ータ53に障害が発生してから、予備用ルータ54に切
り替えの時間が15秒程度できることになる。
(V) Advantages of Using the Duplex Router of this Embodiment In a network system using the duplication router of this embodiment, for example, Tq is 10 seconds, and the timeout time of the ARP request reception timer is 5 seconds. If set, it will take about 15 seconds to switch to the backup router 54 after the failure of the working router 53.

【0149】これは、通常のRIPルーティングを用い
るシステムに比べて、ネットワーク上で通信がおこなえ
なくなる時間を大幅に短縮することができる。
This can greatly reduce the time during which communication cannot be performed on the network, as compared with a system using normal RIP routing.

【0150】なおかつ、ルータへ周期TqでARPレス
ポンスメッセージを送信すること、および、ルータから
のARPリクエストメッセージの受信監視は通信制御装
置11がおこなうので、CPU12に処理負荷をかけず
にルータの切り替え制御をおこなうことができる。
Further, since the communication control device 11 performs the ARP response message transmission to the router at the cycle Tq and the reception monitoring of the ARP request message from the router, the switching control of the router is performed without imposing a processing load on the CPU 12. Can be done.

【0151】〔実施形態2〕以下、本発明に係る第二の
実施形態を、図12ないし図19を用いて説明する。
[Second Embodiment] A second embodiment of the present invention will be described below with reference to FIGS. 12 to 19.

【0152】第一の実施形態で、ARPメッセージを用
いてルータの障害を検出して、ルータを切り替えてネッ
トワークシステムの安全性を図る技術について説明し
た。ルータに障害があり、復旧が不可能なときには、第
一の実施形態でも述べたようにその障害のあったルータ
を交換する。このときには、ルータのMACアドレスが
変わるので、ホスト側にある2重化ルータ管理テーブル
DRTTの内容も書き変えなければならない。したがっ
て、通常、システム管理者が各ホストの持つ2重化ルー
タ管理テーブルDRTTの内容を再設定することにな
る。これは、ネットワークに接続されているホストの数
が多いと、システム管理者にとって過大な負担となる。
また、場合によっては、計算機上でしていた作業を一時
中断しなければならないかも知れない。
In the first embodiment, the technique for detecting the fault of the router by using the ARP message and switching the router to secure the safety of the network system has been described. When the router has a fault and cannot be recovered, the faulty router is replaced as described in the first embodiment. At this time, since the MAC address of the router changes, the contents of the duplicate router management table DRTT on the host side must be rewritten. Therefore, normally, the system administrator resets the contents of the duplicated router management table DRTT of each host. This imposes an excessive burden on the system administrator when a large number of hosts are connected to the network.
In some cases, it may be necessary to suspend the work performed on the computer.

【0153】本実施形態は、実施形態1をベースとしな
がらも、システムを稼働状態のままで、このような作業
をできるだけ自動化しようとするものである。すなわ
ち、実施形態1のネットワークシステムの構成におい
て、ホスト側からARPリクエストメッセージを送信
し、ルータ側からのARPレスポンスメッセージによっ
て、ルータが交換されたのを認識したときには、自らの
2重化ルータ管理テーブルDRTTに、返答されてきた
新しく交換されたルータのMACアドレスを登録しよう
とするものである。
The present embodiment is based on the first embodiment, but is intended to automate such work as much as possible while keeping the system in the operating state. That is, in the configuration of the network system of the first embodiment, when the ARP request message is transmitted from the host side and the router is recognized by the ARP response message from the router side, its own duplicate router management table It is intended to register the returned MAC address of the newly exchanged router in the DRTT.

【0154】(I)本実施形態に係るネットワークシス
テムの動作 本実施形態の説明では、フローチャートによってネット
ワークシステムの動作を追っていくことにしよう。
(I) Operation of Network System According to this Embodiment In the description of this embodiment, the operation of the network system will be followed by a flowchart.

【0155】先ず、図12を用いて本実施形態に係る通
信制御装置11の動作の概略を説明する。図12は、本
発明の一実施形態に係る通信制御装置11の動作の概略
を示した模式図である。
First, the outline of the operation of the communication control device 11 according to the present embodiment will be described with reference to FIG. FIG. 12 is a schematic diagram showing an outline of the operation of the communication control device 11 according to the embodiment of the present invention.

【0156】図11に示した通信制御装置の動作は、大
別してイーサネットフレーム送信処理S0とイーサネッ
トフレーム受信処理S1がある。
The operation of the communication control apparatus shown in FIG. 11 is roughly classified into an Ethernet frame transmission process S0 and an Ethernet frame reception process S1.

【0157】イーサネットフレーム送信処理(S0)で
は、ARPリクエストメッセージを送信するとき(S0
1)と、その他のイーサネットフレームを送信するとき
(S02)がある。このイーサネットフレームを送信す
るとき(S0)の処理は、(I-1)で詳細に説明する。
In the Ethernet frame transmission process (S0), when the ARP request message is transmitted (S0
1) and when other Ethernet frames are transmitted (S02). The process of (S0) when transmitting this Ethernet frame will be described in detail in (I-1).

【0158】ARPリクエストメッセージを送信したと
きには、図10に示したARPレスポンス受信監視タイ
マ1122が、ARPレスポンスメッセージを待ち受け
る。そして、一定時間内に通信制御装置がARPレスポ
ンス受信タイマ送信されなかったときには、タイムアウ
ト処理を実行することになる。このタイムアウト時の処
理については、(I-3)で詳細に説明する。
When the ARP request message is transmitted, the ARP response reception monitoring timer 1122 shown in FIG. 10 waits for the ARP response message. Then, when the communication control device does not transmit the ARP response reception timer within a fixed time, the timeout process is executed. The processing at the time-out will be described in detail in (I-3).

【0159】イーサネットフレーム受信処理(S1)で
は、ARPレスポンスメッセージを受信するとき(S1
1)と、その他のイーサネットフレームを受信するとき
(S12)がある。このイーサネットフレームを受信す
るとき(S1)の処理は、(I-2)で詳細に説明する。
In the Ethernet frame receiving process (S1), when the ARP response message is received (S1
1) and when other Ethernet frames are received (S12). The process of receiving the Ethernet frame (S1) will be described in detail in (I-2).

【0160】(I-1)イーサネットフレーム送信処理 先ず、図13および図14の順を追ってイーサネットフ
レームを送信するときの通信制御装置11の動作につい
て説明しよう。図13は、通信制御装置11内のMPU
111がイーサネットフレームを送信するときの動作を
示すフローチャートである。図14は、2重化ルータへ
ARPリクエストメッセージを送信するときの処理を示
すフローチャートである。
(I-1) Ethernet Frame Transmission Process First, the operation of the communication control device 11 when transmitting an Ethernet frame will be described in the order of FIGS. 13 and 14. FIG. 13 is an MPU in the communication control device 11.
11 is a flowchart showing an operation when 111 transmits an Ethernet frame. FIG. 14 is a flowchart showing a process when an ARP request message is transmitted to the duplex router.

【0161】既に説明したように、イーサネットフレー
ムのヘッド部には、フレームタイプのエリアがあり、そ
の値を設定することにより、ARPメッセージか、それ
以外のイーサネットフレームかを識別するようになって
いる。
As described above, the head portion of the Ethernet frame has a frame type area, and by setting the value, it is possible to discriminate between the ARP message and other Ethernet frames. .

【0162】CPU12は、送信するメッセージがある
場合は、送信するメッセージとあて先MACアドレスと
上記送信したいイーサネットフレームのフレームタイプ
に従ったの値とをメモリ13に用意して、信号線S11
によってMPU111に送信起動をかける。
When there is a message to be transmitted, the CPU 12 prepares in the memory 13 the message to be transmitted, the destination MAC address, and the value according to the frame type of the Ethernet frame to be transmitted, and the signal line S11
Then, the MPU 111 starts transmission.

【0163】ここで、CPU12が、メモリ13に用意
するメッセージは、ARPメッセージかそれ以外のIP
データグラムのどちらかである。
Here, the message prepared by the CPU 12 in the memory 13 is an ARP message or another IP message.
Either of the datagrams.

【0164】送信起動を受けたMPU111は、メモリ
13より送信メッセージとあて先MACアドレスとフレ
ームタイプ値を取り込み、以下のようにイーサネットフ
レーム送信処理をおこなう。
Upon receiving the transmission activation, the MPU 111 fetches the transmission message, the destination MAC address and the frame type value from the memory 13 and performs the Ethernet frame transmission process as follows.

【0165】先ず、MPU111は、メモリ13から取
り込んだフレームタイプの値を参照して、送信データが
ARPメッセージかそれ以外かを判定する(S21−
1)。
First, the MPU 111 refers to the value of the frame type fetched from the memory 13 and determines whether the transmission data is an ARP message or not (S21-).
1).

【0166】ARPメッセージ以外の場合は、メモリ1
3より取り込んだメッセージとあて先MACアドレスと
フレームタイプよりイーサネットフレームを作成して
(S21−7)、伝送回路115に信号線S5により送
信要求をする(S21−8)。
Memory 1 except for ARP message
An Ethernet frame is created from the message captured from No. 3, the destination MAC address, and the frame type (S21-7), and a transmission request is sent to the transmission circuit 115 through the signal line S5 (S21-8).

【0167】そして、送信要求を受けた伝送回路は、ト
ランシーバ15と共通伝送路51を介してイーサネット
フレームを送信することになる。
Then, the transmission circuit which receives the transmission request transmits the Ethernet frame through the transceiver 15 and the common transmission path 51.

【0168】一方、フレームタイプからARPメッセー
ジであると判定されたときには(S21−2)、さら
に、ARPメッセージの中の情報を見て、ARPリクエ
ストメッセージであるか否かを調べる(S21−3)。
On the other hand, when it is determined from the frame type that the message is an ARP message (S21-2), the information in the ARP message is further checked to see if it is an ARP request message (S21-3). .

【0169】そのメッセージがARPリクエストメッセ
ージであるときは、次に、ARPメッセージの中のあて
先IPアドレスを見て、それと2重化ルータ管理テーブ
ルDRTTに格納されているIPアドレスと比較して、
あて先が2重化ルータ(実施形態1で説明した現用ルー
タまたは予備用ルータのいずれか)と判ったときは(S
21−3)、S21−4に行く。
If the message is an ARP request message, then the destination IP address in the ARP message is looked at and compared with the IP address stored in the duplicate router management table DRTT,
When it is determined that the destination is a duplex router (either the working router or the standby router described in the first embodiment) (S
21-3), go to S21-4.

【0170】ARPメッセージが、ARPリクエストで
はないか、そのあて先が、2重化ルータではないとき
は、通常通りに、イーサネットフレームを作成し(S2
1−7)、それを送信する(S21−8)。
When the ARP message is not the ARP request or the destination is not the duplex router, the Ethernet frame is created as usual (S2
1-7), and transmits it (S21-8).

【0171】あて先が、2重化ルータであると判定され
たときには、2重化ルータ管理テーブルDRTTの現用
アドレス登録ビットDRTT23を調べて、現用ルータ
アドレスが登録されているか否かを調べる(S21−
4)。
When it is determined that the destination is a dual router, the active address registration bit DRTT23 of the dual router management table DRTT is checked to see if the active router address is registered (S21-).
4).

【0172】現用ルータアドレスが登録されていないと
きは、現用ルータのMACアドレスを知るためにARP
リクエストメッセージを送信する必要があるので、やは
り、イーサネットフレームを組立て(S21−7)、送
信する(S21−8)。
When the working router address is not registered, ARP is used to know the MAC address of the working router.
Since the request message needs to be transmitted, the Ethernet frame is assembled (S21-7) and transmitted (S21-8).

【0173】現用ルータアドレスが登録されているとき
には、現用ルータのMACアドレスを知るためには、A
RPリクエストメッセージを出す必要がなく、この通信
制御装置11内で、現用ルータMACアドレスの値を用
いてARPレスポンスメッセージを作成し(S21−
5)、作成したARPメッセージをCPU12に伝え
る。
When the active router address is registered, in order to know the MAC address of the active router, A
There is no need to issue an RP request message, and within this communication control device 11, an ARP response message is created using the value of the active router MAC address (S21-
5) The CPU 12 is notified of the created ARP message.

【0174】本実施形態の通信制御装置11も、実施形
態1と同様に、2重化ルータに対して、一定の周期Tq
で、ARPリクエストメッセージを送信している。次
に、この処理を図14によって説明しよう。
Similarly to the first embodiment, the communication control device 11 of the present embodiment also sets a fixed cycle Tq for the duplicated router.
Then, the ARP request message is transmitted. Next, this process will be described with reference to FIG.

【0175】図11に示されるARPリクエスト送信タ
イマ113は、タイムカウントして、一定時間ごとに信
号線S8−1によって、MPU111に割り込みを入れ
る。この処理は、この割込み受けておこなわれるもので
ある。この割込みが来ると、MPU111は、2重化ル
ータ管理テーブルDRTTのIPアドレスが格納された
エリアであるIPアドレスDRTT1の値を、あて先I
PアドレスとしたARPリクエストメッセージを作成す
る(S18−1)。
The ARP request transmission timer 113 shown in FIG. 11 counts time, and interrupts the MPU 111 by the signal line S8-1 at regular intervals. This processing is performed in response to this interrupt. When this interrupt comes, the MPU 111 sets the value of the IP address DRTT1 which is the area storing the IP address of the duplicated router management table DRTT to the destination I.
An ARP request message with the P address is created (S18-1).

【0176】そして、2重化ルータ管理テーブル13の
現用ルータMACアドレス登録ビットDRTT12と予
備用ルータMACアドレス登録ビットを調べて(S18
−2,S18−3)、両者の内いずれかでも登録されて
いないときには、ARPリクエストメッセージをブロー
ドキャストする(S18−9)。
Then, the working router MAC address registration bit DRTT12 and the spare router MAC address registration bit of the duplicated router management table 13 are checked (S18).
-2, S18-3), if neither of them is registered, the ARP request message is broadcast (S18-9).

【0177】ARPリクエストメッセージのIPアドレ
スは、2重化ルータ管理テーブルDRTTに格納された
IPアドレスであるため、このメッセージに関してレス
ポンスを返すと予想されるのは、2重化ルータ(現用ル
ータと予備用ルータの両方)である。したがって、2重
化ルータ管理テーブルDRTTの現用ルータARPレス
ポンス受信管理ビットDRTT24を受信待ちを意味す
る1にし(S18−10)、同様に、予備用ルータAR
Pレスポンス受信管理ビットDRTT34を受信待ちを
意味する1にする(S18−10)。
Since the IP address of the ARP request message is the IP address stored in the duplicated router management table DRTT, it is expected that a response will be returned with respect to this message. For both routers). Therefore, the working router ARP response reception management bit DRTT24 of the duplicated router management table DRTT is set to 1 (S18-10), which means waiting for reception, and similarly, the backup router AR.
The P response reception management bit DRTT34 is set to 1 which means waiting for reception (S18-10).

【0178】そして、そのイーサネットフレームを伝送
路に送信後に、2重化ルータARPレスポンス受信監視
タイマ1122を起動して(S18−8)、ARPレス
ポンスメッセージが、現用ルータと予備用ルータの両方
から来るまでタイマをカウントさせる。
After transmitting the Ethernet frame to the transmission line, the dual router ARP response reception monitoring timer 1122 is activated (S18-8), and the ARP response message comes from both the working router and the standby router. To count the timer until.

【0179】2重化ルータ管理テーブルDRTTに現用
ルータのMACアドレスと予備用ルータのMACアドレ
スが共に登録されているときにも、現用ルータと予備用
ルータに対して、ARPリクエストメッセージを送信す
る。これは、MACアドレスは、分かっているので、I
PアドレスからMACアドレスを知るという意味ではな
く、ARPレスポンスメッセージを返すか否かによって
そのルータに障害があるか否かを判定しようとするもの
である。
Even when the MAC address of the working router and the MAC address of the protection router are both registered in the duplicate router management table DRTT, the ARP request message is transmitted to the protection router and the protection router. This is because the MAC address is known, so I
It does not mean to know the MAC address from the P address, but it is intended to judge whether or not there is a failure in the router depending on whether or not the ARP response message is returned.

【0180】したがって、このときにも現用ルータあて
には、現用ルータMACアドレスをセットしたイーサネ
ットフレームを作成し、送信する(S18−4)。そし
て、2重化ルータ管理テーブルDRTTの現用ルータA
RPレスポンス受信管理ビットDRTT24を受信待ち
を意味する1にする(S18−5)。
Therefore, also at this time, an Ethernet frame in which the MAC address of the active router is set is created and transmitted to the active router (S18-4). The working router A of the duplicated router management table DRTT
The RP response reception management bit DRTT24 is set to 1 which means waiting for reception (S18-5).

【0181】同様に、予備用ルータあてに、予備用ルー
タMACアドレスをセットしたイーサネットフレームを
作成し、送信する(S18−4)。そして、2重化ルー
タ管理テーブルDRTTの予備用ルータARPレスポン
ス受信管理ビットDRTT34を受信待ちを意味する1
にする(S18−5)。
Similarly, an Ethernet frame in which the spare router MAC address is set is created and transmitted to the spare router (S18-4). Then, the standby router ARP response reception management bit DRTT34 of the duplicated router management table DRTT means waiting for reception 1
(S18-5).

【0182】このときにも、2重化ルータARPレスポ
ンス受信監視タイマ122を起動する(S18−8)。
そして、現用ルータと予備用ルータからARPレスポン
スメッセージが返ってくるタイムをカウントする。
At this time also, the duplicate router ARP response reception monitoring timer 122 is started (S18-8).
Then, the time when the ARP response message is returned from the working router and the protection router is counted.

【0183】(I-2)イーサネットフレーム受信処理 次に、図15の順を追ってイーサネットフレームを受信
するときの通信制御装置11の動作について説明しよ
う。図15は、通信制御装置11内のMPU111がイ
ーサネットフレームを受信するときの動作を示すフロー
チャートである。
(I-2) Ethernet Frame Reception Processing Next, the operation of the communication control device 11 when receiving an Ethernet frame will be described in the order shown in FIG. FIG. 15 is a flowchart showing the operation when the MPU 111 in the communication control device 11 receives an Ethernet frame.

【0184】伝送回路115は、トランシーバ15から
イーサネットフレームを受信すると、受信したフレーム
を内部メモリ118に格納して、信号線S6によってM
PU111に受信割り込みをいれる。
When the transmission circuit 115 receives the Ethernet frame from the transceiver 15, the transmission circuit 115 stores the received frame in the internal memory 118 and outputs the M frame through the signal line S6.
A receive interrupt is sent to PU111.

【0185】受信割り込みを受けたMPU111は、受
信処理をスタートして、以下のような処理をおこなって
いく。
The MPU 111 which has received the reception interrupt starts the reception processing and performs the following processing.

【0186】先ず、MPU111は、内部メモリ118
に格納された受信フレームのフレームタイプを参照し
て、それがARPメッセージのイーサネットフレームか
否かを判定する(S19−1)。それがARPメッセー
ジのイーサネットフレームでなかった場合には、受信し
たイーサネットフレームのデータ部25をインタフェー
ス117を介してメモリ13に書き込み、信号線S10
によってCPU12にメッセージ受信割り込みをいれて
処理を終了する(S19−16)。
First, the MPU 111 has the internal memory 118.
With reference to the frame type of the received frame stored in, it is determined whether or not it is the Ethernet frame of the ARP message (S19-1). If it is not the Ethernet frame of the ARP message, the data part 25 of the received Ethernet frame is written in the memory 13 via the interface 117, and the signal line S10
Then, a message reception interrupt is sent to the CPU 12 to end the processing (S19-16).

【0187】受信したイーサネットフレームがARPメ
ッセージのフレームの場合は、さらに、ARPメッセー
ジの中の情報を見て、それがARPレスポンスメッセー
ジであるか否かを調べる(S19−2)。
When the received Ethernet frame is an ARP message frame, the information in the ARP message is further checked to see if it is an ARP response message (S19-2).

【0188】そのメッセージがARPレスポンスメッセ
ージであるときは、次に、ARPメッセージの中の送信
元IPアドレスを見て、それと二重化ルータ管理テーブ
ルDRTTに格納されているIPアドレスと比較して、
送信元が2重化ルータ(実施形態1で説明した現用ルー
タまたは予備用ルータのいずれか)と判ったときは(S
19−3)、S19−4に行く。
If the message is an ARP response message, then the sender IP address in the ARP message is checked and compared with the IP address stored in the duplicated router management table DRTT.
When it is determined that the transmission source is the duplex router (either the working router or the protection router described in the first embodiment) (S
19-3), go to S19-4.

【0189】ARPメッセージが、ARPレスポンスで
はないか、その送信元が、2重化ルータではないとき
は、通常通りに、CPU12にイーサネットフレームを
受信したことを通知する(S19−16)。
When the ARP message is not the ARP response or the transmission source is not the duplex router, the CPU 12 is notified as usual that the Ethernet frame is received (S19-16).

【0190】送信元が、2重化ルータであると判定され
たときには、2重化ルータ管理テーブルDRTTの現用
アドレス登録ビットDRTT23を調べて、現用ルータ
アドレスが登録されているか否かを調べる(S19−
4)。
When it is determined that the transmission source is the duplex router, the working address registration bit DRTT23 of the duplex router management table DRTT is checked to see if the working router address is registered (S19). −
4).

【0191】現用ルータアドレスが登録されていないと
きは、現用ルータのMACアドレスを登録する必要があ
るので、送信されてきたARPレスポンスメッセージの
送信元の現用ルータのMACアドレスを、2重化ルータ
管理テーブルDRTTの現用ルータMACアドレスDR
TT21に登録する(S19−5)。
When the active router address is not registered, it is necessary to register the MAC address of the active router. Therefore, the MAC address of the active router that is the transmission source of the ARP response message transmitted is set to the duplicate router management. Working router MAC address DR of table DRTT
It registers in TT21 (S19-5).

【0192】そして、2重化ルータ管理テーブルDRT
Tの現用アドレス登録ビットDRTT23を登録済みで
あることを意味する1にする(S19−6)。
Then, the duplicate router management table DRT
The working address registration bit DRTT23 of T is set to 1 which means that it has already been registered (S19-6).

【0193】その後に、通信制御装置11は、CPU1
2にARPレスポンスメッセージを受信したことを通知
する(S19−20)。
After that, the communication control device 11 is
2 is notified that the ARP response message has been received (S19-20).

【0194】次に、MPU1111は、2重化ルータ管
理テーブルDRTTの予備用ルータ受信管理ビットDR
TT34を見て、予備用ルータのARPレスポンスメッ
セージの受信待ち状態になっているか否かを調べる(S
19−7)。
Next, the MPU 1111 has the spare router reception management bit DR of the dual router management table DRTT.
The TT34 is checked to see if the standby router is waiting to receive the ARP response message (S).
19-7).

【0195】予備用ルータのARPレスポンスメッセー
ジを既に受信しているときには、これで、現用ルータと
予備用ルータのARPレスポンスメッセージを共に受信
したことになるので、2重化ルータARPレスポンス受
信監視タイマ1122を停止する(S19−8)。予備
用ルータのARPレスポンスメッセージを受信していな
いときには、なにもおこなわずに、次に、予備用ルータ
からのARPレスポンスメッセージを待つことになる。
When the ARP response message from the spare router has already been received, this means that the ARP response messages from both the working router and the spare router have been received. Therefore, the duplex router ARP response reception monitoring timer 1122 Is stopped (S19-8). When the ARP response message from the spare router is not received, nothing is done, and the ARP response message from the spare router is waited next.

【0196】さて少し戻って、S19−4で、送信元
が、2重化ルータであると判定されたときに、2重化ル
ータ管理テーブルDRTTの現用アドレス登録ビットD
RTT23を調べて、現用ルータのMACアドレスが登
録されていたとしよう。
Now, returning slightly, in S19-4, when it is determined that the transmission source is the dual router, the working address registration bit D of the dual router management table DRTT is set.
It is assumed that the RTT 23 is checked and the MAC address of the working router is registered.

【0197】このとき、受信したARPレスポンスメッ
セージの送信元のMACアドレスが、現用ルータのもの
であるときには、現用ルータのちMACアドレスを登録
する必要はなく、現用ルータからARPレスポンスメッ
セージが返ってきたことを示すために、2重化ルータ管
理テーブルDRTTの現用ルータ受信管理ビットを、受
信済みであることを示す1にする(S19−10)。
At this time, when the source MAC address of the received ARP response message belongs to the working router, it is not necessary to register the MAC address after the working router, and the ARP response message is returned from the working router. In order to indicate that, the active router reception management bit of the duplicated router management table DRTT is set to 1 indicating that it has been received (S19-10).

【0198】一方、受信したARPレスポンスメッセー
ジの送信元のMACアドレスが、現用ルータのものでな
いときは、送信元は、予備用ルータである。このときに
は、先ず、2重化ルータ管理テーブルDRTTの予備用
アドレス登録ビットDRTT33を調べて、予備用ルー
タのMACアドレスが登録されているかを調べる(S1
9−11)。
On the other hand, when the MAC address of the sender of the received ARP response message is not that of the working router, the sender is the spare router. At this time, first, the spare address registration bit DRTT33 of the dual router management table DRTT is checked to see if the MAC address of the spare router is registered (S1).
9-11).

【0199】予備用ルータのMACアドレスが登録され
ているときに、受信したARPレスポンスメッセージの
送信元MACアドレスが、2重化ルータ管理テーブルD
RTTの予備用ルータMACアドレスDRTT31と一
致するか否かを調べる(S19−12)。
When the MAC address of the spare router is registered, the source MAC address of the received ARP response message is the duplicated router management table D.
It is checked whether or not it matches the spare router MAC address DRTT31 of the RTT (S19-12).

【0200】一致したときには、これ以外なにもするこ
とがないので、予備用ルータからARPレスポンスメッ
セージが返ってきたことを示すために、2重化ルータ管
理テーブルDRTTの予備用ルータ受信管理ビットDR
TT34を、受信済みであることを示す1にする(S1
9−13)。
If they match, nothing else is done, so in order to indicate that the ARP response message has been returned from the spare router, the spare router reception management bit DR of the dual router management table DRTT is shown.
The TT34 is set to 1 indicating that it has been received (S1).
9-13).

【0201】また、このときには、予備用ルータからA
RPレスポンスメッセージが返ってきたので、予備用ル
ータには、障害がおこっていないか、過去におこっても
回復したことを示している。したがって、2重化ルータ
管理テーブルDRTTの予備用ルータ障害表示ビットD
RTT35を調べ(S19−14)、2重化ルータ管理
テーブルDRTTの予備用ルータ障害表示ビットDRT
T35が、1になっているときには、これを0にする
(S19−19)。
At this time, the protection router A
Since the RP response message is returned, it indicates that the backup router has not failed, or has recovered even in the past. Therefore, the spare router failure indication bit D of the duplicated router management table DRTT
The RTT 35 is checked (S19-14), the spare router failure indication bit DRT in the duplicated router management table DRTT.
When T35 is 1, it is set to 0 (S19-19).

【0202】次に、MPU1111は、2重化ルータ管
理テーブルDRTTの現用ルータ受信管理ビットDRT
T24を見て、現用ルータのARPレスポンスの受信待
ち状態か否かを調べる(S19−15)。
Next, the MPU 1111 uses the active router reception management bit DRT of the dual router management table DRTT.
By looking at T24, it is checked whether or not the active router is waiting to receive the ARP response (S19-15).

【0203】現用ルータのARPレスポンスメッセージ
を既に受信しているときには、これで、現用ルータと予
備用ルータのARPレスポンスメッセージを共に受信し
たことになるので、2重化ルータARPレスポンス受信
監視タイマ1122を停止する(S19−8)。
When the ARP response message of the working router has already been received, this means that the ARP response messages of the working router and the protection router have both been received. Therefore, the duplicate router ARP response reception monitoring timer 1122 is set. It stops (S19-8).

【0204】S19−12で、ARPレスポンスメッセ
ージのMACアドレスと2重化ルータのMACアドレス
が一致しないとする。このときは、予備用ルータが更新
され、MACアドレスが新しくなったことを示してい
る。したがって、ARPレスポンスに含まれる送信元M
ACアドレスを新しい予備用ルータMACアドレスとし
て、2重化ルータ管理テーブルDRTTの予備用ルータ
MACアドレスDRTT31に登録し(S19−1
8)、予備用ルータからARPレスポンスメッセージが
返ってきたことを示すために、2重化ルータ管理テーブ
ルDRTTの予備用ルータ受信管理ビットDRTT34
を、受信済みであることを示す1にする(S19−1
3)。
In S19-12, it is assumed that the MAC address of the ARP response message and the MAC address of the duplex router do not match. At this time, it indicates that the backup router has been updated and the MAC address has been updated. Therefore, the sender M included in the ARP response
The AC address is registered as a new spare router MAC address in the spare router MAC address DRTT31 of the dual router management table DRTT (S19-1).
8), in order to indicate that the ARP response message has been returned from the spare router, the spare router reception management bit DRTT34 of the duplex router management table DRTT
Is set to 1 indicating that it has been received (S19-1).
3).

【0205】これ以降の予備用ルータの障害に関する2
重化ルータ管理テーブルDRTTの予備用ルータ障害表
示ビットDRTT35に対する処理(S19−14,S
19−19)と、2重化ルータARPレスポンス受信監
視タイマ1122に関する処理(S19−15,S19
−8)は、上記と同様である。
Regarding the subsequent failure of the backup router 2
Processing for the spare router failure indication bit DRTT35 in the duplicated router management table DRTT (S19-14, S
19-19) and the processing related to the duplicate router ARP response reception monitoring timer 1122 (S19-15, S19).
-8) is the same as above.

【0206】(I-3)ARPレスポンス受信監視タイマ
のタイムアウト時の処理 次に、図16の順を追ってARPレスポンス受信監視タ
イマのタイムアウト時の処理について説明しよう。
(I-3) Processing when the ARP response reception monitoring timer times out Next, the processing when the ARP response reception monitoring timer times out will be described in the order of FIG.

【0207】図16は、通信制御装置11内のARPレ
スポンス受信監視タイマ1122のタイムアウト時の処
理を示すフローチャートである。
FIG. 16 is a flowchart showing the processing when the ARP response reception monitoring timer 1122 in the communication control device 11 times out.

【0208】上述のように、通信制御装置11内から、
一定周期ごとに現用ルータと予備用ルータそれぞれに対
して、ARPリクエストメッセージ送信されるわけであ
るが、この返答となるARPレスポンスメッセージが、
いずれかのルータから返ってこないときがある。このと
きには、ARPレスポンス受信監視タイマは、タイムア
ウトして、以下の処理をおこなうことになる。
As described above, from within the communication control device 11,
An ARP request message is sent to each of the working router and the standby router at regular intervals. The ARP response message that is the reply is
Sometimes it does not come back from one of the routers. At this time, the ARP response reception monitoring timer times out, and the following processing is performed.

【0209】2重化ルータARPレスポンス受信監視タ
イマ1122がタイムアウトすると、信号線S7−2に
よってMPU111に割り込みをいれる。MPU111
は、信号線S7−2により割り込みを受けると、2重化
ルータに対するARPレスポンス受信監視タイマのタイ
ムアウト処理を開始することになる。
When the duplicate router ARP response reception monitoring timer 1122 times out, an interrupt is sent to the MPU 111 by the signal line S7-2. MPU111
When the interrupt is received by the signal line S7-2, the ARP response reception monitoring timer for the duplex router starts time-out processing.

【0210】先ず、2重化ルータ管理テーブルDRTT
の現用ルータアドレス登録ビットDRTT23を参照
し、現用ルータのMACアドレスが登録されているかを
調べる(S20−1)。
First, the duplicated router management table DRTT
The active router address registration bit DRTT23 is checked to see if the active router MAC address is registered (S20-1).

【0211】現用ルータのMACアドレスが登録されて
いない場合には、最初から、システムには、ルータは、
存在していないと考えられる。したがって、このときに
は、2重化ルータ管理テーブルDRTTの予備用ルータ
ARPレスポンス受信管理ビットDRTT34を0に
し、予備用ルータのARPレスポンス受信待ちを解除し
(S20−5)、2重化ルータ管理テーブルDRTTの
現用ルータARPレスポンス受信管理ビットDRTT2
4を0にし、のARPレスポンス受信待ちを解除して
(S20−6)、この処理を終了する。
If the MAC address of the active router is not registered, from the beginning, the router in the system is
It is considered that it does not exist. Therefore, at this time, the spare router ARP response reception management bit DRTT34 of the dual router management table DRTT is set to 0 to cancel the standby router ARP response reception wait (S20-5). Working router ARP response reception management bit DRTT2
4 is set to 0, the waiting for ARP response reception is canceled (S20-6), and this processing is ended.

【0212】一方、現用ルータのMACアドレスが登録
されている場合には、次に、2重化ルータ管理テーブル
DRTTの現用ルータARPレスポンス受信管理ビット
DRTT24を参照し、現用ルータのARPレスポンス
受信待ちの状態になっているか否かを調べる(S20−
2)。
On the other hand, if the MAC address of the active router is registered, then the active router ARP response reception management bit DRTT24 of the duplicated router management table DRTT is referred to and the ARP response reception standby of the active router is waited for. It is checked whether it is in the state (S20-
2).

【0213】現用ルータのARPレスポンスが受信待ち
のときには、S20−9に行く。
When the ARP response of the working router is waiting for reception, the procedure goes to S20-9.

【0214】現用ルータのARPレスポンスが受信待ち
でないときには、次に、2重化ルータ管理テーブルDR
TTの予備用ルータアドレス登録ビットDRTT33を
参照し、予備用ルータのMACアドレスが登録されてい
るか否かを調べる(S20−3)。
When the ARP response of the working router is not waiting for reception, next, the duplicated router management table DR
The spare router address registration bit DRTT33 of the TT is referred to check whether the MAC address of the spare router is registered (S20-3).

【0215】予備用ルータのMACアドレスが登録され
ていないときは、予備用ルータがシステムに存在してい
ないと考えられるので、このときには、予備用ルータA
RPレスポンス受信待ちの状態を解除し(S20−
5)、現用ルータARPレスポンス受信待ちの状態も解
除して(S20−6)、処理を終了する。
When the MAC address of the spare router is not registered, it is considered that the spare router does not exist in the system. At this time, the spare router A
Cancel the status of waiting for RP response (S20-
5) Then, the state of waiting for reception of the active router ARP response is also canceled (S20-6), and the process is terminated.

【0216】予備用ルータのMACアドレスが登録され
ているときには、次は、予備用ルータARPレスポンス
受信管理ビットDRTT34を参照して、予備用ルータ
ARPレスポンスの受信待ち状態であるか否かを調べる
(S20−4)。
When the MAC address of the spare router is registered, the spare router ARP response reception management bit DRTT34 is next checked to see if the standby router ARP response is waiting to be received (( S20-4).

【0217】予備用ルータから、ARPレスポンスメッ
セージを受け取っているときには、ARPレスポンス受
信待ち状態でないので処理は終了する。
When the ARP response message is received from the spare router, the process is terminated because it is not in the ARP response reception waiting state.

【0218】ARPレスポンス受信待ち状態のときに
は、ARPレスポンスメッセージが来ていないというこ
となので、予備用ルータに障害が起こっていることにな
る。そのときには、予備ルータ障害表示ビットDRTT
35を参照し、現在、その値が予備用ルータの障害をあ
らわす1になっているか否かを調べ(S20−7)、1
になっていないときには、障害をあらわす1に書き変え
る(S20−8)。
[0218] When the ARP response reception wait state is set, it means that the ARP response message has not arrived, so that the backup router has a failure. At that time, the spare router failure indication bit DRTT
35, it is checked whether or not the value is currently 1 indicating the failure of the spare router (S20-7), 1
If not, it is rewritten to 1 representing the failure (S20-8).

【0219】その後、予備用ルータと現用ルータの受信
待ちを共に解除して、処理を終了する(S20−5,S
20−6)。
After that, both the standby router and the active router wait for reception, and the processing is terminated (S20-5, S).
20-6).

【0220】フローチャートには示していないが、この
ときには、通信制御装置から、予備用ルータに障害がお
こったことをCPU12に連絡して、CPU12に制御
が戻ったときにネットワークの管理プログラムによっ
て、予備用ルータに障害が発生したことを表示装置に表
示することも可能である。
Although not shown in the flow chart, at this time, the communication control unit informs the CPU 12 that a failure has occurred in the backup router, and when the control returns to the CPU 12, the backup program is set by the network management program. It is also possible to display on the display device that a failure has occurred in the router.

【0221】少し戻って、S20−2で、現用ルータ
が、ARPレスポンスの受信待ちになっていたとしよ
う。
Returning a little, it is assumed that the active router is waiting to receive the ARP response in S20-2.

【0222】そのときには、次に、2重化ルータ管理テ
ーブルDRTTの予備用ルータアドレス登録ビットDR
TT33を参照して、予備用ルータMACアドレスが登
録されているか否かを調べる(S20−9)。
At that time, next, the spare router address registration bit DR of the duplicated router management table DRTT.
With reference to TT33, it is checked whether or not the spare router MAC address is registered (S20-9).

【0223】予備用ルータ登録アドレスが登録されてい
ないときには、現用ルータに障害があり、代わりになる
予備用ルータも使える状態でないことを意味している。
したがって、このときには、2重化ルータ管理テーブル
DRTTの現用ルータ障害表示ビットDRTT25を障
害が発生したことを示す1にして、現用ルータに障害が
発生したことをCPU12に通知する(S20−1
7)。通知を受けたCPU12は、表示装置に障害が発
生したことを表示する、あるいは、ネットワークの履歴
にこのことを書き出すなどの対策を取ることになる。
When the spare router registration address is not registered, it means that the working router has a failure and the spare router as a substitute cannot be used.
Therefore, at this time, the active router failure indication bit DRTT25 of the dual router management table DRTT is set to 1 indicating that a failure has occurred, and the CPU 12 is notified that the active router has failed (S20-1).
7). Upon receiving the notification, the CPU 12 takes measures such as displaying that a failure has occurred on the display device or writing this out in the history of the network.

【0224】またこのあと、予備用ルータと現用ルータ
のARPレスポンスの受信解除待ちにする(S20−
5,S20−6)のは、上記と同様である。
After that, the standby router and the active router wait for the cancellation of the ARP responses (S20-
5, S20-6) is the same as above.

【0225】一方、予備用ルータ登録アドレスが登録さ
れているときには、次に、2重化ルータ管理テーブルD
RTTの予備用ルータARPレスポンス受信管理ビット
DRTT34を参照して、予備用ルータが受信待ち状態
であるか否かを調べる(S20−11)。
On the other hand, when the spare router registration address is registered, next, the duplicated router management table D
With reference to the spare router ARP response reception management bit DRTT34 of the RTT, it is checked whether or not the spare router is in the reception waiting state (S20-11).

【0226】予備用ルータが受信待ちのときは、現用ル
ータと予備用ルータともに障害がおこったことを意味す
るので、2重化ルータ管理テーブルDRTTの現用ルー
タ障害表示ビットDRTT25と予備用ルータ障害表示
ビットDRTT35を、共に障害がおこったことを示す
1にする(S20−17)。
When the standby router is waiting for reception, it means that both the active router and the standby router have failed. Therefore, the active router failure display bit DRTT25 and the standby router failure display in the duplicated router management table DRTT. The bit DRTT35 is set to 1 indicating that a failure has occurred together (S20-17).

【0227】そして、2重化ルータの共に障害が起こっ
たことをCPU12に通知する(S20−17)。CP
U12は、上述の如く、表示装置への表示、通信履歴の
採取などの適切な障害対策を取るようにしておかなけれ
ばならない。
Then, the CPU 12 is notified that a failure has occurred in both duplex routers (S20-17). CP
As described above, the U12 must take appropriate trouble countermeasures such as displaying on the display device and collecting communication history.

【0228】そして、このあとも予備用ルータと現用ル
ータのARPレスポンスの受信解除待ちにする(S20
−5,S20−6)のは、上記と同様である。
After this, the standby router and the active router wait for cancellation of ARP response reception (S20).
-5 and S20-6) are the same as above.

【0229】予備用ルータARPレスポンスが受信待ち
でないときには、予備用ルータからはARPレスポンス
が返ってきているので、現在の状況は、現用ルータに障
害が起こり、予備用ルータは、使用可能であることを意
味している。
When the standby router ARP response is not waiting for reception, the ARP response is returned from the standby router, so the current situation is that the active router has failed and the standby router is available. Means

【0230】このときには、予備用ルータを現用ルータ
とするために、2重化ルータ管理テーブルDRTTの現
用ルータの管理エリアと予備用ルータの管理エリアの値
を、そっくり交換する(S20−11)。
At this time, the values of the management area of the working router and the management area of the protection router of the dual router management table DRTT are completely exchanged in order to make the protection router the working router (S20-11).

【0231】そうすれば、障害がおこっているのは、予
備用ルータということになるので、2重化ルータ管理テ
ーブルDRTTの予備用ルータ障害表示ビットDRTT
35を障害がおこってことを意味する1にする(S20
−12)。
In this case, since the faulty router is the spare router, the spare router fault indication bit DRTT of the dual router management table DRTT.
35 is set to 1 which means that a failure has occurred (S20
-12).

【0232】また、現用ルータと予備用ルータを入れ替
えたので、そのことをCPU12に通知して、CPU1
2側の管理情報を書き変える必要が有る。
Since the working router and the spare router have been replaced, the CPU 12 is notified of this fact and the CPU 1
It is necessary to rewrite the management information on the second side.

【0233】そのために、2重化ルータのIPアドレス
と新しく現用ルータとなったルータのMACアドレスか
ら、ARPレスポンスメッセージを組み立てて(S20
−13)、ARPレスポンスメッセージをCPU12に
割込みによって伝える(S20−14)。
Therefore, an ARP response message is assembled from the IP address of the duplicated router and the MAC address of the router that has become the new working router (S20).
-13), and transmits an ARP response message to the CPU 12 by interruption (S20-14).

【0234】これによって、CPU12は、2重化ルー
タに関する管理情報を書き換え、また、必要ならば、ネ
ットワーク管理プログラムに従い必要な処置をとること
ができる。
As a result, the CPU 12 can rewrite the management information on the duplicated router and, if necessary, take necessary measures according to the network management program.

【0235】そして、最後に、このあとも予備用ルータ
と現用ルータのARPレスポンスの受信解除待ちにする
(S20−5,S20−6)のは、上記と同様である。
Finally, after this, the standby state for waiting for the reception of the ARP response of the standby router and the active router (S20-5, S20-6) is the same as above.

【0236】(II)本実施形態のネットワークシステム
の動作に対する評価 本実施形態は、ルータを2重化して、ネットワークシス
テムの安全性を高めようとするものである。本実施形態
によれば、現用ルータがダウンしても、予備用ルータに
切り替えることにより、ネットワークシステム全体とし
ては、通常の稼働が可能である。結局、ネットワークシ
ステム全体として、稼働しなくなるのは、現用ルータと
予備用ルータともにダウンした場合であり、そのような
場合は、極めて稀であろう。
(II) Evaluation of Operation of Network System of this Embodiment This embodiment is intended to enhance the security of the network system by duplicating the router. According to the present embodiment, even if the working router is down, switching to the backup router allows the network system as a whole to operate normally. Eventually, the network system as a whole fails to operate when both the active router and the standby router are down, and such a case would be extremely rare.

【0237】また、障害のあったルータをシステムを稼
働させながら交換する、いわゆるホットスワップも可能
であり、現用ルータと予備用ルータの管理情報の切り替
えも、自動的におこなっているので、システムを停止す
る必要もなく、コンソールからの新たな設定も不要であ
る。
Also, a so-called hot swap is possible in which a faulty router is replaced while the system is operating, and the management information of the active router and the standby router is automatically switched. There is no need to stop and no new configuration from the console is required.

【0238】このように、本実施形態に係るルータが2
重化されたネットワークシステムでは、ネットワークシ
ステムの可用性、信頼性共に向上させることが可能にな
る。
As described above, the number of routers according to this embodiment is two.
In the duplicated network system, both availability and reliability of the network system can be improved.

【0239】(III)本実施形態の具体的な構成とデー
タに基づいたネットワークシステムの動作 上述の(I)においては、本実施形態に係るネットワー
クシステムの動作についてフローチャートに基づいて説
明した。ここでは、具体的なネットワークシステムの構
成とデータに基づいて、図5、図17ないし図19を用
いて説明する。図5は、既に説明したように、本発明の
一実施形態に係るネットワークシステムの構成図であっ
たが、本実施形態でも、第一の実施形態と同様の構成と
し、同じIPアドレスとMACアドレスを用いるので、
これを適宜参照することにしよう。図17は、2重化ル
ータ管理テーブルDRTTに具体的データを設定したと
きの模式図である(その一)。図18は、2重化ルータ
管理テーブルDRTTに具体的データを設定したときの
模式図であり(その二)、特に、現用ルータと予備用ル
ータの管理情報を入れ替えて設定する場合を示してい
る。図19は、2重化ルータ管理テーブルDRTTに具
体的データを設定したときの模式図である(その三)。
(III) Operation of Network System Based on Specific Configuration and Data of this Embodiment In (I), the operation of the network system according to this embodiment has been described based on the flowchart. Here, description will be made with reference to FIGS. 5 and 17 to 19 based on a specific network system configuration and data. As described above, FIG. 5 is a configuration diagram of the network system according to the embodiment of the present invention. However, also in the present embodiment, the same configuration as that of the first embodiment is used, and the same IP address and MAC address are used. Is used,
I will refer to this as appropriate. FIG. 17 is a schematic diagram (part 1) when specific data is set in the duplicated router management table DRTT. FIG. 18 is a schematic diagram when specific data is set in the duplicated router management table DRTT (No. 2), and particularly shows a case where the management information of the working router and the protection router is replaced and set. . FIG. 19 is a schematic diagram when specific data is set in the duplicated router management table DRTT (part 3).

【0240】以下の説明としては、図5に示される現用
ルータαに障害が発生して、ルータと交換して、新しく
交換したルータを、新たに予備用ルータとするときをモ
デルケースとして採り上げることにしよう。この新しい
ルータのMACアドレスは、当然、障害を発生させたル
ータとは異なるMACアドレスを持っている。
In the following description, a model case will be taken when a failure occurs in the working router α shown in FIG. 5, the router is replaced with a new router, and the newly replaced router is used as a new backup router. Lets. The MAC address of this new router will of course have a different MAC address than the router that caused the failure.

【0241】また、第一の実施形態の表1と表2に示し
たように、ネットワークシステムに接続された各計算機
とルータには、IPアドレスとMACアドレスが割り当
てられている。
As shown in Tables 1 and 2 of the first embodiment, IP addresses and MAC addresses are assigned to each computer and router connected to the network system.

【0242】いま、計算機a2〜am,b1〜bnとル
ータα,βが既に起動済の状態であったとし、計算機a
1を立ちあげようとしたとする。
Now, assuming that the computers a2 to am and b1 to bn and the routers α and β have already been started, the computer a
Suppose you try to launch 1.

【0243】先ず、計算機a1が起動されると、図11
に示されるCPU12は、立ち上げ処理で、図11に示
されたメモリ13に有るルーティングテーブルRTT
に、計算機のユーザが、予め設定しておくシステム情報
から、「ネットワークアドレスが、160.161.
0.0あてのメッセージは、IPアドレス160.16
0.1.1へ送信する」という情報を読み出し、それを
ルーティングテーブルRTTに設定する。CPU12
は、立ち上げ処理では、ARPテーブルのIPアドレス
とMACアドレスは未設定のままとしておく。
First, when the computer a1 is started, FIG.
The CPU 12 shown in FIG. 11 is a start-up process and the routing table RTT in the memory 13 shown in FIG.
From the system information preset by the user of the computer, "the network address is 160.161.
The message addressed to 0.0 is the IP address 160.16
The information "send to 0.1.1" is read and set in the routing table RTT. CPU 12
In the startup process, the IP address and MAC address of the ARP table are left unset.

【0244】次に、CPU12は、通信制御装置11を
起動する。通信制御装置11の起動時に、CPU12
は、システム管理者が予め設定しておくシステム情報か
ら読み出して、通信制御装置11の内部メモリ118に
有る二重化ルータ管理テーブルの2重化ルータ管理テー
ブルDRTTのIPアドレス登録エリアであるIPアド
レスDRTT1に設定する。この値は、具体的には、図
17に示されるようにルータα、ルータβの共通伝送路
A側のインタフェースに割り当てられたIPアドレス1
60.160.1.1である。
Next, the CPU 12 activates the communication control device 11. When the communication control device 11 is activated, the CPU 12
Is read from system information set in advance by the system administrator and stored in the IP address DRTT1 which is the IP address registration area of the duplicated router management table DRTT of the duplicated router management table in the internal memory 118 of the communication control device 11. Set. Specifically, this value is the IP address 1 assigned to the interface on the common transmission path A side of the router α and the router β as shown in FIG.
It is 60.160.1.1.

【0245】2重化ルータ管理テーブルDRTT内の現
用ルータMACアドレスDRTT21と予備用ルータM
ACアドレスDRTT31は、未登録であり、現用ルー
タアドレス登録ビットDRTT23と予備用MACルー
タアドレス登録ビットDRTT33は、それぞれのMA
Cアドレスが未登録であることを示す0になっている。
The working router MAC address DRTT21 and the spare router M in the duplicated router management table DRTT.
The AC address DRTT31 is unregistered, and the active router address registration bit DRTT23 and the spare MAC router address registration bit DRTT33 are set to the respective MAs.
It is 0 indicating that the C address is not registered.

【0246】また、現用ルータARPレスポンス受信待
ちビットDRTT24と予備用ルータARPレスポンス
受信待ちビットDRTT34は、受信待ち解除状態を示
す0であり、現用ルータ障害表示ビットDRTT25と
予備用ルータ障害表示ビットDRTT35は障害を検知
していない状態を示す0である。
The working router ARP response reception waiting bit DRTT24 and the protection router ARP response reception waiting bit DRTT34 are 0, which indicates the reception waiting release state, and the working router failure indication bit DRTT25 and the protection router failure indication bit DRTT35 are It is 0 indicating that no fault is detected.

【0247】通信制御装置11が立ち上がると、図11
に示される水晶発振器113は、信号線S8−1とS8
−2よりカウントアップ信号を出力する。そして、この
カウントアップ信号を受けたARPリクエスト送信タイ
マ1121はカウントアップを続け、ARPリクエスト
送信周期として定められたTqまでカウントすると、信
号線S7−1よりMPU111に割り込みを入れる。割
込みを入れた後は、カウント値を0にリセットして、再
度Tqまでカウントを始める。
When the communication control unit 11 is started up, FIG.
The crystal oscillator 113 shown in FIG.
-2 outputs a count-up signal. Upon receiving the count-up signal, the ARP request transmission timer 1121 continues counting up, and when it reaches Tq defined as the ARP request transmission period, it interrupts the MPU 111 from the signal line S7-1. After inputting the interrupt, the count value is reset to 0 and counting is started again up to Tq.

【0248】このARPリクエスト送信周期Tqは、ネ
ットワークシステム全体が要求する信頼性や性能などの
ファクターを考慮して定めることができる。本実施形態
では、例えば、Tqは10秒としたとする。
The ARP request transmission cycle Tq can be determined in consideration of factors such as reliability and performance required by the entire network system. In this embodiment, for example, Tq is set to 10 seconds.

【0249】さて、S8−1より割り込みを受けたMP
U111は、既に説明した図14のフローチャートに従
い、2重化ルータのIPアドレス160.160.1.
1に対応するMACアドレスを問い合わせるARPリク
エストメッセージを、ネットワーク上に送信する。
Now, the MP which has received the interrupt from S8-1
U111 uses the IP address 160.160.1.
The ARP request message inquiring the MAC address corresponding to 1 is transmitted on the network.

【0250】通信制御装置11が起動した直後の図17
に示した値の2重化ルータ管理テーブルでは、現用ルー
タ、予備用ルータともMACアドレスが未登録なので、
最初のARPリクエストメッセージは、イーサネットブ
ロードキャストで送信されることになる。
FIG. 17 immediately after the communication control device 11 is activated.
In the duplicated router management table of the value shown in, the MAC address is not registered in both the working router and the spare router.
The initial ARP request message will be sent in an Ethernet broadcast.

【0251】ブロードキャストで送信されたARPリク
エストメッセージは、共通伝送路Aに接続する計算機a
2〜amとルータαとルータβが受信する。そして、既
に説明したようなARPプロトコルの原理に従って、問
いあわせたIPアドレス160.160.1.1を持つ
ルータαとルータβのみがそれぞれのMACアドレスm
+n+1とm+n+3を返答とするARPレスポンスメ
ッセージのイーサネットフレームを作成して、計算機a
1に送信する。
The ARP request message transmitted by the broadcast is the computer a connected to the common transmission path A.
2-am, the router α, and the router β receive them. Then, according to the principle of the ARP protocol as described above, only the router α and the router β having the inquired IP address 160.160.1.1 have their respective MAC addresses m.
Create an Ethernet frame of ARP response message with + n + 1 and m + n + 3 as replies, and
Send to 1.

【0252】通信制御装置11が、そのARPレスポン
スメッセージを受信すると、MPU111は、既に説明
した図15のフローチャートに従うと、先に受信したA
RPレスポンスメッセージの送信元ルータを現用ルータ
として、MACアドレスが登録され、後から受信したA
RPレスポンスメッセージの送信元ルータは、予備用ル
ータとされる(図15のS19−4,S19−5,S1
9−9,S19−11,S19−18等参照)。
When the communication control device 11 receives the ARP response message, the MPU 111 follows the previously described flow chart of FIG.
With the source router of the RP response message as the active router, the MAC address is registered and received later
The transmission source router of the RP response message is a backup router (S19-4, S19-5, S1 in FIG. 15).
9-9, S19-11, S19-18 etc.).

【0253】本実施形態では、ルータαから送信された
ARPレスポンスメッセージを先に受信し、後からルー
タβのARPレスポンスメッセージを受信したとしよ
う。
In this embodiment, it is assumed that the ARP response message sent from the router α is received first, and the ARP response message of the router β is received later.

【0254】ARPレスポンスメッセージのイーサネッ
トフレームを、ルータαから共通伝送路Aを介して伝送
回路115が受信すると、伝送回路115は、受信フレ
ームを内部メモリ118に書き込み後、MPU111に
フレーム受信割り込みを信号線S6によって入れること
になる。
When the transmission circuit 115 receives the Ethernet frame of the ARP response message from the router α via the common transmission path A, the transmission circuit 115 writes the received frame in the internal memory 118 and then signals the MPU 111 of a frame reception interrupt. It will be entered by line S6.

【0255】信号線S6より割り込みを受けたMPU1
11は、内部メモリ118より受信フレームを取り込
み、既に説明したように図15のフローチャートに従っ
て、ARPレスポンスメッセージに書かれたルータαの
MACアドレスm+n+1を、2重化ルータ管理テーブ
ルDRTTの現用ルータMACアドレスDRTT21に
書き込み、現用ルータMACアドレス登録ビットDRT
T23を登録済を示す1にする。
MPU1 interrupted from the signal line S6
11 retrieves the received frame from the internal memory 118, and according to the flowchart of FIG. 15, as already described, sets the MAC address m + n + 1 of the router α written in the ARP response message to the working router MAC address of the duplicated router management table DRTT. Write to DRTT21, working router MAC address registration bit DRT
T23 is set to 1 indicating registered.

【0256】同様に、ルータβからのARPレスポンス
メッセージを受信した場合は、図15のフローチャート
に従い、予備用ルータMACアドレス登録エリアDRT
T31に、ARPレスポンスメッセージに書かれたルー
タβのMACアドレスm+n+3を書き込み、予備用ル
ータMACアドレス登録ビットDRTT33を登録済を
示す1にする。
Similarly, when the ARP response message from the router β is received, the spare router MAC address registration area DRT is followed according to the flowchart of FIG.
At T31, the MAC address m + n + 3 of the router β written in the ARP response message is written, and the spare router MAC address registration bit DRTT33 is set to 1 indicating registered.

【0257】このようにして、2重化ルータ管理テーブ
ルは、図18(a)に示すように値が設定される。
In this way, values are set in the duplicate router management table as shown in FIG. 18 (a).

【0258】これ以降は、MPU111は、ARPリク
エスト送信タイマがタイムアウトする度毎に、図14の
フローチャートに従い、2重化ルータ管理テーブルに登
録された現用MACアドレスm+n+1と予備用MAC
アドレスm+n+3をあて先MACアドレスとしたAR
Pリクエストメッセージを、それぞれ現用ルータαと予
備用ルータβに送信する。このようにして、各々のルー
タからARPレスポンスメッセージが返ってくるかをみ
ることにより、各々のルータが正常に動作していか否か
を確認することができる。
Thereafter, the MPU 111 follows the flowchart of FIG. 14 every time the ARP request transmission timer times out, and the working MAC address m + n + 1 and the spare MAC registered in the duplicated router management table.
AR with address m + n + 3 as destination MAC address
The P request message is transmitted to the active router α and the standby router β, respectively. In this way, by checking whether the ARP response message is returned from each router, it is possible to confirm whether each router is operating normally.

【0259】さてここで、計算機a1が現用ルータαを
介して共通伝送路Bに接続する計算機、例えば、IPア
ドレスが160.161.0.1である計算機b1にメ
ッセージを送信する時の通信制御装置の動作について説
明しよう。
Now, the communication control when the computer a1 sends a message to the computer connected to the common transmission line B via the active router α, for example, the computer b1 whose IP address is 160.161.0.1. Let us explain the operation of the device.

【0260】CPU12は、立ち上げ処理終了後、ユー
ザーからメッセージ通信の要求があると、あて先計算機
の有するIPアドレスをあて先としたIPデータグラム
を作成する。
After the start-up process is completed, the CPU 12 creates an IP datagram addressed to the IP address of the destination computer when the user requests a message communication.

【0261】そして、CPU12は、計算機a1の属す
るセグメントAのネットワークアドレス160.16
0.0.0と異なるネットワークIDを有するIPアド
レスが、あて先のIPアドレスであった場合には、ルー
ティングテーブルRTTを参照して、中継先IPアドレ
スを取り込む必要がある。
Then, the CPU 12 makes the network address 160.16 of the segment A to which the computer a1 belongs.
If the IP address having the network ID different from 0.0.0 is the destination IP address, it is necessary to refer to the routing table RTT to fetch the relay destination IP address.

【0262】この場合、計算機a1は、あて先IPアド
レスが160.161.0.1であるIPデータグラム
を作成する。また、あて先IPアドレス160.16
1.0.1が、計算機a1のセグメントのネットワーク
アドレス160.160.0.0とは異なっているた
め、ルーティングテーブルRTTを参照して、中継先ル
ータのIPアドレス160.160.1.1を獲得す
る。
In this case, the computer a1 creates an IP datagram whose destination IP address is 160.161.0.1. In addition, the destination IP address 160.16
Since 1.0.1 is different from the network address 160.160.0.0 of the segment of the computer a1, the IP address 160.160.1.1 of the relay destination router is referred to by referring to the routing table RTT. To earn.

【0263】次に、CPU512は、ARPテーブルA
RPTを参照して、IPアドレス160.160.1.
1に対応するMACアドレスを獲得しようとする。とこ
ろが、計算機a1が立ち上げ処理終了直後では、ARP
テーブルARPTには、未登録状態なので、計算機b1
のMACアドレスも当然登録されていない。
Next, the CPU 512 sends the ARP table A
Referring to the RPT, the IP address 160.160.1.
Attempts to acquire the MAC address corresponding to 1. However, immediately after the start-up processing of the computer a1, the ARP
Since it is not registered in the table ARPT, the computer b1
No MAC address is registered, of course.

【0264】したがって、CPU12は、IPアドレス
160.160.1.1に対応するMACアドレスを問
い合わせるARPリクエストメッセージを作成して、信
号線S11によってMPU111に送信割り込みをいれ
て、送信させることになる。
Therefore, the CPU 12 creates an ARP request message for inquiring the MAC address corresponding to the IP address 160.160.1.1, puts a transmission interrupt to the MPU 111 through the signal line S11, and transmits the MPU 111.

【0265】2重化ルータのIPアドレス160.16
0.1.1へのARPメッセージは、図13に示される
ように2重化ルータ管理テーブルDRTTに現用MAC
アドレスが登録済の場合は、MPU111は、2重化ル
ータ管理テーブルのエリア現用MACアドレスDRTT
21に格納されたMACアドレスを返答とするARPレ
スポンスメッセージを作成して、それを信号線S10に
よってCPU12に通知する(S21−5,S21−
6)。このARPレスポンスメッセージの、送信元IP
アドレスを2重化ルータのIPアドレス160.16
0.0.0である。
IP address 160.16 of the duplex router
The ARP message to 0.1.1 is transmitted to the dual router management table DRTT as shown in FIG.
If the address is already registered, the MPU 111 determines the area active MAC address DRTT of the duplicated router management table.
An ARP response message in which the MAC address stored in 21 is set as a reply is created, and is notified to the CPU 12 through the signal line S10 (S21-5, S21-).
6). Source IP of this ARP response message
Address duplication Router IP address 160.16
It is 0.0.

【0266】ARPレスポンスメッセージを受け取った
CPU112は、そのメッセージに書き込まれた、IP
アドレスとMACアドレスをARPテーブルARPTに
登録する。
Upon receiving the ARP response message, the CPU 112 writes the IP address written in the message.
The address and the MAC address are registered in the ARP table ARPT.

【0267】ここで、送信待ちになっているIPデータ
グラムのMACアドレスを、再度ARPテーブルを参照
して、中継先IPアドレス160.160.1.1に対
応するMACアドレスを獲得することができる。
Here, the MAC address of the IP datagram waiting to be transmitted can be obtained again by referring to the ARP table to obtain the MAC address corresponding to the relay destination IP address 160.160.1.1. .

【0268】そして、CPU12は、IPデータグラム
と上記のようにして得られたあて先MACアドレスをメ
モリ14に用意して、MPU111に送信割り込みを入
れる。
Then, the CPU 12 prepares the IP datagram and the destination MAC address obtained as described above in the memory 14 and puts the transmission interrupt in the MPU 111.

【0269】送信割り込みを受けたMPU111は、M
ACアドレスが現用ルータαであり、IPデータグラム
をデータ部に書き込んだイーサネットフレームを現用ル
ータαに送信する。
The MPU 111 which has received the transmission interruption
The AC address is the working router α, and the Ethernet frame in which the IP datagram is written in the data part is transmitted to the working router α.

【0270】次に、現用ルータαに障害が発生したとし
よう。
Next, assume that a failure occurs in the working router α.

【0271】現用ルータαに障害が発生すると、通信制
御装置11から現用ルータおよび予備用ルータあてに周
期Tq(10秒)毎に送信されるARPリクエストメッ
セージに対し、現用ルータαからARPレスポンスメッ
セージが送信されなくなる。
When a failure occurs in the working router α, an ARP response message is sent from the working router α to the ARP request message sent from the communication control device 11 to the working router and the spare router every cycle Tq (10 seconds). It will not be sent.

【0272】それによって、ARPレスポンスメッセー
ジ受信監視タイマ1122がタイムアウトし、MPU1
11は、信号線S7−2によって割り込みを受けて、図
16のフローチャートに従ってタイムアウト処理を開始
することになる。
As a result, the ARP response message reception monitoring timer 1122 times out, and the MPU1
11 receives the interrupt through the signal line S7-2 and starts the time-out process according to the flowchart of FIG.

【0273】図16に示されるように現用ルータαに障
害が発生したときには、予備用ルータβに障害がない限
り、予備用ルータβを新たな現用ルータとして、2重化
ルータ管理テーブルDRTTに登録しようとするもので
ある(S20−11)。
As shown in FIG. 16, when a failure occurs in the working router α, as long as there is no failure in the protection router β, the protection router β is registered as a new working router in the dual router management table DRTT. This is what is going to be done (S20-11).

【0274】図18(b)に示すされるように、予備用
ルータを現用ルータとしてしたときには、MACアドレ
スm+n+3を有するルータβが新たな現用ルータとし
て登録されることになる。
As shown in FIG. 18B, when the standby router is the working router, the router β having the MAC address m + n + 3 is registered as the new working router.

【0275】また、図16のフローチャートに示される
ように、予備用ルータMACアドレス登録エリアDRT
T31に旧現用ルータαのMACアドレスm+n+1が
書き込まれ、かつ、予備用ルータ障害表示ビットDRT
T33に障害発生を示す1が登録されることになる。
As shown in the flow chart of FIG. 16, the spare router MAC address registration area DRT
The MAC address m + n + 1 of the old working router α is written in T31, and the spare router failure indication bit DRT
1 indicating that a failure has occurred is registered in T33.

【0276】予備用ルータと現用ルータのMACアドレ
スを入れ替えると、MPU111は、新たな現用ルータ
βのMACアドレスを、送信元アドレスm+n+3に、
2重化ルータのIPアドレス160.160.1.1を
送信元アドレスにそれぞれ書き込んだARPレスポンス
メッセージを作成し、信号線S10よりCPU12に受
信割り込みを入れる。受信割り込みを受けたCPU12
は、MPU111より受け取ったARPレスポンスメッ
セージより送信元MACアドレスと送信元IPアドレス
を取り出し、ARPテーブルARPTに登録済のIPア
ドレス160.160.1.1に対応するMACアドレ
スをm+n+1をm+n+3に書き替える。 このよう
にすれば、以降は、IPアドレス160.160.1.
1あてに送信されるIPデータグラムは、MACアドレ
スm+n+3を有するルータβへ送信されることにな
る。
When the MAC addresses of the spare router and the working router are exchanged, the MPU 111 sets the MAC address of the new working router β to the source address m + n + 3.
An ARP response message in which the IP address 160.160.1.1 of the duplicated router is written in the transmission source address is created, and a reception interrupt is input to the CPU 12 from the signal line S10. CPU 12 receiving a reception interrupt
Extracts the source MAC address and the source IP address from the ARP response message received from the MPU 111, and rewrites the MAC address corresponding to the IP address 160.160.1.1 registered in the ARP table ARPT from m + n + 1 to m + n + 3. . In this way, the IP address 160.160.1.
The IP datagram sent to 1 will be sent to the router β having the MAC address m + n + 3.

【0277】また、予備用ルータ回障害表示ビットが、
障害が発生したことを示す1になっているとする。
Further, the spare router times failure indication bit is
It is assumed to be 1 indicating that a failure has occurred.

【0278】ここで、ARPリクエストメッセージ送信
タイマ1122がタイムアウトし、MPU111が、予
備用ルータαに対し、図14のフローチャートに従いA
RPリクエストメッセージを送信するものとする(S1
8−6等)。
Here, the ARP request message transmission timer 1122 has timed out, and the MPU 111 sends an A to the backup router α according to the flowchart of FIG.
An RP request message shall be sent (S1
8-6 etc.).

【0279】そして、このARPリクエストメッセージ
に対して、障害が発生して現用ルータから予備用ルータ
になったルータαから、ARPレスポンスメッセージを
再び受信すると、MPU111は、図15のフローチャ
ートに示される受信処理に従い、予備用ルータ障害表示
ビットの障害発生状態を解除(S19−19)して、0
にする。かくしてこれ以降は、ルータαは予備用ルータ
としてネットワーク上で待機することになる。
In response to this ARP request message, when the ARP response message is received again from the router α which has become the protection router from the working router due to the failure, the MPU 111 receives the message shown in the flowchart of FIG. According to the processing, the failure occurrence state of the spare router failure indication bit is canceled (S19-19), and 0 is set.
To Thus, after that, the router α stands by on the network as a backup router.

【0280】さて、上記のようにルータαを現用ルー
タ、ルータβを予備用ルータとして2重化管理テーブル
DRTTに登録し、現用ルータαに障害が発生して、予
備用ルータβが新たな現用ルータとなり、旧現用ルータ
αを新たなルータγと交換したものとしよう。
By registering the router α as the active router and the router β as the standby router in the duplication management table DRTT as described above, the active router α fails and the standby router β becomes the new active router. Let's assume that it becomes a router and replaces the old working router α with a new router γ.

【0281】ルータγの、共通伝送路A側のインタフェ
ースのMACアドレスは、m+n+5、共通伝送路B側
のインタフェースのMACアドレスは、m+n+6であ
ったとする。
It is assumed that the MAC address of the interface on the common transmission path A side of the router γ is m + n + 5, and the MAC address of the interface on the common transmission path B side is m + n + 6.

【0282】また、ルータγに割り当てられるIPアド
レスは、ルータαに割り当てられていたIPアドレスと
同一に設定し、共通伝送路A側のインタフェースのIP
アドレスは160.160.1.1、共通伝送路B側の
インタフェースのIPアドレスは160.161.1.
1とする。
Further, the IP address assigned to the router γ is set to be the same as the IP address assigned to the router α, and the IP of the interface on the common transmission path A side is set.
The address is 160.160.1.1, and the IP address of the interface on the common transmission line B side is 160.161.1.
Let it be 1.

【0283】ルータαに障害が発生した直後の通信制御
装置11の有する2重化ルータ管理テーブルDRTTは
図18(b)の様になっている。
The duplicated router management table DRTT of the communication control device 11 immediately after the failure of the router α is as shown in FIG. 18 (b).

【0284】ルータαを取り外し、ルータγを新たに共
通伝送路Aと共通伝送路Bに接続すると、通信制御装置
11が送信するARPリクエストメッセージに対して、
ルータβとルータγがARPレスポンスメッセージを伝
送制御装置11に送信する。通信制御装置11がルータ
γからのARPレスポンスメッセージを受信すると、M
PU111は、図15のフローチャートに従って受信処
理をおこない、ルータγのMACアドレスを予備用ルー
タMACアドレス登録エリアDRTT31に登録する
(S19−12,S19−18)。この結果2重化ルー
タ管理テーブルDRTTの有する値は、図19に示され
るようになる。
When the router α is removed and the router γ is newly connected to the common transmission line A and the common transmission line B, in response to the ARP request message transmitted by the communication control device 11,
The router β and the router γ send the ARP response message to the transmission control device 11. When the communication control device 11 receives the ARP response message from the router γ, M
The PU 111 performs reception processing according to the flowchart of FIG. 15 and registers the MAC address of the router γ in the spare router MAC address registration area DRTT31 (S19-12, S19-18). As a result, the values of the duplicated router management table DRTT are as shown in FIG.

【0285】これ以降は、ルータγは、予備用ルータと
して使用可能になり、現用ルータ障害時までネットワー
ク上で待機することになる。
After that, the router γ can be used as a standby router and waits on the network until a failure occurs in the active router.

【0286】以上のように、本実施形の通信制御装置を
用いれば、ルータの一方に障害があっても、ネットワー
クシステムの稼働をとめることなく運用することがで
き、システムの情報も再設定する必要もない。
As described above, by using the communication control device of this embodiment, even if one of the routers has a failure, the network system can be operated without stopping and the system information is reset. There is no need.

【0287】[0287]

【発明の効果】本発明によれば、ルータが2重化された
ネットワークシステムにおいて、現用のルータから予備
用のルータに経路を切り替えるときには、その切替時間
をRIP使用時より短縮し、ネットワークの可用性を向
上させ、かつ、計算機のCPUの負荷を増加させること
のないルータが2重化されたネットワークシステムおよ
びルータが2重化されたネットワークシステムの障害対
策方法を提供することができる。
According to the present invention, in a network system with dual routers, when switching a route from an active router to a backup router, the switching time is shortened compared to when RIP is used, and the availability of the network is improved. It is possible to provide a network system in which a router is duplicated and a failure countermeasure method for a network system in which a router is duplicated without increasing the load on the CPU of the computer.

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

【図1】本発明の一実施形態に係るネットワークシステ
ムの要部拡大図である。
FIG. 1 is an enlarged view of a main part of a network system according to an embodiment of the present invention.

【図2】IPアドレスの各クラスの形態を模式的に示し
た図である。
FIG. 2 is a diagram schematically showing the form of each class of IP address.

【図3】OSI参照モデルとTCP/IPの通信プロト
コルの関係を示す模式図である。
FIG. 3 is a schematic diagram showing a relationship between an OSI reference model and a TCP / IP communication protocol.

【図4】ARPの仕組みを説明する模式図である。FIG. 4 is a schematic diagram illustrating the mechanism of ARP.

【図5】本発明の一実施形態に係るネットワークシステ
ムの構成を表わす模式図である。
FIG. 5 is a schematic diagram showing a configuration of a network system according to an embodiment of the present invention.

【図6】本発明の一実施形態に係るネットワークシステ
ムで、計算機a1からARPリクエストメッセージが発
せられたときの模式図である。
FIG. 6 is a schematic diagram when an ARP request message is issued from the computer a1 in the network system according to the embodiment of the present invention.

【図7】本発明の一実施形態に係るネットワークシステ
ムで、計算機a2からARPレスポンスメッセージが発
せられたときの模式図である。
FIG. 7 is a schematic diagram when an ARP response message is issued from the computer a2 in the network system according to the embodiment of the present invention.

【図8】ルーティングテーブルの一例を示す模式図であ
る。
FIG. 8 is a schematic diagram showing an example of a routing table.

【図9】ARPテーブルの一例を示す模式図である。FIG. 9 is a schematic diagram showing an example of an ARP table.

【図10】2重化ルータ管理テーブルDRTTの構成を
示す模式図である。
FIG. 10 is a schematic diagram showing a configuration of a duplicated router management table DRTT.

【図11】本発明の一実施形態に係る通信制御装置の構
成を表すブロック図である。
FIG. 11 is a block diagram showing a configuration of a communication control device according to an embodiment of the present invention.

【図12】本発明の一実施形態に係る通信制御装置11
の動作の概略を示した模式図である。
FIG. 12 is a communication control device 11 according to an embodiment of the present invention.
FIG. 6 is a schematic diagram showing an outline of the operation of FIG.

【図13】通信制御装置11内のMPU111がイーサ
ネットフレームを送信するときの動作を示すフローチャ
ートである。
FIG. 13 is a flowchart showing an operation when the MPU 111 in the communication control device 11 transmits an Ethernet frame.

【図14】2重化ルータへARPリクエストメッセージ
を送信するときの処理を示すフローチャートである。
FIG. 14 is a flowchart showing a process when an ARP request message is sent to the duplex router.

【図15】通信制御装置11内のMPU111がイーサ
ネットフレームを受信するときの動作を示すフローチャ
ートである。
FIG. 15 is a flowchart showing an operation when the MPU 111 in the communication control device 11 receives an Ethernet frame.

【図16】通信制御装置11内のARPレスポンス受信
監視タイマ1122のタイムアウト時の処理を示すフロ
ーチャートである。
FIG. 16 is a flowchart showing processing when an ARP response reception monitoring timer 1122 in the communication control device 11 times out.

【図17】2重化ルータ管理テーブルDRTTに具体的
データを設定したときの模式図である(その一)。
FIG. 17 is a schematic diagram when specific data is set in the duplicated router management table DRTT (No. 1).

【図18】2重化ルータ管理テーブルDRTTに具体的
データを設定したときの模式図であり(その二)、特
に、現用ルータと予備用ルータの管理情報を入れ替えて
設定する場合を示している。
FIG. 18 is a schematic diagram when specific data is set in the duplicated router management table DRTT (part 2), and particularly shows a case where the management information of the working router and the protection router is exchanged and set. .

【図19】2重化ルータ管理テーブルDRTTに具体的
データを設定したときの模式図である(その三)。
FIG. 19 is a schematic diagram when specific data is set in the duplicated router management table DRTT (part 3).

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

a1〜am,b1〜bn…計算機、A,B…共通伝送
路、α,β,γ…ルータ、11…通信制御装置、12…
CPU、13…メモリ、14…システムバス、DRTT
…2重化ルータ管理テーブル、IPAT…IPアドレス
格納テーブル、11MAT…MACアドレス管理テーブ
ル、111…MPU、1121…ARPリクエストメッ
セージ送信タイマ、1122…ARPレスポンスメッセ
ージ受信タイマ、113…水晶発振器、114…RO
M、115…伝送回路、116…バススケジューラ、1
17…バスインタフェース、118…内部メモリ、15
…トランシーバ、DRTT2…現用ルータ管理エリア、
DRTT3…予備用ルータ管理エリア、DRTT21…
現用ルータMACアドレス、DRTT23…現用ルータ
MACアドレス登録ビット、DRTT24…現用ルータ
受信待ちビット、DRTT25…現用ルータ障害表示ビ
ット、DRTT31…予備用ルータMACアドレス登録
エリア、DRTT33…予備用ルータMACアドレス登
録ビット、DRTT34…予備用ルータ受信待ちビッ
ト、DRTT35…予備用ルータ障害表示ビット、RT
T…ルーティングテーブル、RT1…あて先ネットワー
クアドレス、RT2…中継先IPアドレス、ARPT…
ARPテーブル、ARPT1〜ARPTk…ARPテー
ブルの各エントリ、ARPT11〜ARPTk1…IP
アドレス、ARPT12〜ARPTk2…MACアドレ
ス。
a1 to am, b1 to bn ... Computer, A, B ... Common transmission path, α, β, γ ... Router, 11 ... Communication control device, 12 ...
CPU, 13 ... Memory, 14 ... System bus, DRTT
... duplicate router management table, IPAT ... IP address storage table, 11MAT ... MAC address management table, 111 ... MPU, 1121 ... ARP request message transmission timer, 1122 ... ARP response message reception timer, 113 ... crystal oscillator, 114 ... RO
M, 115 ... Transmission circuit, 116 ... Bus scheduler, 1
17 ... Bus interface, 118 ... Internal memory, 15
… Transceiver, DRTT2… Current router management area,
DRTT3 ... Spare router management area, DRTT21 ...
Working router MAC address, DRTT23 ... Working router MAC address registration bit, DRTT24 ... Working router reception wait bit, DRTT25 ... Working router failure display bit, DRTT31 ... Spare router MAC address registration area, DRTT33 ... Spare router MAC address registration bit, DRTT34 ... Spare router reception wait bit, DRTT35 ... Spare router failure indication bit, RT
T ... Routing table, RT1 ... Destination network address, RT2 ... Relay destination IP address, ARPT ...
ARP table, ARPT1 to ARPTk ... Each entry of ARP table, ARPT11 to ARPTk1 ... IP
Address, ARPT12 to ARPTK2 ... MAC address.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 丹治 雅行 茨城県日立市大みか町五丁目2番1号 株 式会社日立製作所大みか工場内 (72)発明者 丸山 久幸 茨城県日立市大みか町五丁目2番1号 株 式会社日立製作所大みか工場内 (72)発明者 井上 博文 茨城県日立市大みか町五丁目2番1号 株 式会社日立製作所大みか工場内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Masayuki Tanji 5-2-1 Omika-cho, Hitachi City, Ibaraki Prefecture Hitachi Ltd. Omika Plant, Ltd. (72) Inventor Hisayuki Maruyama 5-chome, Omika-cho, Hitachi City, Ibaraki Prefecture No. 1 Incorporated company Hitachi Ltd. Omika factory (72) Inventor Hirofumi Inoue 5-2-1 Omika-cho, Hitachi city, Ibaraki Prefecture Incorporated company Hitachi Ltd. Omika factory

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 一つ以上のネットワークをルータを介し
て接続し、しかも、そのルータが2重化されたネットワ
ークシステムにおいて、 前記ネットワークに接続された計算機は、通信制御装置
を有し、 この計算機は、各々有する通信制御装置によって通信
し、 また、前記2重化されたルータは、一方を現用ルータ、
他の一方を予備用ルータとして、 各々同一の論理アドレスと、異なった物理アドレスとが
割り当てられ、 前記通信制御装置は、 前記2重化されたルータの論理アドレスと物理アドレス
とを保持する手段を有し、 この通信制御装置が、 ルータを介して他の計算機と通信するときには、前記現
用ルータの物理アドレスを用いて通信し、 2重化されたルータに対して、周期的に論理アドレスか
ら物理アドレスを求めるリクエストメッセージを送信
し、 その送信したリクエストメッセージの返答となるレスポ
ンスメッセージが、ルータから送信されてくるか否か
を、2重化された各々のルータに対して監視し、 ルータからレスポンスメッセージが送信されてこないと
きには、そのルータに障害が発生したものとして、 もし、前記現用ルータに障害が発生したとされたときに
は、 ルータを介して他の計算機と通信するときに、前記予備
用ルータの物理アドレスを用いて通信するように切り替
えることを特徴とするルータが2重化されたネットワー
クシステム。
1. A network system in which one or more networks are connected via a router and the routers are duplicated, wherein the computer connected to the network has a communication control device, Communicate with each other by a communication control device, and one of the duplicated routers is an active router,
The other one is used as a spare router, and the same logical address and different physical addresses are assigned to each other, and the communication control device has means for holding the logical address and physical address of the duplicated router. When this communication control device communicates with another computer via the router, it communicates using the physical address of the working router, and periodically communicates with the duplicated router from the logical address to the physical address. A request message for an address is sent, and whether or not a response message that is a response to the sent request message is sent from the router is monitored for each duplicated router, and the response from the router is sent. If no message is sent, it means that the router has failed, and if the working router fails. When it is determined that an error has occurred, the network system in which the router is duplicated is characterized in that when communicating with another computer via the router, the communication is switched to use the physical address of the backup router. .
【請求項2】 前記通信制御装置が、 前記2重化されたルータに割り当てられる論理アドレス
と物理アドレスとを、計算機より受け取って、 それらを2重化されたルータの論理アドレスと物理アド
レスとを保持する手段に設定することを特徴とする請求
項1記載のルータが2重化されたネットワークシステ
ム。
2. The communication control device receives a logical address and a physical address assigned to the duplicated router from a computer, and receives them from a logical address and a physical address of the duplicated router. The network system in which the router is duplicated according to claim 1, wherein the network means is set as a holding means.
【請求項3】 前記通信制御装置が、 前記2重化されたルータに割り当てられる論理アドレス
と物理アドレスとを、2重化されたルータ各々に対して
送信される前記論理アドレスから物理アドレスを求める
リクエストメッセージの返答となるレスポンスメッセー
ジから得て、 それらを2重化されたルータの論理アドレスと物理アド
レスとを保持する手段に設定することを特徴とする請求
項1記載のルータが2重化されたネットワークシステ
ム。
3. The communication control device obtains a logical address and a physical address assigned to the duplicated router, and obtains a physical address from the logical address transmitted to each duplicated router. 2. The router according to claim 1, wherein the router is duplicated, which is obtained from a response message which is a response to the request message and which is set as a means for holding a logical address and a physical address of the duplicated router. Network system.
【請求項4】 前記現用ルータに障害が発生されたとき
には、 前記予備用ルータを新たな現用ルータとし、 現用ルータを取換えて、新たな予備用ルータとして、 前記通信制御装置が、 2重化されたルータの論理アドレスと物理アドレスとを
保持する手段に、 前記新たな現用ルータと前記新たな予備用ルータとに割
り当てられる論理アドレスと物理アドレスとを、それぞ
れ設定することを特徴とする請求項1ないし請求項3記
載のいずれかのルータが2重化されたネットワークシス
テム。
4. When a failure occurs in the working router, the backup router is used as a new working router, and the working router is replaced so that the communication control device is duplicated. 7. A means for holding a logical address and a physical address of an established router, sets a logical address and a physical address assigned to the new working router and the new backup router, respectively. A network system in which the router according to any one of claims 1 to 3 is duplicated.
【請求項5】 前記物理アドレスが、MAC(Media Ac
cess Control)アドレスであり、 前記論理アドレスが、IP(Internet Protocol)アド
レスであり、 前記論理アドレスから、物理アドレスを求めるリクエス
トメッセージが、ARP(Address Resolution Protoco
l)リクエストメッセージで、その返答となるレスポン
スメッセージが、ARPレスポンスメッセージであるこ
とを特徴とする請求項1ないし請求項4記載のいずれか
のルータが2重化されたネットワークシステム。
5. The physical address is MAC (Media Ac
cess control) address, the logical address is an IP (Internet Protocol) address, and a request message for a physical address from the logical address is an ARP (Address Resolution Protocol).
l) A network system in which any of the routers according to any one of claims 1 to 4 is duplicated, wherein a response message which is a response to the request message is an ARP response message.
【請求項6】 一つ以上のネットワークをルータを介し
て接続し、しかも、そのルータが2重化されたネットワ
ークシステムの障害対策方法において、 前記ネットワークに接続された計算機は、通信制御装置
を有し、 この計算機は、各々有する通信制御装置によって通信
し、 また、前記2重化されたルータは、一方を現用ルータ、
他の一方を予備用ルータとして、 各々同一の論理アドレスと、異なった物理アドレスとが
割り当てられ、 前記通信制御装置は、 前記2重化されたルータの論理アドレスと物理アドレス
とを保持する手段を有し、 この通信制御装置が、 ルータを介して他の計算機と通信するときには、前記現
用ルータの物理アドレスを用いて通信し、 2重化されたルータに対して、周期的に論理アドレスか
ら物理アドレスを求めるリクエストメッセージを送信
し、 その送信したリクエストメッセージの返答となるレスポ
ンスメッセージが、ルータから送信されてくるか否か
を、2重化された各々のルータに対して監視し、 ルータからレスポンスメッセージが送信されてこないと
きには、そのルータに障害が発生したものとして、 もし、前記現用ルータに障害が発生したとされたときに
は、 ルータを介して他の計算機と通信するときに、前記予備
用ルータの物理アドレスを用いて通信するように切り替
えることを特徴とするルータが2重化されたネットワー
クシステムの障害対策方法。
6. A failure countermeasure method for a network system in which one or more networks are connected via a router and the router is duplicated, wherein the computer connected to the network has a communication control device. However, this computer communicates by means of a communication control device that each has, and one of the duplicated routers is a working router,
The other one is used as a spare router, and the same logical address and different physical addresses are assigned to each other, and the communication control device has means for holding the logical address and physical address of the duplicated router. When this communication control device communicates with another computer via the router, it communicates using the physical address of the working router, and periodically communicates with the duplicated router from the logical address to the physical address. A request message for an address is sent, and whether or not a response message that is a response to the sent request message is sent from the router is monitored for each duplicated router, and the response from the router is sent. If no message is sent, it means that the router has failed, and if the working router fails. When it is determined that an error has occurred, the network system in which the router is duplicated is characterized in that when communicating with another computer via the router, the communication is switched to use the physical address of the backup router. How to deal with failures.
【請求項7】 前記通信制御装置が、 前記2重化されたルータに割り当てられる論理アドレス
と物理アドレスとを、計算機より受け取って、 それらを2重化されたルータの論理アドレスと物理アド
レスとを保持する手段に設定することを特徴とする請求
項6記載のルータが2重化されたネットワークシステム
の障害対策方法。
7. The communication control device receives a logical address and a physical address assigned to the duplicated router from a computer, and receives them from a logical address and a physical address of the duplicated router. 7. A method for coping with a fault in a network system having dual routers according to claim 6, characterized in that the setting means is set.
【請求項8】 前記通信制御装置が、 前記2重化されたルータに割り当てられる論理アドレス
と物理アドレスとを、2重化されたルータ各々に対して
送信される前記論理アドレスから物理アドレスを求める
リクエストメッセージの返答となるレスポンスメッセー
ジから得て、 それらを2重化されたルータの論理アドレスと物理アド
レスとを保持する手段に設定することを特徴とする請求
項6記載のルータが2重化されたネットワークシステム
の障害対策方法。
8. The communication control device obtains a logical address and a physical address assigned to the duplicated router, and obtains a physical address from the logical address transmitted to each duplicated router. 7. The router according to claim 6, wherein the router is duplexed, which is obtained from a response message which is a response to the request message and which is set as a means for holding a logical address and a physical address of the duplexed router. Network system failure countermeasure method.
【請求項9】 前記現用ルータに障害が発生されたとき
には、 前記予備用ルータを新たな現用ルータとし、 現用ルータを取換えて、新たな予備用ルータとして、 前記通信制御装置が、 2重化されたルータの論理アドレスと物理アドレスとを
保持する手段に、 前記新たな現用ルータと前記新たな予備用ルータとに割
り当てられる論理アドレスと物理アドレスとを、それぞ
れ設定することを特徴とする請求項6ないし請求項8記
載のいずれかのルータが2重化されたネットワークシス
テムの障害対策方法。
9. When a failure occurs in the working router, the protection router is used as a new working router, and the working router is replaced so that the communication control device is duplicated as a new protection router. 7. A means for holding a logical address and a physical address of an established router, sets a logical address and a physical address assigned to the new working router and the new backup router, respectively. A fault countermeasure method for a network system in which the router according to claim 6 is duplicated.
【請求項10】 前記物理アドレスが、MAC(Media
Access Control)アドレスであり、 前記論理アドレスが、IP(Internet Protocol)アド
レスであり、 前記論理アドレスから、物理アドレスを求めるリクエス
トメッセージが、ARP(Address Resolution Protoco
l)リクエストメッセージで、その返答となるレスポン
スメッセージが、ARPレスポンスメッセージであるこ
とを特徴とする請求項6ないし請求項9記載のいずれか
のルータが2重化されたネットワークシステムの障害対
策方法。
10. The physical address is MAC (Media
Access control) address, the logical address is an IP (Internet Protocol) address, and a request message for a physical address from the logical address is ARP (Address Resolution Protocol).
l) A failure countermeasure method for a network system in which any one of the routers is duplicated, wherein the response message which is a response to the request message is an ARP response message.
JP8136854A 1996-05-30 1996-05-30 Network system with duplexed routers and fault countermeasure method for it Pending JPH09321789A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8136854A JPH09321789A (en) 1996-05-30 1996-05-30 Network system with duplexed routers and fault countermeasure method for it

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8136854A JPH09321789A (en) 1996-05-30 1996-05-30 Network system with duplexed routers and fault countermeasure method for it

Publications (1)

Publication Number Publication Date
JPH09321789A true JPH09321789A (en) 1997-12-12

Family

ID=15185067

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8136854A Pending JPH09321789A (en) 1996-05-30 1996-05-30 Network system with duplexed routers and fault countermeasure method for it

Country Status (1)

Country Link
JP (1) JPH09321789A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999033214A1 (en) * 1997-12-19 1999-07-01 Holontech Corporation Router pooling in a network flowswitch
US6266335B1 (en) 1997-12-19 2001-07-24 Cyberiq Systems Cross-platform server clustering using a network flow switch
JP2002009881A (en) * 2000-06-20 2002-01-11 Oki Electric Ind Co Ltd Packet transfer device
KR20030015614A (en) * 2001-08-17 2003-02-25 류정현 Fault Tolerance LAN-Route System with Traffic Sharing and Gateway Switching
US6779039B1 (en) 2000-03-31 2004-08-17 Avaya Technology Corp. System and method for routing message traffic using a cluster of routers sharing a single logical IP address distinct from unique IP addresses of the routers
KR100474677B1 (en) * 2002-04-18 2005-03-08 삼성전자주식회사 Method for detecting failure of routing protocol module in distributed architecture router
US6880089B1 (en) 2000-03-31 2005-04-12 Avaya Technology Corp. Firewall clustering for multiple network servers
US7055173B1 (en) 1997-12-19 2006-05-30 Avaya Technology Corp. Firewall pooling in a network flowswitch
JP2007188521A (en) * 2000-12-05 2007-07-26 Fisher Rosemount Syst Inc Redundant device in process control system
US7263061B2 (en) 2002-04-19 2007-08-28 Fujitsu Limited Packet routing apparatus for routing packets via a pre-established connection in a store and forward network
US7327671B2 (en) 2001-01-26 2008-02-05 Nec Corporation Method and system for controlling communication network and router used in the network

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6266335B1 (en) 1997-12-19 2001-07-24 Cyberiq Systems Cross-platform server clustering using a network flow switch
WO1999033214A1 (en) * 1997-12-19 1999-07-01 Holontech Corporation Router pooling in a network flowswitch
US7055173B1 (en) 1997-12-19 2006-05-30 Avaya Technology Corp. Firewall pooling in a network flowswitch
US6779039B1 (en) 2000-03-31 2004-08-17 Avaya Technology Corp. System and method for routing message traffic using a cluster of routers sharing a single logical IP address distinct from unique IP addresses of the routers
US6880089B1 (en) 2000-03-31 2005-04-12 Avaya Technology Corp. Firewall clustering for multiple network servers
JP2002009881A (en) * 2000-06-20 2002-01-11 Oki Electric Ind Co Ltd Packet transfer device
JP2007188521A (en) * 2000-12-05 2007-07-26 Fisher Rosemount Syst Inc Redundant device in process control system
US7327671B2 (en) 2001-01-26 2008-02-05 Nec Corporation Method and system for controlling communication network and router used in the network
US8446828B2 (en) 2001-01-26 2013-05-21 Nec Corporation Method and system for controlling communication network and router used in the network
US7843920B2 (en) 2001-01-26 2010-11-30 Nec Corporation Method and system for controlling communication network and router used in the network
KR20030015614A (en) * 2001-08-17 2003-02-25 류정현 Fault Tolerance LAN-Route System with Traffic Sharing and Gateway Switching
KR100474677B1 (en) * 2002-04-18 2005-03-08 삼성전자주식회사 Method for detecting failure of routing protocol module in distributed architecture router
US7263061B2 (en) 2002-04-19 2007-08-28 Fujitsu Limited Packet routing apparatus for routing packets via a pre-established connection in a store and forward network

Similar Documents

Publication Publication Date Title
US5815668A (en) Slave inter-lan connection device, an inter-lan connection system and a hot standby method of said inter-lan connection system
US8521856B2 (en) Dynamic network configuration
US7929420B2 (en) Method and apparatus for learning VRRP backup routers
JP2003051835A (en) Method for connecting between networks, virtual router, and system for connecting between networks by using this virtual router
EP1953962B1 (en) Root cause correlation in connectionless networks
JPH07193571A (en) Static routing system
US20070081535A1 (en) Method and system for implementing virtual router redundacy protocol on a resilient packet ring
JPH11205356A (en) Communication control system
US6810452B1 (en) Method and system for quarantine during bus topology configuration
CN110011941B (en) Message forwarding method and device
JPH09321789A (en) Network system with duplexed routers and fault countermeasure method for it
US7769862B2 (en) Method and system for efficiently failing over interfaces in a network
JPH088975A (en) Local area network interconnected system and device
EP4020904B1 (en) Packet transmission method, device, and system
JP2007151041A (en) Interconnection switching hub
JP2002009806A (en) Lan communication path control system and control method
JP3908596B2 (en) Call server and its port switching method
JP2001230789A (en) Method for detecting duplicate ip address in tcp/ip network
JPH07264233A (en) Route high speed changeover method and router
JP2001168899A (en) Network system
JP2003273885A (en) Communication system and method for controlling communication used therefor
JP3978099B2 (en) Communication network system management method and network relay device
JP3895749B2 (en) Network connection method, virtual network connection device, and network connection system using the device
JP2000244526A (en) Multiplexed network connector system
JPH06268650A (en) Network repeater