CN104780090B - Method, apparatus, the PE equipment of VPN multicast transmissions - Google Patents
Method, apparatus, the PE equipment of VPN multicast transmissions Download PDFInfo
- Publication number
- CN104780090B CN104780090B CN201510209198.9A CN201510209198A CN104780090B CN 104780090 B CN104780090 B CN 104780090B CN 201510209198 A CN201510209198 A CN 201510209198A CN 104780090 B CN104780090 B CN 104780090B
- Authority
- CN
- China
- Prior art keywords
- vpn
- multicast
- public network
- network multicast
- private network
- 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.)
- Active
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
This application discloses a kind of method, apparatus of VPN multicast transmissions, PE equipment, this method creates public network multicast forward table according to the Multicast Tunnel address configured in public network;The Multicast Tunnel address is the Multicast Tunnel address of the VPN belonging to the transmitting terminal PE equipment;When receiving private network multicast message, the VPN marks belonging to the private network multicast message are obtained from private network multicast forward table, and the private network multicast message is packaged into public network multicast message;The public network multicast message carries the VPN marks and the Multicast Tunnel address;The public network multicast message is sent to each receiving terminal PE equipment according to the public network multicast forward table, so that receiving terminal PE equipment is forwarded to corresponding VPN after the public network multicast message being decapsulated according to VPN marks and the Multicast Tunnel address.The application can save address resource under the premise of not influencing private network multicast service.
Description
Technical field
This application involves the method, apparatus of multicast transmission in VPN technologies more particularly to VPN network and PE equipment.
Background technology
Three layers of multicasting VPN (Virtual Private Network, Virtual Private Network) are one real in VPN network
The technology of existing multicast transmission.
The scheme of multicast transmission in VPN of comparative maturity is the MD that RFC6037 is introduced at present
(Multicast Domain, multicast domain) solution, the program only need to be in PE (Provider Edge, service providers
Edge router) VPN related contents are configured in equipment, other equipment only needs to configure basic multicast functionality.
But this scheme requires the Multicast Tunnel address of each VPN cannot be identical, otherwise will receive in VPN and is not belonging to this
The VPN traffics of VPN.Therefore when VPN instance quantity is larger, a large amount of public network multicast address resource can be occupied, is seriously affected
Public network common multicast business using and planning.
Invention content
The application provides the method, apparatus and PE equipment of multicast transmission in a kind of VPN network, can not influence private network group
Address resource is saved under the premise of broadcasting business.
According to the embodiment of the present application in a first aspect, provide a kind of method of VPN multicast transmissions, runs on transmitting terminal PE and set
Standby, the method comprising the steps of:
Public network multicast forward table is created in public network according to the Multicast Tunnel address configured;The Multicast Tunnel address is
The Multicast Tunnel address of VPN belonging to the transmitting terminal PE equipment;
When receiving private network multicast message, the VPN belonging to the private network multicast message is obtained from private network multicast forward table
Mark, and the private network multicast message is packaged into public network multicast message;The public network multicast message carry the VPN marks and
The Multicast Tunnel address, the public network multicast message are GRE messages, and the mark of the VPN is carried on the expansion of the GRE messages
It opens up in field;
The public network multicast message is sent to each receiving terminal PE equipment according to the public network multicast forward table, so as to receive
End PE equipment is forwarded to correspondence after decapsulating the public network multicast message according to VPN marks and the Multicast Tunnel address
VPN.
According to the second aspect of the embodiment of the present application, the method for providing multicast transmission in a kind of VPN runs on receiving terminal PE
Equipment, the method comprising the steps of:
When receiving public network multicast message, private network multicast message is dressed up into public network multicast message deblocking;The public affairs
Net multicast message carries the mark of the VPN belonging to transmitting terminal PE equipment and the Multicast Tunnel address of the VPN, the public network
Multicast message is GRE messages, and the mark of the VPN is carried in the extended field of the GRE messages;
According to the mark of VPN and the Multicast Tunnel address search private network multicast forward table, corresponding VPN is determined, and will
The private network multicast message is forwarded to the corresponding VPN;The receiving terminal PE is preserved in the private network multicast forward table to set
Standby affiliated VPN is identified.
According to the third aspect of the embodiment of the present application, a kind of device of VPN multicast transmissions is provided, is set positioned at transmitting terminal PE
It is standby, including:
Public network multicast forward table creation module, for creating public network group in public network according to the Multicast Tunnel address configured
Broadcast forwarding table;The Multicast Tunnel address is the Multicast Tunnel address of the VPN belonging to the transmitting terminal PE equipment;
Package module, for when receiving private network multicast message, obtaining the private network multicast from private network multicast forward table
VPN marks belonging to message, and the private network multicast message is packaged into public network multicast message;The public network multicast message carries
The mark of the VPN and the Multicast Tunnel address, the public network multicast message is GRE messages, and the mark of the VPN carries
In the extended field of the GRE messages, so that mark and the Multicast Tunnel address of the receiving terminal PE equipment according to the VPN
It is forwarded to the corresponding VPN after the public network multicast message is decapsulated;
Communication module, for the public network multicast message to be sent to each receiving terminal PE according to the public network multicast forward table
Equipment.
According to the fourth aspect of the embodiment of the present application, a kind of device of multicast transmission in VPN is provided, is set positioned at PE is received
It is standby, including:
Parsing module, for when receiving public network multicast message, private network group to be dressed up in public network multicast message deblocking
Report text;The public network multicast message carries the mark of the VPN belonging to transmitting terminal PE equipment and the Multicast Tunnel of the VPN
Address, the public network multicast message are GRE messages, and the mark of the VPN is carried in the extended field of the GRE messages;
Routing module is used for the mark according to VPN and the Multicast Tunnel address search private network multicast forward table, determination pair
The VPN answered, and the private network multicast message is forwarded in the corresponding VPN;It is preserved in the private network multicast forward table
VPN marks belonging to the receiving terminal PE equipment.
According to the 5th of the embodiment of the present application the aspect, a kind of PE equipment is provided, includes the dress positioned at the first VPN multicast transmissions
The device with the 2nd VPN multicast transmissions is set,
The device of the first VPN multicast transmissions, for creating public affairs in public network according to the Multicast Tunnel address configured
Net multicast forward table;The Multicast Tunnel address is the Multicast Tunnel address of the VPN belonging to transmitting terminal PE equipment;When receiving private network
When multicast message, the VPN marks belonging to the private network multicast message are obtained from private network multicast forward table, and by the private network group
It reports text and is packaged into public network multicast message, the public network multicast message is GRE messages, and the mark of the VPN is carried on the GRE
In the extended field of message;The public network multicast message is sent to each receiving terminal PE according to the public network multicast forward table to set
Standby, the public network multicast message carries the VPN marks of the VPN and the Multicast Tunnel address,
The device of the 2nd VPN multicast transmissions, for when receiving the public network multicast message of transmitting terminal, by transmitting terminal
Public network multicast message deblocking dress up private network multicast message;It is private according to the mark of the VPN and the Multicast Tunnel address search
Net multicast forward table determines corresponding VPN, and the private network multicast message is forwarded to the corresponding VPN;The private network group
Broadcast the VPN marks preserved in forwarding table belonging to the receiving terminal PE equipment.
Since the prior art is when encapsulating public network multicast message, the relevant information of any VPN is not carried, therefore at tunnel end
When the decapsulation of end, it can only determine which VPN the multicast messages belongs to according to the destination address of encapsulation, and the application is public in encapsulation
VPN marks are encapsulated into public network multicast message when net multicast message, even Multicast Tunnel address shares same with public network address
One address field can also be distinguish by VPN marks, so as to effectively save public network tunnel address resource, convenient big rule
The multicasting VPN application of mould.
Description of the drawings
Fig. 1 is the networking diagram of VPN network in the embodiment of the present application;
Fig. 2 is mapping relations figure of the 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 sequence diagram of each equipment of VPN network in the application application example;
Fig. 5 a are the form schematic diagram of GRE messages in application example;
Fig. 6 is the hardware architecture diagram of the device of VPN multicast transmission methods 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.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended
The example of consistent device and method of some aspects be described in detail in claims, the application.
It is the purpose only merely for description specific embodiment in term used in this application, is not intended to be limiting the application.
It is also intended to including majority in the application and "an" of singulative used in the attached claims, " described " and "the"
Form, unless context clearly shows that other meanings.It is also understood that term "and/or" used herein refers to and wraps
Containing one or more associated list items purposes, any or all may be combined.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application
A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, not departing from
In the case of the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determination ".
Fig. 1 is a kind of networking diagram for VPN network that the application is applicable in.One VPN network includes the public network of operator
Network (public network in figure) and each VPN (VPN A, VPN B in figure) as private network.
P (Provider, backbone network core equipment) is not connected directly with CE equipment (CE1, CE2 ... CE 6) in figure, is responsible for
The forwarding of MPLS (Multiprotocol Label Switching, multiprotocol label switching) message.PE equipment and CE equipment are straight
The processing connected, responsible VPN is route is connect, CE (Customer Edge, user network edge device) can be router or exchange
Machine can also be a host, be responsible for the publication of user network routing.
Each website (Site1, Site2 ... Site6 in figure) of user is located in each VPN, phase each other between each Site
It is mutually isolated, it needs to realize intercommunication by public network.Each website (Site 1, Site 3, Site 5) of VPN A is logical in figure
It crosses PE (PE1, the PE2, PE3) equipment respectively connected and transmits private network flux of multicast in public network, similar, each website of VPN B
(Site 2, Site 4, Site 6) transmits private network multicast data flow by the PE equipment (PE1, PE2, PE3) respectively connected in public network
Amount.
The implementation of the method for the application VPN multicast transmissions is described below in conjunction with Fig. 2 and Fig. 3, it in this application, will be public
Multicast service in net is known as public network example, and the multicast service in VPN network is known as VPN instance.Fig. 2 is network shown in FIG. 1
Correspondence schematic diagram of the PE equipment (by taking PE1 and PE2 as an example) in common example and VPN instance under framework.PE equipment is supported
More examples are equivalent to more independently operated multicast equipments.Plane (the public network example in figure being isolated from each other is formed between each example
Plane, VPN instance plane), each example corresponds to a plane.PE1 is mapped to PE10 in public network example, in VPN instance
It is mapped to PE110.PE2 is mapped to PE20 in public network example, and PE210 is mapped in VPN instance.
Fig. 3 be PE equipment as transmitting terminal when to the processing procedures of VPN multicast messages (assuming that PE1 mappeds in Fig. 2
PE10 and PE110 is transmitting terminal).
PE10, PE20 in the S301 stages, public network example are created according to the Multicast Tunnel address configured in public network
Public network multicast forward table;
The collection that identical VPN instance by that can interact multicast message in each PE equipment is constituted is collectively referred to as MD (Multicast
Domain, multicast domain), different VPN instance belongs to different MD (such as VPN A, the VPN B in Fig. 1 belong to different MD).
Each MD distributes an independent multicast address, referred to as Multicast Tunnel address (MT (Multicast Tunnel, group on public network
Broadcast tunnel) address).It is unique designations of the MD on public network, ensures that the identical VPN in both ends configures the identical addresses MT by configuration
(addresses MT of PE10 and PE20 are identical in Fig. 2).The public network multicast corresponding to MD is established on public network by Multicast Tunnel address
Forwarding table, public network multicast forward table can be automatically generated after configuration is complete.Multicast Tunnel Interface MTI is the entry/exit mouth of MT,
It is used for connecting the virtual interface of public network and private network in VPN, is corresponded with Multicast Tunnel address, be equivalent to the entry/exit mouth of MD,
MTI is automatically created after VPN instance is configured with Multicast Tunnel address and binds MTI.
The public network multicast forward table that creates it is common may include source group address message, incoming interface and outgoing interface.Source group
Address usually may include the public network address and the addresses MT as source address.When private network multicast message is by PE device forwards to public affairs
When net, incoming interface MTI, outgoing interface is the public network interface of PE equipment;When public network multicast message is by PE device forwards to private network,
Incoming interface is the public network interface of PE equipment, outgoing interface MTI.After PE equipment enters public network, need through thus public network multicast forwarding
Table search enters the outgoing interface forwarding private network multicast message of public network.
In the S302 stages, when receiving private network multicast message, the PE10 in public network example is obtained from private network multicast forward table
It takes the VPN belonging to private network multicast message to identify, private network multicast message is packaged into public network multicast message;
By private network multicast message, by MTI in Fig. 2, (Multicast Tunnel Interface, Multicast Tunnel connect PE110
Mouthful) outgoing interface is sent to PE10.MTI is that public network is used for connecting public network and the virtual interface of VPN in VPN, with Multicast Tunnel
Location corresponds.
When encapsulating public network multicast message, the VPN marks (VPN for carrying the VPN belonging to the PE110 in private network example is needed
The mark of A) and Multicast Tunnel address.VPN marks can have different forms of expression, such as unsigned number word etc..In configuration,
The VPN marks that identical VPN in different PE equipment is configured are identical.
Since the multicast service of each VPN of the application is distinguished by " Multicast Tunnel address+VPN marks ", for
Different VPN can configure identical Multicast Tunnel address, can also configure different Multicast Tunnel addresses.If difference VPN matches
Identical Multicast Tunnel address is set, then can configure different VPN marks.For example, it (is respectively VPN a/ to have 3 difference VPN
VPN b/VPN c) multicast service, each VPN can by such as the following table 1 configure so that the multicast service of three VPN is not interfere with each other:
Table 1
VPN | Multicast Tunnel address | (multicast) VPN is identified |
a | 225.1.1.1 | 100 |
b | 225.1.1.1 | 200 |
c | 225.1.1.2 | 100 |
It is worth noting that due to the one-to-one relationship of Multicast Tunnel address and MTI virtual interfaces, configure phase
Same Multicast Tunnel address, it is meant that connect public network and VPN using identical MTI interfaces.
In a preferred embodiment, private network multicast message can be packaged into GRE messages, when being packaged by GRE headings
The mark positions K be 1, indicate GRE headings there are the domains Key, the mark of VPN is carried in the domains Key of GRE messages.The domains Key have
4byte, for identifying single Business Stream inside Multicast Tunnel, belong to the same Business Stream multicast message use it is same
Key values encapsulate, and the opening point of Multicast Tunnel belongs to a data message for some Business Stream according to the identification of the value in the domains Key, when K indicates
When position is 1, the domains Key are effective.
In another embodiment, VPN can also be identified and inserted when being packaged by the mark positions S 1 of GRE headings
The domains Sequence Number.Also there is 4byte in the domains Sequence Number, for maintaining multicast message in GRE Multicast Tunnel
Sequentially, when S flag bits are 1, the domains Sequence Number are effective.
In one embodiment, VPN mark can be each PE equipment be VPN configure multicast tunnel address when configure, and
VPN is obtained from configuration to identify and preserve in the table, be packaged and encapsulate in GRE when PE1 equipment creates private network multicast forward table
When, it is added in GRE messages from VPN marks are taken out in private network multicast forward table.
Public network multicast message is sent to by the PE10 in the S303 stages, public network example according to public network multicast forward table respectively to be connect
Receiving end PE equipment.In Fig. 2, public network multicast message is transferred to PE20 by PE10 by P.
Fig. 4 be PE equipment as receiving terminal when to the processing procedures of VPN multicast messages.
In the S401 stages, when PE20 receives public network multicast message, private network group is dressed up into public network multicast message deblocking
Report text;Public network multicast message carries the mark of the 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 interfaces.
In the S402 stages, PE210 determines corresponding VPN according to the mark and Multicast Tunnel address of VPN, and by private network multicast
Message is forwarded in corresponding VPN.
Since the Multicast Tunnel address of the application can be identical as some public network address, it is therefore desirable to according to VPN mark and
Multicast Tunnel address come make the PE equipment (PE210) of recipient identify VPN belonging to itself whether with transmitting terminal PE equipment
(PE110) belong to the same MD, if it is the same MD, then the private network multicast packet after forwarding unseals in private network.
In order to the technical solution for understanding the application being more clear, a concrete application field is illustrated below in conjunction with Fig. 5
Application example under scape, application scenarios are by taking the network environment of Fig. 1 as an example.Fig. 5 is the sequence diagram of each equipment mutual message in network
(still by taking the multicast message transmission in VPN A as an example).
Each website where private network multicast message is issued PE2, PE3 by website site1 in this example in VPN A, site1's
The source address of private network multicast message is 10.1.1.1, and purpose multicast address is 225.1.1.1.It is used for building between PE1 and PE2, PE3
The public network address of vertical bgp neighbor is respectively 1.1.1.1,2.2.2.2,3.3.3.3.
Each PE equipment (PE1, PE2, PE3) for connecting VPN A is configured the mark of multicast tunnel address and VPN A by S501;
In this example, the addresses MT configured are 239.1.1.1, and VPN is identified as 100.
S502 generates public network multicast forward table according to Multicast Tunnel address;
Table 2 is the contents in table of public network multicast forward table and private network multicast forward table that PE1 is created, public network group in table 2
The list item 1 for broadcasting forwarding table is the table of required inquiry when public network multicast message is forwarded to PE2 and PE3 by PE1 equipment by public network
, incoming interface is MTI at this time, and outgoing interface is the interface G1/3 of the interface G1/2 and connection PE3 that connect PE2.List item 2 is from PE2
The list item of required inquiry when public network multicast message is received, incoming interface is the interface G1/2 for connecting PE2 at this time;Outgoing interface is MTI
Interface.List item 3 is the list item of required inquiry when receiving public network multicast message from PE3, and incoming interface is the interface for connecting PE2 at this time
G1/3;Outgoing interface is MTI interfaces.It is illustrated so that site1 is the transmission source of multicast message as an example in this example.
Table 3 is the contents in table of public network multicast forward table and private network multicast forward table that PE2 is created, and table 4 creates for PE3
Public network multicast forward table and private network multicast forward table contents in table.The concrete meaning of contents in table is similar with list item 1, no
It gives and repeating.
Table 2
Table 3
Table 4
S503, each PE equipment (PE1, PE2, PE3) is when creating respective private network multicast forward table by user with confidence
The mark study of the VPN A configured in breath table is to (the VPN marks in such as above-mentioned table 2,3,4 in respective private network multicast forward table
Know 100);
S504, when other each websites (Site3, Site5) of Site1 into VPN1 send multicast message, first by private network
Multicast message issues PE1;Private network multicast message (10.1.1.1,225.1.1.1) reaches the G1/1 interfaces of PE1 by CE1;PE1
The address information of VPN instance and private network multicast message belonging to interface G1/1 searches private network multicast forward table (as above
Table 2);
S505, PE1 match the list item of private network multicast forward table, the matching source consistent with private network multicast message address and interface
Then group and incoming interface are forwarded to public network from the outgoing interface of list item (MTI), at this moment can be encapsulated plus GRE (source that outer layer is IP
Location is 1.1.1.1, and destination address is Multicast Tunnel address 239.1.1.1), while VPN marks are taken in the GRE domains Key
(100), the value of juxtaposition K flag bits is 1 (GRE message formats is as shown in Figure 5 a);
After S506, PE1 receive the message of GRE encapsulation, according to the source group information lookup public network multicast forwarding in outer layer IP
Table finds the outgoing interface (G1/2 of list item;G1/3), the GRE messages after packing are issued into PE2/PE3 by equipment of the core network P;
After S507, PE2/PE3 receive GRE encapsulated messages, be matched to the list item of respective public network multicast forward table, then from
Outgoing interface MTI is forwarded, while GPE messages being decapsulated, and the VPN identification records in GRE are got off;
When S508, PE2/PE3 receive the data message of decapsulation from MTI interfaces, when according to MTI tunnel address and decapsulation
The VPN of record is identified, and VPN is searched in configuration information table, judges whether to belong to the same MD with PE1;If it is step is executed
Rapid S509;Otherwise by GRE packet loss;
S509;PE2/PE 3 searches private network multicast forward table, according to the source group information in the IP heads after decapsulation, from going out to connect
Mouth G2/1, G3/1 are forwarded to CE2/CE3 equipment.
Corresponding with the aforementioned embodiment of method of VPN multicast transmissions, present invention also provides the devices of VPN multicast transmissions
Embodiment.
The embodiment of the device device of the application VPN multicast transmissions can be applied in PE equipment.Device embodiment can be with
By software realization, can also be realized by way of hardware or software and hardware combining.For implemented in software, patrolled as one
The device in meaning is collected, is to be referred to corresponding computer program in nonvolatile memory by the processor of PE equipment where it
It enables and reads what operation in memory was formed.For hardware view, as shown in fig. 6, for the device institute of the application VPN multicast transmissions
In a kind of hardware structure diagram of PE equipment, in addition to processor shown in fig. 6, memory, network interface and nonvolatile memory
Except, the PE equipment in embodiment where device can also include other hardware generally according to the actual functional capability of the PE equipment, right
This is repeated no more.
Referring to FIG. 7, the software logic block diagram of the device for one VPN multicast transmission of the application.The dress of VPN multicast transmissions
Setting 700 includes:
Public network multicast forward table creation module 701, for creating public affairs in public network according to the Multicast Tunnel address configured
Net multicast forward table;The Multicast Tunnel address is the Multicast Tunnel address of the VPN belonging to the transmitting terminal PE equipment;
Package module 702, for when receiving private network multicast message, obtaining the private network group from private network multicast forward table
The VPN marks belonging to text are reported, and the private network multicast message is packaged into public network multicast message;The public network multicast message is taken
Mark with the VPN and the Multicast Tunnel address, so that the receiving terminal PE equipment is according to the mark of the VPN and described
Multicast Tunnel address is forwarded to the corresponding VPN after decapsulating the public network multicast message;
Communication module 703, for the public network multicast message to be sent to each reception according to the public network multicast forward table
Hold PE equipment.
In one example, the public network multicast message is GRE messages, and the K flag bits of the GRE headings are 1, described
The mark of VPN is carried in the domains extended field Key of the GRE messages.Alternatively, it is also possible to which the flag bit S of GRE headings is set
It is 1, the mark of VPN is carried in the domains Sequence Number.
In one example, the device 700 of VPN multicast transmissions further includes private network multicast forward table (not shown), is used
The VPN marks are obtained in the configuration information table configured from user, and are recorded.
Fig. 8 is the software logic block diagram of the device for the application another VPN multicast transmission.The dress of multicast transmission in VPN
Setting 800 includes:
Parsing module 801, for when receiving public network multicast message, private network to be dressed up in public network multicast message deblocking
Multicast message;The public network multicast message carries the mark of the VPN belonging to transmitting terminal PE equipment and the multicast tunnel of the VPN
Track address;
Routing module 802, for the mark and Multicast Tunnel address search private network multicast forward table according to VPN, determining pair
The VPN answered, and the private network multicast message is forwarded to the Multicast Tunnel address in the corresponding VPN;The private network
The VPN marks belonging to the receiving terminal PE equipment are preserved in multicast forward table.
It is worth noting that in a more typical example, PE equipment can be provided simultaneously with the work(of transmitting terminal and receiving terminal
Can, shown in Fig. 9, PE equipment 900 may include the device of the device 901 and the 2nd VPN multicast transmissions of the first VPN multicast transmissions
902, the function of transmitting terminal PE equipment is realized by the first VPN multicast transmissions device 901, by the 2nd VPN multicast transmissions device 902
To realize the function of receiving terminal PE equipment.
The device 901 of the first VPN multicast transmissions, for being created in public network according to the Multicast Tunnel address configured
Public network multicast forward table;The Multicast Tunnel address is the Multicast Tunnel address of the VPN belonging to the transmitting terminal PE equipment;Work as receipts
When to private network multicast message, the VPN marks belonging to the private network multicast message are obtained from private network multicast forward table, and will be described
Private network multicast message is packaged into public network multicast message;The public network multicast message is sent to according to the public network multicast forward table
Each receiving terminal PE equipment, the public network multicast message carry the VPN marks of the VPN and the Multicast Tunnel address,
The device 902 of the 2nd VPN multicast transmissions, for when receiving the public network multicast message of transmitting terminal, will send out
Private network multicast message is dressed up in the public network multicast message deblocking of sending end;It is looked into according to the mark of the VPN and the Multicast Tunnel address
Private network multicast forward table is looked for, determines corresponding VPN, and the private network multicast message is forwarded to the corresponding VPN.The private
The VPN marks belonging to the receiving terminal PE equipment are preserved in net multicast forward table.
The function of each unit and the realization process of effect specifically refer to and correspond to step in the above method in above-mentioned apparatus
Realization process, details are not described herein.
For device embodiments, since it corresponds essentially to embodiment of the method, so related place is referring to method reality
Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separating component
The unit of explanation may or may not be physically separated, and the component shown as unit can be or can also
It is not physical unit, you can be located at a place, or may be distributed over multiple network units.It can be according to actual
It needs that some or all of module therein is selected to realize the purpose of application scheme.Those of ordinary skill in the art are not paying
In the case of going out creative work, you can to understand and implement.
The foregoing is merely the preferred embodiments of the application, not limiting the application, all essences in the application
With within principle, any modification, equivalent substitution, improvement and etc. done should be included within the scope of the application protection god.
Claims (10)
1. a kind of method of VPN multicast transmissions, runs on transmitting terminal PE equipment, which is characterized in that the method comprising the steps of:
Public network multicast forward table is created in public network according to the Multicast Tunnel address configured;The Multicast Tunnel address is described
The Multicast Tunnel address of VPN belonging to transmitting terminal PE equipment;
When receiving private network multicast message, the VPN marks belonging to the private network multicast message are obtained from private network multicast forward table,
And the private network multicast message is packaged into public network multicast message;The public network multicast message carries VPN marks and described
Multicast Tunnel address, the public network multicast message are GRE messages, and the mark of the VPN is carried on the extension word of the GRE messages
Duan Zhong;
The public network multicast message is sent to each receiving terminal PE equipment according to the public network multicast forward table, so that receiving terminal PE
Equipment is forwarded to corresponding after being decapsulated the public network multicast message according to VPN marks and the Multicast Tunnel address
VPN。
2. according to the method described in claim 1, it is characterized in that, the K flag bits or S flag bits of the GRE headings are 1.
3. according to the method described in claim 1, it is characterized in that:It further include step:
When creating private network multicast forward table, the VPN marks are obtained in the configuration information table configured from user, and be recorded in private
In net multicast forward table.
4. a kind of method of multicast transmission in VPN runs on receiving terminal PE equipment, which is characterized in that the method comprising the steps of:
When receiving public network multicast message, private network multicast message is dressed up into public network multicast message deblocking;The public network group
Report the literary mark for carrying the VPN belonging to transmitting terminal PE equipment and the Multicast Tunnel address of the VPN, the public network multicast
Message is GRE messages, and the mark of the VPN is carried in the extended field of the GRE messages;
According to the mark of VPN and the Multicast Tunnel address search private network multicast forward table, corresponding VPN is determined, and will be described
Private network multicast message is forwarded to the corresponding VPN;Receiving terminal PE equipment institute is preserved in the private network multicast forward table
The VPN of category is identified.
5. according to the method described in claim 4, it is characterized in that, the K flag bits or S flag bits of the GRE headings are 1.
6. a kind of device of VPN multicast transmissions is located at transmitting terminal PE equipment, which is characterized in that including:
Public network multicast forward table creation module turns for creating public network multicast in public network according to the Multicast Tunnel address configured
It delivers;The Multicast Tunnel address is the Multicast Tunnel address of the VPN belonging to the transmitting terminal PE equipment;
Package module, for when receiving private network multicast message, obtaining the private network multicast message from private network multicast forward table
Affiliated VPN marks, and the private network multicast message is packaged into public network multicast message;Described in the public network multicast message carries
The mark of VPN and the Multicast Tunnel address, the public network multicast message are GRE messages, and the mark of the VPN is carried on described
In the extended field of GRE messages, so that receiving terminal PE equipment will be described according to the mark of the VPN and the Multicast Tunnel address
It is forwarded to corresponding VPN after the decapsulation of public network multicast message;
Communication module is set for the public network multicast message to be sent to each receiving terminal PE according to the public network multicast forward table
It is standby.
7. device according to claim 6, which is characterized in that the K flag bits or S flag bits of the GRE headings are 1.
8. device according to claim 6, it is characterised in that:Described device further includes private network multicast forward table, for from
The VPN marks are obtained in the configuration information table that user is configured, and are recorded.
9. the device of multicast transmission in a kind of VPN is located at and receives PE equipment, which is characterized in that including:
Parsing module, for when receiving public network multicast message, private network group being dressed up in public network multicast message deblocking and is reported
Text;The public network multicast message is with carrying the mark of the VPN belonging to transmitting terminal PE equipment and the Multicast Tunnel of the VPN
Location, the public network multicast message are GRE messages, and the mark of the VPN is carried in the extended field of the GRE messages;
Routing module is used for the mark according to VPN and the Multicast Tunnel address search private network multicast forward table, determines corresponding
VPN, and the private network multicast message is forwarded in the corresponding VPN;It is preserved in the private network multicast forward table described
VPN marks belonging to receiving terminal PE equipment.
10. a kind of PE equipment, which is characterized in that include the device and the 2nd VPN multicast transmissions positioned at the first VPN multicast transmissions
Device,
The device of the first VPN multicast transmissions, for creating public network group in public network according to the Multicast Tunnel address configured
Broadcast forwarding table;The Multicast Tunnel address is the Multicast Tunnel address of the VPN belonging to transmitting terminal PE equipment;When receiving private network multicast
When message, the VPN marks belonging to the private network multicast message are obtained from private network multicast forward table, and the private network group is reported
Text is packaged into public network multicast message, and the public network multicast message is GRE messages, and the mark of the VPN is carried on the GRE messages
Extended field in;The public network multicast message is sent to each receiving terminal PE equipment, institute according to the public network multicast forward table
It states public network multicast message and carries the VPN marks of the VPN and the Multicast Tunnel address,
The device of the 2nd VPN multicast transmissions, for when receiving the public network multicast message of transmitting terminal, by the public affairs of transmitting terminal
Private network multicast message is dressed up in the deblocking of net multicast message;According to the mark of the VPN and the Multicast Tunnel address search private network group
Forwarding table is broadcast, determines corresponding VPN, and the private network multicast message is forwarded to the corresponding VPN;The private network multicast turns
Deliver the VPN marks preserved belonging to the receiving terminal PE equipment.
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 CN104780090A (en) | 2015-07-15 |
CN104780090B true 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) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106209559B (en) * | 2016-07-12 | 2019-05-07 | 华为技术有限公司 | A kind of method and apparatus for establishing Multicast Tunnel |
CN107547399B (en) * | 2017-05-31 | 2020-07-07 | 新华三技术有限公司 | Multicast forwarding table item processing method and PE equipment |
CN112636935B (en) * | 2019-10-08 | 2023-06-30 | 中兴通讯股份有限公司 | Virtual private network multicast method based on IPv6 network and electronic equipment |
CN111526079B (en) * | 2020-03-31 | 2023-10-13 | 新华三技术有限公司 | Method and device for establishing tunnel |
CN111865805B (en) * | 2020-06-29 | 2023-01-24 | 烽火通信科技股份有限公司 | Multicast GRE message processing method and system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101459592B (en) * | 2007-12-12 | 2011-05-11 | 华为技术有限公司 | Method, system and equipment for transmitting packets between supplier edge devices |
CN101626338B (en) * | 2009-08-03 | 2011-11-23 | 杭州华三通信技术有限公司 | Method and device for realizing multiple virtual private network (VPN) examples |
CN102571375B (en) * | 2012-02-09 | 2015-04-22 | 北京星网锐捷网络技术有限公司 | Multicast forwarding method and device as well as network device |
CN104092554B (en) * | 2014-07-31 | 2017-11-10 | 新华三技术有限公司 | Multicast distribution tree method for building up and device |
-
2015
- 2015-04-27 CN CN201510209198.9A patent/CN104780090B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN104780090A (en) | 2015-07-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021063232A1 (en) | Method, apparatus and system for establishing bier forwarding table entry | |
CN109218178B (en) | Message processing method and network equipment | |
CN103841023B (en) | The method and apparatus of data forwarding | |
CN109873760A (en) | Handle the method and apparatus of routing and the method and apparatus of data transmission | |
CN104869042B (en) | Message forwarding method and device | |
CN104221332B (en) | LAN multiplexer | |
US10200212B2 (en) | Accessing IP network and edge devices | |
CN105099846B (en) | The method and supplier edge device of data message transmission | |
CN101155130B (en) | Method for learning MAC address and system and equipment for conveying VPLS client data | |
EP2014035B1 (en) | Ethernet vll spoke termination at an ip interface | |
CN104780090B (en) | Method, apparatus, the PE equipment of VPN multicast transmissions | |
CN104243302B (en) | Business route message processing method, device and network system | |
CN103401773B (en) | Method and network equipment realizing interboard communication | |
CN102413060B (en) | User private line communication method and equipment used in VPLS (Virtual Private LAN (Local Area Network) Service) network | |
CN101110745A (en) | Method, device and system for engaging second layer network and third layer network | |
CN107026796B (en) | VPN route notification method, data flow forwarding method and related equipment | |
CN100531138C (en) | Operator's boundary notes, virtual special LAN service communication method and system | |
WO2008092357A1 (en) | A method and device for establishing a pseudo wire tunnel and transmitting message using it | |
CN102546349B (en) | A kind of message forwarding method and equipment | |
CN105187311B (en) | A kind of message forwarding method and device | |
CN103780470B (en) | A kind of information synchronization method of IS IS and device | |
CN103326915A (en) | Method, device and system for achieving three-layer VPN | |
CN107547342A (en) | Message broadcasting method and apparatus based on VXLAN tunnels | |
CN100466589C (en) | Method for realizing virtual special net access | |
CN107959611A (en) | A kind of method to E-Packet, apparatus and system |
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 |
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. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |