CN110971520B - Method and system for realizing two-layer and three-layer bridging by OVERLAY technology - Google Patents

Method and system for realizing two-layer and three-layer bridging by OVERLAY technology Download PDF

Info

Publication number
CN110971520B
CN110971520B CN201911061031.7A CN201911061031A CN110971520B CN 110971520 B CN110971520 B CN 110971520B CN 201911061031 A CN201911061031 A CN 201911061031A CN 110971520 B CN110971520 B CN 110971520B
Authority
CN
China
Prior art keywords
layer
label
overlay
head
data frame
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
CN201911061031.7A
Other languages
Chinese (zh)
Other versions
CN110971520A (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.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201911061031.7A priority Critical patent/CN110971520B/en
Publication of CN110971520A publication Critical patent/CN110971520A/en
Application granted granted Critical
Publication of CN110971520B publication Critical patent/CN110971520B/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
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
    • H04L45/502Frame based
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/04Interdomain routing, e.g. hierarchical routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/54Organization of routing tables
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/58Association of routers
    • H04L45/586Association of routers of virtual routers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering

Landscapes

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

Abstract

The invention discloses a method and a system for realizing two-layer and three-layer bridging by using OVERLAY technology, relating to the technical field of communication, wherein MPLS labels and Ethernet headers of data frames are stripped off from all the data frames to obtain VRF, a target port is searched according to IP, and three-layer forwarding is carried out; and by using the idea of OVERLAY technology for reference, the frame format of the outgoing packet is encapsulated differently according to the data frame transmission direction, two-layer and three-layer bridging is realized by only one-hop forwarding, and the forwarding efficiency is doubled compared with the mode forwarding efficiency of two hops, so that the forwarding performance and the resource efficiency of the equipment are doubled.

Description

Method and system for realizing two-layer and three-layer bridging by OVERLAY technology
Technical Field
The invention relates to the technical field of communication, in particular to a method and a system for realizing two-layer and three-layer bridging by using OVERLAY technology.
Background
As shown in fig. 1, in the current 4G-LTE mobile backhaul network, a PTN networking is commonly used in engineering to implement an L3 VPN. Generally, only L2VPN (Layer 2 Virtual Private Network) is supported in the access convergence Layer, and L3VPN is supported in the core Layer Network, which is a concept of two-Layer and three-Layer bridging. Therefore, the technical requirements on the bearing equipment can be reduced, and the influence on the change of the existing access convergence layer equipment and service is reduced. Therefore, the core node is required to have two-three layer bridging function, i.e. support internal termination of L2VPN, and then bridge to L3VPN, and realize forwarding between L2VPN and L3 VPN. Fig. 2 is a simplified logic diagram of the bridging function. FIG. 3 shows the L2 side frame format IP/ETH/MPLS/ETH, and FIG. 4 shows the L3 side frame format IP/MPLS/ETH.
Two-layer and three-layer bridging are important essential functions in the current mobile backhaul network, and in terms of how to implement the two-layer and three-layer bridging, no matter the current industry adopts external explicit bridging or internal implicit bridging, the two-layer and three-layer bridging generally follow the standard L2 forwarding procedure and L3 forwarding procedure, i.e., two complete procedures. These implementations go through two hops, thereby reducing device forwarding performance and resource efficiency by half.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a method and a system for realizing two-layer and three-layer bridging by using an OVERLAY technology, wherein the two-layer and three-layer bridging is realized by using only one jump.
In order to achieve the above purposes, the technical scheme adopted by the invention is as follows: a method for realizing two-layer and three-layer bridging by using OVERLAY technology comprises the following steps:
stripping off MPLS label and Ethernet head of data frame to obtain VRF forwarding table of virtual private network, searching destination port according to IP and three-layer forwarding;
and encapsulating the frame format of the outgoing packet differently according to the transmission direction of the data frame.
On the basis of the technical scheme, the method comprises the following steps of stripping off the MPLS label and the Ethernet header of the data frame to obtain VRF, searching a target port according to IP, and carrying out three-layer forwarding:
in the call direction, stripping off an MPLS label and an outer Ethernet header of a data frame to obtain a second-layer sub-interface and a virtual exchange interface corresponding to the second-layer sub-interface;
the DMAC of the inner layer Ethernet header of the data frame is matched with the MY-MAC defined by the virtual exchange interface;
if the matching is successful, stripping off an inner layer Ethernet header to obtain VRF and IP, searching the VRF according to the IP to obtain a target port, and performing three-layer forwarding;
and in the call downloading direction, stripping the MPLS label and the outer Ethernet header of the data frame to obtain VRF and IP, and searching the VRF according to the IP to obtain a target port.
On the basis of the above technical solution, the speaking direction strips off the MPLS label and the outer ethernet header of the data frame to obtain the two-layer subinterface and the virtual switch interface corresponding to the two-layer subinterface, which specifically includes the following steps:
stripping off a DMAC label of the OVERLAY head, an SMAC label of the OVERLAY head and a Tunnel label of the OVERLAY head to expose a PWE label of the OVERLAY head;
the PWE label of the OVERLAY head hits a two-layer sub-interface at the side of a two-layer MPLS network line;
and obtaining the virtual exchange interface corresponding to the two-layer subinterface.
On the basis of the above technical solution, the encapsulating the frame format of the outgoing packet differently according to the data frame transmission direction specifically includes the following steps:
in the call direction, the frame format of the outgoing packet is encapsulated according to the data frame format of the three-layer virtual private network;
and in the downlink direction, the frame format of the outgoing packet is encapsulated by IP/ETH, and then a loaded two-layer network OVERLAY head is added for encapsulating MPLS/ETH.
On the basis of the technical scheme, the overlap head comprises a DMAC label of the overlap head, an SMAC label of the overlap head, a Tunnel Tunnel label of the overlap head and a PWE label of the overlap head.
The invention also discloses a system for realizing two-layer and three-layer bridging by using OVERLAY technology, which comprises:
the second-layer and third-layer bridging forwarding module is used for stripping off the MPLS label and the Ethernet head of the data frame to obtain VRF, searching a target port according to IP and performing three-layer forwarding;
and the data frame encapsulation module is used for encapsulating the frame format of the outgoing packet differently according to the transmission direction of the data frame.
On the basis of the technical scheme, the two-layer and three-layer bridging forwarding module strips off the MPLS label and the Ethernet header of the data frame to obtain VRF, searches a target port according to IP and performs three-layer forwarding, and specifically comprises the following steps:
in the call direction, the two-layer and three-layer bridging forwarding module strips off the MPLS label and the outer Ethernet header of the data frame to obtain a two-layer sub-interface and a virtual switching interface corresponding to the two-layer sub-interface;
the DMAC of the inner layer Ethernet header of the data frame is matched with the MY-MAC defined by the virtual exchange interface;
if the matching is successful, stripping off an inner layer Ethernet header to obtain VRF and IP, searching a VRF routing table according to the IP to obtain a target port, and realizing three-layer forwarding;
and in the call downloading direction, stripping the MPLS label and the outer Ethernet header of the data frame to obtain VRF and IP, and searching a VRF routing table according to the IP to obtain a destination port.
On the basis of the above technical solution, in the speaking direction, the two-layer and three-layer bridge forwarding module strips off the MPLS label and the outer ethernet header of the data frame to obtain the two-layer subinterface and the virtual switch interface corresponding to the two-layer subinterface, which specifically includes the following steps:
stripping off a DMAC label of the OVERLAY head, an SMAC label of the OVERLAY head and a Tunnel label of the OVERLAY head to expose a PWE label of the OVERLAY head;
the PWE label of the OVERLAY head hits a two-layer sub-interface at the side of a two-layer MPLS network line;
and obtaining the virtual exchange interface corresponding to the two-layer subinterface.
On the basis of the above technical solution, the data frame encapsulation module encapsulates the frame format of the outgoing packet differently according to the data frame transmission direction, and specifically includes the following steps:
in the call direction, the frame format of the outgoing packet is encapsulated according to the data frame format of the three-layer virtual private network;
and in the downlink direction, the frame format of the outgoing packet is encapsulated by IP/ETH, and then a loaded two-layer network OVERLAY head is added for encapsulating MPLS/ETH.
On the basis of the technical scheme, the OVERLAY head is a DMAC (dimethylacetamide) tag of the OVERLAY head, an SMAC (simple message access) tag of the OVERLAY head, a Tunnel Tunnel tag of the OVERLAY head and a PWE (public wire electrode) tag of the OVERLAY head.
Compared with the prior art, the invention has the advantages that:
in the invention, all data frames are stripped of MPLS labels and Ethernet headers of the data frames to obtain VRF, and a target port is searched according to IP to carry out three-layer forwarding; and by using the idea of OVERLAY technology for reference, the frame format of the outgoing packet is encapsulated differently according to the data frame transmission direction, two-layer and three-layer bridging is realized by only one-hop forwarding, and the forwarding efficiency is doubled compared with the mode forwarding efficiency of two hops, so that the forwarding performance and the resource efficiency of the equipment are doubled.
Drawings
Fig. 1 is a mobile backhaul network described in the background;
FIG. 2 is a simplified schematic of the logic of the bridging function described in the background;
FIG. 3 is a side L2 frame format described in the background;
FIG. 4 is a side L3 frame format described in the background;
fig. 5 is a packet forwarding flow diagram in the call-up direction of the method for implementing two-layer and three-layer bridging by using overlap technology in the embodiment of the present invention;
fig. 6 is a packet forwarding flow diagram in the downlink direction of the method for implementing two-layer and three-layer bridging by using overlap technology in the embodiment of the present invention.
Detailed Description
Description of terms:
a PTN packet transport network;
l3VPN three-layer virtual private network;
long term evolution from LTE mobile communications 3G to 4G;
MPLS multi-protocol label switching;
an ETH Ethernet;
two-layer network where OVERLAY is carried;
the VXLAN can expand the virtual local area network, generally bear to the IP network;
the DMAC of the DA _ L2 OVERLAY header will be terminated and labeled;
SMAC of SA _ L2 overlap header, terminated;
the Tunnel of the TUL _ L2 OVERLAY head is terminated, exposing PWE _ L2;
a PWE pseudo-wire frame-imitating label of a PWE _ L2 OVERLAY head is used for matching and determining PWE _ LIF;
a PWE _ LIF two-layer MPLS network line side two-layer sub-interface;
a VSI virtual switching interface;
MY _ MAC three-layer packet contains MAC to be matched with DMAC of ETH head to be terminated;
VRF VPN forwarding table;
TUL _ L3 implements a three-tier forwarding of a tunnel to be terminated, similar to TUL _ L2, a label to be terminated;
PWE _ L3 realizes three-layer forwarding of PWE to be terminated, terminated inner-layer label and definition of VRF;
PWE edge-to-edge pseudowire emulation labels;
and TAG two-layer Ethernet VLAN value identification.
The present invention will be described in further detail with reference to the accompanying drawings and examples.
Example 1:
referring to fig. 5, an embodiment of the present invention provides a method for implementing two-layer and three-layer bridging by using overlap technology, including the following steps:
stripping off the MPLS label and the Ethernet head of the data frame to obtain VRF, searching a target port according to IP, and performing three-layer forwarding;
and encapsulating the frame format of the outgoing packet differently according to the transmission direction of the data frame.
The method for encapsulating the frame format of the outgoing packet differently according to the transmission direction of the data frame specifically comprises the following steps:
in the call direction, the frame format of the outgoing packet is encapsulated according to the data frame format of the three-layer virtual private network;
and in the call downloading direction, the frame format of the outgoing packet is firstly encapsulated by IP/ETH, and then a loaded two-layer network OVERLAY head is added for encapsulating MPLS/ETH, wherein the OVERLAY head is a DMAC label of the OVERLAY head, an SMAC label of the OVERLAY head, a Tunnel Tunnel label of the OVERLAY head and a PWE label of the OVERLAY head.
In the embodiment of the invention, all data frames are stripped of MPLS labels and Ethernet headers of the data frames to obtain VRFs, and a target port is searched according to IP to carry out three-layer forwarding; and by using the idea of OVERLAY technology for reference, the frame format of the outgoing packet is encapsulated differently according to the data frame transmission direction, two-layer and three-layer bridging is realized by only one-hop forwarding, and the forwarding efficiency is doubled compared with the mode forwarding efficiency of two hops, so that the forwarding performance and the resource efficiency of the equipment are doubled.
Example 2:
on the basis of embodiment 1, the MPLS label and the ethernet header of the data frame are stripped to obtain a VRF, and the destination port is searched according to the IP, which specifically includes the following steps:
in the call direction, stripping off an MPLS label and an outer Ethernet header of a data frame to obtain a second-layer sub-interface and a virtual exchange interface corresponding to the second-layer sub-interface;
judging whether the DMAC of the inner layer Ethernet head of the data frame can be matched with the MY-MAC defined by the virtual exchange interface;
if the matching is carried out, stripping an inner layer Ethernet header to obtain VRF and IP, searching a VRF routing table according to the IP to obtain a target port, and carrying out three-layer forwarding;
if not, searching an MAC forwarding table of the virtual switching interface for two-layer forwarding according to the DMAC of the inner layer Ethernet header of the data frame;
and in the call downloading direction, stripping the MPLS label and the outer Ethernet header of the data frame to obtain VRF and IP, and searching a VRF routing table according to the IP to obtain a destination port.
In the speaking direction, the MPLS label and the outer ethernet header of the data frame are stripped to obtain a second-layer subinterface and a virtual switch interface corresponding to the second-layer subinterface, which specifically includes the following steps:
stripping off a DMAC label of the OVERLAY head, an SMAC label of the OVERLAY head and a Tunnel label of the OVERLAY head to expose a PWE label of the OVERLAY head;
the PWE label of the OVERLAY head hits a two-layer sub-interface at the side of a two-layer MPLS network line;
and obtaining the virtual exchange interface corresponding to the two-layer subinterface.
Example 3:
on the basis of embodiment 1, referring to fig. 5, the packet forwarding flow in the call-up direction is as follows:
1. l2 side-wrapping, processing as usual L2, terminating TUL _ L2 tag and DA _ L2/SA _ L2, and hitting a two-layer sub-interface PWE _ LIF from PWE _ L2. PWE _ LIF hangs a VSI so that the packet performs the next step by VSI.
2. And the VSI defines MY _ MAC, the DA is matched with the MY _ MAC, so that the DA/SA is terminated again to obtain VRF, and a VRF routing table is searched according to IP. The TAG here does not serve a routing function. If there is no match to MY _ MAC, then L2 forwarding is implemented by looking up the VSI.MAC table with DA. Namely matching MY _ MAC, the routing forwarding is carried out according to L3, thereby realizing two-layer and three-layer bridging; and matching no MY _ MAC, realizing the normal two-layer forwarding.
3. The encapsulation of the out-packet is according to the standard L3 frame IP/MPLS/ETH.
Example 4:
on the basis of embodiment 1, referring to fig. 6, the packet forwarding flow in the following call direction is as follows:
1. l3 is wrapped and processed according to the normal L3, and the TUL _ L3/PWE _ L3 label and DA _ L2/SA _ L2 are removed to obtain a VRF.
2. And then the IP checks the VRF routing table.
3. The encapsulation of the package is completed according to the standard L3 principle, and then the OVERLAY head is added, namely DA _ L2/SA _ L2/TUL _ L2/PWE _ L2.
4. For the converged networking mode, L3 packetization may be performed by L3 multicast for L2 multicast.
The embodiment of the invention essentially only searches the destination port according to the IP finally for all the packets, and the frame format of the outgoing packet has different encapsulation according to the entering or leaving of the OVERLAY carrying network. The key point of the embodiment of the invention is to terminate the label, and then terminate the ETH head of the inner layer after obtaining the two-layer subinterface, thereby realizing the L3 routing.
Example 5:
the embodiment of the invention also discloses a system for realizing two-layer and three-layer bridging by using OVERLAY technology, which comprises the following steps:
a second three-layer bridge forwarding module, which is used for stripping off the MPLS label and the Ethernet header of the data frame to obtain a VRF (virtual private network routing forwarding table), searching a destination port according to IP (Internet protocol), and performing three-layer forwarding;
and the data frame encapsulation module is used for encapsulating the frame format of the outgoing packet differently according to the transmission direction of the data frame.
The two-layer and three-layer bridge forwarding module strips off the MPLS label and the Ethernet head of the data frame to obtain a VRF (virtual private network routing forwarding table), and searches a destination port according to the IP, and the method specifically comprises the following steps:
in the call direction, the two-layer and three-layer bridging forwarding module strips off the MPLS label and the outer Ethernet header of the data frame to obtain a two-layer sub-interface and a virtual switching interface corresponding to the two-layer sub-interface;
judging whether the DMAC of the inner layer Ethernet head of the data frame can be matched with the MY-MAC defined by the virtual exchange interface;
if the matching is carried out, an inner layer Ethernet head is stripped to obtain VRF and IP, a VRF routing table is searched according to the IP to obtain a target port, and three-layer forwarding is realized.
If not, searching the MAC forwarding table of the virtual switching interface according to the DMAC of the inner layer Ethernet head of the data frame to realize two-layer forwarding.
And in the call downloading direction, stripping the MPLS label and the outer Ethernet header of the data frame to obtain VRF and IP, and searching a VRF routing table according to the IP to obtain a destination port.
In the speaking direction, the two-layer and three-layer bridging forwarding module strips off the MPLS label and the outer ethernet header of the data frame to obtain the two-layer subinterfaces and the virtual switching interfaces corresponding to the two-layer subinterfaces, which specifically includes the following steps:
stripping off a DMAC label of the OVERLAY head, an SMAC label of the OVERLAY head and a Tunnel label of the OVERLAY head to expose a PWE label of the OVERLAY head;
the PWE label of the OVERLAY head hits a two-layer sub-interface at the side of a two-layer MPLS network line;
and obtaining the virtual exchange interface corresponding to the two-layer subinterface.
Example 6:
on the basis of embodiment 5, the data frame encapsulation module encapsulates the frame format of the outgoing packet differently according to the data frame transmission direction, and specifically includes the following steps:
in the call direction, the frame format of the outgoing packet is encapsulated according to the data frame format of the three-layer virtual private network;
and in the call downloading direction, the frame format of the outgoing packet is firstly encapsulated by IP/ETH, and then a loaded two-layer network OVERLAY head is added for encapsulating MPLS/ETH, wherein the OVERLAY head is a DMAC label of the OVERLAY head, an SMAC label of the OVERLAY head, a Tunnel Tunnel label of the OVERLAY head and a PWE label of the OVERLAY head.
The present invention is not limited to the above-described embodiments, and it will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the principle of the present invention, and such modifications and improvements are also considered to be within the scope of the present invention. Those not described in detail in this specification are within the skill of the art.

Claims (8)

1. A method for realizing two-layer and three-layer bridging by using OVERLAY technology is characterized by comprising the following steps:
stripping off MPLS label and Ethernet head of data frame to obtain VRF forwarding table of virtual private network, searching destination port according to IP and three-layer forwarding;
the method for encapsulating the frame format of the outgoing packet differently according to the transmission direction of the data frame specifically comprises the following steps:
in the call direction, the frame format of the outgoing packet is encapsulated according to the data frame format of the three-layer virtual private network;
and in the downlink direction, the frame format of the outgoing packet is encapsulated by IP/ETH, and then a loaded two-layer network OVERLAY head is added for encapsulating MPLS/ETH.
2. The method of claim 1 for implementing two-three layer bridging using OVERLAY, wherein: the method comprises the following steps of stripping off the MPLS label and the Ethernet head of the data frame to obtain VRF, searching a target port according to IP, and carrying out three-layer forwarding, and specifically comprises the following steps:
in the call direction, stripping off an MPLS label and an outer Ethernet header of a data frame to obtain a second-layer sub-interface and a virtual exchange interface corresponding to the second-layer sub-interface;
the DMAC of the inner layer Ethernet header of the data frame is matched with the MY-MAC defined by the virtual exchange interface;
if the matching is successful, stripping off an inner layer Ethernet header to obtain VRF and IP, searching the VRF according to the IP to obtain a target port, and performing three-layer forwarding;
and in the call downloading direction, stripping the MPLS label and the outer Ethernet header of the data frame to obtain VRF and IP, and searching the VRF according to the IP to obtain a target port.
3. The method of claim 2, wherein the OVERLAY technique is used to implement two-layer and three-layer bridging, and the method comprises: in the speaking direction, the MPLS label and the outer ethernet header of the data frame are stripped to obtain the second-layer subinterface and the virtual switch interface corresponding to the second-layer subinterface, which specifically includes the following steps:
stripping off a DMAC label of the OVERLAY head, an SMAC label of the OVERLAY head and a Tunnel label of the OVERLAY head to expose a PWE label of the OVERLAY head;
the PWE label of the OVERLAY head hits a two-layer sub-interface at the side of a two-layer MPLS network line;
and obtaining the virtual exchange interface corresponding to the two-layer subinterface.
4. The method of claim 1 for implementing two-three layer bridging using OVERLAY, wherein: the OVERLAY head comprises a DMAC label of the OVERLAY head, an SMAC label of the OVERLAY head, a Tunnel Tunnel label of the OVERLAY head and a PWE label of the OVERLAY head.
5. A system for implementing two-layer and three-layer bridging using overlap technology, comprising:
the second-layer and third-layer bridging forwarding module is used for stripping off the MPLS label and the Ethernet head of the data frame to obtain VRF, searching a target port according to IP and performing three-layer forwarding;
the data frame encapsulation module is used for encapsulating the frame format of the outgoing packet differently according to the transmission direction of the data frame, and specifically comprises the following steps:
in the call direction, the frame format of the outgoing packet is encapsulated according to the data frame format of the three-layer virtual private network;
and in the downlink direction, the frame format of the outgoing packet is encapsulated by IP/ETH, and then a loaded two-layer network OVERLAY head is added for encapsulating MPLS/ETH.
6. The system of claim 5, wherein the OVERLAY technology is used to implement two or three layer bridging, and wherein: the two-layer and three-layer bridge forwarding module strips off the MPLS label and the Ethernet head of the data frame to obtain VRF, searches a target port according to IP and forwards the data frame in three layers, and specifically comprises the following steps:
in the call direction, the two-layer and three-layer bridging forwarding module strips off the MPLS label and the outer Ethernet header of the data frame to obtain a two-layer sub-interface and a virtual switching interface corresponding to the two-layer sub-interface;
the DMAC of the inner layer Ethernet header of the data frame is matched with the MY-MAC defined by the virtual exchange interface;
if the matching is successful, stripping off an inner layer Ethernet header to obtain VRF and IP, searching a VRF routing table according to the IP to obtain a target port, and realizing three-layer forwarding;
and in the call downloading direction, stripping the MPLS label and the outer Ethernet header of the data frame to obtain VRF and IP, and searching a VRF routing table according to the IP to obtain a destination port.
7. The system of claim 6, wherein the OVERLAY technology is used to implement two or three layer bridging, and wherein: in the speaking direction, the two-layer and three-layer bridging forwarding module strips off the MPLS label and the outer ethernet header of the data frame to obtain the two-layer subinterfaces and the virtual switching interfaces corresponding to the two-layer subinterfaces, which specifically includes the following steps:
stripping off a DMAC label of the OVERLAY head, an SMAC label of the OVERLAY head and a Tunnel label of the OVERLAY head to expose a PWE label of the OVERLAY head;
the PWE label of the OVERLAY head hits a two-layer sub-interface at the side of a two-layer MPLS network line;
and obtaining the virtual exchange interface corresponding to the two-layer subinterface.
8. The system of claim 5, wherein the OVERLAY technology is used to implement two or three layer bridging, and wherein: the OVERLAY head is a DMAC label of the OVERLAY head, an SMAC label of the OVERLAY head, a Tunnel Tunnel label of the OVERLAY head and a PWE label of the OVERLAY head.
CN201911061031.7A 2019-11-01 2019-11-01 Method and system for realizing two-layer and three-layer bridging by OVERLAY technology Active CN110971520B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911061031.7A CN110971520B (en) 2019-11-01 2019-11-01 Method and system for realizing two-layer and three-layer bridging by OVERLAY technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911061031.7A CN110971520B (en) 2019-11-01 2019-11-01 Method and system for realizing two-layer and three-layer bridging by OVERLAY technology

Publications (2)

Publication Number Publication Date
CN110971520A CN110971520A (en) 2020-04-07
CN110971520B true CN110971520B (en) 2022-02-08

Family

ID=70030080

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911061031.7A Active CN110971520B (en) 2019-11-01 2019-11-01 Method and system for realizing two-layer and three-layer bridging by OVERLAY technology

Country Status (1)

Country Link
CN (1) CN110971520B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101667969A (en) * 2009-09-24 2010-03-10 中兴通讯股份有限公司 Method of accessing IP/L3VPN network of L2VPN network and device thereof
CN103326917A (en) * 2013-05-14 2013-09-25 盛科网络(苏州)有限公司 MPLS-based method and device for line speed mutual forwarding of two-layer VPN and three-layer VPN
US8873549B2 (en) * 2010-02-17 2014-10-28 Cisco Technology, Inc. Managing L2VPN connectivity after a fiber node split
WO2016107156A1 (en) * 2014-12-31 2016-07-07 中兴通讯股份有限公司 End-to-end monitoring method and device for bridge network
CN105991433A (en) * 2015-01-29 2016-10-05 杭州华三通信技术有限公司 Method and device of accessing layer 3 virtual private network (L3VPN) in layer 2 virtual private network (L2VPN)
CN109756409A (en) * 2017-11-01 2019-05-14 中兴通讯股份有限公司 Bridge-connection transmitting method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101667969A (en) * 2009-09-24 2010-03-10 中兴通讯股份有限公司 Method of accessing IP/L3VPN network of L2VPN network and device thereof
US8873549B2 (en) * 2010-02-17 2014-10-28 Cisco Technology, Inc. Managing L2VPN connectivity after a fiber node split
CN103326917A (en) * 2013-05-14 2013-09-25 盛科网络(苏州)有限公司 MPLS-based method and device for line speed mutual forwarding of two-layer VPN and three-layer VPN
WO2016107156A1 (en) * 2014-12-31 2016-07-07 中兴通讯股份有限公司 End-to-end monitoring method and device for bridge network
CN105991433A (en) * 2015-01-29 2016-10-05 杭州华三通信技术有限公司 Method and device of accessing layer 3 virtual private network (L3VPN) in layer 2 virtual private network (L2VPN)
CN109756409A (en) * 2017-11-01 2019-05-14 中兴通讯股份有限公司 Bridge-connection transmitting method

Also Published As

Publication number Publication date
CN110971520A (en) 2020-04-07

Similar Documents

Publication Publication Date Title
AU2013273254B2 (en) Routing VLAN tagged packets to far end addresses of virtual forwarding instances using separate administrations
US20220078114A1 (en) Method and Apparatus for Providing Service for Traffic Flow
US7929554B2 (en) Optimized forwarding for provider backbone bridges with both I and B components (IB-PBB)
US8761043B2 (en) Setting up a virtual private network
US20110032843A1 (en) Setting up a virtual private network using virtual lan identifiers
US20210203586A1 (en) Communication Method, Device, and System
US20230155932A1 (en) Multicast traffic transmission method and apparatus, communication node, and storage medium
US10673737B2 (en) Multi-VRF universal device internet protocol address for fabric edge devices
WO2009021458A1 (en) Method, apparatus and system for connecting layer2 network and layer3 network
US20090207860A1 (en) Method, apparatus and system for transferring data
WO2011160517A1 (en) Tunnel switching method and system for multi-protocol label switching services
US20230291682A1 (en) Method and device for processing data packet, storage medium, and electronic device
CN105337884A (en) Method and device for achieving multistage message editing service control on the basis of logic port
KR101140453B1 (en) Circuit emulation over an ip interworking virtual leased line
CN110971520B (en) Method and system for realizing two-layer and three-layer bridging by OVERLAY technology
JP5840211B2 (en) Pseudowire providing an in-band control channel with offset
TW201947889A (en) Function-expandable wired network device
WO2013157256A1 (en) Interworking device, method, and non-transitory computer-readable medium storing a program
WO2022237563A1 (en) Data forwarding method and apparatus, storage medium, and electronic apparatus
CN115632906A (en) Method and equipment for realizing tunnel in Ethernet virtual private network
WO2014187367A1 (en) Method and device for label lookup
CN111371667A (en) LTE VPDN networking method based on VxLAN technology under cloud computing environment

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