KR20030018445A - Method and Apparatus for Internet Protocol Translation using NAT-PT - Google Patents

Method and Apparatus for Internet Protocol Translation using NAT-PT Download PDF

Info

Publication number
KR20030018445A
KR20030018445A KR1020010052172A KR20010052172A KR20030018445A KR 20030018445 A KR20030018445 A KR 20030018445A KR 1020010052172 A KR1020010052172 A KR 1020010052172A KR 20010052172 A KR20010052172 A KR 20010052172A KR 20030018445 A KR20030018445 A KR 20030018445A
Authority
KR
South Korea
Prior art keywords
version
address
internet protocol
packet
domain name
Prior art date
Application number
KR1020010052172A
Other languages
Korean (ko)
Other versions
KR100411517B1 (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 KR10-2001-0052172A priority Critical patent/KR100411517B1/en
Publication of KR20030018445A publication Critical patent/KR20030018445A/en
Application granted granted Critical
Publication of KR100411517B1 publication Critical patent/KR100411517B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/167Adaptation for transition between two IP versions, e.g. between IPv4 and IPv6
    • 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/251Translation of Internet protocol [IP] addresses between different IP versions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PURPOSE: An internet protocol conversion apparatus using parallel nat-pt and internet protocol conversion method using the same are provided to realize a NAT-PT of a small-sized integrated circuit using a system on chip technology and to process NAT-PT modules in parallel. CONSTITUTION: A PHY chip(501) checks and processes a protocol of a layer 1 and an error of a packet surrounded by an electrical signal. A MAC(502) converts a protocol of a layer 2 into a protocol of a layer 3 using a signal from the PHY chip. An IP multiplexer/demultiplexer(503) distributes a packet from the MAC into an empty NAT-PT modules(505,506) and stores a packet of a standby state in an IP packet buffer(504). An SIIT(505) performs a header and address conversion operation between an IPv4 packet and an IPv6 packet using a packet from the IP multiplexer/demultiplexer. A DNS/FTP ALG(506) receives a DNS/FTP packet from a packet output from the IP multiplexer/demultiplexer and sends a DNS query packet to a DNS server in order to find an IP address and update a mapping table. A mapping table module(507) stores a pole of an IPv4 address necessary for the modules(505,506) and stores a mapping table between IPv4 and IPv6 addresses generated from the modules(505,506).

Description

병렬 냇-피티를 이용한 인터넷 프로토콜 변환장치 및 그를 이용한 인터넷 프로토콜 버전 변환 방법{Method and Apparatus for Internet Protocol Translation using NAT-PT}Internet Protocol Translation System Using Parallel Nat-Piti and Internet Protocol Version Conversion Method Using Them {Method and Apparatus for Internet Protocol Translation using NAT-PT}

본 발명은 병렬 냇-피티(Network Address Translation-Protocol Translation : NAT-PT)를 이용하여 인터넷 프로토콜 버전4(이하, "IPv4"라 함)와 인터넷 프로토콜 버전6(이하, "IPv6"이라 함) 간의 고속 패킷변환을 하기 위한 인터넷 프로토콜 변환장치 및 그를 이용한 인터넷 프로토콜 버전 변환 방법에 관한 것이다.The present invention utilizes parallel Nat-PT (Network Address Translation-Protocol Translation (NAT-PT)) between Internet Protocol Version 4 (hereinafter referred to as "IPv4") and Internet Protocol Version 6 (hereinafter referred to as "IPv6"). The present invention relates to an internet protocol converter for fast packet conversion and an internet protocol version conversion method using the same.

현재, 인터넷의 주소 고갈 문제가 심각히 대두되고 있다. 이를 해결하기 위하여 128비트의 주소 체계를 갖는 IPv6을 사용한다.At present, the problem of address depletion of the Internet is serious. To solve this problem, IPv6 with 128-bit address system is used.

IPv6은 단순히 주소 길이의 확장뿐만 아니라 단순화된 헤더(Header) 형식을 통한 대역폭 비용을 절감하고, 패킷 처리 시 공통적인 부분의 처리비용을 절감시키는 이점을 가지고 있다. 또한, 플로우 레이블(flow label) 기능을 이용한 멀티미디어 데이터의 실시간 처리를 가능하게 한다. 따라서, 지금의 인터넷에서 제공되는 서비스 보다 높은 수준의 서비스를 받을 수 있다.IPv6 has the advantage of not only extending the address length but also reducing the bandwidth cost through the simplified header format and reducing the processing cost of common parts in packet processing. It also enables real-time processing of multimedia data using the flow label function. Therefore, it is possible to receive a higher level of service than the service provided in the Internet.

그러나, 현재 사용되고 있는 인터넷 망이 IPv4를 중심으로 매우 폭 넓게 보급되어 있고, 현재 클라이언트(client)를 위한 서비스가 지속되어야 하기 때문에, 한 순간에 IPv4 망을 IPv6 망으로 교체하는 것은 어렵다.However, it is difficult to replace an IPv4 network with an IPv6 network at a moment because the Internet network currently being used is very widely distributed around IPv4, and services for clients must be maintained at present.

따라서, IPv4 망과 IPv6 망의 연동을 위한 방법의 하나로 냇-피티를 이용하고 있다.Therefore, Nat-Piti is used as a method for interworking between IPv4 and IPv6 networks.

냇-피티는 알에프씨2765(RFC2765 : Request for Comments 2765)에 규정되어 있는 SIIT(Stateless IP/ICMP Translation Algorithm)에 의해서 IPv4 패킷과 IPv6 패킷을 상호 변환하고, 상기 상호 변환된 패킷을 알에프씨1631(RFC1631)에 규정된 네트워크 주소 전환(Network Address Translation) 알고리즘에 의거하여 한정된 IPv4 주소 풀(Pool)을 이용하여 IPv4 망과 IPv6 망을 상호 연동시켜 준다.Nat-Piti uses the Stateless IP / ICMP Translation Algorithm (SIIT) as defined in RFC2765 (RFC2765) to convert the IPv4 packet and the IPv6 packet, and converts the converted packet to Based on the network address translation algorithm specified in RFC1631), the IPv4 network and the IPv6 network are interworked using a limited IPv4 address pool.

한편, 기존에 구현되어 있는 냇-피티(NAT-PT)는 범용 컴퓨터(PC), 워크스테이션, 범용 씨피유(CPU) 또는 엠피유(MPU)를 이용한 소프트웨어 기반의 라우터에서 소프트웨어적인 방법을 통하여 구현되었다.On the other hand, the existing Nat-PT is implemented through a software method in a software-based router using a general-purpose computer (PC), a workstation, a general-purpose CPU or an MPU. .

따라서, 다음과 같은 문제점이 있었다.Therefore, there were the following problems.

첫번째로, 전용화된 하드웨어가 아닌 범용의 하드웨어 상에서 소프트웨어적인 방법을 이용하여 구현됨으로서 많은 부피를 차지한다.First, it takes up a lot of volume by being implemented using software methods on general purpose hardware rather than dedicated hardware.

두번째로, 범용 하드웨어의 특성상 어쩔 수 없이 많은 숫자의 집적회로(IC)들이 요구되어 가격상승의 요인이 된다.Secondly, due to the nature of general-purpose hardware, a large number of integrated circuits (ICs) are required, which contributes to the price increase.

세번째로, 많은 집적회로(IC)로 인하여 전력소비량이 증가된다.Third, power consumption is increased due to many integrated circuits (ICs).

네번째로, 확장성이 전무하거나 확장할 수 있어도 많은 기술적 어려움과 비용상승이 따른다.Fourth, even if there is no expansion or expansion, there are many technical difficulties and cost increases.

다섯번째로, 전용이 아닌 범용의 하드웨어를 사용함으로써 속도상에 많은 제약을 가져온다.Fifth, the use of general purpose hardware that is not dedicated places a lot of constraints on speed.

여섯번째로, 입력되는 모든 패킷을 냇-피티 모듈에서 통합하여 처리함으로써, 계층 3(IP 계층) 레벨에서 처리할 수 있는 일반적인 패킷과 계층 4(FTP, DNS 계층)에서 처리할 수 있는 패킷을 구별하지 못하여 성능상의 저하를 가져온다.Sixth, distinguish all packets that can be handled at layer 4 (FTP, DNS layer) and general packets that can be processed at layer 3 (IP layer) level by integrating and processing all incoming packets in the Nat-Piti module. This can lead to performance degradation.

본 발명은, 상기한 바와 같은 문제점을 해결하기 위하여 제안된 것으로, 기존의 소프트웨어적인 냇-피티(NAT-PT)를 시스템 온 칩(System on Chip) 기술을 이용하여 작은 집적회로(IC)로 구현하고, 냇-피티 모듈들을 병렬처리하여 새로운 네트워크 사용자로 하여금, 저렴한 비용, 작은 부피, 빠른 속도, 확장성 및 전력소비 문제를 해결할 수 있는 병렬 냇-피티(NAT-PT)를 이용한 인터넷 프로토콜 변환장치 및 그를 이용한 인터넷 프로토콜 버전 변환 방법을 제공하는데 그 목적이 있다.The present invention has been proposed to solve the above problems, and implements a conventional software Nat-PT as a small integrated circuit (IC) using a System on Chip (System on Chip) technology. Internet Protocol Translator using Parallel Nat-PT, which allows new network users to solve the problems of low cost, small volume, high speed, scalability and power consumption by parallelizing Nat-Piti modules. And an internet protocol version conversion method using the same.

또한, 본 발명은, 냇-피티 모듈들을 분리하여 계층 3(IP 계층) 레벨에서 처리할 수 있는 다량의 일반적인 패킷은 SIIT(Stateless IP/ICMP Translation Algorithm) 모듈에서 병렬적으로 처리하고, 계층 4(FTP, DNS 계층)에서 처리해야만 하는 도메인 네임 시스템(DNS) 패킷이나 에프티피(FTP) 패킷의 경우는 아이피 다중화기/역다중화기(IP MUX/DEMUX)에서 분리하여 에이엘지(ALG : Application Level Gateway)에 보냄으로써 패킷의 처리를 고속화 할 수 있는 병렬 냇-피티(NAT-PT)를 이용한 인터넷 프로토콜 변환장치 및 그를 이용한 인터넷 프로토콜 버전 변환 방법을 제공하는데 그 목적이 있다.In addition, the present invention, a large number of general packets that can be processed at the layer 3 (IP layer) level by separating the Nat-Piti modules, and processed in parallel in a stateless IP / ICMP Translation Algorithm (SIIT) module, layer 4 ( In case of Domain Name System (DNS) packet or FTP packet, which must be processed in FTP, DNS layer), it is separated from IP MUX / DEMUX and is used for application level gateway (ALG). It is an object of the present invention to provide an Internet protocol conversion apparatus using parallel Nat-PT (NAT-PT) which can speed up packet processing by sending a packet, and an internet protocol version conversion method using the same.

도 1 은 일반적인 냇-피티(NAT-PT) 모듈의 구성예시도.1 is an exemplary configuration diagram of a general Nat-PT module.

도 2a 및 2b 는 일반적인 IPv4와 IPv6 헤더의 구성예시도.2A and 2B are exemplary diagrams of configurations of general IPv4 and IPv6 headers.

도 3 은 본 발명에 따른 IPv4를 IPv6으로 변환하는 방법에 대한 일실시예 설명도.3 is a diagram illustrating an embodiment of a method for converting IPv4 to IPv6 according to the present invention.

도 4 는 본 발명에 따른 IPv6을 IPv4로 변환하는 방법에 대한 일실시예 설명도.4 is a diagram illustrating an embodiment of a method for converting IPv6 to IPv4 according to the present invention.

도 5 는 본 발명에 따른 냇-피티(NAT-PT)를 이용한 인터넷 프로토콜 변환장치의 일실시예 구성도.5 is a configuration diagram of an internet protocol conversion apparatus using NAT-PT according to the present invention.

도 6 은 일반적인 100베이스-엑스(Base-X)의 계층에 대한 일실시예 설명도.FIG. 6 is a diagram illustrating an embodiment of a layer of a general 100 Base-X. FIG.

* 도면의 주요 부분에 대한 부호의 설명* Explanation of symbols for the main parts of the drawings

501, 511 : 피에이치와이 칩(PHY Chip)502, 510 : 맥(MAC)501, 511 PHY Chip 502, 510 MAC

503, 508 : 아이피 다중화기/역다중화기(IP MUX/DEMUX)503, 508: IP Multiplexer / Demultiplexer (IP MUX / DEMUX)

504, 509 : 아이피 패킷 버퍼505 : SIIT504, 509 IP packet buffer 505 SIIT

506 : DNS/FTP ALG507 : 맵핑 테이블 모듈506 DNS / FTP ALG507 mapping table module

상기 목적을 달성하기 위한 본 발명의 장치는, 병렬 냇-피티를 이용한 인터넷 프로토콜 변환장치에 있어서, 네트워크를 통해 입력되는 전기적 신호로 감싸여진 계층(Layer) 1의 프로토콜 및 패킷의 에러를 검사하고 전기적 신호 처리를 하기 위한 물리계층 인터페이싱 수단; 상기 물리계층 인터페이싱 수단에서 출력된 신호 중, 계층(Layer) 2의 프로토콜을 계층 3의 프로토콜로 변환하여 전송하기 위한 프로토콜 변환수단; 상기 프로토콜 변환수단에서 출력된 패킷을 비어있는 아이피 버전 변환수단에 분배하고, 처리 대기중인 패킷을 아이피 패킷 저장수단에 저장하며, 상기 아이피 버전 변환수단에서 변환된 패킷을 역다중화하기 위한 다중화 및 역다중화 수단; 상기 다중화 및 역다중화 수단에서 출력된 패킷에서 서로 다른 아이피 버전으로 변환을 수행하고, 서로 다른 계층의 패킷을 분리하여 변환하기 위한 상기 아이피 버전 변환수단; 및 상기 아이피 버전 변환수단에서 필요한 아이피(IP) 주소를 저장하고, 다른 버전의 아이피(IP) 주소 간의 매핑테이블을 저장하기 위한 맵핑 테이블 저장수단을 포함하는 것을 특징으로 한다.The apparatus of the present invention for achieving the above object is, in the Internet protocol conversion apparatus using a parallel Nat-Piti, to check the error of the protocol and packet of the layer (Layer) wrapped with electrical signals input through the network Physical layer interfacing means for signal processing; Protocol conversion means for converting a protocol of Layer 2 into a protocol of Layer 3 among the signals output from the physical layer interfacing means; Multiplexing and demultiplexing for distributing the packet output from the protocol conversion means to the empty IP version converting means, storing the packet waiting to be stored in the IP packet storing means, and demultiplexing the packet converted by the IP version converting means. Way; The IP version converting means for converting packets output from the multiplexing and demultiplexing means into different IP versions and separating and converting packets of different layers; And a mapping table storage means for storing an IP address required by the IP version converting means and storing a mapping table between IP addresses of different versions.

한편, 본 발명의 방법은, 인터넷 프로토콜 변환장치를 이용한 인터넷 프로토콜 버전 변환 방법에 있어서, 버전 4 도메인 네임 시스템(DNS)로부터 버전 6 인터넷 프로토콜을 사용하는 시스템의 주소를 묻는 도메인 네임 시스템(DNS) 쿼리를 받아 버전 6 도메인 네임 시스템으로 상기 도메인 네임 시스템 쿼리를 보내는 제 1 단계; 상기 도메인 네임 시스템 쿼리에 대한 응답으로 버전 6 도메인 네임 시스템으로부터 버전 6 인터넷 프로토콜을 사용하는 시스템의 주소를 전달받는 제 2 단계; 상기 버전 6 인터넷 프로토콜을 사용하는 시스템의 주소를 버전 4 인터넷 프로토콜 주소로 맵핑하는 제 3 단계; 상기 맵핑된 버전 4 인터넷 프로토콜 주소를 상기 제 1 단계의 응답으로 전송하는 제 4 단계; 및 버전 4 인터넷 프로토콜을 사용하는 시스템이 버전 6 인터넷 프로토콜을 사용하는 시스템으로 보내는 패킷을 받아 주소 맵핑 테이블을 검사하여 상기 맵핑된 버전 4 인터넷 프로토콜 주소 대신 버전 6 인터넷 프로토콜 주소로 변환하여 상기 변환된 버전 6 인터넷 프로토콜 주소로 패킷을 전송하는 제 5 단계를 포함하는 것을 특징으로 한다.On the other hand, the method of the present invention, in the Internet protocol version conversion method using the Internet protocol conversion apparatus, a domain name system (DNS) query asking the address of the system using the version 6 Internet protocol from the version 4 domain name system (DNS) Receiving a first step of sending a domain name system query to a version 6 domain name system; Receiving an address of a system using a version 6 internet protocol from a version 6 domain name system in response to the domain name system query; A third step of mapping an address of a system using the version 6 internet protocol to a version 4 internet protocol address; A fourth step of sending the mapped version 4 internet protocol address in response to the first step; And the system using the version 4 internet protocol receives a packet sent to the system using the version 6 internet protocol, examines an address mapping table, and converts the address mapping table into a version 6 internet protocol address instead of the mapped version 4 internet protocol address. And a fifth step of transmitting the packet to an Internet protocol address.

또한, 본 발명의 다른 방법은, 인터넷 프로토콜 변환장치를 이용한 인터넷 프로토콜 버전 변환 방법에 있어서, 버전 6 도메인 네임 시스템에서 버전 4 인터넷 프로토콜을 사용하는 시스템의 주소를 알기위한 도메인 네임 시스템 쿼리를 전달받는 제 1 단계; 상기 도메인 네임 시스템 쿼리를 버전 4 인터넷 프로토콜 주소로 변환하여 버전 4 도메인 네임 시스템으로 전송하는 제 2 단계; 버전 4 도메인 네임 시스템으로부터 상기 버전 4 인터넷 프로토콜을 사용하는 시스템의 주소를 전달받아 버전 6 인터넷 프로토콜로 변환하여 버전 6 도메인 네임 시스템으로 전송하는 제 3 단계; 및 상기 전달받은 버전 4 인터넷 프로토콜을 사용하는 시스템의 주소로 전달하려는 패킷을 받아, 맵핑 테이블을 검사한 후 상기 패킷을 전달하는 제 4 단계를 포함하는 것을 특징으로 한다.In addition, another method of the present invention, in the Internet protocol version conversion method using the Internet protocol conversion apparatus, receiving a domain name system query for knowing the address of the system using the version 4 Internet protocol in the version 6 domain name system Stage 1; Converting the domain name system query into a version 4 Internet protocol address and transmitting to a version 4 domain name system; A third step of receiving an address of a system using the version 4 internet protocol from a version 4 domain name system, converting the address to a version 6 internet protocol, and transmitting the address to the version 6 domain name system; And receiving a packet to be delivered to an address of a system using the received version 4 Internet protocol, inspecting a mapping table, and delivering the packet.

한편, 본 발명은, 프로세서를 구비한 인터넷 프로토콜 변환장치에, 버전 4 도메인 네임 시스템(DNS)로부터 버전 6 인터넷 프로토콜을 사용하는 시스템의 주소를 묻는 도메인 네임 시스템(DNS) 쿼리를 받아 버전 6 도메인 네임 시스템으로 상기 도메인 네임 시스템 쿼리를 보내는 제 1 기능; 상기 도메인 네임 시스템 쿼리에 대한 응답으로 버전 6 도메인 네임 시스템으로부터 버전 6 인터넷 프로토콜을 사용하는 시스템의 주소를 전달받는 제 2 기능; 상기 버전 6 인터넷 프로토콜을 사용하는 시스템의 주소를 버전 4 인터넷 프로토콜 주소로 맵핑하는 제 3 기능; 상기 맵핑된 버전 4 인터넷 프로토콜 주소를 상기 제 1 단계의 응답으로 전송하는 제 4 기능; 및 버전 4 인터넷 프로토콜을 사용하는 시스템이 버전 6 인터넷 프로토콜을 사용하는 시스템으로 보내는 패킷을 받아 주소 맵핑 테이블을 검사하여 상기 맵핑된 버전 4 인터넷 프로토콜 주소 대신 버전 6 인터넷 프로토콜 주소로 변환하여 상기 변환된 버전 6 인터넷 프로토콜 주소로 패킷을 전송하는 제 5 기능을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공한다.Meanwhile, the present invention receives a domain name system (DNS) query from the version 4 domain name system (DNS) for an address of a system using the version 6 internet protocol, and receives a version 6 domain name from the version 4 domain name system (DNS). A first function of sending the domain name system query to a system; A second function of receiving an address of a system using a version 6 internet protocol from a version 6 domain name system in response to the domain name system query; A third function of mapping an address of a system using the version 6 internet protocol to a version 4 internet protocol address; A fourth function of sending the mapped version 4 internet protocol address in response to the first step; And the system using the version 4 internet protocol receives a packet sent to the system using the version 6 internet protocol, examines an address mapping table, and converts the address mapping table into a version 6 internet protocol address instead of the mapped version 4 internet protocol address. A computer readable recording medium having recorded thereon a program for realizing a fifth function of transmitting a packet to an Internet protocol address is provided.

또한, 본 발명은, 프로세서를 구비한 인터넷 프로토콜 변환장치에, 버전 6 도메인 네임 시스템에서 버전 4 인터넷 프로토콜을 사용하는 시스템의 주소를 알기위한 도메인 네임 시스템 쿼리를 전달받는 제 1 기능; 상기 도메인 네임 시스템 쿼리를 버전 4 인터넷 프로토콜 주소로 변환하여 버전 4 도메인 네임 시스템으로 전송하는 제 2 기능; 버전 4 도메인 네임 시스템으로부터 상기 버전 4 인터넷 프로토콜을 사용하는 시스템의 주소를 전달받아 버전 6 인터넷 프로토콜로 변환하여 버전 6 도메인 네임 시스템으로 전송하는 제 3 기능; 및 상기 전달받은 버전 4 인터넷 프로토콜을 사용하는 시스템의 주소로 전달하려는 패킷을 받아, 맵핑 테이블을 검사한 후 상기 패킷을 전달하는 제 4 기능을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공한다.The present invention also provides an Internet protocol conversion apparatus having a processor, comprising: a first function of receiving a domain name system query for knowing an address of a system using a version 4 internet protocol in a version 6 domain name system; A second function of translating the domain name system query into a version 4 internet protocol address and transmitting it to a version 4 domain name system; A third function of receiving an address of a system using the version 4 internet protocol from a version 4 domain name system and converting the address of the system using the version 4 internet protocol to a version 6 internet protocol; And receiving a packet to be delivered to an address of a system using the received version 4 Internet protocol, inspecting a mapping table, and recording a computer readable recording medium having recorded a program for realizing a fourth function of delivering the packet. to provide.

상술한 목적, 특징들 및 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해 질 것이다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명한다.The above objects, features and advantages will become more apparent from the following detailed description taken in conjunction with the accompanying drawings. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1 은 일반적인 냇-피티(NAT-PT) 모듈의 구성예시도이다.1 is an exemplary configuration diagram of a general Nat-PT module.

도면에서, "100"은 냇-피티(NAT-PT) 모듈, "120"은 IPv6 네트워크, 그리고 "130"은 IPv4 네트워크를 각각 나타낸다.In the figure, "100" represents a NAT-PT module, "120" represents an IPv6 network, and "130" represents an IPv4 network, respectively.

또한, 냇-피티(NAT-PT) 모듈(100)은 디엔에스-에이엘지(ALG : Application Level Gateway)(101), 에프티피-에이엘지(ALG : Application Level Gateway)(102), 전송제어프로토콜/사용자데이터그램프로토콜(TCP/UDP)(103), 냇(NAT : Network Address Translation)(104), 피티(PT : Protocol Translation)(105), IPv6/IPv4 맵핑 테이블(mapping table)(106), 주소 풀(Addr.Pool)(IPv4)(107), 패킷 캡쳐 필터(Packet Capture Filter)(108), IPv6(109), 닉(NIC : Network Interface Card)(110), IPv4(111), 그리고 닉(NIC : Network Interface Card)(112)를 포함한다.In addition, the NAT-PT module 100 includes an application level gateway (ALG) 101, an application level gateway (ALG) 102, and a transmission control protocol. TCP / UDP (103), Network Address Translation (NAT) (104), Protocol Translation (PT) (105), IPv6 / IPv4 mapping table (106), Address Pool (IPr4) (107), Packet Capture Filter (108), IPv6 (109), NIC (Network Interface Card) 110, IPv4 (111), and Nick (NIC: Network Interface Card) 112.

상기 냇-피티(NAT-PT)는 알에프씨2765(RFC2765 : Request for Comments 2765)에 규정되어 있는 SIIT(Stateless IP/ICMP Translation)(105)에 의해서 IPv4 패킷과 IPv6 패킷을 상호 변환하고, 상기 상호 변환된 패킷을 알에프씨1631(RFC1631)에 규정된 냇(Network Address Translation) 알고리즘에 의거하여 한정된 IPv4 주소 풀(Pool)(107)을 이용하여 IPv4 네트워크(130)와 IPv6 네트워크(120)를 상호 연동시켜 주는 역할을 한다.The NAT-PT converts an IPv4 packet and an IPv6 packet by the SIIT (Stateless IP / ICMP Translation) 105 specified in RFC 2765 (RFC2765: Request for Comments 2765). Interworking the IPv4 network 130 and the IPv6 network 120 using the limited IPv4 address pool 107 based on the Network Address Translation algorithm specified in RFC1631. It plays a role.

한편, 상기 피티(PT)(105)는 에스아이아이티(SIIT)를 포함하고 있다.On the other hand, the PT 105 includes SIIT.

도 2a 및 2b 는 일반적인 IPv4와 IPv6 헤더의 구성예시도이다.2A and 2B are exemplary diagrams of configurations of general IPv4 and IPv6 headers.

도 2a는 IPv4 헤더(Header)를 나타내고, 도 2b는 IPv6 헤더를 각각 나타낸다.FIG. 2A shows an IPv4 header, and FIG. 2B shows an IPv6 header.

상기 도 2a 및 2b를 이용하여 SIIT(Stateless IP(Internet Protocol)/ICMP(Internet Control Message Protocol Translation) 알고리즘에 대해 설명하면 다음과 같다.2A and 2B, a stateless IP (Internet Protocol) / ICMP (Internet Control Message Protocol Translation) algorithm is described as follows.

먼저, IPv4 헤더에서 IPv6 헤더로 변환하는 방법은 4비트 버전(220)을 "6"으로 셋팅한다.First, the method for converting from an IPv4 header to an IPv6 header sets the 4-bit version 220 to "6".

그리고, 8비트 트래픽 클래스(221)에 IPv4 헤더의 8비트 서비스 형태 값(203)을 가져온다. 이때, 상기 8비트 트래픽 클래스(221)는 무조건 "0"으로 셋팅 가능하다.The 8-bit service type value 203 of the IPv4 header is then obtained to the 8-bit traffic class 221. At this time, the 8-bit traffic class 221 can be set to "0" unconditionally.

다음으로, 플로우 컨트롤(Flow Control)(222)은 모두 "0"비트로 셋팅한다.Next, the flow control 222 is all set to the "0" bit.

패이로드 길이(Payload Length)(223)는 IPv4 헤더의 16비트 전체 길이(204) 값을 셋팅한다. 여기서, 16비트 전체 길이(204)는 헤더의 크기와 옵션(213) 길이의 합이다.The payload length 223 sets the 16 bit full length 204 value of the IPv4 header. Here, the 16 bit full length 204 is the sum of the size of the header and the length of the option 213.

넥스트 헤더(224)는 IPv4 헤더의 8비트 프로토콜(209) 값을 가져온다.Next header 224 retrieves the 8-bit protocol 209 value of the IPv4 header.

홉 리미트(Hop Limit)(225)는 IPv4 헤더의 8비트 타임 투 리브(Time to Live)(208) 값을 가져온다.The hop limit 225 takes the 8 bit Time to Live 208 value of the IPv4 header.

소스 주소(226)의 하위 32비트는 IPv4 헤더의 32비트 소스 아이피 주소(211)를 그대로 가져오고, 96비트는 "0::ffff"로 채운다.The lower 32 bits of the source address 226 take the 32 bit source IP address 211 of the IPv4 header as it is, and fill the 96 bits with "0 :: ffff".

목적지 주소(227)의 하위 32비트는 IPv4 헤더의 32비트 목적지 아이피 주소(212)를 그대로 가져오고, 96비트는 "0::ffff:0"로 채운다.The lower 32 bits of the destination address 227 take the 32 bits destination IP address 212 of the IPv4 header as it is, and fill the 96 bits with "0 :: ffff: 0".

반대로, IPv6 헤더에서 IPv4 헤더로의 변환은 다음과 같다.In contrast, the conversion from the IPv6 header to the IPv4 header is as follows.

4비트 버전(201)은 4로 셋팅한다.The 4-bit version 201 is set to four.

4비트 헤더길이(202)는 5로 셋팅한다.The 4-bit header length 202 is set to five.

8비트 서비스 형태(203)는 IPv6 헤더의 8비트 트래픽 클래스(221) 값을 가져온다. 이때, 상기 8비트 서비스 형태(203)는 무조건 "0"으로 셋팅 가능하다.The 8 bit service type 203 gets the 8 bit traffic class 221 value of the IPv6 header. At this time, the 8-bit service type 203 can be set to "0" unconditionally.

16비트 전체 길이(204)는 IPv6 헤더의 패이로드 길이(223) 값과 IPv4 헤더 크기 합과 같다.The 16 bit full length 204 is equal to the sum of the payload length 223 value of the IPv6 header and the IPv4 header size.

16비트 식별자(205)는 모드 "0"이다.The 16 bit identifier 205 is in mode "0".

3비트 플래그(206)는 프래그먼트 이상이면 "0", 프래그먼트 할 수 없으면 "1"로 셋팅한다.The 3-bit flag 206 is set to "0" if the fragment is greater than or equal to "1" if the fragment cannot be fragmented.

13비트 프래그먼트 옵션(207)은 모두 "0"로 셋팅한다.The 13-bit fragment options 207 are all set to "0".

8비트 타임 투 리브(208)는 IPv6 헤더의 홉 리미트(225) 값을 가져온다.The 8-bit time-to-leave 208 gets the hop limit 225 value of the IPv6 header.

8비트 프로토콜(209)은 IPv6 헤더의 넥스트 헤더(224) 값을 가져온다.The 8 bit protocol 209 gets the next header 224 value of the IPv6 header.

32비트 소스 아이피 주소(211)는 IPv6 헤더의 소스 주소(226)의 하위 32비트를 가져온다.The 32 bit source IP address 211 gets the lower 32 bits of the source address 226 of the IPv6 header.

32비트 목적지 아이피 주소(212)는 IPv6 헤더의 목적지 주소(227)의 하위 32비트를 가져온다.The 32 bit destination IP address 212 gets the lower 32 bits of the destination address 227 of the IPv6 header.

상기와 같은 방법에 의해서 IPv4 헤더에서 IPv6 헤더로 변환하거나, IPv6 헤더에서 IPv4 헤더로 변환할 수 있다.By the above method, the IPv4 header may be converted into an IPv6 header or an IPv6 header may be converted into an IPv4 header.

도 3 은 본 발명에 따른 IPv4를 IPv6으로 변환하는 방법에 대한 일실시예 설명도이다.3 is a diagram illustrating an embodiment of a method for converting IPv4 to IPv6 according to the present invention.

먼저, 본 발명에 따른 IPv4를 IPv6으로 변환하는 방법에 대한 하기 일실시예 설명하기 위하여 몇 가지 가정을 한다.First, some assumptions will be made to explain one embodiment of a method for converting IPv4 to IPv6 according to the present invention.

먼저, IPv4를 사용하는 운용자의 유알엘(URL)을 "v4.etri.re.kr", 아이피(IP)를 "129.254.165.141"이라 하고, IPv6을 사용하는 운용자의 유알엘(URL)을 "v6.huneed.com", 아이피(IP)를 "fec0::2a0:c9ff:fec8:1"이라 한다.First, the URL of the operator using the IPv4 (URL) is "v4.etri.re.kr", the IP (IP) is called "129.254.165.141", and the operator's URL using the IPv6 "v6. huneed.com ", IP is called" fec0 :: 2a0: c9ff: fec8: 1 ".

또한, 버전 4 도메인 네임 시스템(302)의 아이피(IP)는 "129.254.15.15"이고, 도메인은 "etri.re.kr", 그리고 네임서버는 "132.146.134.184"이다.In addition, the IP of the version 4 domain name system 302 is "129.254.15.15", the domain is "etri.re.kr", and the name server is "132.146.134.184".

버전 6 도메인 네임 시스템(304)의 아이피(IP)는 "fec0:f1::2a0:c9ff:fec8:eaab"이고, 도메인은 "huneed.com", 그리고 네임서버는 "aaaa::ffff::129.254.15.15"이다.The IP of version 6 domain name system 304 is "fec0: f1 :: 2a0: c9ff: fec8: eaab", the domain is "huneed.com", and the name server is "aaaa :: ffff :: 129.254. .15.15 ".

먼저, "v4.etri.re.kr"(301)에서 "v6.huneed.com"(305)으로 패킷을 보내기 위해 버전 4 도메인 네임 시스템(DNS)(302)으로 도메인 네임 시스템(DNS) 쿼리를 보내어 "v6.huneed.com"(305)의 주소를 묻는다.First, a domain name system (DNS) query is sent from the "v4.etri.re.kr" (301) to the version 4 domain name system (DNS) 302 to send the packet to "v6.huneed.com" (305). Send and ask for the address of "v6.huneed.com" (305).

다음으로, 버전 4 도메인 네임 시스템(DNS)(302)은 냇-피티(NAT-PT)(303)로 다시 "v6.huneed.com"(305)에 대한 도메인 네임 시스템(DNS) 쿼리를 보낸다.Next, version 4 domain name system (DNS) 302 sends a domain name system (DNS) query for "v6.huneed.com" 305 back to Nat-PT (303).

이때, 패킷의 소스 주소(SA)는 버전 4 도메인 네임 시스템(DNS)(302)의 주소인 "129.254.15.15"가 되고, 목적지 주소(DA)는 냇-피티(NAT-PT)(303)의 IPv4 주소인 "132.146.134.184"가 된다.At this time, the source address (SA) of the packet is "129.254.15.15" which is the address of the version 4 domain name system (DNS) 302, and the destination address (DA) is the NAT-PT (303). IPv4 address "132.146.134.184".

다음으로, 냇-피티(NAT-PT)(303)는 다시 버전 6 도메인 네임 시스템(DNS)(304)으로 "v6.huneed.com"(305)에 대한 쿼리를 던진다. 이때, 쿼리 패킷의 소스 주소(SA)는 냇-피티(NAT-PT)(303)의 IPv6주소인 "aaaa:ffff:129.254.15.15"가 되고, 목적지 주소(DA)는 버전 6 도메인 네임 시스템(DNS)(304)의 주소인 "fec0:f1::2a0:c9ff:fec8:eaab"가 된다.Next, NAT-PT 303 again throws a query for "v6.huneed.com" 305 to version 6 domain name system (DNS) 304. At this time, the source address (SA) of the query packet is "aaaa: ffff: 129.254.15.15", which is the IPv6 address of the NAT-PT (303), and the destination address (DA) is a version 6 domain name system ( DNS address 304 is " fec0: f1 :: 2a0: c9ff: fec8: eaab ".

다음으로, 버전 6 도메인 네임 시스템(DNS)(304)은 냇-피티(NAT-PT)가 던진 쿼리패킷에 대한 응답으로 "v6.huneed.com"(305)의 주소인 "feo0:f1::2a0:o9ff:fec9:1"을 냇-피티(NAT-PT)(303)에게 전달한다.Next, version 6 domain name system (DNS) 304 responds to the query packet thrown by NAT-PT, in response to the "feo0: f1 ::" address of "v6.huneed.com" (305). 2a0: o9ff: fec9: 1 "to Nat-PT 303.

다음으로, 응답을 받은 냇-피티(NAT-PT)(303)는 주소 매핑 작업을 한다.Next, the received NAT-PT 303 performs address mapping.

상기 주소 매핑 작업은, "fec0:f1::2a0:c9ff:fec8:1" 대신에 IPv4 주소 풀(Address Pool)(306)에서 사용되고 있지 않는 주소인 "132.146.134.180"을 골라 매핑(308)시킨다.The address mapping operation selects and maps 132.146.134.180, an address not being used in the IPv4 address pool 306, instead of “fec0: f1 :: 2a0: c9ff: fec8: 1”. .

다음으로, 냇-피티(NAT-PT)(303)는 상기 매핑된 주소인 "132.146.134.180"을 이용해 버전 4 도메인 네임 시스템(DNS)(302)의 도메인 네임 시스템(DNS) 쿼리에 응답한다.Next, the NAT-PT 303 responds to a Domain Name System (DNS) query of the Version 4 Domain Name System (DNS) 302 using the mapped address "132.146.134.180".

다음으로, "v4.etri.re.kr"(301)은 "v6.huneed.com"(305)의 주소를 "132.146.134.180"으로 간주하고, 소스 주소에 자신의 주소인 "129.254.165.141"을, 목적지 주소에 "132.146.134.180"을 실어 "v6.huneed.com"(305)으로 패킷을 보낸다.Next, "v4.etri.re.kr" 301 regards the address of "v6.huneed.com" 305 as "132.146.134.180", and the source address is its own address "129.254.165.141". The packet is sent to "v6.huneed.com" 305 with "132.146.134.180" in the destination address.

다음으로, 냇-피티(NAT-PT)(303)는 이 패킷을 받아 주소 매핑 테이블을 검사한 후, 패킷의 목적지 주소에 "132.146.134.180" 대신 "fec0:f1::2a0:c9ff:fec9:1"을 넣고, 소스 주소(SA)인 "129.254.165.141"의 앞에 "aaaa::ffff"를 붙여서 IPv6주소로 변환한다.Next, the NAT-PT 303 receives this packet, examines the address mapping table, and then replaces "fec0: f1 :: 2a0: c9ff: fec9:" with the packet's destination address instead of "132.146.134.180". Enter 1 "and convert it to an IPv6 address by prefixing the source address" 129.254.165.141 "with" aaaa :: ffff ".

다음으로, IPv6로 변환된 패킷을 "v6.huneed.com"(305)으로 보낸다.Next, an IPv6 converted packet is sent to "v6.huneed.com" 305.

도 4 는 본 발명에 따른 IPv6을 IPv4로 변환하는 방법에 대한 일실시예 설명도이다.4 is a diagram illustrating an embodiment of a method for converting IPv6 to IPv4 according to the present invention.

먼저, 본 발명에 따른 IPv6을 IPv4로 변환하는 방법에 대한 하기 일실시예 설명하기 위하여 몇 가지 가정을 한다.First, some assumptions will be made to explain one embodiment of a method for converting IPv6 to IPv4 according to the present invention.

먼저, IPv4를 사용하는 운용자의 유알엘(URL)을 "v4.etri.re.kr", 아이피(IP)를 "129.254.165.142"이라 하고, IPv6을 사용하는 운용자의 유알엘(URL)을 "v6.huneed.com", 아이피(IP)를 "fec0::2a0:c9ff:fec8:2"라 한다.First, the URL of the operator using the IPv4 (URL) "v4.etri.re.kr", the IP (IP) is called "129.254.165.142", and the operator's URL using the IPv6 "v6. huneed.com ", IP is called" fec0 :: 2a0: c9ff: fec8: 2 ".

또한, 버전 4 도메인 네임 시스템(302)의 아이피(IP)는 "129.254.15.15"이고, 도메인은 "etri.re.kr", 그리고 네임서버는 "132.146.134.184"이다.In addition, the IP of the version 4 domain name system 302 is "129.254.15.15", the domain is "etri.re.kr", and the name server is "132.146.134.184".

버전 6 도메인 네임 시스템(304)의 아이피(IP)는 "fec0:f1::2a0:c9ff:fec8:eaab"이고, 도메인은 "huneed.com", 그리고 네임서버는 "aaaa::ffff::129.254.15.15"이다.The IP of version 6 domain name system 304 is "fec0: f1 :: 2a0: c9ff: fec8: eaab", the domain is "huneed.com", and the name server is "aaaa :: ffff :: 129.254. .15.15 ".

먼저, "v6.huneed.com"(405)은 "v4.etri.re.kr"(401)의 IP 주소를 알아내기 위해 버전 4 도메인 네임 시스템(DNS)(402)에게 도메인 네임 시스템(DNS) 쿼리를보낸다.First, "v6.huneed.com" (405) tells the version 4 domain name system (DNS) 402 the domain name system (DNS) to determine the IP address of "v4.etri.re.kr" (401). Send a query.

다음으로, 버전 6 도메인 네임 시스템(DNS)(404)은 다시 버전 4 도메인 네임 시스템(DNS)(402)에게 도메인 네임 시스템(DNS) 쿼리를 보낸다. 이때, 쿼리 패킷의 소스 주소(SA)는 버전 6 도메인 네임 시스템(DNS)(404)의 주소인 "fec0:f1::2a0:c9ff:fec8:eaab"가 되고, 목적지 주소(DA)는 버전 4 도메인 네임 시스템(DNS)(402)의 주소인 "129.254.15.15"를 IPv6 형식으로 변환시킨 주소 "aaaa::ffff:129.254.15.15"이다.Next, version 6 domain name system (DNS) 404 again sends a domain name system (DNS) query to version 4 domain name system (DNS) 402. At this time, the source address (SA) of the query packet becomes "fec0: f1 :: 2a0: c9ff: fec8: eaab", which is the address of the version 6 domain name system (DNS) 404, and the destination address (DA) is version 4 The address "aaaa :: ffff: 129.254.15.15" converted from the domain name system (DNS) 402 address "129.254.15.15" into IPv6 format.

다음으로, 냇-피티(NAT-PT)(403)는 상기 "aaaa::ffff:129.254.15.15"번의 패킷을 받아서 목적지 주소(DA)의 "prefix(aaaa:ffff)"를 제거하여, 목적지 주소(DA)를 "129.254.15.15"로 바꾸고, 버전 6 도메인 네임 시스템(DNS)(404) 소스 주소(SA)를 매핑 테이블을 찾아 "132.146.134.184"로 바꾼다.Next, the NAT-PT 403 receives the packet "aaaa :: ffff: 129.254.15.15" and removes "prefix (aaaa: ffff)" of the destination address DA, thereby deciding a destination address. (DA) to "129.254.15.15" and the version 6 domain name system (DNS) 404 source address (SA) to find the mapping table and change to "132.146.134.184".

다음으로, 상기에서 변환된 패킷을 버전 4 도메인 네임 시스템(DNS)(402)으로 보낸다. 그리고, 버전 4 도메인 네임 시스템(DNS)(402)은 이에 응답하여 "v4.etri.re.kr"(401)의 주소 주소를 버전 6 도메인 네임 시스템(DNS)(404)에게 응답한다.Next, the converted packet is sent to the version 4 domain name system (DNS) 402. The version 4 domain name system (DNS) 402 then responds to the version 6 domain name system (DNS) 404 with the address of " v4.etri.re.kr "

다음으로, 냇-피티(NAT-PT)(403)는 상기의 응답 패킷을 받아 프리픽스(prefix)를 더하고 매핑테이블을 찾아, 목적지 주소인 "132.146.134.184"를 버전 6 도메인 네임 시스템(DNS)(404)의 IPv6 주소인 "fec0:f1::2a0:c9ff:fec8:eaab"로 바꾸어 버전 6 도메인 네임 시스템(DNS)(404)으로 보낸다.Next, the NAT-PT 403 receives the response packet, adds a prefix, finds a mapping table, and converts the destination address “132.146.134.184” into a version 6 domain name system (DNS) ( 404) to the version 6 domain name system (DNS) 404. " fec0: f1 :: 2a0: c9ff: fec8: eaab "

또한, 리소스 데이터인 "v4.etri.re.kr"(401)의 주소에 프리픽스(prefix)를 붙여 "aaaa:ffff:129.254.165.142"로 만든다.In addition, a prefix is added to the address of the resource data "v4.etri.re.kr" (401) to make "aaaa: ffff: 129.254.165.142".

다음으로, "v6.huneed.com"(405)은 버전 6 도메인 네임 시스템(DNS)(404)으로부터 "v4.etri.re.kr"(401)의 주소를 알았으므로, 목적지 주소(DA)에 "aaaa:ffff:129.254.165.142"를, 소스 주소(SA)에 자신의 주소인 "fec0:f1::2a0:o9ff:fec8:2"를 입력해 패킷을 보낸다.Next, "v6.huneed.com" 405 knows the address of "v4.etri.re.kr" 401 from the version 6 domain name system (DNS) 404, and thus the destination address (DA). Send the packet by entering "aaaa: ffff: 129.254.165.142" in the source address (SA), "fec0: f1 :: 2a0: o9ff: fec8: 2".

다음으로, 냇-피티(NAT-PT)(403)는 상기의 패킷을 받아, 매핑 테이블을 검색한 후 "v6.huneed.com"(405)의 IPv4주소를 찾아, 소스 주소(SA)를 "132.146.134.180"으로 바꾸고 목적지 주소(DA)의 프리픽스 "aaaa:ffff"를 제거한 후 패킷을 "v4.etri.re.kr"(401)로 보낸다.Next, the NAT-PT 403 receives the packet, searches the mapping table, finds the IPv4 address of "v6.huneed.com" 405, and selects the source address (SA). 132.146.134.180 ", remove the prefix" aaaa: ffff "from the destination address (DA), and send the packet to" v4.etri.re.kr "(401).

도 5 는 본 발명에 따른 냇-피티(NAT-PT)를 이용한 인터넷 프로토콜 변환장치의 일실시예 구성도이다.5 is a configuration diagram of an internet protocol conversion apparatus using NAT-PT according to the present invention.

도 5 에 도시된 바와 같이, 본 발명에 따른 인터넷 프로토콜 변환장치는, 계층 1의 프로토콜 및 전기적 신호로 감싸여진 패킷의 에러를 검사하고 처리하기 위한 피에이치와이 칩(PHY Chip)(501, 511), 상기 피에이치와이 칩(PHY Chip : Physical Layer Interface Chip)(501, 511)에서 출력된 신호에서 계층 2의 프로토콜을 계층 3의 프로토콜 (IPv4 및 IPv6)로 만들어서 보내주는 맥(MAC)(502, 510), 상기 맥(MAC)(502, 510)에서 출력된 패킷을 비어있는 냇-피티 모듈(505, 506)에 분배하고, 처리 대기중인 패킷을 아이피 패킷 버퍼(504, 509)에 저장하기 위한 아이피 다중화기/역다중화기(IP MUX/DEMUX)(503, 508), 상기 아이피 다중화기/역다중화기(IP MUX/DEMUX)(503, 507)에서 출력된 패킷에서 IPv4 패킷과 IPv6 패킷 간의 헤더 및 주소변환을 해주는 상기 SIIT(505), 상기 아이피 다중화기/역다중화기(IP MUX/DEMUX)(503, 507)에서 출력된 패킷에서 디엔에스/에프티피(DNS/FTP) 패킷만을 받아서 디엔에스 서버에 디엔에스 쿼리 패킷을 보내어 아이피 주소를 알아내어 맵핑 테이블을 업데이트하고, 에프티피 패킷을 열어서 에프티피 명령에 있는 호스트 주소를 IPv4/IPv6 간에 변환하는 DNS/FTP ALG(506), 그리고 상기 냇-피티(NAT-PT) 모듈(505, 506)에서 필요한 IPv4 주소의 풀을 저장하고, 냇-피티(NAT-PT) 모듈(505, 506)에서 발생된 IPv4와 IPv6 주소간의 매핑테이블을 저장하기 위한 맵핑 테이블 모듈(507)을 포함한다.As shown in FIG. 5, the Internet protocol conversion apparatus according to the present invention includes a PHY chip 501 and 511 for inspecting and processing an error of a packet wrapped with a layer 1 protocol and an electrical signal. MAC (502, 510) for sending a layer 2 protocol to a layer 3 protocol (IPv4 and IPv6) from the signal output from the PHY Chip (PHY Chip: 501, 511). In order to distribute packets output from the MACs 502 and 510 to the empty Nat-Piti modules 505 and 506, and to store packets waiting to be processed in the IP packet buffers 504 and 509, Header and address conversion between IPv4 packet and IPv6 packet in the packet output from the Firearm / Demultiplexer (IP MUX / DEMUX) (503, 508) and the IP Multiplexer / Demultiplexer (IP MUX / DEMUX) (503, 507). The SIIT (505), the IP multiplexer / demultiplexer (IP MUX / DEMUX) (503, 50 Receives only DS / FTP packet from the packet output from 7), sends DS query packet to DS server, finds IP address, updates the mapping table, and opens the RF packet to send the RF command. DNS / FTP ALG 506 for translating host addresses between IPv4 / IPv6, and a pool of IPv4 addresses required by the NAT-PT module 505, 506, and NAT- PT) module 505, 506 includes a mapping table module 507 for storing a mapping table between IPv4 and IPv6 addresses.

상기 본 발명에 따른 인터넷 프로토콜 변환장치의 구성요소를 좀 더 상세히 설명하면 다음과 같다.The components of the Internet protocol conversion apparatus according to the present invention will be described in more detail as follows.

먼저, 피에이치와이 칩(PHY Chip)(501, 511)은 계층 1(Layer 1)을 담당하는 칩으로서, 패킷(예를 들면, 이더넷(Ethernet), 소넷(SONET), 비동기전송모드(ATM) 등에 이용되는 패킷)의 전기적 신호처리를 담당한다.First, PHY chips 501 and 511 are chips that are responsible for Layer 1, and may be configured to generate packets (for example, Ethernet, Sonnet, Asynchronous Transfer Mode (ATM), etc.). Responsible for electrical signal processing of packets).

맥(MAC)(502, 510)은 계층 2(Layer 2)를 담당하는 칩으로서, 완전한 IPv4/IPv6 패킷을 계층 1에 맞게 캡슐화/디캡슐화한다.The MACs 502 and 510 are chips that are responsible for Layer 2, encapsulating / decapsulating a complete IPv4 / IPv6 packet for Layer 1.

아이피 다중화기/역다중화기(IP MUX/DEMUX)(503, 508)은 맥(MAC)(502, 510)에서 생성된 아이피(IP) 패킷을 비어있는 냇-피티(NAT-PT) 모듈(505, 506)에 분배하고, 처리 대기중인 패킷을 아이피 패킷 버퍼(IP Packet Buffer)(504, 509)에 저장한다.IP MUX / DEMUX (503, 508) is an empty Nat-PT (NAT-PT) module 505, the IP (IP) packets generated in the MAC (502, 510) 506, and the packet waiting to be processed is stored in the IP Packet Buffer 504,509.

아이피 패킷 버퍼(IP Packet Buffer)(504, 509)는 아이피 다중화기/역다중화기(IP MUX/DEMUX)(503, 508)가 처리 처리대기중인 패킷을 저장하는 기억장치이다.The IP Packet Buffers 504 and 509 are storage devices for storing packets that are waiting to be processed by the IP MUX / DEMUX 503 and 508.

상기 냇-피트 모듈(505, 506)은 SIIT(505)와 DNS/FTP ALG(506)로 구성된다.The nat-feet modules 505 and 506 are composed of an SIIT 505 and a DNS / FTP ALG 506.

SIIT(505)는 SIIT 알고리즘에 의해 맵핑 테이블 모듈(507)을 참고하여 IPv4 패킷을 IPv6 패킷으로, IPv6 패킷을 IPv4 패킷으로 변환한다.The SIIT 505 converts an IPv4 packet into an IPv6 packet and an IPv6 packet into an IPv4 packet by referring to the mapping table module 507 by the SIIT algorithm.

DNS/FTP ALG(506)는 DNS/FTP 패킷만을 아이피 다중화기/역다중화기(503, 508)로부터 받아서 DNS 서버에 DNS 쿼리 패킷을 보내어 아이피 주소를 알아내어 맵핑 테이블 모듈(507)을 업데이트하고, FTP 패킷을 열어서 FTP 명령에 있는 호스트 주소를 IPv4/IPv6 간 변환한다.The DNS / FTP ALG 506 receives only the DNS / FTP packet from the IP multiplexer / demultiplexer 503 and 508, sends a DNS query packet to the DNS server to find the IP address, updates the mapping table module 507, and FTP. Open the packet to convert the host address in the FTP command between IPv4 / IPv6.

맵핑 테이블 모듈(Mapping Table Module)(506)은 각각의 냇-피티(NAT-PT) 모듈(505)에서 생성된 IPv4와 IPv6 주소 매핑테이블과 IPv4 주소 풀(address Pool)이 저장되고 업데이트 되는 모듈이다.The mapping table module 506 is a module for storing and updating the IPv4 and IPv6 address mapping table and the IPv4 address pool generated in each NAT-PT module 505. .

즉, 본 발명은 냇-피티 모듈(505, 506)들을 분리하여 계층 3(IP 계층) 레벨에서 처리할 수 있는 다량의 일반적인 패킷은 SIIT(Stateless IP/ICMP Translation Algorithm) 모듈(505)에서 병렬적으로 처리하고, 계층 4(FTP, DNS 계층)에서 처리해야만 하는 도메인 네임 시스템(DNS) 패킷이나 에프티피(FTP) 패킷의 경우는 아이피 다중화기/역다중화기(IP MUX/DEMUX)(503, 508)에서 분리하여 에이엘지(ALG : Application Level Gateway)에 보냄으로써 패킷의 처리를 고속화 할 수 있다.That is, according to the present invention, a large amount of general packets that can separate the Nat-Piti modules 505 and 506 to be processed at the layer 3 (IP layer) level are parallel in the stateless IP / ICMP Translation Algorithm (SIIT) module 505. IP MUX / DEMUX (503, 508) for domain name system (DNS) packets or FTP packets that must be processed at layer 4 (FTP, DNS layer). This can be speeded up by processing the packet by sending it to the Application Level Gateway (ALG).

한편, 본 발명에 따른 병렬 냇-피티를 이용한 인터넷 프로토콜 변환장치를 사용하기 위하여 물리계층 1, 2(Layer 1, 2)로 널리 쓰이고 있는 이더넷(Ethernet)100Mbps-티엑스(TX)(IEEE 802.3) 표준을 이용하여 본 발명을 구현한 예를 설명한다.On the other hand, Ethernet 100Mbps-Tx (TX) (IEEE 802.3) widely used as the physical layer 1, 2 (Layer 1, 2) in order to use the Internet protocol conversion apparatus using a parallel Nat-Piti according to the present invention An example of implementing the present invention using the standard will be described.

먼저, 이더넷 프레임 또는 맥(MAC) 프레임의 구조는 하기 표 1과 같다.First, the structure of the Ethernet frame or MAC frame is shown in Table 1 below.

프리엠블Preamble 에스에프디Sfd 목적지 주소Destination address 소스 주소Source address 길이Length 정보Information 패드pad 에프씨에스FCS

여기서, 프리앰블(Preamble : 7 또는 8바이트)은 IEEE802.3 에서는 1과 0이 반복되는 7바이트의 비트열로 규정하고, 딕스(DIX) 2.0 이더넷(Ethernet)에서는 1과 0이 반복되는 7바이트의 비트열 이후에 "10101011"로 규정된 비트열 전체를 프리엠블(Preamble)이라고 한다. 프리엠블(Preamble)은 수신측 DTE(Data Terminal Equipment)의 PCS(Physical Coding Sublayer)계층에 있는 수신부가 수신되는 비트열로부터 수신클럭을 추출하여 비트동기를 맞출 수 있도록 1과 0이 반복되는 비트열로 구성된다. 즉, 프리엠블(Preamble)의 가장 큰 목적은 송신측과 수신측간의 송/수신속도를 일치시키기 위한 비트동기를 맞추는 것이다.Here, the preamble (Preamble: 7 or 8 bytes) is defined as a 7-byte bit string in which 1 and 0 are repeated in IEEE802.3, and 7 bytes in which 1 and 0 are repeated in Dix 2.0 Ethernet. The entire bit string defined as " 10101011 " after the bit string is called preamble. The preamble is a bit string in which 1 and 0 are repeated so that the bit can be synchronized by extracting the reception clock from the received bit string of the receiver in the Physical Coding Sublayer (PCS) layer of the receiving data terminal equipment (DTE). It consists of. That is, the biggest purpose of the preamble is to match the bit synchronization to match the transmission / reception speeds between the transmitting side and the receiving side.

에스에프디(SFD : Starting Frame Delimiter : 1바이트 : 10101011)는 수신측이 프리엠블(preamble)을 이용하여 수신클럭을 재생한 후, 에스에프디(SFD) 비트열 이후부터 8비트 단위로 바이트가 조합되어 있음을 알리기 위함이다. 즉, 에스에프디(SFD)의 의미는 비트열에서 바이트(byte) 단위를 식별하는 바이트(byte) 동기와 이 영역 다음부터의 바이트열이 유효한 프레임의 시작임을 알리는 프레임 동기용 비트열이다.Starting Frame Delimiter (SFD: 1 byte: 10101011) is a receiver that plays a reception clock using a preamble, and then the bytes are combined in units of 8 bits after the SFD bit string. It is to announce that there is. In other words, the meaning of SFD is a bit string for frame synchronization indicating that byte synchronization for identifying a byte unit in the bit string and that the byte string after this area is the start of a valid frame.

목적지 주소(Destination address (DA:6바이트))는 크게 두가지 종류로 구성된다.There are two main types of destination addresses (DA: 6 bytes).

먼저, 개개의 주소(Indivisual address)는 최하위비트(LSB) 값이 0인 주소로서, 각각의 목적지 이더넷(ethernet) 카드의 주소이다. 총 6바이트 영역인 목적지 주소의 구성은 앞의 3바이트는 블럭 아이디(block ID) 또는 오유아이(OUI : Organizationally Unique Identifier)라고 불리는 카드제조회사를 식별하는 코드로 지정되어 있다. 나머지 3바이트(24비트)는 개별적인 목적지를 식별한다.First, the individual address (Indivisual address) is the address of the least significant bit (LSB) value of 0, the address of each destination ethernet card. In the configuration of the destination address, which is a total of 6 bytes, the first 3 bytes are designated by a code that identifies a card manufacturer called a block ID or an organizationally unique identifier (OUI). The remaining three bytes (24 bits) identify the individual destinations.

다중의 주소(Multicast address)는 최하위비트(LSB) 값이 1인 주소이며 이것을 사용하는 예는 RFC-1112에 규정된 인터넷 멀티캐스트(Internet Multicast) 프로토콜이다. 그리고 모든 비트가 1인 주소는 모든 통신국에게 방송하는 방송주소 (Broadcast address)이다. 이 방송주소는 에이알피(ARP : Address Resolution Protocol), 알에이알피(RARP : Reverse ARP) 등에서 사용한다.The multicast address is the least significant bit (LSB) value of 1. An example of using this is the Internet Multicast protocol specified in RFC-1112. And an address with all bits of 1 is a broadcast address for broadcasting to all communication stations. This broadcast address is used by ARP (Address Resolution Protocol) and RRP (Reverse ARP).

소스 주소(Source address (SA:6바이트))는 송신측 맥(MAC) 주소이다. 일반적으로, 랜(LAN)카드는 자신의 이더넷 주소(Ethernet address)를 롬(ROM)에 기록하고 있다. 맥 컨트롤러(MAC controller)는 자신이 초기화 될 때, 이 롬(ROM)으로부터 주소를 읽어 내부의 레지스터(register)에 저장하고 있다가, 프레임의 송신시 상기 레지스터(register)의 내용을 읽어, 프레임의 소스 주소(SA)영역에 자동 삽입시킨다.The source address (SA: 6 bytes) is the sending MAC address. In general, a LAN card records its Ethernet address in a ROM. When the MAC controller initializes itself, it reads an address from this ROM and stores it in an internal register. When the frame is transmitted, the MAC controller reads the contents of the register and transmits the frame. Automatic insertion into source address (SA) field.

길이 식별자(Length Identifier 또는 이더타입(EtherType)영역이라 함)는 소스 주소(SA) 다음의 2바이트 영역으로서, IEEE 802.3 표준에서는 맥(MAC) 프레임의정보영역 길이를 표시하는 영역으로 사용된다. 하지만 딕스(DIX) 2.0 표준에서는 이 영역을 맥(MAC)프레임의 데이터부분에 실려있는 상위계층 프로토콜의 종류를 표시하는 이더타입(Ethertype) 영역으로 사용된다. 이러한 두가지 의미를 가지는 영역이 공존할 수 있도록, 이더타입(EtherType)의 값은 "0x0600" 이상의 값을 가진다. 참고로, 아이피(IP)의 이더타입(Ethertype) 코드는 "0x0800"이다.The length identifier (called the length identifier or the EtherType area) is a 2-byte area after the source address (SA), and is used as an area indicating the length of the information area of the MAC frame in the IEEE 802.3 standard. However, in the Dix 2.0 standard, this area is used as the Ethertype field, which indicates the type of higher-layer protocol contained in the data portion of the MAC frame. In order to coexist with these two meanings, the value of EtherType has a value of "0x0600" or more. For reference, the Ethertype code of IP is "0x0800".

정보(Information)는 데이터(Data)로서 최대길이는 1500바이트이다.Information is data and the maximum length is 1500 bytes.

패드(Pad)는 데이터 길이가 짧아서 맥(MAC) 프레임 최소길이 규정(64바이트 임)을 만족하지 못할 때, "0"으로 채워지는 영역이다. 이 영역의 길이는 "max(0, minFrameSize) - (DA + SA + LengthField + data + FCS))"로 계산된다.The pad is an area filled with " 0 " when the data length is too short to satisfy the MAC frame minimum length rule (64 bytes). The length of this area is calculated as "max (0, minFrameSize)-(DA + SA + LengthField + data + FCS))".

예를 들면, 1바이트의 데이터가 송신되는 경우 패딩(padding)의 길이는 "max(0, 64)-(6+6+2+1+4) = 64-19 = 45byte"이다.For example, when one byte of data is transmitted, the length of the padding is "max (0, 64)-(6 + 6 + 2 + 1 + 4) = 64-19 = 45 bytes".

에프씨에스(FCS(4바이트))는 프림블(Preamble)과 에스에프디(SFD) 부분을 제외한 유효한 맥(MAC) 프레임의 비트열에서 오류발생을 검사하기 위해 사용된다.FCS (4 bytes) is used to check for errors in the bit strings of valid MAC frames, except for the Preamble and SFD parts.

에프씨에스(FCS) 계산시 "X^32+X^26+X^23+X^16+X^12+X^11+X^10+X^8+X^7+X^5+X^4+X^2+X^1+1" 다항식이 사용된다.In calculation of FCS, "X ^ 32 + X ^ 26 + X ^ 23 + X ^ 16 + X ^ 12 + X ^ 11 + X ^ 10 + X ^ 8 + X ^ 7 + X ^ 5 + X ^ 4 + X ^ 2 + X ^ 1 + 1 "polynomials are used.

맥 컨트롤러(MAC controller)는 프레임 비트열을 송신하면서 동시에 송신 에프씨에스(FCS)를 계산하며, 정보영역 송신이 완료되면, 즉시 그동안 계산하였던 에프씨에스(FCS)를 덧붙여 송신한다. 수신시에도 맥 컨트롤러(MAC controller)는 수신 비트열을 받아들이면서 동시에 에프씨에스(FCS)를 계산하여 송/수신에프씨에스(FCS)가 일치하는지를 검사하고, 틀리는 경우에는 이 프레임의 수신을 무효화한다.The MAC controller transmits the frame bit stream and simultaneously calculates the transmission FCS. When the information area transmission is completed, the MAC controller immediately adds the FCS that has been calculated. Upon reception, the MAC controller accepts the received bit string and simultaneously calculates the FCS to check whether the transmitted / received FCS matches, and invalidates the reception of this frame.

한편, 100베이스-엑스(Base-X)의 계층구조는 다음의 도 6을 이용하여 좀 더 상세히 설명한다.Meanwhile, the hierarchical structure of 100 Base-X will be described in more detail with reference to FIG. 6.

도 6 은 일반적인 100베이스-엑스(Base-X)의 계층에 대한 일실시예 설명도이다.FIG. 6 is a diagram for explaining an embodiment of a general layer of 100 Base-X.

도 6 에 도시된 바와 같이, 100베이스-엑스(Base-X)의 계층은 맥(MAC)(601), 조정(Reconciliation)(602), 엠아이아이(MII)(603), 피씨에스(PCS)(604), 피엠에이(PMA)(605), 화이버 피엠디(Fiber PMD)(606), 화이버 엠디아이(Fiber MDI)(607), 티피 피엠디(TP PMD)(608), 티피 엠디아이(TP MDI)(609), 그리고 미디어(Media)(610)를 포함한다.As shown in FIG. 6, the layer of 100 Base-X includes MAC (601), Reconciliation (602), MII (603), PCS (PCS). (604), PMA (605), Fiber PMD (606), Fiber MDI (607), TP PMD (608), TPM TP MDI) 609, and Media 610.

100Base-TX 이더넷(Ethernet)에서 피에이치와이(PHY) 칩의 역할은 엠아이아이(MII)(603)를 통하여 들어온 신호를 처리하여 미디어(610)에 맞게 변환하거나 또는 미디어(610)를 통하여 들어온 신호를 엠아이아이(MII)(603)에 맞도록 바꾸어서 전달하는 역할을 한다.The role of the PHY chip in 100Base-TX Ethernet is to process a signal input through the MII 603 to convert it to the media 610 or to convert a signal input through the media 610. MII (603) serves to change the transmission to match.

한편, 엠아이아이(MII : Media Independent Interface)(603)는 맥(MAC)(601) 부분과 물리 장치(Physical device)(예 : PLS/PCS, PMA 등)을 연결하는 접속부이다. 엠아이아이(MII)(603)에서는 니블(nibble) 단위로 송/수신 스트림이 전달되며, 엠아이아이(MII)(603)를 통하여 피엘에스(PLS) 계층에서 조정(Reconciliation)(602) 계층으로 전달되는 25MHz의 송/수신클럭(TXCLK, RXCLK)은, 니블(nibble)들의 전달속도를 조정하기 위함이다. 이외에, 엠아이아이(MII)(603)로 전달되는 신호에는 맥(MAC)(601)으로 보고되는 충돌감지신호(이를 "COL"이라 함)와 케리어 감지신호(CRS) 및 송/수신 오류시 보고되는 신호등이 있다.On the other hand, MII (Media Independent Interface) 603 is a connection portion for connecting the MAC (601) and the physical device (Physical device (eg PLS / PCS, PMA, etc.)). In the MII 603, a transmit / receive stream is transmitted in nibble units, and is transmitted from the PLS layer to the Reconciliation 602 layer through the MII 603. FIG. The 25 MHz transmit / receive clocks (TXCLK and RXCLK) are used to adjust the transmission speed of nibbles. In addition to the signal transmitted to the MI (MII) 603, the collision detection signal reported to the MAC (601) (this is called "COL") and the carrier detection signal (CRS) and when the transmission / reception error report There is a traffic light.

조정(Reconciliation) 계층(602)은 맥(MAC) 계층(601)에서 송신요구된 프레임을 티티엘 레벨(TTL level)인 4비트 니블(nibble) 형태(TXD<3:0>)로 조합하여 엠아이아이(MII)(603)를 통하여 피씨에스(PCS) 계층(604)으로 전달한다. 수신시에는 그 반대이다. 이러한 니블(nibble)의 송신 및 수신시에는 피씨에스(PCS) 계층(604)에서 제공되는 25MHz의 송신 및 수신용 클럭을 이용한다. 802.3 맥(MAC) 프레임은 각 비트의 최하위비트(LSB)로부터 먼저 송신되므로 엠아이아이(MII)(603)로 전달되는 니블(nibble)은 최하위비트(LSB)로부터 4비트가 먼저 전달되고 난 후, 나머지 4비트가 전달된다.The reconciliation layer 602 combines the frames requested by the MAC layer 601 in a 4-bit nibble form (TXD <3: 0>), which is a TTL level. Via (MII) 603 to the PCS layer 604. The opposite is true when receiving. The transmission and reception of such a nibble uses a 25 MHz clock for transmission and reception provided by the PCS layer 604. Since the 802.3 MAC frame is transmitted first from the least significant bit (LSB) of each bit, the nibble delivered to the MI (MII) 603 is first transmitted from the least significant bit (LSB), and then 4 bits are transmitted first. The remaining four bits are passed.

한편, 상기 피씨에스(PCS : Physical Coding Sublayer)(604)에 관하여 좀 더 상세히 설명하면 다음과 같다.Meanwhile, the PCS (Physical Coding Sublayer) 604 will be described in more detail as follows.

피씨에스(PCS) 계층(604)의 기능은 엠아이아이(MII)(603)로부터 전달되는 4비트의 니블(nibble)을 5비트의 코드그룹으로 인코딩(encoding)하거나, 반대기능을 수행한다. 그리고, 캐리어 센스(Carrier sense) 및 콜리젼 디텍션(collision detection) 신호를 전달한다.The function of the PCS layer 604 encodes a 4-bit nibble transmitted from the MII 603 into a 5-bit code group, or performs the reverse function. In addition, a carrier sense and a collision detection signal are delivered.

또한, 피엠에이(PMA)로 전달할 수 있도록, 코드 그룹(code-group)을 나열한다.Also, code-groups are listed for delivery to PMA.

또한, 엠아이아이(MII)(603)와 피엠에이(PMA) 간의 트랜스미트(transmit), 리시브(receive), 캐리어 센스(carrier sense), 콜리젼 디텍션(collision detection) 신호를 매핑한다.In addition, a transmit, receive, carrier sense, and collision detection signal is mapped between the MII 603 and the PMA.

상기와 같은 피씨에스(PCS)의 기능을 좀 더 상세하게 살펴보면 다음과 같다.Looking at the function of the PC (PCS) in more detail as follows.

먼저, 송신부는 송신할 비트열이 없는 아이들(idle) 기간동안에는 "/I/코드그룹"을 계속 전송한다.First, the transmitter continues to transmit "/ I / code group" during an idle period in which there is no bit string to transmit.

엠아이아이(MII)(603)로부터 4비트 단위의 비트열(TXD<3:0>)을 전달받으면, 100Base-X에서 규정한 "4B5B" 코딩 방식으로 5비트의 코드그룹 비트로 변환하여 전송한다. 따라서, 피씨에스(PCS) 계층(604)에서 피엠에이(PMA)로 전달되는 "tx_code_bit"는 125Mbps의 속도이다.When the bit string TXD <3: 0> of the 4-bit unit is received from the MI (MII) 603, it is converted into a 5-bit code group bit by the "4B5B" coding scheme specified by 100Base-X, and transmitted. Thus, the "tx_code_bit" delivered from the PCS layer 604 to the PMA is 125 Mbps.

이때, 맥(MAC)(601)으로부터 송신요구된 맥(MAC) 프레임은, 프레임의 프림블(Preamble)의 첫 번째 바이트를 J-K코드그룹으로 구성되는 SSD(Start of Stream Delimiter)로 변환하여 전송한다. 이후의 프레임 비트열은 모두 데이터 코드그룹으로 간주되어 송신된다.At this time, the MAC frame requested to be transmitted from the MAC 601 converts the first byte of the preamble of the frame into a SSD (Start of Stream Delimiter) composed of a JK code group and transmits the same. . All subsequent frame bit strings are regarded as data code groups and transmitted.

에프씨에스(FCS)까지 송신완료되면, T-R코드그룹으로 구성되는 이에스디(ESD : End of Stream Delimiter)를 연속 송신하고, 송신을 완료한다.When transmission is completed up to FCS, End of Stream Delimiter (ESD) consisting of a T-R code group is continuously transmitted, and transmission is completed.

송신이 완료되면 아이들(IDLE) 코드그룹을 송신한다. 수신시에는 아이들(IDLE) 코드그룹의 수신이 끝나면서 에스에스디(SSD) 코드그룹이 수신되면, 상기 에스에스디(SSD)를 CSMA/CD 프림블(Preamble)의 첫 바이트 부분인 "10101010"로 복원한 다음, 계속되는 데이터 코드그룹을 복원한다.When the transmission is completed, the IDLE code group is transmitted. Upon reception of the IDLE code group and receiving the SDD code group, the SDD is restored to "10101010" which is the first byte part of the CSMA / CD preamble. Next, restore the subsequent data code group.

만약, 송신중에 충돌이 감지된 경우에는 콜(COL)신호로 맥(MAC) 계층(601)에게 알린다.If a collision is detected during transmission, the MAC layer 601 is notified with a COL signal.

또한, 송신중 "TX_ER=TRUE"인 명령이 조정(Reconciliation) 계층(602)으로 전달되면, 할트(HALT) 코드그룹을 계속 송신하고, 이후 "TX_EN"이 거짓(FALSE)이 되면, 이에스디(ESD)를 송신하고 송신과정을 종료한다.In addition, if a command of "TX_ER = TRUE" is transmitted to the Reconciliation layer 602 during transmission, the HALT code group continues to be transmitted, and if "TX_EN" becomes FALSE, then the ID ( ESD) and terminate the transmission process.

수신부는 채널 액티비티(Channel activity) 감지, 코드그룹 조정, 4B/5B 디코딩(decoding) 등을 수행한다.The receiver performs channel activity detection, code group adjustment, 4B / 5B decoding, and the like.

100Base-X의 상대방 수신부는 아이들(idle) 상태일 때, 아이들(IDLE) 코드그룹인 "11111"을 송신하는데, 수신측은 수신된 10개의 코드 비트(code_bit) 중에서 연속되지 않은 "0"이 두 개 이상이면 채널 액티비티(channel activity)가 있다고 판단한다.When the other party's receiver of 100Base-X is in an idle state, it transmits an idle code group "11111", and the receiver receives two non-contiguous "0" s among the received 10 code bits (code_bit). If this is the case, it is determined that there is channel activity.

상기 채널 액티비티(Channel activity)의 결과는 씨알에스(CRS) 신호로 맥(MAC) 계층(601)에 보고되는 동시에 피씨에스(PCS) 송신부의 충돌감지기능부에 전달된다.The result of the channel activity is reported to the MAC layer 601 as a CRS signal and transmitted to the collision detection function of the PCS transmitter.

일단, 채널 액티비티(Channle activity)가 있으면, 수신부는 수신되는 코드 비트(code_bit)들을 코드그룹으로 조합하여 4B/5B 코딩(coding)이 가능하도록 코드그룹을 조정한다. 수신된 2개의 코드그룹에서 프레임의 시작을 표시하는 에스에스디(SSD)를 구성하는 부분을 "rx_shift" 레지스터(register)에서 정확하게 찾게되면, 이 에스에스디(SSD) 부분인 "/J/" 및 "/K/" 코드는 각각 4B5B 디코더(decoder)로 이동되어 이더넷(Ethernet)에서 사용되는 8비트의 프림블(Preamble)로 다시 복원되어 4비트 씩 맥(MAC) 계층(601)에 전달된다.Once there is a channel activity, the receiver combines the received code bits into a code group and adjusts the code group to enable 4B / 5B coding. If the part of the two code groups that constitutes the SD that marks the start of a frame is correctly found in the "rx_shift" register, the parts of the SD which are "/ J /" and " / K / "codes are respectively transferred to the 4B5B decoder and restored back to the 8-bit preamble used in Ethernet, and transmitted to the MAC layer 601 by 4 bits.

엠아이아이(MII)(603)로 보고되는 "RX_DV" 신호는 "rx_shift" 레지스터(register)에서 에스에스디(SSD)를 감지한 이후에 참(TRUE)이 된다.The "RX_DV" signal reported to the MII 603 becomes TRUE after detecting the SSD in the "rx_shift" register.

그러나, 수신된 코드그룹이 규정된 코드그룹이 아니면 "RX_ER=ON"으로 보고한다.However, if the received code group is not a prescribed code group, it reports "RX_ER = ON".

이후, 프레임의 끝부분임을 표시하는 이에스디(ESD)가 수신되면, 이 이에스디(ESD)를 아이들(IDLE) 코드인 "11111 11111"로 디코딩 한다. 이는, 원래 이 이에스디(ESD)가 송신측에서 원래의 맥(MAC) 피디유(PDU)의 끝 부분인 에프씨에스(FCS)이후에 덧 붙여진 것이므로, 아이들(IDLE) 부호로 복원하는 것이다. 그리고, 송신 및 수신중에 피엠에이(PMA)로부터 "link_status=FAIL" 신호가 보고되면, 피엠에이(PMA) 계층의 수신부의 고장이나 케이블이 절단되는 등의 문제가 발생한 것이므로, 즉시 송/수신을 중지한다.Subsequently, when the ESD indicating the end of the frame is received, the ESD is decoded into an IDLE code “11111 11111”. This is because the original ESD is added after the FCS, which is the end of the original MAC PDU on the transmitting side, and thus, the ID is recovered. If a "link_status = FAIL" signal is reported from the PMA during transmission and reception, a problem such as a failure of the receiver of the PMA layer or a disconnection of the cable has occurred. Therefore, the transmission / reception is stopped immediately. do.

캐리어 감지부는 맥(MAC) 계층(601)에 씨알에스(CRS) 신호를 제공하기 위한 것이다. 이를 에뮬레이션(emulation)하기 위하여, 송신부가 현재 동작중이거나 또는 수신부의 채널 액티비티(channel activity)부가 보고하는 캐리어(carrier) 상태가 온(on)인 경우 "(logical OR)CRS=ON" 한다.The carrier detector is for providing a CRS signal to the MAC layer 601. In order to emulate this, "(logical OR) CRS = ON" when the transmitter is currently operating or the carrier state reported by the channel activity unit of the receiver is on.

충돌감지부는 맥(MAC) 계층(601)에 오씨엘(COL) 신호를 보고하기 위한 것이다. 이를 위하여, 송신부와 수신부가 모두 동작하는 경우에 "(logical AND)COL=ON"한다.The collision detection unit is for reporting the COL signal to the MAC layer 601. For this purpose, " (logical AND) COL = ON " when both the transmitter and receiver operate.

한편, 피엠에이(PMA : Physical Medium Attachment) 계층(605)의 기능은 다음과 같다.Meanwhile, the functions of the physical medium attachment layer (PMA) layer 605 are as follows.

100Base-X용 피엠에이(PMA)의 구성요소는 엔알제트아이(NRZI : Non-Return to Zero Inverted) 인코더/디코더(encoder/decoder)로 구성되는 송/수신부, 링크모니터 기능부, 그리고 파앤폴트(far end fault) 디텍터/제네레이터(detector/generator)이다.The PMA component for 100Base-X consists of a transmit / receive unit, a link monitor function, and a wave and fault unit consisting of a non-return to zero inverter (NRZI) encoder / decoder (NRZI) encoder / decoder. far end fault) A detector / generator.

송신부는 엔알제트아이(NRZI) 인코더(encoder)로서 피씨에스(PCS)로부터 송신요구된 125Mbps의 엔알제트(NRZ : Non-Return to Zero)부호로 된 "tx_code_bit"열을 엔알제트아이(NRZI) 부호로 변환한다. 수신부는 피엠디(PMD)로부터 수신된 125Mbps의 엔알제트아이(NRZI) 비트열을 엔알제트(NRZ)로 디코딩(decoding)하여 피씨에스(PCS) 및 "pma_carrier" 디텍터(detector)로 전달한다. 피엠에이(PMA) 계층(605)에서 수행하는 "pma_carrier" 디텍트(detect) 기능은 피엠디(PMD)로부터 수신되는 10개의 엔알제트아이(NRZI) 비트열을 모아 만약에 수신된 10개의 엔알제트아이(NRZI) 비트 중에서 연속되지 않은 "0"이 두 개 이상 있으면, 캐리어(carrier)가 감지되었다고 "pma_carrier_sense=ON" 신호를 발생한다. 하지만 이 신호는 피씨에스(PCS) 계층(604)으로 전달되지 않으며, 이 신호를 어떻게 이용할 것인지는 규정되지 않았다.Transmitter is an NRZI encoder and transfers the "tx_code_bit" string of 125 Mbps NRLJET (NRZ: Non-Return to Zero) code requested from PCS. Convert to The receiver decodes a 125 Mbps NRZI bit string received from PMD to NRZ and transmits the decoded NRZI bit to a PCS and a "pma_carrier" detector. The " pma_carrier " detect function performed at the PMA layer 605 collects 10 NRZI bit strings received from the PMD and, if received, receives 10 RNZI bits. If there are two or more non-contiguous " 0s " among the NRZI bits, a signal " pma_carrier_sense = ON " However, this signal is not passed to the PCS (PCS) layer 604 and it is not specified how to use this signal.

링크 모니터(Link monitor) 기능부는 수신채널에 이상이 없는지(예를 들면, 링크의 절단 등)를 판단하여 피씨에스(PCS) 계층(604)에 "link_status=(FAIL, OK, READY)"로 보고한다.The link monitor function determines whether the reception channel is intact (for example, disconnection of the link, etc.) and reports "link_status = (FAIL, OK, READY)" to the PCS layer 604. do.

피엠디(PMD)의 수신부는 상대방으로부터 아이들(idle)(실질적으로, 1111)신호가 수신되지 않는 경우에 "signal_status=OFF"라는 신호가 링크 모니터(link monitor)와 파앤폴트 제네레이터(far end fault generator)에 모두 전달된다.The receiving unit of the PMD receives a signal "signal_status = OFF" when the idle (actually 1111) signal is not received from the counterpart, and the link monitor and the far end fault generator. Are all passed).

링크 모니터(link monitor)부는 이 신호에 대하여 즉시 상대 통신국과 연결된 수신채널이 단절된 것으로 간주하여 "link_status=FAIL"로 피씨에스(PCS) 계층에 보고한다. 여기서, "Link_status=OK"는 수신부에 이상이 없다는 "signal_status=ON"인 경우에 보고되는 신호이다.The link monitor unit immediately considers that the reception channel connected to the counterpart communication station is disconnected for this signal and reports to the PCS layer as "link_status = FAIL". Here, "Link_status = OK" is a signal reported when "signal_status = ON" that there is no abnormality in the receiving unit.

"Link_status=READY"는 오토-니고시에이션(auto-negotiation)기능이 사용될때에만 유효한데, 현재 오토-니고시에이션 과정 중이어서 데이터 비트를 수신할 수 없다는 의미이다."Link_status = READY" is valid only when the auto-negotiation function is used, which means that the data bit cannot be received because it is currently in the auto-negotiation process.

만약, 오토-니고시에이션 기능이 없는 경우에는link_status값은 OK또는 FAIL만 보고된다.If there is no auto-negotiation function, only link_status value is reported as OK or FAIL.

파앤폴트(Far end fault) 신호발생 및 감지기능은 오토-니고시에이션(auto- negotiation) 기능이 없는 경우에 사용될 수 있다.Far end fault signaling and detection can be used in the absence of auto-negotiation.

파앤폴트 제네레이터(Far end fault generator)는 피엠디(PMD)에서 보고되는 "Signal_status=OFF" 신호에 대하여, 파앤폴트 인디케이션(far end fault indication) 신호를 상대방 통신국에 송신한다. 84개의 연속되는 1과 한 개의 0으로 구성되는 비트열이 세 개 이상 조합되어 구성된 이러한 파앤폴트 인디케이션(far end fault indication) 신호를 수신한 상대측 파앤폴트(far end fault) 디텍터(decter)부는 자신의 링크 모니터(link monitor)부에 이 사실을 알린다. 이것에 대하여 링크모니터부는 피씨에스(PCS) 계층에 "link_status=FAIL" 신호를 보고하여 사용자가 이 사실을 알도록 한다.A far end fault generator transmits a far end fault indication signal to a counterpart communication station with respect to the " Signal_status = OFF " signal reported by the PMD. The far end fault detector receives such a far end fault indication signal consisting of a combination of three or more bits consisting of 84 consecutive 1s and one 0. Inform the link monitor of this fact. In response to this, the link monitor unit reports a "link_status = FAIL" signal to the PCS layer so that the user knows this.

피엠디(PMD : Physical Medium Dependent)는 피엠에이(PMA)로부터 전달받은 엔알제트아이(NRZI) 비트들을 특정한 미디엄(medium)에 따른 신호로 변환하는 기능을 수행한다.Physical Medium Dependent (PMD) converts NRZI bits received from PMA into a signal according to a specific medium.

이상으로, 피에이치와이(PHY)단의 기능을 살펴보았다.So far, the functions of the PHY stage have been examined.

다음으로, 피에이치와이(PHY)단에서 나온 엠아이아이(MII)신호를 받아 버퍼에 저장 및 저장된 아이피 패킷(IP packet)을 아이피 다중화기/역다중화기(IP MUX/DEMUX)로 보내어 주고, 반대로 아이피 다중화기/역다중화기(IP MUX/DEMUX)에서 나온 아이피 패킷을 이더넷 프레임에 맞게 인캡슐레이션한 후 엠아이아이(MII)신호로 바꾸어 피에이치와이(PHY)단으로 보내주는 역할을 하는 맥(MAC) 계층에 대해서 살펴보도록 하자.Next, it receives the MII signal from the PHY stage and sends the IP packet stored and stored in the buffer to the IP multiplexer / demultiplexer (IP MUX / DEMUX). IP packet from firearm / demultiplexer (IP MUX / DEMUX) is encapsulated for Ethernet frame and converted into MII signal to MAC layer that plays a role of sending to PHY stage. Let's look at it.

맥(MAC) 계층의 구성은, 버퍼 메모리 인터페이스와 버퍼 디스크립터 스트럭쳐(Buffer Memory Interface and BD(buffer descriptors) structure), 송신 이더넷 맥(Tx Ethernet MAC(transmit function)), 수신 이더넷 맥(Rx Ethernet MAC(receive function)), 그리고 맥 컨트롤 모듈(MAC Control Module)을 포함한다.The MAC layer consists of a buffer memory interface and a buffer descriptors (BD) structure, a Tx Ethernet MAC (transmit function), and a Rx Ethernet MAC ( receive function), and the MAC Control Module.

먼저, 버퍼 메모리 인터페이스와 버퍼 디스크립터 스트럭쳐(Buffer Memory Interface and BD(buffer descriptors) structure)는 데이터 패킷이 외부 메모리에서 쓰여지면, 데이터를 가르키는 포인터가 움직이는 것이다.First, the Buffer Memory Interface and Buffer Descriptor (BD) structure (BD) are pointers to data when data packets are written to external memory.

송신 이더넷 맥(Tx Ethernet MAC)은 외부 메모리로부터 바이트 스트림(byte stream)을 전송받아 엠아이아이(MII) 니블 데이터 스트림(nibble data stream)으로만든다. 그리고, 아이피지(IPG : Inter Packet Gap)을 고려한 백오프(Backoff) 알고리즘을 수행한다. 또한, 에러 체크(FCS)를 계산하고, 캐리어 센스(Carrier Sense)와 콜리젼 신호(collision signal)를 이용해 피지컬 미디어(physical media)를 모니터한다.The Tx Ethernet MAC receives a byte stream from an external memory and turns it into an MII nibble data stream. In addition, a backoff algorithm considering IPG (Inter Packet Gap) is performed. In addition, the error check (FCS) is calculated, and the physical media is monitored using a carrier sense and a collision signal.

수신 이더넷 맥(Rx Ethernet MAC)은 엠아이아이(MII)로부터 니블 스트림(nibble stream)을 받아서 바이트 스트림(byte stream)으로 만든후 외부 메모리로 전달한다. 그리고, 패킷의 시작에서 SFD(Start frame delimiter)를 찾고, 에프씨에스(FCS)를 검사하여 에러를 찾는다.The Rx Ethernet MAC receives a nibble stream from MI and converts it into a byte stream and transfers it to external memory. Then, the SFD (Start frame delimiter) is found at the start of the packet, and the FCS is checked to find an error.

맥 컨트롤 모듈(MAC Control Module)은 컨트롤 프래임(Control Frame)을 감지하여, 폐기시키거나 메모리로 전달한다. 그리고, 파우저 컨트롤(PAUSE control) 프레임이 감지되면 특정 시점부터 송신맥(TxMAC)의 전송을 중지시킨다. 또한, 맥 컨트롤 모듈(MAC Control Module)은 메모리 인터페이스와 송신 맥 모듈(Tx MAC module)사이에 연결되어 있다.The MAC Control Module detects the control frame and either discards it or passes it to memory. When the PAUSE control frame is detected, transmission of the transmission MAC TxMAC is stopped from a specific time point. In addition, the MAC Control Module is connected between the memory interface and the Tx MAC module.

이상에서 설명한 본 발명은 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니고, 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하다는 것이 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 있어 명백할 것이다.The present invention described above is not limited to the above-described embodiments and the accompanying drawings, and various substitutions, modifications, and changes are possible in the art without departing from the technical spirit of the present invention. It will be apparent to those of ordinary knowledge.

상기한 바와 같은 본 발명은, 기존의 소프트웨어적인 냇-피티(NAT-PT)의 부피, 속도, 확장성 및 전력소비 문제를 시스템 온 칩(System on Chip)기술을 이용하여 부피 및 전력소비 문제를 해결 할 수 있고, 냇-피티(NAT-PT) 모듈들을 다중화기/역다중화기를 이용하여 병렬처리함으로써 속도 및 확장성 문제를 동시에 해결할 수 있는 효과가 있다.As described above, the present invention solves the problems of volume, speed, scalability and power consumption of the existing software Nat-PT using System on Chip technology. It is possible to solve the speed and scalability problem simultaneously by parallelizing Nat-PT modules using multiplexer / demultiplexer.

Claims (17)

병렬 냇-피티를 이용한 인터넷 프로토콜 변환장치에 있어서,In the internet protocol conversion apparatus using a parallel nat-pitty, 네트워크를 통해 입력되는 전기적 신호로 감싸여진 계층(Layer) 1의 프로토콜 및 패킷의 에러를 검사하고 전기적 신호 처리를 하기 위한 물리계층 인터페이싱 수단;Physical layer interfacing means for inspecting an error of a protocol and a packet of Layer 1 wrapped with an electrical signal input through a network and performing electrical signal processing; 상기 물리계층 인터페이싱 수단에서 출력된 신호 중, 계층(Layer) 2의 프로토콜을 계층 3의 프로토콜로 변환하여 전송하기 위한 프로토콜 변환수단;Protocol conversion means for converting a protocol of Layer 2 into a protocol of Layer 3 among the signals output from the physical layer interfacing means; 상기 프로토콜 변환수단에서 출력된 패킷을 비어있는 아이피 버전 변환수단에 분배하고, 처리 대기중인 패킷을 아이피 패킷 저장수단에 저장하며, 상기 아이피 버전 변환수단에서 변환된 패킷을 역다중화하기 위한 다중화 및 역다중화 수단;Multiplexing and demultiplexing for distributing the packet output from the protocol conversion means to the empty IP version converting means, storing the packet waiting to be stored in the IP packet storing means, and demultiplexing the packet converted by the IP version converting means. Way; 상기 다중화 및 역다중화 수단에서 출력된 패킷에서 서로 다른 아이피 버전으로 변환을 수행하고, 서로 다른 계층의 패킷을 분리하여 변환하기 위한 상기 아이피 버전 변환수단; 및The IP version converting means for converting packets output from the multiplexing and demultiplexing means into different IP versions and separating and converting packets of different layers; And 상기 아이피 버전 변환수단에서 필요한 아이피(IP) 주소를 저장하고, 다른 버전의 아이피(IP) 주소 간의 매핑테이블을 저장하기 위한 맵핑 테이블 저장수단Mapping table storage means for storing an IP address required by the IP version converting means and storing a mapping table between IP versions of different versions 을 포함하는 인터넷 프로토콜 변환장치.Internet protocol converter comprising a. 제 1 항에 있어서,The method of claim 1, 상기 물리계층 인터페이싱 수단은,The physical layer interfacing means, 이더넷(Ethernet), 소넷(SONET), 비동기 전송 모드(ATM) 등의 패킷 데이터 계층(Layer) 1을 담당하는 것을 특징으로 하는 인터넷 프로토콜 변환장치.An Internet protocol converter, which is responsible for packet data layer 1 such as Ethernet, Sonnet, and Asynchronous Transfer Mode (ATM). 제 1 항에 있어서,The method of claim 1, 상기 프로토콜 변환수단은,The protocol conversion means, 완전한 아이피 버전 4(IPv4) 또는 아이피 버전 6(IPv6) 패킷을 상기 계층 1에 맞게 캡슐화 또는 디캡슐화하는 것을 특징으로 하는 인터넷 프로토콜 변환장치.An internet protocol converter, which encapsulates or decapsulates a complete IP version 4 (IPv4) or IP version 6 (IPv6) packet according to the layer 1. 제 1 항에 있어서,The method of claim 1, 상기 아이피 버전 변환수단은,The IP version converting means, 실질적으로, 알에프씨 2766(RFC2765 : Request for Comments 2766)에 기술된 알고리즘에 의하여 아이피 버전 4 패킷을 아이피 버전 6 패킷으로 변환하거나, 아이피 버전 6 패킷을 아이피 버전 4 패킷으로 변환하는데, 계층 3 레벨에서 처리할 수 있는 다량의 일반적인 패킷은 에스아이아이티(SIIT) 모듈에서 병렬적으로 처리하고, 계층 4에서 처리하는 도메인 네임 시스템(DNS) 패킷이나 에프티피(FTP) 패킷은 디엔에스/에프티피 에이엘지(DNS/FTP ALG)에서 병렬적으로 처리하는 것을 특징으로 하는 인터넷 프로토콜 변환장치.Practically, algorithms described in RFC 2766 (RFC2765: Request for Comments 2766) convert IP version 4 packets to IP version 6 packets, or IP version 6 packets to IP version 4 packets, at the layer 3 level. A large amount of general packets that can be processed are processed in parallel by the SIIT module, and Domain Name System (DNS) packets or FTP packets that are processed by Layer 4 are DNS / FTTP ALS. Internet protocol converter characterized in that the processing in parallel (DNS / FTP ALG). 제 1 항에 있어서,The method of claim 1, 상기 맵핑 테이블 저장수단은,The mapping table storage means, 상기 아이피 버전 변환수단에서 생성된 아이피 버전 4와 아이피 버전 6 주소 맵핑 테이블과 아이피 버전 4 주소 풀을 저장하는 것을 특징으로 하는 인터넷 프로토콜 변환장치.And an IP version 4 and an IP version 6 address mapping table and an IP version 4 address pool generated by the IP version converting means. 인터넷 프로토콜 변환장치를 이용한 인터넷 프로토콜 버전 변환 방법에 있어서,In the Internet protocol version conversion method using the Internet protocol converter, 버전 4 도메인 네임 시스템(DNS)로부터 버전 6 인터넷 프로토콜을 사용하는 시스템의 주소를 묻는 도메인 네임 시스템(DNS) 쿼리를 받아 버전 6 도메인 네임 시스템으로 상기 도메인 네임 시스템 쿼리를 보내는 제 1 단계;Receiving a Domain Name System (DNS) query from the Version 4 Domain Name System (DNS) for the address of a system using the Version 6 Internet Protocol and sending the Domain Name System query to the Version 6 domain name system; 상기 도메인 네임 시스템 쿼리에 대한 응답으로 버전 6 도메인 네임 시스템으로부터 버전 6 인터넷 프로토콜을 사용하는 시스템의 주소를 전달받는 제 2 단계;Receiving an address of a system using a version 6 internet protocol from a version 6 domain name system in response to the domain name system query; 상기 버전 6 인터넷 프로토콜을 사용하는 시스템의 주소를 버전 4 인터넷 프로토콜 주소로 맵핑하는 제 3 단계;A third step of mapping an address of a system using the version 6 internet protocol to a version 4 internet protocol address; 상기 맵핑된 버전 4 인터넷 프로토콜 주소를 상기 제 1 단계의 응답으로 전송하는 제 4 단계; 및A fourth step of sending the mapped version 4 internet protocol address in response to the first step; And 버전 4 인터넷 프로토콜을 사용하는 시스템이 버전 6 인터넷 프로토콜을 사용하는 시스템으로 보내는 패킷을 받아 주소 맵핑 테이블을 검사하여 상기 맵핑된 버전 4 인터넷 프로토콜 주소 대신 버전 6 인터넷 프로토콜 주소로 변환하여 상기 변환된 버전 6 인터넷 프로토콜 주소로 패킷을 전송하는 제 5 단계The system using the version 4 internet protocol receives the packet sent to the system using the version 6 internet protocol, examines the address mapping table, converts it to the version 6 internet protocol address instead of the mapped version 4 internet protocol address, and converts the converted version 6 The fifth step of sending a packet to an internet protocol address 를 포함하는 인터넷 프로토콜 버전 변환 방법.Internet protocol version conversion method comprising a. 제 6 항에 있어서,The method of claim 6, 상기 제 1 단계는,The first step is, 소스 주소가 버전 4 도메인 네임 시스템의 주소가 되고, 목적지 주소는 냇-피티(NAT-PT)의 버전 4 인터넷 프로토콜 주소가 되는 것을 특징으로 하는 인터넷 프로토콜 버전 변환 방법.And a source address is an address of a version 4 domain name system, and a destination address is a version 4 internet protocol address of NAT-PT. 제 6 항에 있어서,The method of claim 6, 상기 제 2 단계는,The second step, 냇-피티가 버전 6 도메인 네임 시스템으로 버전 6 인터넷 프로토콜을 사용하는 시스템에 대한 쿼리를 보내고, 이때 상기 쿼리에 대한 소스 주소는 냇-피티의 버전 6 인터넷 프로토콜 주소가 되고, 목적지 주소는 버전 6 도메인 네임 시스템의 주소인 것을 특징으로 하는 인터넷 프로토콜 버전 변환 방법.Nat-Piti sends a query to a version 6 domain name system using a version 6 Internet protocol, where the source address for the query becomes the version 6 Internet protocol address of Nat-Piti, and the destination address is a version 6 domain. Internet protocol version conversion method, characterized in that the address of the name system. 제 6 항에 있어서,The method of claim 6, 상기 제 3 단계는,The third step, 버전 6 인터넷 프로토콜을 사용하는 시스템의 주소 대신에 버전 4 인터넷 프로토콜 주소 풀(Address Pool)에서 사용되고 있지 않는 주소를 골라 맵핑시키는 것을 특징으로 하는 인터넷 프로토콜 버전 변환 방법.An internet protocol version conversion method, wherein an address not used in a version 4 Internet protocol address pool is selected and mapped instead of an address of a system using a version 6 internet protocol. 제 6 항에 있어서,The method of claim 6, 상기 제 5 단계의 버전 4 인터넷 프로토콜을 사용하는 시스템이 버전 6 인터넷 프로토콜을 사용하는 시스템으로 패킷을 보내는 방법은,The method using the version 4 internet protocol of the fifth step sends a packet to the system using the version 6 internet protocol. 버전 4 인터넷 프로토콜을 사용하는 시스템이 버전 6 인터넷 프로토콜을 사용하는 시스템의 주소를 상기 맵핑된 주소로 간주하고, 소스 주소에 자신의 주소, 목적지 주소에 상기 맵핑된 주소를 실어 버전 6 인터넷 프로토콜을 사용하는 시스템으로 패킷을 보내는 것을 특징으로 하는 인터넷 프로토콜 버전 변환 방법.A system using a version 4 internet protocol considers the address of a system using a version 6 internet protocol as the mapped address and uses the version 6 internet protocol by putting its address in a source address and the mapped address in a destination address. Internet protocol version conversion method comprising sending a packet to the system. 제 6 항에 있어서,The method of claim 6, 상기 제 5 단계의 버전 6 인터넷 프로토콜 주소로 변환하는 방법은,The method of converting to the version 6 internet protocol address of the fifth step, 냇-피티에서 목적지 주소에 상기 맵핑된 주소 대신 기존의 버전 6 인터넷 프로토콜을 사용하는 시스템의 주소를 넣고, 상기 소스 주소 앞에 냇-피티의 프리픽스(prefix)를 붙여서 버전 6 인터넷 프로토콜 주소로 변환하는 것을 특징으로 하는 인터넷 프로토콜 버전 변환 방법.In Nat-Piti, converting a destination address to a version 6 Internet Protocol address by inserting the address of the system using the existing version 6 Internet protocol instead of the mapped address and prefixing the source address with the prefix of Nat-Piti. Internet protocol version conversion method characterized by. 인터넷 프로토콜 변환장치를 이용한 인터넷 프로토콜 버전 변환 방법에 있어서,In the Internet protocol version conversion method using the Internet protocol converter, 버전 6 도메인 네임 시스템에서 버전 4 인터넷 프로토콜을 사용하는 시스템의 주소를 알기위한 도메인 네임 시스템 쿼리를 전달받는 제 1 단계;A first step of receiving a domain name system query for knowing an address of a system using a version 4 Internet protocol in a version 6 domain name system; 상기 도메인 네임 시스템 쿼리를 버전 4 인터넷 프로토콜 주소로 변환하여 버전 4 도메인 네임 시스템으로 전송하는 제 2 단계;Converting the domain name system query into a version 4 Internet protocol address and transmitting to a version 4 domain name system; 버전 4 도메인 네임 시스템으로부터 상기 버전 4 인터넷 프로토콜을 사용하는 시스템의 주소를 전달받아 버전 6 인터넷 프로토콜로 변환하여 버전 6 도메인 네임 시스템으로 전송하는 제 3 단계; 및A third step of receiving an address of a system using the version 4 internet protocol from a version 4 domain name system, converting the address to a version 6 internet protocol, and transmitting the address to the version 6 domain name system; And 상기 전달받은 버전 4 인터넷 프로토콜을 사용하는 시스템의 주소로 전달하려는 패킷을 받아, 맵핑 테이블을 검사한 후 상기 패킷을 전달하는 제 4 단계A fourth step of receiving a packet to be delivered to an address of a system using the received version 4 Internet protocol, inspecting a mapping table, and delivering the packet 를 포함하는 인터넷 프로토콜 버전 변환 방법.Internet protocol version conversion method comprising a. 제 12 항에 있어서,The method of claim 12, 상기 제 1 단계는,The first step is, 소스 주소는 버전 6 도메인 네임 시스템의 주소이고, 목적지 주소는 버전 4 도메인 네임 시스템의 주소인 것을 특징으로 하는 인터넷 프로토콜 버전 변환 방법.Wherein the source address is an address of a version 6 domain name system and the destination address is an address of a version 4 domain name system. 제 12 항에 있어서,The method of claim 12, 상기 제 2 단계는,The second step, 상기 목적지 주소의 프리픽스(prefix)를 제거하여 버전 4 인터넷 프로토콜에 맞는 목적지 주소로 변환하고, 소스 주소는 상기 소스 주소를 이용하여 맵핑 테이블에서 찾아 변환하는 것을 특징으로 하는 인터넷 프로토콜 버전 변환 방법.Removing a prefix of the destination address and converting the destination address into a destination address conforming to a version 4 internet protocol, and converting a source address in the mapping table using the source address. 제 12 항에 있어서,The method of claim 12, 상기 제 3 단계의 버전 6 인터넷 프로토콜로 변환하는 과정은,The conversion to the version 6 Internet protocol of the third step, 상기 전달받은 주소에 프리픽스(prefix)를 더하고, 버전 6 인터넷 프로토콜 주소를 맵핑 테이블에서 찾아 변환하는 것을 특징으로 하는 인터넷 프로토콜 버전 변환 방법.And a prefix is added to the received address, and a version 6 internet protocol address is found and converted in a mapping table. 프로세서를 구비한 인터넷 프로토콜 변환장치에,In the Internet protocol converter equipped with a processor, 버전 4 도메인 네임 시스템(DNS)로부터 버전 6 인터넷 프로토콜을 사용하는 시스템의 주소를 묻는 도메인 네임 시스템(DNS) 쿼리를 받아 버전 6 도메인 네임 시스템으로 상기 도메인 네임 시스템 쿼리를 보내는 제 1 기능;A first function receiving a Domain Name System (DNS) query from a Version 4 Domain Name System (DNS) for the address of a system using a Version 6 Internet Protocol and sending the Domain Name System query to a Version 6 domain name system; 상기 도메인 네임 시스템 쿼리에 대한 응답으로 버전 6 도메인 네임 시스템으로부터 버전 6 인터넷 프로토콜을 사용하는 시스템의 주소를 전달받는 제 2 기능;A second function of receiving an address of a system using a version 6 internet protocol from a version 6 domain name system in response to the domain name system query; 상기 버전 6 인터넷 프로토콜을 사용하는 시스템의 주소를 버전 4 인터넷 프로토콜 주소로 맵핑하는 제 3 기능;A third function of mapping an address of a system using the version 6 internet protocol to a version 4 internet protocol address; 상기 맵핑된 버전 4 인터넷 프로토콜 주소를 상기 제 1 단계의 응답으로 전송하는 제 4 기능; 및A fourth function of sending the mapped version 4 internet protocol address in response to the first step; And 버전 4 인터넷 프로토콜을 사용하는 시스템이 버전 6 인터넷 프로토콜을 사용하는 시스템으로 보내는 패킷을 받아 주소 맵핑 테이블을 검사하여 상기 맵핑된 버전 4 인터넷 프로토콜 주소 대신 버전 6 인터넷 프로토콜 주소로 변환하여 상기 변환된 버전 6 인터넷 프로토콜 주소로 패킷을 전송하는 제 5 기능The system using the version 4 internet protocol receives the packet sent to the system using the version 6 internet protocol, examines the address mapping table, converts it to the version 6 internet protocol address instead of the mapped version 4 internet protocol address, and converts the converted version 6 Fifth function for sending packets to Internet protocol addresses 을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for realizing this. 프로세서를 구비한 인터넷 프로토콜 변환장치에,In the Internet protocol converter equipped with a processor, 버전 6 도메인 네임 시스템에서 버전 4 인터넷 프로토콜을 사용하는 시스템의 주소를 알기위한 도메인 네임 시스템 쿼리를 전달받는 제 1 기능;A first function of receiving a domain name system query for knowing an address of a system using a version 4 Internet protocol in a version 6 domain name system; 상기 도메인 네임 시스템 쿼리를 버전 4 인터넷 프로토콜 주소로 변환하여 버전 4 도메인 네임 시스템으로 전송하는 제 2 기능;A second function of translating the domain name system query into a version 4 internet protocol address and transmitting it to a version 4 domain name system; 버전 4 도메인 네임 시스템으로부터 상기 버전 4 인터넷 프로토콜을 사용하는 시스템의 주소를 전달받아 버전 6 인터넷 프로토콜로 변환하여 버전 6 도메인 네임 시스템으로 전송하는 제 3 기능; 및A third function of receiving an address of a system using the version 4 internet protocol from a version 4 domain name system and converting the address of the system using the version 4 internet protocol to a version 6 internet protocol; And 상기 전달받은 버전 4 인터넷 프로토콜을 사용하는 시스템의 주소로 전달하려는 패킷을 받아, 맵핑 테이블을 검사한 후 상기 패킷을 전달하는 제 4 기능A fourth function of receiving a packet to be delivered to an address of a system using the received version 4 Internet protocol, inspecting a mapping table, and delivering the packet 을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for realizing this.
KR10-2001-0052172A 2001-08-28 2001-08-28 Method and Apparatus for Internet Protocol Translation using NAT-PT KR100411517B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2001-0052172A KR100411517B1 (en) 2001-08-28 2001-08-28 Method and Apparatus for Internet Protocol Translation using NAT-PT

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2001-0052172A KR100411517B1 (en) 2001-08-28 2001-08-28 Method and Apparatus for Internet Protocol Translation using NAT-PT

Publications (2)

Publication Number Publication Date
KR20030018445A true KR20030018445A (en) 2003-03-06
KR100411517B1 KR100411517B1 (en) 2003-12-18

Family

ID=27721227

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2001-0052172A KR100411517B1 (en) 2001-08-28 2001-08-28 Method and Apparatus for Internet Protocol Translation using NAT-PT

Country Status (1)

Country Link
KR (1) KR100411517B1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100455153B1 (en) * 2002-06-12 2004-11-06 엘지전자 주식회사 Interlocking method for data transmission system
KR100607993B1 (en) * 2004-07-16 2006-08-02 삼성전자주식회사 System and method for communication between heterogeneous networks
CN100379219C (en) * 2003-07-23 2008-04-02 中国科学院计算技术研究所 Method for realizing IP network terminal communication by NAT-PT and customer/servo mode
KR100849494B1 (en) * 2006-12-08 2008-07-31 한국전자통신연구원 Apparatus and Method for IPv6 Tunneling
CN101136910B (en) * 2006-08-30 2010-09-29 中国电信股份有限公司 Network address and protocol translating equipment and application layer gateway equipment
KR100989963B1 (en) * 2004-02-19 2010-10-27 주식회사 케이티 Apparatus for matching network

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1773013B1 (en) * 1996-11-01 2013-05-22 Hitachi, Ltd. Communicating method between IPv4 terminal and IPv6 terminal and IPv4-IPv6 converting apparatus
US6236654B1 (en) * 1997-02-14 2001-05-22 Advanced Micro Devices, Inc. Method and apparatus for managing learning in an address table in memory
EP1087575A1 (en) * 1999-09-24 2001-03-28 BRITISH TELECOMMUNICATIONS public limited company Packet network interfacing
US6996559B1 (en) * 1999-12-23 2006-02-07 Nortel Networks Limited IP address resolution methods and apparatus

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100455153B1 (en) * 2002-06-12 2004-11-06 엘지전자 주식회사 Interlocking method for data transmission system
CN100379219C (en) * 2003-07-23 2008-04-02 中国科学院计算技术研究所 Method for realizing IP network terminal communication by NAT-PT and customer/servo mode
KR100989963B1 (en) * 2004-02-19 2010-10-27 주식회사 케이티 Apparatus for matching network
KR100607993B1 (en) * 2004-07-16 2006-08-02 삼성전자주식회사 System and method for communication between heterogeneous networks
CN101136910B (en) * 2006-08-30 2010-09-29 中国电信股份有限公司 Network address and protocol translating equipment and application layer gateway equipment
KR100849494B1 (en) * 2006-12-08 2008-07-31 한국전자통신연구원 Apparatus and Method for IPv6 Tunneling

Also Published As

Publication number Publication date
KR100411517B1 (en) 2003-12-18

Similar Documents

Publication Publication Date Title
US5684954A (en) Method and apparatus for providing connection identifier by concatenating CAM&#39;s addresses at which containing matched protocol information extracted from multiple protocol header
US8615022B2 (en) Client/server adaptation scheme for communications traffic
US6331978B1 (en) Generic label encapsulation protocol for carrying label switched packets over serial links
AU2004232748B2 (en) Embedded management channel for sonet path terminating equipment connectivity
US8160106B2 (en) Method, device and system for transmitting Ethernet packets
US11700148B2 (en) Packet transmission method and device, and computer storage medium
US20040208129A1 (en) Testing network communications
EP1206099A2 (en) Network interface
EP2232786A1 (en) Client/server adaptation scheme for communications traffic
KR100411517B1 (en) Method and Apparatus for Internet Protocol Translation using NAT-PT
EP2071808B1 (en) Methods and a system and devices for ipv6 datagram transmission in the ethernet
KR0153944B1 (en) Ethernet connecting apparatus for including the ip routing function with atm switch
CN113472482B (en) Sampling value data frame protection method and system applied to 5G network data communication
US7953106B2 (en) Transmission apparatus
Cisco Configuring Frame Relay
Cisco Configuring Frame Relay
Cisco Interface Commands
Cisco Interface Commands
Cisco Configuring Frame Relay
Cisco Interface Commands
Cisco Interface Commands
Cisco Interface Commands
CN1138392C (en) Adaptation method of fusing giga Ethernet and band dividing and sharing system
EP3664371B1 (en) Switching method and apparatus
EP3952250A1 (en) Methods and apparatuses in a network comprising a plurality of switch devices

Legal Events

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

Payment date: 20121203

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20131202

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20141203

Year of fee payment: 12

FPAY Annual fee payment

Payment date: 20151204

Year of fee payment: 13

FPAY Annual fee payment

Payment date: 20161202

Year of fee payment: 14

FPAY Annual fee payment

Payment date: 20171204

Year of fee payment: 15

FPAY Annual fee payment

Payment date: 20191204

Year of fee payment: 17