Generic route encapsulation tunnel message forwarding method and system
A general routing encapsulation and message forwarding technology, applied in the field of communication, can solve the problem of slow overall forwarding speed, achieve the effects of reducing pressure, reducing the number of messages, and improving forwarding speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] figure 1 Shown is a flow chart of a general routing encapsulation GRE tunnel message forwarding method described in this embodiment, the method comprising:
[0038] S110: The device on the first intranet sends multiple small packets to the device on the second intranet, where the size of the small packets is smaller than the size of the maximum transmission unit of the network;
[0039] S120: The first firewall device receives multiple small packets sent by the device on the first intranet, and integrates the multiple small packets according to the size of the small packets and encapsulates them into a GRE encapsulated packet, so The size of the GRE encapsulated message is not greater than the size of the network maximum transmission unit;
[0040] S130: The first firewall device sends the GRE-encapsulated message to the second firewall device through a GRE tunnel that traverses the public network;
[0041] S140: After receiving the GRE-encapsulated message, the secon...
Embodiment 2
[0045] figure 2 Shown is a schematic diagram of communication between two intranet devices recorded in this embodiment through their respective firewall devices. Among them, the device of the first intranet PC a (intranet IP is 1.1.1.1) corresponds to the first firewall FW a device (public network IP is 201.1.1.1) and the device of the second intranet PC b (public network IP is 202.1) .1.2) A GRE tunnel through the public network is configured between the corresponding second firewall FW b devices (intranet IP is 2.2.2.2), and the forwarding maximum transmission unit (Maximum Transmission Unit, MTU) configured between the public networks is 512k , so that packets smaller than 512 bytes can be forwarded without fragmentation. The device of the first intranet PC a and the device of the second intranet PC b forward the message through the GRE tunnel.
[0046] The GRE tunnel message forwarding method described in this embodiment includes:
[0047] S210: The device of the first...
Embodiment 3
[0058] This embodiment includes the content of Embodiment 1 or Embodiment 2, but more specifically, in this embodiment, the first firewall device integrates multiple small packets according to the size of the small packets and The steps of encapsulating into a GRE encapsulated message include:
[0059] After receiving the small message, the first firewall device judges whether the total size of all the small messages that have been received but not yet sent is greater than the size of the maximum transmission unit of the network:
[0060] If not greater than, continue to receive the next small message and return to the step of judging whether the total size of all small messages that have been received and not yet sent is greater than the size of the network maximum transmission unit;
[0061] If it is larger, all the small packets that have been received but not sent before the currently received small packet are integrated and encapsulated into a GRE encapsulated packet.
...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 