CN101741926A - Method for realizing intra site automatic tunnel addressing protocol and device thereof - Google Patents

Method for realizing intra site automatic tunnel addressing protocol and device thereof Download PDF

Info

Publication number
CN101741926A
CN101741926A CN200910254066A CN200910254066A CN101741926A CN 101741926 A CN101741926 A CN 101741926A CN 200910254066 A CN200910254066 A CN 200910254066A CN 200910254066 A CN200910254066 A CN 200910254066A CN 101741926 A CN101741926 A CN 101741926A
Authority
CN
China
Prior art keywords
address
isatap
ipv4
intra
ipv6
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
CN200910254066A
Other languages
Chinese (zh)
Other versions
CN101741926B (en
Inventor
刘晓东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2009102540662A priority Critical patent/CN101741926B/en
Publication of CN101741926A publication Critical patent/CN101741926A/en
Application granted granted Critical
Publication of CN101741926B publication Critical patent/CN101741926B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method for realizing an intra site automatic tunnel addressing protocol (ISATAP) and a device thereof, which belong to the filed of data communication. The method for realizing the ISATAP comprises the following steps of: when the ISATAP tunnel, which an ISATAP router corresponds to, is available, generating an IPv6 anycast address which corresponds to an ISATAP tunnel and comprises an IPv4 address; storing the IPv6 anycast address and generating an anycast address prefix according to the IPv4 address; and informing the anycast address prefix to all the IPv4 routers in the IPv4 site. The embodiment of the invention can solve the problem of single point of failure and avoid the reconfiguration of the ISATAP router address for an ISATA host. The technical scheme of the invention can be applied in an IPv6 scene through network interconnection with IPv4 network.

Description

Intra site automatic tunnel addressing protocol implementation method and device
Technical field
The present invention relates to data communication field, particularly a kind of intra site automatic tunnel addressing protocol implementation method and device.
Background technology
Intra site automatic tunnel addressing protocol (Intra-Site Automatic Tunnel AddressingProtocol, hereinafter to be referred as ISATAP) be existing Internet Protocol Version 4 (the Internet Protocolversion 4 of a kind of use, hereinafter to be referred as IPv4) network carries out IPv6 (Internet Protocol version 6, hereinafter to be referred as IPv6) scheme of network interconnection, Fig. 1 has described a kind of application scenarios of ISATAP: certain IPv4 website inserts the IPv6 network by two V6/V4 dual-stacker routers, subscriber's main station 1 (100-1) in the IPv4 network has been installed the V6/V4 dual stack simultaneously, on the edge dual-stack router 120-1 in this IPv4 network the ISATAP agreement has been installed, and main frame 1 has also moved ISATAP, main frame 1 just can be linked into the IPv6 network by ISATAP so, and its operation principle as shown in Figure 2.
At first on main frame 1, be configured to the IPv4 address 1.2.2.2. of its ISATAP route that access service is provided, the ISATAP interface of main frame 1 can generate the interface IP address 5efe:101:101 of ISTAP according to the IPv4 address 1.1.1.1 of this machine, and add prefix fe80:: this address of the link fe80::5efe:101:101 that generates this interface, then use this address as the IPv6 source address, fe80::5efe:102:102 is that IPv6 router solicitation message is set up in purpose IPv6 address, use IPv4 address, source 1.1.1.1 then, purpose IPv4 address 1.2.2.2 encapsulates this request message, it is 41 that protocol number is set, and this request message is sent by the IPv4 network.
Router one 20-1 receives this request message, remove the IPv4 stem of this request message, generate the V6 message and be sent to the processing of V6 protocol stack, generate the router response message, wherein carry the IPv6 prefix 2001:da1: that promising main frame 1 distributes :/64, and then using source address 1.2.2.2, destination address 1.1.1.1 carries out the message encapsulation of V4 to this response message.
After main frame 1 is received this response message, according to the prefix 2001:da1: of route assignment :/64 generate the global I Pv6 address 2001:da1::5efe:101:101 of oneself.Main frame 1 just can be given router one 20-1 V6 message encapsulation and transmits afterwards, thereby realizes and the communicating by letter of IPv6 network.
Realize that the ISATAP main frame inserts the IPv6 network, be necessary for this main frame assigned I SATAP router, and can only specify an ISATAP router for this main frame, all IPv6 services of this main frame all realize by the ISATAP router that distributes, if this router breaks down, then the access of ISATAP main frame also will be interrupted.
For fear of the Single Point of Faliure problem, can in the website of an IPv4, dispose many ISATAP routers and provide service for the ISATAP main frame in the website, even certain ISATAP router breaks down, can also use other ISATAP router to provide service as the ISATAP main frame, but need reconfigure the ISATAP router address for the ISATAP main frame, like this can be pretty troublesome and can't guarantee that the ISATAP main frame is best route to the ISATAP router that reconfigures.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of intra site automatic tunnel addressing protocol implementation method and device, can solve the Single Point of Faliure problem, and avoids reconfiguring the ISATAP router address for the ISATAP main frame.
For solving the problems of the technologies described above, embodiments of the invention provide technical scheme as follows:
On the one hand, provide a kind of intra site automatic tunnel addressing protocol implementation method, be used for comprising at least two networks that use the ISATAP router of identical IPv4 address, comprising:
But in the Intra-site Automatic Tunnel Addressing Protocol time spent of ISATAP router correspondence, the IPv6 that generates corresponding described Intra-site Automatic Tunnel Addressing Protocol appoints and broadcasts the address, and described IPv6 appoints and broadcasts address packet and contain described IPv4 address;
Store described IPv6 and appoint and broadcast the address, and generate to appoint according to described IPv4 address and broadcast address prefix;
Broadcast address prefix with described and inform all IPv4 routers in the IPv4 website.
Wherein, but described in the Intra-site Automatic Tunnel Addressing Protocol time spent of ISATAP router correspondence, the IPv6 that generates corresponding described Intra-site Automatic Tunnel Addressing Protocol also comprises before appointing the step of broadcasting the address:
Detect described Intra-site Automatic Tunnel Addressing Protocol whether the ISATAP access service is provided;
If described Intra-site Automatic Tunnel Addressing Protocol provides ISATAP access service, judge that then described Intra-site Automatic Tunnel Addressing Protocol can use, otherwise judge that described Intra-site Automatic Tunnel Addressing Protocol is unavailable.
Wherein, describedly broadcast address prefix with described and inform that the step of all the IPv4 routers in the IPv4 website comprises:
Broadcast address prefix with described and be added in the Interior Gateway Protocol, inform all IPv4 routers in the described IPv4 website by described Interior Gateway Protocol.
Wherein, describedly broadcast address prefix with described and also comprise after informing the step of all the IPv4 routers in the IPv4 website:
The destination address that receives and handle described IPv4 router transmission is the message of described IPv4 address.
Wherein, describedly broadcast address prefix with described and also comprise after informing the step of all the IPv4 routers in the IPv4 website:
Whether detect described Intra-site Automatic Tunnel Addressing Protocol available;
If described Intra-site Automatic Tunnel Addressing Protocol is unavailable, the IPv6 corresponding with described Intra-site Automatic Tunnel Addressing Protocol that deletion is stored appoints and broadcasts the address, and appointing of correspondence broadcast address prefix delete from described Interior Gateway Protocol.
The embodiment of the invention also provides a kind of intra site automatic tunnel addressing protocol implement device, be used for comprising at least two networks that use the ISATAP router of identical IPv4 address, described ISATAP implement device is provided with corresponding to described ISATAP router, comprising:
Generation module, but be used in the Intra-site Automatic Tunnel Addressing Protocol time spent of ISATAP router correspondence, the IPv6 that generates corresponding described Intra-site Automatic Tunnel Addressing Protocol appoints and broadcasts the address, and described IPv6 appoints and broadcasts address packet and contain described IPv4 address;
Appoint and to broadcast the address administration module, be used for generating to appoint broadcasting address prefix according to described IPv4 address;
Appoint and to broadcast the address prefix announcement module, be used for broadcasting address prefix and inform all IPv4 routers in the IPv4 website described.
Wherein, described generation module comprises:
Detection sub-module, whether be used to detect described Intra-site Automatic Tunnel Addressing Protocol provides the ISATAP access service;
Generate submodule, be used for when described detection sub-module detects described Intra-site Automatic Tunnel Addressing Protocol the ISATAP access service is provided, the IPv6 that generates including of corresponding described Intra-site Automatic Tunnel Addressing Protocol of described IPv4 address appoints and broadcasts the address;
First sends submodule, is used for the IPv6 that described generation submodule generates appointed broadcasting the address and being sent to described and broadcasting the address administration module.
Wherein, broadcast the address administration module and comprise for described:
First receives submodule, is used to receive the described IPv6 that includes described IPv4 address that described generation module sends and appoints and broadcast the address;
Sub module stored is used to store described first and receives IPv6 that submodule receives and appoint and broadcast the address;
Generate submodule, be used for generating to appoint broadcasting address prefix according to described IPv4 address;
Second sends submodule, is used for broadcasting address prefix with described and is sent to described and broadcasts the address prefix announcement module.
Wherein, broadcast the address prefix announcement module and comprise for described:
Second receives submodule, is used to receive described and broadcasts appointing that the address administration module sends and broadcast address prefix;
Add submodule, be used for broadcasting address prefix and be added into Interior Gateway Protocol described, informing the all-router in the described IPv4 website, so that described IPv4 router is in described at least two the ISATAP routers that use described IPv4 addresses one of the message routing of described IPv4 address with the destination address that receives.
Further, described generation module also is used for when Intra-site Automatic Tunnel Addressing Protocol is unavailable, generates the indication deletion IPv6 corresponding with described Intra-site Automatic Tunnel Addressing Protocol and appoints the delete instruction of broadcasting the address;
Broadcasting IPv6 that the address administration module also is used for the correspondence that deletion is stored according to described delete instruction for described appoints and broadcasts the address;
Broadcasting the address prefix announcement module for described also is used for according to described delete instruction appointing of correspondence being broadcast address prefix and deletes from described Interior Gateway Protocol.
Embodiments of the invention have following beneficial effect:
In the such scheme, but technical scheme provided by the invention is in the Intra-site Automatic Tunnel Addressing Protocol time spent, generation is appointed IPv6 that should Intra-site Automatic Tunnel Addressing Protocol and is broadcast the address, and will appoint appointing of broadcasting that the address generates to broadcast address prefix according to IPv6 and inform all IPv4 routers in the IPv4 website, the embodiment of the invention does not need to revise the protocol stack structure of ISATAP main frame, as long as broadcast the IPv4 address that comprises in the address for ISATAP host configuration IPv6 appoints, the IPv4 router just can carry out Route Selection afterwards, the ISATAP main frame message that receives is forwarded to informs to appoint and broadcast on the ISATAP router of address prefix, after an ISATAP router breaks down therein, the IPv4 router can be forwarded to the message that receives other automatically and inform on the router of appointing the ISATAP that broadcasts address prefix, has solved the Single Point of Faliure problem.The embodiment of the invention is avoided can reducing the network upgrade cost for the ISATAP main frame reconfigures the ISATAP router address.
Description of drawings
Fig. 1 is an ISATAP The Application of Technology scene schematic diagram;
Fig. 2 is the operation principle schematic diagram of ISATAP technology;
Fig. 3 is the schematic flow sheet of embodiments of the invention ISATAP implementation method;
Fig. 4 is the internal structure schematic diagram of embodiments of the invention ISATAP implement device;
Fig. 5 is the workflow schematic diagram of ISATAP implement device as shown in Figure 4.
Embodiment
For technical problem, technical scheme and advantage that embodiments of the invention will be solved is clearer, be described in detail below in conjunction with the accompanying drawings and the specific embodiments.
Embodiments of the invention in the prior art for fear of Single Point of Faliure, need reconfigure the problem of ISATAP router address for the ISATAP main frame, a kind of ISATAP implement device and method are provided, can solve the Single Point of Faliure problem, and avoid reconfiguring the ISATAP router address for the ISATAP main frame.
Figure 3 shows that the schematic flow sheet of embodiments of the invention ISATAP implementation method, present embodiment is used for comprising at least two networks that use the ISATAP router of identical IPv4 address, and as shown in Figure 3, present embodiment comprises:
Step 301: but in the Intra-site Automatic Tunnel Addressing Protocol time spent of ISATAP router correspondence, generate IPv6 that should Intra-site Automatic Tunnel Addressing Protocol appointed and broadcast the address, and this IPv6 appoints and broadcasts address packet and contain the IPv4 address;
Step 302: store this IPv6 and appoint and broadcast the address, and generate to appoint according to this IPv4 address and broadcast address prefix;
Step 303: will appoint and broadcast all IPv4 routers that address prefix informs that the IPv4 website is interior.
This is broadcast address prefix inform after all IPv4 routers in the IPv4 website, the IPv4 router just can be in above-mentioned at least two the ISATAP routers that use these IPv4 addresses one of the message routing of this IPv4 address with the destination address that receives.
The ISATAP method of present embodiment, in scene as shown in Figure 1, but in the Intra-site Automatic Tunnel Addressing Protocol time spent of ISATAP router correspondence, generation is appointed IPv6 that should Intra-site Automatic Tunnel Addressing Protocol and is broadcast the address, and will appoint appointing of broadcasting that the address generates to broadcast address prefix according to IPv6 and inform all IPv4 routers in the IPv4 website, present embodiment only need be disposed the ISATAP router, do not revise the protocol stack structure of ISATAP main frame, only need broadcast the IPv4 address that comprises in the address and get final product for ISATAP host configuration IPv6 appoints, the IPv4 router just can carry out Route Selection afterwards, the ISATAP main frame message that receives is forwarded to informs to appoint and broadcast on the ISATAP router of address prefix, after an ISATAP router breaks down therein, the IPv4 router can be forwarded to the message that receives other automatically and inform on the router of appointing the ISATAP that broadcasts address prefix, has solved the Single Point of Faliure problem.Present embodiment is avoided can reducing the network upgrade cost for the ISATAP main frame reconfigures the ISATAP router address.
Figure 4 shows that the internal structure schematic diagram of embodiments of the invention ISATAP implement device, the ISATAP implement device of present embodiment is used for comprising at least two networks that use the ISATAP router of identical IPv4 address, be provided with corresponding to the ISATAP router, this ISATAP implement device can independently exist, and also can be arranged in the ISATAP router.As shown in Figure 4, present embodiment comprises:
Generation module 40, but be used in the Intra-site Automatic Tunnel Addressing Protocol time spent of ISATAP router correspondence, generating IPv6 that should Intra-site Automatic Tunnel Addressing Protocol appointed and broadcast the address, this IPv6 appoints and broadcasts address packet and contain the IPv4 address;
Appoint and to broadcast address administration module 41, be used for generating to appoint broadcasting address prefix according to this IPv4 address;
Appoint and broadcast address prefix announcement module 42, be used for to appoint and broadcast address prefix and inform all IPv4 routers in the IPv4 website, so that the IPv4 router is in above-mentioned at least two the ISATAP routers that use these IPv4 addresses one of the message routing of this IPv4 address with the destination address that receives.
Further, generation module 40 comprises:
Detection sub-module 43, whether be used to detect Intra-site Automatic Tunnel Addressing Protocol provides the ISATAP access service;
Generate submodule 44, be used for when detection sub-module 41 detects Intra-site Automatic Tunnel Addressing Protocol the ISATAP access service is provided, generate the IPv6 that includes the IPv4 address that should Intra-site Automatic Tunnel Addressing Protocol appointed and broadcast the address;
First sends submodule 45, is used for generating IPv6 that submodule 44 generates and appoints and broadcast the address and be sent to appoint and broadcast address administration module 41.
Wherein, appoint and broadcast address administration module 41 and comprise:
First receives submodule 46, is used to receive the IPv6 that includes the IPv4 address that generation module 40 sends and appoints and broadcast the address;
Sub module stored 47 is used to store first and receives IPv6 that submodule 46 receives and appoint and broadcast the address;
Generate submodule 48, be used for generating to appoint broadcasting address prefix according to this IPv4 address;
Second sends submodule 49, is used for broadcasting address prefix and being sent to appoint and broadcasting address prefix announcement module 42 appointing.
Particularly, appoint and broadcast address prefix announcement module 42 and comprise:
Second receives submodule 50, is used to receive appoint broadcast appointing that address administration module 41 sends and broadcast address prefix;
Add submodule 51, be used for that this is broadcast address prefix and be added into Interior Gateway Protocol, to inform the all-router in the IPv4 website.
Detect Intra-site Automatic Tunnel Addressing Protocol when unavailable at generation module 40, generation module 40 generates the indication deletion IPv6 corresponding with this Intra-site Automatic Tunnel Addressing Protocol and appoints the delete instruction of broadcasting the address, and this delete instruction is sent to times broadcasts address administration module 41; Appoint and to broadcast corresponding IPv6 that address administration module 41 stored according to this delete instruction deletion and appoint and broadcast the address, and this delete instruction is forwarded to appoint broadcasts address prefix announcement module 42; Appoint and to broadcast address prefix announcement module 42 and will appoint according to this delete instruction and broadcast address prefix and delete in the gateway protocol internally, the ISATAP router at this device place will no longer provide the access service of IPv6 network afterwards.
Below in conjunction with scene shown in Figure 1 present embodiment is introduced, on each dual stack ISATAP router of IPv4 network edge, all dispose the ISATAP implement device that present embodiment provides respectively, just on router one 20-1 and 120-2, dispose this device respectively, ISATAP generation module 40 in each device is after detecting Intra-site Automatic Tunnel Addressing Protocol and can using, generating an IPv6 according to the IPv4 address 1.2.2.2 of this IPv4 network appoints and broadcasts the address, the IPv6 of this website of configuration appoints and broadcasts the address on the Intra-site Automatic Tunnel Addressing Protocol interface of all the ISATAP routers in the IPv4 website, as fe80::5efe:102:102/64.The ISATAP router can be appointed according to this IPv6 and broadcast the IPv4 address 1.2.2.2 that embeds in the address and generate the corresponding tunnel encapsulating sheet and conciliate encapsulating sheet, promptly, when receiving that purpose IP address is that 1.2.2.2, protocol number are 41 message, the IPv4 stem of this message is removed, send the IPv6 protocol stack to handle, when receiving the IPv6 message that needs the tunnel forwarding, use 1.2.2.2 as IPv4 address, source, and extract embedded V4 address from this IPv6 message and encapsulate as purpose IPv4 address, hand over the IPv4 protocol stack to handle.
Appoint and to broadcast address administration module 41 and appoint according to the IPv6 on this tunnel interface and broadcast the V4 address that embeds in the address and generate ISATAP and appoint and broadcast address prefix 1.2.2.0/24, broadcast prefix announcement module 42 and will appoint and broadcast address prefix and be communicated to all IPv4 routers in the IPv4 network by appointing, can add Interior Gateway Protocol to and realize by this being broadcast address prefix.This is broadcast address prefix and can not conflict with normal IPv4 network prefix in this website.
As shown in Figure 1, Interior Gateway Protocol can be known simultaneously that ISATAP that ISATAP router one 20-1 and 120-2 announcement comes appoints and broadcasts prefix 1.2.2.0/24 on router one 10-1, router one 10-1 is according to the principle of preferred optimum route, can preferred 110-1 to the route of 120-1, router one 10-4 then can be preferably from the route of 120-2.Like this for the main frame in the website, only needing a configuration ISATAP router address be 1.2.2.2, just can realize and the communicating by letter of IPv6 network.When passing through the IPv4 network, can select best route separately to arrive ISATAP router one 20-1 and 120-2 respectively such as router solicitation message when main frame 1 and main frame 4.Suppose that 120-1 is that the IPv6 prefix of tunnel interface appointment is 2001:da1:2001:101: :/64,120-2 is that the IPv6 prefix of tunnel interface appointment is 2001:da1:2001:102: :/64, then main frame 1 and main frame 4 will obtain corresponding IPv6 prefix respectively, and insert the IPv6 network according to the IPv6 prefix that obtains.
If certain period, ISATAP router one 20-1 breaks down, when generation module 40 detects an Intra-site Automatic Tunnel Addressing Protocol and can not continue the ISATAP access service is provided, can notice appoint broadcast address administration module 41 will be to should appointing of Intra-site Automatic Tunnel Addressing Protocol broadcasting the address deletion, with former broadcast address administration module 41 notice appoint broadcast address prefix announcement module 42 will be in Interior Gateway Protocol to should appointing of Intra-site Automatic Tunnel Addressing Protocol broadcasting the address prefix deletion, after Interior Gateway Protocol in the IPv4 network restrains again, router one 10-1 can reselect route 1.2.2.0/24, with routing update is that 110-1 to 110-2 is to 120-2, do not need like this to reconfigure the ISATAP router address for main frame 1, only need to use ISATAP router one 20-2 for it provides new prefix 2001:da1:2001:102/64, accept router one 20-2 its IPv6 access service that provides is provided.
Wherein, the plural Intra-site Automatic Tunnel Addressing Protocol that generation module 40 can also corresponding ISATAP routers generates is appointed and is broadcast the address for each Intra-site Automatic Tunnel Addressing Protocol generates corresponding IPv6, and IPv6 is appointed broadcast the address and add to take office and broadcast address administration module 41; Appoint the IPv6 that broadcasts all the Intra-site Automatic Tunnel Addressing Protocol correspondences on the address administration module 41 storage place ISATAP routers to appoint and broadcast the address, the address is broadcast in corresponding of state interpolation deletion according to Intra-site Automatic Tunnel Addressing Protocol, and appoint according to IPv6 and to broadcast the address and generate corresponding appointing and broadcast address prefix, be sent to appoint and broadcast prefix announcement module 42; Appoint and to broadcast prefix announcement module 42 and add the Interior Gateway Protocol routing table to appointing appointing of broadcasting that address administration module 41 generates to broadcast network prefix, by Interior Gateway Protocol with advertising of route in the IPv4 network, and according to appointing the renewal of broadcasting address administration module 41, whether decision cancels corresponding route.
The ISATAP implement device of present embodiment, but generate the IPv6 corresponding and appoint and broadcast the address detecting the Intra-site Automatic Tunnel Addressing Protocol time spent with this Intra-site Automatic Tunnel Addressing Protocol, and will appoint appointing of broadcasting that the address generates to broadcast address prefix according to IPv6 and inform all IPv4 routers in the IPv4 website, present embodiment is not revised the protocol stack structure of ISATAP main frame, only need broadcast the IPv4 address that comprises in the address and get final product for ISATAP host configuration IPv6 appoints, the IPv4 router just can carry out Route Selection afterwards, the ISATAP main frame message that receives is forwarded to informs to appoint and broadcast on the ISATAP router of address prefix, after an ISATAP router breaks down therein, the IPv4 router can be forwarded to the message that receives other automatically and inform on the router of appointing the ISATAP that broadcasts address prefix, has solved the Single Point of Faliure problem.Present embodiment is avoided can reducing the network upgrade cost for the ISATAP main frame reconfigures the ISATAP router address.
Below in conjunction with ISATAP implement device shown in Figure 4, the ISATAP implement device on the ISATAP router describes in detail to its workflow, and as shown in Figure 5, present embodiment comprises:
Step 501: judge whether Intra-site Automatic Tunnel Addressing Protocol is available,, turn to step 502, otherwise turn to step 508 if available;
In scene as shown in Figure 1, each ISATAP router has all been disposed the ISATAP implement device respectively, and whether the ISATAP implement device at first detects the Intra-site Automatic Tunnel Addressing Protocol state is UP, whether can provide the ISATAP access service, if the ISATAP access service can be provided, turn to step 502; Otherwise turn to step 508;
Step 502: generate and store IPv6 and appoint and broadcast the address, and generate to appoint and broadcast address prefix;
Generation is appointed IPv6 that should Intra-site Automatic Tunnel Addressing Protocol and is broadcast the address, and this IPv6 appoints and broadcasts the IPv4 address that comprises the IPv4 network in the address, and wherein, each host configuration in the IPv4 network has this IPv4 address; The IPv6 that storage generates appoints and broadcasts the address, and appoints the IPv4 address of broadcasting in the address to generate to appoint according to IPv6 and broadcast address prefix; When the ISATAP router has been created two above Intra-site Automatic Tunnel Addressing Protocol, appoint and broadcast the address for each Intra-site Automatic Tunnel Addressing Protocol generates corresponding IPv6, and the storage Intra-site Automatic Tunnel Addressing Protocol is appointed the corresponding relation of broadcasting between the address with IPv6 accordingly;
Step 503: will appoint and broadcast address prefix and be communicated to the IPv4 network;
Specifically can be published in the IPv4 network by Interior Gateway Protocol and go by broadcast address prefix and add the Interior Gateway Protocol routing table to appointing;
Step 504: receive and handle the router solicitation message;
Router in the IPv4 network is broadcast address prefix and can know that the ISATAP router at ISATAP implement device place provides IPv6 network insertion service by appointing, IPv6 router solicitation message through the IPv4 encapsulation can be informed a nearest ISATAP router of broadcasting address prefix according to route arrival, the ISATAP router is finished the decapsulation to this message, and by IPv6 protocol stack structure router response message, wherein comprise the IPv6 prefix that promising source host distributes, again by after the ISATAP encapsulation, send back to source host, source host is after receiving response message, just can generate global I Pv6 address, realize the IPv6 access service according to the IPv6 prefix in the response message;
Step 505: it is unavailable to detect Intra-site Automatic Tunnel Addressing Protocol;
The Intra-site Automatic Tunnel Addressing Protocol of Jian Liing carries out normal decapsulation and the service of encapsulate forwarded message afterwards, if the ISATAP implement device detects the tunnel and becomes unavailablely sometime, turns to step 506;
Step 506: deletion IPv6 appoints and broadcasts the address;
Detect Intra-site Automatic Tunnel Addressing Protocol unavailable after, need the IPv6 to should Intra-site Automatic Tunnel Addressing Protocol of deletion storage to appoint and broadcast the address;
Step 507: delete to appoint and broadcast address prefix;
To appoint accordingly and broadcast address prefix and cancel in the gateway protocol routing table internally, the ISATAP router at this sample ISATAP implement device place will no longer provide the access service of IPv6 network;
Step 508: press the IPv4 forwarding process and transmit the Intra-site Automatic Tunnel Addressing Protocol message.
After the tunnel was unavailable, received that the Intra-site Automatic Tunnel Addressing Protocol message need continue to be forwarded to the IPv4 network according to the IPv4 forwarding process this moment, provides IPv6 access service by other ISATAP router on the network.
In the present embodiment, only need on the ISATAP router of IPv4 and IPv6 network edge, dispose, not need to revise the protocol stack structure of main frame, reduce the network upgrade cost; Simultaneously, the use Interior Gateway Protocol is announced to appoint and is broadcast address prefix, only needs to consider that unduplicated address gets final product in the use IPv4 website, for example can use reserved address, simple possible.
Described method embodiment is corresponding with described device embodiment, the description of relevant portion gets final product among the part comparable device embodiment that does not describe in detail in method embodiment, and the description of relevant portion gets final product among the part reference method embodiment that does not describe in detail in device embodiment.
One of ordinary skill in the art will appreciate that, realize that all or part of step in the foregoing description method is to instruct relevant hardware to finish by program, described program can be stored in the computer read/write memory medium, this program is when carrying out, comprise step as above-mentioned method embodiment, described storage medium, as: magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
In each method embodiment of the present invention; the sequence number of described each step can not be used to limit the sequencing of each step; for those of ordinary skills, under the prerequisite of not paying creative work, the priority of each step is changed also within protection scope of the present invention.
The above is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from principle of the present invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (10)

1. an intra site automatic tunnel addressing protocol (ISATAP) implementation method is used for comprising at least two networks that use the ISATAP router of identical IPv4 address, it is characterized in that, comprising:
But in the Intra-site Automatic Tunnel Addressing Protocol time spent of ISATAP router correspondence, the IPv6 that generates corresponding described Intra-site Automatic Tunnel Addressing Protocol appoints and broadcasts the address, and described IPv6 appoints and broadcasts address packet and contain described IPv4 address;
Store described IPv6 and appoint and broadcast the address, and generate to appoint according to described IPv4 address and broadcast address prefix;
Broadcast address prefix with described and inform all IPv4 routers in the IPv4 website.
2. ISATAP implementation method according to claim 1 is characterized in that, but described in the Intra-site Automatic Tunnel Addressing Protocol time spent of ISATAP router correspondence, and the IPv6 that generates corresponding described Intra-site Automatic Tunnel Addressing Protocol appoints to broadcast and also comprises before the address:
Detect described Intra-site Automatic Tunnel Addressing Protocol whether the ISATAP access service is provided;
If described Intra-site Automatic Tunnel Addressing Protocol provides ISATAP access service, judge that then described Intra-site Automatic Tunnel Addressing Protocol can use, otherwise judge that described Intra-site Automatic Tunnel Addressing Protocol is unavailable.
3. ISATAP implementation method according to claim 1 is characterized in that, describedly broadcasts address prefix with described and informs that all the IPv4 routers in the IPv4 website comprise:
Broadcast address prefix with described and be added in the Interior Gateway Protocol, inform all IPv4 routers in the described IPv4 website by described Interior Gateway Protocol.
4. ISATAP implementation method according to claim 1 is characterized in that, describedly broadcasts address prefix with described and also comprises after informing all IPv4 routers in the IPv4 website:
The destination address that receives and handle described IPv4 router transmission is the message of described IPv4 address.
5. according to claim 1 or 3 described ISATAP implementation methods, it is characterized in that, describedly broadcast address prefix with described and also comprise after informing all IPv4 routers in the IPv4 website:
Whether detect described Intra-site Automatic Tunnel Addressing Protocol available;
If described Intra-site Automatic Tunnel Addressing Protocol is unavailable, the IPv6 corresponding with described Intra-site Automatic Tunnel Addressing Protocol that deletion is stored appoints and broadcasts the address, and appointing of correspondence broadcast address prefix delete from described Interior Gateway Protocol.
6. an intra site automatic tunnel addressing protocol (ISATAP) implement device, be used for comprising at least two networks that use the ISATAP router of identical IPv4 address, it is characterized in that described ISATAP implement device is provided with corresponding to described ISATAP router, comprising:
Generation module, but be used in the Intra-site Automatic Tunnel Addressing Protocol time spent of ISATAP router correspondence, the IPv6 that generates corresponding described Intra-site Automatic Tunnel Addressing Protocol appoints and broadcasts the address, and described IPv6 appoints and broadcasts address packet and contain described IPv4 address;
Appoint and to broadcast the address administration module, be used for generating to appoint broadcasting address prefix according to described IPv4 address;
Appoint and to broadcast the address prefix announcement module, be used for broadcasting address prefix and inform all IPv4 routers in the IPv4 website described.
7. ISATAP implement device according to claim 6 is characterized in that, described generation module comprises:
Detection sub-module, whether be used to detect described Intra-site Automatic Tunnel Addressing Protocol provides the ISATAP access service;
Generate submodule, be used for when described detection sub-module detects described Intra-site Automatic Tunnel Addressing Protocol the ISATAP access service is provided, the IPv6 that generates including of corresponding described Intra-site Automatic Tunnel Addressing Protocol of described IPv4 address appoints and broadcasts the address;
First sends submodule, is used for the IPv6 that described generation submodule generates appointed broadcasting the address and being sent to described and broadcasting the address administration module.
8. ISATAP implement device according to claim 6 is characterized in that, broadcasts the address administration module for described and comprises:
First receives submodule, is used to receive the described IPv6 that includes described IPv4 address that described generation module sends and appoints and broadcast the address;
Sub module stored is used to store described first and receives IPv6 that submodule receives and appoint and broadcast the address;
Generate submodule, be used for generating to appoint broadcasting address prefix according to described IPv4 address;
Second sends submodule, is used for broadcasting address prefix with described and is sent to described and broadcasts the address prefix announcement module.
9. ISATAP implement device according to claim 6 is characterized in that, broadcasts the address prefix announcement module for described and comprises:
Second receives submodule, is used to receive described and broadcasts appointing that the address administration module sends and broadcast address prefix;
Add submodule, be used for broadcasting address prefix and be added into Interior Gateway Protocol, to inform the all-router in the described IPv4 website with described.
10. according to claim 6 or 9 described ISATAP implement devices, it is characterized in that,
Described generation module also is used for when Intra-site Automatic Tunnel Addressing Protocol is unavailable, generates the indication deletion IPv6 corresponding with described Intra-site Automatic Tunnel Addressing Protocol and appoints the delete instruction of broadcasting the address;
Broadcasting IPv6 that the address administration module also is used for the correspondence that deletion is stored according to described delete instruction for described appoints and broadcasts the address;
Broadcasting the address prefix announcement module for described also is used for according to described delete instruction appointing of correspondence being broadcast address prefix and deletes from described Interior Gateway Protocol.
CN2009102540662A 2009-12-16 2009-12-16 Method for realizing intra site automatic tunnel addressing protocol and device thereof Expired - Fee Related CN101741926B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102540662A CN101741926B (en) 2009-12-16 2009-12-16 Method for realizing intra site automatic tunnel addressing protocol and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102540662A CN101741926B (en) 2009-12-16 2009-12-16 Method for realizing intra site automatic tunnel addressing protocol and device thereof

Publications (2)

Publication Number Publication Date
CN101741926A true CN101741926A (en) 2010-06-16
CN101741926B CN101741926B (en) 2012-12-19

Family

ID=42464809

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102540662A Expired - Fee Related CN101741926B (en) 2009-12-16 2009-12-16 Method for realizing intra site automatic tunnel addressing protocol and device thereof

Country Status (1)

Country Link
CN (1) CN101741926B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113347047A (en) * 2016-08-31 2021-09-03 Nicira股份有限公司 Edge node cluster network redundancy and fast convergence using underlying anycast VTEP IP
CN116232869A (en) * 2023-05-10 2023-06-06 明阳时创(北京)科技有限公司 Cross-protocol stack network fault positioning method and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1243437C (en) * 2003-09-17 2006-02-22 中国科学院计算技术研究所 An automatic tunnel method capable of traversing network address translation
CN101094155B (en) * 2007-08-02 2010-11-03 杭州华三通信技术有限公司 Method for establishing IPv6 tunnel, IPv6 tunnel communication method, and Ipv4 periphery devices

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113347047A (en) * 2016-08-31 2021-09-03 Nicira股份有限公司 Edge node cluster network redundancy and fast convergence using underlying anycast VTEP IP
CN113347047B (en) * 2016-08-31 2024-09-10 Nicira股份有限公司 Edge node cluster network redundancy and fast convergence using underlying anycast VTEP IP
CN116232869A (en) * 2023-05-10 2023-06-06 明阳时创(北京)科技有限公司 Cross-protocol stack network fault positioning method and system
CN116232869B (en) * 2023-05-10 2023-07-25 明阳时创(北京)科技有限公司 Cross-protocol stack network fault positioning method and system

Also Published As

Publication number Publication date
CN101741926B (en) 2012-12-19

Similar Documents

Publication Publication Date Title
CN102859973B (en) Method, apparatus and system for address resolution
US9258699B2 (en) Method for route transmission based on single IPv6 address prefix, and wireless device
EP2909981B1 (en) Method and system of packet based identifier locator network protocol (ilnp) load balancing and routing
EP3334196B1 (en) Communication control method, communication node, and mobile node
CN112087386B (en) Message processing method, device and system
EP2723026A1 (en) Method and system of frame based identifier locator network protocol (ILNP) load balancing and routing
CN102209121A (en) Method and device for intercommunication between Internet protocol version 6 (IPv6) network and Internet protocol version 4 (IPv4) network
CN101141372A (en) Method and device for management of routing information and data forwarding in access equipment
CN107317752B (en) Method and device for forwarding data message
CN102959906B (en) Routing method and device for host in multi-homing site
CN102792651B (en) At the device of MAC layer application service path Route Selection
US9088498B2 (en) Communication networks that provide a common transport domain for use by multiple service domains and methods and computer program products for using the same
CN107645433B (en) Message forwarding method and device
CN102904814B (en) Data transmission method, source PE, object PE and data transmission system
CN101834741B (en) Method and device for adjusting configuration of equipment under bridge port of home gateway
CN101741926B (en) Method for realizing intra site automatic tunnel addressing protocol and device thereof
CN103108056B (en) Device and method capable of achieving subscriber identifier and locator separation network
CN108259636B (en) Message processing method and device
CN102104634B (en) Method for communicating between LISP site and non-LISP site and apparatus and system thereof
CN102594937A (en) Method and system for realizing DHCP (Dynamic Host Configuration Protocol) v6 relay agent through two-layer network exchange equipment
JP4599429B2 (en) Communication system and communication method
EP1603287A1 (en) Home link setting method, home gateway device, and mobile terminal
CN101494849B (en) Communication equipment, method and system thereof
CN102025549B (en) Backup transmission method and system for fixed network multi-protocol label switching virtual private network
EP2485450A1 (en) Method and system for realizing information interaction in next generation network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121219

Termination date: 20191216