KR100545586B1 - Dual stack transition mechanism router and method for cache table - Google Patents

Dual stack transition mechanism router and method for cache table Download PDF

Info

Publication number
KR100545586B1
KR100545586B1 KR1020020082258A KR20020082258A KR100545586B1 KR 100545586 B1 KR100545586 B1 KR 100545586B1 KR 1020020082258 A KR1020020082258 A KR 1020020082258A KR 20020082258 A KR20020082258 A KR 20020082258A KR 100545586 B1 KR100545586 B1 KR 100545586B1
Authority
KR
South Korea
Prior art keywords
address
ipv6
ipv4
host
packet
Prior art date
Application number
KR1020020082258A
Other languages
Korean (ko)
Other versions
KR20040056378A (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 KR1020020082258A priority Critical patent/KR100545586B1/en
Publication of KR20040056378A publication Critical patent/KR20040056378A/en
Application granted granted Critical
Publication of KR100545586B1 publication Critical patent/KR100545586B1/en

Links

Images

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/251Translation of Internet protocol [IP] addresses between different IP versions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • 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
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/659Internet protocol version 6 [IPv6] addresses

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

캐쉬 테이블의 부정확성에 의한 통신 단락 및 캐쉬 테이블의 크기를 최소화시킬 수 있는 본 발명에 따른 듀얼 스택 전환 메커니즘 라우터가 적용된 시스템은 IPv6망의 경계에 위치하며, IPv6 호스트의 주소 요구 메시지에 대응하여 IPv4 주소를 호스트에 할당시키는 주소 할당 서버와, 주소 할당 서버로부터 할당된 IPv4 주소를 이용하여 IPv4 패킷과 자신의 IPv6 주소가 포함된 터널 패킷을 송출하고, 할당된 IPv4 주소를 반환하기 위한 주소 반환 메시지를 송출하는 IPv6 호스트와, 터널 패킷에 포함된 IP4 패킷을 IPv6 호스트가 통신하고자 하는 IPv4 호스트에 전송하고, 주소 반환 메시지의 수신에 따라 캐쉬 테이블에 설정된 IPv6 호스트의 IPv6 주소와 IPv4 주소 정보쌍을 삭제시키는 라우터를 포함한다.The system to which the dual stack switching mechanism router according to the present invention can minimize the communication short circuit caused by the inaccuracy of the cache table and the size of the cache table is located at the boundary of the IPv6 network, and responds to the IPv4 address in response to the IPv6 host address request message. Sends an IPv4 packet and a tunnel packet containing its IPv6 address by using an address assignment server that allocates the host to the host, an IPv4 address allocated from the address assignment server, and sends an address return message for returning the assigned IPv4 address. Router that sends IPv6 host and IP4 packet included in tunnel packet to IPv4 host to which IPv6 host wants to communicate, and deletes IPv6 address and IPv4 address pair of IPv6 host set in cache table upon receipt of address return message. It includes.

Description

듀얼 스택 전환 메커니즘 라우터와 캐쉬 테이블 관리 방법{DUAL STACK TRANSITION MECHANISM ROUTER AND METHOD FOR CACHE TABLE}Dual Stack Transition Mechanisms How to Manage Routers and Cache Tables {DUAL STACK TRANSITION MECHANISM ROUTER AND METHOD FOR CACHE TABLE}

도 1은 본 발명에 따른 듀얼 스택 전환 메커니즘 라우터를 설명하기 위한 시스템을 도시한 블록도이고,1 is a block diagram illustrating a system for describing a dual stack switching mechanism router according to the present invention;

도 2는 본 발명의 IPv6망에 위치한 호스트에 할당된 IPv4 주소를 관리하는 시스템에서 라우터의 동작 과정을 설명하기 위한 시스템이고, 2 is a system for explaining the operation of the router in the system for managing the IPv4 address assigned to the host located in the IPv6 network of the present invention,

도 3은 본 발명에 따른 IPv6망에 위치한 호스트에 할당된 IPv4 주소를 관리하는 시스템의 동작 과정을 나타내는 흐름도이고,3 is a flowchart illustrating an operation process of a system for managing an IPv4 address assigned to a host located in an IPv6 network according to the present invention;

도 4는 본 발명에 따른 라우터가 IPv6 호스트로부터 수신한 터널 패킷을 처리하는 과정을 설명하는 도면이고,4 is a diagram illustrating a process of processing a tunnel packet received from an IPv6 host by a router according to the present invention;

도 5는 본 발명에 따른 라우터가 IPv6 호스트로부터 수신한 주소 반환 메시지를 처리하는 과정을 설명하는 도면이고,5 is a diagram illustrating a process of processing an address return message received from an IPv6 host by a router according to the present invention;

도 6은 본 발명에 따른 UDPv6 메시지를 처리하는 과정을 나타내는 흐름도이다.6 is a flowchart illustrating a process of processing a UDPv6 message according to the present invention.

<도면의 주요부분에 대한 부호의 설명><Description of the code | symbol about the principal part of drawing>

100 : IPv6망 110 : IPv6 호스트100: IPv6 network 110: IPv6 host

120 : 주소 할당 서버 142 : IPv6 스택120: address allocation server 142: IPv6 stack

144 : IPv4 스택 146 : 프로토콜 처리 테이블 144: IPv4 stack 146: protocol processing table

148 : 캐쉬 테이블 150 : 라우터148: cache table 150: router

200 : IPv4망 210 : IPv4 호스트200: IPv4 network 210: IPv4 host

본 발명은 IPv6망과 IPv4망 사이의 주소 관리에 관한 것으로, 특히 IPv6망의 IPv6 호스트로부터 수신된 주소 반환 메시지와 타이머를 이용하여 캐쉬 테이블을 관리하는 듀얼 스택 전환 메커니즘 라우터와 캐쉬 테이블 관리 방법에 관한 것이다.The present invention relates to address management between an IPv6 network and an IPv4 network, and more particularly, to a dual stack switching mechanism router and a cache table management method for managing a cache table by using an address return message and a timer received from an IPv6 host in an IPv6 network. will be.

일반적인 듀얼스택 변환 메커니즘 망 환경에서, IPv6호스트는 IPv4 호스트와의 통신이 필요할 때만 DSTM 서버를 통해 동적으로 IPv4 주소를 얻어오고 통신이 종료되면 “RELEASE” 메시지를 통해 DSTM 서버에게 할당 받은 주소를 반환한다. IPv4 호스트와 통신하기 위해 IPv4 주소를 획득한 IPv6 호스트는 IPv4 패킷들을 생성한 후 이를 IPv6 패킷으로 캡슐화하는데, 이를 4 오버 6 터널링이라고 한다. 이러한 4 오보 6 터널 패킷은 듀얼스택 변환 메커니즘 라우터로 전송된다.Typical Dual Stack Translation Mechanism In a network environment, an IPv6 host obtains an IPv4 address dynamically through the DSTM server only when it needs to communicate with an IPv4 host and returns the address assigned to the DSTM server through a “RELEASE” message when the communication is terminated. . An IPv6 host that obtains an IPv4 address to communicate with an IPv4 host generates IPv4 packets and encapsulates them into IPv6 packets, referred to as 4 over 6 tunneling. These 4 misleading 6 tunnel packets are sent to the dual stack translation mechanism router.

4 오버 6 터널 패킷을 수신한 DSTM TEP는 캡슐화 헤더를 제거하여 IPv4 패킷을 복원하고, 터널 패킷의 출발지 IPv6 호스트의 IPv4 주소-IPv6주소 정보 쌍을 캐쉬 테이블에서 검색한다. 검색 결과, 캐쉬 테이블에 IPv4 주소-IPv6주소 정보 쌍이 존재하지 않은 경우에 DSTM TEP는 IPv4 주소-IPv6주소 정보 쌍을 캐쉬 테이블에 저장한 후 해당 항목에 대한 유효 타이머를 구동시키고, 캐쉬 테이블에 주소 정보쌍이 존재하는 경우에 그 항목의 타이머를 초기화시켜 캐쉬에서 유지되는 시간을 연장시킨다. 또한, DSTM TEP는 복원된 IPv4 패킷을 IPv6 호스트가 통신하고자 하는 IPv4 호스트에게 전송한다.Receiving the 4 over 6 tunnel packet, the DSTM TEP removes the encapsulation header to recover the IPv4 packet, and retrieves the IPv4 address-IPv6 address information pair of the source IPv6 host of the tunnel packet from the cache table. If the IPv4 address-IPv6 address information pair does not exist in the cache table, DSTM TEP saves the IPv4 address-IPv6 address information pair in the cache table and starts a valid timer for the corresponding item. If a pair is present, the timer for that item is initialized to extend the time it is kept in the cache. The DSTM TEP also sends the recovered IPv4 packet to the IPv4 host with which the IPv6 host wishes to communicate.

반대로, IPv4 호스트에서 전송된 패킷을 DSTM TEP가 수신하면, 패킷의 목적지 IPv4 주소에 대응하는 IPv6 주소 정보를 캐쉬 테이블에서 검색하고, 검색된 주소를 목적지 주소로 하고 DSTM TEP 자신의 IPv6 주소를 출발지 주소로 하는 4오버6 캡슐화 헤더를 IPv4 패킷에 추가하여 IPv6 호스트에게 전달한다. DSTM TEP은 캐쉬 테이블에서 목적지 IPv4에 대응되는 IPv6 주소 정보를 찾을 수 없으면, 해당 패킷은 전달 불가로 인해 폐기된다. 따라서, DSTM TEP에서의 캐쉬 테이블 관리의 정확성이 매우 중요하다.Conversely, when the DSTM TEP receives a packet sent from an IPv4 host, it retrieves the IPv6 address information corresponding to the packet's destination IPv4 address from the cache table, uses the retrieved address as the destination address, and sets the DSTM TEP's own IPv6 address as the source address. 4over6 encapsulation header is added to the IPv4 packet and delivered to the IPv6 host. If the DSTM TEP cannot find the IPv6 address information corresponding to the destination IPv4 in the cache table, the packet is discarded because it cannot be delivered. Therefore, the accuracy of cache table management in DSTM TEP is very important.

일반적으로 DSTM 망에서는 IPv6 호스트와 DSTM 서버 사이에서 송수신되는 주소 요구(REQUEST) 메시지와 주소반환(RELEASE) 메시지를 통해 IPv4 주소의 할당과 해제를 수행한다.In general, the DSTM network allocates and releases an IPv4 address through an address request (REQUEST) message and an address return (RELEASE) message between an IPv6 host and a DSTM server.

이와 같은 방식으로 IPv6 호스트는 IPv4 호스트와의 통신이 필요할 때만 IPv4 주소를 할당 받고, 불필요할 때에 할당받은 IPv4 주소를 반환하여 부족한 IPv4 주소의 활용도를 높이고 있다. 이에 반해 DSTM TEP에서의 캐쉬 테이블 관리는 타이머와 실제 전달되는 패킷에만 의존하게 구현되기 때문에 실제 통신환경에서 종단간 단말기들의 IPv4 주소 사용 상태를 캐쉬 테이블에 제대로 반영하지 못하는 경우가 있다. 이로 인하여 종단간 단말의 유효한 통신 연결들이 자주 단락되는 문 제가 있다.In this way, the IPv6 host is assigned an IPv4 address only when communication with the IPv4 host is required, and when the IPv6 host is not needed, the IPv6 host returns an assigned IPv4 address to increase the utilization of the insufficient IPv4 address. On the other hand, because cache table management in DSTM TEP is implemented based only on the timer and the packet actually delivered, there is a case that the end-to-end terminal's IPv4 address usage status is not properly reflected in the cache table in the actual communication environment. As a result, there is a problem in that valid communication connections of end-to-end terminals are frequently shorted.

특히, 타이머에 의한 캐쉬 테이블 관리는 타이머 값이 작을 경우 유효한 통신 연결들이 자주 단락되는 문제가 있고, 타이머 값이 큰 경우에 캐쉬 테이블에 유효하지 않은 주소 정보를 오래 유지시키기 때문에 캐쉬 테이블의 크기가 증가된다. 이러한 캐쉬 테이블 크기의 증가에 의해서 DSTM TEP의 캐쉬 테이블 검색 시간 및 부하가 증가되는 문제점이 있다.In particular, the cache table management by the timer has a problem in that valid communication connections are frequently shorted when the timer value is small, and the size of the cache table increases because it maintains invalid address information in the cache table for a long time when the timer value is large. do. The increase of the cache table size causes a problem that the cache table search time and load of the DSTM TEP are increased.

여기서, 통신 단락 문제는 종단간 단말의 사용자가 텔넷(telnet)이나 메신저와 같이 연결 유지 시간이 길지만 통신량이 많지 않은 연결들에서 자주 발생된다.In this case, the communication short-circuit problem is frequently generated in a connection where the end-to-end terminal user has a long connection holding time such as telnet or a messenger but does not have much communication.

본 발명의 목적은 이와 같은 종래 기술의 문제점을 해결하기 위한 것으로, IPv6망의 IPv6 호스트로부터 주소 반환 메시지와 타이머를 이용하여 캐쉬 테이블에 저장된 주소 정보쌍을 관리함으로써, 캐쉬 테이블의 부정확성에 의한 통신 단락 및 캐쉬 테이블의 크기를 최소화시킬 수 있는 듀얼 스택 전환 메커니즘 라우터와 캐쉬 테이블 관리 방법을 제공하고자 한다.Summary of the Invention An object of the present invention is to solve such a problem of the prior art, and by managing address information pairs stored in a cache table using an address return message and a timer from an IPv6 host in an IPv6 network, a communication short circuit due to inaccuracy of the cache table. And to provide a dual stack switching mechanism router and cache table management method that can minimize the size of the cache table.

상기와 같은 목적을 달성하기 위하여 본 발명은, IPv6망에 위치한 호스트에 할당된 IPv4 주소를 관리하는 시스템에 있어서, 상기 IPv6망의 경계에 위치하며, 상기 IPv6 호스트의 주소 요구 메시지에 대응하여 IPv4 주소를 상기 호스트에 할당시키는 주소 할당 서버와, 상기 주소 할당 서버로 할당된 IPv4 주소를 이용하여 IPv4 패킷과 자신의 IPv6 주소가 포함된 터널 패킷을 송출하고, 상기 할당된 IPv4 주소를 반환하기 위한 주소 반환 메시지를 송출하는 IPv6 호스트와, 상기 터널 패 킷에 포함된 IP4 패킷을 상기 IPv6 호스트가 통신하고자 하는 IPv4 호스트에 전송하고, 상기 주소 반환 메시지의 수신에 따라 캐쉬 테이블에 설정된 상기 IPv6 호스트의 IPv6 주소와 IPv4 주소 정보쌍을 삭제시키는 라우터를 포함한다.In order to achieve the above object, the present invention provides a system for managing an IPv4 address assigned to a host located in an IPv6 network, which is located at a boundary of the IPv6 network and corresponds to an address request message of the IPv6 host. An address allocation server for allocating the host to the host, an IPv4 packet and a tunnel packet including its own IPv6 address by using an IPv4 address assigned to the address allocation server, and returning an address for returning the allocated IPv4 address An IPv6 host that sends a message and an IP4 packet included in the tunnel packet to an IPv4 host to which the IPv6 host wants to communicate, and an IPv6 address of the IPv6 host set in a cache table upon receipt of the address return message; Routers that delete IPv4 address information pairs.

또한, 본 발명은 IPv6망에 위치한 호스트에 할당된 IPv4 주소를 관리하는 시스템의 주소 관리 방법에 있어서, 상기 IPv6 호스트의 IPv4 주소 요청에 따라 상기 IPv6 호스트에게 IPv4 주소를 할당하는 단계와, 상기 IPv6 호스트는 할당된 IPv4 주소를 이용하여 IPv4 패킷과 자신의 IPv6 주소가 포함된 터널 패킷을 라우터에 전송하는 단계와, 상기 IPv6 호스트로부터 터널 패킷을 수신하여 상기 터널 패킷의 터널 헤더에서 IPv6 주소와 IPv4 패킷을 추출하고, 상기 IPv4 패킷의 헤더에 포함된 IPv4 주소와 IPv6 주소 정보쌍에 대응되는 정보가 캐쉬 테이블에 존재하는지의 여부를 판단하는 단계와, 상기 판단 결과, 상기 캐쉬 테이블에 주소 정보쌍이 존재하지 않은 경우에 상기 주소 정보쌍을 캐쉬 테이블에 등록하고, 상기 주소 정보쌍에 대응되는 타이머 기능을 활성화시킨 후에 상기 IPv4 패킷을 IPv4 호스트에 전송하는 단계와, 상기 IPv4 패킷을 전송하는 단계 이후, 상기 라우터가 IPv6 호스트로 주소 반환 메시지의 수신여부를 체크하는 단계와, 상기 체크 결과, 상기 주소 반환 메시지가 수신된 경우에 상기 캐쉬 테이블에서 상기 주소 정보쌍을 삭제하는 단계를 포함한다. In addition, the present invention provides an address management method of a system for managing an IPv4 address assigned to a host located in an IPv6 network, the method comprising: allocating an IPv4 address to the IPv6 host according to an IPv4 address request of the IPv6 host; Transmitting the tunnel packet including the IPv4 packet and its IPv6 address to the router using the assigned IPv4 address, and receives the tunnel packet from the IPv6 host to receive the IPv6 address and IPv4 packet in the tunnel header of the tunnel packet Extracting and determining whether information corresponding to the IPv4 address and the IPv6 address information pair included in the header of the IPv4 packet exists in the cache table; and as a result of the determination, the address information pair does not exist in the cache table. Register the address information pair in a cache table and activate a timer function corresponding to the address information pair. Transmitting the IPv4 packet to an IPv4 host, checking whether the router receives an address return message to an IPv6 host after transmitting the IPv4 packet, and as a result of the checking, the address return message is received. Deleting the address information pair from the cache table.

본 발명의 실시 예는 다수개가 존재할 수 있으며, 이하에서 첨부한 도면을 참조하여 바람직한 실시 예에 대하여 상세히 설명하기로 한다. 이 기술 분야의 숙 련자라면 이 실시 예를 통해 본 발명의 목적, 특징 및 이점들을 잘 이해할 수 있을 것이다.There may be a plurality of embodiments of the present invention, and a preferred embodiment will be described in detail below with reference to the accompanying drawings. Those skilled in the art will be able to understand the object, features, and advantages of the present invention through this embodiment.

도 1은 본 발명에 따른 듀얼 스택 전환 메커니즘 라우터를 설명하기 위한 시스템을 도시한 블록도이다.1 is a block diagram illustrating a system for describing a dual stack switching mechanism router according to the present invention.

이에 도시된 바와 같이, IPv6망에 위치한 호스트에 할당된 IPv4 주소를 관리하는 시스템은 IPv6망(100), 라우터(150) 및 IPv4망(200)을 포함한다.As shown therein, a system for managing an IPv4 address assigned to a host located in an IPv6 network includes an IPv6 network 100, a router 150, and an IPv4 network 200.

IPv6망(100)에는 IPv6 호스트(110) 및 주소 할당 서버(120)를 포함하며, 주소 할당 서버(120)는 IPv6 호스트(110)의 주소 요구 메시지에 대응하여 임의의 IPv4 주소를 IPv6 호스트(110)에 할당하고 IPv4 호스트(110)의 주소 반환 메시지를 수신하여 할당 IPv4 주소를 회수한다. 특히 주소 할당 서버(120)는 IPv6 호스트(110)의 주소 요구 메시지에 응답하여 동적으로 IPv4 주소를 할당하는 DHCPv6 서버이다.The IPv6 network 100 includes an IPv6 host 110 and an address assignment server 120, and the address assignment server 120 assigns an IPv6 address 110 to an IPv6 host 110 in response to an address request message of the IPv6 host 110. ) And retrieves the assigned IPv4 address by receiving the address return message of the IPv4 host 110. In particular, the address assignment server 120 is a DHCPv6 server that dynamically allocates an IPv4 address in response to the address request message of the IPv6 host 110.

IPv6 호스트(110)는 주소 할당 서버(120)로 할당된 IPv4 주소를 이용하여 IPv4 패킷과 자신의 IPv6 주소가 포함된 터널 패킷을 송출하고 할당된 IPv4 주소를 반환하기 위한 주소 반환 메시지를 주소 할당 서버(120) 및 라우터(150)에 송출한다.The IPv6 host 110 transmits an IPv4 packet and a tunnel packet including its IPv6 address by using the IPv4 address assigned to the address assignment server 120 and sends an address return message for returning the assigned IPv4 address. It transmits to 120 and the router 150.

IPv6 호스트(110)에서 송신되는 터널 패킷에는 주소 할당 서버(120)에서 할당된 IPv4 주소와 데이터가 포함된 IPv4 패킷에 IPv6 호스트(110)의 IPv6 주소를 송신측 주소로 라우터(150)의 IPv6 주소를 목적지 주소로 하는 4 오버 6 터널 헤더가 부가된 패킷이다.The tunnel packet transmitted from the IPv6 host 110 includes the IPv6 address of the router 150 as the sender address by using the IPv6 address of the IPv6 host 110 in an IPv4 packet including the IPv4 address and data allocated by the address assignment server 120. Is a packet with a 4 over 6 tunnel header added as a destination address.

주소 반환 메시지에는 주소 할당 서버(120)에서 할당받은 IPv4 주소를 반환하기 위한 메시지 데이터와 IPv6 호스트(110)의 IPv6 주소 정보 및 UDPv6 정보가 포함되어 있다. 이러한 주소 반환 메시지는 UDPv6 프로토콜을 이용하여 주소 할당 서버(120)와 라우터(150)로 전송된다.The address return message includes message data for returning an IPv4 address allocated by the address assignment server 120, IPv6 address information of the IPv6 host 110, and UDPv6 information. The address return message is transmitted to the address assignment server 120 and the router 150 using the UDPv6 protocol.

IPv4망(200)과 IPv6망(100)에는 각각 다수의 IPv4 및 IPv6 호스트 존재하는데, 본 발명에서는 하나의 호스트인 IPv6 호스트(110)와 IPv4 호스트(210)만을 도시하였다. There are a plurality of IPv4 and IPv6 hosts in the IPv4 network 200 and the IPv6 network 100, respectively. In the present invention, only one host, the IPv6 host 110 and the IPv4 host 210, is illustrated.

라우터(150)는 본 발명에 따른 듀얼 스택 전환 메커니즘 라우터로써 IPv6 스택(142), IPv4 스택(144), 프로토콜 처리 테이블(146) 및 캐쉬 테이블(148)을 포함하며, IPv6 호스트(110)로부터 수신된 터널 패킷에 포함된 IP4 패킷을 IPv6 호스트가 통신하고자 하는 IPv4 호스트에 전송하고, 주소 반환 메시지의 수신에 따라 캐쉬 테이블(148)에 설정된 IPv6 주소와 IPv4 주소 정보쌍을 삭제시킨다.The router 150 is a dual stack switching mechanism router according to the present invention, which includes an IPv6 stack 142, an IPv4 stack 144, a protocol processing table 146, and a cache table 148, and receives from the IPv6 host 110. The IP4 packet included in the processed tunnel packet is transmitted to the IPv4 host to which the IPv6 host wants to communicate, and upon receipt of the address return message, the IPv6 address and the IPv4 address information pair set in the cache table 148 are deleted.

캐쉬 테이블(148)은 IPv6 호스트(110)들에게 할당된 IPv4 주소와 각각의 IPv6 호스트들의 IPv6 주소 정보쌍들이 저장되어 있으며, 각각의 정보쌍에는 타이머가 설정되어 있다.The cache table 148 stores IPv4 addresses assigned to the IPv6 hosts 110 and IPv6 address information pairs of respective IPv6 hosts, and a timer is set in each information pair.

IPv6 스택(142)은 IPv6 호스트(110)에서 송신되는 터널 패킷을 수신하고, 프로토콜 처리 테이블(146)에 포함된 핸들러 기능을 이용하여 터널 패킷에 포함된 IPv4 패킷을 IPv4 스택(144)을 통해 IPv4망(200)의 IPv4 호스트(210)에게 전송한다. 또한 IPv6 스택(142)은 IPv6 호스트(110)에서 송신되는 주소 반환 메시지를 수신하고, 프로토콜 처리 테이블(146)에 등록된 핸들러를 이용하여 주소 반환 메시 지에 포함된 IPv6 호스트(110)의 IPv6 주소 정보에 대응되는 주소 정보쌍을 캐쉬 테이블(148)에서 검색한 후에 검색된 주소 정보쌍을 제거한다.The IPv6 stack 142 receives the tunnel packet transmitted from the IPv6 host 110 and uses the handler function included in the protocol processing table 146 to transfer the IPv4 packet included in the tunnel packet through the IPv4 stack 144 to the IPv4 stack 144. It transmits to the IPv4 host 210 of the network 200. In addition, the IPv6 stack 142 receives the address return message transmitted from the IPv6 host 110, and uses IPv6 address information of the IPv6 host 110 included in the address return message by using a handler registered in the protocol processing table 146. The searched address information pair is searched in the cache table 148 and then the searched address information pair is removed.

프로토콜 처리 테이블(146)에 등록된 핸들러로는 IPv6 호스트로부터 터널 패킷을 수신하여 터널 패킷의 터널 헤더에서 IPv6 주소와 IPv4 패킷을 추출하고, IPv4 패킷의 헤더에 포함된 IPv4 주소와 IPv6 주소 정보에 대응되는 정보쌍에 설정된 타이머를 리셋시키거나, 주소 정보를 캐쉬 테이블(148)에 저장한 후에 IPv4 패킷을 IPv4 스택(144)을 통해 IPv4 호스트(210)에 전송하는 4 오보 6 터널 핸들러(tep_rcv)와, IPv6 호스트(110)로부터 주소 반환 메시지의 수신에 따라 주소 반환 메시지에 포함된 IPv6 주소에 대응되는 주소 정보쌍을 캐쉬 테이블에서 검색하여 제거하는 메시지 처리 핸들러(udpv6_hook_rcv)와, 일단 TCP 프로토콜을 이용하여 송신된 패킷들을 처리하는 tcpv6_rcv와, UDPv6 프로토콜을 이용하여 IPv6 호스트(110)에서 송신되는 일반적인 UDPv6 메시지를 처리하는 UDPv6 핸들러를 포함한다.The handler registered in the protocol processing table 146 receives the tunnel packet from the IPv6 host, extracts the IPv6 address and the IPv4 packet from the tunnel header of the tunnel packet, and corresponds to the IPv4 address and the IPv6 address information included in the header of the IPv4 packet. 4 ovo 6 tunnel handler (tep_rcv) for resetting the timer set for the pair of information or storing the address information in the cache table 148 and then transmitting the IPv4 packet to the IPv4 host 210 through the IPv4 stack 144; In response to receiving the address return message from the IPv6 host 110, a message processing handler (udpv6_hook_rcv) that searches for and removes an address information pair corresponding to the IPv6 address included in the address return message from the cache table, and uses the TCP protocol. Tcpv6_rcv for processing the transmitted packets, and UDPv6 handler for processing general UDPv6 messages transmitted from the IPv6 host 110 using the UDPv6 protocol. Include.

상기와 같은 구조를 갖는 IPv6망에 위치한 호스트에 할당된 IPv4 주소를 관리하는 시스템의 동작 과정은 도 2 내지 도 3을 참조하여 설명한다.An operation process of a system for managing an IPv4 address assigned to a host located in an IPv6 network having the above structure will be described with reference to FIGS. 2 to 3.

도 2는 본 발명의 IPv6망에 위치한 호스트에 할당된 IPv4 주소를 관리하는 시스템에서 라우터의 동작 과정을 설명하기 위한 시스템이고, 도 3은 본 발명에 따른 IPv6망에 위치한 호스트에 할당된 IPv4 주소를 관리하는 시스템의 동작 과정을 나타내는 흐름도이다.2 is a system for explaining an operation process of a router in a system for managing an IPv4 address assigned to a host located in an IPv6 network of the present invention, and FIG. 3 shows an IPv4 address assigned to a host located in an IPv6 network according to the present invention. It is a flowchart showing the operation process of the managing system.

도 2 내지 도 3에 도시된 바와 같이, IPv6 호스트(110)는 IPv6 주소(그 예로 써, 11)만을 가지고 있고 IPv4 주소는 할당받지 않은 상태에서 IPv4망(200)의 IPv4 호스트(210)와 통신하기 위해 IPv4 주소 할당을 위한 IPv4 주소 요구 메시지를 주소 할당 서버(120)에 전송하고, DSTM 서버(120)로부터 IPv4 주소(그 예로써, 178)를 할당받는다(S300). IPv4 주소를 할당받은 IPv6 호스트(110)는 IPv4 주소 178을 송신측 주소로 하고 IPv4 호스트(210)의 IPv4 주소를 목적지 주소로 하는 IPv4 패킷을 생성하고, IPv4 패킷에 IPv6 호스트(110)의 IPv6 주소 “11”을 송신측 주소로하고 라우터(150)의 IPv6 주소를 목적지 주소로 하는 4 오버 6 터널 헤더가 부가된 터널 패킷을 생성한 후에 이를 라우터(150)에 전송한다(S302).As shown in Figs. 2 to 3, the IPv6 host 110 has only an IPv6 address (for example, 11) and communicates with the IPv4 host 210 of the IPv4 network 200 without being assigned an IPv4 address. In order to transmit the IPv4 address request message for the IPv4 address assignment to the address assignment server 120, and receives an IPv4 address (for example, 178) from the DSTM server 120 (S300). The IPv6 host 110 assigned the IPv4 address generates an IPv4 packet having the IPv4 address 178 as the sender address and the IPv4 address of the IPv4 host 210 as the destination address, and the IPv6 address of the IPv6 host 110 in the IPv4 packet. After generating the tunnel packet to which the 4 over 6 tunnel header which added "11" as a sender address and the IPv6 address of the router 150 as a destination address is generated, it transmits it to the router 150 (S302).

이러한 캡슐한 패킷을 수신한 라우터(150)는 터널 헤더의 송신측 IPv6 주소와 IPv4 패킷 헤더의 송신측 IPv4 주소 정보쌍으로 캐쉬 테이블(148)을 검색하며, 검색 결과 터널 패킷에 주소 정보쌍과 동일한 주소 정보쌍이 캐쉬 테이블(148)에 존재한 경우에 해당 주소 정보쌍에 대응되는 타이머를 리셋시키고, 그렇지 않은 경우에 터널 패킷에 포함된 주소 정보를 캐쉬 테이블(148)에 저장시킨다(S302).Receiving this encapsulated packet, the router 150 searches the cache table 148 with the sender IPv6 address of the tunnel header and the sender IPv4 address information pair of the IPv4 packet header. If the address information pair is present in the cache table 148, the timer corresponding to the address information pair is reset, and if not, the address information included in the tunnel packet is stored in the cache table 148 (S302).

라우터(150)는 복원된 IPv4 패킷을 IPv4 통신 프로토콜의 일반적인 라우팅 과정을 통해 IPv4망(200)의 IPv4 호스트(210)에 전송한다(S302).The router 150 transmits the restored IPv4 packet to the IPv4 host 210 of the IPv4 network 200 through a general routing process of the IPv4 communication protocol (S302).

IPv4 패킷을 수신한 IPv4 호스트(210)는 수신한 IPv4 패킷을 토대로 IPv6 호스트(110)의 IPv4 주소가 “178”임을 인식하고, IPv6 호스트(110)에 정보를 전송할 때 목적지 주소를 “178”로 하는 IPv4 패킷을 생성하고. 생성된 IPv4 패킷은 일반적인 라우팅 과정에 의해 라우터(150)에 전송된다. 라우터(150)는 캐쉬 테이블(148)의 검색을 통해 IPv4 호스트(210)로부터 수신한 IPv4 패킷의 목적지 주소 정보에 대응되는 IPv6 주소 정보인 “11”을 인출한다(S304).The IPv4 host 210 receiving the IPv4 packet recognizes that the IPv4 address of the IPv6 host 110 is "178" based on the received IPv4 packet, and sends the destination address to "178" when transmitting information to the IPv6 host 110. And generate an IPv4 packet. The generated IPv4 packet is transmitted to the router 150 by a general routing process. The router 150 retrieves “11” which is IPv6 address information corresponding to the destination address information of the IPv4 packet received from the IPv4 host 210 through the search of the cache table 148 (S304).

이때, 라우터(150)는 이전에 IPv6 호스트(110)에서 IPv4 호스트(210)로 전송된 패킷을 처리하면서 주소 정보를 캐쉬 테이블(148)에 저장하였기 때문에 IPv4 패킷의 목적지 주소에 대응되는 IPv6 주소가 “11”임을 검색할 수 있다. 라우터(150)는 IPv4 호스트(210)에서 수신한 IPv4 패킷에 검색된 IPv6 주소를 목적지 주소로 하고 라우터(150) 자신의 IPv6 주소를 전송지 주소로 하는 4 오버 6 캡슐화 헤더를 부가한 후에, 이를 IPv6 호스트(110)에 전송한다(S304). In this case, since the router 150 previously stored the address information in the cache table 148 while processing the packet transmitted from the IPv6 host 110 to the IPv4 host 210, the IPv6 address corresponding to the destination address of the IPv4 packet is stored. You can search for "11". The router 150 adds a 4 over 6 encapsulation header having the IPv6 address retrieved from the IPv4 host 210 as the destination address and the router 150 own IPv6 address as the destination address. The host 110 transmits the data to the host 110 (S304).

상기와 같은 과정을 통해 IPv6 호스트(110)와 IPv4 호스트(210)간의 통신이 이루어진다.Through the above process, communication between the IPv6 host 110 and the IPv4 host 210 is made.

이후, IPv6 호스트(110)는 IPv4 호스트(210)가 통신을 종료한 후에 주소 반환(RELEASE) 메시지를 주소 할당 서버(120)에 전송하여 주소 할당 서버(120)로부터 할당받은 IPv4 주소를 반환한다. 이때 IPv6 호스트(110)는 IPv4 주소 반환 메시지를 주소 할당 서버(120)에 전송함과 함께 라우터(150)에도 전송한다.Subsequently, after the IPv4 host 210 terminates communication, the IPv6 host 110 transmits an RELEASE message to the address assignment server 120 to return the IPv4 address allocated from the address assignment server 120. At this time, the IPv6 host 110 transmits an IPv4 address return message to the address assignment server 120 and also to the router 150.

라우터(150)는 주소 반환 메시지에 대응되는 주소 정보 및 관련 정보를 캐쉬 테이블(148)에서 삭제시킨다. 다시 말해서, 캐쉬 테이블(148)에 설정된 IPv6 주소와 IPv4 주소 정보쌍인 “11, 178”을 삭제시킨다(S308).The router 150 deletes address information and related information corresponding to the address return message from the cache table 148. In other words, the IPv6 address and the IPv4 address information pair "11, 178" set in the cache table 148 are deleted (S308).

라우터(150)가 IPv6 호스트(110)에서 송신하는 터널 패킷을 처리하는 과정인 단계 S302는 도 4를 참조하여 설명한다. 도 4는 본 발명에 따른 라우터가 IPv6 호스트로부터 수신한 터널 패킷을 처리하는 과정을 설명하기 도면이다.Step S302, in which the router 150 processes the tunnel packet transmitted from the IPv6 host 110, will be described with reference to FIG. 4. 4 is a diagram illustrating a process of processing a tunnel packet received from an IPv6 host by a router according to the present invention.

이에 도시된 바와 같이, IPv6망(100)의 IPv6 호스트(110)로부터 터널 패킷을 수신한 라우터(150)의 IPv6 스택(142)은 IPv6 헤더의 목적지 주소가 자신임을 확인한 후에 데이터에 IPv4 패킷이 탑재된 패킷을 라우터(150)의 프로토콜 처리 테이블(146)에 등록된 4 오보 6 터널 핸들러(tep_rcv)에 제공하고, 4 오보 6 터널 핸들러(tep_rcv)는 IPv4 패킷을 복원한 후에 송신측의 IPv6 주소와 IPv4 패킷 헤더의 송신측 IPv4 주소 정보 쌍으로 하여 캐쉬 테이블(148)을 검색한다.As shown therein, the IPv6 stack 142 of the router 150 receiving the tunnel packet from the IPv6 host 110 of the IPv6 network 100 checks that the destination address of the IPv6 header is itself, and then loads the IPv4 packet in the data. Packet is provided to the 4 ovo 6 tunnel handler (tep_rcv) registered in the protocol processing table 146 of the router 150. The 4 ovo 6 tunnel handler (tep_rcv) restores the IPv4 packet and then returns the IPv6 address of the sender. The cache table 148 is searched as a sender IPv4 address information pair of the IPv4 packet header.

4 오보 6 터널 핸들러(tep_rcv)는 캐쉬 테이블(148)의 검색 결과 수신된 터널 패킷에 포함된 주소 정보쌍이 캐쉬 테이블(148)에 존재하지 않은 경우에 주소 정보쌍을 캐쉬 테이블(148)에 등록한 후에 타이머 기능을 구동시키고, 캐쉬 테이블(148)에 존재하는 경우에 타이머를 리셋한다.4 The misleading 6 tunnel handler tep_rcv registers the address information pair in the cache table 148 when the address information pair included in the tunnel packet received as a result of the search of the cache table 148 does not exist in the cache table 148. The timer function is driven and the timer is reset when present in the cache table 148.

이후, 4 오보 6 터널 핸들러(tep_rcv)는 복원된 IPv4 패킷을 IPv4 스택(144)에 전달하고, IPv4 스택(144)은 IPv4 패킷을 일반적인 라우팅 과정을 통해 IPv4 호스트(210)에 전송한다.Thereafter, the 4 misleading 6 tunnel handler tep_rcv forwards the restored IPv4 packet to the IPv4 stack 144, and the IPv4 stack 144 transmits the IPv4 packet to the IPv4 host 210 through a general routing process.

라우터(150)가 IPv6 호스트(110)로부터 수신한 주소 반환 메시지를 처리하는 과정인 단계 S306은 도 5를 참조하여 설명한다. 도 5는 본 발명에 따른 라우터가 IPv6 호스트로부터 수신한 주소 반환 메시지를 처리하는 과정을 설명하기 도면이다.Operation S306, in which the router 150 processes the address return message received from the IPv6 host 110, will be described with reference to FIG. 5. 5 is a diagram illustrating a process of a router processing an address return message received from an IPv6 host according to the present invention.

도 5에 도시된 바와 같이, IPv6 호스트(110)는 UDPv6 프로토콜을 이용하여 주소 반환 메시지를 라우터(150)에 전송하며, 이러한 주소 반환 메시지는 UDPv6 프로토콜을 이용하기 때문에 라우터(150)는 IPv6 스택(142)의 프로토콜 처리 테이블(146)에 등록된 주소 반환 메시지 핸들러(udpv6_hook_rcv)를 이용하여 주소 반환 메시지를 처리한다. 이때 라우터(150)는 일반적인 UDPv6 메시지를 처리하는 UDPv6 메시지 핸들러를 백업시킨다.As shown in FIG. 5, the IPv6 host 110 transmits an address return message to the router 150 using the UDPv6 protocol, and since the address return message uses the UDPv6 protocol, the router 150 uses the IPv6 stack ( The address return message is processed using the address return message handler udpv6_hook_rcv registered in the protocol processing table 146 of 142. At this time, the router 150 backs up the UDPv6 message handler which processes the general UDPv6 message.

라우터(150)의 IPv6 스택(142)이 UDPv6 메시지를 수신하면 프로토콜 처리 테이블(148)에 등록된 주소 반환 메시지 핸들러(udpv6_hook_rcv)에게 전달한다. 이를 수신한 주소 반환 메시지 핸들러(udpv6_hook_rcv)는 패킷에 포함된 메시지 데이터가 일반적인 UDPv6 메시지인 경우에 이를 UDPv6 메시지 핸들러에 제공하고, 메시지 데이터에 주소 반환 정보가 포함되어 있는 경우에는 인출된 IPv6 주소 정보를 이용하여 캐쉬 테이블(148)을 검색하여 IPv6 주소 정보에 대응되는 주소 정보쌍을 캐쉬 테이블(148)에서 삭제시킨다.When the IPv6 stack 142 of the router 150 receives the UDPv6 message, the router 150 delivers the UDPv6 message to the address return message handler udpv6_hook_rcv registered in the protocol processing table 148. The received address return message handler (udpv6_hook_rcv) provides the UDPv6 message handler when the message data contained in the packet is a normal UDPv6 message, and the extracted IPv6 address information when the message data includes the address return information. The cache table 148 is searched to delete address pairs corresponding to the IPv6 address information from the cache table 148.

상기와 같은 주소 반환 메시지의 처리 과정은, 도 6을 참조하여 상세하게 설명하면 아래와 같다. 도 6은 본 발명에 따른 UDPv6 메시지를 처리하는 과정을 나타내는 흐름도이다.The processing of the address return message as described above will be described below with reference to FIG. 6. 6 is a flowchart illustrating a process of processing a UDPv6 message according to the present invention.

도 6에 도시된 바와 같이, IPv6 호스트(110)로부터 UDPv6 메시지를 수신한 라우터(150)는 UDPv6 메시지가 주소 반환 메시지인지의 여부를 판단한다(S400, S402). 단계 S402의 판단 결과, UDPv6 메시지가 주소 반환 메시지가 아닌 경우에 라우터(150)에 백업된 UDPv6 메시지 핸들러를 이용하여 UDPv6 메시지를 처리하고, UDPv6 메시지가 주소 반환 메시지인 경우에 라우터(150)의 프로토콜 처리 테이블(146)에 등록된 주소 반환 메시지 처리 핸들러(udpv6_hook_rcv)를 이용하여 주소 반환 메시지를 전달한 IPv6 호스트(110)에 할당된 IPv4 주소 정보에 대응되는 주소 정보쌍을 캐쉬 테이블(148)에서 삭제시킨다(S406).As shown in FIG. 6, the router 150 receiving the UDPv6 message from the IPv6 host 110 determines whether the UDPv6 message is an address return message (S400 and S402). As a result of the determination in step S402, when the UDPv6 message is not the address return message, the UDPv6 message is processed using the UDPv6 message handler backed up to the router 150, and the protocol of the router 150 when the UDPv6 message is the address return message. Using the address return message processing handler (udpv6_hook_rcv) registered in the processing table 146, the address information pair corresponding to the IPv4 address information allocated to the IPv6 host 110 that delivered the address return message is deleted from the cache table 148. (S406).

이후, IPv6 호스트(110)로부터 수신한 UDPv6 메시지에 포함된 주소 할당 서버(120)의 주소가 라우터(150)의 주소와 동일한지의 여부를 판단한다(S408).Thereafter, it is determined whether the address of the address assignment server 120 included in the UDPv6 message received from the IPv6 host 110 is the same as the address of the router 150 (S408).

단계 S408의 판단 결과, 라우터(150)는 UDPv6 메시지에 포함된 주소 할당 서버(120)의 주소가 라우터(150)의 주소와 동일한 경우에 패킷을 백업된 UDPv6 메시지 핸들러로 전달하고, 그렇지 않은 경우에는 패킷을 폐기한다(S410).As a result of the determination in step S408, the router 150 forwards the packet to the backed up UDPv6 message handler when the address of the address assignment server 120 included in the UDPv6 message is the same as the address of the router 150; Discard the packet (S410).

이상 설명한 바와 같이, 본 발명은 주소 반환 메시지 처리 핸들러를 이용하여 주소 반환 메시지를 송신한 IPv6 호스트들의 IPv6 주소와 IPv4 주소 정보쌍을 캐쉬 테이블에서 삭제함으로써, 캐쉬 테이블에 현재 통신 중인 주소 정보쌍만을 저장하기 때문에 타이머 설정 시간의 작아짐에 따라 발생되는 호스트간의 단락 문제를 해결할 수 있다.As described above, the present invention stores only the address information pair currently being communicated in the cache table by deleting the IPv6 address and the IPv4 address information pair of the IPv6 hosts that have sent the address return message using the address return message processing handler. This solves the short circuit problem between hosts, which occurs as the timer setting time decreases.

또한, 본 발명은 캐쉬 테이블에 현재 통신 중인 주소 정보쌍만을 저장하기 때문에 캐쉬 테이블의 확대 없이 타이머 값을 크게 할 수 있다. In addition, since the present invention stores only the address information pairs currently being communicated in the cache table, the timer value can be increased without expanding the cache table.

Claims (9)

IPv6망에 위치한 호스트에 할당된 IPv4 주소를 관리하는 시스템에 있어서,In a system for managing an IPv4 address assigned to a host located in an IPv6 network, 상기 IPv6망의 경계에 위치하며, 상기 IPv6 호스트의 주소 요구 메시지에 대응하여 IPv4 주소를 상기 호스트에 할당시키는 주소 할당 서버와,An address assignment server located at a boundary of the IPv6 network and assigning an IPv4 address to the host in response to an address request message of the IPv6 host; 상기 주소 할당 서버로 할당된 IPv4 주소를 이용하여 IPv4 패킷과 자신의 IPv6 주소가 포함된 터널 패킷을 송출하고, 상기 할당된 IPv4 주소를 반환하기 위한 주소 반환 메시지를 송출하는 IPv6 호스트와,An IPv6 host that transmits an IPv4 packet and a tunnel packet including its IPv6 address using an IPv4 address assigned to the address assignment server, and sends an address return message for returning the allocated IPv4 address; 상기 터널 패킷에 포함된 IP4 패킷을 상기 IPv6 호스트가 통신하고자 하는 IPv4 호스트에 전송하고, 상기 주소 반환 메시지의 수신에 따라 캐쉬 테이블에 설정된 상기 IPv6 호스트의 IPv6 주소와 IPv4 주소 정보쌍을 삭제시키는 라우터를 포함하는 듀얼 스택 전환 메커니즘 라우터.A router for transmitting the IP4 packet included in the tunnel packet to an IPv4 host to which the IPv6 host intends to communicate, and deleting the IPv6 address and IPv4 address information pair of the IPv6 host set in the cache table upon receipt of the address return message; Including dual stack switching mechanism router. 제 1 항에 있어서,The method of claim 1, 상기 라우터는,The router, 상기 IPv6 호스트로부터 터널 패킷을 수신하여 상기 터널 패킷의 터널 헤더에서 IPv6 주소와 IPv4 패킷을 추출하고, 상기 IPv4 패킷의 헤더에 포함된 IPv4 주소와 IPv6 주소 정보쌍에 대응되는 상기 타이머 기능을 리셋시키거나 상기 주소 정보쌍을 캐쉬 테이블에 저장하는 4 오보 6 터널 핸들러와,Receiving a tunnel packet from the IPv6 host, extracting an IPv6 address and an IPv4 packet from the tunnel header of the tunnel packet, and resetting the timer function corresponding to the IPv4 address and IPv6 address information pair included in the header of the IPv4 packet; A 4 oboe 6 tunnel handler which stores the pair of address information in a cache table, 상기 IPv6 호스트로부터 주소 반환 메시지의 수신에 따라 상기 주소 반환 메 시지에 포함된 IPv6 주소에 대응되는 주소 정보쌍을 캐쉬 테이블에서 검색하여 제거하는 메시지 처리 핸들러를 포함하는 듀얼 스택 전환 메커니즘 라우터.And a message processing handler for retrieving and removing from the cache table an address information pair corresponding to an IPv6 address included in the address return message when the address return message is received from the IPv6 host. 제 2 항에 있어서,The method of claim 2, 상기 주소 반환 메시지는, UDPv6 프로토콜을 이용하여 상기 라우터로 전송되는 듀얼 스택 전환 메커니즘 라우터.And the address return message is transmitted to the router using a UDPv6 protocol. 제 1 항에 있어서,The method of claim 1, 상기 주소 할당 서버는, 상기 IPv6 호스트에게 할당된 IPv4 주소를 상기 IPv6 호스트로부터 주소 반환 메시지의 수신에 따라 회수하는 듀얼 스택 전환 메커니즘 라우터.And the address assignment server retrieves the IPv4 address assigned to the IPv6 host upon receipt of an address return message from the IPv6 host. 제 1 항에 있어서,The method of claim 1, 상기 주소 할당 서버는, 상기 IPv6 호스트에게 IPv4 주소를 동적으로 할당하는 DHCPv6 서버인 듀얼 스택 전환 메커니즘 라우터.And the address assignment server is a DHCPv6 server that dynamically assigns an IPv4 address to the IPv6 host. IPv6망에 위치한 호스트에 할당된 IPv4 주소를 관리 시스템의 주소 관리 방법에 있어서,In the address management method of the management system in the IPv4 address assigned to the host located in the IPv6 network, 상기 IPv6 호스트의 IPv4 주소 요청에 따라 상기 IPv6 호스트에게 IPv4 주소를 할당하는 단계와,Allocating an IPv4 address to the IPv6 host according to an IPv4 address request of the IPv6 host; 상기 IPv6 호스트는 할당된 IPv4 주소를 이용하여 IPv4 패킷과 자신의 IPv6 주소가 포함된 터널 패킷을 라우터에 전송하는 단계와,The IPv6 host transmits the IPv4 packet and the tunnel packet including its IPv6 address to the router using the assigned IPv4 address; 상기 IPv6 호스트로부터 터널 패킷을 수신하여 상기 터널 패킷의 터널 헤더에서 IPv6 주소와 IPv4 패킷을 추출하고, 상기 IPv4 패킷의 헤더에 포함된 IPv4 주소와 IPv6 주소 정보쌍에 대응되는 정보가 캐쉬 테이블에 존재하는지의 여부를 판단하는 단계와,Receiving a tunnel packet from the IPv6 host, extracting an IPv6 address and an IPv4 packet from the tunnel header of the tunnel packet, and whether information corresponding to the IPv4 address and the IPv6 address information pair included in the header of the IPv4 packet exists in the cache table Determining whether or not, 상기 판단 결과, 상기 캐쉬 테이블에 주소 정보쌍이 존재하지 않은 경우에 상기 주소 정보쌍을 캐쉬 테이블에 등록하고, 상기 주소 정보쌍에 대응되는 타이머 기능을 활성화시킨 후에 상기 IPv4 패킷을 IPv4 호스트에 전송하는 단계와,If the address information pair does not exist in the cache table, registering the address information pair in the cache table, activating a timer function corresponding to the address information pair, and then transmitting the IPv4 packet to an IPv4 host. Wow, 상기 IPv4 패킷을 전송하는 단계 이후, 상기 라우터가 IPv6 호스트로 주소 반환 메시지의 수신여부를 체크하는 단계와,Checking, by the router, whether to receive an address return message from an IPv6 host after transmitting the IPv4 packet; 상기 체크 결과, 상기 주소 반환 메시지가 수신된 경우에 상기 캐쉬 테이블에서 상기 주소 정보쌍을 삭제하는 단계를 포함하는 듀얼 스택 전환 메커니즘 라우터의 캐쉬 테이블 관리 방법.And deleting the address information pair from the cache table when the address return message is received as a result of the check. 제 6 항에 있어서,The method of claim 6, 상기 판단 결과, 상기 캐쉬 테이블에 주소 정보쌍에 대응되는 정보가 존재하는 경우에 상기 정보에 대응되는 타이머 기능을 리셋시키는 듀얼 스택 전환 메커니즘 라우터의 캐쉬 테이블 관리 방법.And the cache table management method of the dual stack switching mechanism router that resets a timer function corresponding to the information when the information corresponding to the address information pair exists in the cache table. 제 6 항에 있어서,The method of claim 6, 상기 주소 반환 메시지는, UDPv6 프로토콜을 이용하여 상기 라우터에 전송되는 듀얼 스택 전환 메커니즘 라우터의 캐쉬 테이블 관리 방법.And the address return message is transmitted to the router using a UDPv6 protocol. 제 6 항에 있어서,The method of claim 6, 상기 IPv6 호스트는, 상기 IPv4 주소를 DHCPv6 서버로부터 할당받는 듀얼 스택 전환 메커니즘 라우터의 캐쉬 테이블 관리 방법.The IPv6 host, the cache table management method of a dual stack switching mechanism router that is assigned the IPv4 address from a DHCPv6 server.
KR1020020082258A 2002-12-23 2002-12-23 Dual stack transition mechanism router and method for cache table KR100545586B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020020082258A KR100545586B1 (en) 2002-12-23 2002-12-23 Dual stack transition mechanism router and method for cache table

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020020082258A KR100545586B1 (en) 2002-12-23 2002-12-23 Dual stack transition mechanism router and method for cache table

Publications (2)

Publication Number Publication Date
KR20040056378A KR20040056378A (en) 2004-07-01
KR100545586B1 true KR100545586B1 (en) 2006-01-24

Family

ID=37349069

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020020082258A KR100545586B1 (en) 2002-12-23 2002-12-23 Dual stack transition mechanism router and method for cache table

Country Status (1)

Country Link
KR (1) KR100545586B1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100666987B1 (en) * 2004-11-15 2007-01-10 삼성전자주식회사 System and Method for IPv4-IPv6 Transition Using Dual Stack Transition Mechanism
KR100705570B1 (en) * 2005-03-09 2007-04-10 삼성전자주식회사 AUTOMATIC CONFIGURED TUNNELING SYSTEM AND METHOD BETWEEN IPv4 NETWORK AND IPv6 NETWORK
CN1333567C (en) * 2005-05-27 2007-08-22 清华大学 Method for deploying transition mechanism of 4 over 6 independently in ISP
CN1333568C (en) * 2005-05-27 2007-08-22 清华大学 Method for intercommunication between IP V6 network and IPV4 network based on transit mechanism
KR100670818B1 (en) * 2005-05-31 2007-01-19 한국전자통신연구원 Method and system of managing layer2 table in distributed router
KR100652964B1 (en) * 2005-08-25 2006-12-01 삼성전자주식회사 Dual-stack network apparatus and broadcasting method thereof
KR100803273B1 (en) * 2005-12-27 2008-02-13 삼성전자주식회사 ISATAP Router Tunneling the packet and Method Thereof

Also Published As

Publication number Publication date
KR20040056378A (en) 2004-07-01

Similar Documents

Publication Publication Date Title
US7526569B2 (en) Router and address identification information management server
JP4230663B2 (en) Packet header reduction in wireless communication networks
US7957405B2 (en) Packet communication method and apparatus and a recording medium storing a packet communication program
US5915119A (en) Proxy terminal for network controlling of power managed user terminals in suspend mode
US6038233A (en) Translator for IP networks, network system using the translator, and IP network coupling method therefor
US7339895B2 (en) Gateway device and control method for communication with IP and IPV6 protocols
KR100453055B1 (en) Method for path MTU discovery on IP network and apparatus thereof
CN101207604B (en) Virtual machine system and communication processing method thereof
KR100811890B1 (en) Anycast routing method and apparatus for supporting service flow in internet system
US20030193965A1 (en) Packet communication method and apparatus and a recording medium storing a packet communication program
US20080043762A1 (en) Translator for IP networks, network system using the translator, and IP network coupling method therefor
EP3828709A1 (en) Communication method and network card
US20160226817A1 (en) Apparatus and method for creating block-type structure using sketch-based user interaction
US20060288104A1 (en) Information processing system
US7478139B2 (en) Shared resource support for internet protocol
US6112247A (en) Network controller for processing status queries
CN110932890A (en) Data transmission method, server and computer readable storage medium
KR100545586B1 (en) Dual stack transition mechanism router and method for cache table
JP2006180480A (en) Network system and method for performing routing using dynamic address
JP2845208B2 (en) Address resolution device
CN112165537B (en) Virtual IP method for ping reply
US7536479B2 (en) Local and remote network based management of an operating system-independent processor
KR100431206B1 (en) Table management methode for distributed forwarding in high speed router
JPH06124255A (en) Network computer system
JPH11136285A (en) Ipv4-ipv6 communication method and ipv4-ipv6 converter

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: 20121206

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20131209

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee