Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method and device for transmitting data based on a tunnel

A technology for transmitting data and tunnels, applied in the field of communications, it can solve problems such as limitations and the limited number of tunnels at the bottom of the chip, and achieve the effect of reducing multi-port forwarding

Active Publication Date: 2022-05-20
ZTE CORP
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

like figure 1 As shown, when creating a VXLAN tunnel in the ECMP scenario, tunnels need to be established according to the egress corresponding to each next hop in the ECMP group. However, the number of tunnels at the bottom layer of the chip is limited, so the Overlay network in the ECMP scenario is limited. Number of tunnels supported

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and device for transmitting data based on a tunnel
  • A method and device for transmitting data based on a tunnel
  • A method and device for transmitting data based on a tunnel

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] Such as figure 2 As shown, the embodiment of the present invention provides a method for transmitting data based on tunneling, including:

[0024] Step S210, performing tunnel encapsulation on the message in the overlay network, and setting the exit of the tunnel as a loopback port;

[0025] Step S220, in the basic network, loopback the tunnel-encapsulated message at the loopback port, and search the equivalent multi-path routing protocol ECMP routing table according to the destination IP address of the tunnel-encapsulated message Obtaining multiple next-hop IP addresses, forwarding the tunnel-encapsulated message through multiple forwarding ports corresponding to the multiple next-hop IP addresses;

[0026] In one embodiment, before setting the egress of the tunnel as the loopback interface, the method further includes:

[0027] Establish an inner ring port, and configure the media access control MAC address offset for the inner ring port; the MAC address offset is ...

Embodiment 2

[0044] Such as image 3 As shown, the embodiment of the present invention provides a tunnel-based data transmission device, including:

[0045] A tunnel encapsulation module 301, configured to perform tunnel encapsulation on messages in the overlay network, and set the exit of the tunnel as a loopback port;

[0046] The loopback module 302 is configured to loop back the tunnel-encapsulated message at the loopback port in the basic network, and send the tunnel-encapsulated message to the routing forwarding module;

[0047] The routing and forwarding module 303 is configured to search the equivalent multipath routing protocol ECMP routing table according to the destination IP address of the tunnel-encapsulated message in the basic network to obtain a plurality of next-hop IP addresses, and encapsulate the tunnel-encapsulated The packets are forwarded through multiple forwarding ports corresponding to the multiple next-hop IP addresses.

[0048] In one embodiment, the device fu...

example 1

[0065] This example provides an internal loopback method to implement tunnel-based data transmission in an ECMP scenario. In the tunnel encapsulation module, specify the exit of the tunnel as the inner ring interface. After the packet encapsulates the tunnel information in the tunnel encapsulation module, it will be sent to the inner ring interface. After arriving at the inner ring interface, it will be looped back into the forwarding module. ECMP route lookup is performed within the ECMP route, and finally the packet is forwarded from the forwarding ports corresponding to the multiple next hops of the ECMP route.

[0066] Such as Figure 4 As shown, the method for transmitting data based on tunneling in this example may include the following steps:

[0067] Step S401, globally designate the inner ring port of the switching device;

[0068] Wherein, a certain port is selected on the switching device as the inner ring port; the message sent from the inner ring port can be rec...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

This paper discloses a tunnel-based data transmission method and device. The method for transmitting data based on a tunnel includes: performing tunnel encapsulation on a message in an overlay network, and setting the exit of the tunnel as a loopback port; According to the destination IP address of the tunnel-encapsulated message, the equivalent multi-path routing protocol ECMP routing table is searched to obtain a plurality of next-hop IP addresses, and the tunnel-encapsulated message is passed through the multiple multiple forwarding ports corresponding to a next-hop IP address. The technical solution in this paper can provide a tunnel transmission solution in the scenario of an equivalent multipath routing protocol, which can reduce the number of tunnel resources in the underlying chip of the overlay network device while realizing multi-port forwarding.

Description

technical field [0001] The present invention relates to the technical field of communication, in particular to a method and device for transmitting data based on a tunnel. Background technique [0002] Tunneling is a method of transmitting data between networks by using the infrastructure of the Internet, and it is implemented in accordance with the tunneling protocols of organizations such as the Institute of Electrical and Electronics Engineers (IEEE for short). The data (or payload) transferred using the tunneling technology may be data frames or packets of different protocols. The tunneling protocol repackages data frames or packets of other protocols, and then sends them through the tunnel. The new data frame header provides routing information to deliver the encapsulated payload data across the Internet. Typical tunneling technologies include: Multi-Protocol Label Switching (MPLS for short) MPLS, Virtual Extensible LAN (VXLAN for short), Transparent Interconnection o...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L45/50H04L47/70
CPCH04L45/50H04L47/825H04L12/46H04L12/4633
Inventor 张平平陈志伟夏迎春孙军欢
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products