Method and device for realizing NAT

A technology of purpose and mapping table, which is applied in the field of network communication, can solve the problems of not being able to support multiple mapping and filtering modes at the same time, the address translation table cannot be flexibly configured, and cannot meet the diverse needs of users, so as to improve the utilization rate of public network IP resources , simple structure, and the effect of reducing the number of times to access the address pool

Inactive Publication Date: 2017-01-11
ZTE CORP
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The traditional method is to use NAT logs or address translation tables to indirectly implement the mapping filtering mode, but both have disadvantages
The NAT log method has the disadvantage that the system overhead increases with the increase of NAT log records
However, the address translation table cannot be flexibly configured, cannot support multiple mapping and filtering modes at the same time, and cannot meet the diverse needs of users.

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
  • Method and device for realizing NAT
  • Method and device for realizing NAT
  • Method and device for realizing NAT

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] The following describes several key technical points in the present invention in detail in conjunction with the embodiments: mapping filtering mode, mapping table, filtering table and session table.

[0048] 1. Mapping and filtering mode

[0049] In the present invention, the mapping and filtering modes are bound together, that is, if the mapping and filtering mode is configured as an address-independent mode, it means that the mapping mode is an address-independent mode, and the filtering mode is also an address-independent mode, and the two are consistent.

[0050] The present invention supports the existing three filtering modes proposed by RFC5128. In addition, the present invention also supports user-defined mapping filtering modes or filtering modes proposed by new standards in the future, which can fully meet the diverse needs of users.

[0051] Figure 1-3 Three address mapping filtering modes proposed by RFC5128: external address independent mode, external add...

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 discloses a method and device for realizing NAT. The method comprises the following steps: creating a mapping table and a filtering table, and correspondingly setting a first key value and a second key value for inquiring the mapping table and the filtering table; when a message is sent from a private network to a public network, realizing address NAT conversion via the mapping table; when the message is sent from the public network to the private network, realizing the address NAT conversion via the filtering table; and then forwarding the message after the NAT conversion. By adoption of the method and device disclosed by the invention, diversified demands of users can be satisfied, and the mapping table and the filtering table are simple in structures, small in internal memory space occupation and high in query efficiency. In the method and device disclosed by the invention, an address mapping relation is recorded by the mapping table, therefore the ip resource utilization rate of the public network can be improved, moreover the times of accessing an address pool in the NAT conversion process of the message can also be greatly reduced, and thus the NAT efficiency is improved.

Description

technical field [0001] The invention relates to the field of network communication, in particular to the technology for realizing NAT (Network Address Translation, network address translation). Background technique [0002] NAT was proposed in 1994 to solve the problem of exhaustion of ipv4 address resources. The basic principle of NAT is that the private network host will be assigned a legal public network address when it needs to access the public network, and the private network address will be used for internal interconnection. [0003] The private network IP address refers to the IP address of the internal network or host, and the public network IP address refers to the globally unique IP address on the Internet. NAT is the process of converting the IP address in the IP datagram header to another IP address. [0004] A typical application scenario of NAT is one-to-many NAT or many-to-many NAT. In this application scenario, multiple host port pairs (Pri_ip:port) of th...

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): H04L29/12H04L29/06
CPCH04L61/2517H04L61/2521H04L61/2575H04L63/101H04L67/104H04L63/0236H04L61/00
Inventor 李大鹏
Owner ZTE CORP
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