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

Message forwarding method and device based on l2tp network

A message forwarding and network technology, applied in the field of network communication, can solve the problem that the LNS cannot normally forward the messages of the terminal and the intranet server.

Active Publication Date: 2021-03-23
HANGZHOU DPTECH TECH
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, this application provides a message forwarding method and device based on an L2TP network to solve the problem that the LNS cannot normally forward the message between the terminal and the intranet server when an IP address conflict occurs in the L2TP network

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
  • Message forwarding method and device based on l2tp network
  • Message forwarding method and device based on l2tp network
  • Message forwarding method and device based on l2tp network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0031] An optional implementation manner, the above method also includes:

[0032] Monitor whether the aging period of each entry in the forwarding table expires;

[0033] Delete entries whose aging period has expired from the forwarding table.

[0034] In order to clean up useless entries in the forwarding table in a timely manner, you can set an aging period for each entry, and delete entries corresponding to the expired aging period.

[0035] An optional implementation manner, the above method also includes:

[0036] When negotiating an L2TP tunnel with each LAC, assign a private IP address and a reserved IP address on the same network segment to the corresponding LAC; or,

[0037] Assign a private IP address to the corresponding LAC during L2TP tunnel negotiation with each LAC, and assign a reserved IP address on the same network segment as the private IP address to the corresponding LAC after the L2TP tunnel negotiation with each LAC.

[0038] The L2TP tunnel negotiati...

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

The present application provides a message forwarding method and device based on an L2TP network, which is applied to the LNS included in the L2TP network. The method includes: decapsulating the first L2TP message to obtain the first message, if the first message is determined If the first source IP address carried in the document is not the first private IP address, record the first source IP address, the first destination IP address, the first source port, and the first destination port in the first entry, and record the first report The first source IP address carried in the message is replaced with the first reserved IP address corresponding to the first LAC and then sent; if it is determined that the second destination IP address carried in the second message is the second reserved IP address corresponding to the second LAC, Then look up the second entry that includes the second destination IP address, the second source IP address, the second source port, and the second destination port in the forwarding table, and replace the second destination IP address in the second message with the second Encapsulate and send the source IP address in the entry. By applying the embodiments of the present application, messages between the LAC and the intranet server can be correctly forwarded.

Description

technical field [0001] The present application relates to the technical field of network communication, and specifically designs a message forwarding method and device based on a Layer 2 Tunneling Protocol (Layer2Tunneling Protocol, L2TP) network. Background technique [0002] Virtual private dial-up network (Virtual Private Dial-up Network, VPDN) refers to the use of integrated services digital network (Integrated Services Digital Network, ISDN), public switched telephone network PSTN (Public Switched Telephone Network) and other public network dial-up function to access the public network , to realize a virtual private network, thereby providing access services for enterprises, small Internet Service Providers (Internet Service Providers, ISPs), and mobile office workers. That is to say, VPDN provides an economical and effective point-to-point connection between remote users and the enterprise network. Enterprises stationed abroad and business travelers can remotely connec...

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): H04L12/741H04L29/12H04L12/46H04L45/74
Inventor 张晓燕
Owner HANGZHOU DPTECH TECH
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