CN102025522A - Method for realizing multicast between different IP domains and boundary gateway router - Google Patents
Method for realizing multicast between different IP domains and boundary gateway router Download PDFInfo
- Publication number
- CN102025522A CN102025522A CN2010105985571A CN201010598557A CN102025522A CN 102025522 A CN102025522 A CN 102025522A CN 2010105985571 A CN2010105985571 A CN 2010105985571A CN 201010598557 A CN201010598557 A CN 201010598557A CN 102025522 A CN102025522 A CN 102025522A
- Authority
- CN
- China
- Prior art keywords
- multicast
- group
- address
- territory
- 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.)
- Granted
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention relates to a method for realizing multicast between different IP domains and a boundary gateway router. The method at least comprises the steps that: the boundary gateway router acquires multicast group information from an RP router of each IP domain; when the presence of a cross-domain multicast group is acquired according to the multicast group information, and the boundary gateway router sends, via the RP router of the IP domain for a multicast source of the cross-domain multicast group, a joining group request for joining the cross-domain multicast group to the multicast source in order to join the cross-domain multicast group; the RP router of the IP domain for the multicast source forwards multicast data sent by the multicast source; the boundary gateway router receives the multicast data and converts a multicast source address in the multicast data into a target IP domain interface address on the boundary gateway router or a vacant address in a preset target IP domain address pool; a group address in the multicast data is converted into the group address of a target IP domain; and the multicast source address and the group address-converted multicast data are sent to multicast routers interconnected directly in the target IP domain.
Description
Technical field
The present invention relates to network technology, relate in particular to a kind of method and borde gateway router of realizing multicast between the different IP territory.
Background technology
Along with the IP technology rapid development, be that the IPv6 network also is the IPv6 territory with the Next Generation Internet that occurs based on IPv6, the problem of the IPv4 network address resources exhaustion that causes with the continuous expansion that solves internet, applications.
From the IPv4 network to IPv6 network transition process, IPv4 network and IPv6 are network coexisted, cause the two to have compatibling problem.As for multicasting technology, when existing IPv4 network in the multicast group participates in having again the IPv6 network to participate in, just need to consider that the multicast packet that how multicast source in the territory is sent sends in another IP territory.The IP territory here is meant IPv4 network (IPv4 territory) or IPv6 network (IPv6 territory).
Prior art realizes the same multicast problem in different IP territory by dual stack technology or transponder mode.
Wherein, the dual stack technology is actually the stack of pure IPv4 multicast network and pure IPv6 multicast network.Particularly, multicast source is configured to dual stack, simultaneously sends data flow to IPv4 group and IPv6 group, makes the All hosts that moves the different agreement stack can both the receiving group message.This just requires all the node routers on multicast forwarding path all to need to support two stacks, only uses IPv4 for subparticipation person, and another part participant only uses the situation of IPv6, then can't realize multicast.
The transponder mode is meant that the IPv4-IPv6 multicast repeater changes (Reffect) between IPv4 and IPv6 multicast, given IPv4 group address and port and IPv6 group address and port, transponder will add two groups simultaneously and monitor corresponding ports, and all data of receiving from a winding will resend (Resend) to another group.Wherein, when the employed agreement of content provider is not extensively supported, and main frame or application program be not when supporting two agreement, and transponder is deployed near the multicast source; When the recipient uses when being different from the another kind of agreement in source, transponder is deployed near the recipient.The major defect of transponder mode is that performance is lower, can not support large-scale multicast application.It is necessary for each session and all enables an example in addition, and even without the recipient, it still carries out the process of retransmitting that receives.If the user need utilize transponder that service is provided on network, the necessary contact management person of user, application distributes a session in the limited time.
Therefore, be badly in need of a kind of multicast scheme at present and realize that the multicast resource in different IP territory is shared.
Summary of the invention
The present invention proposes a kind of method and borde gateway router of realizing multicast between the different IP territory, shares with the multicast resource of realizing IPv4 network and IPv6 network.
The invention provides a kind of method that realizes multicast between the different IP territory, comprise at least:
The borde gateway router obtains multicast group information from each IP territory RP router, and described multicast group information comprises information about multicast source and multicast recipient information at least;
When knowing according to described multicast group information when having cross-domain multicast group, described borde gateway router is by the RP router in the IP territory, multicast source place of described cross-domain multicast group, initiate to add the adding group request of described cross-domain multicast group to described multicast source, add described cross-domain multicast group, described cross-domain multicast group is the multicast group that multicast source and multicast recipient belong to the different IP territory;
The RP router in IP territory, described multicast source place is transmitted the multicast packet that described multicast source sends;
Described borde gateway router receives described multicast packet, multicast source address in the described multicast packet is converted to purpose IP domain interface address on the described borde gateway router or the idle address in the default purpose IP domain addresses pond, and preserves the mapping relations of conversion;
Described borde gateway router is converted to the group address in the described multicast packet group address in purpose IP territory;
The multicast packet of described borde gateway router after with the conversion of described multicast source address and group address sends to direct-connected multicast router in the described purpose IP territory.
The present invention also provides a kind of borde gateway router that is used for the method for multicast between the above-mentioned realization different IP territory, comprising:
The multicast group information acquiring unit is used for obtaining multicast group information from each IP territory RP router, and described multicast group information comprises information about multicast source and multicast recipient information at least;
Adding group unit, be used for when knowing according to described multicast group information when having cross-domain multicast group, the RP router in the IP territory, multicast source place by described cross-domain multicast group, initiate to add the adding group request of described cross-domain multicast group to described multicast source, add described cross-domain multicast group, described cross-domain multicast group is the multicast group that multicast source and multicast recipient belong to the different IP territory;
Receiving element is used to receive the multicast packet that described multicast source that the RP router in IP territory, described multicast source place transmits sends;
Map unit is used for multicast source address with described multicast packet and is converted to purpose IP domain interface address on the described borde gateway router or the idle address in the default purpose IP domain addresses pond, and preserves the mapping relations of conversion;
Address conversioning unit is used for the group address of described multicast packet is converted to the group address in purpose IP territory;
Data transmission unit is used for the multicast packet after described multicast source address and the group address conversion is sent to the direct-connected multicast router in described purpose IP territory.
The method and the borde gateway router of multicast between the realization different IP provided by the invention territory, obtaining each IP territory by the borde gateway router is the multicast group information in IPv4 territory and IPv6 territory, know cross-domain multicast group information, and after adding cross-domain multicast group, as intermediary's forwarding multicasting message and multicast packet, realized that the multicast resource in IPv4 territory and IPv6 territory is shared.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention, to do to introduce simply to the accompanying drawing of required use among the embodiment below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
A kind of flow chart of realizing the method for multicast between the different IP territory that Fig. 1 provides for the embodiment of the invention;
The form schematic diagram of shared group query message and shared group inquiry response message in the method for multicast between the realization different IP territory that Fig. 2 embodiment of the invention provides;
Share multicast group group address conversion schematic diagram between the realization different IP territory that Fig. 3 provides for the embodiment of the invention in the method for multicast;
The another kind that Fig. 4 provides for the embodiment of the invention is realized the flow chart of the method for multicast between the different IP territory;
A kind of network diagram that the method for multicast is used between the realization different IP territory that Fig. 5 provides for the embodiment of the invention;
The another kind of network diagram that the method for multicast is used between the realization different IP territory that Fig. 6 provides for the embodiment of the invention;
Another network diagram that the method for multicast is used between the realization different IP territory that Fig. 7 provides for the embodiment of the invention;
Another network diagram that the method for multicast is used between the realization different IP territory that Fig. 8 provides for the embodiment of the invention;
The structural representation that is used for the borde gateway router of the method for multicast between the above-mentioned realization different IP territory that Fig. 9 provides for the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
A kind of flow chart of realizing the method for multicast between the different IP territory that Fig. 1 provides for the embodiment of the invention, as shown in Figure 1, this method comprises at least:
Particularly, described borde gateway router can be regularly from each IP territory RP query router and obtain multicast group information, polling cycle is less than multicast routing protocol (Protocol Independent Multicast, PIM) update time of adding (join) message, obtain up-to-date multicast group information in real time to guarantee the borde gateway router.
The mode that the borde gateway router obtains multicast group information from each IP territory RP router has multiple, preferably, can expand on existing PIM message basis, increases by two types of messages, obtains multicast group information by these two kinds of messages.A kind of is the shared group query message of being initiated to the RP in IPv4/IPv6 territory router by the borde gateway router, is used for inquiring about the IPv4/IPv6 multicast group; Another kind is the shared group inquiry response message of being responded by the RP router, and this shared group inquiry response message carries local multicast group information.When a main frame being arranged in a certain IP territory when the RP in this territory router initiate to add a certain multicast group request, also can comprise the multicast recipient information in the above-mentioned multicast group information, i.e. this host information.The multicast group that adds of asking may with the main frame of initiating request in same IP territory, also may be not in same IP territory.When the multicast group of the main frame that initiate to add the multicast group request and ask adding is not in same IP territory, this multicast group will become cross-domain multicast group.
Wherein, shared group query message form as shown in Figure 2, the PIM version information that uses of " PIM Ver " expression wherein, version used herein is 2 PIM; " Type " represents the type of this message, and when value was 15, the type of representing this message was the shared group query message; The group address of " Group Address " expression IPv4/IPv6 multicast group if this message is the shared group query message, then is complete 0 here.The multicast source address of " Source Address " expression IPv4/IPv6 multicast group if this message is the shared group query message, then is complete 0 here.Whether whether " R " exists multicast recipient's mark, be used for writing down on the local RP router existing the recipient to apply for the flux of multicast of a certain multicast group, if this message is the shared group query message, this value is 0.Whether " S " expression has the multicast source of registration, i.e. the information about multicast source that whether has registered multicast group on local RP router (convergent point) router is write down in expression, if this message is the shared group query message, this value is 0.
In addition, the shared group query message also need be carried source IP (Source IP) information and purpose IP (Destination IP).Wherein, source IP is the local IPv4/IPv6 interface message that sends the shared group query message on the borde gateway router; Purpose IP promptly receives the RP router address of shared group query message.
The shared group query message can send to the RP router with the clean culture form by the borde gateway router, with multicast source or the multicast recipient information on the request purpose RP router.
Shared group inquiry response message as shown in Figure 2, form and shared group polling message are similar, just value is different.Wherein, " Type " value is 16, and " Group Address " locates the group address into the IPv4/IPv6 multicast group, and " Source Address " locates the multicast source address into the IPv4/IPv6 multicast group, " R " locates to mark whether to exist multicast recipient, " S " to locate to represent whether to have the multicast source of registration.Similarly, shared group inquiry response message also need carry source IP and purpose IP, just the value of source IP and purpose IP is just opposite with shared group polling message, and promptly source IP also is the RP router address that sends shared group inquiry response message for receiving the RP router address of shared group query message; Purpose IP is the local IPv4/IPv6 interface that sends the shared group query message on the borde gateway router, also is the local IPv4/IPv6 interface that receives shared group inquiry response message on the borde gateway router.
Shared group inquiry response message can be informed multicast source or recipient information on the local RP router of borde gateway router by the shared group query message of RP router with clean culture form response borde gateway router.If without any shared multicast source or multicast recipient information, group address of returning and multicast source address are complete 0 on the local RP router, and R represents that the multicast recipient does not exist, and S represents that multicast source does not exist.
The borde gateway router obtains multicast group information by above-mentioned two kinds of messages and specifically comprises:
Described borde gateway router is to the shared group query message of described each IP territory RP router transmission based on multicast routing protocol; The shared group query message sees above-mentioned explanation for details.
Described each territory RP router returns the shared group inquiry response message based on multicast routing protocol; Shared group inquiry response message sees above-mentioned explanation for details.
Described borde gateway router receives described shared group inquiry response message, therefrom obtains the source address and the group address of the multicast group in described each territory RP router, even further obtains the multicast recipient information (seeing above-mentioned explanation for details) of multicast group.
Wherein, cross-domain multicast group promptly multicast group promptly comprise main frame in the IPv4 territory and also comprise main frame in the IPv6 territory.In the IPv4 territory, and the multicast recipient is in the IPv6 territory as multicast source, and perhaps the recipient of a multicast group had both comprised main frame in the IPv4 territory and also comprised main frame in the IPv6 territory, and perhaps multicast source is in the IPv6 territory, and the recipient is in the IPv4 territory.
The borde gateway router is judged according to multicast group information and address transition algorithm, when in IPv6 (or IPv4) territory, having the recipient, whether in the IPv4 of correspondence (or IPv6) territory, also there is corresponding multicast source, if then there is cross-domain multicast group in explanation, this cross-domain multicast group both had the recipient in IPv6 (or IPv4) territory, in IPv4 (or IPv6) territory, there is required multicast source again, particularly, if the information about multicast source of a certain multicast group is arranged in the IPv4 territory, then the group address in this multicast group information in the IPv4 territory is converted to the group address in IPv6 territory, judge whether there is the group address that is converted in the IPv6 territory and whether has the recipient then, then the illustration purpose main frame is in IPv6 if exist, and the multicast group under this group address is cross-domain multicast group; If the information about multicast source of a certain multicast group is arranged in the IPv6 territory, then the group address in the multicast group information in the IPv6 territory is converted to the group address in IPv4 territory, judge whether there is the group address that is converted in the IPv4 territory and whether has the recipient then, then the illustration purpose main frame is in IPv4 if exist, and the multicast group under this group address is cross-domain multicast group.If a certain multicast group is cross-domain multicast group, then the borde gateway router is that RP router in IPv4 (or IPv6) territory at multicast source place sends the request of adding group to the direction of multicast source, so that the borde gateway router also is a node in the forward-path in the multicast forwarding path that the RP router is set up, when the RP router sends multicast packet, the multicast packet that sends to another network purpose group address is sent to the borde gateway router, carry out address transition by the borde gateway router again, multicast data sending is given the group address of another network the most at last, thereby the recipient in feasible and multicast source different IP territory is by the border router receiving multicast data.
The RP router in step 13, IP territory, described multicast source place is transmitted the multicast packet that described multicast source sends.
When the multicast source of cross-domain multicast group is arranged in the IPv4 territory, send multicast packet to the borde gateway router by the RP router in the IPv4 territory; When the multicast source of cross-domain multicast group is arranged in the IPv6 territory, send multicast packet to the borde gateway router by the RP router in the IPv6 territory.
Particularly, as multicast packet from the IPv4 territory, the multicast source that is cross-domain multicast group is positioned at the IPv4 territory, then the IPv4 address of multicast source is revised as the address (or the IPv6 address in the default address pool) of the IPv6 interface of this borde gateway router, and keep corresponding mapping relations, so that the recipient in the IPv6 territory is according to these mapping relations, by borde gateway router access multicast source.
As multicast packet from the IPv6 territory, the multicast source that is cross-domain multicast group is positioned at the IPv6 territory, then the IPv6 address of multicast source is revised as the address (or the address in the default address pool) of the IPv4 interface of this borde gateway router, and keep corresponding mapping relations, so that the recipient in the IPv4 territory is according to these mapping relations, by borde gateway router access multicast source.
Particularly, when the border networks router receives from the multicast packet in the IPv4 territory, the IPv4 territory group address in the described multicast packet is embedded in the IPv6 territory group address with multicast prefix sign.
Wherein, multicast prefix sign for example can be FFxy:F20 :/96, and wherein " x " " y " follows the flags that defines among the RFC2365 and the assignment requirement of Scope field.Flags is the multicast address of complete 0 expression permanent allocation; Get the multicast address of the impermanent distribution of 1 expression.Particularly, when IPv4 territory group address was a multicast address by global Internet addressing center (GINA) permanent allocation, the x mark was changed to " 0 " in the multicast prefix sign, otherwise is " 1 "; The unappropriated value of IPv6 territory scope (scope) field that defines among the y choice criteria draft RFC2365 in the multicast prefix sign is changed.
The definition of Scope field value is as shown in table 1:
Table 1
| Implication | |
0、3、F | Keep (reserved) | |
1 | Interface local scope (interface-local scope) | |
2 | Link local scope (link-local scope) | |
4 | Management local scope (admin-local scope) | |
5 | Website local scope (site-local scope) | |
6、7、9~D | Unallocated (unassigned) | |
8 | Mechanism's local scope (organization-local scope) | |
E | Global range (global scope) |
When IPv4 territory group address is changed to IPv6 territory group address, as shown in Figure 3, IPv4 territory group address is placed low 32 of IPv6 territory group address, and, the value of x and y is set according to IPv4 territory group address type.
When the border networks router receives from the multicast packet in the IPv6 territory, from IPv6 territory group address, extract back 32, as IPv4 territory group address with multicast prefix sign.
When IPv6 territory group address is changed to IPv4 territory group address, as shown in Figure 3, must determine IPv4 territory group address type according to x and y, same, when IPv4 territory group address was changed to IPv6 territory group address, the group address that same type is set was distributed among back 32 of IPv6 territory group address.
The front and back order that need to prove above-mentioned steps 14, step 15 is not limit, and the two can be carried out simultaneously, also can first execution in step 15, and execution in step 14 again.
Particularly, if multicast source is in the IPv4 territory, its address is mapped as the IPv6 interface, and the multicast packet after then the borde gateway router is changed group address by this IPv6 interface sends to IPv6 territory group address, and this IPv6 territory group address is converted to by the group address in the multicast packet.If multicast source is in the IPv6 territory, its address is mapped as the IPv4 interface, multicast packet after then the borde gateway router is changed group address by this IPv4 interface sends to IPv4 territory group address, and this IPv4 territory group address is converted to by the group address in the multicast packet.
Particularly, the borde gateway router at first is dealt into multicast packet direct-connected next and jumps on the multicast router, is finished the action of other PIM multicast router then by direct-connected multicast router, comprises to RP and initiates multicast source registration etc.
The embodiment of the invention is with the intermediary of borde gateway router as IPv4 territory and IPv6 territory, between the multicast RP in IPv4 territory and IPv6 territory router, pass on information about multicast source and recipient's request in the territory separately, and set up a multicast forwarding passage, realize the shortest path tree in IPv4 (or IPv6) territory and the splicing of the shared tree in IPv6 (or IPv4) territory, reached the intercommunication of IPv4 territory and IPv6 territory multicast.Further, the foregoing description has been arranged IPv6 territory multicast prefix FFxy:F20 :/96, and as the multicast reference address of sharing protocol groups.Borde gateway equipment is at the edge in IPv4 territory and IPv6 territory, by the inquiry to RP (convergent point) router in the various multicast domains, obtains to register in IPv4 territory and the IPv6 territory source information of cross-domain multicast group and to the solicited message of cross-domain multicast group.And by the IPv6/IPv4 protocol conversion on borde gateway equipment, the multicast traffic stream in different IP territory is dealt on the RP equipment in territory separately, realize the grafting of the shared tree of the shortest path tree of IPv4 (or IPv6) and IPv6 (or IPv4), finished multicast packet repeating process in the network of IPv6 (or IPv4) of IPv4 (or IPv6) network.The multicast path that the technical scheme that the embodiment of the invention provides has not only realized the IPv4/IPv6 territory by intercommunication, also reduced gateway device to handling the performance loss of large amount of complex protocol massages, be applicable to of the various multicast groupses application of IPv4 territory fully to IPv6 territory transition period.
The method of multicast between the realization different IP territory that the embodiment of the invention provides also can further comprise before the above-mentioned steps 11: main frame initiates to add the multicast group request to the RP in territory, place router, includes the purpose group address in the described multicast group request;
Described borde gateway router obtains the information of purpose group address and described main frame from the RP router in territory, described main frame place;
Described borde gateway router carries out address transition to described purpose group address, obtains the group address in another IP territory;
Described borde gateway router is under the situation that the group address that is converted to by described purpose group address has existed in described another IP territory, send the request of adding group to the RP router in IP territory, described multicast source place, and replace described main frame to add multicast group in the described multicast group request.If the existing main frame in territory, described before this main frame place initiates to add the multicast group request, then the borde gateway router is no longer initiated the request of adding group to the RP router in IP territory, described multicast source place.
As, main frame in the IPv4 territory initiates to add the request of a certain multicast group to described borde gateway router by the RP router, and the multicast source of this multicast group is arranged in the IPv6 territory, then the borde gateway router is at first inquired about multicast group information, see the explanation of above-mentioned steps 11 for details, after the group address process address transition of the multicast group that host request adds, the IPv6 group address that obtains is in the IPv6 territory under the already present situation, the RP router of borde gateway router in the IPv6 territory sends the request of adding group, and replaces the multicast group in the described main frame adding IPv6 territory.Perhaps, as the main frame in the IPv6 territory by the RP router to as described in the borde gateway router initiate to add the request of a certain multicast group, and the multicast source of this multicast group is arranged in the IPv4 territory, and then the borde gateway router is through substituting the multicast group in the main frame adding IPv4 territory after the above-mentioned inquiry.
The method of multicast also can further comprise between the realization different IP territory that the embodiment of the invention provides:
Described borde gateway router is inquired about described each IP territory RP router once more and is obtained multicast group information;
After being informed in described purpose IP territory group address main frame according to described multicast group information and all leaving described cross-domain multicast group, the multicast source address and the mapping relations of purpose IP domain interface address that the deletion of described borde gateway router is preserved, or discharge and preset occupied idle address in the purpose IP domain addresses pond on the described borde gateway router.If when having only the described purpose IP of part territory group address main frame to leave described cross-domain multicast group, then still keep the mapping relations of multicast source address and purpose IP domain interface address, or keep on the described borde gateway router occupied idle address in the default purpose IP domain addresses pond.
The another kind that Fig. 4 provides for the embodiment of the invention is realized the flow chart of the method for multicast between the different IP territory, and as shown in Figure 4, this method comprises:
The information of carrying of shared group query message is as follows:
Source IP: local IPv4/IPv6 interface message;
Destination IP:RP router address;
PIM Ver: multicast routing protocol version=2;
Type: type of message=15, represent that this message is the shared group query message;
Group Address1: group address 1 (words of query message are complete 0);
Source Address1: source address 1 (words of query message are complete 0);
S: the mark that whether has multicast source; R: the mark that whether has the multicast recipient.
……
Group Address n: group address n (words of query message are complete 0);
Source Address3: source address n (words of query message are complete 0);
S: the mark that whether has multicast source; R: the mark that whether has the multicast recipient.
The shared group inquiry response message that RP router in step 42, the borde gateway router reception IPv4 territory and the RP router in the IPv6 territory are responded.
The information of carrying of shared group inquiry response message is as follows:
Source IP:RP router address;
Destination IP: the local IPv4/IPv6 interface message on the borde gateway router;
PIM Ver: multicast routing protocol version=2;
Type: type of message=16, represent that this message is a shared group inquiry response message;
Group Address1: group address 1;
Source Address1: source address 1;
S: the mark that whether has multicast source; R: the mark that whether has the multicast recipient.
……
Group Address n: group address n;
Source Address n: source address n;
S: the mark that whether has multicast source; R: the mark that whether has the multicast recipient.
If step 46, borde gateway router judge that certain multicast group of local record is cross-domain multicast group, then initiate the request of adding group to the direction of the multicast source of this cross-domain multicast group.
As shown in Figure 5, the borde gateway router is with inquiring about by the RP router that is in the different IP territory to two, know that multicast group 224.1.1.1 (FF09:F20:E001:101) exists registered multicast source and recipient in IPv4 territory and IPv6 territory, then multicast group 224.1.1.1 (FF09:F20:E001:101) is cross-domain multicast group.
RP router in step 47, the multicast source place network is set up multicast transmit tree according to the adding group request that takes place in the step 46, and the multicast packet that sends to borde gateway router forwarding multicasting source.
After step 48, borde gateway router are received multicast packet, it is carried out protocol address and the conversion of protocol massages head, be converted into corresponding IPv4 (or IPv6) multicast message.
As shown in Figure 6, on the borde gateway router, use address translation techniques directly IPv4 and ipv6 header to be changed.And the mode by map addresses, in the address pool of static configuration, choose idle IPv4 (or IPv6 address), realize conversion to former multicast source address.
When the borde gateway router by inquiry, when learning the multicast source that in IPv4 and IPv6 territory, all there is cross-domain multicast group 224.1.1.1 and recipient.The borde gateway route is sent the request message that adds cross-domain multicast group 224.1.1.1 to the RP router in territory, place, source.Behind the adding group 224.1.1.1 request message that RP router in the IPv4 territory is received, to borde gateway router multicast data forwarding.When the borde gateway router receives the multicast packet of the RP router routing forwarding in this IPv4 territory, as shown in table 3, the borde gateway router utilizes protocol conversion mechanism that the address 224.1.1.1 of IPv4 multicast group is embedded into prefix to be FF09:F20:: in/96 the IPv6 address, obtain multicast IPv6 address FF09:F20::E001:0101/128.And as shown in table 2 IPv4 multicast source address 202.1.17.2 is mapped to idle IPv6 address 2001:890:1000::1901/128 in the institute configuration address pond, use this IPv6 address to issue direct-connected multicast router, finish registration process to the RP of IPv6 multicast domain router by the latter as the multicast source in the IPv6 territory, conversion back.
Table 2IPv4 is to the address mapping table of (to) IPv6
The IPv4 multicast source | The IPv6 address pool |
202.1.17.2 | 2001:890:1000::1901/128 |
20.1.1.2 | 2001:890:1000::1902/128 |
-- | 2001:890:1000::1903/128 |
-- | 2001:890:1000::1904/128 |
… | … |
Table 3IPv4 is to (to) IPv6 heading conversion table
In addition, when by the time the shared group recipient in the IPv6 territory leaves described shared group, on borde gateway equipment, should discharge the mapping relations of IPv4 multicast source and selected IPv6 address, the address resource of release IPv6.
When the multicast source of cross-domain multicast group was arranged in the IPv4 territory, as shown in Figure 7, the multicast packet that the borde gateway router receives was from the IPv4 territory.The borde gateway router is by inquiry, and when learning the multicast source that there is cross-domain multicast group 224.1.1.1 in IPv4 and IPv6 territory respectively and recipient, the borde gateway router sends the request message of adding group 224.1.1.1 to the RP router in territory, multicast source place.After RP router in the IPv4 territory is received the adding group request of 224.1.1.1, send multicast packet, give recipient in the IPv6 territory with transmitting multicast data by the borde gateway router to the borde gateway router.When the borde gateway router receives the flow of this IPv4 multicast, as shown in table 5, the address 224.1.1.1 of IPv4 multicast group is translated as the group address FF09:F20::E001:0101/128 of IPv6 by protocol conversion mechanism, and as shown in table 4 IPv4 multicast source address 202.1.17.2 is mapped to idle IPv6 address 2001:890:1000::1901/128 in the institute configuration address pond, use this free time IPv6 address to issue direct-connected multicast router as the multicast source in IPv6 territory, conversion back.Finish the process of registering to the RP of IPv4 multicast domain router by the borde gateway router by above-mentioned direct-connected multicast router.
Table 4IPv4 is to (to) IPv6 address mapping table
The IPv4 address pool | The IPv6 multicast source |
202.1.17.2 | 2001:890:1000::1901/128 |
-- | 2001:890:1000::1902/128 |
-- | 2001:890:1000::1903/128 |
-- | 2001:890:1000::1904/128 |
… | … |
Table 5IPv4 is to (to) IPv6 heading conversion table
When the cross-domain multicast group recipient in the IPv4 territory leaves described cross-domain multicast group by the time, on borde gateway equipment, should discharge the mapping relations of IPv6 multicast source and selected IPv4 address, discharge the address resource of IPv4.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
The structural representation that is used for the borde gateway router of the method for multicast between the above-mentioned realization different IP territory that Fig. 9 provides for the embodiment of the invention.As shown in Figure 9, the borde gateway router comprises multicast group information acquiring unit 91, adding group unit 92, receiving element 93, map unit 94, address conversioning unit 95 and data transmission unit 96.
Multicast group information acquiring unit 91 is used for obtaining multicast group information from each IP territory RP router, and described multicast group information comprises information about multicast source and multicast recipient information at least; Described multicast group information acquiring unit 91 can specifically be used for regularly from each territory RP query router and obtain multicast group information, the update time that polling cycle joins message less than multicast routing protocol.Concrete operations see the explanation of above-mentioned steps 11 for details.
Adding group unit 92 is used for when knowing according to described multicast group information when having cross-domain multicast group, the RP router in the IP territory, multicast source place by described cross-domain multicast group, initiate to add the adding group request of described cross-domain multicast group to described multicast source, add described cross-domain multicast group, described cross-domain multicast group is the multicast group that multicast source and multicast recipient belong to the different IP territory.Concrete operations see the explanation of above-mentioned steps 12 for details.
Receiving element 93 is used to receive the multicast packet that described multicast source that the RP router in IP territory, described multicast source place transmits sends.Concrete operations see the explanation of above-mentioned steps 13 for details.
Described multicast group information acquiring unit 91 can comprise: multicast group inquiry subelement and multicast group are obtained subelement.
Multicast group inquiry subelement is used for to the shared group query message of described each IP territory RP router transmission based on multicast routing protocol, and described shared group query message comprises whether source address, destination address, multicast routing protocol version, the type of message of described shared group query message and source address space, group address space, the multicast source that provides for the multicast group in described each IP territory RP router exist sign and multicast recipient whether to have identifier space; Concrete operations see the explanation of above-mentioned steps 11 for details.
Multicast group is obtained subelement and is used to receive the shared group inquiry response message based on multicast routing protocol that described each IP territory RP router returns, obtain the source address of the multicast group in described each IP territory RP router, group address, whether multicast source exists sign and multicast recipient whether to have sign, and described shared group inquiry response message comprises the source address of described shared group inquiry response message, destination address, the multicast routing protocol version, the source address of the multicast group in type of message and described each IP territory RP router, group address, whether multicast source exists sign and multicast recipient whether to have sign.Concrete operations see the explanation of above-mentioned steps 11 for details.
Described address conversioning unit 95 can comprise forward direction conversion subelement, is used for the IPv4 territory group address of described multicast packet is embedded in the IPv6 territory group address with multicast prefix sign, to realize that multicast message or data are sent to the IPv6 territory from the IPv4 territory.
Perhaps can comprise the reverse conversion subelement, be used for extracting back 32, as IPv4 territory group address, to realize that multicast message or data are sent to the IPv4 territory from the IPv6 territory from IPv6 territory group address with multicast prefix sign.
Perhaps can comprise above-mentioned forward direction conversion subelement and reverse conversion subelement, with realize with multicast message or data between IPv6 territory and IPv4 territory alternately.
Described multicast prefix is designated FFxy:F20 :/96, and described x is used for identifying the IPv6 territory group address of described multicast prefix sign, and whether the IPv4 territory group address of embedding is the multicast address of permanent allocation, and described y is used to identify the desirable address realm in IPv6 territory; At this moment, described reverse conversion subelement can specifically be used for extracting back 32 from the IPv6 territory group address with multicast prefix sign, and the type according to the value of described x, y is determined is converted to IPv4 territory group address with described back 32.
The borde gateway router that is used for the method for multicast between the above-mentioned realization different IP territory that the embodiment of the invention provides, described multicast group information acquiring unit 91 also can be used for inquiring about once more described each IP territory RP router and obtains multicast group information, at this moment, the borde gateway router also can comprise: resource releasing unit 97, be used for after being informed in described purpose IP territory group address main frame according to described multicast group information and leaving described cross-domain multicast group, the multicast source address that deletion is preserved and the mapping relations of purpose IP domain interface address, or discharge and preset occupied idle address in the purpose IP domain addresses pond on the described borde gateway router.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (12)
1. a method that realizes multicast between the different IP territory is characterized in that, comprises at least:
The borde gateway router obtains multicast group information from each IP territory RP router, and described multicast group information comprises information about multicast source and multicast recipient information at least;
When knowing according to described multicast group information when having cross-domain multicast group, described borde gateway router is by the RP router in the IP territory, multicast source place of described cross-domain multicast group, initiate to add the adding group request of described cross-domain multicast group to described multicast source, add described cross-domain multicast group, described cross-domain multicast group is the multicast group that multicast source and multicast recipient belong to the different IP territory;
The RP router in IP territory, described multicast source place is transmitted the multicast packet that described multicast source sends;
Described borde gateway router receives described multicast packet, multicast source address in the described multicast packet is converted to purpose IP domain interface address on the described borde gateway router or the idle address in the default purpose IP domain addresses pond, and preserves the mapping relations of conversion;
Described borde gateway router is converted to the group address in the described multicast packet group address in purpose IP territory;
The multicast packet of described borde gateway router after with the conversion of described multicast source address and group address sends to direct-connected multicast router in the described purpose IP territory.
2. the method for multicast between the realization different IP according to claim 1 territory, it is characterized in that, described borde gateway router is regularly to each IP territory RP query router and obtain multicast group information, the update time that polling cycle joins message less than multicast routing protocol.
3. the method for multicast is characterized in that between the realization different IP according to claim 1 and 2 territory, and the borde gateway router obtains multicast group information from each IP territory RP router and comprises:
Described borde gateway router is to the shared group query message of described each IP territory RP router transmission based on multicast routing protocol, and described shared group query message comprises whether source address, destination address, multicast routing protocol version, the type of message of described shared group query message and source address space, group address space, the multicast source that provides for the multicast group in described each IP territory RP router exist sign and multicast recipient whether to have identifier space;
Described each IP territory RP router returns the shared group inquiry response message based on multicast routing protocol, and described shared group inquiry response message comprises whether source address, group address, the multicast source of the multicast group in source address, destination address, multicast routing protocol version, type of message and described each IP territory RP router of described shared group inquiry response message exist sign and multicast recipient whether to have sign;
Described borde gateway router receives described shared group inquiry response message, and whether the source address, group address, the multicast source that obtain the multicast group in described each IP territory RP router exist sign and multicast recipient whether to have sign.
4. the method for multicast is characterized in that between the realization different IP according to claim 1 and 2 territory, and described borde gateway router comprises the group address that the group address in the described multicast packet is converted to purpose IP territory:
Described borde gateway router is embedded into the IPv4 territory group address in the described multicast packet in the IPv6 territory group address with multicast prefix sign; Perhaps
From IPv6 territory group address, extract back 32, as IPv4 territory group address with multicast prefix sign.
5. the method for multicast between the realization different IP according to claim 4 territory, it is characterized in that, described multicast prefix is designated FFxy:F20 :/96, described x is used for identifying the IPv6 multicast address of described multicast prefix sign, whether the IPv4 territory group address that embeds is the multicast address of permanent allocation, and described y is used to identify the desirable address realm in IPv6 territory;
From IPv6 territory group address, extract back 32 with multicast prefix sign, comprise as IPv4 territory group address: from IPv6 multicast address, extract back 32 with multicast prefix sign, type according to the value of described x, y is determined is converted to IPv4 territory group address with described back 32.
6. the method for multicast is characterized in that between the realization different IP according to claim 1 and 2 territory, also comprises:
Described borde gateway router is inquired about described each IP territory RP router once more and is obtained multicast group information;
After being informed in described purpose IP territory group address main frame according to described multicast group information and leaving described cross-domain multicast group, the multicast source address and the mapping relations of purpose IP domain interface address that the deletion of described borde gateway router is preserved, or discharge and preset occupied idle address in the purpose IP domain addresses pond on the described borde gateway router.
7. a borde gateway router that is used for the method for multicast between each described realization different IP territory of aforesaid right requirement 1-6 is characterized in that, comprising:
The multicast group information acquiring unit is used for obtaining multicast group information from each IP territory RP router, and described multicast group information comprises information about multicast source and multicast recipient information at least;
Adding group unit, be used for when knowing according to described multicast group information when having cross-domain multicast group, the RP router in the IP territory, multicast source place by described cross-domain multicast group, initiate to add the adding group request of described cross-domain multicast group to described multicast source, add described cross-domain multicast group, described cross-domain multicast group is the multicast group that multicast source and multicast recipient belong to the different IP territory;
Receiving element is used to receive the multicast packet that described multicast source that the RP router in IP territory, described multicast source place transmits sends;
Map unit is used for multicast source address with described multicast packet and is converted to purpose IP domain interface address on the described borde gateway router or the idle address in the default purpose IP domain addresses pond, and preserves the mapping relations of conversion;
Address conversioning unit is used for the group address of described multicast packet is converted to the group address in purpose IP territory;
Data transmission unit is used for the multicast packet after described multicast source address and the group address conversion is sent to the direct-connected multicast router in described purpose IP territory.
8. borde gateway router according to claim 7, it is characterized in that, described multicast group information acquiring unit specifically is used for regularly from each IP territory RP query router and obtains multicast group information, the update time that polling cycle joins message less than multicast routing protocol.
9. according to claim 7 or 8 described borde gateway routers, it is characterized in that described multicast group information acquiring unit comprises:
Multicast group inquiry subelement, be used for to the shared group query message of described each IP territory RP router transmission based on multicast routing protocol, described shared group query message comprises whether source address, destination address, multicast routing protocol version, the type of message of described shared group query message and source address space, group address space, the multicast source that provides for the multicast group in described each IP territory RP router exist sign and multicast recipient whether to have identifier space;
Multicast group is obtained subelement, be used to receive the shared group inquiry response message that described each IP territory RP router returns based on multicast routing protocol, obtain the source address of the multicast group in described each IP territory RP router, group address, whether multicast source exists sign and multicast recipient whether to have sign, and described shared group inquiry response message comprises the source address of described shared group inquiry response message, destination address, the multicast routing protocol version, the source address of the multicast group in type of message and described each IP territory RP router, group address, whether multicast source exists sign and multicast recipient whether to have sign.
10. according to claim 7 or 8 described borde gateway routers, it is characterized in that described address conversioning unit comprises following arbitrary subelement or combination:
Forward direction conversion subelement is used for the IPv4 territory group address of described multicast packet is embedded in the IPv6 territory group address with multicast prefix sign;
The reverse conversion subelement is used for extracting back 32 from the IPv6 territory group address with multicast prefix sign, as IPv4 territory group address.
11. borde gateway router according to claim 10, it is characterized in that, described multicast prefix is designated FFxy:F20 :/96, described x is used for identifying the IPv6 multicast address of described multicast prefix sign, whether the IPv4 territory group address that embeds is the multicast address of permanent allocation, and described y is used to identify the desirable address realm in IPv6 territory;
Described reverse conversion subelement specifically is used for extracting back 32 from the IPv6 multicast address with multicast prefix sign, and the type according to the value of described x, y is determined is converted to IPv4 territory group address with described back 32.
12. according to claim 7 or 8 described borde gateway routers, it is characterized in that, described multicast group information acquiring unit also is used for inquiring about described each IP territory RP router once more and obtaining multicast group information after the multicast packet after described multicast source address and the group address conversion is sent to the direct-connected multicast router in described purpose IP territory;
Described borde gateway router also comprises:
The resource releasing unit, be used for after being informed in described purpose IP territory group address main frame according to described multicast group information and leaving described cross-domain multicast group, the multicast source address that deletion is preserved and the mapping relations of purpose IP domain interface address, or discharge and preset occupied idle address in the purpose IP domain addresses pond on the described borde gateway router.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010598557A CN102025522B (en) | 2010-12-21 | 2010-12-21 | Method for realizing multicast between different IP domains and boundary gateway router |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010598557A CN102025522B (en) | 2010-12-21 | 2010-12-21 | Method for realizing multicast between different IP domains and boundary gateway router |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102025522A true CN102025522A (en) | 2011-04-20 |
CN102025522B CN102025522B (en) | 2012-09-05 |
Family
ID=43866416
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010598557A Expired - Fee Related CN102025522B (en) | 2010-12-21 | 2010-12-21 | Method for realizing multicast between different IP domains and boundary gateway router |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102025522B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103051744A (en) * | 2013-01-08 | 2013-04-17 | 中兴通讯股份有限公司 | Method and device for converting multicast address |
WO2014079190A1 (en) * | 2012-11-21 | 2014-05-30 | 华为技术有限公司 | Multicast message forwarding method and device |
CN104639446A (en) * | 2015-02-03 | 2015-05-20 | 杭州华三通信技术有限公司 | Method and device for obtaining multicasting source information |
CN105491558A (en) * | 2014-09-18 | 2016-04-13 | 北京信威通信技术股份有限公司 | Method for generating IPv6 multicast address of cluster group |
CN106851435A (en) * | 2016-12-23 | 2017-06-13 | 浙江宇视科技有限公司 | The sending method and rear end equipment of a kind of multicast data flow |
CN107592262A (en) * | 2016-07-07 | 2018-01-16 | 中兴通讯股份有限公司 | File transmitting method and the network architecture of the cross-domain forwarding of device, message |
CN109861913A (en) * | 2018-12-25 | 2019-06-07 | 北京华为数字技术有限公司 | A kind of prefix mark notifying method and device across Interior Gateway Protocol |
CN114793226A (en) * | 2022-06-23 | 2022-07-26 | 北京安盟信息技术股份有限公司 | Method and system for realizing multicast proxy and multicast tracing based on intermediate device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060140213A1 (en) * | 2004-12-23 | 2006-06-29 | Sun-Young Hwang | Tunneling method and apparatus for multicasting between IPv4 network and IPv6 network |
CN101247210A (en) * | 2008-03-12 | 2008-08-20 | 中兴通讯股份有限公司 | Method for implementing multicast forwarding tree based on multicast source discovering protocol |
CN101316272A (en) * | 2008-07-09 | 2008-12-03 | 南京邮电大学 | Multi-protocol layer interpretation method for constructing hybrid network of internet protocol version four and version six |
-
2010
- 2010-12-21 CN CN201010598557A patent/CN102025522B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060140213A1 (en) * | 2004-12-23 | 2006-06-29 | Sun-Young Hwang | Tunneling method and apparatus for multicasting between IPv4 network and IPv6 network |
CN101247210A (en) * | 2008-03-12 | 2008-08-20 | 中兴通讯股份有限公司 | Method for implementing multicast forwarding tree based on multicast source discovering protocol |
CN101316272A (en) * | 2008-07-09 | 2008-12-03 | 南京邮电大学 | Multi-protocol layer interpretation method for constructing hybrid network of internet protocol version four and version six |
Non-Patent Citations (1)
Title |
---|
《中兴通讯技术》 20060430 杨献烽等 IPV4-IPV6组播过渡技术 35-38 1-2,4-8,10-12 第12卷, 第2期 2 * |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014079190A1 (en) * | 2012-11-21 | 2014-05-30 | 华为技术有限公司 | Multicast message forwarding method and device |
US10225295B2 (en) | 2012-11-21 | 2019-03-05 | Huawei Technologies Co., Ltd. | Multicast packet forwarding method and device |
CN103051744A (en) * | 2013-01-08 | 2013-04-17 | 中兴通讯股份有限公司 | Method and device for converting multicast address |
CN103051744B (en) * | 2013-01-08 | 2016-03-30 | 中兴通讯股份有限公司 | The conversion method of multicast address and device |
CN105491558A (en) * | 2014-09-18 | 2016-04-13 | 北京信威通信技术股份有限公司 | Method for generating IPv6 multicast address of cluster group |
CN104639446A (en) * | 2015-02-03 | 2015-05-20 | 杭州华三通信技术有限公司 | Method and device for obtaining multicasting source information |
CN104639446B (en) * | 2015-02-03 | 2018-05-08 | 新华三技术有限公司 | A kind of information about multicast source acquisition methods and device |
CN107592262A (en) * | 2016-07-07 | 2018-01-16 | 中兴通讯股份有限公司 | File transmitting method and the network architecture of the cross-domain forwarding of device, message |
CN106851435A (en) * | 2016-12-23 | 2017-06-13 | 浙江宇视科技有限公司 | The sending method and rear end equipment of a kind of multicast data flow |
CN106851435B (en) * | 2016-12-23 | 2019-08-27 | 浙江宇视科技有限公司 | A kind of sending method and rear end equipment of multicast data flow |
CN109861913A (en) * | 2018-12-25 | 2019-06-07 | 北京华为数字技术有限公司 | A kind of prefix mark notifying method and device across Interior Gateway Protocol |
CN114793226A (en) * | 2022-06-23 | 2022-07-26 | 北京安盟信息技术股份有限公司 | Method and system for realizing multicast proxy and multicast tracing based on intermediate device |
Also Published As
Publication number | Publication date |
---|---|
CN102025522B (en) | 2012-09-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102025522B (en) | Method for realizing multicast between different IP domains and boundary gateway router | |
CN102820977B (en) | Method of multicasting, device and the network equipment | |
US20070127473A1 (en) | Interdomain bi-directional protocol independent multicast | |
CN102859973A (en) | Method, apparatus and system for address resolution | |
US20180227984A1 (en) | Data Communication Method and Terminal | |
CN1988507B (en) | Method, system and router for repeating multicast data | |
KR20040000633A (en) | Apparatus and method for searching DNS server on outer net | |
JP3759129B2 (en) | Apparatus and method for automatically assigning virtual address to duplicate address node | |
CN102307144B (en) | Dynamic host configuration protocol (DHCP) message forwarding method for transparent interconnection of lots of links (TRILL) network and routing bridge | |
CN101841573A (en) | Method and device for processing address information of Internet and Internet system | |
CN104618243A (en) | Routing method, device and system, and gateway scheduling method and device | |
US8194683B2 (en) | Teredo connectivity between clients behind symmetric NATs | |
CN100459544C (en) | Prefix delegation system and method of ad-hoc network | |
CN102204191A (en) | A message transmission method and a network-network routing device | |
CN101425958A (en) | Request answering method, apparatus and system in P2P overlapping network | |
CN100428681C (en) | Method for identifying multicast by using unicast address in IP network | |
CN106375211B (en) | Exchange data processing method and interchanger in VRRP load-balancing scenario | |
CN105530159A (en) | Cross-IPv6 and IPv4 VPN inter-access method and system | |
CN101924698B (en) | Method, system and equipment for balancing two-layer domain load based on IP unicast route | |
CN102201963A (en) | Media access control-forced forwarding method and functional unit | |
US7693091B2 (en) | Teredo connectivity between clients behind symmetric NATs | |
CN103108056A (en) | Device and method capable of achieving subscriber identifier and locator separation network | |
CN102104634B (en) | Method for communicating between LISP site and non-LISP site and apparatus and system thereof | |
CN103931218B (en) | Method and local network entity for data transfer | |
CN104378217A (en) | Method and device for determining multicast group data |
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: 20120905 Termination date: 20151221 |
|
EXPY | Termination of patent right or utility model |