CN101741926B - 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
CN101741926B
CN101741926B CN2009102540662A CN200910254066A CN101741926B CN 101741926 B CN101741926 B CN 101741926B CN 2009102540662 A CN2009102540662 A CN 2009102540662A CN 200910254066 A CN200910254066 A CN 200910254066A CN 101741926 B CN101741926 B CN 101741926B
Authority
CN
China
Prior art keywords
address
isatap
ipv4
intra
router
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.)
Expired - Fee Related
Application number
CN2009102540662A
Other languages
Chinese (zh)
Other versions
CN101741926A (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 through 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 through ISATAP so, and its operation principle is 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:: generate this address of link fe80::5efe:101:101 of 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, and it is 41 that protocol number is set, and this request message is sent through 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 that through 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 be that ISATAP main frame in the website provides service at many ISATAP routers of website deployed of an IPv4; Even certain ISATAP router breaks down; Can also use other ISATAP router service to be provided, but need reconfigure the ISATAP router address for the ISATAP main frame as 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 that the present invention will solve 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 following:
On the one hand, a kind of intra site automatic tunnel addressing protocol implementation method is provided, is used for comprising at least two networks that use the ISATAP router of identical IPv4 address, comprising:
But in the corresponding Intra-site Automatic Tunnel Addressing Protocol time spent of ISATAP router, the IPv6 that generates corresponding said Intra-site Automatic Tunnel Addressing Protocol appoints and broadcasts the address, and said IPv6 appoints and broadcasts address packet and contain said IPv4 address;
Store said IPv6 and appoint and broadcast the address, and generate to appoint according to said IPv4 address and broadcast address prefix;
Broadcast address prefix with said and inform all the IPv4 routers in the IPv4 website.
Wherein, but said in the corresponding Intra-site Automatic Tunnel Addressing Protocol time spent of ISATAP router, the IPv6 that generates corresponding said Intra-site Automatic Tunnel Addressing Protocol also comprises before appointing the step of broadcasting the address:
Detect said Intra-site Automatic Tunnel Addressing Protocol whether the ISATAP access service is provided;
If said Intra-site Automatic Tunnel Addressing Protocol provides ISATAP access service, judge that then said Intra-site Automatic Tunnel Addressing Protocol can use, otherwise judge that said Intra-site Automatic Tunnel Addressing Protocol is unavailable.
Wherein, saidly broadcast address prefix with said and inform that the step of all the IPv4 routers in the IPv4 website comprises:
Broadcast address prefix with said and be added in the Interior Gateway Protocol, inform all the IPv4 routers in the said IPv4 website by said Interior Gateway Protocol.
Wherein, saidly broadcast address prefix with said and also comprise after informing the step of all the IPv4 routers in the IPv4 website:
The destination address that receives and handle said IPv4 router transmission is the message of said IPv4 address.
Wherein, saidly broadcast address prefix with said and also comprise after informing the step of all the IPv4 routers in the IPv4 website:
Whether detect said Intra-site Automatic Tunnel Addressing Protocol available;
If said Intra-site Automatic Tunnel Addressing Protocol is unavailable, the IPv6 corresponding with said Intra-site Automatic Tunnel Addressing Protocol that deletion is stored appoints and broadcasts the address, and times broadcasting address prefix and from said Interior Gateway Protocol, delete correspondence.
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; Said ISATAP implement device is provided with corresponding to said ISATAP router, comprising:
Generation module, but be used in the corresponding Intra-site Automatic Tunnel Addressing Protocol time spent of ISATAP router, the IPv6 that generates corresponding said Intra-site Automatic Tunnel Addressing Protocol appoints and broadcasts the address, and said IPv6 appoints and broadcasts address packet and contain said IPv4 address;
Appoint and to broadcast the address administration module, be used for generating to appoint broadcasting address prefix according to said IPv4 address;
Appoint and broadcast the address prefix announcement module, be used for broadcasting address prefix and inform all the IPv4 routers in the IPv4 website said.
Wherein, said generation module comprises:
Detection sub-module, whether be used to detect said Intra-site Automatic Tunnel Addressing Protocol provides the ISATAP access service;
Generate submodule, be used for when said detection sub-module detects said Intra-site Automatic Tunnel Addressing Protocol the ISATAP access service is provided, the IPv6 that generates including of corresponding said Intra-site Automatic Tunnel Addressing Protocol of said IPv4 address appoints and broadcasts the address;
First sends submodule, is used for the IPv6 that said generation submodule generates appointed broadcasting the address and being sent to said and broadcasting the address administration module.
Wherein, broadcast the address administration module and comprise for said:
First receives submodule, is used to receive the said IPv6 that includes said IPv4 address that said generation module sends and appoints and broadcast the address;
Sub module stored is used to store said 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 said IPv4 address;
Second sends submodule, is used for broadcasting address prefix with said and is sent to said and broadcasts the address prefix announcement module.
Wherein, broadcast the address prefix announcement module and comprise for said:
Second receives submodule, is used to receive said 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 said; Informing the all-router in the said IPv4 website, so that said IPv4 router is in said at least two the ISATAP routers that use said IPv4 addresses one of the message routing of said IPv4 address with the destination address that receives.
Further, said generation module also is used for when Intra-site Automatic Tunnel Addressing Protocol is unavailable, generates the indication deletion IPv6 corresponding with said 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 said delete instruction for said appoints and broadcasts the address;
Broadcasting the address prefix announcement module for said also is used for according to said delete instruction appointing of correspondence being broadcast address prefix and deletes from said 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 the IPv4 routers in the IPv4 website, and the embodiment of the invention need not revised 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 other with the message that receives 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 sketch map;
Fig. 2 is the operation principle sketch map of ISATAP technology;
Fig. 3 is the schematic flow sheet of embodiments of the invention ISATAP implementation method;
Fig. 4 is the internal structure sketch map of embodiments of the invention ISATAP implement device;
Fig. 5 is the workflow sketch map 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, will combine accompanying drawing and specific embodiment to be described in detail below.
Embodiments of the invention are directed against 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.
Shown in Figure 3 is the schematic flow sheet of embodiments of the invention ISATAP implementation method, and 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 corresponding Intra-site Automatic Tunnel Addressing Protocol time spent of ISATAP router, 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 the 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 corresponding Intra-site Automatic Tunnel Addressing Protocol time spent of ISATAP router, generate IPv6 that should Intra-site Automatic Tunnel Addressing Protocol appointed and broadcast the address, and will appoint appointing of broadcasting that the address generates to broadcast address prefix according to IPv6 and inform all the 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 broke down therein, the IPv4 router can be forwarded to other with the message that receives 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.
Shown in Figure 4 is the internal structure sketch map 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 corresponding Intra-site Automatic Tunnel Addressing Protocol time spent of ISATAP router, 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 the 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 appointing and broadcasting the address and be sent to appoint and broadcast address administration module 41 generating IPv6 that submodule 44 generates.
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 that belongs to of this device will no longer provide the access service of IPv6 network afterwards.
Scene below in conjunction with shown in Figure 1 is introduced present embodiment; 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; Generate an IPv6 according to the IPv4 address 1.2.2.2 of this IPv4 network and appoint and broadcast 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, like 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 encapsulate as purpose IPv4 address, hand over the IPv4 protocol stack to handle from this embedded V4 address of IPv6 message extraction.
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 the IPv4 routers in the IPv4 network through appointing, can add Interior Gateway Protocol to and realize through this being broadcast address prefix.This is broadcast address prefix and in this website, can not conflict with normal IPv4 network prefix.
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 will obtain corresponding IPv6 prefix respectively with main frame 4, 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 the Interior Gateway Protocol in the IPv4 network restrained 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; Need only not need to use ISATAP router one 20-2 for it provides new prefix 2001:da1:2001:102/64 like this, accept router one 20-2 and be its IPv6 access service that provides for main frame 1 reconfigures the ISATAP router address.
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 corresponding IPv6 of all Intra-site Automatic Tunnel Addressing Protocol that broadcasts 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; Through 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 the 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 gets final product for ISATAP host configuration IPv6 appoints, and 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 broke down therein, the IPv4 router can be forwarded to other with the message that receives 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 the ISATAP access service can be provided; 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 through 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 through 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 accomplished the decapsulation to this message; And, wherein comprise the IPv6 prefix that promising source host distributes by IPv6 protocol stack structure router response message, again by after the ISATAP encapsulation; Send back to source host; Source host just can generate global I Pv6 address according to the IPv6 prefix in the response message after receiving response message, realize the IPv6 access service;
Step 505: it is unavailable to detect Intra-site Automatic Tunnel Addressing Protocol;
The Intra-site Automatic Tunnel Addressing Protocol of setting up afterwards carries out normal decapsulation and the service of encapsulate forwarded message, detects the tunnel as if ISATAP implement device sometime and becomes unavailablely, 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, by other ISATAP router on the network IPv6 is provided access service.
In the present embodiment, only need on the ISATAP router of IPv4 and IPv6 network edge, dispose, need not 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.
Said method embodiment is corresponding with said device embodiment; The description of relevant portion gets final product among the part comparable device embodiment that in method embodiment, does not describe in detail, and the description of relevant portion gets final product among the part reference method embodiment that in device embodiment, does not describe in detail.
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 accomplish through program; Described program can be stored in the computer read/write memory medium, and this program comprises the step like above-mentioned method embodiment when carrying out; 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 said 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 according to the invention; Can also make some improvement and retouching, these improvement and retouching also should be regarded 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 corresponding Intra-site Automatic Tunnel Addressing Protocol time spent of ISATAP router, the IPv6 that generates corresponding said Intra-site Automatic Tunnel Addressing Protocol appoints and broadcasts the address, and said IPv6 appoints and broadcasts address packet and contain said IPv4 address;
Store said IPv6 and appoint and broadcast the address, and generate to appoint according to said IPv4 address and broadcast address prefix;
Broadcast address prefix with said and inform all the 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 said IPv4 address with the destination address that receives; After an ISATAP router broke down therein, the IPv4 router was forwarded to other with the message that receives automatically and informs on the router of appointing the ISATAP that broadcasts address prefix.
2. ISATAP implementation method according to claim 1 is characterized in that, but said in the corresponding Intra-site Automatic Tunnel Addressing Protocol time spent of ISATAP router, and the IPv6 that generates corresponding said Intra-site Automatic Tunnel Addressing Protocol appoints and also comprises before broadcasting the address:
Detect said Intra-site Automatic Tunnel Addressing Protocol whether the ISATAP access service is provided;
If said Intra-site Automatic Tunnel Addressing Protocol provides ISATAP access service, judge that then said Intra-site Automatic Tunnel Addressing Protocol can use, otherwise judge that said Intra-site Automatic Tunnel Addressing Protocol is unavailable.
3. ISATAP implementation method according to claim 1 is characterized in that, saidly broadcasts address prefix with said and informs that all the IPv4 routers in the IPv4 website comprise:
Broadcast address prefix with said and be added in the Interior Gateway Protocol, inform all the IPv4 routers in the said IPv4 website by said Interior Gateway Protocol.
4. ISATAP implementation method according to claim 1 is characterized in that, saidly broadcasts address prefix with said and also comprises after informing all the IPv4 routers in the IPv4 website:
The destination address that receives and handle said IPv4 router transmission is the message of said IPv4 address.
5. according to claim 1 or 3 described ISATAP implementation methods, it is characterized in that, saidly broadcast address prefix with said and also comprise after informing all the IPv4 routers in the IPv4 website:
Whether detect said Intra-site Automatic Tunnel Addressing Protocol available;
If said Intra-site Automatic Tunnel Addressing Protocol is unavailable, the IPv6 corresponding with said Intra-site Automatic Tunnel Addressing Protocol that deletion is stored appoints and broadcasts the address, and times broadcasting address prefix and delete in the gateway protocol internally correspondence.
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 said ISATAP implement device is provided with corresponding to said ISATAP router, comprising:
Generation module, but be used in the corresponding Intra-site Automatic Tunnel Addressing Protocol time spent of ISATAP router, the IPv6 that generates corresponding said Intra-site Automatic Tunnel Addressing Protocol appoints and broadcasts the address, and said IPv6 appoints and broadcasts address packet and contain said IPv4 address;
Appoint and to broadcast the address administration module, be used for generating to appoint broadcasting address prefix according to said IPv4 address;
Appoint and broadcast the address prefix announcement module; Be used for broadcasting address prefix and inform all the IPv4 routers in the IPv4 website said; 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 said IPv4 address with the destination address that receives; After an ISATAP router broke down therein, the IPv4 router was forwarded to other with the message that receives automatically and informs on the router of appointing the ISATAP that broadcasts address prefix.
7. ISATAP implement device according to claim 6 is characterized in that, said generation module comprises:
Detection sub-module, whether be used to detect said Intra-site Automatic Tunnel Addressing Protocol provides the ISATAP access service;
Generate submodule, be used for when said detection sub-module detects said Intra-site Automatic Tunnel Addressing Protocol the ISATAP access service is provided, the IPv6 that generates including of corresponding said Intra-site Automatic Tunnel Addressing Protocol of said IPv4 address appoints and broadcasts the address;
First sends submodule, is used for the IPv6 that said generation submodule generates appointed broadcasting the address and being sent to said and broadcasting the address administration module.
8. ISATAP implement device according to claim 6 is characterized in that, broadcasts the address administration module for said and comprises:
First receives submodule, is used to receive the said IPv6 that includes said IPv4 address that said generation module sends and appoints and broadcast the address;
Sub module stored is used to store said 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 said IPv4 address;
Second sends submodule, is used for broadcasting address prefix with said and is sent to said 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 said and comprises:
Second receives submodule, is used to receive said 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 said IPv4 website with said.
10. according to claim 6 or 9 described ISATAP implement devices, it is characterized in that,
Said generation module also is used for when Intra-site Automatic Tunnel Addressing Protocol is unavailable, generates the indication deletion IPv6 corresponding with said 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 said delete instruction for said appoints and broadcasts the address;
Said broadcast the address prefix announcement module also be used for according to said delete instruction with appointing of correspondence broadcast address prefix internally gateway protocol delete.
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 CN101741926A (en) 2010-06-16
CN101741926B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10454758B2 (en) * 2016-08-31 2019-10-22 Nicira, Inc. Edge node cluster network redundancy and fast convergence using an underlay anycast VTEP IP
CN116232869B (en) * 2023-05-10 2023-07-25 明阳时创(北京)科技有限公司 Cross-protocol stack network fault positioning method and system

Citations (2)

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

Patent Citations (2)

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

Also Published As

Publication number Publication date
CN101741926A (en) 2010-06-16

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
EP3334196B1 (en) Communication control method, communication node, and mobile node
CN112087386B (en) Message processing method, device and system
EP2909981B1 (en) Method and system of packet based identifier locator network protocol (ilnp) load balancing and routing
CN101692646B (en) Method for handling layer-2 forwarding and distributed device
EP2723026A1 (en) Method and system of frame based identifier locator network protocol (ILNP) load balancing and routing
CN105100299A (en) Message sending method, NAT (Network Address Translation) table entry establishment method and NAT device
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
CN102710509A (en) Automatic data center configuration method and method
KR102449017B1 (en) Method and apparatus for management session based on reallocation of pdu session anchor apparatus
CN102959906B (en) Routing method and device for host in multi-homing site
CN102377628A (en) Method for establishing DS-Lite tunnel and DS-Lite CGN
CN102316028A (en) Method and apparatus for sending internet protocol packet
CN103731349A (en) Method for conducting Ethernet virtualized message transmission between interconnection neighbors and edge device
CN102792651A (en) Packet node for applying service path routing at the MAC layer
CN102904814B (en) Data transmission method, source PE, object PE and data transmission system
CN102118453A (en) Method, service device, client and communication system for automatic configuration of IP address
US8761185B2 (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
WO2018161795A1 (en) Routing priority configuration method, device, and controller
CN101741926B (en) Method for realizing intra site automatic tunnel addressing protocol and device thereof
CN102439918A (en) Method, device and system for transmittig message
CN112929284A (en) ND message identification method and system under IPv6VXLAN scene
CN102104634B (en) Method for communicating between LISP site and non-LISP site and apparatus and system thereof

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

Granted publication date: 20121219

Termination date: 20191216

CF01 Termination of patent right due to non-payment of annual fee