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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com