CN112866076B - Ethernet virtual private network, operator equipment and user side equipment - Google Patents

Ethernet virtual private network, operator equipment and user side equipment Download PDF

Info

Publication number
CN112866076B
CN112866076B CN202011600169.2A CN202011600169A CN112866076B CN 112866076 B CN112866076 B CN 112866076B CN 202011600169 A CN202011600169 A CN 202011600169A CN 112866076 B CN112866076 B CN 112866076B
Authority
CN
China
Prior art keywords
vlan
identifier
multicast
igmp
operator
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
Application number
CN202011600169.2A
Other languages
Chinese (zh)
Other versions
CN112866076A (en
Inventor
胡士毅
张磊
袁国材
杨博林
刘超
闵清
项勃
潘鹏
范颖
陈昊
祁小龙
张伟龙
周婷
柯志雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
722th Research Institute of CSIC
Original Assignee
722th Research Institute of CSIC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 722th Research Institute of CSIC filed Critical 722th Research Institute of CSIC
Priority to CN202011600169.2A priority Critical patent/CN112866076B/en
Publication of CN112866076A publication Critical patent/CN112866076A/en
Application granted granted Critical
Publication of CN112866076B publication Critical patent/CN112866076B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/16Multipoint routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2592Translation of Internet protocol [IP] addresses using tunnelling or encapsulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present disclosure provides an ethernet virtual private network, operator equipment and user side equipment. The network comprises: the first host is used for sending a multicast data message to the first operator equipment through the first user side equipment, and the multicast data message comprises a multicast group address; the first operator equipment is used for encapsulating the multicast data message according to a multicast forwarding table of the Ethernet virtual private network and forwarding the encapsulated multicast data message to the second operator equipment, and the encapsulated multicast data message comprises an identifier of a second EVI; the second operator equipment is used for replacing the identifier of the second EVI in the multicast data message with the identifier of the third VLAN, and forwarding the identifier to the second user side equipment; the second user side device is used for replacing the identifier of the third VLAN in the multicast data message with the identifier of the second VLAN, and forwarding the identifier to the second host.

Description

Ethernet virtual private network, operator equipment and user side equipment
Technical Field
The present disclosure relates to the field of network technologies, and in particular, to an ethernet virtual private network, an operator device, and a user side device.
Background
Ethernet Virtual Private Network (EVPN) is a VPN technology used for two-layer Network interconnection.
Operator equipment (PE) in the EVPN network provides different services for different user groups by configuring EVI (EVPN Instance), so that two-layer isolation among different user groups is realized, and two-layer unicast and broadcast messages among different EVIs cannot be communicated after the isolation. However, in some scenarios, multicast interworking between different EVIs is required, which makes EVPN difficult to apply in these scenarios.
Disclosure of Invention
The embodiment of the disclosure provides an Ethernet virtual private network, operator equipment and user side equipment. The technical scheme is as follows:
in one aspect, an ethernet virtual private network is provided, which includes: the system comprises a first host, first user side equipment, first operator equipment, second user side equipment and a second host, wherein the first host is connected with the first operator equipment through the first user side equipment, the second host is connected with the second operator equipment through the second user side equipment, and the first operator equipment is connected with the second operator equipment; the first operator equipment and the second operator equipment are both configured with a first EVI and a second EVI, the first user side equipment is within the first EVI, and the second user side equipment is within the second EVI; the first host belongs to a first VLAN, a first EVI of the first operator equipment is connected with the first user side equipment through a first VLAN sub-interface, the second host belongs to a second VLAN, and the second EVI is connected with the second user side equipment through a second VLAN sub-interface; the second operator device is configured with a third VLAN and a mapping relationship between the third VLAN and the second EVI, and the second user-side device is configured with the third VLAN and a mapping relationship between the third VLAN and the second VLAN;
the first host is configured to send a multicast data packet to the first operator device through the first user side device, where the multicast data packet includes a multicast group address;
the first operator device is configured to encapsulate the multicast data packet according to a multicast forwarding table of the ethernet virtual private network, and forward the encapsulated multicast data packet to the second operator device, where the encapsulated multicast data packet includes an identifier of a second EVI;
the second operator device is configured to replace an identifier of a second EVI in the multicast data packet with an identifier of the third VLAN, and forward the identifier to the second user side device;
and the second user side device is used for replacing the identifier of the third VLAN in the multicast data message with the identifier of the second VLAN and forwarding the identifier to the second host.
Optionally, the second operator device is further configured to periodically send an IGMP query packet to the second user-side device, where the IGMP query packet includes an identifier of the third VLAN;
the second user side device is further configured to replace an identifier of a third VLAN in the IGMP query message with an identifier of the second VLAN, and forward the identifier to the second host;
the second host is further configured to return an IGMP report packet to the second user-side device based on the IGMP query packet, where the IGMP report packet includes an identifier of the second VLAN;
the second ue is further configured to store, based on the IGMP report packet, a port receiving the IGMP report packet, an identifier of the second VLAN, an identifier of the third VLAN, and multicast group address information in a multicast forwarding table of a multicast VLAN; replacing the identifier of the second VLAN in the IGMP report message with the identifier of the third VLAN, and forwarding the identifier of the third VLAN to the second operator device;
the second operator device is further configured to store, based on the IGMP report packet, a port that receives the IGMP report packet, the identifier of the second EVI, and multicast group address information in a local multicast forwarding table of the ethernet virtual private network.
Optionally, the second user side device is configured to obtain an identifier of a VLAN in the IGMP report message; judging whether the VLAN identification has a mapping relation with the third VLAN identification; and if the VLAN identification has a mapping relation with the third VLAN identification, replacing the VLAN identification in the IGMP report message with the third VLAN identification, and forwarding the third VLAN identification to the second operator equipment.
Optionally, the second operator device is further configured to send the multicast group address information to the first operator device;
the first operator device is further configured to store the tunnel for transmitting the multicast group address information, the identifier of the second EVI, and the multicast group address information into a local multicast forwarding table of the ethernet virtual private network; sending the multicast group address information to the first user side equipment;
the first user side device is further configured to store the port receiving the multicast group address information and the multicast group address information in a multicast forwarding table of a network layer.
Optionally, the second operator device is configured to send, to the first operator device, an EVPN SMET routing message through a BGP EVPN neighbor relationship, where the EVPN SMET routing message includes the multicast group address information.
Optionally, the IGMP query message is an IGMP V2 query message, the IGMP report message is an IGMP V2(, G) report message, the (, G) is multicast group address information, the × represents an arbitrary multicast source, and G is a multicast group address; or, the IGMP query message is an IGMP V3 query message, the IGMP report message is an IGMP V3(S, G) report message, the (S, G) is multicast group address information, S represents a specific multicast source address, and G is a multicast group address.
In one aspect, an operator device is provided, where the operator device is a second operator device in the ethernet virtual private network, and the operator device includes:
a receiving module, configured to receive a multicast data packet sent by a first operator device, where the multicast data packet includes an identifier of a second EVI;
the storage module is used for storing the mapping relation between a third VLAN and the second EVI;
the control module is used for replacing the identifier of the second EVI in the multicast data message with the identifier of a third VLAN;
and the sending module is used for forwarding the multicast data message to second user side equipment.
Optionally, the sending module is further configured to periodically send an IGMP query packet to the second user-side device, where the IGMP query packet includes an identifier of the third VLAN;
the receiving module is further configured to receive an IGMP report packet sent by the second user side device;
the storage module is further configured to store, based on the IGMP report packet, a port that receives the IGMP report packet, the identifier of the second EVI, and multicast group address information in a local multicast forwarding table of the ethernet virtual private network.
In another aspect, a ue is provided, where the ue is a second ue in the ethernet virtual private network, and the ue includes:
a receiving module, configured to receive a multicast data packet sent by a second operator device, where the multicast data packet includes an identifier of a third VLAN;
the storage module is used for storing the mapping relation between a third VLAN and the second VLAN;
the control module is used for replacing the identifier of the third VLAN in the multicast data message with the identifier of the second VLAN;
and the sending module is used for forwarding the multicast data message to the second host.
Optionally, the receiving module is further configured to receive an IGMP query packet sent by the second operator device, where the IGMP query packet includes an identifier of the third VLAN;
the control module is configured to replace an identifier of a third VLAN in the IGMP query message with an identifier of the second VLAN;
the sending module is further configured to forward the IGMP query packet to the second host;
the receiving module is further configured to receive an IGMP report packet sent by the second host, where the IGMP report packet includes an identifier of the second VLAN;
the control module is configured to replace an identifier of a second VLAN in the IGMP report message with an identifier of a third VLAN;
the sending module is further configured to forward the IGMP report packet to the second operator device;
the storage module is further configured to store, based on the IGMP report packet, a port that receives the IGMP report packet, the identifier of the second VLAN, the identifier of the third VLAN, and multicast group address information in a multicast forwarding table of a multicast VLAN.
The technical scheme provided by the embodiment of the disclosure has the following beneficial effects:
in the ethernet virtual private network provided in the embodiment of the present disclosure, the first host is a multicast source, and when a multicast data packet sent by the first host passes through the first operator device, the first operator device encapsulates the multicast data packet according to a multicast forwarding table of the ethernet virtual private network, and forwards the encapsulated multicast data packet to the second operator device, where the encapsulated multicast data packet includes an identifier of the second EVI. And the second operator equipment replaces the identifier of the second EVI in the multicast data message with the identifier of the third VLAN according to the mapping relation between the second EVI and the third VLAN, and forwards the identifier to the second user side equipment belonging to the second EVI. And the second user side equipment replaces the identifier of the third VLAN in the multicast data message with the identifier of the second VLAN according to the mapping relation between the third VLAN and the second VLAN, and forwards the identifier to the second host. The method and the device realize the transmission of the multicast message across the EVI, solve the problem that the multicast message in the EVPN can not be directly transmitted across the EVI in the related technology, and increase the applicable scenes of the EVPN.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an ethernet virtual private network according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of an ethernet virtual private network according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a carrier device provided by the present disclosure;
fig. 4 is a schematic structural diagram of a user-side device provided in the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure more apparent, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.
Fig. 1 is a schematic structural diagram of an ethernet virtual private network according to an embodiment of the present disclosure. Referring to fig. 1, the ethernet virtual private network includes: a first host 101, a first user-side device (customer edge) 201, a first operator device (PE)301, a second operator device 302, a second user-side device 202, and a second host 102.
Wherein, the first host 101 is connected to the first operator device 301 through the first user-side device 201, the second host 102 is connected to the second operator device 302 through the second user-side device 202, and the first operator device 301 is connected to the second operator device 302; the first operator device 301 and the second operator device 302 are both configured with a first EVI and a second EVI, the first user-side device 201 is within the first EVI, and the second user-side device 202 is within the second EVI; the first host 101 belongs to a first VLAN, a first EVI of the first operator device 301 is connected to the first user-side device 201 through a first VLAN sub-interface, the second host 102 belongs to a second VLAN, and the second EVI is connected to the second user-side device 202 through a second VLAN sub-interface; the second operator device 302 is configured with a third VLAN and a mapping relationship between the third VLAN and the second EVI, and the second user-side device 202 is configured with the third VLAN and a mapping relationship between the third VLAN and the second VLAN.
The first host 101 is configured to send a multicast data packet to the first operator device 301 through the first user side device 201, where the multicast data packet includes a multicast group address. The multicast group address is a destination multicast group address, for example, an address of a multicast group where the second host is located, and the multicast data packet is an IP data packet, which may also carry an identifier of the first VLAN.
The first operator device 301 is configured to encapsulate the multicast data packet according to the multicast forwarding table of the ethernet virtual private network, and forward the encapsulated multicast data packet to the second operator device, where the encapsulated multicast data packet includes an identifier of a second EVI. Illustratively, the encapsulated multicast data packet includes an identifier of a source EVI and an identifier of a destination EVI, which are respectively an identifier of a first EVI and an identifier of a second EVI, and indicates that the multicast data packet needs to be transmitted across EVIs.
The second operator device 302 is configured to replace the identifier of the second EVI in the multicast data packet with the identifier of the third VLAN, and forward the identifier to the second user-side device 202.
The second user side device 202 is configured to replace the identifier of the third VLAN in the multicast data message with the identifier of the second VLAN, and forward the identifier to the second host 102.
In the ethernet virtual private network provided in the embodiment of the present disclosure, the first host is a multicast source, and when a multicast data packet sent by the first host passes through the first operator device, the first operator device encapsulates the multicast data packet according to a multicast forwarding table of the ethernet virtual private network, and forwards the encapsulated multicast data packet to the second operator device, where the encapsulated multicast data packet includes an identifier of the second EVI. And the second operator equipment replaces the identifier of the second EVI in the multicast data message with the identifier of the third VLAN according to the mapping relation between the second EVI and the third VLAN, and forwards the identifier to the second user side equipment belonging to the second EVI. And the second user side equipment replaces the identifier of the third VLAN in the multicast data message with the identifier of the second VLAN according to the mapping relation between the third VLAN and the second VLAN, and forwards the identifier to the second host. The method and the device realize the transmission of the multicast message across the EVI, solve the problem that the multicast message in the EVPN can not be directly transmitted across the EVI in the related technology, and increase the applicable scenes of the EVPN.
In the EVPN, the second VLAN is a user VLAN, and the third VLAN is a multicast VLAN.
In the EVPN, the operator device and the user side device establish a multicast forwarding table entry of a second EVI through an Internet Group Management Protocol Snooping (IGMP Snooping) function, that is, a process of requesting a multicast data packet from a multicast source. The following describes a process of establishing a multicast forwarding table entry for each device:
illustratively, the second operator device 302 is further configured to periodically send an IGMP Query (Query) message to the second user-side device 202, where the IGMP Query message includes an identifier of the third VLAN;
the second ue 202 is further configured to replace an identifier of a third VLAN in the IGMP query message with an identifier of the second VLAN, and forward the identifier to the second host 102;
the second host 102 is further configured to return an IGMP Report (Report) packet to the second user-side device 202 based on the IGMP query packet, where the IGMP Report packet includes an identifier of the second VLAN;
the second user side device 202 is further configured to store, based on the IGMP report packet, a port that receives the IGMP report packet, an identifier of the second VLAN, an identifier of the third VLAN, and multicast group address information in a multicast forwarding table of a multicast VLAN; replacing the identifier of the second VLAN in the IGMP report message with the identifier of the third VLAN, and forwarding the identifier to the second operator device 302;
the second operator device 302 is further configured to store, based on the IGMP report packet, a port receiving the IGMP report packet, the identifier of the second EVI, and multicast group address information in a local multicast forwarding table of the ethernet virtual private network.
Here, the second operator device 302 sends an IGMP Query (Query) message for the first time to Query whether the second host needs to request a multicast data message, and after the second host replies an IGMP Report (Report) message, a multicast forwarding table entry is established; the second operator device 302 periodically sends an IGMP Query (Query) message to periodically Query whether the second host is online, so as to prevent the multicast forwarding table entry from aging.
For the second operator device 302, when subsequently receiving the multicast data packet of the second EVI, first replace the identifier of the second EVI with the identifier of the third VLAN according to the mapping relationship between the second EVI and the third VLAN; then, based on the local multicast forwarding table of the ethernet virtual private network stored in the second operator device 302, the multicast data packet is forwarded through the port of the second operator device 302 receiving the IGMP report packet.
For the second user side device 202, when receiving the multicast data packet of the second EVI, first replace the identifier of the third VLAN with the identifier of the second VLAN according to the mapping relationship between the second VLAN and the third VLAN; then, based on the multicast forwarding table of the multicast VLAN stored in the second ue 202, the multicast data packet is forwarded through the port of the second ue 202 receiving the IGMP report packet, so that the second host can receive the multicast data packet of the second EVI.
Illustratively, the IGMP packet includes fields of type, maximum response time, checksum and group address.
The type is used to indicate the type of the IGMP message, such as an inquiry message or a report message. For example, taking IGMP V2 as an example, 0x11 represents a query message, 0x12 represents an IGMP V1 report message, and 0x16 represents an IGMP V2 report message. The maximum response time is the longest time in units of 0.1 second before a response report is sent, and the default value is 10 seconds; the check sum is that binary system inverse code summation is carried out on each 16 bits of the IGMP message header; the group address is also the aforementioned multicast group address information.
For example, the IGMP query message is an IGMP V2 query message, the IGMP report message is an IGMP V2(× G) report message, the (× G) is multicast group address information, the × represents an arbitrary multicast source, and the G is a multicast group address.
For example, the IGMP query message is an IGMP V3 query message, the IGMP report message is an IGMP V3(S, G) report message, the (S, G) is multicast group address information, S represents a specific multicast source address, and G is a multicast group address.
Exemplarily, the second user side device 202 is configured to obtain an identifier of a VLAN in the IGMP report message; judging whether the VLAN identification has a mapping relation with the third VLAN identification; if the identifier of the VLAN and the identifier of the third VLAN have a mapping relationship, the identifier of the VLAN in the IGMP report message is replaced with the identifier of the third VLAN, and the identifier is forwarded to the second operator device 302.
That is, if the identifier of the VLAN in the IGMP report message is the identifier of the second VLAN, it is identified that the identifier of the VLAN in the IGMP report message has a mapping relationship with the identifier of the third VLAN, and at this time, a forwarding operation of the VLAN identifier may be performed. And meanwhile, establishing a multicast forwarding table entry.
In the foregoing, the process of establishing the multicast forwarding table entry by the second operator device 302 and the second user-side device 202 is introduced, and similarly, the first operator device 301 and the first user-side device 20 also need to establish a corresponding multicast forwarding table entry:
illustratively, the second operator device 302 is further configured to send the multicast group address information to the first operator device 301;
the first operator device 301 is further configured to store a tunnel for transmitting the multicast group address information, the identifier of the second EVI, and the multicast group address information into a local multicast forwarding table of the ethernet virtual private network; sending the multicast group address information to the first ue 201;
the first ue 201 is further configured to store the port receiving the multicast group address information and the multicast group address information in a multicast forwarding table of a network layer.
For the first ue 201, when receiving the multicast data packet of the second EVI in the subsequent process, based on the multicast forwarding table of the network layer stored in the first ue 201, the multicast data packet is forwarded through the port where the first ue 201 receives the multicast group address information. For example, in the multicast forwarding table of the network layer stored in the first user side device 201, the destination multicast group address is also the foregoing multicast group address G.
For the first operator device 301, when receiving the multicast data packet of the second EVI in the subsequent, based on the multicast forwarding table of the local ethernet virtual private network stored in the first operator device 301, the multicast data packet is forwarded through the tunnel for transmitting the multicast group address information, so that the second operator device 302 can receive the multicast data packet of the second EVI.
In this embodiment of the present disclosure, a multi Label Distribution Protocol (mLDP) tunnel is configured between the first operator device 301 and the second operator device 302, and a Bridge Domain (BD) is established between the first operator device 301 and the second operator device 302 based on the mLDP tunnel, where the Bridge Domain is bound to the first EVI.
Illustratively, the second operator device 302 is configured to send an EVPN Selective Multicast Ethernet Tag (SMET) routing message to the first operator device 301 through a Border Gateway Protocol (BGP) EVPN neighbor relation, where the EVPN SMET routing message includes the Multicast group address information. That is, the multicast group address information is encapsulated in BGP route messages between the second operator devices and transmitted to the first operator device 301.
The EVPN SMET routing message may carry information such as a multicast source address length, a multicast source address, a multicast group address length, a multicast group address, a flag (flags), and the like. Where flags may be used to identify the version of IGMP.
Fig. 2 is a schematic structural diagram of an ethernet virtual private network according to an embodiment of the present disclosure. Referring to fig. 2, the difference from the ethernet virtual private network shown in fig. 1 is that fig. 2 shows two second operator devices 302, two second user-side devices 202 and 4 second hosts 102.
As shown in fig. 2, the first operator device 301 is PE1, the two second operator devices 302 are PE2 and PE3, the two second user side devices 202 are CE2 and CE3, the 4 second hosts 102 are hosts 1 to 4, and the first host 101 is a multicast source. The first host 101 may be a server, and the second host 102 may be a user device.
In the ethernet virtual private network shown in fig. 2, the forwarding plane uses Multi-Protocol Label Switching (MPLS) Label forwarding, and the control plane uses an extended BGP Protocol. The PEs 1-3 configure EVPN instances EVI1, EVI2, and EVI3, and are each configured with a BD one-to-one binding with each EVI. BGP EVPN neighbors are mutually established among PE1, PE2 and PE3, and an EVPN IGMP proxy (proxy) function is deployed on each PE. Where PE1 is deployed as a Sender (Sender) PE and PE2 and PE3 are deployed as Receiver (Receiver) PEs.
VLAN20 where host 1 and host 3 reside belongs to EVI2, and VLAN30 where host 2 and host 4 reside belongs to EVI 3. The EVI1 and the CE1 of the PE1 are connected through a VLAN10 subinterface, the EVI2, the EVI3 and the CE2 of the PE2 are respectively connected through a VLAN20 and a VLAN30 subinterface, and the EVI2, the EVI3 and the CE3 of the PE3 are respectively connected through a VLAN20 and a VLAN30 subinterface. Multicast VLAN15 is configured on PE2 and PE3 to bind with EVPN instance EVI1, and EVPN instance EVI1 of PE1, PE2, and PE3 are all configured with IGMP snooping and IGMP Proxy functions. CE1 configures transparent transmission function of VLAN10, and CE2 and CE3 configure multicast VLAN function and IGMP Snooping and IGMP Proxy function, and bind multicast VLAN (VLAN15) and user VLAN (VLAN20 and VLAN 30).
Taking an example that an EVI2 user host 1 and an EVI3 user host 4 receive multicast data of an EVI1, where the host 1 sends an IGMPv3(S, G) Report message, and the host 4 sends an IGMPv2 (#, G) Report message, the specific flow is as follows:
1. PE2 and PE3 periodically send IGMP Query messages with multicast VLAN tag (VLAN15) to an access side in EVI 1; after receiving the IGMP Query message, CE2 and CE3 replace the multicast VLAN tag of the IGMP Query message with the corresponding user VLAN tag (VLAN20, VLAN30), and then send out from the member port of the user VLAN;
2. the host 1 and the host 4 receive the IGMP Query message and respectively return IGMPReport messages to the CE2 and the CE 3;
3. CE2 and CE3 receive the IGMP Report message, replace the user VLANtag in the IGMP Report message with the multicast VLAN tag, then send out from the router port of the multicast VLAN, and merge the route table item result learned by IGMPSnooping into the multicast forwarding table of the multicast VLAN;
4. PE2 and PE3 receive the IGMP Report packet, and respectively establish corresponding items in the multicast forwarding table of EVI1, for example, PE2 adds (S, G) table entries, the corresponding outgoing interface is an interface where PE2 connects CE2, PE3 adds (x, G) table entries, and the corresponding outgoing interface is an interface where PE3 connects CE 3;
5. PE2 sends EVPN SMET routing message to other PE through BGP EVPN neighbor relation, the routing message carries (S, G) table item in IGMPv3 Report message, flag field in the routing message is set as IGMPv3 version and include (include) mode; PE3 sends EVPN SMET routing message to other PE through BGP EVPN neighbor relation, the routing message carries ([ star ], G) table item in IGMPv2 Report message, flag field in the route is set as IGMPv2 version;
6. the PE1 receives the EVPN SMET routing message, and establishes a corresponding item in the multicast forwarding table of the EVI1, for example, adds (S, G) and (×, G) table entries and adds a corresponding mLDP tunnel as an egress interface;
7. PE1 sends (S, G) and (×, G) entries to CE1, and CE1 establishes corresponding entries in the multicast forwarding table in the network layer, for example, adds (S, G) and (×, G) entries and adds an interface connected to PE1 as an egress interface;
8. the multicast source sends a multicast data message to the CE1, and the CE1 forwards the multicast data message to the PE1 based on the multicast forwarding table of the network layer;
9. after receiving the multicast data message, PE1 encapsulates the multicast data message and adds a source EVI tag and a target EVI tag; then forwarding the multicast data message to PE2 and PE3 through an mLDP tunnel interface by using (S, G) and ([ star, G) table entries in the multicast forwarding table based on EVI 1;
10. after receiving the multicast data message from PE1 through the mLDP tunnel, PE2 and PE3 replace the destination EVI1 tag therein with a multicast VLAN tag, and forward the multicast data message to CE2 and CE3 according to the (S, G) and (×, G) entries respectively;
11. CE2 and CE3 receive multicast data messages from PE2 and PE3, and replace multicast VLANtag in the multicast data messages with user VLAN tag; and, inquire about the forwarding table entry that multicast VLAN corresponds to, find out port and port VLAN ID, then duplicate a copy of multicast data message to send to host 1 and host 4 at each port.
Fig. 3 is a schematic structural diagram of an operator device provided in the present disclosure. The operator device is a second operator device 302 in the ethernet virtual private network, see fig. 3, and includes: a receiving module 321, a storage module 322, a control module 323, and a transmitting module 324.
The receiving module 321 is configured to receive a multicast data packet sent by a first operator device, where the multicast data packet includes an identifier of a second EVI;
a storage module 322, configured to store a mapping relationship between a third VLAN and the second EVI;
a control module 323, configured to replace an identifier of a second EVI in the multicast data packet with an identifier of a third VLAN;
a sending module 324, configured to forward the multicast data packet to a second ue.
Optionally, the sending module 324 is further configured to periodically send an IGMP query packet to the second user-side device, where the IGMP query packet includes an identifier of the third VLAN;
the receiving module 321 is further configured to receive an IGMP report packet sent by the second user side device;
the storage module 322 is further configured to store, based on the IGMP report packet, a port receiving the IGMP report packet, the identifier of the second EVI, and multicast group address information into a local multicast forwarding table of the ethernet virtual private network.
Fig. 4 is a schematic structural diagram of a user-side device provided by the present disclosure. The ue is the second ue 202 in the ethernet virtual private network, referring to fig. 4, and the ue includes: a receiving module 221, a storage module 222, a control module 223, and a transmitting module 224.
The receiving module 221 is configured to receive a multicast data packet sent by a second operator device, where the multicast data packet includes an identifier of a third VLAN;
a storage module 222, configured to store a mapping relationship between a third VLAN and the second VLAN;
a control module 223, configured to replace an identifier of a third VLAN in the multicast data packet with an identifier of a second VLAN;
a sending module 224, configured to forward the multicast data packet to the second host.
Optionally, the receiving module 221 is further configured to receive an IGMP query packet sent by the second operator device, where the IGMP query packet includes an identifier of the third VLAN;
the control module 223 is configured to replace the identifier of the third VLAN in the IGMP query message with the identifier of the second VLAN;
the sending module 224 is further configured to forward the IGMP query packet to the second host;
the receiving module 221 is further configured to receive an IGMP report packet sent by the second host, where the IGMP report packet includes an identifier of the second VLAN;
the control module 223 is configured to replace the identifier of the second VLAN in the IGMP report message with the identifier of the third VLAN;
the sending module 224 is further configured to forward the IGMP report packet to the second operator device;
the storage module 222 is further configured to store, based on the IGMP report packet, a port receiving the IGMP report packet, the identifier of the second VLAN, the identifier of the third VLAN, and multicast group address information in a multicast forwarding table of a multicast VLAN.
The above description is intended to be exemplary only and not to limit the present disclosure, and any modification, equivalent replacement, or improvement made without departing from the spirit and scope of the present disclosure is to be considered as the same as the present disclosure.

Claims (10)

1. An ethernet virtual private network, comprising: the system comprises a first host, first user side equipment, first operator equipment, second user side equipment and a second host, wherein the first host is connected with the first operator equipment through the first user side equipment, the second host is connected with the second operator equipment through the second user side equipment, and the first operator equipment is connected with the second operator equipment; the first operator equipment and the second operator equipment are both configured with a first EVI and a second EVI, the first user side equipment is within the first EVI, and the second user side equipment is within the second EVI; the first host belongs to a first VLAN, a first EVI of the first operator equipment is connected with the first user side equipment through a first VLAN sub-interface, the second host belongs to a second VLAN, and the second EVI is connected with the second user side equipment through a second VLAN sub-interface; the second operator device is configured with a third VLAN and a mapping relationship between the third VLAN and the second EVI, and the second user-side device is configured with the third VLAN and a mapping relationship between the third VLAN and the second VLAN;
the first host is configured to send a multicast data packet to the first operator device through the first user-side device, where the multicast data packet includes a multicast group address;
the first operator device is configured to encapsulate the multicast data packet according to a multicast forwarding table of the ethernet virtual private network, and forward the encapsulated multicast data packet to the second operator device, where the encapsulated multicast data packet includes an identifier of a second EVI;
the second operator device is configured to replace an identifier of a second EVI in the multicast data packet with an identifier of the third VLAN, and forward the identifier to the second user side device;
and the second user side device is configured to replace the identifier of the third VLAN in the multicast data message with the identifier of the second VLAN, and forward the identifier to the second host.
2. An ethernet virtual private network according to claim 1, wherein said second operator device is further configured to periodically send an IGMP query message to said second customer-side device, said IGMP query message including an identification of said third VLAN;
the second user side device is further configured to replace an identifier of a third VLAN in the IGMP query message with an identifier of the second VLAN, and forward the identifier to the second host;
the second host is further configured to return an IGMP report packet to the second user-side device based on the IGMP query packet, where the IGMP report packet includes an identifier of the second VLAN;
the second user side device is further configured to store, based on the IGMP report packet, a port for receiving the IGMP report packet, the identifier of the second VLAN, the identifier of the third VLAN, and multicast group address information in a multicast forwarding table of a multicast VLAN; replacing the identifier of the second VLAN in the IGMP report message with the identifier of the third VLAN, and forwarding the identifier to the second operator equipment;
the second operator device is further configured to store, based on the IGMP report packet, a port that receives the IGMP report packet, the identifier of the second EVI, and multicast group address information in a local multicast forwarding table of the ethernet virtual private network.
3. An ethernet virtual private network according to claim 2, wherein said second user side device is configured to obtain an identifier of a VLAN in said IGMP report message; judging whether the VLAN identification has a mapping relation with the third VLAN identification; and if the VLAN identification has a mapping relation with the third VLAN identification, replacing the VLAN identification in the IGMP report message with the third VLAN identification, and forwarding the third VLAN identification to the second operator equipment.
4. An ethernet virtual private network according to claim 2, wherein said second operator device is further configured to send said multicast group address information to said first operator device;
the first operator device is further configured to store a tunnel for transmitting the multicast group address information, the identifier of the second EVI, and the multicast group address information in a local multicast forwarding table of the ethernet virtual private network; sending the multicast group address information to the first user side equipment;
the first user side device is further configured to store the port receiving the multicast group address information and the multicast group address information into a multicast forwarding table of a network layer.
5. An Ethernet virtual private network according to claim 4, wherein said second carrier device is configured to send an EVPN SMET routing message to said first carrier device via BGP EVPN neighbor relations, said EVPN SMET routing message including said multicast group address information.
6. An ethernet virtual private network according to any of claims 2 to 5, wherein said IGMP query message is an IGMP V2 query message, said IGMP report message is an IGMP V2(, G) report message, said (, G) is multicast group address information, (-) represents any multicast source, and G is a multicast group address;
or, the IGMP query message is an IGMP V3 query message, the IGMP report message is an IGMP V3(S, G) report message, the (S, G) is multicast group address information, S represents a specific multicast source address, and G is a multicast group address.
7. A carrier device, wherein the carrier device is a second carrier device in the ethernet virtual private network of claim 1, the carrier device comprising:
a receiving module, configured to receive a multicast data packet sent by a first operator device, where the multicast data packet includes an identifier of a second EVI;
the storage module is used for storing the mapping relation between a third VLAN and the second EVI;
the control module is used for replacing the identifier of the second EVI in the multicast data message with the identifier of a third VLAN;
and the sending module is used for forwarding the multicast data message to second user side equipment.
8. The operator device according to claim 7, wherein the sending module is further configured to periodically send an IGMP query message to the second user-side device, where the IGMP query message includes an identifier of the third VLAN;
the receiving module is further configured to receive an IGMP report packet sent by the second user side device;
the storage module is further configured to store, based on the IGMP report packet, a port that receives the IGMP report packet, the identifier of the second EVI, and multicast group address information in a local multicast forwarding table of the ethernet virtual private network.
9. A ue, wherein the ue is the second ue in the ethernet virtual private network according to claim 1, the ue comprising:
a receiving module, configured to receive a multicast data packet sent by a second operator device, where the multicast data packet includes an identifier of a third VLAN;
the storage module is used for storing the mapping relation between a third VLAN and the second VLAN;
the control module is used for replacing the identifier of the third VLAN in the multicast data message with the identifier of the second VLAN;
and the sending module is used for forwarding the multicast data message to the second host.
10. The device of claim 9, wherein the receiving module is further configured to receive an IGMP query packet sent by the second operator device, where the IGMP query packet includes an identifier of the third VLAN;
the control module is configured to replace an identifier of a third VLAN in the IGMP query message with an identifier of the second VLAN;
the sending module is further configured to forward the IGMP query packet to the second host;
the receiving module is further configured to receive an IGMP report packet sent by the second host, where the IGMP report packet includes an identifier of the second VLAN;
the control module is configured to replace an identifier of a second VLAN in the IGMP report message with an identifier of a third VLAN;
the sending module is further configured to forward the IGMP report packet to the second operator device;
and the storage module is further configured to store, based on the IGMP report packet, a port for receiving the IGMP report packet, the identifier of the second VLAN, the identifier of the third VLAN, and multicast group address information in a multicast forwarding table of a multicast VLAN.
CN202011600169.2A 2020-12-30 2020-12-30 Ethernet virtual private network, operator equipment and user side equipment Active CN112866076B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011600169.2A CN112866076B (en) 2020-12-30 2020-12-30 Ethernet virtual private network, operator equipment and user side equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011600169.2A CN112866076B (en) 2020-12-30 2020-12-30 Ethernet virtual private network, operator equipment and user side equipment

Publications (2)

Publication Number Publication Date
CN112866076A CN112866076A (en) 2021-05-28
CN112866076B true CN112866076B (en) 2022-09-16

Family

ID=75998268

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011600169.2A Active CN112866076B (en) 2020-12-30 2020-12-30 Ethernet virtual private network, operator equipment and user side equipment

Country Status (1)

Country Link
CN (1) CN112866076B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8781557B2 (en) * 1999-08-11 2014-07-15 Osteoplastics, Llc Producing a three dimensional model of an implant
JP2005078375A (en) * 2003-08-29 2005-03-24 Sony Corp Direction recognition device, direction recognition method, direction recognition system, and robot device
CN103731349B (en) * 2012-10-16 2017-10-03 新华三技术有限公司 Message forwarding method and edge device between a kind of Ethernet virtualization interconnection neighbours
CN102932254B (en) * 2012-11-19 2015-08-26 杭州华三通信技术有限公司 Message forwarding method and device
US10148566B2 (en) * 2016-02-26 2018-12-04 Juniper Networks, Inc. Split-horizon packet forwarding in a multi-home PBB-EVPN network
EP3588857B1 (en) * 2018-06-25 2023-06-07 Juniper Networks, Inc. Using multiple ethernet virtual private network (evpn) routes for corresponding service interfaces of a subscriber interface

Also Published As

Publication number Publication date
CN112866076A (en) 2021-05-28

Similar Documents

Publication Publication Date Title
CN110086714B (en) Handling multicast connection messages by multi-homed devices in Ethernet VPNs
US10135627B2 (en) System for avoiding traffic flooding due to asymmetric MAC learning and achieving predictable convergence for PBB-EVPN active-active redundancy
US6839348B2 (en) System and method for distributing multicasts in virtual local area networks
US7339929B2 (en) Virtual private LAN service using a multicast protocol
US8166205B2 (en) Overlay transport virtualization
US8098656B2 (en) Method and apparatus for implementing L2 VPNs on an IP network
US8934486B2 (en) System and method for implementing multicast over a label-switched core network
EP3226491B1 (en) Hot root standby support for multicast
CN108696440A (en) Multicast load balancing in multiple home to return to EVPN networks
CN100442770C (en) Method for realizing muti-casting in BGP/MPLS VPN
CN112543146B (en) EVPN optimized inter-subnet multicast (OISM) forwarding based on control plane
US20090279536A1 (en) IP forwarding across a link state protocol controlled ethernet network
CN102263646B (en) Multicasting within a distributed control plane of a switch
CN103685022A (en) Message forwarding method and service provider network edge equipment
KR20100113540A (en) Mpls p node replacement using link state protocol controlled ethernet network
EP3188422A1 (en) Traffic black holing avoidance and fast convergence for active-active pbb-evpn redundancy
CN107547340B (en) Message forwarding method and device
CN112688888A (en) Improved port mirroring on EVPN VXLAN
WO2021093463A1 (en) Packet forwarding method, first network device, and first device group
EP3396897B1 (en) Multicast load balancing in multihoming evpn networks
EP3883182B1 (en) Evpn multicast ingress forwarder election using source-active route
CN112866076B (en) Ethernet virtual private network, operator equipment and user side equipment
EP3190752B1 (en) Method, apparatus and medium for avoiding traffic flooding due to asymmetric mac learning and achieving predictable convergence for pbb-evpn active-active redundancy
CN108199960A (en) Multicast data packet forwarding method, entrance routing bridge, outlet routing bridge and system
CN113114553B (en) Method and device for realizing butt joint of different networks under EVPN

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant