CN109120526A - The method and the network equipment of point-to-point transmitting message - Google Patents

The method and the network equipment of point-to-point transmitting message Download PDF

Info

Publication number
CN109120526A
CN109120526A CN201710497227.5A CN201710497227A CN109120526A CN 109120526 A CN109120526 A CN 109120526A CN 201710497227 A CN201710497227 A CN 201710497227A CN 109120526 A CN109120526 A CN 109120526A
Authority
CN
China
Prior art keywords
message
vxlan
outer layer
forward node
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710497227.5A
Other languages
Chinese (zh)
Other versions
CN109120526B (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.)
Huawei Technologies Co Ltd
XFusion Digital Technologies Co Ltd
Original Assignee
Beijing Huawei Digital 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 Beijing Huawei Digital Technologies Co Ltd filed Critical Beijing Huawei Digital Technologies Co Ltd
Priority to CN201710497227.5A priority Critical patent/CN109120526B/en
Publication of CN109120526A publication Critical patent/CN109120526A/en
Application granted granted Critical
Publication of CN109120526B publication Critical patent/CN109120526B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/66Layer 2 routing, e.g. in Ethernet based MAN's
    • 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/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • 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]

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 application provides the method and the network equipment of point-to-point transmitting message, comprising: first forward node receives the first message;First forward node determines the first tunnel VXLAN for being used for transmission first message according to two layers of port of first message and the mapping relations of multiple two layers of ports and multiple tunnels VXLAN;First forward node encapsulates the first VXLAN heading on first message, obtains the first VXLAN message, the first VXLAN heading includes the first VNI according to the first network identifier VNI in the first tunnel VXLAN;The first VXLAN message is sent to the second forward node by the first tunnel VXLAN by first forward node.The embodiment of the present application can realize the transparent transmission of two layer message in the traditional ISP network for not supporting MPLS.

Description

The method and the network equipment of point-to-point transmitting message
Technical field
This application involves the communications fields, and more particularly, to the side of the point-to-point transmitting message in the communications field Method and the network equipment.
Background technique
Internet Service Provider (Internet Service Provider, ISP) can provide dial-in service, net Upper browsing, downloading file, the service of sending and receiving e-mail etc., are the entrance and bridge that network end-user enters Internet.Fig. 1 Show a kind of ISP network and Virtual Private Network in the prior art (Virtual Private Network, VPN) connection Scene figure.ISP network in Fig. 1 includes operator backbone equipment (Provider, P) and provider edge equipment (Provider Edge Router, PE), wherein PE includes PE1 and PE2, and website (Site) 1 and website 2 in VPN1 PE2 is all accessed.At this moment, PE2 is equivalent to a Layer 2 switch.Locally being connected between website 1 and website 2 by CCC in Fig. 1 It connects and is interconnected (as shown in phantom in fig. 1).The equipment in ISP and VPN all supports multiprotocol label switching in the prior art (Multi-Protocol Label Switching, MPLS), if having accessed PE2 there are also other websites in VPN1, other Label switched path (Label Switched Path, LSP) tunnel is not needed when transmitting data between website and website 1 or website 2 Road, can directly carry out virtual LAN (Virtual Local Area Network, VLAN), Ethernet (Ethernet), High-Level Data Link Control (High-Level Data Link Control, HDLC) and point-to-point protocol (Point-to- Point Protocol, PPP) etc. different Linktypes data exchange.
But it for not supporting traditional ISP network of MPLS, does not provide transmit number between website in the prior art According to solution.
Summary of the invention
The application provides the method and the network equipment of point-to-point transmitting message, can not support that MPLS's is traditional The transparent transmission of ISP network realization two layer message.
In a first aspect, providing a kind of method of point-to-point transmitting message, the method is mentioned applied to Internet service For in quotient's ISP network, which comprises
First forward node receives the first message;
First forward node is according to two layers of port of first message and multiple two layers of ports and multiple VXLAN tunnels The mapping relations in road determine the first tunnel VXLAN for being used for transmission first message;
First forward node is reported according to the first network identifier VNI in the first tunnel VXLAN described first The first VXLAN heading is encapsulated on text, obtains the first VXLAN message, the first VXLAN heading includes the first VNI;
The first VXLAN message is sent to second turn by the first tunnel VXLAN by first forward node Send out node.
The first forward node in the embodiment of the present application in IPS network is receiving the customer edge transmission in VPN Original message when, can be determined according to two layers of port of the original message and be used for transmission the tunnel VXLAN of the message, it is then right The original message carries out VXLAN encapsulation, obtains VXLAN message, and then the VXLAN message is forwarded to the by first forward node Two forward node.The embodiment of the present application can realize the transparent transmission of message in the traditional ISP network for not supporting MPLS.
In some possible implementations, the mapping relations are to be pre-configured in the forward node.As One embodiment, can be with the static configuration broadcast domain object instance.Specifically, can in provider edge equipment manual configuration The parameter in each tunnel VXLAN.
In some possible implementations, the first VXLAN message further includes the first outer layer UDP, the first outer layer IP and the first outer layer Ethernet header, wherein the first outer layer UDP specific purposes including the first tunnel VXLAN Port, the destination address of first outer layer IP are the IP address of second forward node, first outer layer IP Source address is the IP address of first forward node, and the destination address of first outer layer IP is next hop router MAC Address.Message is packaged according to the determining tunnel VXLAN, the message after enabling to encapsulation is in the tunnel VXLAN Transmission.
In this way, the first forward node can be used as first forward node in the tunnel VXLAN, two layer message is being received When, determine the forward-path of the message, and then be packaged to the message, and be forwarded to next-hop routing node.
In some possible implementations, further includes:
First forward node receives the 2nd VXLAN message that third forward node is sent by the 2nd tunnel VXLAN, Wherein, the 2nd VXLAN message includes the 2nd VXLAN heading and the second message, includes in the 2nd VXLAN heading 2nd VNI in the 2nd tunnel VXLAN;
First forward node determines second message according to the 2nd tunnel VXLAN and the mapping relations Two layers of port;
First forward node decapsulates the 2nd VXLAN message, obtains second message;
First forward node forwards second message by two layers of port of second message.
Therefore, the first forward node in the embodiment of the present application in IPS network, can basis when receiving VXLAN message The tunnel VXLAN of the message is transmitted, determines two layers of port needed for forwarding the message.Then the VXLAN message is unsealed Dress, obtains original message, then the original message is forwarded to the customer edge in VPN by first forward node.This Shen Please embodiment can realize the transparent transmission of message in the traditional ISP network for not supporting MPLS.
It is understood that first forward node is also used as the last one forward node in the tunnel VXLAN, it is logical receiving It crosses after the message of the upper hop routing node forwarding in the tunnel VXLAN, which can be decapsulated, and determining should Two layers of port of message forward the message after decapsulation according to two layers of port.
In some possible implementations, the 2nd VXLAN message further includes the second outer layer UDP, the second outer layer IP and the second outer layer Ethernet header, wherein the second outer layer UDP specific purposes including the 2nd tunnel VXLAN Port, the destination address of second outer layer IP are the IP address of first forward node, second outer layer IP Source address is the IP address of the third forward node, and the destination address of second outer layer IP is upper hop router MAC Address.
Second aspect, provides a kind of network equipment of point-to-point transmitting message, including for execute first aspect or The unit of method in the various possible implementations of first aspect.
The third aspect provides a kind of network equipment of point-to-point transmitting message, including memory, processor and communication Interface, the memory are used to execute the program code stored in the memory for storing program code, the processor, To execute operation corresponding to the method in first aspect or the various possible implementations of first aspect.
Fourth aspect provides a kind of computer-readable medium, the computer-readable medium storage program code, the journey Sequence code includes the instruction for executing the method in the various possible implementations of first aspect or first aspect.
5th aspect, provides a kind of computer program product comprising instruction, when run on a computer, so that Computer executes the method in the various possible implementations of first aspect or first aspect.
6th aspect provides a kind of method of point-to-point transmitting message, including the first forward node passes through second The tunnel VXLAN receives the 2nd VXLAN message that third forward node is sent, wherein the 2nd VXLAN message includes second VXLAN heading and the second message include the 2nd VNI in the 2nd tunnel VXLAN in the 2nd VXLAN heading;
First forward node determines second message according to the 2nd tunnel VXLAN and the mapping relations Two layers of port;
First forward node decapsulates the 2nd VXLAN message, obtains second message;
First forward node forwards second message by two layers of port of second message.
Therefore, the first forward node in the embodiment of the present application in IPS network, can basis when receiving VXLAN message The tunnel VXLAN of the message is transmitted, determines two layers of port needed for forwarding the message.Then the VXLAN message is unsealed Dress, obtains original message, then the original message is forwarded to the customer edge in VPN by first forward node.This Shen Please embodiment can realize the transparent transmission of message in the traditional ISP network for not supporting MPLS.
It is understood that first forward node is also used as the last one forward node in the tunnel VXLAN, it is logical receiving It crosses after the message of the upper hop routing node forwarding in the tunnel VXLAN, which can be decapsulated, and determining should Two layers of port of message forward the message after decapsulation according to two layers of port.
In some possible implementations, the 2nd VXLAN message further includes the second outer layer UDP, the second outer layer IP and the second outer layer Ethernet header, wherein the second outer layer UDP specific purposes including the 2nd tunnel VXLAN Port, the destination address of second outer layer IP are the IP address of first forward node, second outer layer IP Source address is the IP address of the third forward node, and the destination address of second outer layer IP is upper hop router MAC Address.
7th aspect, provides a kind of network equipment of point-to-point transmitting message, including for execute the 6th aspect or The unit of method in the 6th various possible implementations of aspect.
Eighth aspect provides a kind of network equipment of point-to-point transmitting message, including memory, processor and communication Interface, the memory are used to execute the program code stored in the memory for storing program code, the processor, To execute operation corresponding to the method in the 6th aspect or the 6th various possible implementations of aspect.
9th aspect, provides a kind of computer-readable medium, the computer-readable medium storage program code, the journey Sequence code includes the instruction for executing the method in the various possible implementations of the 6th aspect or the 6th aspect.
Tenth aspect, provides a kind of computer program product comprising instruction, when run on a computer, so that Computer executes the method in the various possible implementations of the 6th aspect or the 6th aspect.
Detailed description of the invention
Fig. 1 shows the schematic diagram of the ISP network of the embodiment of the present application.
Fig. 2 shows a kind of application scenarios schematic diagrams of the embodiment of the present invention.
Fig. 3 shows a kind of schematic interaction diagrams of the method for point-to-point message transmissions of the embodiment of the present application.
Fig. 4 shows the schematic diagram of the message after a kind of encapsulation of the embodiment of the present application.
Fig. 5 shows a kind of VXLAN schematic diagrames of the embodiment of the present application
Fig. 6 shows a kind of outer layer UDP schematic diagrames of the embodiment of the present application.
Fig. 7 shows a kind of outer layer IP schematic diagrames of the embodiment of the present application.
Fig. 8 shows a kind of schematic diagram of outer layer Ethernet header of the embodiment of the present application.
Fig. 9 shows a kind of schematic block diagram of the network equipment of point-to-point transmitting message of the embodiment of the present application.
Figure 10 shows the schematic block diagram of the network equipment of the point-to-point transmitting message of another kind of the embodiment of the present application.
Specific embodiment
Below in conjunction with attached drawing, the technical solution in the application is described.
Fig. 2 shows the application scenario diagrams of one embodiment of the invention.P 13, PE1 12 and PE2 14 in Fig. 2 belong to IPS network, and PE1 12 and PE2 14 do not support MPLS.PE1 12 and customer edge (Custom Edge, CE) 1 11 connections, PE2 14 are connect with CE2 15.CE1 11 and CE2 15 is the different user edge device in the same VPN.Here, CE is directly connected with service provider, can be router or interchanger.CE perceives the presence less than VPN.
In the embodiment of the present application, broadcast domain (Broadcast Domain) is abstracted as object instance, each object instance It may be considered a forward-path.Specifically, can be pre-configured in provider edge equipment (such as PE1 and PE2) wide Field object example is broadcast, broadcast domain object instance includes multiple two layers of ports and multiple empty seemingly extension local area network (Virtual Extensible LAN, VXLAN) tunnel mapping relations.Two layers of port are the port in VLAN.That is, operator side Edge equipment can determine the tunnel VXLAN for forwarding the message according to two layers of port of broadcast domain object instance and message.VXLAN Two endpoints in tunnel are two provider edge equipments in network respectively, such as can be PE1 and PE2.According to the broadcast Field object example can be forwarded the packet to purpose provider edge equipment.
It, can be with the static configuration broadcast domain object instance as one embodiment.Specifically, can be set in Provider Edge The parameter in the standby each tunnel VXLAN of middle manual configuration, which for example may include VNI, the VXLAN in the tunnel VXLAN specific Destination port and the tunnel VXLAN another endpoint MAC Address and IP address, or can also include the VXLAN The parameter etc. of the intermediate node in tunnel.
Fig. 3 shows the schematic interaction diagrams of the method for the point-to-point message transmissions of the application one embodiment.
S310, the first forward node receive the first message.
Here, the first forward node can be the customer edge in IPS network, such as PE1 or PE2.First forwarding Node can receive the first message of the transmission of the customer edge in VPN, such as PE1 can receive the message of CE1 transmission, or PE2 can receive the message of CE2 transmission.
Specifically, when CE1 needs to send message to CE2, CE1 can be sent to PE1 should in scene shown in Fig. 1 Message.The message may include data load (payload), network protocol (Internet Protocol, IP) head and ether Head.The Ethernet header includes source address (Source Address, SA) and destination address (Destination Address, DA), source Address is the address media access control (Medium Access Control, MAC) for sending the CE1 of the message, and destination address is The MAC Address of CE2.
When PE1 receives the above-mentioned message of CE1 transmission, PE1 can determine the message according to the port for receiving the message Two layers of port.Here, two layers of port are the port in VLAN.It could phase it is understood that belonging between the port of the same VLAN Mutual communication, the VLAN based on port, which is arranged, in ISP network can effectively shield broadcast storm.
S320, first forward node according to two layers of port of first message and multiple two layers of ports with it is multiple The mapping relations in the tunnel VXLAN determine the first tunnel VXLAN for being used for transmission first message.
Specifically, first forward node can according to the mapping relations of multiple two layers of ports and multiple tunnels VXLAN, Determine the first tunnel VXLAN corresponding with two layers of port of first message.The mapping relations are, for example, above Broadcast domain object instance.Broadcast domain object instance may refer to described above.
Specifically, each tunnel VXLAN has corresponding unique VXLAN network identity (VXLAN Network ID, VNI).First forward node can be according to two layers of port of the first message, and determination is corresponding with two layers of port VNI determines the tunnel VXLAN for forwarding first message according to the VNI.
S330, first forward node is according to the first network identifier VNI in the first tunnel VXLAN, described The first VXLAN heading is encapsulated on first message, obtains the first VXLAN message, and the first VXLAN heading includes described the One VNI.
Fig. 4 shows the schematic diagram of the message after the encapsulation in the application one embodiment.Specifically, the first forward node Can be according to the determining tunnel VXLAN, successively packaging V XLAN, outer users data on the first message (i.e. original message) Datagram protocol (User Datagram Protocol, UDP) head, outer layer IP and outer layer Ethernet header.The process of encapsulation is properly termed as VXLAN encapsulation, the first message after encapsulation are properly termed as VXLAN message.
After the first forward node carries out VXLAN encapsulation to the message, the IP head in original message is properly termed as internal layer IP Head, Ethernet header are properly termed as internal layer Ethernet header.It is appreciated that not changing original report when carrying out VXLAN encapsulation to message Ethernet header, IP and the Payload of text.
Fig. 5 shows the schematic diagram of the VXLAN head of the application one embodiment.VXLAN amount to 8 bytes, can wrap Include the VNI of the VXLAN Flags and 24bit of 8 bits (bit).Reserved (Reserved) do not define partially, but is using When be necessarily arranged to 0x0000.
Fig. 6 shows the outer layer UDP schematic diagrames of the application one embodiment.Here, destination port is (namely The port VXLAN) 4798 are used, but destination port also can according to need and modify.Also, UDP is verified and be must be provided with For full 0.
Fig. 7 shows the outer layer IP schematic diagrames of the application one embodiment.Outer layer IP include agreement (protocol), source IP and destination IP.Specifically, source IP is the IP address of local provider edge equipment, under destination IP is One jumps the IP address of provider edge equipment.For example, when the next-hop of PE1 is another endpoint PE2 in the tunnel VXLAN, outside The source IP of IP, layer is the IP address of PE1, and destination IP is the IP address of PE2.In another example when the next-hop of PE1 is PE3, PE3's When next-hop is another endpoint PE2 of VXLAN, the IP address that PE1 is PE1 to outer layer IP source IPs of encapsulation, destination IP For the IP address of PE3.When PE3 receives the message, outer layer IP source IPs of the message are the IP address of PE3, destination IP For the IP address of PE2.
Here, protocol fields can be set to 0x11, indicate that the message is UDP message packet.
In the embodiment of the present application, when above-mentioned message is unicast message, destination IP can be unicast address.When above-mentioned message When for multicast message, destination IP can be multicast address.
Fig. 8 shows the schematic diagram of the outer layer Ethernet header of the application one embodiment.Outer layer Ethernet header includes source MAC, mesh MAC, VLAN type, VLAN ID and ethernet type.Source MAC is the MAC Address of local provider edge equipment, purpose MAC For the MAC Address of next-hop provider edge equipment.Here, for example, when another end that the next-hop of PE1 is the tunnel VXLAN When point PE2, the source MAC of outer layer Ethernet header is the MAC Address of PE1, and purpose MAC is the MAC Address of PE2.In another example when PE1's Next-hop is PE3, when the next-hop of PE3 is another endpoint PE2 of VXLAN, source MAC of the PE1 to the outer layer Ethernet header of encapsulation For the MAC Address of PE1, purpose MAC is the MAC Address of PE3.When PE3 receives the message, the outer layer Ethernet header of the message Source MAC is the MAC Address of PE3, and purpose MAC is the MAC Address of PE2.
Here, the VLAN tag of VLAN ID, that is, VXLAN.Also, VLAN type can be set to 0x8100.Ethernet class Type can be set to 0x8000, and expression data packet is IPv4 data packet.
The first VXLAN message is sent to by the first tunnel VXLAN by S340, first forward node Two forward node.
Here, the second forward node is another endpoint in the tunnel VXLAN, and is the customer edge in IPS network, Such as PE1 or PE2.Specifically, the message after encapsulation can carry out three layers of forwarding in ISP public network, until reaching the tunnel VXLAN Another endpoint.For example, the message after above-mentioned encapsulation is eventually sent to PE2.
Therefore, the first forward node in the embodiment of the present application in IPS network is receiving the customer edge in VPN When the original message of transmission, the tunnel VXLAN for being used for transmission the message can be determined according to two layers of port of the original message, so VXLAN encapsulation is carried out to the original message afterwards, obtains VXLAN message, then first forward node forwards the VXLAN message To the second forward node.The embodiment of the present application can realize the transparent transmission of message in the traditional ISP network for not supporting MPLS.
Optionally, in the embodiment of the present application, first forward node can also receive third by the 2nd tunnel VXLAN The 2nd VXLAN message that forward node is sent, wherein the 2nd VXLAN message includes the 2nd VXLAN heading and the second report Text includes the 2nd VNI in the 2nd tunnel VXLAN in the 2nd VXLAN heading.
Here, VXLAN tunnel of the 2nd tunnel VXLAN between the first forward node and third forward node.Third turns Sending out node can be identical forward node with above-mentioned second forward node, or be other PE in IPS network, and the application is not It limits.
Optionally, the 2nd VXLAN message can also include the second outer layer UDP, outside the second outer layer IP and second Layer Ethernet header, wherein the second outer layer UDP specific destination ports including the 2nd tunnel VXLAN, described second The destination address that outer layer is IP is the IP address of first forward node, and the source address of second outer layer IP is described the The IP address of three forward node, the destination address of second outer layer IP are the MAC Address of upper hop router.
Specifically, the description of the 2nd tunnel VXLAN and the 2nd VXLAN message can participate in the description of above-mentioned first VXLAN, To avoid repeating, which is not described herein again.
In the embodiment of the present application, first forward node can also be according to the 2nd tunnel VXLAN and two layers multiple The mapping relations of port and multiple tunnels VXLAN determine two layers of port of second message.
Specifically, mapping relations of first forward node according to multiple two layers of ports and multiple tunnels VXLAN, determine Two layers of port of second message corresponding with the 2nd tunnel VXLAN.The mapping relations may refer to retouching above It states, to avoid repeating, which is not described herein again.
First forward node decapsulates the 2nd VXLAN message, obtains second message.Specifically , the first forward node can remove message VXLAN, outer layer UDP, outer layer IP and outer layer Ethernet header, obtain former Beginning message.VXLAN, outer layer UDP, outer layer IP and outer layer Ethernet header may refer to it is described above, to avoid repeating, Which is not described herein again.
First forward node forwards second message by two layers of port of second message.Specifically, the One forward node can forward second message according to the information of two layers of port of the second message obtained after decapsulation.
Therefore, the first forward node in the embodiment of the present application in IPS network, can basis when receiving VXLAN message The tunnel VXLAN of the message is transmitted, determines two layers of port needed for forwarding the message.Then the VXLAN message is unsealed Dress, obtains original message, then the original message is forwarded to the customer edge in VPN by first forward node.This Shen Please embodiment can realize the transparent transmission of message in the traditional ISP network for not supporting MPLS.
Fig. 9 shows the schematic frame of the network equipment 900 of the point-to-point transmitting message of one of the embodiment of the present application Figure.
Receiving unit 910 receives the first message for the network equipment 900;
Determination unit 920, for the network equipment 900 according to the two layers of port and multiple two layers of ends of first message The mapping relations of mouth and multiple tunnels VXLAN determine the first tunnel VXLAN for being used for transmission first message;
Encapsulation unit 930, for the network equipment 900 according to the first network identifier in the first tunnel VXLAN VNI encapsulates the first VXLAN heading on first message, obtains the first VXLAN message, the first VXLAN heading Including the first VNI;
The first VXLAN message is passed through the first VXLAN tunnel for the network equipment 900 by transmission unit 940 Road is sent to the second forward node.
Therefore, the first forward node in the embodiment of the present application in IPS network is receiving the customer edge in VPN When the original message of transmission, the tunnel VXLAN for being used for transmission the message can be determined according to two layers of port of the original message, so VXLAN encapsulation is carried out to the original message afterwards, obtains VXLAN message, then first forward node forwards the VXLAN message To the second forward node.The embodiment of the present application can realize the transparent transmission of message in the traditional ISP network for not supporting MPLS.
Optionally, the mapping relations are to be pre-configured among the network devices.
Optionally, the first VXLAN message further include the first outer layer UDP, the first outer layer IP and the first outer layer with Too head, wherein the first outer layer UDP specific destination ports including the first tunnel VXLAN, first outer layer IP destination addresses are the IP address of second forward node, and the source address of first outer layer IP is that the network is set Standby IP address, the destination address of first outer layer IP are the MAC Address of next hop router.
Optionally, the receiving unit 910 is also used to the network equipment 900 and receives third by the 2nd tunnel VXLAN The 2nd VXLAN message that forward node is sent, wherein the 2nd VXLAN message includes the 2nd VXLAN heading and the second report Text includes the 2nd VNI in the 2nd tunnel VXLAN in the 2nd VXLAN heading;
The determination unit 920 is also used to the network equipment 900 and is closed according to the 2nd tunnel VXLAN and the mapping System, determines two layers of port of second message;
Decapsulation unit decapsulates 900 the 2nd VXLAN messages for the network equipment, described in acquisition Second message;
The transmission unit 940 is also used to the network equipment and forwards described the by two layers of port of second message Two messages.
Optionally, the 2nd VXLAN message further include the second outer layer UDP, the second outer layer IP and the second outer layer with Too head, wherein the second outer layer UDP specific destination ports including the 2nd tunnel VXLAN, second outer layer IP destination addresses are the IP address of the network equipment 900, and the source address of second outer layer IP turns for the third The IP address of node is sent out, the destination address of second outer layer IP is the MAC Address of upper hop router.
Therefore, the first forward node in the embodiment of the present application in IPS network, can basis when receiving VXLAN message The tunnel VXLAN of the message is transmitted, determines two layers of port needed for forwarding the message.Then the VXLAN message is unsealed Dress, obtains original message, then the original message is forwarded to the customer edge in VPN by first forward node.This Shen Please embodiment can realize the transparent transmission of message in the traditional ISP network for not supporting MPLS.
It should be noted that receiving unit 910 and transmission unit 940 can be realized by communication interface in the embodiment of the present application, determine Unit 920 and encapsulation unit 930 can be realized by processor.As shown in Figure 10, the network equipment 1000 may include processor 1010, memory 1020 and communication interface 1030.Wherein, processor 1010 is determined for communication interface 1030 and sends letter Breath, memory 1020 can be used for the code etc. of the execution of storage processor 1010.Processor 1010, memory 1020 and communication connect It is communicated with each other between mouth 1030 by internal connecting path, transmitting control and/or data-signal.Memory can be one individually Device, also can integrate in the processor.Above-mentioned each device or part of devices, which are desirably integrated into chip, to be realized, is such as collected It is realized at into baseband chip.Processor 1010, memory 1020 and communication interface 1030 are described in detail below.
The memory 1020 is for storing program code;
The processor 1010 is for executing the program code stored in the memory 1020, when said program code quilt When execution, communication interface 1030 is used for the first message of the reception;
Processor 1010 is used for according to two layers of port of first message and multiple two layers of ports and multiple tunnels VXLAN Mapping relations, determine and be used for transmission the first tunnel VXLAN of first message;
Processor 1010 is also used to the first network identifier VNI according to the first tunnel VXLAN, in first report The first VXLAN heading is encapsulated on text, obtains the first VXLAN message, the first VXLAN heading includes the first VNI;
Communication interface 1030 is also used to the first VXLAN message being sent to second by the first tunnel VXLAN Forward node.
It should be understood that each unit is respectively used to execute in above-mentioned each method and is held by the first forward node in the network equipment 1000 Capable each movement or treatment process.Here, in order to avoid repeating, description is omitted.
It should be understood that the network equipment 1000 of point-to-point transmission message above can be the network equipment in ISP network, Such as can be routing device in ISP network, alternatively, being also possible to the veneer in the routing device.
The embodiment of the present application can be applied in processor, or be realized by processor.Processor can be a kind of integrated Circuit chip, the processing capacity with signal.During realization, each step of above method embodiment can pass through processor In hardware integrated logic circuit or software form instruction complete.Above-mentioned processor can be central processing unit (central processing unit, CPU), the processor can also be other general processors, digital signal processor (digital signal processor, DSP), specific integrated circuit (application specific integrated Circuit, ASIC), ready-made programmable gate array (field programmable gate array, FPGA) or other can Programmed logic device, discrete gate or transistor logic, discrete hardware components.It may be implemented or execute the application implementation Disclosed each method, step and logic diagram in example.General processor can be microprocessor or the processor can also be with It is any conventional processor etc..The step of method in conjunction with disclosed in the embodiment of the present application, can be embodied directly in hardware decoding Processor executes completion, or in decoding processor hardware and the combination of software device execute completion.Software device can be located at Machine memory, flash memory, read-only memory, programmable read only memory or electrically erasable programmable memory, register etc. are originally In the storage medium of field maturation.The storage medium is located at memory, and processor reads the information in memory, in conjunction with its hardware The step of completing the above method.
It should also be understood that the memory in the embodiment of the present application can be volatile memory or nonvolatile memory, or It may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (read- Only memory, ROM), programmable read only memory (programmable ROM, PROM), the read-only storage of erasable programmable Device (erasable PROM, EPROM), electrically erasable programmable read-only memory (electrically EPROM, EEPROM) or Flash memory.Volatile memory can be random access memory (random access memory, RAM), be used as external high Speed caching.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (double data rate SDRAM, DDR SDRAM), enhanced Synchronous Dynamic Random Access Memory (enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (synchlink DRAM, SLDRAM) and direct rambus random access memory (direct Rambus RAM, DRRAM).It should be noted that the memory of system and method described herein is intended to include but is not limited to these and appoints The memory for other suitable types of anticipating.
The network equipment or terminal device in device and method embodiment is completely corresponding, is executed by corresponding module corresponding Step, such as sending module method or transmitter execute the step of sending in embodiment of the method, and receiving module or receiver execute The step of receiving in embodiment of the method, other steps in addition to transmitting and receiving can be executed by processing module or processor.Specifically The function of module can refer to corresponding embodiment of the method, no longer be described in detail.
During realization, each step of the above method can pass through the integrated logic circuit of the hardware in processor 1010 Or the instruction of software form is completed.The step of method in conjunction with disclosed in the embodiment of the present application, can be embodied directly at hardware Reason device executes completion, or in processor hardware and software module combine and execute completion.Software module can be located at random Memory, flash memory, read-only memory, the abilities such as programmable read only memory or electrically erasable programmable memory, register In the storage medium of domain maturation.The storage medium is located at memory 1020, and processor 1010 reads the information in memory 1020, The step of completing the above method in conjunction with its hardware.To avoid repeating, it is not detailed herein.
The network equipment 900 shown in Fig. 9 or equipment shown in Fig. 10 1000 can be realized aforementioned method shown in Fig. 3 and implements The corresponding each process of example is specifically, the network equipment 900 or the network equipment 1000 may refer to the description in above-mentioned Fig. 3 It avoids repeating, which is not described herein again.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed Scope of the present application.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) execute each embodiment the method for the application all or part of the steps. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), arbitrary access are deposited The various media that can store program code such as reservoir (Random Access Memory, RAM), magnetic or disk.
The above, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, it is any Those familiar with the art within the technical scope of the present application, can easily think of the change or the replacement, and should all contain Lid is within the scope of protection of this application.Therefore, the protection scope of the application should be based on the protection scope of the described claims.

Claims (10)

1. a kind of method of point-to-point transmitting message, which is characterized in that the method is applied to Internet Service Provider ISP In network, which comprises
First forward node receives the first message;
First forward node is according to two layers of port of first message and multiple two layers of ports and multiple void like extension office The mapping relations in the tunnel VXLAN are netted in domain, determine the first tunnel VXLAN for being used for transmission first message;
First forward node is according to the first network identifier VNI in the first tunnel VXLAN, on first message The first VXLAN heading is encapsulated, the first VXLAN message is obtained, the first VXLAN heading includes the first VNI;
The first VXLAN message is sent to the second forwarding section by the first tunnel VXLAN by first forward node Point.
2. the method according to claim 1, wherein the first VXLAN message further includes the first outer users Datagram protocol UDP, the first outer layer network protocol IP head and the first outer layer Ethernet header, wherein first outer layer UDP packets The specific destination port in the first tunnel VXLAN is included, the destination address of first outer layer IP is second forwarding The IP address of node, the source address of first outer layer IP are the IP address of first forward node, first outer layer IP destination addresses are the MAC address of next hop router.
3. method according to claim 1 or 2, which is characterized in that further include:
First forward node receives the 2nd VXLAN message that third forward node is sent by the 2nd tunnel VXLAN, In, the 2nd VXLAN message includes the 2nd VXLAN heading and the second message, includes the in the 2nd VXLAN heading 2nd VNI in two tunnels VXLAN;
First forward node determines the two of second message according to the 2nd tunnel VXLAN and the mapping relations Layer port;
First forward node decapsulates the 2nd VXLAN message, obtains second message;
First forward node forwards second message by two layers of port of second message.
4. according to the method described in claim 3, it is characterized in that, the 2nd VXLAN message further includes the second outer layer UDP Head, the second outer layer IP and the second outer layer Ethernet header, wherein second outer layer UDP include the 2nd tunnel VXLAN Specific destination port, the destination address of second outer layer IP are the IP address of first forward node, described second The source address that outer layer is IP is the IP address of the third forward node, and the destination address of second outer layer IP is upper hop The MAC Address of router.
5. method according to claim 1-4, which is characterized in that the mapping relations are described to be pre-configured in In first forward node.
6. a kind of network equipment characterized by comprising
Receiving unit receives the first message for the network equipment;
Determination unit, for the network equipment according to two layers of port of first message and multiple two layers of ports and multiple void Like the mapping relations in the extension tunnel local area network VXLAN, the first tunnel VXLAN for being used for transmission first message is determined;
Encapsulation unit, for the network equipment according to the first network identifier VNI in the first tunnel VXLAN, described The first VXLAN heading is encapsulated on first message, obtains the first VXLAN message, and the first VXLAN heading includes described the One VNI;
The first VXLAN message is sent to by the first tunnel VXLAN for the network equipment by transmission unit Two forward node.
7. the network equipment according to claim 6, which is characterized in that the first VXLAN message further includes the first outer layer User Datagram Protocol UDP, the first outer layer network protocol IP head and the first outer layer Ethernet header, wherein the first outer layer UDP Head includes the specific destination port in the first tunnel VXLAN, and the destination address of first outer layer IP is described second The IP address of forward node, the source address of first outer layer IP are the IP address of the network equipment, first outer layer IP destination addresses are the MAC address of next hop router.
8. the network equipment according to claim 6 or 7, which is characterized in that
The receiving unit is also used to the network equipment and receives the second of the transmission of third forward node by the 2nd tunnel VXLAN VXLAN message, wherein the 2nd VXLAN message includes the 2nd VXLAN heading and the second message, the 2nd VXLAN report It include the 2nd VNI in the 2nd tunnel VXLAN in literary head;
The determination unit is also used to the network equipment according to the 2nd tunnel VXLAN and the mapping relations, determines institute State two layers of port of the second message;
Decapsulation unit decapsulates the 2nd VXLAN message for the network equipment, obtains second report Text;
The transmission unit is also used to the network equipment and forwards second message by two layers of port of second message.
9. the network equipment according to claim 8, which is characterized in that the 2nd VXLAN message further includes the second outer layer UDP, the second outer layer IP and the second outer layer Ethernet header, wherein second outer layer UDP include the 2nd VXLAN tunnel The specific destination port in road, the destination address of second outer layer IP are the IP address of the network equipment, described second The source address that outer layer is IP is the IP address of the third forward node, and the destination address of second outer layer IP is upper hop The MAC Address of router.
10. according to the described in any item network equipments of claim 6-9, which is characterized in that the mapping relations are to be pre-configured with Among the network devices.
CN201710497227.5A 2017-06-26 2017-06-26 Method and network device for point-to-point message transmission Active CN109120526B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710497227.5A CN109120526B (en) 2017-06-26 2017-06-26 Method and network device for point-to-point message transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710497227.5A CN109120526B (en) 2017-06-26 2017-06-26 Method and network device for point-to-point message transmission

Publications (2)

Publication Number Publication Date
CN109120526A true CN109120526A (en) 2019-01-01
CN109120526B CN109120526B (en) 2021-06-01

Family

ID=64821745

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710497227.5A Active CN109120526B (en) 2017-06-26 2017-06-26 Method and network device for point-to-point message transmission

Country Status (1)

Country Link
CN (1) CN109120526B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110061898B (en) * 2019-04-28 2021-07-23 新华三技术有限公司 Message forwarding method and device
CN114765591A (en) * 2020-12-31 2022-07-19 大唐移动通信设备有限公司 Data transmission method, device and storage medium
CN114915589A (en) * 2021-02-10 2022-08-16 华为技术有限公司 Message transmission method and device
CN114915589B (en) * 2021-02-10 2024-06-04 华为技术有限公司 Message transmission method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103814554A (en) * 2013-12-11 2014-05-21 华为技术有限公司 Communication method, device and system of virtual extensible local area network
CN104243269A (en) * 2014-09-24 2014-12-24 杭州华三通信技术有限公司 Processing method and device of messages in VxLAN (virtual extensible local area network)
US20140376558A1 (en) * 2013-06-19 2014-12-25 Alcatel-Lucent Usa Inc. Dynamic Network Service Association and On Demand Service Provisioning
CN104283785A (en) * 2014-10-29 2015-01-14 杭州华三通信技术有限公司 Method and device for processing flow table rapidly
US20150381484A1 (en) * 2014-06-30 2015-12-31 Nicira, Inc. Encoding control plane information in transport protocol source port field and applications thereof in network virtualization
CN106301941A (en) * 2016-08-29 2017-01-04 广州西麦科技股份有限公司 Overlay mono-key dispositions method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140376558A1 (en) * 2013-06-19 2014-12-25 Alcatel-Lucent Usa Inc. Dynamic Network Service Association and On Demand Service Provisioning
CN103814554A (en) * 2013-12-11 2014-05-21 华为技术有限公司 Communication method, device and system of virtual extensible local area network
US20150381484A1 (en) * 2014-06-30 2015-12-31 Nicira, Inc. Encoding control plane information in transport protocol source port field and applications thereof in network virtualization
CN104243269A (en) * 2014-09-24 2014-12-24 杭州华三通信技术有限公司 Processing method and device of messages in VxLAN (virtual extensible local area network)
CN104283785A (en) * 2014-10-29 2015-01-14 杭州华三通信技术有限公司 Method and device for processing flow table rapidly
CN106301941A (en) * 2016-08-29 2017-01-04 广州西麦科技股份有限公司 Overlay mono-key dispositions method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
卢志刚,等: "一种基于VXLAN的虚拟网络访问控制方法", 《计算机工程》 *
樊勇兵,等: "SDN初探", 《电信科学》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110061898B (en) * 2019-04-28 2021-07-23 新华三技术有限公司 Message forwarding method and device
CN114765591A (en) * 2020-12-31 2022-07-19 大唐移动通信设备有限公司 Data transmission method, device and storage medium
CN114765591B (en) * 2020-12-31 2023-07-18 大唐移动通信设备有限公司 Data transmission method, device and storage medium
CN114915589A (en) * 2021-02-10 2022-08-16 华为技术有限公司 Message transmission method and device
WO2022171014A1 (en) * 2021-02-10 2022-08-18 华为技术有限公司 Message transmission method and apparatus
CN114915589B (en) * 2021-02-10 2024-06-04 华为技术有限公司 Message transmission method and device

Also Published As

Publication number Publication date
CN109120526B (en) 2021-06-01

Similar Documents

Publication Publication Date Title
CN109873760B (en) Method and device for processing route, and method and device for data transmission
CN109861926B (en) Message sending and processing method, device, node, processing system and medium
CN111669330B (en) BIER message sending method and device
CN109218178B (en) Message processing method and network equipment
CN112054959B (en) BIER message sending method and device
CN104579954B (en) The cross-domain retransmission method of message, device and communication equipment
CN110535768B (en) Multicast data transmission method and related equipment
EP4231597A1 (en) Method for forwarding bier message, and device and system
CN107547402A (en) A kind of forwarding table generation method and device
CN107968750A (en) Message transmitting method, device and node
WO2016124049A1 (en) Method and apparatus for obtaining port path
Perlman et al. Introduction to TRILL
CN108270673A (en) File transmitting method, device and system
CN109120526A (en) The method and the network equipment of point-to-point transmitting message
CN107018076A (en) A kind of monitoring messages method and apparatus
CN101926132B (en) Circuit emulation over ip interworking vll
CN112737954B (en) Message processing method, device, system, equipment and storage medium
CN112822097A (en) Message forwarding method, first network device and first device group
CN113328937B (en) Method and device for realizing distributed aggregation
CN108632126B (en) Message forwarding channel establishing method and device and message forwarding method and device
CN113746715B (en) Method and device for realizing cross-three-layer transmission of two-layer message
CN104348821B (en) Manage the method, apparatus and system of IPv4/IPv6 business
WO2022116895A1 (en) Bier packet forwarding method, device, and system
CN114520762B (en) BIERv6 message sending method and first network equipment
US20240171510A1 (en) Packet transmission method and related device

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211230

Address after: 450046 Floor 9, building 1, Zhengshang Boya Plaza, Longzihu wisdom Island, Zhengdong New Area, Zhengzhou City, Henan Province

Patentee after: Super fusion Digital Technology Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

Effective date of registration: 20211230

Address after: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee after: HUAWEI TECHNOLOGIES Co.,Ltd.

Address before: 100085, No. 3, information road, Haidian District, Beijing

Patentee before: Beijing Huawei Digital Technology Co.,Ltd.