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

Port allocation method, device, NAT device and storage medium in NAT

A distribution method and a distribution device technology, applied in the field of computer communication, can solve problems such as port distribution failure, and achieve the effect of improving efficiency

Active Publication Date: 2021-06-18
NEW H3C SECURITY TECH CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the embodiment of the present application is to provide a port allocation method, device, NAT device and storage medium in NAT, so as to improve the efficiency of port allocation and avoid the problem of port allocation failure when there are available ports

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
  • Port allocation method, device, NAT device and storage medium in NAT
  • Port allocation method, device, NAT device and storage medium in NAT
  • Port allocation method, device, NAT device and storage medium in NAT

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0025] Due to the limitation of the IPV4 address, if NAT is performed on the firewall device, a few IPV4 addresses can be used to realize the transmission of the message, so the resources of the IPV4 address can be saved. The more public network IP addresses the firewall device uses for NAT, the more IP addresses of private network users can be converted. Therefore, the number of public network IP addresses used for NAT determines the number of private network IP addresses. The numb...

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 embodiment of the present application provides a port allocation method, device, NAT device and storage medium in Network Address Translation NAT, which are applied in the technical field of computer communication. When the session corresponding to the connection to which the message belongs is not established, obtain the destination IP address of the message; select a port from the set of unused ports corresponding to the destination IP address as the port for the message The port assigned when the file is NATed. In the embodiment of the present application, the destination IP address of the message is used as an index when assigning ports, and different unused port sets are used according to different destination IP addresses to ensure that there will be no conflicts when assigning ports, and only one valid port can be assigned , which improves the efficiency of port allocation and avoids the problem of port allocation failure under the premise of port resources.

Description

technical field [0001] The present application relates to the technical field of computer communication, in particular to a port allocation method and device in NAT, a NAT device and a storage medium. Background technique [0002] At present, global IPV4 (Internet Protocol version 4, Internet Protocol version 4) addresses have been allocated, and IPV6 (Internet Protocol version 6, Internet Protocol version 6) addresses have not been widely used. Therefore, the world will face the problem of insufficient IP addresses, and NAT (Network Address Translation, Network Address Translation) can delay the problem of IPV4 address exhaustion. [0003] NAT is the process of translating an IP address in a packet to another IP address. In practical applications, NAT can be applied to network devices connecting two networks, such as firewall devices, so that internal network users can access external public networks, and external public networks can access internal networks (such as inter...

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): H04L29/12
Inventor 易勇平
Owner NEW H3C SECURITY TECH CO LTD
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