CN104780090A - VPN multicast transmission method and device PE equipment - Google Patents
VPN multicast transmission method and device PE equipment Download PDFInfo
- Publication number
- CN104780090A CN104780090A CN201510209198.9A CN201510209198A CN104780090A CN 104780090 A CN104780090 A CN 104780090A CN 201510209198 A CN201510209198 A CN 201510209198A CN 104780090 A CN104780090 A CN 104780090A
- Authority
- CN
- China
- Prior art keywords
- vpn
- multicast
- network multicast
- public network
- message
- 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
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a VPN multicast transmission method and device and PE equipment. The method comprises the steps that a public network multicast forwarding table is created in a public network according to a configured multicast tunnel address; the multicast tunnel address is the VPN multicast tunnel address belonging to the transmitting end PE equipment; when a private network multicast report is received, a VPN identifier belonging to the private network multicast report is obtained from the private network multicast forwarding table, and the private network multicast report is packaged into a public network multicast report; the public network multicast report comprises the VPN identifier and the multicast tunnel address; the public network multicast report is sent to each receiving end PE equipment according to the VPN identifier and the multicast tunnel address, so that the receiving end PE equipment unpacks the public network multicast report according to the VPN identifier and the multicast tunnel address and transmits the unpacked public network multicast report to the corresponding VPN. According to the VPN multicast transmission method and device and the PE equipment, address resources are saved on the premise of not affecting private network multicast service.
Description
Technical field
The application relates to VPN technologies, particularly relates to the method for multicast transmission in VPN, device and PE equipment.
Background technology
Three layers of multicasting VPN (Virtual Private Network, VPN (virtual private network)) are technology realizing multicast transmission in VPN.
The scheme of multicast transmission in VPN of current comparative maturity is MD (the Multicast Domain that RFC6037 introduces, multicast domain) solution, the program only need at PE (Provider Edge, the edge router of service provider) equipment configures VPN related content, other equipment only need to configure basic multicast functionality.
But the Multicast Tunnel address of each VPN of this protocols call can not be identical, otherwise can receive the VPN traffics not belonging to this VPN in VPN.Therefore, when VPN instance quantity is larger, a large amount of public network multicast address resources can be taken, had a strong impact on using and planning of public network common multicast business.
Summary of the invention
The application provides the method for multicast transmission in a kind of VPN, device and PE equipment, can save address resource under the prerequisite not affecting private network multicast service.
According to the first aspect of the embodiment of the present application, provide a kind of method of VPN multicast transmission, run on transmitting terminal PE equipment, the method comprising the steps of:
In public network, public network multicast forward table is created according to configured Multicast Tunnel address; The Multicast Tunnel address of the VPN of described Multicast Tunnel address belonging to described transmitting terminal PE equipment;
When receiving private network multicast message, from private network multicast forward table, obtaining the VPN mark belonging to described private network multicast message, and described private network multicast message is packaged into public network multicast message; Described public network multicast message carries described VPN and identifies and described Multicast Tunnel address;
Described public network multicast message is sent to each receiving terminal PE equipment according to described public network multicast forward table, corresponding VPN will be forwarded to after the decapsulation of described public network multicast message to make receiving terminal PE equipment according to described VPN mark and described Multicast Tunnel address.
According to the second aspect of the embodiment of the present application, provide the method for multicast transmission in a kind of VPN, run on receiving terminal PE equipment, the method comprising the steps of:
When receiving public network multicast message, described public network multicast message deblocking is dressed up private network multicast message; Described public network multicast message carries the mark of the VPN belonging to transmitting terminal PE equipment and the Multicast Tunnel address of described VPN;
According to mark and the described Multicast Tunnel address search private network multicast forward table of VPN, determine corresponding VPN, and described private network multicast message is forwarded to the VPN of described correspondence; The VPN mark belonging to described receiving terminal PE equipment is preserved in described private network multicast forward table.
According to the third aspect of the embodiment of the present application, provide a kind of device of VPN multicast transmission, be positioned at transmitting terminal PE equipment, comprising:
Public network multicast forward table creation module, for creating public network multicast forward table according to configured Multicast Tunnel address in public network; The Multicast Tunnel address of the VPN of described Multicast Tunnel address belonging to described transmitting terminal PE equipment;
Package module, for when receiving private network multicast message, obtaining the VPN mark belonging to described private network multicast message, and described private network multicast message is packaged into public network multicast message from private network multicast forward table; Described public network multicast message carries the mark of described VPN and described Multicast Tunnel address, will be forwarded to the VPN of described correspondence to make described receiving terminal PE equipment according to the mark of described VPN and described Multicast Tunnel address after the decapsulation of described public network multicast message;
Communication module, for being sent to each receiving terminal PE equipment by described public network multicast message according to described public network multicast forward table.
According to the fourth aspect of the embodiment of the present application, provide the device of multicast transmission in a kind of VPN, be positioned at and receive PE equipment, comprising:
Parsing module, for when receiving public network multicast message, dresses up private network multicast message by described public network multicast message deblocking; Described public network multicast message carries the mark of the VPN belonging to transmitting terminal PE equipment and the Multicast Tunnel address of described VPN;
Routing module, for according to the mark of VPN and described Multicast Tunnel address search private network multicast forward table, determines corresponding VPN, and is forwarded in the VPN of described correspondence by described private network multicast message; The VPN mark belonging to described receiving terminal PE equipment is preserved in described private network multicast forward table.
According to the 5th aspect of the embodiment of the present application, provide a kind of PE equipment, comprise the device of device and the 2nd VPN multicast transmission being positioned at a VPN multicast transmission,
The device of a described VPN multicast transmission, for creating public network multicast forward table according to configured Multicast Tunnel address in public network; The Multicast Tunnel address of the VPN of described Multicast Tunnel address belonging to described transmitting terminal PE equipment; When receiving private network multicast message, from private network multicast forward table, obtaining the VPN mark belonging to described private network multicast message, and described private network multicast message is packaged into public network multicast message; Described public network multicast message is sent to each receiving terminal PE equipment according to described public network multicast forward table, and described public network multicast message carries the VPN mark of described VPN and described Multicast Tunnel address,
The device of described 2nd VPN multicast transmission, for when receiving the public network multicast message of transmitting terminal, dresses up private network multicast message by the public network multicast message deblocking of transmitting terminal; According to mark and the described Multicast Tunnel address search private network multicast forward table of described VPN, determine corresponding VPN, and described private network multicast message is forwarded to the VPN of described correspondence; The VPN mark belonging to described receiving terminal PE equipment is preserved in described private network multicast forward table.
Because prior art is when encapsulating public network multicast message, do not carry the information that any VPN is relevant, therefore when Tunnel Endpoint decapsulation, can only determine which VPN this multicast message belongs to according to the destination address of encapsulation, and VPN mark encapsulates in public network multicast message when encapsulating public network multicast message by the application, even if Multicast Tunnel address and public network address are shared same address field and also can be identified by VPN and distinguished, thus effectively can save public network tunnel address resource, facilitate large-scale multicasting VPN to apply.
Accompanying drawing explanation
Fig. 1 is the networking diagram of VPN in the embodiment of the present application;
Fig. 2 is the mapping relations figure of PE equipment in different instances in the embodiment of the present application;
Fig. 3 is the flow chart of a VPN multicast transmission method in the embodiment of the present application;
Fig. 4 is the flow chart of another VPN multicast transmission method in the embodiment of the present application;
Fig. 5 is the Signalling exchange sequential chart of each equipment of VPN in the application's application example;
Fig. 5 a is the form schematic diagram of GRE message in application example;
Fig. 6 is the hardware structure figure of the device of VPN multicast transmission method in the embodiment of the present application;
Fig. 7 is the device software logic diagram of a VPN multicast transmission method in the embodiment of the present application;
Fig. 8 is the device software logic diagram of another VPN multicast transmission method in the embodiment of the present application;
Fig. 9 is the software logic block diagram of PE equipment in the embodiment of the present application.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the application.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that some aspects of the application are consistent.
Only for describing the object of specific embodiment at term used in this application, and not intended to be limiting the application." one ", " described " and " being somebody's turn to do " of the singulative used in the application and appended claims is also intended to comprise most form, unless context clearly represents other implications.It is also understood that term "and/or" used herein refer to and comprise one or more project of listing be associated any or all may combine.
Term first, second, third, etc. may be adopted although should be appreciated that to describe various information in the application, these information should not be limited to these terms.These terms are only used for the information of same type to be distinguished from each other out.Such as, when not departing from the application's scope, the first information also can be called as the second information, and similarly, the second information also can be called as the first information.Depend on linguistic context, word as used in this " if " can be construed as into " ... time " or " when ... time " or " in response to determining ".
Fig. 1 be the application a kind of networking diagram of VPN that is suitable for.A VPN comprises the public network (in figure public network) of operator and each VPN (in figure VPN A, VPN B) as private network.
In figure P (Provider, backbone network nucleus equipment) not with CE equipment (CE1, CE2 ... CE 6) be directly connected, be responsible for the forwarding of MPLS (Multiprotocol Label Switching, multiprotocol label switching) message.PE equipment is directly connected with CE equipment, and be responsible for the process of VPN route, CE (CustomerEdge, user network edge device) can be router or switch, also can be a main frame, is responsible for the issue of user network route.
Each website of user (Site1, Site2 in figure ... Site6) be positioned at each VPN, isolate each other between each Site, need could realize intercommunication by public network.In figure, each website (Site 1, Site 3, Site 5) of VPN A transmits private network flux of multicast by PE (PE1, PE2, PE3) equipment connected separately in public network, similar, each website (Site 2, Site 4, Site 6) of VPN B transmits private network flux of multicast by the PE equipment (PE1, PE2, PE3) connected separately in public network.
Describe the implementation of the method for the application VPN multicast transmission below in conjunction with Fig. 2 and Fig. 3, in this application, the multicast service in public network is called public network example, the multicast service in VPN is called VPN instance.Fig. 2 is the corresponding relation schematic diagram of PE equipment (for PE1 and PE2) in common example and VPN instance under the network architecture shown in Fig. 1.PE equipment supports many examples, is equivalent to the multicast equipment of multiple stage independent operating.The plane (in figure public network example flat, VPN instance plane) be isolated from each other is formed, the corresponding plane of each example between each example.PE1 is mapped to PE10 in public network example, in VPN instance, be mapped to PE110.PE2 is mapped to PE20 in public network example, in VPN instance, be mapped to PE210.
Fig. 3 for PE equipment as during transmitting terminal to the processing procedure (supposing that PE10 and PE110 that in Fig. 2, PE1 maps is transmitting terminal) of VPN multicast message.
In the S301 stage, PE10, PE20 in public network example create public network multicast forward table according to configured Multicast Tunnel address in public network;
The set be made up of the identical VPN instance of the mutual multicast message of energy on each PE equipment is called MD (Multicast Domain, multicast domain), different VPN instance belongs to different MD (the VPN A in such as Fig. 1, VPN B belong to different MD).Each MD distributes an independently multicast address on public network, is called Multicast Tunnel address (MT (Multicast Tunnel, Multicast Tunnel) address).It is the unique designation of MD on public network, and the VPN identical by configuration guarantee two ends configures identical MT address (in Fig. 2, the MT address of PE10 with PE20 is identical).On public network, set up the public network multicast forward table corresponding to MD by Multicast Tunnel address, public network multicast forward table can be automatically generate after configuration is complete.Multicast Tunnel Interface MTI is the entry/exit mouth of MT, and in VPN, be used for connecting the virtual interface of public network and private network, with Multicast Tunnel address one_to_one corresponding, be equivalent to the entry/exit mouth of MD, MTI is configured with Multicast Tunnel address at VPN instance and automatically creates after binding MTI.
What the public network multicast forward table created was common can comprise source group address message, incoming interface and outgoing interface.Source group address can comprise public network address as source address and MT address usually.When private network multicast message by PE device forwards to public network time, incoming interface is MTI, and outgoing interface is the public network interface of PE equipment; When public network multicast message by PE device forwards to private network time, incoming interface is the public network interface of PE equipment, and outgoing interface is MTI.After PE equipment enters public network, need to search through public network multicast forward table thus the outgoing interface entering public network and forward private network multicast message.
In the S302 stage, when receiving private network multicast message, the PE10 in public network example obtains the VPN mark belonging to private network multicast message from private network multicast forward table, and private network multicast message is packaged into public network multicast message;
Private network multicast message is sent to PE10 by MTI (Multicast Tunnel Interface, Multicast Tunnel Interface) outgoing interface in Fig. 2 by PE110.MTI is the virtual interface that public network is used for connecting public network and VPN in VPN, with Multicast Tunnel address one_to_one corresponding.
When encapsulating public network multicast message, the VPN of the VPN carried belonging to the PE110 in private network example is needed to identify (mark of VPN A) and Multicast Tunnel address.VPN mark can have the different forms of expression, such as unsigned number word etc.When configuring, the VPN mark that the identical VPN on different PE equipment configures is identical.
Multicast service due to each VPN of the application is distinguished by " Multicast Tunnel address+VPN identifies ", therefore can configure identical Multicast Tunnel address for different VPN, also can configure different Multicast Tunnel addresses.If different VPN configures identical Multicast Tunnel address, then can configure different VPN marks.Such as, have the multicast service of 3 different VPN (being respectively VPN a/VPN b/VPN c), each VPN can be configured to the multicast service of three VPN is not interfere with each other by such as following table 1:
Table 1
VPN | Multicast Tunnel address | (multicast) VPN identifies |
a | 225.1.1.1 | 100 |
b | 225.1.1.1 | 200 |
c | 225.1.1.2 | 100 |
What deserves to be explained is, due to the one-to-one relationship of Multicast Tunnel address and MTI virtual interface, therefore, configure identical Multicast Tunnel address, just mean and use identical MTI interface to connect public network and VPN.
In a preferred embodiment, private network multicast message can be packaged into GRE message, be 1 when packing by the K mark position of GRE heading, and represent that Key territory appears in GRE heading, the mark of VPN is carried in the Key territory of GRE message.There is 4byte in Key territory, be used for identifying the single Business Stream of multicast tunnel internal, the multicast message belonging to same Business Stream uses same Key value to encapsulate, and the opening point of Multicast Tunnel belongs to the data message of certain Business Stream according to the value identification in Key territory, when K flag bit is 1, Key territory is effective.
In another embodiment, when packing by the S mark position 1 of GRE heading, VPN mark can also be inserted Sequence Number territory.Also there is 4byte in Sequence Number territory, and be used for maintaining the order of multicast message in GRE Multicast Tunnel, when S flag bit is 1, SequenceNumber territory is effective.
In one embodiment, VPN mark can be configure when each PE equipment is VPN configuration Multicast Tunnel address, and obtain VPN when PE1 equipment creates private network multicast forward table and identify and preserve in the table from configuration, when GRE packing encapsulation, from private network multicast forward table, take out VPN mark be added in GRE message.
In the S303 stage, public network multicast message is sent to each receiving terminal PE equipment according to public network multicast forward table by the PE10 in public network example.In Fig. 2, public network multicast message is transferred to PE20 by P by PE10.
Fig. 4 be PE equipment as during receiving terminal to the processing procedure of VPN multicast message.
In the S401 stage, when PE20 receives public network multicast message, described public network multicast message deblocking is dressed up private network multicast message; Public network multicast message carries the mark of VPN belonging to transmitting terminal PE equipment PE1 and the Multicast Tunnel address of VPN; The private network multicast message that solution is honored as a queen can enter the PE210 in VPN instance by MTI incoming interface.
In the S402 stage, PE210 determines corresponding VPN according to the mark of VPN and Multicast Tunnel address, and is forwarded to by private network multicast message in corresponding VPN.
Because the Multicast Tunnel address of the application can be identical with certain public network address, therefore the VPN PE equipment (PE210) of recipient being identified belonging to self according to VPN mark and Multicast Tunnel address is needed whether to belong to same MD with transmitting terminal PE equipment (PE110), if same MD, then at the private network multicast packet that private network repeating solution is honored as a queen.
In order to understand the technical scheme of the application more clearly, set forth the application example under an embody rule scene below in conjunction with Fig. 5, application scenarios is for the network environment of Fig. 1.Fig. 5 is the sequential chart (being still transmitted as example with the multicast message in VPN A) of each equipment mutual message in network.
Private network multicast message is issued each website in the VPN A of PE2, PE3 place by website site1 in this example, and the source address of the private network multicast message of site1 is 10.1.1.1, and object multicast address is 225.1.1.1.The public network address being used for setting up bgp neighbor between PE1 and PE2, PE3 is respectively 1.1.1.1,2.2.2.2,3.3.3.3.
S501, configures the mark of Multicast Tunnel address and VPN A by each PE equipment (PE1, PE2, PE3) connecting VPN A; In this example, the MT address configured is that 239.1.1.1, VPN are designated 100.
S502, generates public network multicast forward table according to Multicast Tunnel address;
The public network multicast forward table that table 2 creates for PE1 and private network multicast forward table contents in table, the list item of the list item 1 of public network multicast forward table required inquiry when to be PE1 equipment be forwarded to PE2 and PE3 by public network multicast message by public network in table 2, now incoming interface is MTI, and outgoing interface is connect the interface G1/2 of PE2 and the interface G1/3 being connected PE3.List item 2 is the list item of required inquiry when receiving public network multicast message from PE2, and now incoming interface is the interface G1/2 connecting PE2; Outgoing interface is MTI interface.List item 3 is the list item of required inquiry when receiving public network multicast message from PE3, and now incoming interface is the interface G1/3 connecting PE2; Outgoing interface is MTI interface.Be that the transmission source of multicast message is set forth for example in this example with site1.
The public network multicast forward table that table 3 creates for PE2 and private network multicast forward table contents in table, the public network multicast forward table that table 4 creates for PE3 and private network multicast forward table contents in table.Concrete meaning and the list item 1 of contents in table are similar, and it will not go into details.
Table 2
Table 3
Table 4
The mark of S503, the VPN A that user configures when creating respective private network multicast forward table by each PE equipment (PE1, PE2, PE3) in configuration information table learns (the VPN mark 100 as in above-mentioned table 2,3,4) in respective private network multicast forward table;
S504, when Site1 sends multicast message to each website of other in VPN1 (Site3, Site5), first issues PE1 by private network multicast message; Private network multicast message (10.1.1.1,225.1.1.1) arrives the G1/1 interface of PE1 through CE1; The VPN instance of PE1 belonging to interface G1/1 and the address information of private network multicast message, search private network multicast forward table (as above table 2);
S505, PE1 mates the list item of private network multicast forward table, the coupling source group consistent with private network multicast message address and interface and incoming interface, then public network is forwarded to from the outgoing interface (MTI) of list item, at this moment can add that (source address of outer IP head is 1.1.1.1 in GRE encapsulation, destination address is Multicast Tunnel address 239.1.1.1), in the Key territory of GRE head, bring VPN to identify (100), the value of juxtaposition K flag bit was 1 (GRE message format as shown in Figure 5 a) simultaneously;
S506, PE1 according to the source group information searching public network multicast forward table in outer IP head, find the outgoing interface (G1/2 of list item after receiving the message of GRE encapsulation; G1/3), the GRE message after packing is issued PE2/PE3 by equipment of the core network P;
After S507, PE2/PE3 receive GRE encapsulated message, match the list item of respective public network multicast forward table, then forward from outgoing interface MTI, simultaneously by the decapsulation of GPE message, and the VPN identification record in GRE head is got off;
When S508, PE2/PE3 receive the data message of decapsulation from MTI interface, according to the VPN mark recorded when MTI tunnel address and decapsulation, in configuration information table, search VPN, judge whether to belong to same MD with PE1; If it is step S509 is performed; Otherwise by GRE packet loss;
S509; PE2/PE 3 searches private network multicast forward table, according to the source group information in the IP head after decapsulation, is forwarded to CE2/CE3 equipment from outgoing interface G2/1, G3/1.
Corresponding with the embodiment of the method for aforementioned VPN multicast transmission, present invention also provides the embodiment of the device of VPN multicast transmission.
The embodiment of the device device of the application VPN multicast transmission can be applied on PE equipment.Device embodiment can pass through software simulating, also can be realized by the mode of hardware or software and hardware combining.For software simulating, as the device on a logical meaning, be by the processor of its place PE equipment, computer program instructions corresponding in nonvolatile memory is read operation in internal memory to be formed.Say from hardware view, as shown in Figure 6, for a kind of hardware structure diagram of the device place PE equipment of the application VPN multicast transmission, except the processor shown in Fig. 6, internal memory, network interface and nonvolatile memory, in embodiment, the PE equipment at device place is usually according to the actual functional capability of this PE equipment, other hardware can also be comprised, this is repeated no more.
Please refer to Fig. 7, is the software logic block diagram of the device of the application's VPN multicast transmission.The device 700 of VPN multicast transmission comprises:
Public network multicast forward table creation module 701, for creating public network multicast forward table according to configured Multicast Tunnel address in public network; The Multicast Tunnel address of the VPN of described Multicast Tunnel address belonging to described transmitting terminal PE equipment;
Package module 702, for when receiving private network multicast message, obtaining the VPN mark belonging to described private network multicast message, and described private network multicast message is packaged into public network multicast message from private network multicast forward table; Described public network multicast message carries the mark of described VPN and described Multicast Tunnel address, will be forwarded to the VPN of described correspondence to make described receiving terminal PE equipment according to the mark of described VPN and described Multicast Tunnel address after the decapsulation of described public network multicast message;
Communication module 703, for being sent to each receiving terminal PE equipment by described public network multicast message according to described public network multicast forward table.
In one example in which, described public network multicast message is GRE message, and the K flag bit of described GRE heading is 1, and the mark of described VPN is carried in the extended field Key territory of described GRE message.In addition, also the flag bit S of GRE heading can be set to 1, the mark of VPN is carried in SequenceNumber territory.
In one example in which, the device 700 of VPN multicast transmission also comprises private network multicast forward table (not shown), identifies for obtaining described VPN in the configuration information table that configures from user, and record.
Fig. 8 is the software logic block diagram of the device for another VPN multicast transmission of the application.In VPN, the device 800 of multicast transmission comprises:
Parsing module 801, for when receiving public network multicast message, dresses up private network multicast message by described public network multicast message deblocking; Described public network multicast message carries the mark of the VPN belonging to transmitting terminal PE equipment and the Multicast Tunnel address of described VPN;
Routing module 802, for according to the mark of VPN and Multicast Tunnel address search private network multicast forward table, determines corresponding VPN, and described private network multicast message is forwarded to the described Multicast Tunnel address in the VPN of described correspondence; The VPN mark belonging to described receiving terminal PE equipment is preserved in described private network multicast forward table.
What deserves to be explained is, in a more common example, PE equipment can possess the function of transmitting terminal and receiving terminal simultaneously, shown in Fig. 9, PE equipment 900 can comprise the device 901 of a VPN multicast transmission and the device 902 of the 2nd VPN multicast transmission, realized the function of transmitting terminal PE equipment by a VPN multicast transmission device 901, realized the function of receiving terminal PE equipment by the 2nd VPN multicast transmission device 902.
The device 901 of a described VPN multicast transmission, for creating public network multicast forward table according to configured Multicast Tunnel address in public network; The Multicast Tunnel address of the VPN of described Multicast Tunnel address belonging to described transmitting terminal PE equipment; When receiving private network multicast message, from private network multicast forward table, obtaining the VPN mark belonging to described private network multicast message, and described private network multicast message is packaged into public network multicast message; Described public network multicast message is sent to each receiving terminal PE equipment according to described public network multicast forward table, and described public network multicast message carries the VPN mark of described VPN and described Multicast Tunnel address,
The device 902 of described 2nd VPN multicast transmission, for when receiving the public network multicast message of transmitting terminal, dresses up private network multicast message by the public network multicast message deblocking of transmitting terminal; According to mark and the described Multicast Tunnel address search private network multicast forward table of described VPN, determine corresponding VPN, and described private network multicast message is forwarded to the VPN of described correspondence.The VPN mark belonging to described receiving terminal PE equipment is preserved in described private network multicast forward table.
In said apparatus, the implementation procedure of the function and efficacy of unit specifically refers to the implementation procedure of corresponding step in said method, does not repeat them here.
For device embodiment, because it corresponds essentially to embodiment of the method, so relevant part illustrates see the part of embodiment of the method.Device embodiment described above is only schematic, the wherein said unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of module wherein can be selected according to the actual needs to realize the object of the application's scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
The foregoing is only the preferred embodiment of the application, not in order to limit the application, within all spirit in the application and principle, any amendment made, equivalent replacements, improvement etc., all should be included within scope that the application protects.
Claims (10)
1. a method for VPN multicast transmission, run on transmitting terminal PE equipment, it is characterized in that, the method comprising the steps of:
In public network, public network multicast forward table is created according to configured Multicast Tunnel address; The Multicast Tunnel address of the VPN of described Multicast Tunnel address belonging to described transmitting terminal PE equipment;
When receiving private network multicast message, from private network multicast forward table, obtaining the VPN mark belonging to described private network multicast message, and described private network multicast message is packaged into public network multicast message; Described public network multicast message carries described VPN and identifies and described Multicast Tunnel address;
Described public network multicast message is sent to each receiving terminal PE equipment according to described public network multicast forward table, corresponding VPN will be forwarded to after the decapsulation of described public network multicast message to make receiving terminal PE equipment according to described VPN mark and described Multicast Tunnel address.
2. method according to claim 1, is characterized in that, described public network multicast message is GRE message, and the K flag bit of described GRE heading or S flag bit are 1, and the mark of described VPN is carried in the extended field of described GRE message.
3. method according to claim 1, is characterized in that: also comprise step:
When creating private network multicast forward table, from the configuration information table that user configures, obtain described VPN identify, and be recorded in private network multicast forward table.
4. the method for multicast transmission in VPN, run on receiving terminal PE equipment, it is characterized in that, the method comprising the steps of:
When receiving public network multicast message, described public network multicast message deblocking is dressed up private network multicast message; Described public network multicast message carries the mark of the VPN belonging to transmitting terminal PE equipment and the Multicast Tunnel address of described VPN;
According to mark and the described Multicast Tunnel address search private network multicast forward table of VPN, determine corresponding VPN, and described private network multicast message is forwarded to the VPN of described correspondence; The VPN mark belonging to described receiving terminal PE equipment is preserved in described private network multicast forward table.
5. method according to claim 4, is characterized in that, described public network multicast message is GRE message, and the K flag bit of described GRE heading or S flag bit are 1, and the mark of described VPN is carried in the extended field of described GRE message.
6. a device for VPN multicast transmission, is positioned at transmitting terminal PE equipment, it is characterized in that, comprising:
Public network multicast forward table creation module, for creating public network multicast forward table according to configured Multicast Tunnel address in public network; The Multicast Tunnel address of the VPN of described Multicast Tunnel address belonging to described transmitting terminal PE equipment;
Package module, for when receiving private network multicast message, obtaining the VPN mark belonging to described private network multicast message, and described private network multicast message is packaged into public network multicast message from private network multicast forward table; Described public network multicast message carries the mark of described VPN and described Multicast Tunnel address, will be forwarded to the VPN of described correspondence to make described receiving terminal PE equipment according to the mark of described VPN and described Multicast Tunnel address after the decapsulation of described public network multicast message;
Communication module, for being sent to each receiving terminal PE equipment by described public network multicast message according to described public network multicast forward table.
7. device according to claim 6, is characterized in that, described public network multicast message is GRE message, and the K flag bit of described GRE heading or S flag bit are 1, and the mark of described VPN is carried in the extended field of described GRE message.
8. device according to claim 6, is characterized in that: described device also comprises private network multicast forward table, identifies for obtaining described VPN in the configuration information table that configures from user, and record.
9. the device of multicast transmission in VPN, is positioned at and receives PE equipment, it is characterized in that, comprising:
Parsing module, for when receiving public network multicast message, dresses up private network multicast message by described public network multicast message deblocking; Described public network multicast message carries the mark of the VPN belonging to transmitting terminal PE equipment and the Multicast Tunnel address of described VPN;
Routing module, for according to the mark of VPN and described Multicast Tunnel address search private network multicast forward table, determines corresponding VPN, and is forwarded in the VPN of described correspondence by described private network multicast message; The VPN mark belonging to described receiving terminal PE equipment is preserved in described private network multicast forward table.
10. a PE equipment, is characterized in that, comprises the device of device and the 2nd VPN multicast transmission being positioned at a VPN multicast transmission,
The device of a described VPN multicast transmission, for creating public network multicast forward table according to configured Multicast Tunnel address in public network; The Multicast Tunnel address of the VPN of described Multicast Tunnel address belonging to described transmitting terminal PE equipment; When receiving private network multicast message, from private network multicast forward table, obtaining the VPN mark belonging to described private network multicast message, and described private network multicast message is packaged into public network multicast message; Described public network multicast message is sent to each receiving terminal PE equipment according to described public network multicast forward table, and described public network multicast message carries the VPN mark of described VPN and described Multicast Tunnel address,
The device of described 2nd VPN multicast transmission, for when receiving the public network multicast message of transmitting terminal, dresses up private network multicast message by the public network multicast message deblocking of transmitting terminal; According to mark and the described Multicast Tunnel address search private network multicast forward table of described VPN, determine corresponding VPN, and described private network multicast message is forwarded to the VPN of described correspondence; The VPN mark belonging to described receiving terminal PE equipment is preserved in described private network multicast forward table.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510209198.9A CN104780090B (en) | 2015-04-27 | 2015-04-27 | Method, apparatus, the PE equipment of VPN multicast transmissions |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510209198.9A CN104780090B (en) | 2015-04-27 | 2015-04-27 | Method, apparatus, the PE equipment of VPN multicast transmissions |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104780090A true CN104780090A (en) | 2015-07-15 |
CN104780090B CN104780090B (en) | 2018-10-26 |
Family
ID=53621345
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510209198.9A Active CN104780090B (en) | 2015-04-27 | 2015-04-27 | Method, apparatus, the PE equipment of VPN multicast transmissions |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104780090B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106209559A (en) * | 2016-07-12 | 2016-12-07 | 华为技术有限公司 | A kind of method and apparatus setting up Multicast Tunnel |
CN107547399A (en) * | 2017-05-31 | 2018-01-05 | 新华三技术有限公司 | The processing method and PE equipment of a kind of multicast forwarding list item |
CN111526079A (en) * | 2020-03-31 | 2020-08-11 | 新华三技术有限公司 | Method and device for establishing tunnel |
CN111865805A (en) * | 2020-06-29 | 2020-10-30 | 烽火通信科技股份有限公司 | Multicast GRE message processing method and system |
CN112636935A (en) * | 2019-10-08 | 2021-04-09 | 中兴通讯股份有限公司 | Virtual private network multicast method based on IPv6 network and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101459592A (en) * | 2007-12-12 | 2009-06-17 | 华为技术有限公司 | Method, system and equipment for transmitting packets between supplier edge devices |
CN101626338A (en) * | 2009-08-03 | 2010-01-13 | 杭州华三通信技术有限公司 | Method and device for realizing multiple virtual private network (VPN) examples |
CN102571375A (en) * | 2012-02-09 | 2012-07-11 | 北京星网锐捷网络技术有限公司 | Multicast forwarding method and device as well as network device |
CN104092554A (en) * | 2014-07-31 | 2014-10-08 | 杭州华三通信技术有限公司 | Multicast distribution tree establishment method and device |
-
2015
- 2015-04-27 CN CN201510209198.9A patent/CN104780090B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101459592A (en) * | 2007-12-12 | 2009-06-17 | 华为技术有限公司 | Method, system and equipment for transmitting packets between supplier edge devices |
CN101626338A (en) * | 2009-08-03 | 2010-01-13 | 杭州华三通信技术有限公司 | Method and device for realizing multiple virtual private network (VPN) examples |
CN102571375A (en) * | 2012-02-09 | 2012-07-11 | 北京星网锐捷网络技术有限公司 | Multicast forwarding method and device as well as network device |
CN104092554A (en) * | 2014-07-31 | 2014-10-08 | 杭州华三通信技术有限公司 | Multicast distribution tree establishment method and device |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106209559A (en) * | 2016-07-12 | 2016-12-07 | 华为技术有限公司 | A kind of method and apparatus setting up Multicast Tunnel |
CN106209559B (en) * | 2016-07-12 | 2019-05-07 | 华为技术有限公司 | A kind of method and apparatus for establishing Multicast Tunnel |
CN107547399A (en) * | 2017-05-31 | 2018-01-05 | 新华三技术有限公司 | The processing method and PE equipment of a kind of multicast forwarding list item |
CN107547399B (en) * | 2017-05-31 | 2020-07-07 | 新华三技术有限公司 | Multicast forwarding table item processing method and PE equipment |
CN112636935A (en) * | 2019-10-08 | 2021-04-09 | 中兴通讯股份有限公司 | Virtual private network multicast method based on IPv6 network and electronic equipment |
CN112636935B (en) * | 2019-10-08 | 2023-06-30 | 中兴通讯股份有限公司 | Virtual private network multicast method based on IPv6 network and electronic equipment |
CN111526079A (en) * | 2020-03-31 | 2020-08-11 | 新华三技术有限公司 | Method and device for establishing tunnel |
CN111526079B (en) * | 2020-03-31 | 2023-10-13 | 新华三技术有限公司 | Method and device for establishing tunnel |
CN111865805A (en) * | 2020-06-29 | 2020-10-30 | 烽火通信科技股份有限公司 | Multicast GRE message processing method and system |
Also Published As
Publication number | Publication date |
---|---|
CN104780090B (en) | 2018-10-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109873760A (en) | Handle the method and apparatus of routing and the method and apparatus of data transmission | |
CN104869042B (en) | Message forwarding method and device | |
CN105099846B (en) | The method and supplier edge device of data message transmission | |
CN102801625B (en) | A kind of method of heterogeneous network double layer intercommunication and equipment | |
CN110784411A (en) | Method, device and system for establishing BIER forwarding table item | |
CN109995654B (en) | Method and device for transmitting data based on tunnel | |
CN105634942B (en) | Method and switch for forwarding message | |
CN102368727B (en) | Crossed IP network TRILL network communication method, system thereof and devices | |
CN106209557B (en) | Message forwarding method and device | |
CN102413060B (en) | User private line communication method and equipment used in VPLS (Virtual Private LAN (Local Area Network) Service) network | |
CN103200069A (en) | Message processing method and device | |
CN101110745A (en) | Method, device and system for engaging second layer network and third layer network | |
CN101433030A (en) | Ethernet VLL spoke termination at an IP interface | |
CN103354509B (en) | The acquisition methods of a kind of link connection information and equipment | |
CN105187311B (en) | A kind of message forwarding method and device | |
CN102273177A (en) | Neighbour discovery protocol mediation | |
CN104780090A (en) | VPN multicast transmission method and device PE equipment | |
CN103326940A (en) | Method for forwarding message in network and edge device of operator | |
CN100484080C (en) | Routing access method, system and operator edge equipment for virtual private network | |
CN106059923A (en) | Message forwarding method and device | |
CN106209638A (en) | From VLAN to the message forwarding method of virtual expansible LAN and equipment | |
CN110535768A (en) | Multicast data transmission method and relevant device | |
CN104639440A (en) | Method and device for realizing third tier forwarding and packaging protocol information in Internet | |
CN102340446B (en) | Method for realizing Ethernet-tree (E-tree) service in virtual private local area network service (VPLS) network and provider edge (PE) equipment | |
CN101286918A (en) | Virtual private network system and data processing method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant after: Xinhua three Technology Co., Ltd. Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant before: Huasan Communication Technology Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |