JP2012142710A - System and method of lan i/f switchover control, and program - Google Patents

System and method of lan i/f switchover control, and program Download PDF

Info

Publication number
JP2012142710A
JP2012142710A JP2010292833A JP2010292833A JP2012142710A JP 2012142710 A JP2012142710 A JP 2012142710A JP 2010292833 A JP2010292833 A JP 2010292833A JP 2010292833 A JP2010292833 A JP 2010292833A JP 2012142710 A JP2012142710 A JP 2012142710A
Authority
JP
Japan
Prior art keywords
layer
switch
working
address
lan
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.)
Granted
Application number
JP2010292833A
Other languages
Japanese (ja)
Other versions
JP5588857B2 (en
Inventor
Ryota Muramatsu
亮太 村松
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 Systems Ltd
Original Assignee
Hitachi Systems 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 Systems Ltd filed Critical Hitachi Systems Ltd
Priority to JP2010292833A priority Critical patent/JP5588857B2/en
Publication of JP2012142710A publication Critical patent/JP2012142710A/en
Application granted granted Critical
Publication of JP5588857B2 publication Critical patent/JP5588857B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a more reliable system by checking whether or not a G-ARP has reached an L3SW and resending the G-ARP if the G-ARP has not reached the L3SW.SOLUTION: For switchover from an active LAN I/F associated with active IP addresses to a standby LAN I/F, an L3SW connectivity check section 103 can determine whether a G-ARP with an active IP address has updated an ARP table of a layer 3 switch (L3SW) by checking connectivity with PING from all of the active IP addresses to the layer 3 switch (L3SW). If the G-ARP has not reached the layer 3 switch (L3SW), a standby LAN I/F switching section 104 reoutputs a G-ARP by restarting the active IP addresses and performs a PING connectivity check.

Description

本発明は、現用のLANI/Fを予備のLANI/Fに切り替える技術に係り、特に、現用LANI/Fから予備LANI/Fへの切り替えに伴う、通信の継続可否の確認を高信頼に行うのに好適な技術に関するものである。   The present invention relates to a technology for switching a working LAN I / F to a spare LAN I / F, and particularly, to perform reliable confirmation of whether or not communication can be continued when switching from a working LAN I / F to a spare LAN I / F. The present invention relates to a suitable technique.

現在、コンピュータシステムの多くはネットワーク接続され、このようなネットワークにおいても冗長構成が求められている。   Currently, many computer systems are connected to a network, and a redundant configuration is also required in such a network.

一般的にネットワークの冗長化では、現用LANI/Fと予備LANI/Fを設け、現用LANI/Fに現用IPアドレスを付与し、現用LANI/Fからの通信が不可となった場合、現用IPアドレスを予備LANI/Fへと切り替える。   In general, in the case of network redundancy, when a working LAN I / F and a spare LAN I / F are provided, a working IP address is assigned to the working LAN I / F, and communication from the working LAN I / F becomes impossible, the working IP address To the spare LAN I / F.

このような現用LANI/Fから予備LANI/Fへの切り替えを、効率的に行う従来技術として、例えば、特許文献1に記載のものがある。   For example, Patent Document 1 discloses a conventional technique for efficiently performing switching from the current LAN I / F to the backup LAN I / F.

この技術では、現用IPアドレスを現用LANI/Fから予備LANI/Fに切り替えた際に、OSI(Open System Interface)参照モデルにおけるネットワーク層(レイヤ3プロトコル)の処理を行うレイヤ3スイッチ(以下、「L3SW」と記載)に対して、イーサネット(登録商標)通信のために用いられるIPアドレスとMACアドレスの対照表であるARP(Address Resolution Protocol)テーブルを更新するためのG−ARP(Gratuitous−ARP)を送出する。このG−ARPはARPパケットの一つであり、主としてホストにIPアドレスがアサインされる際に他のホストが すでに同じIPアドレスを持っていないかどうかを確認するために使用される。   In this technique, when the working IP address is switched from the working LAN I / F to the spare LAN I / F, a layer 3 switch (hereinafter referred to as “layer system protocol”) that performs processing of the network layer (layer 3 protocol) in the OSI (Open System Interface) reference model. G-ARP (Gratuituous-ARP) for updating an ARP (Address Resolution Protocol) table that is a comparison table of IP addresses and MAC addresses used for Ethernet (registered trademark) communication Is sent out. This G-ARP is one of the ARP packets, and is mainly used to check whether another host already has the same IP address when an IP address is assigned to the host.

しかし、切り替えの際にL3SWのARPテーブルを更新するためにG−ARPを出力する際、G−ARPは、宛先が現用IPアドレス自身であるため、以下のような問題がある。   However, when outputting G-ARP to update the ARP table of L3SW at the time of switching, G-ARP has the following problems because the destination is the working IP address itself.

すなわち、特許文献1記載の技術では、現用IPアドレスの予備LANI/F切り替え時に出力したG−ARPがL3SWに到達しているか否かを確認していないため、L3SW未達の際には通信の再開ができなくなる。   That is, in the technique described in Patent Document 1, it is not confirmed whether or not the G-ARP output at the time of switching the backup LAN I / F of the working IP address has reached the L3SW. It cannot be resumed.

特開2000−299691号公報JP 2000-299691 A

解決しようとする問題点は、従来の技術では、現用IPアドレスの予備LANI/F切り替え時に出力したG−ARPがL3SWに到達しているか否かを確認していないため、L3SW未達の際には通信の再開ができなくなる点である。   The problem to be solved is that in the conventional technology, it is not confirmed whether or not the G-ARP output at the time of switching the backup LAN I / F of the working IP address has reached the L3SW. Is the point where communication cannot be resumed.

本発明の目的は、これら従来技術の課題を解決し、G−ARPがL3SWに到達しているか否かを確認するとともに、L3SW未達の場合には、G−ARPの再送を行うことにより、より信頼性の高いシステムを提供することである。   The object of the present invention is to solve these problems of the prior art, confirm whether or not G-ARP has reached L3SW, and perform retransmission of G-ARP when L3SW has not been reached. To provide a more reliable system.

上記目的を達成するため、本発明では、L3SWのARPテーブルを確認する際、現用LANI/F上にて起動している現用IPアドレスからL3SWへの疎通監視を行い、疎通不可となった場合には現用IPアドレスを予備LANI/Fにて起動を行うと共に、現用IPアドレスを予備LANI/Fに切り替えた際に出力されるG−ARPにより、L3SWのARPテーブルが更新されているかを確認するために、現用IPアドレスからL3SWにPINGを送信し、その応答が無い場合には現用IPアドレスのG−ARPはL3SWに未達として現用IPアドレスの再起動を行い、G−ARPの未達を防ぐことを特徴とする。   In order to achieve the above object, in the present invention, when checking the ARP table of the L3SW, the communication from the current IP address activated on the current LAN I / F is monitored to the L3SW, and the communication becomes impossible. Activates the working IP address in the backup LAN I / F and confirms whether the L3SW ARP table is updated by the G-ARP output when the working IP address is switched to the backup LAN I / F. In addition, when the PING is transmitted from the working IP address to the L3SW and there is no response, the G-ARP of the working IP address does not reach the L3SW and restarts the working IP address to prevent the G-ARP from being reached. It is characterized by that.

本発明によれば、現用IPアドレスの現用LANI/Fから予備LANI/Fへの切り替えの際に、全現用IPアドレスからL3SWに対してPINGによる疎通確認を行うことにより、現用IPアドレスのG−ARPがL3SWのARPテーブルを更新しているかを確認することができ、もし、G−ARPがL3SWに未達の場合、現用IPアドレスを再起動にてG−ARPを再出力し、PING疎通確認を行うことにより、G−ARP未達を原因とする障害を防ぐことができ、より信頼性の高いシステムを提供することが可能となる。   According to the present invention, when the working IP address is switched from the working LAN I / F to the backup LAN I / F, communication is confirmed by PING from all working IP addresses to the L3SW. It is possible to confirm whether the ARP is updating the ARP table of the L3SW. If the G-ARP has not reached the L3SW, the G-ARP is re-output by restarting the working IP address, and the PING communication confirmation By performing the above, it is possible to prevent a failure caused by failure to achieve G-ARP, and to provide a more reliable system.

本発明に係るLANI/F切替制御システムを設けたネットワークコンピュータ装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the network computer apparatus which provided the LAN I / F switching control system which concerns on this invention. 図1におけるLANI/F切替制御システムの本発明に係る第1の処理動作例を示すフローチャートである。2 is a flowchart showing a first processing operation example according to the present invention of the LAN I / F switching control system in FIG. 1. 図1におけるLANI/F切替制御システムの本発明に係る第2の処理動作例を示すフローチャートである。6 is a flowchart showing a second processing operation example according to the present invention of the LAN I / F switching control system in FIG. 1. 図1における第1のテーブル(table_IF)の構成例を示す説明図である。It is explanatory drawing which shows the structural example of the 1st table (table_IF) in FIG. 図1における第2のテーブル(table_IP)の構成例を示す説明図である。It is explanatory drawing which shows the structural example of the 2nd table (table_IP) in FIG. 図1におけるLANI/F切替制御システムの本発明に係る第3の処理動作例を示すシーケンス図である。It is a sequence diagram which shows the 3rd processing operation example which concerns on this invention of the LAN I / F switching control system in FIG. 図1におけるLANI/F切替制御システムの本発明に係る第4の処理動作例を示すシーケンス図である。It is a sequence diagram which shows the 4th processing operation example which concerns on this invention of the LAN I / F switching control system in FIG.

以下、図を用いて本発明を実施するための形態例を説明する。図1において、101はサーバやメインフレーム等のコンピュータ装置(図中「サーバ/メインフレーム」と記載)であり、第1のLAN(図中「NW_1」と記載)107と第2のLAN(図中「NW_2」と記載)115に接続されている。   Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings. In FIG. 1, reference numeral 101 denotes a computer device (described as “server / mainframe” in the drawing) such as a server or a mainframe, and includes a first LAN (described as “NW_1” in the drawing) 107 and a second LAN (shown in FIG. (Described as “NW — 2”) 115.

コンピュータ装置101は、CPU(Central Processing Unit)や主メモリ、表示装置、入力装置、外部記憶装置等を有するコンピュータ構成からなり、光ディスク駆動装置等を介してCD−ROM等の記憶媒体に記録されたプログラムやデータを外部記憶装置内にインストールした後、この外部記憶装置から主メモリに読み込みCPUで処理することにより、各処理部を実行する。   The computer device 101 has a computer configuration including a CPU (Central Processing Unit), a main memory, a display device, an input device, an external storage device, and the like, and is recorded on a storage medium such as a CD-ROM via an optical disk drive device or the like. After the program and data are installed in the external storage device, each processing unit is executed by reading it from the external storage device into the main memory and processing it by the CPU.

本例では、コンピュータ装置101は、プログラムされたコンピュータ処理を実行する機能として、I/F切替制御システム(図中「I/F切替システム」と記載)102を有し、このI/F切替制御システム102は、L3SW疎通確認処理部(図中「L3SW疎通確認処理」と記載)103と予備LANI/F切り替え処理部(図中「予備LANI/F切り替え処理」と記載)104を具備し、図示していない記憶装置に格納した第1のテーブル(図中「table_IF」と記載)105と第2のテーブル(図中「table_IP」と記載)106を用いて本発明のLANI/F切替制御システムとしてのコンピュータ処理を行う。   In this example, the computer apparatus 101 has an I / F switching control system (described as “I / F switching system” in the figure) 102 as a function for executing programmed computer processing, and this I / F switching control. The system 102 includes an L3SW communication confirmation processing unit (described as “L3SW communication confirmation processing” in the drawing) 103 and a spare LAN I / F switching processing unit (described as “backup LAN I / F switching processing” in the drawing). A LAN I / F switching control system according to the present invention using a first table (described as “table_IF” in the figure) 105 and a second table (described as “table_IP” in the figure) 106 stored in a storage device not shown. Perform computer processing.

また、コンピュータ装置101においては、第1のLAN107用に、現用LANI/F111と予備LANI/F112が設けられ、第2のLAN115用に、現用LANI/F120と予備LANI/F121が設けられ、それぞれ、LAN経由で、第1のレイヤ3スイッチ(図中「L3SW_1」と記載)113と第2のレイヤ3スイッチ(図中「L3SW_2」と記載)122と接続されている。   In the computer apparatus 101, a working LAN I / F 111 and a spare LAN I / F 112 are provided for the first LAN 107, and a working LAN I / F 120 and a spare LAN I / F 121 are provided for the second LAN 115, respectively. A first layer 3 switch (described as “L3SW_1” in the figure) 113 and a second layer 3 switch (described as “L3SW_2” in the figure) 122 are connected via a LAN.

現用LANI/F111は、第1のIPアドレス(図中「IP_1−1」と記載)108と第2のIPアドレス(図中「IP_1−2」と記載)109を有し、予備LANI/F112は、第3のIPアドレス(図中「IP_2−1」と記載)110を有し、また、現用LANI/F120は、第4のIPアドレス(図中「IP_3−1」と記載)116と第5のIPアドレス(図中「IP_3−2」と記載)117および第6のIPアドレス(図中「IP_3−3」と記載)118を有し、予備LANI/F121は、第7のIPアドレス(図中「IP_4−1」と記載)119を有している。   The working LAN I / F 111 has a first IP address (described as “IP — 1-1”) 108 and a second IP address (described as “IP — 1-2”) 109 in the figure, and a spare LAN I / F 112 includes , And the working LAN I / F 120 has a fourth IP address (described as “IP_3-1” in the figure) 116 and a fifth IP address (described as “IP — 2-1” in the figure) 110. IP address (denoted as “IP — 3-2”) 117 and a sixth IP address (denoted as “IP — 3-3” in the figure) 118, and the spare LAN I / F 121 has a seventh IP address (denoted in the figure). (Described as “IP — 4-1”) 119.

このような構成により、本発明のLANI/F切替制御システムとしてのI/F切替制御システム102を具備したコンピュータ装置101は、現用のLANインタフェースから予備のLANインタフェースへ切り替える際に、現用IPアドレス宛のG−ARPパケットを送出してレイヤ3スイッチのARPテーブルを更新する際に、まず、I/F切替制御システム102におけるL3SW疎通確認処理部103により、現用IPアドレスからレイヤ3スイッチ(L3SW_1,L3SW_2)113,122にPINGを送信して、応答が無ければ現用IPアドレス宛のG−ARPパケットが当該レイヤ3スイッチ(L3SW_1,L3SW_2)113,122に未達であると判断し、その場合には、予備LANインタフェース切り替え処理部104において、現用IPアドレス宛のG−ARPパケットの送出と、現用IPアドレスからレイヤ3スイッチ(L3SW_1,L3SW_2)113,122へのPINGの送信とを繰り返す。   With such a configuration, the computer apparatus 101 equipped with the I / F switching control system 102 as the LAN I / F switching control system of the present invention is addressed to the working IP address when switching from the working LAN interface to the spare LAN interface. When updating the ARP table of the layer 3 switch by sending the G-ARP packet, first, the L3SW communication confirmation processing unit 103 in the I / F switching control system 102 determines the layer 3 switch (L3SW_1, L3SW_2) from the current IP address. ) If PING is transmitted to 113, 122 and there is no response, it is determined that the G-ARP packet addressed to the working IP address has not reached the layer 3 switch (L3SW_1, L3SW_2) 113, 122. , Spare LAN interface switching In processing section 104, and the delivery of G-ARP packet destined working IP address, current IP address from the layer 3 switches (L3SW_1, L3SW_2) repeats the transmission of PING to 113,122.

これにより、G−ARPの未達を防ぐことができる。   Thereby, it is possible to prevent the G-ARP from being reached.

より詳細には、L3SW疎通確認処理部103は、現用IPアドレスからレイヤ3スイッチ(L3SW_1,L3SW_2)113,122にPINGを送信し、応答が予め定められた時間(T×N)内に有ればG−ARPパケットが当該レイヤ3スイッチ(L3SW_1,L3SW_2)113,122に到達していると判断し、予め定められた時間(T×N)内に応答が無ければG−ARPパケットが当該レイヤ3スイッチに未達であると判断し、予備LANインタフェース切り替え処理部104は、L3SW疎通確認処理部103がG−ARPパケットのレイヤ3スイッチ(L3SW_1,L3SW_2)113,122への未達を判断すると、現用IPアドレス宛のG−ARPパケットの送出と、現用IPアドレスからレイヤ3スイッチ(L3SW_1,L3SW_2)113,122へのPINGの送信とを繰り返すことで当該レイヤ3スイッチ(L3SW_1,L3SW_2)113,122へのG−ARPパケットの未達を防ぐと共に、当該PINGに対する応答が予め定められた時間(t×n×m)内に無ければ、G−ARPパケットの当該レイヤ3スイッチ(L3SW_1,L3SW_2)113,122への未達以外の傷害が発生していると判断して、エラー通知を出力する。   More specifically, the L3SW communication confirmation processing unit 103 transmits a PING from the working IP address to the layer 3 switches (L3SW_1, L3SW_2) 113, 122, and the response is within a predetermined time (T × N). For example, if it is determined that the G-ARP packet has reached the layer 3 switch (L3SW_1, L3SW_2) 113, 122, and there is no response within a predetermined time (T × N), the G-ARP packet is When the L3SW communication confirmation processing unit 103 determines that the G-ARP packet has not reached the layer 3 switches (L3SW_1 and L3SW_2) 113 and 122, the standby LAN interface switching processing unit 104 determines that the three switches have not been reached. Sending G-ARP packets addressed to the working IP address, and layer 3 switching from the working IP address. H (L3SW_1, L3SW_2) 113 and 122 are repeatedly transmitted to prevent the G-ARP packet from reaching the layer 3 switch (L3SW_1, L3SW_2) 113, 122, and a response to the PING in advance. If it is not within the predetermined time (t × n × m), it is determined that an injury other than the failure to reach the layer 3 switch (L3SW_1, L3SW_2) 113, 122 of the G-ARP packet has occurred, Output error notification.

以下、各図1〜図7を用いて、I/F切替制御システム102の構成と動作について、より具体的に説明を行う。   Hereinafter, the configuration and operation of the I / F switching control system 102 will be described more specifically with reference to FIGS.

コンピュータ装置101内に設けたI/F切替制御システム102は、L3SW疎通確認処理部103による第1のテーブル(table_IF)105を用いた処理と、予備LANI/F切替処理部104による第2のテーブル(table_IP)106を用いた処理を行っている。   The I / F switching control system 102 provided in the computer apparatus 101 includes a process using the first table (table_IF) 105 by the L3SW communication confirmation processing unit 103 and a second table by the backup LAN I / F switching processing unit 104. Processing using (table_IP) 106 is performed.

コンピュータ装置101は、2つネットワークに接続しており、第1のLAN107に対して、現用LANI/F111として、第1のIPアドレス108と第2のIPアドレス109の2つの現用IPアドレスを有し、予備LANI/F112として、第3のIPアドレス110を設けた冗長構成にて接続し、外部ネットワークへのゲートウェイは、第1のレイヤ3スイッチ113に設けた第1のIPアドレスゲートウェイ(図中「GW_1」と記載)114とする。   The computer apparatus 101 is connected to two networks, and has two working IP addresses, a first IP address 108 and a second IP address 109, as a working LAN I / F 111 for the first LAN 107. As a spare LAN I / F 112, a redundant configuration with the third IP address 110 is used, and the gateway to the external network is the first IP address gateway provided in the first layer 3 switch 113 (" GW_1 ”).

また、第2のLAN115に対しては、現用LANI/F120として、第4のIPアドレス116、第5のIPアドレス117、第6のIPアドレス118の3つの現用IPアドレスを有し、予備LANI/F121として、第7のIPアドレス119を設けた冗長構成にて接続し、外部ネットワークへのゲートウェイは、第2のレイヤ3スイッチ122に設けた第2のIPアドレスゲートウェイ(図中「GW_2」と記載)123とする。   The second LAN 115 has three working IP addresses, a fourth IP address 116, a fifth IP address 117, and a sixth IP address 118, as a working LAN I / F 120, and a spare LAN I / F. The F121 is connected in a redundant configuration provided with a seventh IP address 119, and the gateway to the external network is a second IP address gateway provided in the second layer 3 switch 122 ("GW_2" in the figure). ) 123.

以下、図2のフローチャートを用いて、L3SW疎通確認処理部103の処理を説明する。   Hereinafter, the processing of the L3SW communication confirmation processing unit 103 will be described with reference to the flowchart of FIG.

起動したLANI/Fの名称をキーとして、第1のテーブル105よりレイヤ3スイッチ(ゲートウェイ)のIPアドレスと、PING監視時間や再送間隔、および再送回数の指定値(N)を取得する(ステップ201)。ここでは、レイヤ3スイッチのIPアドレスとして第1のレイヤ3スイッチ113のIPアドレスを取得したものとする。   Using the name of the activated LAN I / F as a key, the IP address of the layer 3 switch (gateway), the PING monitoring time, the retransmission interval, and the designated value (N) of the number of retransmissions are acquired from the first table 105 (step 201). ). Here, it is assumed that the IP address of the first layer 3 switch 113 is acquired as the IP address of the layer 3 switch.

PING再送カウンタのリセット処理(i=0)を行った後(ステップ203)、第1のテーブル105より取得したIPアドレスの第1のレイヤ3スイッチ113に向けてPING送信を行う(ステップ204)。   After resetting the PING retransmission counter (i = 0) (step 203), PING transmission is performed toward the first layer 3 switch 113 having the IP address acquired from the first table 105 (step 204).

このPING送信に対して、予め第1のテーブル105において定められたPING監視時間指定値(T秒)以内に、第1のレイヤスイッチ113からのPING応答を受信するか否かを判定し(ステップ206)、受信した場合には(ステップ207)、予め定められた時間S(秒)待機した後(ステップ209)、再度、ステップ203,204の処理に戻り、再送回数カウンタのリセットとPING送信を行う。PING応答が返ってくる限りはこの処理を繰り返し行う。   In response to this PING transmission, it is determined whether or not a PING response from the first layer switch 113 is received within a specified PING monitoring time (T seconds) determined in the first table 105 (step 206) When received (step 207), after waiting for a predetermined time S (seconds) (step 209), the process returns to the processing of steps 203 and 204 again to reset the retransmission number counter and perform PING transmission. Do. This process is repeated as long as a PING response is returned.

ステップ206での判定処理の結果、第1のテーブル105において予め登録された監視時間以内にPING応答が無い場合、再送回数カウンタ(i)が、予め定められた再送回数指定値(N)に達しているか否かを判定する(ステップ210)。   As a result of the determination process in step 206, if there is no PING response within the monitoring time registered in advance in the first table 105, the retransmission number counter (i) reaches a predetermined retransmission number designation value (N). It is determined whether or not (step 210).

未達の場合、再送カウンタに加算(i=i+1)を行った後(ステップ211)、ステップ204の処理に戻り、直ちにPINGの再送を行う。   If not reached, the retransmission counter is incremented (i = i + 1) (step 211), then the processing returns to step 204, and the PING is immediately retransmitted.

ステップ210での判定処理の結果、再送回数カウンタが第1のテーブル105から取得した指定値(N)に達した場合には、コンピュータ装置101のOS(図中「ホスト/サーバ(OS)」と記載)213に対して停止コマンドを発行するI/F停止処理を実行し(ステップ212)、OS213から出力されるI/F停止処理終了メッセージを確認した後(ステップ214)、当該OS213に対して障害検知メッセージを出力するとともに(ステップ216)、予備LANI/F切り替え処理部104を起動して、処理を終了する(ステップ218)。   As a result of the determination process in step 210, when the retransmission counter reaches the specified value (N) acquired from the first table 105, the OS of the computer apparatus 101 (“host / server (OS)” in the figure). Description) Executes an I / F stop process for issuing a stop command to 213 (step 212), and confirms an I / F stop process end message output from the OS 213 (step 214). While outputting a failure detection message (step 216), the backup LAN I / F switching processing unit 104 is activated to end the processing (step 218).

次に、図3を用いて、予備LANI/F切り替え処理部104の処理を説明する。   Next, processing of the backup LAN I / F switching processing unit 104 will be described with reference to FIG.

予備LANI/F切り替え処理部104は、図2におけるL3SW疎通確認処理部103の処理により起動される。   The spare LAN I / F switching processing unit 104 is activated by the processing of the L3SW communication confirmation processing unit 103 in FIG.

L3SW疎通確認処理部103の処理により停止となったI/F名称指定値をキーとして、第2のテーブル106から当該レコードを抽出する(ステップ301)。   The record is extracted from the second table 106 using the I / F name designation value stopped by the processing of the L3SW communication confirmation processing unit 103 as a key (step 301).

抽出したレコード数を確認し(ステップ303)、レコードの有無によって、I/Fが現用か予備かを判定する(ステップ304)。すなわち、レコード数が「0」の場合、予備I/Fであるため、処理を終了し、レコード数が「1」以上の場合、現用I/Fと判断し、抽出したレコードの1レコードを参照し(ステップ305)、再起動カウンタのリセット(k=0)を行う(ステップ306)。   The number of extracted records is confirmed (step 303), and it is determined whether the I / F is active or spare based on the presence or absence of records (step 304). That is, when the number of records is “0”, it is a spare I / F, so the process is terminated. When the number of records is “1” or more, the current I / F is determined and one record of the extracted record is referred to Then, the restart counter is reset (k = 0) (step 306).

予備I/Fにて現用IPアドレスを起動させるため、OS213に対して現用IPアドレスの起動コマンドを投入し(ステップ307)、現用IPアドレス起動により、ローカルネットワーク内(ここでは第1のLAN107)に、G−ARPをブロードキャストにて送信する(ステップ309)。   In order to activate the working IP address in the spare I / F, an activation command for the working IP address is input to the OS 213 (step 307), and the working IP address is activated to enter the local network (here, the first LAN 107). , G-ARP is transmitted by broadcast (step 309).

G−ARPが第1のレイヤ3スイッチ113に到達し、この第1のレイヤ3スイッチ113におけるARPテーブル更新が行われているか否かを確認するために、再送回数カウンタのリセット処理(J=0)を実行した上で(ステップ311)、現用IPアドレスを発信元として、L3SW疎通確認処理部103の処理より引き継いだ第1のレイヤ3スイッチ113に向けてPING送信を行う(ステップ312)。   In order to confirm whether or not the G-ARP has reached the first layer 3 switch 113 and the ARP table has been updated in the first layer 3 switch 113, the retransmission counter reset processing (J = 0) ) (Step 311), the PING transmission is performed to the first layer 3 switch 113, which has been taken over from the processing of the L3SW communication confirmation processing unit 103, using the working IP address as the transmission source (step 312).

予め定められた監視時間指定値(t秒)の間、第1のレイヤ3スイッチ113からのPING応答の受信に備え(ステップ314)、第1のレイヤ3スイッチ113からのPING応答を受信した場合、自IPアドレスは、L3SWのARPテーブル更新が正常に行われたと判断してPING応答受信処理を行う(ステップ315)。   When a PING response is received from the first layer 3 switch 113 in preparation for receiving a PING response from the first layer 3 switch 113 for a predetermined monitoring time specified value (t seconds) (step 314) The local IP address determines that the L3SW ARP table has been updated normally and performs a PING response reception process (step 315).

また、監視時間指定値(t秒)以内に第1のレイヤ3スイッチ113からのPING応答受信を確認できなかった場合には、再送回数指定値(n)と再送回数カウンタ(j)を比較し(ステップ317)、再送カウンタ(j)が再送回数指定値(n)に達する迄は再送カウンタの加算(j=j+1)処理(ステップ318)とステップ312からのPING送信処理を繰り返し行う。   If the reception of the PING response from the first layer 3 switch 113 cannot be confirmed within the monitoring time specified value (t seconds), the retransmission number specified value (n) is compared with the retransmission number counter (j). (Step 317) The retransmission counter addition (j = j + 1) processing (step 318) and the PING transmission processing from step 312 are repeatedly performed until the retransmission counter (j) reaches the retransmission count designation value (n).

再送カウンタ(j)が再送回数指定値(n)に達した場合、G−ARPが未達の可能性があるため、予め定められた再起動回数指定値(m)と再起動回数カウンタ(k)を比較し(ステップ319)、再起動カウンタ(k)が再起動回数指定値(m)に達するまでは、ステップ320における再起動回数カウンタの加算処理(k=k+1)とステップ321における現用IPアドレス停止処理(OS213に現用IPアドレス停止コマンドを発行)を行い、ステップ307における現用IPアドレス起動処理とステップ309におけるG−ARPの送信処理を繰り返し行い、その上で、再送回数カウンタをリセットし(ステップ311)、ステップ312以降のPING疎通確認処理を再度行う。   When the retransmission counter (j) reaches the retransmission count specified value (n), there is a possibility that the G-ARP has not been reached. Therefore, the predetermined restart count specified value (m) and the restart count counter (k ) (Step 319), and until the restart counter (k) reaches the restart count specified value (m), the restart count counter addition processing in step 320 (k = k + 1) and the working IP in step 321 Address stop processing (issue the working IP address stop command to the OS 213) is performed, the working IP address activation processing in step 307 and the G-ARP transmission processing in step 309 are repeated, and then the retransmission counter is reset ( Step 311), the PING communication confirmation process after step 312 is performed again.

ステップ319の比較処理において、再起動回数カウンタ(k)が再起動回数指定値(m)に達した場合には、G−ARP未達以外に原因があるものとして、OS213に対して、障害通知としてエラーメッセージを送信する(ステップ323)。   In the comparison process of step 319, when the restart count counter (k) reaches the restart count specified value (m), it is assumed that there is a cause other than the failure to reach G-ARP, and the OS 213 is notified of the fault. As an error message (step 323).

以上の処理を現用IPアドレス1つ毎に実施すべく、自レコードが抽出したレコードの最終であるかの判定を行い(ステップ325)、他にレコードがある場合、参照するレコードを次レコードに移動し(ステップ326)、再起動カウンタリセット処理以降の処理を繰り返して行う。自レコードが最終であった場合、処理を終了する。   In order to carry out the above process for each working IP address, it is determined whether the record is the last of the extracted records (step 325). If there is another record, the record to be referred is moved to the next record. (Step 326), the process after the restart counter reset process is repeated. If the own record is final, the process is terminated.

次に、図4を用いて、L3SW疎通確認処理部103にて使用する第1のテーブル(table_IF)105の構成について説明する。   Next, the configuration of the first table (table_IF) 105 used in the L3SW communication confirmation processing unit 103 will be described with reference to FIG.

第1のテーブル105は、LANI/Fからレイヤ3スイッチに対して繰り返しPINGを送付することによる疎通確認処理において用いる。   The first table 105 is used in the communication confirmation process by repeatedly sending a PING from the LAN I / F to the layer 3 switch.

「データ項目」として、PING発信元のLANI/Fを特定する「I/F名称」と、PING送信先のレイヤ3スイッチのIPアドレスを特定する「L3SW」、PING送信からPING応答までのPING監視時間指定値を示す監視時間(T)、PING応答受信から次のPING送信までの待機時間を示す送信間隔(S)、PING応答が無い場合のPINGの再送回数を規定する再送回数(N)が設けられている。   “Data item” includes “I / F name” that identifies the LAN I / F of the PING source, “L3SW” that identifies the IP address of the PING destination layer 3 switch, and PING monitoring from PING transmission to PING response A monitoring time (T) indicating a specified time value, a transmission interval (S) indicating a waiting time from the reception of a PING response to the next PING transmission, and a number of retransmissions (N) for defining the number of PING retransmissions when there is no PING response. Is provided.

そして、その「データ例」として示される第1,第2のレコードの内容について説明すると、「I/F名称」が「NIC_1」と「NIC_2」に関しては、IPアドレス「192.168.1.250」のレイヤ3スイッチ(L3SW)に対してPING送信を行うことが示され、PING送信から2秒以内に応答を受信した場合、PING応答受信から3秒後にPING送信を行い、PING送信から2秒以内に応答を受信している限り、PING送信は繰り返し行うことが規定されている。   The contents of the first and second records shown as the “data example” will now be described. When the “I / F name” is “NIC_1” and “NIC_2”, the IP address “192.168.2.1.250”. When a response is received within 2 seconds from the PING transmission, the PING transmission is performed 3 seconds after the PING response is received, and 2 seconds from the PING transmission. It is stipulated that PING transmission is repeated as long as a response is received within.

さらに、PING応答を2秒以内に受信できない場合、即座にPINGを再送し、10回再送しても2秒以内にPING応答を受信できない場合、自I/Fの停止を行うとともに、予備LANI/F切り替え処理を実行することが規定されている。   Further, if the PING response cannot be received within 2 seconds, the PING is immediately retransmitted. If the PING response cannot be received within 2 seconds even after 10 retransmissions, the own I / F is stopped and the spare LAN I / F is stopped. It is specified that the F switching process is executed.

ここで、予備LANI/F切り替え処理部104の処理時には、「I/F名称」と「L3SW」のIPアドレスの引き渡しを行う。   Here, at the time of processing by the backup LAN I / F switching processing unit 104, the IP addresses of “I / F name” and “L3SW” are delivered.

そして、PING再送中、2秒以内にPING応答を受信できた場合、正常と判断し、PING応答受信から3秒後にPING送信を行う。   When a PING response is received within 2 seconds during PING retransmission, it is determined to be normal, and PING transmission is performed 3 seconds after receiving the PING response.

また、「データ例」として示される第3,第4のレコードにおける「NIC_3」と「NIC_4」も同様に、IPアドレス「192.168.10.250」のレイヤ3スイッチ(L3SW)に対してPING送信し、4秒以内にPING応答を受信した場合は正常と判断してPING応答受信から5秒後にPING送信を行い、4秒以内にPING応答を受信できない場合は最大6回、PINGを再送し、それでも応答が無い場合は障害と判断することが規定されている。   Similarly, “NIC — 3” and “NIC — 4” in the third and fourth records shown as “data example” are also PING to the layer 3 switch (L3SW) of the IP address “192.168.10.250”. If a PING response is received within 4 seconds, it will be judged normal and a PING transmission will be sent 5 seconds after the PING response is received. However, it is stipulated that if there is no response, it is judged as a failure.

次に、図5を用いて、予備LANI/F切り替え処理部104にて使用する第2のテーブル(table_IP)106の構成について説明する。   Next, the configuration of the second table (table_IP) 106 used in the backup LAN I / F switching processing unit 104 will be described with reference to FIG.

第2のテーブル106は、L3SW疎通確認処理部103においてレイヤ3スイッチとの疎通不可を検知したインタフェース(I/F)が現用I/Fであった場合、予備I/Fへと切り替えるために使用する。   The second table 106 is used to switch to the spare I / F when the interface (I / F) that has detected that the L3SW communication confirmation processing unit 103 cannot communicate with the layer 3 switch is the working I / F. To do.

「データ項目」として、「現用IPアドレス」と、現用IPアドレスが使用しているインタフェースを特定する「I/F名称」、また切り替え先となるインタフェースを特定する「予備I/F名称」、予備I/Fへの切り替え後に、L3SWのARPテーブルが正常に更新されているか確認されているか確認するための予備I/FからL3SWへのPING送信からPING応答受信までの時間(t)を規定する「監視時間」、PING応答未受信の場合のPING再送を行う回数(n)を規定する「再送回数」、PING再送回数に達してもPING応答が無い場合に行う、現用IPアドレスの再起動回数(m)を規定する「再起動回数」が設けられている。   As “data item”, “working IP address”, “I / F name” for identifying the interface used by the working IP address, “spare I / F name” for identifying the interface to be switched to, and spare Defines the time (t) from the PING transmission from the spare I / F to the L3SW to the reception of the PING response for confirming whether the ARP table of the L3SW has been normally updated after switching to the I / F “Monitoring time”, “Number of retransmissions” that defines the number of times of PING retransmission (n) when no PING response is received, Number of restarts of the working IP address performed when there is no PING response even if the number of PING retransmissions is reached A “restart number” that defines (m) is provided.

そして、その「データ例」として示される第1,第2のレコードの内容について説明すると、「現用IPアドレス」が「192.168.1.30」と「192.168.1.31」は、「I/F名称」が「Nic_1」のインタフェースを現用とし、この「Nic_1」が障害により停止した場合、「予備I/F」である「Nic_2」にて「現用IPアドレス」を起動し、G−ARPをブロードキャストにて送信する。   The contents of the first and second records shown as the “data example” will be described. The “working IP address” is “192.1688.1.30” and “192.1688.1.31”. When the interface whose “I / F name” is “Nic — 1” is the current interface, and this “Nic — 1” is stopped due to a failure, the “working IP address” is activated on “Nic — 2” which is the “reserved I / F”. -Send ARP by broadcast.

このインタフェース「Nic_2」での起動後、「192.168.1.30」と「192.168.1.31」のそれぞれのIPアドレスを発信元として、レイヤ3スイッチにPINGを送信する。   After startup on this interface “Nic — 2”, a PING is transmitted to the layer 3 switch with the respective IP addresses “192.1688.1.30” and “192.1688.1.31” as sources.

「監視時間(t)」で規定された5秒以内にPING応答を受信した場合、「予備I/F」(「Nic_2」)の切り替えが正常に終了したと判断し、処理を終了する。   If a PING response is received within 5 seconds specified by “monitoring time (t)”, it is determined that switching of “preliminary I / F” (“Nic — 2”) has been completed normally, and the process ends.

もし、5秒以内にPING応答できなかった場合、「再送回数(n)」で規定されている2回を上限として、PING再送を行う。ここでPING応答を受信した場合も「予備I/F」への切り替えが正常に終了したと判断する。   If a PING response cannot be made within 5 seconds, a PING retransmission is performed with the upper limit being two times defined by “number of retransmissions (n)”. When the PING response is received here, it is determined that the switching to the “preliminary I / F” has been normally completed.

さらに、再送回数(n)に達してもPING応答を受信できない場合、現用IPアドレスのG−ARP再送のために再起動を行い、再度、レイヤ3スイッチにPINGを送信する。現用IPアドレス再起動後、PING応答を受信できた場合も予備I/Fへの切り替えが正常に終了したと判断する。   Further, if the PING response cannot be received even when the number of retransmissions (n) is reached, restart is performed for G-ARP retransmission of the working IP address, and the PING is transmitted again to the layer 3 switch. Even if the PING response can be received after the working IP address is restarted, it is determined that the switching to the spare I / F has been completed normally.

しかし、現用IPアドレス再起動後、PING再送回数に達してもPING応答を受信できない場合、当該レイヤ3スイッチへのG−ARP未達以外の障害と判断する。   However, if the PING response cannot be received even after reaching the number of PING retransmissions after the working IP address is restarted, it is determined that the failure is other than the G-ARP not reaching the layer 3 switch.

「データ例」として示される第3,第4,第5のレコードにおける現用IPアドレス「192.168.10.50」、「192.168.10.51」、「192,168.10.52」に関しても同様に、「Nic_3」を現用インタフェース(I/F)、「NIC_4」を予備インタフェース(I/F)としており、「Nic_3」停止後に「Nic_4」にて起動する。   Working IP addresses “192.168.10.50”, “192.168.10.51”, “192,168.10.52” in the third, fourth, and fifth records shown as “data example” Similarly, “Nic — 3” is the working interface (I / F) and “NIC — 4” is the standby interface (I / F), and after “Nic — 3” is stopped, it is started by “Nic — 4”.

起動後、レイヤ3スイッチにPINGを送信し、PING応答を受信できれば切り替え処理は正常と判断し、PING応答が無い場合、「再送回数(n)」で規定されている4回を再送回数の上限として、PING再送を行う。   After startup, if the PING is transmitted to the layer 3 switch and the PING response can be received, the switching process is determined to be normal. If there is no PING response, the upper limit of the number of retransmissions is set to 4 times specified in “Retransmission count (n)” Then, PING retransmission is performed.

再送においてもPING応答を受信できない場合、現用IPアドレスの再起動を行い、PING送信を繰り返し、現用IPアドレスの再起動回数が3回に達してもPING応答を受信できない場合、レイヤ3スイッチへのG−ARP未達以外を原因とした障害と判断する。   If the PING response cannot be received even during retransmission, restart the working IP address, repeat the PING transmission, and if the PING response cannot be received even after the number of restarts of the working IP address reaches 3, The failure is determined to be caused by other than non-G-ARP achievement.

次に、図6で示すシーケンス図を用いて、L3SW疎通確認処理部103における処理を説明する。   Next, processing in the L3SW communication confirmation processing unit 103 will be described using the sequence diagram shown in FIG.

L3SW疎通確認処理部103は、現用I/Fからレイヤ3スイッチ(L3SW)に向けて繰り返しPING送信を行い、その応答を受信することで現用I/FとL3SW間の疎通が正常に行われているか否かを確認している。   The L3SW communication confirmation processing unit 103 repeatedly performs PING transmission from the working I / F to the layer 3 switch (L3SW), and receives the response, so that the communication between the working I / F and the L3SW is normally performed. It is confirmed whether or not.

正常にPING応答を受信できる場合、PINGは送信間隔毎に送信されるが、PING送信に対する応答が途絶えた場合、監視時間(T)毎に再送回数(N)回、PINGを送信し、再送回数指定値(N)に達しても応答が無い場合、障害として検知し、I/Fを停止する。   When the PING response can be received normally, the PING is transmitted at every transmission interval. However, when the response to the PING transmission is interrupted, the number of retransmissions is transmitted by the number of retransmissions (N) times every monitoring time (T). If there is no response when the specified value (N) is reached, it is detected as a failure and the I / F is stopped.

次に、図7で示すシーケンス図を用いて、予備LANI/F切り替え処理部104における処理を説明する。   Next, processing in the backup LAN I / F switching processing unit 104 will be described using the sequence diagram shown in FIG.

現用IPアドレスを予備I/Fにて起動した際、G−ARPをブロードキャストにて送信、また同時にレイヤ3スイッチ(L3SW)に向けてPINGの送信を行う。   When the working IP address is activated by the spare I / F, G-ARP is transmitted by broadcast, and at the same time, PING is transmitted to the layer 3 switch (L3SW).

L3SWがG−ARPを受信し、ARPテーブルを更新している場合、当該L3SWは、予備I/Fの現用IPアドレスにPING応答を送信し、現用IPアドレスではPING応答を受信することにより、予備I/Fへの切り替え処理が正常に行われたと判断する。   When the L3SW receives the G-ARP and updates the ARP table, the L3SW transmits a PING response to the working IP address of the spare I / F, and receives the PING response at the working IP address. It is determined that the switching process to the I / F has been performed normally.

逆にG−ARPがL3SWに未達などにより、現用IPアドレスが監視時間指定値(t)以内にPING応答受信を受信できないとき、再送回数指定値(n)回、PINGの再送を行う。   Conversely, when the working IP address cannot receive the PING response within the monitoring time specified value (t) because the G-ARP has not reached L3SW, the PING is retransmitted the specified number of times of retransmission (n).

再送回数指定値(n)に達しても応答を受信できない場合、現用IPアドレスの再起動を行い、G−ARPの再送を試みる。再起動後、初回時と同様にL3SWにPINGを送信する。   If a response cannot be received even when the number of retransmissions specified value (n) is reached, the working IP address is restarted and G-ARP retransmission is attempted. After restarting, PING is transmitted to L3SW in the same way as the first time.

PING応答を受信できない場合、再起動を再起動回数指定値(m)に達するまで行い、再起動回数指定値(m)に達しても応答が無い場合、障害として検知する。   When the PING response cannot be received, the restart is performed until the restart count specified value (m) is reached, and if no response is received even if the restart count specified value (m) is reached, a failure is detected.

この処理を現用IPアドレス毎に実施する。   This process is performed for each working IP address.

以上、図1〜図7を用いて説明したように、本例のI/F切替制御システム102では、現用LANインタフェース(現用LANI/F)111,120と予備LANインタフェース(予備LANI/F)112,121を有し、現用LANI/F111,120からの通信が不可となった場合に、G−ARPパケットを用いて現用LANI/F上に起動している現用IPアドレス198,109,116〜118を予備LANI/F110,119へと切り替える際には、L3SW疎通確認処理部103により、PINGを用いて、現用LANI/F111,120からレイヤ3スイッチ(L3SW)113,122への疎通を確認し、疎通不可の場合には、予備LANI/F切り替え処理部104により、G−ARPパケットによるARPテーブルの更新とPINGによる疎通の確認を繰り返すことで、通信回復が可能かを確認する。   As described above with reference to FIGS. 1 to 7, in the I / F switching control system 102 of this example, the working LAN interfaces (working LAN I / F) 111 and 120 and the spare LAN interface (spare LAN I / F) 112 are used. , 121, and active IP addresses 198, 109, 116 to 118 activated on the active LAN I / F using the G-ARP packet when communication from the active LAN I / F 111, 120 becomes impossible. Is switched to the backup LAN I / F 110, 119, the L3SW communication confirmation processing unit 103 uses the PING to confirm the communication from the active LAN I / F 111, 120 to the layer 3 switch (L3SW) 113, 122. When the communication is impossible, the backup LAN I / F switching processing unit 104 performs an AR based on the G-ARP packet. By repeating the confirmation of the communication by the update and the PING of the table, to check whether it is possible to communicate recovery.

このように、本例では、現用IPアドレスの現用LANI/Fから予備LANI/Fへの切り替えの際に、全現用IPアドレスからレイヤ3スイッチ(L3SW)に対してPINGによる疎通確認を行うことにより、現用IPアドレスのG−ARPがレイヤ3スイッチ(L3SW)のARPテーブルを更新しているか否かを確認することができ、もし、G−ARPがレイヤ3スイッチ(L3SW)に未達の場合、現用IPアドレスを再起動にてG−ARPを再出力すると共にPING疎通確認を行うことにより、G−ARP未達を原因とする障害を防ぐことができ、より信頼性の高いシステムを提供することが可能となる。   In this way, in this example, when the working IP address is switched from the working LAN I / F to the backup LAN I / F, the communication is confirmed by PING from all the working IP addresses to the layer 3 switch (L3SW). The G-ARP of the working IP address can confirm whether or not the ARP table of the layer 3 switch (L3SW) has been updated. If the G-ARP has not reached the layer 3 switch (L3SW), By re-outputting the G-ARP by restarting the working IP address and confirming the PING communication, it is possible to prevent a failure caused by failure to reach the G-ARP and to provide a more reliable system. Is possible.

尚、本発明は、図1〜図7を用いて説明した例に限定されるものではなく、その要旨を逸脱しない範囲において種々変更可能である。例えば、本例では、2つのネットワーク(第1,第2のLAN107,115)での接続構成として説明しているが、3以上のネットワーク構成においても適用可能である。   In addition, this invention is not limited to the example demonstrated using FIGS. 1-7, A various change is possible in the range which does not deviate from the summary. For example, in this example, the connection configuration of two networks (first and second LANs 107 and 115) is described, but the present invention can also be applied to three or more network configurations.

また、コンピュータ装置101の構成に関しても、キーボードや光ディスクの駆動装置の無いコンピュータ構成としても良い。また、本例では、光ディスクを記録媒体として用いているが、FD(Flexible Disk)等を記録媒体として用いることでも良い。また、プログラムのインストールに関しても、通信装置を介してネットワーク経由でプログラムをダウンロードしてインストールすることでも良い。   Further, regarding the configuration of the computer device 101, a computer configuration without a keyboard or optical disk drive may be used. In this example, an optical disk is used as a recording medium. However, an FD (Flexible Disk) or the like may be used as a recording medium. As for the program installation, the program may be downloaded and installed via a network via a communication device.

101:コンピュータ装置(サーバ/メインフレーム)、102:I/F切替制御システム、103:L3SW疎通確認処理部、104:予備LANI/F切り替え処理部、105:第1のテーブル(table_IF)、106:第2のテーブル(table_IP)、107:第1のLAN(NW_1)、108:第1のIPアドレス(IP_1−1)、109:第2のIPアドレス(IP_1−2)、110:第3のIPアドレス(IP_2−1)、111:現用LANI/F(I/F_1:現用)、112:予備LANI/F(I/F_2:予備)、113:第1のレイヤ3スイッチ(L3SW_1)、114:第1のIPアドレスゲートウェイ(GW_1)、115:第2のLAN(NW_2)、116:第4のIPアドレス(IP_3−1)、117:第5のIPアドレス(IP_3−2)、118:第6のIPアドレス(IP_3−3)、119:第7のIPアドレス(IP_4−1)、120:現用LANI/F(I/F_3:現用)、121:予備LANI/F(I/F_4:予備)、122:第2のレイヤ3スイッチ(L3SW_2)、123:第2のIPアドレスゲートウェイ(GW_2)。   101: Computer device (server / mainframe), 102: I / F switching control system, 103: L3SW communication confirmation processing unit, 104: Backup LAN I / F switching processing unit, 105: First table (table_IF), 106: 2nd table (table_IP), 107: 1st LAN (NW_1), 108: 1st IP address (IP_1-1), 109: 2nd IP address (IP_1-2), 110: 3rd IP Address (IP — 2-1), 111: working LAN I / F (I / F — 1: working), 112: spare LAN I / F (I / F — 2: spare), 113: first layer 3 switch (L3SW — 1), 114: first 1 IP address gateway (GW_1), 115: second LAN (NW_2), 116: fourth IP address (I _3-1), 117: fifth IP address (IP_3-2), 118: sixth IP address (IP_3-3), 119: seventh IP address (IP_4-1), 120: working LAN I / F (I / F_3: active), 121: spare LAN I / F (I / F_4: spare), 122: second layer 3 switch (L3SW_2), 123: second IP address gateway (GW_2).

Claims (5)

プログラムされたコンピュータ処理によって、
現用のLANインタフェースから予備のLANインタフェースへ切り替える際に、現用IPアドレス宛のG−ARPパケットを送出してレイヤ3スイッチのARPテーブルを更新するLANI/F切替制御システムであって、
プログラムされたコンピュータ処理を実行する手段として、
上記現用IPアドレスから上記レイヤ3スイッチにPINGを送信して、応答が無ければ上記G−ARPパケットが当該レイヤ3スイッチに未達であると判断する疎通確認処理手段と、
該疎通確認処理手段が上記G−ARPパケットの上記レイヤ3スイッチへの未達を判断すると、上記現用IPアドレス宛のG−ARPパケットの送出と、上記現用IPアドレスから上記レイヤ3スイッチへのPINGの送信とを繰り返す予備LANインタフェース切り替え処理手段と
を有することを特徴とするLANI/F切替制御システム。
By programmed computer processing
A LAN I / F switching control system for sending a G-ARP packet addressed to a working IP address and updating an ARP table of a layer 3 switch when switching from a working LAN interface to a spare LAN interface,
As a means of performing programmed computer processing,
A communication confirmation processing means for transmitting a PING from the working IP address to the layer 3 switch and determining that the G-ARP packet has not reached the layer 3 switch if there is no response;
When the communication confirmation processing unit determines that the G-ARP packet has not reached the layer 3 switch, the G-ARP packet addressed to the working IP address is transmitted, and the PING from the working IP address to the layer 3 switch is transmitted. A LAN I / F switching control system, comprising: a spare LAN interface switching processing unit that repeats transmission of
プログラムされたコンピュータ処理によって、
現用のLANインタフェースから予備のLANインタフェースへ切り替える際に、現用IPアドレス宛のG−ARPパケットを送出してレイヤ3スイッチのARPテーブルを更新するLANI/F切替制御システムであって、
プログラムされたコンピュータ処理を実行する手段として、
上記現用IPアドレスから上記レイヤ3スイッチにPINGを送信し、応答が予め定められた時間(T×N)内に有れば上記G−ARPパケットが当該レイヤ3スイッチに到達していると判断し、上記予め定められた時間(T×N)内に応答が無ければ上記G−ARPパケットが当該レイヤ3スイッチに未達であると判断する疎通確認処理手段と、
該疎通確認処理手段が上記G−ARPパケットの上記レイヤ3スイッチへの未達を判断すると、上記現用IPアドレス宛のG−ARPパケットの送出と、上記現用IPアドレスから上記レイヤ3スイッチへのPINGの送信とを繰り返すことで当該レイヤ3スイッチへの上記G−ARPパケットの未達を防ぐと共に、
当該PINGに対する応答が予め定められた時間(t×n×m)内に無ければ、上記G−ARPパケットの当該レイヤ3スイッチへの未達以外の傷害が発生していると判断して、エラー通知を出力する予備LANインタフェース切り替え処理手段と
を有することを特徴とするLANI/F切替制御システム。
By programmed computer processing
A LAN I / F switching control system for sending a G-ARP packet addressed to a working IP address and updating an ARP table of a layer 3 switch when switching from a working LAN interface to a spare LAN interface,
As a means of performing programmed computer processing,
A PING is transmitted from the working IP address to the layer 3 switch, and if the response is within a predetermined time (T × N), it is determined that the G-ARP packet has reached the layer 3 switch. Communication check processing means for determining that the G-ARP packet has not reached the layer 3 switch if there is no response within the predetermined time (T × N);
When the communication confirmation processing unit determines that the G-ARP packet has not reached the layer 3 switch, the G-ARP packet addressed to the working IP address is transmitted, and the PING from the working IP address to the layer 3 switch is transmitted. In addition to preventing the G-ARP packet from reaching the layer 3 switch by repeating the transmission of
If there is no response to the PING within a predetermined time (t × n × m), it is determined that an injury other than the failure to reach the layer 3 switch of the G-ARP packet has occurred. A LAN I / F switching control system, comprising: a spare LAN interface switching processing means for outputting a notification.
コンピュータを、請求項1もしくは請求項2のいずれかに記載のLANI/F切替制御システムにおける各手段として機能させるためのプログラム。   A program for causing a computer to function as each unit in the LAN I / F switching control system according to claim 1. コンピュータ装置により、現用のLANインタフェースから予備のLANインタフェースへ切り替える際に、現用IPアドレス宛のG−ARPパケットを送出してレイヤ3スイッチのARPテーブルを更新するLANI/F切替制御方法であって、
上記コンピュータ装置は、プログラムされたコンピュータ処理を実行する手段として、
疎通確認処理手段と予備LANインタフェース切り替え処理手段を具備し、
上記疎通確認処理手段は、
上記現用IPアドレスから上記レイヤ3スイッチにPINGを送信して、応答が無ければ上記G−ARPパケットが当該レイヤ3スイッチに未達であると判断し、
上記予備LANインタフェース切り替え処理手段は、上記疎通確認処理手段が上記G−ARPパケットの上記レイヤ3スイッチへの未達を判断すると、上記現用IPアドレス宛のG−ARPパケットの送出と、上記現用IPアドレスから上記レイヤ3スイッチへのPINGの送信とを繰り返す
ことを特徴とするLANI/F切替制御方法。
A LAN I / F switching control method for updating a ARP table of a layer 3 switch by sending a G-ARP packet addressed to a working IP address when switching from a working LAN interface to a spare LAN interface by a computer device,
The computer device as means for executing programmed computer processing,
A communication confirmation processing means and a spare LAN interface switching processing means;
The communication confirmation processing means
When the PING is transmitted from the working IP address to the layer 3 switch and there is no response, it is determined that the G-ARP packet has not reached the layer 3 switch,
When the communication confirmation processing unit determines that the G-ARP packet has not reached the layer 3 switch, the backup LAN interface switching processing unit transmits the G-ARP packet addressed to the working IP address, and the working IP. A LAN I / F switching control method characterized by repeating transmission of a PING from an address to the layer 3 switch.
コンピュータ装置により、現用のLANインタフェースから予備のLANインタフェースへ切り替える際に、現用IPアドレス宛のG−ARPパケットを送出してレイヤ3スイッチのARPテーブルを更新するLANI/F切替制御方法であって、
上記コンピュータ装置は、プログラムされたコンピュータ処理を実行する手段として、
疎通確認処理手段と予備LANインタフェース切り替え処理手段を具備し、
上記疎通確認処理手段は、
上記現用IPアドレスから上記レイヤ3スイッチにPINGを送信し、応答が予め定められた時間(T×N)内に有れば上記G−ARPパケットが当該レイヤ3スイッチに到達していると判断し、上記予め定められた時間(T×N)内に応答が無ければ上記G−ARPパケットが当該レイヤ3スイッチに未達であると判断し、
上記予備LANインタフェース切り替え処理手段は、
上記疎通確認処理手段が上記G−ARPパケットの上記レイヤ3スイッチへの未達を判断すると、上記現用IPアドレス宛のG−ARPパケットの送出と、上記現用IPアドレスから上記レイヤ3スイッチへのPINGの送信とを繰り返すことで当該レイヤ3スイッチへの上記G−ARPパケットの未達を防ぐと共に、
当該PINGに対する応答が予め定められた時間(t×n×m)内に無ければ、上記G−ARPパケットの当該レイヤ3スイッチへの未達以外の傷害が発生していると判断して、エラー通知を出力する
ことを特徴とするLANI/F切替制御方法。
A LAN I / F switching control method for updating a ARP table of a layer 3 switch by sending a G-ARP packet addressed to a working IP address when switching from a working LAN interface to a spare LAN interface by a computer device,
The computer device as means for executing programmed computer processing,
A communication confirmation processing means and a spare LAN interface switching processing means;
The communication confirmation processing means
A PING is transmitted from the working IP address to the layer 3 switch, and if the response is within a predetermined time (T × N), it is determined that the G-ARP packet has reached the layer 3 switch. If there is no response within the predetermined time (T × N), it is determined that the G-ARP packet has not reached the layer 3 switch,
The spare LAN interface switching processing means includes:
When the communication confirmation processing unit determines that the G-ARP packet has not reached the layer 3 switch, the G-ARP packet addressed to the working IP address is transmitted, and the PING from the working IP address to the layer 3 switch is transmitted. In addition to preventing the G-ARP packet from reaching the layer 3 switch by repeating the transmission of
If there is no response to the PING within a predetermined time (t × n × m), it is determined that an injury other than the failure to reach the layer 3 switch of the G-ARP packet has occurred. A LAN I / F switching control method characterized by outputting a notification.
JP2010292833A 2010-12-28 2010-12-28 LAN I / F switching control system, method and program Expired - Fee Related JP5588857B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010292833A JP5588857B2 (en) 2010-12-28 2010-12-28 LAN I / F switching control system, method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010292833A JP5588857B2 (en) 2010-12-28 2010-12-28 LAN I / F switching control system, method and program

Publications (2)

Publication Number Publication Date
JP2012142710A true JP2012142710A (en) 2012-07-26
JP5588857B2 JP5588857B2 (en) 2014-09-10

Family

ID=46678571

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010292833A Expired - Fee Related JP5588857B2 (en) 2010-12-28 2010-12-28 LAN I / F switching control system, method and program

Country Status (1)

Country Link
JP (1) JP5588857B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109116141A (en) * 2018-07-17 2019-01-01 深圳市吉祥腾达科技有限公司 A kind of POE interchanger restarts the test method of power supply reliability
CN110196723A (en) * 2018-02-27 2019-09-03 广东神马搜索科技有限公司 The method, apparatus and computer readable storage medium of data on flows copy
CN111431763A (en) * 2020-03-18 2020-07-17 紫光云技术有限公司 Connectivity detection method for SDN controller

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109698788B (en) * 2017-10-20 2021-06-15 华为技术有限公司 Flow forwarding method and device and computer readable medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004166126A (en) * 2002-11-15 2004-06-10 Toshiba Tec Corp Radio communications terminal
JP2005244672A (en) * 2004-02-26 2005-09-08 Nec Corp Network failure monitoring process system and its method
JP2005286875A (en) * 2004-03-30 2005-10-13 Toshiba Solutions Corp Information communication system and information communication method
JP2008177710A (en) * 2007-01-17 2008-07-31 Nec Corp Media service system, media service device, and lan redundancy method used therefor
JP2010130390A (en) * 2008-11-28 2010-06-10 Hitachi Ltd Communication system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004166126A (en) * 2002-11-15 2004-06-10 Toshiba Tec Corp Radio communications terminal
JP2005244672A (en) * 2004-02-26 2005-09-08 Nec Corp Network failure monitoring process system and its method
JP2005286875A (en) * 2004-03-30 2005-10-13 Toshiba Solutions Corp Information communication system and information communication method
JP2008177710A (en) * 2007-01-17 2008-07-31 Nec Corp Media service system, media service device, and lan redundancy method used therefor
JP2010130390A (en) * 2008-11-28 2010-06-10 Hitachi Ltd Communication system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110196723A (en) * 2018-02-27 2019-09-03 广东神马搜索科技有限公司 The method, apparatus and computer readable storage medium of data on flows copy
CN110196723B (en) * 2018-02-27 2023-06-27 阿里巴巴(中国)有限公司 Method, apparatus and computer readable storage medium for copying traffic data
CN109116141A (en) * 2018-07-17 2019-01-01 深圳市吉祥腾达科技有限公司 A kind of POE interchanger restarts the test method of power supply reliability
CN109116141B (en) * 2018-07-17 2020-12-15 深圳市吉祥腾达科技有限公司 Method for testing power supply reliability of POE switch restart
CN111431763A (en) * 2020-03-18 2020-07-17 紫光云技术有限公司 Connectivity detection method for SDN controller
CN111431763B (en) * 2020-03-18 2021-07-27 紫光云技术有限公司 Connectivity detection method for SDN controller

Also Published As

Publication number Publication date
JP5588857B2 (en) 2014-09-10

Similar Documents

Publication Publication Date Title
JP7009560B2 (en) Methods and equipment for providing redundancy for process control systems
US7944815B2 (en) System and method for network recovery from multiple link failures
JP5187249B2 (en) Redundant system connection recovery device, method and processing program
CN106330475B (en) Method and device for managing main and standby nodes in communication system and high-availability cluster
CN101951345B (en) Message transmitting method and equipment
JP2004032224A (en) Server takeover system and method thereof
US20030193890A1 (en) Methods and apparatus for improved failure recovery of intermediate systems
JP5630269B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, CONTROL DEVICE, CONTROL METHOD, AND PROGRAM
JP2010283427A (en) Lac device and failover method
WO2013189289A1 (en) Data processing method, network card and system
JP5588857B2 (en) LAN I / F switching control system, method and program
JP4145274B2 (en) Network equipment
US20230111966A1 (en) Ethernet storage system, and information notification method and related apparatus thereof
JP5775473B2 (en) Edge device redundancy system, switching control device, and edge device redundancy method
CN101340377B (en) Method, apparatus and system for data transmission in double layer network
JP2009194787A (en) Gateway apparatus
JP2001244977A (en) Device, system and method for data transfer and storage medium
JP6728981B2 (en) Node device and communication system
JP6455891B2 (en) Monitoring device, communication failure automatic recovery system, method and program
CN110071830B (en) Pseudo wire back switching method and device
JP2013046252A (en) Vrrp system and vrrp program
JP3246409B2 (en) Fault monitoring method
JP2010273267A (en) Communication apparatus, communication method, communication system, and communication program
JP2009278436A (en) Communication system and redundant configuration management method
JP2004080397A (en) Snmp agent provided with lan monitor function

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20131024

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140415

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140422

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140612

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140701

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140728

R150 Certificate of patent or registration of utility model

Ref document number: 5588857

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees