The present invention relates to a router setting method and router device for registering a new router device to a virtual router system on a mobile IP (Internet Protocol) network.
There is known a system using a virtual router redundancy protocol VRRP (Virtual Router Redundancy Protocol for IPv6) on an IP network, which is a system having router devices for communication with other sub-networks coexisted in plurality on the same sub-network so that, in the even of a failure occurrence in a certain router device, another router device can become an alternative to continue the communication.
In
As for the backup router device, in the event of a failure occurrence in the master router device, the backup router device itself turns into a master router device and distributes packets. The master router device and the backup router device show virtually the same address (hereinafter, referred to as a virtual router address) to the nodes. This allows the node to send packets with use of a virtual router address taken as a default router, without being conscious of whether to take a destination to the master router device or to the backup router device.
The master router device 1001 regularly sends, to the backup router device, a VRRP advertisement packet including a priority for the master router device to turn into a master router device. The backup router device 1002, when receiving a VRRP advertisement packet from the master router device 1001 having a priority higher than the priority of the backup router device itself within a constant time period of Master_Down_Timeout, resets a Master_Down_Timeout timer and makes certain of the master router device 1001 being operating. In the case of receiving a VRRP advertisement packet from a master router device having a priority lower than the priority of the backup router device itself, the VRRP advertisement packet is discarded as it is without resetting the Master_Down_Timeout timer.
Meanwhile, when the Master_Down_Timeout timer expires, the backup router device 1002 decides a failure occurrence in the master router device 1001. The backup router device itself turns into a master router device and sends a VRRP advertisement packet to the router device of the same group. Because Master_Down_Timeout value is set smaller for the higher priority and greater for the lower priority, the master router device 1001 can be set in accordance with the priority.
Meanwhile, JP-A-2000-307657 has a system which uses a plurality of routers by switchover thereof without the use of VRRP. In
However, the above system, when newly registering a router device, is required to manually set previously a virtual IP address, a virtual MAC address, a priority, etc. in advance of operating the virtual router device. Particularly, in a virtual router group constituted with a plurality of movable router devices (mobile routers), there are frequent occurrences of connections to or disconnections from the system, thus problematically increasing the burden on the operator. Meanwhile, in the JP-A-2000-307657 system, the virtual router system is required for the virtual router system to arrange a monitor device for monitoring the individual virtual router devices therein.
Meanwhile, with a setting change by the operator during roaming, it takes a time in setting possibly resulting in missing of communication timing. This also has a problem of increased loss.
It is an object of the present invention to relieve the load in router registration setting by the operator and to prevent communication loss, in an environment where a virtual router device is configured by a plurality of mobile routers without the provision of a monitor device.
In a router setting method of the invention, the existing router device distributes the information about a virtual router device belonging thereto while a router device, to newly connect to a network, acquires the distributed virtual router information. The new router device extracts the information required for a virtual router process and sets it therein, then starting up VRRP and executing a virtual router process. This allows the new router device to automatically setting the data required for the virtual router process, reducing the load on the operator and preventing the communication loss as caused by a delayed registration of a new router device.
A router setting method of the invention comprises: a step for a first router device for executing a virtual router process for operating, virtually as one router device, a plurality of router devices connected to a local area network, to send virtual router information as information required for the virtual router process to a second router device newly connected to the local network; a step for the newly connected second router device to receive the virtual router information; and a step for the second router device to make a setting required for the virtual router process, on a basis of the virtual router information. The management burden on the operator is to be relieved by automating the virtual router setting to a router device performed manually in the conventional.
Meanwhile, a router setting method according to the invention further comprises a step for the newly connected second router device to request the virtual router information to the first router device, the first router device, received the request, sending virtual router information to the second router device. Because virtual router information when necessary can be immediately obtained to complete virtual router setting in a brief time, communication loss can be prevented that is due to delayed registration of a new router device.
Meanwhile, in a router setting method according to the invention, the first router device sends the virtual router information at a regular interval. When registering a plurality of router devices to a virtual router system, there is no need to inquire for the individual router device. Thus, virtual router information can be offered while suppressing network load.
Meanwhile, in a router setting method according to the invention, the virtual router information includes a virtual router identifier, a virtual IP address and a virtual MAC address. Acquiring those pieces of information, the router device is allowed to start up the operation as a virtual router and participate in a virtual router system.
A router device of the invention comprises: a virtual router processing section for operating, virtually as one router device, a plurality of router devices connected to a local area network; a receiving section for receiving virtual router information required for the virtual router process; and a virtual router information processing section for making a setting required for the virtual router process, on a basis of the virtual router information. Due to this, the management burden on the operator is to be relieved by automating the virtual router setting to a router device performed manually in the conventional.
Meanwhile, in a router device according to the invention, the virtual router information processing section further executes, in a predetermined timing, a process to request for the virtual router information. Because virtual router information when necessary can be immediately obtained to complete virtual router setting in a brief time, communication loss can be prevented that is due to delayed registration of a new router device.
Meanwhile, in a router device according to the invention, the predetermined timing is at a time the virtual router information processing section detects a connection to the local area network. Due to this, because virtual router setting is made together with a connection to a network segment connected with the virtual router system, realized is a plug-and-play-compatible router device capable of achieving an immediate participation in a virtual router system.
Meanwhile, in a router device according to the invention, there is further comprised of an instruction input section where a request instruction for virtual router information is to be made from a user, to execute a process for requesting for virtual router information when the virtual router information processing section is inputted with the instruction. Due to this, registration is possible to the virtual router system in a desired timing by switch turning-on, button pushdown or so, thus realizing a flexible router device.
Meanwhile, in a router device according to the invention, the virtual router information processing section, when receiving a request for the virtual router information, further executes a process to send the virtual router information being set as a response thereto to the router sending the request. Due to this, because virtual router information can be offered immediately in a desired time, a virtual router system can be constituted in a brief time, thus preventing communication loss that is due to delayed registration of a new router device.
Meanwhile, in a router device according to the invention, the virtual router information processing section, when receiving a request for the virtual router information, further executes a process to send, to a source, virtual router information being set as a response thereto. Due to this, when registering a plurality of router devices to a virtual router system, there is no need to inquire for the individual router device. Thus, virtual router information can be offered while suppressing network load.
As described above, the present invention can dynamically acquire virtual router information from the existing router system to thereby setting up a virtual router mechanism of the device concerned, thus making it possible to automate the virtual router setting performed manually in the conventional and to relieve the burden on the managing operator. Particularly, in such a virtual router group constituted with a plurality of movable routers (mobile routers), there is eliminated the need of sequentially setting virtual routers onto the routers in accordance with the configuration in the relevant time. Besides relieved burden in setting, it is possible to avoid the missing of communication timing due to a setting during roaming.
Furthermore, the use of a virtual router information solicitation message enables to complete information acquisition in a brief time, enabling rapid registration of a router.
Hereunder, embodiments of the present invention will be explained with use of the drawings.
Using FIGS. 1 to 8, explanation is made on a virtual router system in embodiment 1 of the invention.
Now, explanation is made on the operation of the virtual router system of the invention.
The router devices 101 and 102 in the virtual router system, in an ordinary time, make a VRRP operation of the conventional.
First explained is the operation of the virtual router system during the ordinary time.
The virtual router group 100 is to be identified by a virtual router identifier VRID, wherein the VRID is ‘1’ here. The router devices 101 and 102 within the virtual router group 100 (VRID=1) operate as virtual routers. Namely, a Virtual IP Address and a Virtual MAC Address are shared so that the master router 101 can send, by broadcast, an ARP packet (for IPv4) or a neighbour advertisement message (Neighbour Advertisement) and router advertisement message (Router Advertisement) (for IPv6) onto the network segment 110, and notifies those to the host terminals 120. As for the data directed to the host terminal 120 on the network segment 110 having the virtual router 100, the master router 101 is allowed to make a transfer processing to the external network 130 without executing a transfer processing by means of the backup router 102. In the event the master router 101 becomes incapable of executing the transfer processing due to a certain cause, the master router 101 is to send a shutdown message in accordance with a VRRP procedure.
The shutdown message has a Type field 51 rendered “1” (this represents the message is an advertisement message (Advertisement)) and a Priority field 53 rendered “0”, in a VRRP message 50 shown in
The ordinary processing described so far is to be realized by a protocol defined under RFC 2338.
Now, explanation is made on the case to add newly a router 103 to the virtual router group 100.
In the prior art, there is a necessity to set the router device 103 previously with information related to the virtual router group 100, i.e. at least a virtual IP address, a virtual MAC address and a priority. However, in the present invention, the router device 103 is allowed to automatically set with those pieces of information by an acquisition from the master router device 101 of the virtual router group 100.
FIGS. 4 to 7 are sequence charts for exchanging the setting information as required upon registering the router device 103 to the virtual router group 100. The sequences are explained in the below.
In
Incidentally, the virtual router information messages 160-162 is structured having the Type field 51 of VRRP message 50 shown in
Meanwhile, the virtual router information message 161-162 may be structured that the Type field 51 is given ‘3’ (Information) newly defined based on a Type field value 70 while the option field 60 is added with a Virtual MAC Address field 61. Incidentally, in the latter case, the virtual router information message 151 does not have an effect upon the backup router device 102 (e.g. replacing the master backup function by comparing the priority) as by the VRRP advertisement packet, but is meant as a message for merely distributing information. This is because the master router 101, where not a router device of the invention, could not recognize but ignores the type field as ‘3’ (Information).
The virtual router information, which the router device 103 has extracted from the virtual router information message 161, includes at least a VRID (from the VRID field 52), a virtual IP address (from Virtual IP Address field 54) and a Virtual MAC address field 61. Furthermore, from the priority described in the Priority field 53, a suitable priority may be calculated and set. Meanwhile, if the virtual router information message 161 has no Virtual MAC Address field 61, the router device 103 is required to extract, from layer 2 header, a source MAC address with which the virtual router information message 161 has been transferred by the layer 2 protocol.
Furthermore, in the virtual router information message 161, the option field 60 can be added with a Real IP Address field 62, a Preference field 63 and so on. This enables to detect an illicit message or calculate its own priority.
Namely, reception message confirmation as not illicit is possible by a transmission with describing a real IP address (not a virtual IP address) of the router device (mater router device 101, here) sent the virtual information message 151 in the Real IP Address field 62, and by using means of address authentication, etc. at the router device 103 received the message. This is effective upon transferring a global IP address particularly in an IPv6 environment. Meanwhile, the application of such a cipher protocol as IPsec enables to detect a disguise, illicit message.
The Preference field 63 can describe a performance, etc. of a router device (mater router 101, here) to send the virtual router information message 161. For example, where the performance, such as of data processing capability, is high and sufficient for operation as a master router device, a great numeric value is described. Where the performance is low and the operation as a master router device is to be avoided to a possible extent, a small numeric value is described. The router device 103 received the message may calculate its own priority on the basis of the information described in the Preference field 63 and the information described in the Priority field 53.
Another method of operation is as shown in
Due to this, because there are no regular broadcasts of virtual router information messages 160-162 from the master router device 101, traffic load is prevented from increasing over the network. Incidentally, the predetermined timing refers to a time when connection completes in the layer 3 (IP layer), i.e. a time when an IP address is acquired or produced to enable IP packet exchange, or timing the user explicitly gives a button pushdown or so to an instruction input section 91 as shown in
Here, the virtual router information message 151 may be sent, by unicast or broadcast, to the router device 103 as a source of the virtual router information solicitation message 150. The backup router device 102, even when receiving the virtual router information solicitation message 150, does not send a virtual router information message 151.
Note that the virtual router information solicitation message 150 has a Type field 51 of VRRP message 50 rendered ‘2’ (this means solicitation message (Solicitation)) newly defined based on the Type field value 70 shown in
Besides, the virtual router information solicitation message 150 may be added with a Real IP Address field 62 describing an IP address of the router device 103. In this case, the router device to send a virtual router information message 151 (master router device 101, here) makes a unicast transmission to the IP address described in the Real IP Address described in a Real IP Address field 62 of the received virtual router information solicitation message 150. This can prevent the traffic to the other communication device from increasing over the network.
Incidentally, the virtual router information solicitation message 150 and virtual router information message 151 may take a structure other than the structure shown in
Every router device, when receiving a virtual router information solicitation message 150, is allowed to forward a virtual router information message 151 irrespectively of the mode (master/backup). In
Besides, as another method of operation, all the virtual routers can be made to forward virtual router information messages 151 at a regular interval. In
Using the drawings, explanation is made on the operation of the router device 10 in the virtual router system as to the invention.
Explanation is now made on the basic operation of the router device 10 configured as above.
Incidentally, the packet transfer process by the router device 10 is a standard one that is to transfer the IP packet received by L1/2 processing section 11 or 13 to the suited L1/2 processing section 11 or 13 according to a routing table held by the L3 processing section 12. Now, explanation is made on the operation of the router device 10 in the case of registering the router device 10 to the virtual router group 100, particularly the virtual router information processing section 14 of the invention, by use of an operation flow chart shown in
At first, detected is a registration timing to the virtual router group 100, e.g. a connection of the router device 10 to the network or an explicit trigger given by the user (switch turn-on, button pushdown or so) (step S11).
Then, the virtual router information processing section 14 generates a virtual router information solicitation message 150 and sends it, by broadcast, onto the network segment 110 through the L3 processing section 12 and L1/2 processing section 13 (step S12).
Then, the virtual router information processing section 14, when receiving the virtual router information message from the network segment 110 through the L1/2 processing section 13 and L3 processing section 12 (step S13), extracts at least a VRID, a virtual IP address and a virtual MAC address from the message, and further stores them, as virtual router information, together with a priority previously or dynamically calculated to a memory/storage area (step S14).
Next, the virtual router information processing section 14 transfers the virtual router information to the virtual router processing section 15, directly or indirectly through the memory/storage area. The virtual router processing section 15, received it, commences a virtual router processing (step S15).
Incidentally, in the case of the operation of
The virtual router process, to be started operation by step S15, is relevant to the conventional virtual router processing protocol such as VRRP, and hence the detail of which is not described in the flowchart of
Now, explanation is made on the operation of the router device 10 after the router device 10 has been registered to the virtual router group 100.
At first, the virtual router information processing section 14 receives a virtual router information solicitation message of from the to-be-newly-registered router device concurrently with the virtual router operation executed by the virtual router processing section 15, or waits for a time-out for regularly sending virtual router information messages at a predetermined time interval (step S16). In case there is satisfied the condition of the step S16, i.e. receiving a virtual router information solicitation message, or detecting an arrival at the timing to transmit a virtual router information message, the virtual router information processing section 14 describes the virtual router information stored in the memory/storage area before or acquired from the virtual router processing section 15 to the virtual router information message and sends it onto the network segment 110 through the L3 processing section 12 and L1/2 processing section 13 (step S17).
Here, the router device 10 decides as to transmission execution of a virtual router information message, depending upon the operation status. For example, where obeying the sequence shown in
Meanwhile, where obeying the sequence shown in
Incidentally, in the operation flowchart of
Meanwhile, the present embodiment is configured to acquire virtual router information from the existing router device. However, this is not limitative but a virtual router information distribution server can be provided for a newly connecting router to acquire virtual router information required. In this case, because virtual router information is distributed from the virtual router information distribution server, similar effect can be obtained now that the newly connecting router device is a router device of the invention even in case the existing router device on the network is not a router device of the invention.
As described above, the router device 10 of the invention, when newly connecting to the network, can dynamically acquire virtual router information from the existing router system and set with data required for its own virtual router processing. This can automatically make a virtual router setting in a brief time, thus relieving the load on the manager (operator) and reducing communication loss.
This invention is useful for router setting method and router device for registering a new router device to a virtual router system on a mobile IP (Internet Protocol) network, and particularly suited in making an initial setting for a virtual router system on a mobile network where the network is movable.
Number | Date | Country | Kind |
---|---|---|---|
2003-033384 | Feb 2003 | JP | national |
0224-030350 | Feb 2004 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP04/01458 | 2/12/2004 | WO | 4/20/2005 |