KR20040027218A - Apparatus and method of network address translation - Google Patents

Apparatus and method of network address translation Download PDF

Info

Publication number
KR20040027218A
KR20040027218A KR1020020058997A KR20020058997A KR20040027218A KR 20040027218 A KR20040027218 A KR 20040027218A KR 1020020058997 A KR1020020058997 A KR 1020020058997A KR 20020058997 A KR20020058997 A KR 20020058997A KR 20040027218 A KR20040027218 A KR 20040027218A
Authority
KR
South Korea
Prior art keywords
local
global
network
conversion table
ips
Prior art date
Application number
KR1020020058997A
Other languages
Korean (ko)
Other versions
KR100881418B1 (en
Inventor
이강식
정상현
정학진
Original Assignee
주식회사 케이티
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 케이티 filed Critical 주식회사 케이티
Priority to KR1020020058997A priority Critical patent/KR100881418B1/en
Publication of KR20040027218A publication Critical patent/KR20040027218A/en
Application granted granted Critical
Publication of KR100881418B1 publication Critical patent/KR100881418B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2514Translation of Internet protocol [IP] addresses between local and global IP addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/256NAT traversal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]

Abstract

PURPOSE: A network address converting apparatus and a method therefor are provided to resolve unbalance in traffic and reduce switching time of a packet by setting the allowable number of access to a global IP and limiting access of a local IP. CONSTITUTION: A local IP allowable number controller(220) checks a local IP address of an outgoing IP packet and controls the number of local IPs so as not to exceed a maximum allowable number in allocation to a global IP. A network address converter(210) converts a network address of an IP packet transmitted from the local IP allowable number controller(220) or an incoming IP packet and forwards it to a global network or a private network. A local IP converting table(230) stores conversion information based on which the network address converter(210) converts an address of an IP packet.

Description

네트워크 주소변환 장치 및 방법{Apparatus and method of network address translation}Apparatus and method of network address translation

본 발명은 네트워크 주소변환 (NAT; Network Address Translation) 장치 및방법에 관한 것으로, 특히 로컬 아이피(IP) 허용갯수를 제한 할 수 있는 네트워크 주소변환 장치 및 방법에 관한 것이다.The present invention relates to a network address translation (NAT) apparatus and method, and more particularly to a network address translation apparatus and method that can limit the number of local IP (IP) allowed.

지난 수년 동안 인터넷(Internet)이 급속하게 성장하여 현재 많은 수의 호스트가 인터넷에 연결되고 있다. 그런데, 각 호스트가 인터넷에 연결되어 사용되기 위해서는 공인된 고유 IP(Internet Protocol) 주소가 각 호스트에 할당되어야 한다.The Internet has grown rapidly over the last few years, and now a large number of hosts are connecting to the Internet. However, in order for each host to be connected to the Internet, an authorized unique Internet Protocol (IP) address must be assigned to each host.

그러나, 현재 사용중인 IPv4 타입의 인터넷의 구조에서는 인터넷 사용 호스트가 폭증함에 따라, 인터넷에 새롭게 연결되는 모든 호스트들에게 고유한 IP 주소를 제공할 경우, IP 주소가 부족하다는 문제를 야기하게 된다.However, in the current IPv4-type Internet architecture, as the number of Internet-using hosts explodes, providing a unique IP address to all hosts newly connected to the Internet causes a problem of insufficient IP addresses.

이러한 IPv4의 제한을 극복하기 위해 IP 주소 필드 길이를 대폭 확장한 IPv6 이라 불리는 새로운 인터넷 프로토콜에 대한 연구가 진행 중에 있다. 그러나, 이러한 IPv6 체계는 인터넷에 실제로 적용하고 운영하기에는 많은 어려운 문제들이 남아 있다.In order to overcome this limitation of IPv4, research is being conducted on a new Internet protocol called IPv6 which greatly expands the IP address field length. However, these IPv6 schemes remain difficult to apply and operate on the Internet.

따라서, 현재의 인터넷 프로토콜 체제에서 이러한 아이피 주소 부족의 문제를 해결하기 위해, 네트워크 주소변환 방법이 제시되어 왔다.Therefore, in order to solve the problem of IP address shortage in the current Internet protocol system, a network address translation method has been proposed.

이 네트워크 주소변환 방법은 주소할당 메커니즘을 이용하여 사설망(Private Network)의 아이피 주소를 글로벌망(Global Network)의 아이피 주소로 변환시키는 방법으로써, 현재 이와 같은 네트워크 주소변환 기능이 구현된 주소변환 장치가 라우터 또는 방화벽(Firewall) 등에 내장되어 아이피 주소 절약에 이용되고 있다.The network address translation method converts an IP address of a private network into an IP address of a global network by using an address assignment mechanism. It is used to save IP address by being built in router or firewall.

상기와 같이 한정된 글로벌망의 글로벌 아이피와 사설망의 로컬 아이피를 맵핑하여 주소를 변환함으로써 패킷을 송수신할 수 있도록 함으로써 글로벌 아이피의 한계를 극복하고 늘어나는 사설망에 서비스 제공이 가능하도록 하는 것이다.By mapping the global IP of the limited global network and the local IP of the private network as described above, it is possible to transmit and receive packets by translating addresses, thereby overcoming the limitations of the global IP and providing services to an increasing private network.

네트워크 주소변환 방법에 대하여 대한민국 공개특허공보 2000-0000185(네트워크 주소변환(NAT) 기능을 이용한 주소 절약형 인터넷 접속 및 가상 사설망(VPN) 구성 방법)에서 네트워크 주소변환 방법을 이용한 글로벌 아이피 할당 방법이 제시되어 있다.A network IP translation method has been proposed in the Republic of Korea Patent Publication No. 2000-0000185 (Address saving Internet access using a network address translation (NAT) function and a virtual private network (VPN) configuration method) using a global IP allocation method using a network address translation method have.

그러나, 종래의 방법은 로컬 아이피 장치가 글로벌 아이피로 패킷을 전송하면, 네트워크 주소변환 방법에 의하여 전송하기 위한 패킷의 발신지 주소에 해당하는 로컬 아이피에 무조건 글로벌 아이피에 할당하여 변환한 후, 글로벌망으로 패킷을 전송하여 많은 로컬 아이피가 하나의 글로벌 아이피에 몰릴 수 있는 문제가 있다.However, in the conventional method, when the local IP device transmits a packet to the global IP, the local IP corresponding to the source IP address of the packet for transmission by the network address translation method is unconditionally assigned to the global IP and converted into a global network. There is a problem that many local IPs can be collected in one global IP by transmitting packets.

따라서, 현재까지 글로벌 아이피에 접속하는 로컬 아이피의 갯수를 제한하는 기능이 없기 때문에, 특정 로컬 아이피에 대하여 트래픽이 불균형하게 유지될 수 있는 문제가 있으며, 로컬 아이피의 보안상 문제가 발생한다.Therefore, since there is no function to limit the number of local IPs connected to the global IP to date, there is a problem that traffic can be imbalanced for a specific local IP, and a security problem of the local IP occurs.

또한, 여러 개의 로컬 아이피를 하나의 글로벌 아이피에 접속시킬 경우 주소변환기능을 담당하는 장치가 각각의 송수신 패킷 스위칭 하는 시간이 지연되어, 서비스를 이용하는 로컬 아이피 이용자에게 불편을 끼치는 것이다.In addition, when multiple local IPs are connected to a single global IP, a device in charge of the address translation function delays switching of each transmit / receive packet, causing inconvenience to local IP users using the service.

본 발명이 이루고자 하는 기술적 과제는 이와 같은 종래 기술의 문제점을 해결하기 위한 것으로서, 글로벌 아이피에 접속을 허용하는 로컬 아이피의 갯수를 제한하고, 글로벌 아이피에 대한 로컬 아이피 장치의 최소 이용률을 보장하고, 스위칭 시간을 절약하며, 로컬 아이피 장치에 대한 보안성을 유지할 수 있는 네트워크 주소변환 장치 및 방법을 제공함에 그 목적이 있다.The technical problem to be achieved by the present invention is to solve the problems of the prior art, to limit the number of local IP to allow access to the global IP, to ensure the minimum utilization of the local IP device for the global IP, switching It is an object of the present invention to provide a network address translation apparatus and method that can save time and maintain security for a local IP device.

도 1은 본 발명의 실시 예에 따른 네트워크 주소변환장치를 포함하는 네트워크 구성을 나타낸 블록도이다.1 is a block diagram showing a network configuration including a network address translation apparatus according to an embodiment of the present invention.

도 2는 본 발명의 실시 예에 따른 도 1의 네트워크 주소변환장치의 구성을 나타낸 블록도이다.2 is a block diagram showing the configuration of the network address translation apparatus of FIG. 1 according to an embodiment of the present invention.

도 3은 본 발명의 실시 예에 따른 네트워크 주소변환 방법의 동작을 나타낸 순서도이다.3 is a flowchart illustrating an operation of a network address translation method according to an embodiment of the present invention.

<도면의 주요부분의 간단한 설명><Brief description of the main parts of the drawings>

110 : 사설망120 : 글로벌망110: private network 120: global network

200 : 네트워크 주소변환장치210 : 네트워크 주소변환부200: network address translation apparatus 210: network address translation unit

220 : 로컬 아이피 허용갯수 제어부230 : 로컬 아이피 변환 테이블220: allowable number of local IP control unit 230: local IP conversion table

300 : 로컬 아이피 허용갯수 제어모듈300: Local IP Allowance Number Control Module

본 발명에 따른 네트워크 주소변환 장치는,Network address translation apparatus according to the present invention,

사설망의 로컬 아이피 주소를 글로벌망의 글로벌 아이피로 변경하여 접속해 주는 네트워크 주소 변환 장치에 있어서,In the network address translation device that connects the local IP address of the private network to the global IP of the global network,

사설망에서 글로벌망으로 전송되는 아이피 패킷의 로컬 아이피에 글로벌 아이피를 할당하고, 상기 글로벌 아이피에 할당되는 최대 로컬 아이피 갯수를 사용자 설정에 의한 최대 허용갯수 이하로 제한하는 로컬 아이피 허용갯수 제어부와;A local IP allowance number control unit for allocating a global IP to a local IP of an IP packet transmitted from a private network to a global network, and limiting a maximum number of local IPs allocated to the global IP to a maximum allowable number or less by a user setting;

상기 로컬아이피 허용갯수 제어부에서 로컬아이피에 할당하는 글로벌 아이피 정보를 저장하는 로컬 아이피 변환테이블과;A local IP conversion table for storing global IP information allocated to the local IP by the local IP allowance number control unit;

상기 로컬 아이피 변환테이블을 참조하여, 상기 로컬 아이피 허용갯수 제어부에서 전송하는 아웃고잉 패킷 또는 인커밍 패킷의 주소변환을 수행하고 해당 패킷을 송수신하는 네트워크 주소변환부를 포함하여 구성되는 것을 특징으로 한다.And a network address translator configured to perform address translation of an outgoing packet or an incoming packet transmitted by the local IP allowance number control unit and to transmit and receive the corresponding packet with reference to the local IP translation table.

바람직하게, 상기 로컬 아이피 변환 테이블은,Preferably, the local IP conversion table,

아웃고잉 아이피 패킷의 발신지 주소정보에 해당하는 로컬 아이피 주소와,A local IP address corresponding to the source address information of the outgoing IP packet,

로컬 아이피 주소에 할당되는 글로벌 아이피 주소와,The global IP address assigned to the local IP address,

상기 글로벌 아이피에 접속된 로컬 아이피 주소의 타임아웃정보와,Timeout information of a local IP address connected to the global IP;

상기 글로벌 아이피에 최대 허용갯수 이하로 로컬 아이피 주소를 변환시키기위한 허용갯수정보를 포함하여 구성되는 것을 특징으로 한다.Characterized in that it comprises a number of information to allow the translation of the local IP address less than the maximum allowable number in the global IP.

또한, 본 발명에 따른 네트워크 주소변환 방법은,In addition, the network address translation method according to the present invention,

사설망과 글로벌망간에 아이피 패킷을 송수신하기 위한 네트워크 주소변환방법에 있어서,In the network address translation method for transmitting and receiving IP packets between a private network and a global network,

사설망으로부터 아웃고잉 되는 패킷을 수신하여, 해당패킷의 발신지 로컬 아이피 주소를 확인하고, 로컬 아이피 변환 테이블에서 해당 로컬 아이피 주소를 검색하는 단계;Receiving the outgoing packet from the private network, checking a source IP address of the packet, and retrieving the corresponding IP address from the local IP conversion table;

상기 검색결과, 해당 로컬 아이피 주소가 로컬 아이피 변환테이블에 없는 경우, 글로벌 아이피에 할당이 허용되는 로컬 아이피 허용갯수와 현재 로컬아이피 변환테이블에 등록된 로컬 아이피의 갯수를 비교하는 단계;Comparing the number of local IPs allowed to be allocated to the global IP with the number of local IPs currently registered in the local IP conversion table when the corresponding local IP address is not present in the local IP conversion table;

상기 비교결과, 현재 로컬 아이피 변환 테이블에 등록된 로컬 아이피의 갯수가 글로벌 아이피에 할당이 허용되는 로컬 아이피 허용갯수보다 작지 않은 경우, 글로벌 아이피에 할당되는 로컬 아이피의 최대 허용갯수를 제한하는 단계를 포함하여 구성되는 것을 특징으로 한다.As a result of the comparison, if the number of local IPs currently registered in the local IP conversion table is not smaller than the number of local IPs allowed to be assigned to the global IP, limiting the maximum number of local IPs allocated to the global IPs; Characterized in that the configuration.

바람직하게, 상기 아웃고잉 패킷의 로컬 아이피가 로컬 아이피 변환테이블에 있는 경우,Preferably, if the local IP of the outgoing packet is in the local IP conversion table,

해당 로컬 아이피의 타임아웃여부를 판단하는 단계;Determining whether the local IP times out;

상기 판단결과, 해당 로컬 아이피가 타임 아웃된 경우, 해당 로컬 아이피를 상기 로컬 아이피 변환테이블에서 삭제하고, 해당 로컬 아이피에 새로운 글로벌 아이피를 할당한 후, 로컬 아이피 변환테이블에 등록하는 단계;If it is determined that the local IP has timed out, deleting the local IP from the local IP conversion table, assigning a new global IP to the local IP, and then registering the local IP in the local IP conversion table;

상기 아웃고잉 패킷의 로컬 아이피를 글로벌 아이피로 변환하고, 글로벌망으로 전송하는 단계를 더 포함하여 구성되는 것을 특징으로 한다.And converting the local IP of the outgoing packet into a global IP and transmitting it to a global network.

바람직하게, 상기 아웃고잉 패킷의 로컬 아이피가 상기 로컬 아이피 변환테이블에 있고, 타임아웃 되지 않은 경우,Preferably, if the local IP of the outgoing packet is in the local IP conversion table and has not timed out,

상기 아웃고잉 패킷의 로컬 아이피를 글로벌 아이피로 변환하고, 글로벌망으로 전송하는 단계를 더 포함하여 구성되는 것을 특징으로 한다.And converting the local IP of the outgoing packet into a global IP and transmitting it to a global network.

바람직하게, 상기 아웃고잉 패킷의 로컬 아이피가 로컬 아이피 변환테이블에 없고, 현재 로컬 아이피 변환 테이블에 등록된 로컬 아이피의 갯수가 글로벌 아이피에 할당이 허용된 로컬 아이피 허용갯수보다 적을 경우,Preferably, if the local IP of the outgoing packet is not in the local IP conversion table, and the number of local IPs currently registered in the local IP conversion table is less than the number of local IPs allowed to be allocated to the global IP,

아웃고잉 되는 패킷의 로컬 아이피에 글로벌 아이피를 할당하고, 로컬 아이피 변환테이블에 할당정보를 등록하는 단계;Allocating the global IP to the local IP of the outgoing packet and registering the allocation information in the local IP conversion table;

상기 아웃고잉 패킷의 로컬 아이피를 글로벌 아이피로 변환하여 글로벌망으로 전송하는 단계를 더 포함하여 구성되는 것을 특징으로 한다.And converting the local IP of the outgoing packet into a global IP and transmitting the same to a global network.

바람직하게, 상기 글로벌 아이피에 할당되는 로컬 아이피의 최대 허용갯수를 제한하는 단계는,Preferably, the step of limiting the maximum allowable number of local IPs allocated to the global IP,

로컬 아이피 변환테이블에 등록된 로컬 아이피들의 타임아웃 여부를 판단하고, 타임 아웃된 로컬 아이피의 네트워크 연결성 여부를 판단하는 단계;Determining whether the local IPs registered in the local IP conversion table are timed out, and determining whether the local IPs that have timed out are network connectivity;

상기 판단결과, 네트워크 연결이 끊긴 로컬 아이피를 상기 로컬 아이피 변환 테이블에서 삭제하는 단계;Deleting the local IP disconnected from the local IP conversion table as a result of the determination;

상기 아웃고잉 패킷의 로컬 아이피에 글로벌 아이피를 할당하고, 로컬 아이피 변환테이블에 등록하는 단계;Allocating a global IP to a local IP of the outgoing packet and registering it in a local IP conversion table;

상기 아웃고잉 패킷의 로컬 아이피를 글로벌 아이피로 변환하고, 글로벌망으로 전송하는 단계를 더 포함하여 구성되는 것을 특징으로 한다.And converting the local IP of the outgoing packet into a global IP and transmitting it to a global network.

바람직하게, 상기 로컬 아이피 변환 테이블에 등록된 로컬 아이피 중 타임 아웃된 로컬 아이피가 없는 경우,Preferably, when there is no local IP timed out of the local IP registered in the local IP conversion table,

상기 아웃고잉 패킷을 폐기하는 단계를 더 포함하여 구성되는 것을 특징으로 한다.And discarding the outgoing packet.

바람직하게, 상기 로컬 아이피 변환 테이블에 등록된 로컬 아이피 중 타임 아웃된 로컬 아이피가 모두 네트워크 연결중인 경우,Preferably, when all of the local IP timed out of the local IP registered in the local IP conversion table is connected to the network,

상기 아웃고잉 패킷을 폐기하는 단계를 더 포함하여 구성되는 것을 특징으로 한다.And discarding the outgoing packet.

바람직하게, 상기 글로벌 아이피에 할당되는 로컬 아이피의 최대 허용갯수를 제한하는 단계는,Preferably, the step of limiting the maximum allowable number of local IPs allocated to the global IP,

현재 로컬 아이피 변환 테이블에 등록된 로컬 아이피의 갯수가 글로벌 아이피에 할당이 허용되는 로컬 아이피 허용갯수보다 작지 않은 경우, 아웃고잉 패킷을 폐기하는 단계를 더 포함하여 구성되는 것을 특징으로 한다.If the number of local IPs currently registered in the local IP conversion table is not less than the number of local IPs allowed to be allocated to the global IP, the method further comprises the step of discarding outgoing packets.

이하에서는 첨부된 도면을 참조하여 본 발명의 실시 예를 자세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described an embodiment of the present invention;

도 1은 본 발명의 실시 예에 따른 네트워크 주소변환장치를 포함하는 네트워크 구성을 나타낸 블록도이다.1 is a block diagram showing a network configuration including a network address translation apparatus according to an embodiment of the present invention.

도 1을 참조하면, 네트워크 주소변환장치를 포함하는 네트워크는사설망(110)과, 글로벌망(120), 그리고 사설망(110)과 글로벌망(120)간의 아이피 패킷 송수신을 네트워크 주소변환 장치(200)로 구성된다.Referring to FIG. 1, a network including a network address translation apparatus may transmit and receive IP packets between a private network 110, a global network 120, and a private network 110 and a global network 120. It consists of.

사설망(110)은 각각의 고유한 로컬 아이피를 가지는 호스트들로 이루어진 개인 또는 기업체에서의 네트워크이며, 글로벌망(120)은 인터넷 글로벌 아이피를 가지고 데이터 송수신을 할 수 있는 네트워크이다.The private network 110 is a network in an individual or an enterprise composed of hosts each having its own local IP, and the global network 120 is a network capable of transmitting and receiving data with the Internet global IP.

따라서, 사설망(110)의 호스트들은 로컬 아이피를 가지므로, 글로벌망(120)을 통하여 외부와 통신을 위해서는 인터넷 글로벌 아이피를 할당받아야만 가능하다.Therefore, since the hosts of the private network 110 have a local IP, it is possible to receive an Internet global IP to communicate with the outside through the global network 120.

네트워크 주소변환 장치(200)가 사설망(110)의 호스트들의 로컬 아이피에 글로벌망(120)의 글로벌 아이피를 할당하고, 변환하여 패킷을 송수신하는 기능을 한다.The network address translation apparatus 200 functions to allocate a global IP of the global network 120 to local IPs of hosts of the private network 110, convert the global IPs, and transmit and receive packets.

또한, 본 발명의 실시 예에 따르면, 네트워크 주소변환 장치(200)는 한정된 글로벌 아이피 주소에 할당할 수 있는 로컬 아이피의 최대 허용갯수를 지정하여 허용갯수 이상의 로컬 아이피가 할당되지 않도록 제어한다.In addition, according to an embodiment of the present invention, the network address translation apparatus 200 controls not to be assigned more than the allowable number of local IP by specifying the maximum allowable number of local IP that can be assigned to a limited global IP address.

상기 네트워크 주소변환 장치(200)는 도 2와 같은 구성을 가진다.The network address translation apparatus 200 has a configuration as shown in FIG. 2.

도 2는 본 발명의 실시 예에 따른 도 1의 네트워크 주소변환장치(200)의 구성을 나타낸 블록도이다.2 is a block diagram showing the configuration of the network address translation apparatus 200 of FIG. 1 according to an embodiment of the present invention.

도 2를 참조하면, 네트워크 주소변환 장치(200)는, 네트워크 주소변환부(210)와, 로컬아이피 허용갯수 제어부(220)와, 로컬 아이피 변환 테이블(230)로 구성된다.Referring to FIG. 2, the network address translation apparatus 200 includes a network address translation unit 210, a local IP allowance number control unit 220, and a local IP conversion table 230.

로컬 아이피 허용갯수 제어부(220)는 아웃고잉 되는 아이피 패킷의 로컬 아이피 주소를 확인하여, 글로벌 아이피에 할당이 허용되는 최대 허용갯수를 초과하지 않도록 로컬 아이피 갯수를 조절한다.The local IP allowance number control unit 220 checks the local IP address of the IP packet being outgoed, and adjusts the number of local IPs so as not to exceed the maximum allowable number allowed for the global IP.

그리고, 네트워크 주소변환부(210)는 상기 로컬 아이피 허용갯수 제어부(220)에서 전송하는 아이피 패킷 또는 인커밍 되는 아이피 패킷의 네트워크 주소를 변환하여 글로벌망(120) 또는 사설망(110)으로 포워딩한다.In addition, the network address conversion unit 210 converts the network address of the IP packet or the incoming IP packet transmitted from the local IP allowable number control unit 220 and forwards it to the global network 120 or the private network 110.

또한, 로컬 아이피 변환테이블(230)은 상기 네트워크 주소변환부(210)가 아이피 패킷의 주소를 변환시키는데 참조하기 위한 변환정보를 저장한다.In addition, the local IP conversion table 230 stores the conversion information for the network address translation unit 210 to refer to the conversion of the IP packet address.

상기와 같이 구성되는 네트워크 주소변환장치(200)는 인커밍 되는 아이피 패킷 대하여 종래와 같은 주소변환동작을 수행하고, 아웃고잉 되는 아이피 패킷에 대하여 사용자가 지정하는 로컬 아이피 허용갯수를 초과하지 않도록 글로벌 아이피에 할당하는 로컬 아이피의 갯수를 제어하게 된다.The network address translation apparatus 200 configured as described above performs a conventional address translation operation on the incoming IP packet, and the global IP does not exceed the number of local IPs specified by the user for the outgoing IP packet. It will control the number of local IPs assigned to.

특히, 본 발명의 실시 예에 따른 로컬 아이피 변환 테이블(230)은 로컬 아이피의 허용갯수 제어를 위하여 표 1과 같은 구성을 갖는다.In particular, the local IP conversion table 230 according to an embodiment of the present invention has the configuration shown in Table 1 to control the allowed number of local IP.

허용갯수Allowable 로컬아이피Local IP 글로벌아이피Global IP 타임아웃Timeout 목적지주소Destination address 1One 192.168.1.5192.168.1.5 147.6.61.2147.6.61.2 60 SEC60 sec 120.2.34.1120.2.34.1 22 192.168.1.2192.168.1.2 147.6.61.2147.6.61.2 60 SEC60 sec 133.5.21.7133.5.21.7 33 192.168.1.3192.168.1.3 147.6.61.3147.6.61.3 60 SEC60 sec 145.2.50.4145.2.50.4 44 192.168.1.4192.168.1.4 147.6.61.3147.6.61.3 60 SEC60 sec 133.6.25.9133.6.25.9

표 1을 참조하면, 로컬 아이피 변환 테이블(230)은 아웃고잉 되는 아이피 패킷에 대하여 발신지 주소, 즉 로컬 아이피와, 해당 로컬 아이피에 할당된 글로벌 아이피와 타임아웃정보와 해당 아이피패킷의 목적지 주소정보를 가진다.Referring to Table 1, the local IP conversion table 230 is a source IP address for the outgoing IP packet, that is, the local IP, the global IP and timeout information assigned to the local IP and the destination address information of the IP packet Have

네트워크 주소변환부(210)는 상기의 로컬 아이피 변환테이블(230)을 참조하여 아이피 패킷의 발신지 주소(로컬 아이피)를 글로벌아이피로 변환하여 글로벌망(120)으로 전송하고, 수신되는 아이피 패킷의 목적지 주소를 정확한 로컬장치의 아이피 주소로 변환하여 사설망으로 포워딩한다.The network address conversion unit 210 converts a source IP address (local IP) of the IP packet into a global IP by referring to the local IP conversion table 230 and transmits the IP address to the global network 120, and receives the destination IP packet. The address is converted to the correct IP address of the local device and forwarded to the private network.

상기와 같은 로컬 아이피 테이블과, 사용자가 설정하는 허용갯수정보를 이용하는 로컬 아이피 허용갯수 제어방법에 대하여 자세히 설명하면 다음과 같다.The local IP table and the method for controlling the local IP allowance number using the allowable number information set by the user will be described in detail as follows.

도 3은 본 발명의 실시 예에 따른 네트워크 주소변환 방법의 동작을 나타낸 순서도이다.3 is a flowchart illustrating an operation of a network address translation method according to an embodiment of the present invention.

도 3을 참조하면, 네트워크 주소변환장치(200)로 아이피 패킷 포워딩을 위한 아이피 패킷이 발생하면(S301), 아웃고잉 되는 패킷인지 여부를 판단한다(S302).Referring to FIG. 3, when an IP packet for IP packet forwarding occurs to the network address translation apparatus 200 (S301), it is determined whether the packet is outgoing (S302).

본 발명의 실시 예에서는 사설망(110)에서 로컬장치간의 내부 아이피 패킷 포워딩을 제외한, 사설망(110)에서 글로벌망(120)으로 아이피 패킷을 전송하는 아웃고잉과, 글로벌망(120)에서 사설망(110)으로 아이피 패킷을 전송하는 인커밍에 대하여만 설명하기로 한다.In the embodiment of the present invention, except for internal IP packet forwarding between local devices in the private network 110, outgoing for transmitting IP packets from the private network 110 to the global network 120, and the private network 110 in the global network 120. Only the incoming transmission of the IP packet will be described.

상기 단계 S302에서 아이피 패킷이 아웃고잉 패킷이면, 네트워크 주소변환장치(200)의 로컬 아이피 허용갯수 제어부(220)로 패킷이 수신된다.If the IP packet is an outgoing packet in step S302, the packet is received by the local IP allowance number control unit 220 of the network address translation apparatus 200.

로컬 아이피 허용갯수 제어부(220)는 해당 아이피 패킷의 발신지 주소인 로컬 아이피 주소를 확인하여, 해당 로컬 아이피 주소로 로컬 아이피 변환테이블(230)을 검색하여(S311), 로컬 아이피 주소가 테이블에 존재하는지 여부를 판단한다(S312).The local IP allowance number control unit 220 checks the local IP address which is the source address of the IP packet, searches the local IP conversion table 230 with the local IP address (S311), and whether the local IP address exists in the table. It is determined whether or not (S312).

상기 단계 S312에서, 상기 아이피 패킷의 발신지 주소가 로컬 아이피 변환테이블(230)에 존재한다면, 로컬 아이피 허용갯수 제어부(220)는 로컬 아이피 변환테이블(230)의 타임아웃정보를 확인하여 해당 로컬 아이피가 타임아웃상태인가를 판단한다(S331).In step S312, if the source address of the IP packet exists in the local IP conversion table 230, the local IP allowance number control unit 220 checks the timeout information of the local IP conversion table 230, and the corresponding local IP is determined. It is determined whether or not the time-out state (S331).

상기 단계 S331에서 해당 로컬 아이피가 타임아웃이 아니라면 로컬 아이피 패킷 허용갯수 제어부(220)는 아이피 패킷을 그대로 네트워크 주소변환부(210)로 전송하고, 네트워크 주소변환부(210)가 해당 아이피 패킷의 발신지 주소를 로컬 아피 변환테이블(230)을 참조하여, 글로벌 아이피로 변환하여(S334), 글로벌망(120)으로 전송하도록 한다(S350).If the local IP is not timeout in step S331, the local IP packet allowable number control unit 220 transmits the IP packet to the network address translator 210 as it is, and the network address translator 210 transmits the IP packet to the destination. The address is converted into a global IP by referring to the local API conversion table 230 (S334) and transmitted to the global network 120 (S350).

그러나, 상기 단계 S331에서 해당 로컬 아이피가 타임아웃이 되었다면, 로컬 아이피 허용갯수 제어부(220)는 다시 한번 글로벌 아이피를 할당하고 로컬 아이피 변환테이블(230)에 등록한다(S332).However, if the corresponding local IP has timed out in step S331, the local IP allowance number control unit 220 once again allocates the global IP and registers it in the local IP conversion table 230 (S332).

그리고 나서, 로컬 아이피 허용갯수 제어부(220)는 해당 아이피 패킷을 네트워크 주소변환부(210)로 전송하여, 네트워크 주소변환부(210)가 해당 패킷의 발신지 주소(로컬 아이피)를 글로벌 아이피로 변환하여(S334), 글로벌망(120)으로 패킷 전송하도록 한다(S350).Then, the local IP allowance number control unit 220 transmits the IP packet to the network address translator 210, and the network address translator 210 converts the source address (local IP) of the packet to the global IP. In operation S334, the packet is transmitted to the global network 120 in operation S350.

또한, 상기 단계 S312에서 아이피 패킷의 발신지 주소가 로컬 아이피 변환테이블(230)에 존재하지 않으면, 로컬 아이피 허용갯수 제어부(220)는 현재 로컬 아이피 변환테이블(230)에 등록되어 있는 로컬 아이피의 갯수와, 사용자가 설정한 최대 허용갯수를 비교하여, 허용갯수보다 로컬 아이피 변환테이블(230)에 등록된 로컬 아이피의 갯수가 적은가를 판단한다(S321).In addition, if the source address of the IP packet does not exist in the local IP conversion table 230 in step S312, the local IP allowance number control unit 220 and the number of local IP currently registered in the local IP conversion table 230 and By comparing the maximum allowable number set by the user, it is determined whether the number of local IPs registered in the local IP conversion table 230 is smaller than the allowable number (S321).

상기 단계 S321에서 로컬 아이피 변환테이블(230)에 등록된 로컬 아이피의 갯수가 허용갯수보다 작다면, 로컬 아이피 허용갯수 제어부(220)는 상기 아이피 패킷의 발신지 주소(로컬 아이피)에 글로벌 아이피를 할당하여 그 정보를 로컬 아이피 변환테이블(230)에 등록한 후, 네트워크 주소변환부(210)로 아이피 패킷을 전송하여, 네트워크 주소변환부(210)가 발신지 주소(로컬 아이피)를 글로벌 아이피로 변환하여(S334) 전송하도록 한다(S350).If the number of local IPs registered in the local IP conversion table 230 is smaller than the allowable number in step S321, the local IP allowance number control unit 220 allocates a global IP to a source IP address (local IP) of the IP packet. After registering the information in the local IP conversion table 230, the IP packet is transmitted to the network address translator 210, and the network address translator 210 converts the source address (local IP) to the global IP (S334). ) To be transmitted (S350).

이때, 상기 로컬 아이피 허용갯수 제어부(220)가 아이피 패킷의 발신지 주소(로컬 아이피)에 글로벌 아이피를 할당하여, 그 정보를 로컬 아이피 변환 테이블(230)에 등록할 때, 해당 아이피 패킷의 목적지 주소(글로벌 아이피)를 로컬 아이피 변환 테이블(230)의 목적지 항목에 등록한다.At this time, when the local IP allowance number control unit 220 allocates a global IP to a source IP address (local IP) of the IP packet and registers the information in the local IP conversion table 230, the destination IP of the corresponding IP packet ( Global IP) is registered in the destination item of the local IP conversion table 230.

이것은, 네트워크 주소변환부(210)에서 글로벌망(120)으로부터 인커밍 되는 아이피 패킷을 사설망(110)의 로컬 아이피 장치로 정확히 전송하기 위해, 인커밍 패킷의 발신지 주소(글로벌 아이피)로 로컬 아이피 변환테이블(230)의 목적지 주소 항목을 검색하여, 사설망(120)의 로컬 아이피를 알아낼 수 있도록 하기 위한 것이다.This converts the local IP to the source IP (global IP) of the incoming packet in order to correctly transmit the IP packet, which is incoming from the global network 120, to the local IP device of the private network 110 in the network address translator 210. By searching the destination address item of the table 230, the local IP of the private network 120 can be found.

상기 단계 S321에서 확인결과, 로컬 아이피 변환테이블(230)에 등록된 로컬 아이피의 갯수가 허용갯수보다 작지 않다면, 로컬 아이피 허용갯수 제어부(22)는 로컬 아이피 변환테이블(230)에 등록된 로컬 아이피 중에서 타임 아웃된 로컬 아이피를 찾는다(S322).As a result of the check in step S321, if the number of local IPs registered in the local IP conversion table 230 is not smaller than the allowable number, the local IP allowance number control unit 22 is selected from the local IPs registered in the local IP conversion table 230. Search for a local IP that has timed out (S322).

그리고, 로컬 아이피 허용갯수 제어부(220)는 타임 아웃된 로컬 아이피에 대하여 네트워크 연결성 검사를 수행하여(S323), 연결이 유효한 상태인지를 판단한다(S324).In addition, the local IP allowance number control unit 220 performs a network connectivity check on the time-out of the local IP (S323), and determines whether the connection is valid (S324).

상기 단계 S324에서 연결이 유효하지 않은 로컬 아이피가 있으면, 해당 로컬 아이피를 로컬 아이피 변환테이블(230)에서 삭제한 후, 상기 아이피 패킷의 로컬 아이피에 글로벌 아이피를 할당하여 테이블에 등록하고(S332), 네트워크 주소변환부(210)로 전송한다.If there is a local IP for which connection is not valid in step S324, the local IP is deleted from the local IP conversion table 230, and then a global IP is allocated to the local IP of the IP packet and registered in the table (S332). Transmission to the network address translation unit 210.

이때, 네트워크 주소변환부(210)로 전송된 아이피 패킷은 상기에서 설명한 바와 같이, 네트워크 주소변환부(210)가 아이피 패킷의 발신지 주소(로컬 아이피)를 글로벌 아이피로 변환하고(S334), 패킷 전송한다(S350).At this time, the IP packet transmitted to the network address translator 210, as described above, the network address translator 210 converts the source address (local IP) of the IP packet to the global IP (S334), packet transmission (S350).

그러나, 상기 단계 S322에서 타임 아웃된 로컬 아이피가 없다면, 로컬 아이피 허용갯수 제어부(220)는 발생되었던 아이피 패킷은 에러 처리하여 폐기 처리한다(S326).However, if there is no local IP timed out in step S322, the local IP allowance number control unit 220 processes the generated IP packet by error processing and discards it (S326).

마찬가지로, 상기 단계 S324에서 타임 아웃된 로컬 아이피의 네트워크 연결이 모두 유효하다면, 아이피 패킷은 글로벌 아이피를 할당받지 못해서 에러 처리되어 폐기 처리한다(S326).Similarly, if all of the network connections of the local IP timed out in step S324 are valid, the IP packet is not allocated a global IP and is processed in error and discarded (S326).

또한, 아웃고잉 되는 패킷이 아닌 인커밍 되는 패킷에 대해서는, 네트워크 주소변환부(210)가 인커밍 패킷을 수신하여, 수신된 아이피 패킷의 발신지 주소(글로벌 아이피)를 확인하여 로컬 아이피 변환 테이블(230)에 있는가를 검색하여(S341), 발신지 주소(글로벌 아이피)가 로컬 아이피 변환 테이블의 목적지항목에 있는가를 판단한다(S342).In addition, for an incoming packet instead of an outgoing packet, the network address translation unit 210 receives the incoming packet, checks the source IP address (global IP) of the received IP packet, and then converts the local IP conversion table 230. In step S341, it is determined whether the source address (global IP) is in the destination item of the local IP conversion table (S342).

상기 단계 S342에서 네트워크 주소변환부(210)는 인커밍 패킷의 발신지 주소 (글로벌 아이피)가 상기 로컬 아이피 변환테이블(230)에 발신지 주소가 존재하면, 네트워크 주소변환부(210)는 인커밍 패킷의 목적지 주소를 로컬 아이피 변환테이블(230)에 있는 로컬 아이피 주소로 변환하여(S344), 사설망(110)으로 패킷을 전송한다(S350).In step S342, if the source address of the incoming packet (global IP) is present in the local IP conversion table 230, the network address translator 210 determines that the incoming address of the incoming packet is present. The destination address is converted into a local IP address in the local IP conversion table 230 (S344), and the packet is transmitted to the private network 110 (S350).

그러나, 상기 단계 S342에서 상기 인커밍된 아이피 패킷의 발신지 주소(글로벌 아이피)가 로컬 아이피 변환테이블(230)에 없다면, 전송할 내부 로컬 아이피 주소를 알 수 없으므로, 에러 처리되어 패킷이 폐기된다(S343).However, if the source IP address (global IP) of the incoming IP packet is not present in the local IP conversion table 230 in step S342, since the internal local IP address to be transmitted is not known, the packet is discarded in error (S343). .

상기와 같이, 본 발명의 실시 예에 따르면 로컬 아이피 허용갯수 제어부(220)가 사용자가 설정하는 로컬 아이피 허용갯수에 따라 접속하는 로컬 아이피의 갯수를 제한함으로써, 트래픽의 안정과 스위칭시간이 길어지는 것을 막을 수 있으며, 로컬 아이피의 보안성도 더욱 좋아지게 할 수 있는 것이다.As described above, according to an embodiment of the present invention, the local IP allowance number control unit 220 limits the number of local IPs to be connected according to the number of local IP allowances set by the user, thereby increasing traffic stability and switching time. You can stop it and make your local IP more secure.

상기와 같은 본 발명의 실시 예에 따른 네트워크 주소변환방법을 적용한 실 예를 표 1을 참조하여 설명하면 다음과 같다.An example of applying the network address translation method according to an embodiment of the present invention as described above will be described with reference to Table 1.

로컬 아이피 주소 '192.168.1.9'를 갖는 로컬장치에서 글로벌망의 글로벌 아이피 주소'143.2.30.4'로 아이피 패킷을 전송하기 위하여 아이피 패킷을 생성하여 네트워크 주소변환장치(200)로 전송하면, 아웃고잉에 해당하므로, 로컬 아이피 허용갯수 제어부(220)에서 아이피 패킷을 우선 수신한다.In order to transmit IP packets from the local device having the local IP address '192.168.1.9' to the global IP address '143.2.30.4' of the global network, the IP packet is generated and transmitted to the network address translation apparatus 200. Therefore, the local IP allowance number control unit 220 first receives the IP packet.

아이피 패킷을 수신한 로컬 아이피 허용갯수 제어부(220)는 수신된 아이피패킷의 발신지 주소인 '192.168.1.9'가 로컬 아이피 변환테이블(230)에 등록되어 있는가를 검색하게 된다.Upon receiving the IP packet, the local IP allowance number control unit 220 searches whether the IP address of the received IP packet '192.168.1.9' is registered in the local IP conversion table 230.

표 1을 참조하면, 로컬 아이피 변환테이블(230)에 상기 로컬 아이피 주소 '192.168.1.9'가 없으므로, 현재 로컬 아이피 변환테이블(230)에 등록된 로컬 아이피의 갯수가 허용갯수보다 작은가를 확인하게 된다.Referring to Table 1, since there is no local IP address '192.168.1.9' in the local IP conversion table 230, it is checked whether the number of local IPs currently registered in the local IP conversion table 230 is smaller than the allowable number. .

사용자가 허용갯수를 '4'로 설정했다면, 표 1에 로컬 아이피 변환테이블(230)은 허용갯수보다 등록된 로컬 아이피의 갯수가 작지 않고, 같아지게 되므로, 더 이상 새로운 로컬 아이피 등록은 불가능하게 된다.If the user sets the allowable number to '4', the local IP conversion table 230 in Table 1 does not have a smaller number of registered local IPs than the allowable number, and becomes the same, so that new local IP registration is no longer possible. .

따라서, 로컬 아이피 허용갯수 제어부(220)는 등록된 로컬 아이피 중에 타임 아웃된 것을 찾게 된다.Therefore, the local IP allowed number control unit 220 finds that the timed out of the registered local IP.

이때, 상기 표 1에서 로컬 아이피 '192.168.1.2'와 '192.168.1.3'이 타임 아웃된 로컬 아이피 주소라면, 로컬 아이피 허용갯수 제어부(220)는 상기 두개의 로컬 아이피의 네트워크 연결성 검사를 하게 된다.At this time, if the local IP '192.168.1.2' and '192.168.1.3' in the Table 1 is the local IP address timed out, the local IP allowed number control unit 220 checks the network connectivity of the two local IP.

연결성 검사결과 '192.168.1.3'의 로컬 아이피 주소의 연결이 끊어진 상태라면, 로컬 아이피 허용갯수 제어부(220)는 해당 로컬 아이피 '192.168.1.3'의 내용을 삭제한다.As a result of the connectivity test, if the connection of the local IP address of '192.168.1.3' is disconnected, the local IP allowance number control unit 220 deletes the contents of the corresponding local IP '192.168.1.3'.

상기와 같이 로컬 아이피 정보가 하나 삭제되면, 새로 로컬 아이피를 하나 등록할 수 있게 되는 것이다. 따라서, 로컬 아이피 허용갯수 제어부(220)는 아이피 패킷의 발신지 주소 '192.168.1.9'를 로컬 아이피 주소에 등록하고, 글로벌 아이피를 '147.6.61.3'으로 할당한 후, 목적지 주소에 '143.2.30.4'정보를 등록하고, 아이피 패킷을 네트워크 주소변환부(210)로 전송한다.If one local IP information is deleted as described above, a new local IP can be registered. Therefore, the local IP allowance number control unit 220 registers the IP address source address '192.168.1.9' to the local IP address, assigns the global IP to '147.6.61.3', and then assigns the '143.2.30.4' to the destination address. The information is registered and the IP packet is transmitted to the network address translator 210.

네트워크 주소변환부(210)는 수신한 아이피 패킷의 발신지 주소'192.158.1.9'에 할당된 글로벌 아이피를 로컬 아이피 변환테이블(230)에서 찾아, 변환하고 글로벌망으로 해당 아이피 패킷을 전송하는 것이다.The network address translation unit 210 finds and converts the global IP assigned to the source address '192.158.1.9' of the received IP packet in the local IP conversion table 230, and converts the IP packet to the global network.

이와 같은 방식으로 글로벌 아이피에 할당되는 로컬 아이피의 갯수를 제한 할 수 있는 것이다.In this way, the number of local IPs allocated to the global IP can be limited.

또한, 상기 아이피 패킷에 대하여 응답패킷이 인커밍되면, 발신지 주소가 '143.2.30.4'가 되어 있으므로, 로컬 아이피 변환테이블(230)의 목적지 주소란을 검색하여 '143.2.30.4'에 대응되는 로컬 아이피를 찾아내서, 해당 인커밍 아이피 주소의 목적지 아이피를 변환하고 사설망내부로 전송하여 로컬장치로 수신될 수 있도록 하는 것이다.In addition, when the response packet is encoded for the IP packet, since the source address is '143.2.30.4', the local IP corresponding to '143.2.30.4' is searched by searching the destination address field of the local IP conversion table 230. It finds and converts the destination IP of the incoming IP address and transmits it to the private network so that it can be received by the local device.

이상에서 설명한 바와 같이, 본 발명에 따른 네트워크 주소변환 장치 및 방법은, 한정된 글로벌 아이피의 한계성을 극복하기 위하여 사설망의 로컬 아이피를 한정된 글로벌 아이피에 할당하여 사용하도록 하는 네트워크 주소변환장치에 있어서, 글로벌 아이피로 로컬 아이피가 한꺼번에 몰려드는 경우 트래픽이 불균형하고, 패킷 스위칭의 지연을 가져오는 문제를 해결하기 위하여 사용자의 설정에 따른 글로벌 아이피에 접속 가능한 허용갯수를 두고, 로컬 아이피의 접속을 제한함으로써, 트래픽의 불균형을 해소하고, 패킷의 스위칭 시간을 줄일 수 있도록 하며, 로컬 아이피의 접속상태를 타임아웃방식에 의하여 관리함으로써 보안성을 높일 수 있는 효과가 있다.As described above, the network address translation apparatus and method according to the present invention is a network IP translation apparatus for assigning and using a local IP of a private network to a limited global IP in order to overcome the limitations of the limited global IP. In order to solve the problem of unbalanced traffic and delayed packet switching when local IPs are gathered at once, the number of allowable access to global IPs can be set according to user's settings, and the access of local IPs is restricted. It is possible to solve the imbalance, reduce the switching time of the packet, and improve the security by managing the connection state of the local IP by the timeout method.

Claims (10)

사설망의 로컬 아이피 주소를 글로벌망의 글로벌 아이피로 변경하여 접속해 주는 네트워크 주소 변환 장치에 있어서,In the network address translation device that connects the local IP address of the private network to the global IP of the global network, 사설망에서 글로벌망으로 전송되는 아이피 패킷의 로컬 아이피에 글로벌 아이피를 할당하고, 상기 글로벌 아이피에 할당되는 최대 로컬 아이피 갯수를 사용자 설정에 의한 최대 허용갯수 이하로 제한하는 로컬 아이피 허용갯수 제어부와;A local IP allowance number control unit for allocating a global IP to a local IP of an IP packet transmitted from a private network to a global network, and limiting a maximum number of local IPs allocated to the global IP to a maximum allowable number or less by a user setting; 상기 로컬아이피 허용갯수 제어부에서 로컬아이피에 할당하는 글로벌 아이피 정보를 저장하는 로컬 아이피 변환테이블과;A local IP conversion table for storing global IP information allocated to the local IP by the local IP allowance number control unit; 상기 로컬 아이피 변환테이블을 참조하여, 상기 로컬 아이피 허용갯수 제어부에서 전송하는 아웃고잉 패킷 또는 인커밍 패킷의 주소변환을 수행하고 해당 패킷을 송수신하는 네트워크 주소변환부A network address translator for performing address translation of an outgoing packet or an incoming packet transmitted by the local IP allowance number control unit with reference to the local IP conversion table, and transmitting and receiving the corresponding packet. 를 포함하여 구성되는 것을 특징으로 하는 네트워크 주소변환 장치.Network address translation apparatus comprising a. 제 1항에 있어서,The method of claim 1, 상기 로컬 아이피 변환 테이블은,The local IP conversion table, 아웃고잉 아이피 패킷의 발신지 주소정보에 해당하는 로컬 아이피 주소와,A local IP address corresponding to the source address information of the outgoing IP packet, 로컬 아이피 주소에 할당되는 글로벌 아이피 주소와,The global IP address assigned to the local IP address, 상기 글로벌 아이피에 접속된 로컬 아이피 주소의 타임아웃정보와,Timeout information of a local IP address connected to the global IP; 상기 글로벌 아이피에 최대 허용갯수 이하로 로컬 아이피 주소를 변환시키기위한 허용갯수정보Allowed number information for converting the local IP address to less than the maximum allowable number in the global IP 를 포함하여 구성되는 것을 특징으로 하는 네트워크 주소변환 장치.Network address translation apparatus comprising a. 사설망과 글로벌망간에 아이피 패킷을 송수신하기 위한 네트워크 주소변환방법에 있어서,In the network address translation method for transmitting and receiving IP packets between a private network and a global network, 사설망으로부터 아웃고잉 되는 패킷을 수신하여, 해당패킷의 발신지 로컬 아이피 주소를 확인하고, 로컬 아이피 변환 테이블에서 해당 로컬 아이피 주소를 검색하는 단계;Receiving the outgoing packet from the private network, checking a source IP address of the packet, and retrieving the corresponding IP address from the local IP conversion table; 상기 검색결과, 해당 로컬 아이피 주소가 로컬 아이피 변환테이블에 없는 경우, 글로벌 아이피에 할당이 허용되는 로컬 아이피 허용갯수와 현재 로컬아이피 변환테이블에 등록된 로컬 아이피의 갯수를 비교하는 단계;Comparing the number of local IPs allowed to be allocated to the global IP with the number of local IPs currently registered in the local IP conversion table when the corresponding local IP address is not present in the local IP conversion table; 상기 비교결과, 현재 로컬 아이피 변환 테이블에 등록된 로컬 아이피의 갯수가 글로벌 아이피에 할당이 허용되는 로컬 아이피 허용갯수보다 작지 않은 경우, 글로벌 아이피에 할당되는 로컬 아이피의 최대 허용갯수를 제한하는 단계As a result of the comparison, if the number of local IPs currently registered in the local IP conversion table is not smaller than the number of local IPs allowed to be allocated to the global IPs, limiting the maximum number of local IPs allocated to the global IPs. 를 포함하여 구성되는 것을 특징으로 하는 네트워크 주소변환 방법.Network address translation method comprising a. 제 3항에 있어서,The method of claim 3, 상기 아웃고잉 패킷의 로컬 아이피가 로컬 아이피 변환테이블에 있는 경우,If the local IP of the outgoing packet is in the local IP conversion table, 해당 로컬 아이피의 타임아웃여부를 판단하는 단계;Determining whether the local IP times out; 상기 판단결과, 해당 로컬 아이피가 타임 아웃된 경우, 해당 로컬 아이피를상기 로컬 아이피 변환테이블에서 삭제하고, 해당 로컬 아이피에 새로운 글로벌 아이피를 할당한 후, 로컬 아이피 변환테이블에 등록하는 단계;If it is determined that the local IP has timed out, deleting the local IP from the local IP conversion table, assigning a new global IP to the local IP, and then registering the local IP in the local IP conversion table; 상기 아웃고잉 패킷의 로컬 아이피를 글로벌 아이피로 변환하고, 글로벌망으로 전송하는 단계Converting the local IP of the outgoing packet into a global IP and transmitting the same to a global network 를 더 포함하여 구성되는 것을 특징으로 하는 네트워크 주소변환 방법.Network address translation method, characterized in that further comprises. 제 4항에 있어서,The method of claim 4, wherein 상기 아웃고잉 패킷의 로컬 아이피가 상기 로컬 아이피 변환테이블에 있고, 타임아웃 되지 않은 경우,If the local IP of the outgoing packet is in the local IP conversion table and has not timed out, 상기 아웃고잉 패킷의 로컬 아이피를 글로벌 아이피로 변환하고, 글로벌망으로 전송하는 단계Converting the local IP of the outgoing packet into a global IP and transmitting the same to a global network 를 더 포함하여 구성되는 것을 특징으로 하는 네트워크 주소변환방법.Network address translation method, characterized in that further comprises. 제 3항에 있어서,The method of claim 3, 상기 아웃고잉 패킷의 로컬 아이피가 로컬 아이피 변환테이블에 없고, 현재 로컬 아이피 변환 테이블에 등록된 로컬 아이피의 갯수가 글로벌 아이피에 할당이 허용된 로컬 아이피 허용갯수보다 적을 경우,If the local IP of the outgoing packet is not in the local IP conversion table, and the number of local IPs currently registered in the local IP conversion table is smaller than the number of local IPs allowed to be allocated to the global IP, 아웃고잉 되는 패킷의 로컬 아이피에 글로벌 아이피를 할당하고, 로컬 아이피 변환테이블에 할당정보를 등록하는 단계;Allocating the global IP to the local IP of the outgoing packet and registering the allocation information in the local IP conversion table; 상기 아웃고잉 패킷의 로컬 아이피를 글로벌 아이피로 변환하여 글로벌망으로 전송하는 단계Converting the local IP of the outgoing packet into a global IP and transmitting it to a global network 를 더 포함하여 구성되는 것을 특징으로 하는 네트워크 주소변환 방법.Network address translation method, characterized in that further comprises. 제 3항에 있어서,The method of claim 3, 상기 글로벌 아이피에 할당되는 로컬 아이피의 최대 허용갯수를 제한하는 단계는,Limiting the maximum allowable number of local IPs allocated to the global IP, 로컬 아이피 변환테이블에 등록된 로컬 아이피들의 타임아웃 여부를 판단하고, 타임 아웃된 로컬 아이피의 네트워크 연결성 여부를 판단하는 단계;Determining whether the local IPs registered in the local IP conversion table are timed out, and determining whether the local IPs that have timed out are network connectivity; 상기 판단결과, 네트워크 연결이 끊긴 로컬 아이피를 상기 로컬 아이피 변환 테이블에서 삭제하는 단계;Deleting the local IP disconnected from the local IP conversion table as a result of the determination; 상기 아웃고잉 패킷의 로컬 아이피에 글로벌 아이피를 할당하고, 로컬 아이피 변환테이블에 등록하는 단계;Allocating a global IP to a local IP of the outgoing packet and registering it in a local IP conversion table; 상기 아웃고잉 패킷의 로컬 아이피를 글로벌 아이피로 변환하고, 글로벌망으로 전송하는 단계Converting the local IP of the outgoing packet into a global IP and transmitting the same to a global network 를 더 포함하여 구성되는 것을 특징으로 하는 네트워크 주소변환 방법.Network address translation method, characterized in that further comprises. 제 7항에 있어서,The method of claim 7, wherein 상기 로컬 아이피 변환 테이블에 등록된 로컬 아이피 중 타임 아웃된 로컬 아이피가 없는 경우,If there is no local IP timed out among local IPs registered in the local IP conversion table, 상기 아웃고잉 패킷을 폐기하는 단계를 더 포함하여 구성되는 것을 특징으로하는 네트워크 주소변환 방법.And discarding the outgoing packet. 제 7항에 있어서,The method of claim 7, wherein 상기 로컬 아이피 변환 테이블에 등록된 로컬 아이피 중 타임 아웃된 로컬 아이피가 모두 네트워크 연결중인 경우,If all of the local IPs timed out of the local IPs registered in the local IP conversion table are connected to the network, 상기 아웃고잉 패킷을 폐기하는 단계를 더 포함하여 구성되는 것을 특징으로 하는 네트워크 변환방법.And discarding the outgoing packet. 제 3항에 있어서,The method of claim 3, 상기 글로벌 아이피에 할당되는 로컬 아이피의 최대 허용갯수를 제한하는 단계는,Limiting the maximum allowable number of local IPs allocated to the global IP, 현재 로컬 아이피 변환 테이블에 등록된 로컬 아이피의 갯수가 글로벌 아이피에 할당이 허용되는 로컬 아이피 허용갯수보다 작지 않은 경우, 아웃고잉 패킷을 폐기하는 단계를 더 포함하여 구성되는 것을 특징으로 하는 네트워크 주소변환 방법.When the number of local IPs currently registered in the local IP conversion table is not smaller than the number of local IPs allowed to be allocated to the global IP, the network address translation method further comprises the step of discarding outgoing packets. .
KR1020020058997A 2002-09-27 2002-09-27 Apparatus and method of network address translation KR100881418B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020020058997A KR100881418B1 (en) 2002-09-27 2002-09-27 Apparatus and method of network address translation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020020058997A KR100881418B1 (en) 2002-09-27 2002-09-27 Apparatus and method of network address translation

Publications (2)

Publication Number Publication Date
KR20040027218A true KR20040027218A (en) 2004-04-01
KR100881418B1 KR100881418B1 (en) 2009-02-05

Family

ID=37329802

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020020058997A KR100881418B1 (en) 2002-09-27 2002-09-27 Apparatus and method of network address translation

Country Status (1)

Country Link
KR (1) KR100881418B1 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5621727A (en) * 1994-09-16 1997-04-15 Octel Communications Corporation System and method for private addressing plans using community addressing
US6331984B1 (en) * 1998-08-21 2001-12-18 Nortel Networks Limited Method for synchronizing network address translator (NAT) tables using the server cache synchronization protocol
KR20010018115A (en) * 1999-08-17 2001-03-05 서평원 Method of Connecting between Private Network and Global Network in the Router
KR100301026B1 (en) * 1999-08-20 2001-11-01 윤종용 Method for interconnecting private network and public network using network address translation table and computer readable medium therefor
KR100333530B1 (en) * 1999-09-29 2002-04-25 최명렬 Method for configurating VPN(Virtual Private Network) by using NAT(Network Address Translation) and computer readable record medium on which a program therefor is recorded
KR20010040075A (en) * 2000-10-13 2001-05-15 최명렬 Method and apparatus for connecting internet to save IP addresses by using network address translation function

Also Published As

Publication number Publication date
KR100881418B1 (en) 2009-02-05

Similar Documents

Publication Publication Date Title
US7830878B2 (en) Virtual network connection system, virtual network connection apparatus, and computer-readable medium
US8051206B2 (en) Intelligent network address translator and methods for network address translation
US7574522B2 (en) Communication data relay system
US6934763B2 (en) Communication data relay system and method of controlling connectability between domains
EP2306689B1 (en) Devices and method for accessing a web server in a local space
US10419236B1 (en) Mobile wide area network IP translation configuration
JPH10247946A (en) Network connection system, method and name server
JP5930449B2 (en) Data interaction method, apparatus, and system
KR100827143B1 (en) Packet switch device and the packet switching method
KR100587560B1 (en) Method and apparatus for communicating with outer system in link local address system
US7773613B2 (en) Communication control method and system
JP2005142702A (en) Network access gateway, network access gateway control method, and program
JP2605544B2 (en) Internetwork equipment
US10924397B2 (en) Multi-VRF and multi-service insertion on edge gateway virtual machines
KR100881418B1 (en) Apparatus and method of network address translation
US20210352004A1 (en) Multi-vrf and multi-service insertion on edge gateway virtual machines
US7089334B2 (en) Intelligent network interface port for visiting computers
KR100693050B1 (en) Header translation system and method using network processor
JP3947141B2 (en) Inter-network communication method, management server, and user network management server
JP2003244251A (en) Packet communication method for reconfiguring tunnel path
JP2001060973A (en) Network address converter, network provided with this and its storing medium
JPH10322382A (en) Network repeating device
KR100801285B1 (en) Method for Connecting Between User Network of Other Technology and Domain Name System Proxy Server for Controlling the Same
JP2005268888A (en) Communication system, transfer processing method, communication device, and program
KR20030034396A (en) FTP Packet Processing Method In NAT Router

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20130107

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20140106

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20150105

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20160107

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20170104

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20180102

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20181227

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20200102

Year of fee payment: 12