Message forwarding method and device based on an 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: 2019-05-17
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 an L2TP network
  • Message forwarding method and device based on an L2TP network
  • Message forwarding method and device based on an 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 invention provides a message forwarding method and device based on an L2TP network. The method is applied to an LNS included in the L2TP network. The method comprises the following steps of: decapsulating the first L2TP message to obtain a first message, if it is determined that the first source IP address carried by the first message is not the first private IP address; if yes, recording a first source IP address, a first destination IP address, a first source port and a first destination port in the first table entry, replacing the first source IP address carried by the first message with a first reserved IP address corresponding to the first LAC, and sending the first reserved IP address; if it is determined that the second destination IP address carried by the second message is a second reserved IP address corresponding to a second LAC, and if so, searching a second table entry comprising a second destination IP address, a second source IP address, a second source port and a second destination port in the forwarding table, replacing the second destination IP address in the second message with the source IP address in the second table entry, and packaging and sending the second table entry. By applying the embodiment of the invention, the message 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 Applications(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 Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products