A communication method and device
An IP address and index technology, applied in the field of communication, can solve the problems of occupation, inability to verify the validity of packets, and limit the flexibility of networking.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0049] The embodiment of the present application provides a communication method, which can be applied to the first network device, such as figure 2 As shown, the specific processing process is as follows.
[0050] Step 201, when receiving a first service packet sent by a user terminal, obtain forwarding information for forwarding the first service packet.
[0051] Wherein, the forwarding information includes the source IP address of the transmission tunnel, the destination IP address and the name of the virtual private network (VPN) to which the user terminal belongs.
[0052] Step 202, according to the destination IP address and VPN name, query the first VPN index and the first entry type corresponding to both the destination IP address and the VPN name in the pre-stored VPN index table.
[0053] Wherein, the first entry type is the type of the entry corresponding to the destination IP address, the VPN name, and the first VPN index.
[0054] Step 203, if the first VPN ind...
Embodiment 2
[0058] based on figure 2 For the communication method shown, this embodiment of the present application also provides a specific process when the first network device executes the above communication method, as shown in image 3 As shown, the specific process is as follows.
[0059] Step 301, when receiving a first service packet sent by a user terminal, obtain forwarding information for forwarding the first service packet.
[0060] Wherein, the forwarding information includes the source IP address of the transmission tunnel, the destination IP address and the name of the virtual private network (VPN) to which the user terminal belongs.
[0061] In an implementation, when the first user terminal communicates with the second user terminal, the first user terminal may send the first service packet to the first network device. Wherein, the source address of the first service message is the IP address of the first user terminal, and the destination address is the IP address of ...
Embodiment 3
[0116]The embodiment of the present application provides a communication method, which can be applied to the first network device, such as Figure 6 As shown, the specific processing process is as follows.
[0117] Step 601, receiving a first tunnel message sent by a second network device.
[0118] Wherein, the first tunnel packet includes the source IP address, and the GRE header field of the first tunnel packet includes a virtual private network VPN identifier and a first VPN index corresponding to the VPN identifier.
[0119] Step 602, according to the source IP address and the first VPN index, query the first VPN name corresponding to both the source IP address and the first VPN index in a pre-stored VPN index table.
[0120] Step 603, if the first VPN name is found, decapsulate the first tunnel packet to obtain a service packet. Wherein, the service packet includes the IP address of the user terminal.
[0121] Step 604: Forward the service message to the user terminal ...
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