JPH1065725A - Router device - Google Patents
Router deviceInfo
- Publication number
- JPH1065725A JPH1065725A JP8216412A JP21641296A JPH1065725A JP H1065725 A JPH1065725 A JP H1065725A JP 8216412 A JP8216412 A JP 8216412A JP 21641296 A JP21641296 A JP 21641296A JP H1065725 A JPH1065725 A JP H1065725A
- Authority
- JP
- Japan
- Prior art keywords
- relay
- unit
- processing unit
- relay processing
- network
- 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
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
(57)【要約】
【課題】 一重化構成時と、二重化構成時の現用系およ
び予備系において異なる情報を設定する必要のないルー
タ装置を提供する。
【解決手段】 同じルータ装置を2台用いて現用系と予
備系の二重化構成とし、各系の同じ中継処理部に1つの
回線制御部を共有させ、迂回系路用のネットワークと中
継処理部と回線制御部を追加する。各系の管理部は、同
じネットワーク構成定義情報からルーティング情報を生
成し、二重化構成時には統一的な規則に従い迂回系路用
のネットワークに関わるルーティング情報も生成する。
中継処理部は、転送先のネットワークの中継処理を行う
中継処理部が他系に含まれる場合、迂回経路用のネット
ワーク回線に関わるルーティング情報を基に中継処理を
行う。
(57) [Summary] [PROBLEMS] To provide a router device that does not need to set different information in a working system and a standby system in a single configuration and a dual configuration. SOLUTION: A duplex configuration of an active system and a standby system is used by using two same router devices, and one line control unit is shared by the same relay processing unit of each system, and a network for a bypass route and a relay processing unit are used. Add a line controller. The management unit of each system generates routing information from the same network configuration definition information, and also generates routing information related to a network for a bypass route according to a unified rule in a duplex configuration.
The relay processing unit, when the relay processing unit that performs the relay processing of the transfer destination network is included in the other system, performs the relay processing based on the routing information about the network line for the bypass route.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、現用系および予備
系の二重化構成を有し、接続したネットワーク間でネッ
トワーク層(レイヤ3)の処理を行うルータ装置に関す
るものであり、特に、ルーティング情報の生成に用いら
れるネットワーク構成定義情報を一重化構成時と二重化
構成時で共通化する手法に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a router device having a duplex configuration of an active system and a standby system and performing processing of a network layer (layer 3) between connected networks. The present invention relates to a technique for sharing network configuration definition information used for generation between a single configuration and a dual configuration.
【0002】[0002]
【従来の技術】ルータ装置は、ネットワークを複数接続
し、接続したネットワーク間で通信されるデータパケッ
トに中継処理を施す。図9に示すルータ装置(一重化構
成)では、LAN(ローカルエリアネットワーク)、W
AN(広域エリアネットワーク)毎に中継処理部と回線
制御部を個別に配置し、管理部によりネットワーク構成
定義情報を管理する。図9に示すようなルータ装置に関
する技術としては、例えば特開平5−199230号公
報に記載された技術がある。2. Description of the Related Art A router device connects a plurality of networks and performs a relay process on a data packet communicated between the connected networks. In the router device (single configuration) shown in FIG. 9, a LAN (local area network), W
A relay processing unit and a line control unit are individually arranged for each AN (wide area network), and the management unit manages the network configuration definition information. As a technique related to the router device as shown in FIG. 9, there is a technique described in, for example, Japanese Patent Application Laid-Open No. 5-199230.
【0003】一方、図9に示すようなルータ装置を2台
用いて現用系および予備系の二重化構成とした、図10
に示すようなルータ装置を考える。このルータ装置で
は、現用系と予備系を、固有のネットワークアドレスを
有する迂回経路用のLANで接続し、現用系の中継処理
部に障害が生じた場合に、その中継処理部の処理を予備
系の同種の中継処理部で行うようにする。現用系と予備
系に個別に配置された管理部は、個別に、ネットワーク
構成定義情報を管理し、動作する。On the other hand, two routers as shown in FIG. 9 are used to make the working system and the standby system redundant.
Consider a router device as shown in FIG. In this router device, the active system and the standby system are connected by a LAN for a detour path having a unique network address, and when a failure occurs in the relay processing unit of the active system, the processing of the relay processing unit is performed by the standby system. In the same kind of relay processing unit. The management units individually arranged in the active system and the standby system individually manage and operate the network configuration definition information.
【0004】図10において、経路1(波線)は、現用
系で全ての中継処理が行われる場合の通信経路を示し、
経路2(点線)は、現用系のWAN中継処理部の異常に
よりその処理が予備系のWAN中継処理部で行われる場
合の通信経路を示す。例えば、LANからWANへの中
継で、通信経路が経路2に切り替えられた場合、現用系
装置からみたネクストホップアドレス(次転送先のアド
レス)は、通常の宛先から迂回経路用のLANに接続さ
れた予備系装置のアドレスへと変化する。このように、
中継処理部の障害により中継経路が変わり、ルーティン
グ情報も変化するため、二重化構成時には一重化構成時
のルーティング情報をそのまま使用することはできな
い。In FIG. 10, a path 1 (broken line) indicates a communication path when all relay processing is performed in the active system.
The path 2 (dotted line) indicates a communication path when the processing is performed by the standby WAN relay processing unit due to an abnormality in the active WAN relay processing unit. For example, when the communication path is switched to the path 2 by the relay from the LAN to the WAN, the next hop address (address of the next transfer destination) viewed from the active device is connected from the normal destination to the LAN for the detour path. It changes to the address of the standby system device. in this way,
Since the relay route changes due to the failure of the relay processing unit and the routing information also changes, the routing information in the single configuration cannot be used as it is in the duplex configuration.
【0005】ルーティング処理のためのルーティング情
報を動的に生成・追加・変更・削除するダイナミックル
ーティング(例えば、TCP/IPプロトコル群におけ
るRIP:Routing Information Protocol)の手法を用
いれば経路変更によるネクストホップアドレスの変化に
対応できる。ただし、この手法では、ルーティング情報
の更新にある程度の時間が必要であるため、経路切り替
えにかかる時間が長くなってしまう。また、定期的にネ
ットワークに関する情報をやり取りするため、トラフィ
ック量や接続時間により課金されるような公衆網等には
不向きであるという問題も有る。[0005] If a dynamic routing (for example, RIP: Routing Information Protocol in the TCP / IP protocol group) technique for dynamically generating, adding, changing, or deleting routing information for routing processing is used, the next hop address due to route change is used. Can respond to changes in However, in this method, a certain amount of time is required for updating the routing information, so that the time required for the path switching becomes long. In addition, there is also a problem that since information about the network is regularly exchanged, it is not suitable for a public network or the like that is charged based on the traffic volume or connection time.
【0006】登録されたネットワーク構成定義情報から
予めルーティング情報を生成し各中継処理部に設定する
スタティックルーティングを用いた場合には、経路の切
替え時のルーティング情報も予め設定されるため、障害
に応じて経路を切り替える時間は、ダイナミックルーテ
ィングを用いた時よりも速くできる。しかし、現用系と
予備系とでは、切り替え時のネクストホップアドレスが
異なるため、ネットワーク構成定義情報を共通化するこ
とができない。このため、二重化構成から一重化構成に
変更した場合は一重化用の構成定義情報、一重化構成か
ら二重化構成に変更した場合には二重化時現用系用と二
重化時予備系用の構成定義情報を、それぞれ作り直す必
要があった。If static routing is used to generate routing information in advance from registered network configuration definition information and set it in each relay processing unit, routing information at the time of route switching is also set in advance. The time to switch the route can be made faster than when using dynamic routing. However, since the active system and the standby system have different next hop addresses at the time of switching, the network configuration definition information cannot be shared. For this reason, when changing from a redundant configuration to a single configuration, the configuration definition information for the single configuration is used.When changing from the single configuration to the redundant configuration, the configuration definition information for the active system at the time of redundancy and the standby system at the time of the redundancy are changed. , Each had to be rebuilt.
【0007】[0007]
【発明が解決しようとする課題】上述のように、図10
に示すような二重化構成のルータ装置でスタティックル
ーティングを用いた場合、現用系と予備系で同じネット
ワーク構成定義情報を使用することができないため、管
理者がネットワーク構成定義情報を現用系と予備系につ
いて個別に設定する必要があった。同様に、ルータ装置
を二重化構成から一重化構成へ変更する場合にも、ネッ
トワーク構成定義情報の変更が必要であった。管理者の
作業負担を軽減するため、一重化構成時と、二重化構成
時の現用系および予備系において共通のネットワーク構
成定義情報を使用して、ルーティング情報を自動的に生
成することのできるルータ装置が望まれている。As described above, FIG.
When static routing is used in a router device with a redundant configuration as shown in (1), the same network configuration definition information cannot be used in the active system and the standby system. It had to be set individually. Similarly, when the router device is changed from a duplex configuration to a single configuration, it is necessary to change the network configuration definition information. A router device that can automatically generate routing information using the common network configuration definition information in the active system and the standby system in a single configuration and a dual configuration to reduce the workload of the administrator. Is desired.
【0008】そこで、本発明は、一重化構成時と、二重
化構成時の現用系および予備系において異なる情報を設
定する必要のないルータ装置を提供することを目的とす
る。Accordingly, an object of the present invention is to provide a router device which does not need to set different information in a working system and a standby system in a single configuration and in a dual configuration.
【0009】[0009]
【課題を解決するための手段】上記目的を達成するため
に、本発明のルータ装置は、ルーティング情報を管理す
る管理部と、当該管理部に管理されているルーティング
情報に従って、入力されたデータパケットに中継処理を
施す、互いに接続された複数の中継処理部とを有する中
継部を二組、一方を現用系、他方を予備系として二重化
したルータ装置であって、各々、ネットワーク回線に接
続すると共に、前記現用系の中継部の一つの中継処理部
および当該中継処理部に対応する予備系の中継部の一つ
の中継処理部に接続し、接続した現用系の中継部の中継
処理部と予備系の中継部の中継処理部の内の一方を選択
的に制御対象とし、制御対象とした中継処理部と接続し
たネットワーク回線の間の通信を制御する複数の回線制
御部と、前記現用系の中継部の中継処理部に異常が生じ
た場合、前記各回線制御部が制御対象とする中継処理部
を、前記現用系の中継部の中継処理部から予備系の中継
部の中継処理部に切り替える切り替え部とを備え、前記
現用系および予備系の中継部は、各々、迂回経路用のネ
ットワーク回線に接続した迂回経路用回線制御部と、迂
回経路用回線制御部と当該中継部に含まれる中継処理部
とに接続した迂回経路用中継処理部とを有し、前記現用
系および予備系の中継部の各管理部は、統一された規則
に基づいて、前記迂回経路用のネットワーク回線に関わ
るルーティング情報を生成する手段を有し、前記現用系
および予備系の中継部の各中継処理部および迂回経路用
中継処理部は、前記迂回経路用のネットワーク回線に関
わるルーティング情報に従って、障害が生じた予備系の
中継部の中継処理部を迂回するように中継処理を行うこ
とを特徴とする。In order to achieve the above object, a router according to the present invention comprises a management unit for managing routing information, and a data packet inputted according to the routing information managed by the management unit. A router device that has two sets of relay units each having a plurality of relay processing units connected to each other, one of which is a working system, and the other of which is a redundant system, which is connected to a network line. Connected to one relay processing unit of the relay unit of the active system and one relay processing unit of the standby system corresponding to the relay processing unit, and connected to the relay processing unit of the connected relay unit of the active system and the standby system. A plurality of line control units for selectively controlling one of the relay processing units of the relay unit, and controlling communication between network lines connected to the relay processing unit to be controlled; When an abnormality occurs in the relay processing unit of the relay unit, the relay processing unit to be controlled by each line control unit is changed from the relay processing unit of the active relay unit to the relay processing unit of the standby system relay unit. A switching unit for switching, wherein the relay unit of the working system and the relay unit of the standby system are respectively included in a line controller for a detour path connected to a network line for a detour path, a line controller for a detour path, and the relay unit. A relay processing unit for a bypass route connected to the relay processing unit, wherein each management unit of the working system and the standby system relay unit is related to the network circuit for the bypass route based on a unified rule. Means for generating routing information, wherein each of the relay processing units of the active and standby relay units and the relay processing unit for the detour path follow the routing information related to the network line for the detour path, and And performing relay processing so as to bypass the relay processor of the relay of a standby system that occurs.
【0010】本発明のルータ装置では、二重化構成時
に、同一構成の中継部を現用系および予備系として二重
化し、外部のネットワーク回線に接続される各回線制御
部に各系の対応する中継処理部を接続するため、各系の
管理部から見たネットワークの構成は同一となる。ま
た、各系の中継部では、追加した迂回経路用のネットワ
ーク回線に関わるルーティング情報を両系で統一された
規則に基づいて生成し、異常により次の転送先の中継処
理部が他系の中継処理部となった場合、前記迂回経路用
のネットワーク回線に関わるルーティング情報に従い中
継処理を行う。このため、本発明のルータ装置では、一
重化構成時と、二重化構成時の現用系および予備系にお
いて管理者が異なる情報(ルーティング情報やネットワ
ーク構成定義情報)を設定する必要がない。なお、本発
明のルータ装置では、1つの中継処理部に複数の回線制
御部を接続することも可能である。In the router device of the present invention, in the duplex configuration, the relay unit having the same configuration is duplicated as the working system and the standby system, and each line control unit connected to the external network line has a corresponding relay processing unit. Are connected, the network configuration is the same as seen from the management unit of each system. In addition, the relay unit of each system generates routing information on the added detour route network line based on the rules unified by both systems, and the relay processing unit of the next transfer destination relays the relay system of the other system due to an error. When it becomes a processing unit, it performs a relay process in accordance with the routing information relating to the network line for the bypass route. Therefore, in the router device of the present invention, it is not necessary for the administrator to set different information (routing information and network configuration definition information) in the active system and the standby system in the single configuration and the dual configuration. In the router device of the present invention, a plurality of line control units can be connected to one relay processing unit.
【0011】[0011]
【発明の実施の形態】以下で、本発明の実施形態を、図
面を用いて説明する。Embodiments of the present invention will be described below with reference to the drawings.
【0012】図1に、本実施形態に係る一重化構成のル
ータ装置の構成を示す。図でルータ装置は、ルータ管理
部30、ディスク装置31、中継部32,33、回線制
御部34,35を有する。管理部30は主プロセッサを
有し、ルータ装置全体を管理するとともにネットワーク
構成定義情報からルーティングテーブルを作成する。ル
ーティングテーブルには、TCP/IPプロトコルのI
Pアドレスなどが設定される。管理部30は、ハードウ
エア立ち上げ時に、自装置の構成(一重化構成、二重化
構成、現用系/予備系)をハードウエア構成から自動的
に認識する機能を有する。中継処理部32,33は、中
継処理を行うプロセッサを有し、送られるパケットに対
しネットワーク層(レイヤ3)の中継処理を行う。この
中継処理には、管理部30により作成されたルーティン
グテーブルが用いられる。回線制御部34,35は、中
継部32,33とネットワーク間の通信を制御するもの
である。なお、ここでは、回線制御部34が例えば1.
5Mbit/secの転送速度を有するWANの専用線を制御
するポート、回線制御部35がCSMA/CD (Carrie
r Sense Multiple Access with Collision Detection)
方式で回線を制御するLANポートとする。FIG. 1 shows a configuration of a router device having a single configuration according to the present embodiment. In the figure, the router device has a router management unit 30, a disk device 31, relay units 32 and 33, and line control units 34 and 35. The management unit 30 has a main processor, manages the entire router device, and creates a routing table from network configuration definition information. The routing table contains the TCP / IP protocol I
A P address and the like are set. The management unit 30 has a function of automatically recognizing the configuration of its own device (single configuration, duplex configuration, active / standby system) from the hardware configuration when starting up the hardware. Each of the relay processing units 32 and 33 has a processor that performs a relay process, and performs a relay process of a network layer (layer 3) on a transmitted packet. The routing table created by the management unit 30 is used for this relay processing. The line controllers 34 and 35 control communication between the relays 32 and 33 and the network. Here, for example, the line control unit 34 operates as follows.
A port for controlling a dedicated line of a WAN having a transfer rate of 5 Mbit / sec, and a line control unit 35 are connected to a CSMA / CD (Carrie
r Sense Multiple Access with Collision Detection)
It is a LAN port that controls the line in the system.
【0013】管理部30は、ディスク装置31からネッ
トワーク構成定義情報を読み込み、中継処理のためのル
ーティングテーブルを作成する。本実施形態でのルーテ
ィングテーブルの作成には、スタティックルーティング
のみが使用される。なお、ネットワーク構成定義情報に
は、一重化構成時の情報である自ルータ装置に関する情
報、接続されるネットワークに関する情報、経路制御に
関する情報の他に、二重化構成時に迂回経路用として追
加されるネットワークの情報が含まれている。管理部3
0で作成されたルーティングテーブルは、ルータバス3
1を介して各中継処理部32,33に送られる。中継処
理部32,33は、送られたルーティングテーブルの情
報を元にパケットの中継処理を行う。回線制御部34,
35にまたがって行われる通信では、中継処理部32,
33間でルータバス31を介したデータ転送が行われ
る。The management unit 30 reads network configuration definition information from the disk device 31 and creates a routing table for relay processing. In the present embodiment, only the static routing is used to create the routing table. The network configuration definition information includes, in addition to the information on the own router device, the information on the connected network, and the information on the route control, which are the information at the time of the unified configuration, the information of the network added as the bypass route in the duplex configuration Information is included. Management unit 3
0, the routing table created by the router bus 3
1 to each of the relay processing units 32 and 33. The relay processing units 32 and 33 relay the packet based on the information of the routing table sent. Line control unit 34,
35, the relay processing unit 32,
Data transfer is performed between the routers 33 via the router bus 31.
【0014】図2に、本実施形態に係る二重化構成のル
ータ装置の構成を示す。このルータ装置は、図1のルー
タ装置2台を、それぞれ現用系407、予備系408と
して用いて実現したものでる。FIG. 2 shows a configuration of a router device having a duplex configuration according to the present embodiment. This router is realized by using the two routers of FIG. 1 as an active system 407 and a standby system 408, respectively.
【0015】現用系407には、迂回経路用に、LAN
中継処理部403とLAN回線制御部405が設けら
れ、予備系408にも迂回経路用にLAN中継処理部4
04とLAN回線制御部406が設けられている。迂回
系路用のLAN回線制御部405,406は、 FDD
I(Fiber Distributed Data Interface)415により接
続される。FDDI415には管理端末420も接続さ
れる。現用系および予備系の他のLAN中継部409,
411は、切り替え装置402を介して、外部のネット
ワークに接続されたLAN回線制御部415と接続され
る。同様に、現用系および予備系のWAN中継部41
0,412は、切り替え装置401を介して、外部のネ
ットワークに接続されたWAN回線制御部416と接続
される。切り替え装置401,402は、現用系の中継
処理部の障害を監視し、障害検出時に、予備系の中継処
理部に切り替える機能を有する。The active system 407 has a LAN for the bypass route.
A relay processing unit 403 and a LAN line control unit 405 are provided.
04 and a LAN line control unit 406 are provided. The LAN line controllers 405 and 406 for the detour routes are FDD
They are connected by an I (Fiber Distributed Data Interface) 415. The management terminal 420 is also connected to the FDDI 415. Other LAN relay units 409 for the active system and the standby system,
411 is connected to a LAN line controller 415 connected to an external network via the switching device 402. Similarly, the active and standby WAN relay units 41
0 and 412 are connected to a WAN line control unit 416 connected to an external network via the switching device 401. The switching devices 401 and 402 have a function of monitoring a failure in the active relay processing unit and switching to a standby relay processing unit when a failure is detected.
【0016】現用系407の中継処理部409,410
が正常に処理を行っている場合、切り替え装置402,
401は、現用系の中継処理部409,410を、それ
ぞれ回線制御部415,416に接続している。また、
予備系408はこのとき待機状態となっている。例え
ば、LAN414のホストとWAN413のホストの間
で通信が行われているとすると、この時のホスト間の通
信経路は、413−401−410−409−402−
414という経路をとる。現用系のWAN中継処理部4
10に障害が起こった場合、その障害を感知した切り替
え装置401は、WAN回線制御部416に接続する中
継処理部を、現用系のWAN中継処理部410から予備
系のWAN中継処理部412に切り替える。これによ
り、上記ホスト間の通信経路は413−401−411
−404−406−407−405−403−409−
402−413という経路となる。The relay processing units 409 and 410 of the active system 407
Is normally operating, the switching device 402,
Reference numeral 401 connects the active relay processing units 409 and 410 to the line control units 415 and 416, respectively. Also,
The standby system 408 is in a standby state at this time. For example, if communication is performed between a host of the LAN 414 and a host of the WAN 413, the communication path between the hosts at this time is 413-401-410-409-402-.
The route 414 is taken. Active WAN relay processing unit 4
When a failure occurs in the switch 10, the switching device 401 that has detected the failure switches the relay processing unit connected to the WAN line control unit 416 from the active WAN relay processing unit 410 to the standby WAN relay processing unit 412. . Thereby, the communication path between the hosts is 413-401-411.
−404−406−407−405−403−409−
The path becomes 402-413.
【0017】次に、一重化構成時と二重化構成時とでル
ータ装置のルーティング処理がどのように変化するかに
ついて、図3〜図7を用いて説明する。Next, how the routing process of the router changes between the single configuration and the dual configuration will be described with reference to FIGS.
【0018】図3に示すネットワークでは、ホスト50
4とホスト505とがルータ装置503,501,50
2を介して接続されている。ルータ装置501は、図1
で説明した一重化構成のルータ装置であり、2つのイン
ターフェース(通信制御部)506,507を持つ。イ
ンターフェース506には“1”、インターフェース5
07には“2”のインターフェース番号が割り振られて
いる。また、外部のネットワークから見た場合、インタ
ーフェース506には“158.214.172.1”、インターフ
ェース507には“158.214.174.1”のIPアドレスが
割り振られている。In the network shown in FIG.
4 and the host 505 are the router devices 503, 501, and 50.
2 are connected. The router device 501 is configured as shown in FIG.
And has two interfaces (communication control units) 506 and 507. “1” is assigned to interface 506, interface 5
07 is assigned an interface number of “2”. When viewed from an external network, an IP address of “158.214.172.1” is assigned to the interface 506, and an IP address of “158.214.174.1” is assigned to the interface 507.
【0019】このネットワーク構成において、ホスト5
05とホスト504間で通信を行えるようにスタティッ
クルートの設定を行った場合、ルータ装置501で生成
されるルーティングテーブルは、図4のようになる。図
に示すようにルーティングテーブルには、宛先を示す宛
先アドレス、次の転送先を示すネクストホップアドレス
と、データを送出する自装置のインターフェースのイン
ターフェース番号とからなるルーティング情報が設定さ
れる。宛先アドレスとネクストホップアドレスはIPア
ドレスであり、ネットワークアドレスとホストアドレス
により特定される。ルータ装置502,503にも、ホ
スト505とホスト504間の通信を可能とする同様の
ルーティングテーブルが設定される。In this network configuration, the host 5
When a static route is set so that communication can be performed between the host device 505 and the host 504, the routing table generated by the router device 501 is as shown in FIG. As shown in the figure, the routing table is set with routing information including a destination address indicating a destination, a next hop address indicating a next transfer destination, and an interface number of an interface of the own device that transmits data. The destination address and the next hop address are IP addresses, and are specified by a network address and a host address. A similar routing table that enables communication between the host 505 and the host 504 is also set in the router devices 502 and 503.
【0020】ルータ装置501は、図4のルーティング
テーブルに従いパケットの中継を行う。パケットが入力
されるとルータ装置501は、入力されたパケットの宛
先アドレスを参照し、宛先に対応するネクストホップア
ドレスとインターフェース番号を特定する。そして、特
定したインターフェースから、特定したネクストホップ
アドレスのルータ装置へ上記パケットを送出する。The router 501 relays a packet according to the routing table shown in FIG. When a packet is input, the router 501 refers to the destination address of the input packet and specifies the next hop address and interface number corresponding to the destination. Then, the packet is transmitted from the specified interface to the router device having the specified next hop address.
【0021】図3におけるルータ装置501を、図2で
説明した二重化構成とした場合を図5に示す。図5で、
二重化されたルータ装置を構成する現用系703と予備
系704は、図3で説明したインターフェース506,
507を共用する。また、現用系703と予備系704
は、それぞれ増設されたインターフェース703,70
4により、迂回経路用のFDDIに接続されている。増
設されたインターフェース703,704には、共に
“3”のインターフェース番号が割り振られている。こ
の場合、現用系703と予備系704の各ルーティング
テーブルは、それぞれ図6、図7に示す内容に変更する
必要がある。図6と図7において、図4と異なる点は、
一重化構成時の経路を示すルーティング情報(項番1、
3、5、7)に、中継処理部切り替え時の迂回経路を示
すルーティング情報(項番2、4、6、8)が追加され
ている点である。現用系703と予備系704の各中継
処理部は、通信制御部より入力したパケットの次の転送
先となる中継処理部が他系の中継処理部となる場合に限
り、迂回経路を示すルーティング情報に従いパケットの
配送を行う。FIG. 5 shows a case where the router device 501 in FIG. 3 has the duplex configuration described in FIG. In FIG.
The active system 703 and the standby system 704 constituting the duplicated router device include the interface 506 and the interface 506 described in FIG.
507 is shared. In addition, the active system 703 and the standby system 704
Are the added interfaces 703 and 70, respectively.
4 is connected to the FDDI for the detour route. An interface number of “3” is assigned to the added interfaces 703 and 704. In this case, the routing tables of the active system 703 and the standby system 704 need to be changed to the contents shown in FIGS. 6 and 7, respectively. 6 and 7 are different from FIG.
Routing information indicating a route in a single configuration (item number 1,
3, 5, 7) is added with routing information (item numbers 2, 4, 6, 8) indicating a detour path at the time of switching the relay processing unit. Each of the relay processing units of the active system 703 and the standby system 704 performs routing information indicating a detour route only when a relay processing unit that is a next transfer destination of a packet input from the communication control unit is a relay processing unit of another system. The packet is delivered according to the following.
【0022】現用系703のルーティングテーブル(図
6)と、予備系704のルーティングテーブル(図7)
との違いは、迂回経路用のルーティング情報のネクスト
ホップアドレスが異なる点だけである。迂回経路用のル
ーティング情報は、一重化構成時のルーティング情報に
対して、迂回経路FDDIのネットワークアドレスと、
迂回経路FDDIにより接続される他系のホストアドレ
スと、通信制御部のインターフェース番号とを用いた変
更を行うことで得られる。本実施形態では、固定的に、
現用系のホストアドレスを“1”、予備系のホストアド
レスを“2”、迂回経路用の2つのインターフェースの
インターフェース番号を“3”とし、迂回経路FDDI
のネットワークアドレスも固定とすることで、迂回経路
用のルーティング情報を自動的に生成できるようにして
いる。The routing table of the active system 703 (FIG. 6) and the routing table of the standby system 704 (FIG. 7)
The only difference is that the next hop address of the bypass route routing information is different. The routing information for the bypass route is different from the routing information in the unified configuration in that the network information of the bypass route FDDI and
It can be obtained by performing a change using the host address of another system connected by the bypass route FDDI and the interface number of the communication control unit. In this embodiment, fixedly,
The host address of the active system is “1”, the host address of the standby system is “2”, the interface numbers of the two interfaces for the bypass route are “3”, and the bypass route FDDI
Is fixed, so that routing information for a detour route can be automatically generated.
【0023】図8に、装置立ち上げ時からルーティング
テーブルを作成するまでの管理部の処理の流れを示す。FIG. 8 shows the flow of processing of the management unit from the start of the apparatus to the creation of a routing table.
【0024】装置立ち上げ時に管理部は、まず、管理端
末420の接続の有無を検出し、自装置が一重化構成と
二重化構成のいずれであるかを判別する(S1)。一重
化構成の場合にはネットワーク構成定義情報から図4の
形式のルーティングテーブルを作成し(S7)、作成し
たルーチングテーブルを各中継処理部へ配布する(S1
0)。なお、ここでのルーティングテーブルの生成で
は、ネットワーク構成定義情報に含まれる迂回経路用の
ネットワークに関する情報は無視する。When the apparatus is started up, the management unit first detects whether or not the management terminal 420 is connected, and determines whether the apparatus is in a single configuration or a dual configuration (S1). In the case of a single configuration, a routing table in the format of FIG. 4 is created from the network configuration definition information (S7), and the created routing table is distributed to each relay processing unit (S1).
0). In the generation of the routing table here, the information on the network for the detour route included in the network configuration definition information is ignored.
【0025】一方、二重化構成の場合には、自装置が現
用系と予備系のいずれであるかを判断して(S2)、現
用系であった場合には自装置のホストアドレスを“1”
に設定し(S3)、予備系であった場合には自装置のホ
ストアドレスを“2”に設定する(S4)。設定したホ
ストアドレスと、予め構成定義情報に設定されてある迂
回経路のネットワークアドレスとを組み合わせて、迂回
経路用FDDIに接続される自装置のIPアドレスを決
定する(S5)。そして、迂回経路用FDDIに接続さ
れる、インターフェース番号が“3”のインターフェー
スに対し、決定したIPアドレスを割り当てる。次に、
一重化構成の時と同じネットワーク構成定義情報よりル
ーティングテーブルを作成し(S7)、作成したルーテ
ィングテーブルに対し、その各ルーティング情報のネク
ストホップアドレスを他系装置のIPアドレスに変更し
たエントリを追加することで図6の形式のルーティング
テーブルを作成する(S9)。最後に、作成したルーテ
ィングテーブルを各中継処理部に配布する(S10)。
ここで、他系装置のIPアドレスは、自装置のIPアド
レスのホストアドレスを“1”から“2”またはその逆
に置き換えることにより得られる。なお、二重化構成の
ルータ装置を一重化構成に変える場合にも、以上の処理
により、同じネットワーク構成定義情報からルーティン
グテーブルが作成される。On the other hand, in the case of the duplex configuration, it is determined whether the own device is the active system or the standby system (S2), and if it is the active system, the host address of the own device is set to "1".
(S3), and if it is a standby system, the host address of its own device is set to "2" (S4). By combining the set host address and the network address of the bypass route preset in the configuration definition information, the IP address of the own device connected to the bypass FDDI is determined (S5). Then, the determined IP address is assigned to the interface having the interface number “3”, which is connected to the FDDI for the bypass route. next,
A routing table is created from the same network configuration definition information as in the single configuration (S7), and an entry in which the next hop address of each piece of routing information is changed to the IP address of the other device is added to the created routing table. This creates a routing table in the format of FIG. 6 (S9). Finally, the created routing table is distributed to each relay processing unit (S10).
Here, the IP address of the other device is obtained by replacing the host address of the IP address of the own device from “1” to “2” or vice versa. Note that, even when the router device having the duplex configuration is changed to the single configuration, the routing table is created from the same network configuration definition information by the above processing.
【0026】以上のように、本実施形態のルータ装置で
は、図10に示した処理を行うことにより、一重化構成
時と二重化構成時で同一のネットワーク構成定義情報を
使用することができ、二重化構成時にも現用系および予
備系でも同じネットワーク構成定義情報を使用すること
ができる。これにより、構成に応じて変化し煩雑となる
スタティックルートの設定を、利用者によるネットワー
ク構成定義情報の更新なしに自動的に行うことができ
る。As described above, in the router of the present embodiment, by performing the processing shown in FIG. 10, the same network configuration definition information can be used in the simplex configuration and the duplex configuration. The same network configuration definition information can be used for both the active system and the standby system during configuration. This makes it possible to automatically set a complicated static route that changes depending on the configuration without updating the network configuration definition information by the user.
【0027】なお、本実施形態は、接続されるネットワ
ークの種類に対応した中継処理部、通信制御部、切り替
え装置を設けることで、任意の種類のネットワークを任
意の数接続するルータ装置にも適用できる。また、比較
的低速なネットワークに接続された複数の回線制御部を
1つの中継処理部に接続して、1つの中継処理部が複数
のネットワークのパケットを処理するようにしてもよ
い。また、一重化構成、二重化構成の判別は、管理端末
420から送られるコマンドや、ルータ装置の構成が設
定されるスイッチの設定状態に応じて行うようにしても
よい。The present embodiment is also applicable to a router device for connecting an arbitrary number of networks of any type by providing a relay processing unit, a communication control unit, and a switching device corresponding to the type of network to be connected. it can. Further, a plurality of line controllers connected to a relatively low-speed network may be connected to one relay processor, and one relay processor may process packets of a plurality of networks. Further, the determination of the single configuration or the double configuration may be performed according to a command transmitted from the management terminal 420 or a setting state of a switch in which the configuration of the router device is set.
【0028】[0028]
【発明の効果】本発明によれば、一重化構成時と、二重
化構成時の現用系および予備系において異なる情報を設
定する必要のないルータ装置を提供することができる。According to the present invention, it is possible to provide a router device which does not need to set different information in the active system and the standby system in the single configuration and the duplex configuration.
【図1】 本発明の実施形態に係る一重化構成のルータ
装置のブロック図。FIG. 1 is a block diagram of a router device having a single configuration according to an embodiment of the present invention.
【図2】 本発明の実施形態に係る二重化構成のルータ
装置のブロック図。FIG. 2 is a block diagram of a router device having a redundant configuration according to the embodiment of the present invention.
【図3】 一重化構成のルータ装置を用いたネットワー
ク構成例の図。FIG. 3 is a diagram of an example of a network configuration using a router device having a single configuration.
【図4】 図3のルータ装置601のルーティングテー
ブルを示した図。FIG. 4 is a diagram showing a routing table of the router device 601 in FIG.
【図5】 図3のルータ装置601を二重化構成とした
場合の図。FIG. 5 is a diagram when the router device 601 in FIG. 3 has a duplex configuration.
【図6】 図5の現用系のルーティングテーブルを示し
た図。FIG. 6 is a diagram showing a working routing table of FIG. 5;
【図7】 図5の予備系のルーティングテーブルを示し
た図。FIG. 7 is a diagram showing a standby routing table of FIG. 5;
【図8】 ルーティングテーブルを作成するための管理
部の処理の流れを示したフローチャート。FIG. 8 is a flowchart showing a flow of processing of a management unit for creating a routing table.
【図9】 従来の一重化構成のルータ装置のブロック
図。FIG. 9 is a block diagram of a conventional router device having a single configuration.
【図10】 図9を2台用いて中継処理部を二重化した
二重化構成のルータ装置のブロック図。FIG. 10 is a block diagram of a router device having a duplex configuration in which the relay processing unit is duplicated by using two units in FIG. 9;
30…ルータ装置における管理部 31…ディスク装置 32…中継処理部 34…回線制御部 36…ルータバス 401…中継処理部切り替え装置 407…現用系ルータ装置 408…予備系ルータ装置 413…WAN回線 414…LAN回線 415…迂回経路用FDDI 504…端末 Reference Signs List 30 management unit in router device 31 disk device 32 relay processing unit 34 line control unit 36 router bus 401 relay processing unit switching device 407 active router device 408 standby router device 413 WAN line 414 LAN line 415: FDDI for detour route 504: Terminal
Claims (4)
該管理部に管理されているルーティング情報に従って、
入力されたデータパケットに中継処理を施す、互いに接
続された複数の中継処理部とを有する中継部を二組、一
方を現用系、他方を予備系として二重化したルータ装置
であって、 各々、ネットワーク回線に接続すると共に、前記現用系
の中継部の一つの中継処理部および当該中継処理部に対
応する予備系の中継部の一つの中継処理部に接続し、接
続した現用系の中継部の中継処理部と予備系の中継部の
中継処理部の内の一方を選択的に制御対象とし、制御対
象とした中継処理部と接続したネットワーク回線の間の
通信を制御する複数の回線制御部と、 前記現用系の中継部の中継処理部に異常が生じた場合、
前記各回線制御部が制御対象とする中継処理部を、前記
現用系の中継部の中継処理部から予備系の中継部の中継
処理部に切り替える切り替え部とを備え、 前記現用系および予備系の中継部は、各々、迂回経路用
のネットワーク回線に接続した迂回経路用回線制御部
と、迂回経路用回線制御部と当該中継部に含まれる中継
処理部とに接続した迂回経路用中継処理部とを有し、 前記現用系および予備系の中継部の各管理部は、統一さ
れた規則に基づいて、前記迂回経路用のネットワーク回
線に関わるルーティング情報を生成する手段を有し、 前記現用系および予備系の中継部の各中継処理部および
迂回経路用中継処理部は、前記迂回経路用のネットワー
ク回線に関わるルーティング情報に従って、障害が生じ
た予備系の中継部の中継処理部を迂回するように中継処
理を行うことを特徴とするルータ装置。1. A management unit for managing routing information, and according to routing information managed by the management unit,
Two sets of relay units having a plurality of interconnected relay processing units for performing a relay process on an input data packet, one of which is an active system and the other is a redundant router device which is a standby system. Connected to a line, connected to one relay processing unit of the relay unit of the active system and one relay processing unit of the standby system corresponding to the relay processing unit, and relayed by the connected relay unit of the active system. A plurality of line control units for selectively controlling one of the processing unit and the relay processing unit of the standby relay unit as a control target, and controlling communication between a network line connected to the relay processing unit to be controlled; When an abnormality occurs in the relay processing unit of the relay unit of the working system,
A switching unit that switches a relay processing unit to be controlled by each of the line control units from a relay processing unit of the active relay unit to a relay processing unit of a standby relay unit; and The relay unit includes a detour path line control unit connected to the detour path network line, a detour path line processing unit connected to the detour path line control unit, and a relay processing unit included in the relay unit. Each management unit of the relay unit of the working system and the protection system has means for generating routing information related to the network line for the detour path based on a unified rule, Each of the relay processing units of the standby system relay unit and the detour route relay processing unit bypasses the relay processing unit of the faulty standby system relay unit according to the routing information on the detour path network line. Router device and performing relay processing to.
かを判別し、二重化構成の時に自中継部が現用系と予備
系のいずれであるかを判別する手段を有し、 前記ルーティング情報を生成する手段は、前記判別の結
果に応じて、前記迂回経路用のネットワーク回線に関わ
るルーティング情報の生成を行うことを特徴とするルー
タ装置。2. The router device according to claim 1, wherein it is determined whether the configuration of the relay unit is a single configuration or a duplex configuration. A router having means for determining which of them is the routing information, wherein the means for generating the routing information generates routing information relating to the network line for the detour route according to the result of the determination. apparatus.
別に割り振られたネットワークアドレスと、前記ネット
ワーク回線に接続された各装置に個別に割り振られたホ
ストアドレスとにより定まるIPアドレスと、前記通信
制御手段に割り振られたインターフェース番号とからな
り、 前記現用系および予備系の中継部の各管理部は、前記現
用系および予備系の中継部間の通信を可能とする2つの
回線制御部に同一のインターフェース番号を割り振り、
前記迂回経路用のネットワーク回線に所定のネットワー
クアドレスを割り振り、前記迂回経路用のネットワーク
回線により接続される前記現用系の中継部に同一のホス
トアドレスを割り振り、前記迂回経路用のネットワーク
回線により接続される前記予備系の中継部にも前記ホス
トアドレスと異なる同一のホストアドレスを割り振る手
段を有し、 前記ルーティング情報を生成する手段は、前記統一され
た規則として、自中継部が二重化構成の時に、前記迂回
経路用回線制御部のインターフェース番号と、前記迂回
経路用のネットワーク回線のネットワークアドレスと、
他系の中継部の前記ホストアドレスとを用いて、前記迂
回経路用のネットワーク回線に関わるルーティング情報
を生成することを特徴とするルータ装置。3. The router device according to claim 1, wherein the routing information is individually assigned to a network address individually assigned to each of the network lines, and to each device connected to the network line. The management unit of the active and standby relay units includes an IP address determined by a host address and an interface number assigned to the communication control unit. The management unit of the active and standby relay units communicates between the active and standby relay units. The same interface number is assigned to two line control units that enable
A predetermined network address is assigned to the bypass route network line, and the same host address is assigned to the working relay unit connected by the bypass route network line, and is connected by the bypass route network line. The spare relay unit also has means for allocating the same host address different from the host address, and the means for generating routing information, as the unified rule, when its own relay unit has a duplex configuration, An interface number of the detour path line controller, a network address of the detour path network line,
A router device, which generates routing information relating to the detour path network line using the host address of a relay unit of another system.
系の場合、自中継部に現用系用の所定のホストアドレス
を割り振り、他系の中継部に予備系用の所定のホストア
ドレスを割り振り、自装置が予備系の場合、自系に予備
系用の前記ホストアドレスを割り振り、他系に現用系用
の前記ホストアドレスを割り振ることを特徴とするルー
タ装置。4. The router device according to claim 3, wherein said means for allocating a host address allocates a predetermined host address for an active system to the own relay unit when the own relay unit is an active system, and Assigning a predetermined host address for the standby system to the relay unit, and when the own device is the standby system, allocating the host address for the standby system to the own system and allocating the host address for the active system to the other system. Characteristic router device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8216412A JPH1065725A (en) | 1996-08-16 | 1996-08-16 | Router device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8216412A JPH1065725A (en) | 1996-08-16 | 1996-08-16 | Router device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH1065725A true JPH1065725A (en) | 1998-03-06 |
Family
ID=16688163
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP8216412A Pending JPH1065725A (en) | 1996-08-16 | 1996-08-16 | Router device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH1065725A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2006030623A1 (en) * | 2004-09-16 | 2006-03-23 | Nec Corporation | Method for switching network connecting device using redundant protocol and pseudo-redundant configuring means, and network system |
| KR100579130B1 (en) | 2003-12-27 | 2006-05-12 | 한국전자통신연구원 | Routing Entry Information Duplication Method for Router Redundancy |
| KR100738544B1 (en) * | 2005-12-27 | 2007-07-11 | 삼성전자주식회사 | Method and apparatus for forwarding cache entry in redundant router |
-
1996
- 1996-08-16 JP JP8216412A patent/JPH1065725A/en active Pending
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100579130B1 (en) | 2003-12-27 | 2006-05-12 | 한국전자통신연구원 | Routing Entry Information Duplication Method for Router Redundancy |
| WO2006030623A1 (en) * | 2004-09-16 | 2006-03-23 | Nec Corporation | Method for switching network connecting device using redundant protocol and pseudo-redundant configuring means, and network system |
| US7603480B2 (en) | 2004-09-16 | 2009-10-13 | Nec Corporation | System using pseudo redundant configurator to switch network devices between operating and standby states |
| KR100738544B1 (en) * | 2005-12-27 | 2007-07-11 | 삼성전자주식회사 | Method and apparatus for forwarding cache entry in redundant router |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9276834B2 (en) | Load sharing and redundancy scheme | |
| US7016299B2 (en) | Network node failover using path rerouting by manager component or switch port remapping | |
| US4884263A (en) | Packet-switched communications network with parallel virtual circuits for re-routing message packets | |
| US5805924A (en) | Method and apparatus for configuring fabrics within a fibre channel system | |
| JP3945276B2 (en) | System and management system | |
| JP3945297B2 (en) | System and management system | |
| US8249069B2 (en) | Forwarding multi-destination packets in a network with virtual port channels | |
| JP4164704B2 (en) | Network connection device switching method and network system using redundancy protocol and pseudo-redundant configuration means | |
| EP1146429A1 (en) | Modular computer backplane switch with dynamic bus allocation | |
| JP2002057682A (en) | Network interface switching method and computer connectable to network | |
| JPH10322363A (en) | Interface parallel relay method and apparatus for increasing transfer bandwidth | |
| CN102025528A (en) | Address management method, device and system | |
| JP2003051835A (en) | Network connection method, virtual network connection device, and network connection system using the device | |
| JP2008228150A (en) | Switch device, and frame switching method and program thereof | |
| JP2020080528A (en) | Control groups and how they work | |
| JP4309321B2 (en) | Network system operation management method and storage apparatus | |
| JPH1065725A (en) | Router device | |
| JP3999353B2 (en) | Method and system for determining communication path in computer network, and recording medium on which program is recorded | |
| JP3447674B2 (en) | Automatic route selection method and method | |
| JP3304177B2 (en) | Inter-line repeater | |
| US6801498B1 (en) | Asynchronous transfer mode communication equipment and method for switching virtual path of same | |
| JP2000324138A (en) | How to support shortcuts | |
| JP2000004231A (en) | Transmission equipment for controlling multiplexed terminal route | |
| JPH06348631A (en) | Information network control method | |
| JP3636931B2 (en) | Redundant line interface controller |