KR100778348B1 - Method for constructing tunnel forwarding information in line card of ipv6 router - Google Patents
Method for constructing tunnel forwarding information in line card of ipv6 router Download PDFInfo
- Publication number
- KR100778348B1 KR100778348B1 KR1020060124033A KR20060124033A KR100778348B1 KR 100778348 B1 KR100778348 B1 KR 100778348B1 KR 1020060124033 A KR1020060124033 A KR 1020060124033A KR 20060124033 A KR20060124033 A KR 20060124033A KR 100778348 B1 KR100778348 B1 KR 100778348B1
- Authority
- KR
- South Korea
- Prior art keywords
- tunnel
- information
- ipv6
- forwarding
- forwarding information
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/25—Mapping addresses of the same type
- H04L61/2503—Translation of Internet protocol [IP] addresses
- H04L61/2592—Translation of Internet protocol [IP] addresses using tunnelling or encapsulation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
- H04L45/745—Address table lookup; Address filtering
- H04L45/74591—Address table lookup; Address filtering using content-addressable memories [CAM]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/618—Details of network addresses
- H04L2101/659—Internet protocol version 6 [IPv6] addresses
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
도 1 은 일반적인 터널링 과정을 설명하기 위한 일예시도,1 is an exemplary view illustrating a general tunneling process;
도 2 는 본 발명이 적용되는 IPv6 라우터의 내부 구조를 나타낸 일예시도,2 is an exemplary view showing an internal structure of an IPv6 router to which the present invention is applied;
도 3 은 본 발명에 따른 터널 포워딩 정보 테이블의 일실시예 구조도,3 is a structural diagram of an embodiment of a tunnel forwarding information table according to the present invention;
도 4 는 본 발명에 따른 터널 포워딩 정보 테이블의 일실시예 상세 구조도,4 is a detailed structural diagram of an embodiment of a tunnel forwarding information table according to the present invention;
도 5 는 본 발명이 적용되는 IPv6 라우터의 기능 설명도,5 is a functional explanatory diagram of an IPv6 router to which the present invention is applied;
도 6 은 본 발명에 따른 IPv6 라우터의 라인 카드에서 터널 포워딩 정보 구축 방법에 대한 일실시예 흐름도,6 is a flowchart illustrating a method for establishing tunnel forwarding information in a line card of an IPv6 router according to the present invention;
도 7 은 본 발명에 따른 IPv6 라우터의 라인 카드에서 터널 포워딩 정보 구축 방법에 대한 다른 실시예 흐름도이다.7 is a flowchart illustrating another embodiment of a method of constructing tunnel forwarding information in a line card of an IPv6 router according to the present invention.
* 도면의 주요 부분에 대한 부호의 설명* Explanation of symbols for the main parts of the drawings
21 : 어플리케이션 보드 22 : 라인 카드21: Application Board 22: Line Card
221 : IPv4/IPv6 프리픽스 222 : 포워딩 정보221: IPv4 / IPv6 prefix 222: forwarding information
223 : 인터페이스 정보 224 : 터널 정보223
225 : IPv4/IPv6 프리픽스 테이블 226 : IPv4/IPv6 포워딩 테이블225: IPv4 / IPv6 prefix table 226: IPv4 / IPv6 forwarding table
227 : 터널 테이블227: Tunnel Table
본 발명은 IPv6 라우터의 라인 카드에서 터널 포워딩 정보 구축 방법에 관한 것으로, 더욱 상세하게는 IPv6 라우터의 라인 카드에서 터널 인터페이스를 가지는 포워딩 정보 메시지를 수신함에 따라 해당 포워딩 정보의 추가 요청인지 삭제 요청인지를 판단하여, 터널 테이블, IPv6 프리픽스 테이블, IPv6 포워딩 테이블에 각각 해당 터널 정보, IPv6 프리픽스 정보, 포워딩 정보를 추가/삭제함으로써, 회선 속도로 신속하고 빠르게 IPv6 패킷을 IPv4 패킷으로 변환하는 IPv6 패킷 터널링 기능을 제공하기 위한, IPv6 라우터의 라인 카드에서 터널 포워딩 정보 구축 방법에 관한 것이다.The present invention relates to a method of establishing tunnel forwarding information in a line card of an IPv6 router. More particularly, the present invention relates to whether a forwarding information message having a tunnel interface is received from a line card of an IPv6 router. By judging and adding / deleting corresponding tunnel information, IPv6 prefix information, and forwarding information to the tunnel table, IPv6 prefix table, and IPv6 forwarding table, respectively, IPv6 packet tunneling function that converts IPv6 packets into IPv4 packets quickly and quickly at line speed is provided. The present invention relates to a method for establishing tunnel forwarding information in a line card of an IPv6 router.
현재, 인터넷은 큰 IPv4망과 여러 개의 작은 IPv6망으로 구성되어 있다. 이는 전체 IPv4망을 IPv6망으로 전환하기 어렵기 때문이다. 따라서, 여러 개의 작은 IPv6망을 구축하여 점차적으로 IPv6망의 크기를 넓혀 가고 있다. Currently, the Internet consists of a large IPv4 network and several smaller IPv6 networks. This is because it is difficult to convert the entire IPv4 network to an IPv6 network. Therefore, by building several small IPv6 networks, the size of the IPv6 network is gradually expanded.
IPv4-IPv6망 경계 라우터에서 수신한 IPv6 패킷을 IPv4망을 거쳐 다른 IPv6망으로 전달하기 위해 IPv6 패킷을 IPv4 패킷으로 변환하여 전송하는 과정이 필요하다.In order to transfer the IPv6 packet received from the IPv4-IPv6 network boundary router to the other IPv6 network through the IPv4 network, a process of converting the IPv6 packet into an IPv4 packet and transmitting the IPv6 packet is required.
이를 도 1을 참조하여 상세히 살펴보기로 한다.This will be described in detail with reference to FIG. 1.
도 1에 도시된 바와 같이, IPv6 망(101)에 연결된 단말 1(103)은 IPv6 패킷(108)을 생성한다. 이때, 생성한 패킷(108)의 착신 주소(3ffe:210::10)는 다른 IPv6 망(104)에 있는 단말 2(106)의 주소임을 알 수 있다. As shown in FIG. 1, the
이렇게 단말 1(103)에서 생성한 패킷(108)은 IPv4-IPv6 경계 라우터 1(102)을 거쳐 IPv4 코어 망(100)으로 전달되지만, IPv4 코어 망(100)은 IPv6 패킷(108)을 처리할 수 없다. 따라서, IPv4-IPv6 경계 라우터 1(102)에서 IPv6 패킷(108)을 IPv4 패킷(109)으로 변환하여 IPv4망을 터널링할 수 있게 한다. The
이때, IPv4-IPv6 경계 라우터 1(102)은 속도가 빠르고 안전한 중형 라우터이어야 하며, 그렇게 하기 위해서 여러 개의 라인 카드를 가지는 대형 라우터가 필요하다. At this time, the IPv4-IPv6 border router 1 (102) should be a medium speed router that is fast and secure, and in order to do so, a large router having several line cards is required.
대형 라우터에서 IPv6 패킷을 회선 속도로 터널링 처리를 해야 하기 때문에, IPv4-IPv6 경계 라우터 1(102)의 라인 카드에서 효율적인 패킷 터널링을 위한 터널 포워딩 정보의 구축이 요구되고 있다. Since the IPv6 packet must be tunneled at the line speed in the large router, construction of tunnel forwarding information for efficient packet tunneling is required in the line card of the IPv4-IPv6 boundary router 1 (102).
본 발명은 상기 문제점을 해결하기 위하여 제안된 것으로, IPv6 라우터의 라인 카드에서 터널 인터페이스를 가지는 포워딩 정보 메시지를 수신함에 따라 해당 포워딩 정보의 추가 요청인지 삭제 요청인지를 판단하여, 터널 테이블, IPv6 프리픽스 테이블, IPv6 포워딩 테이블에 각각 해당 터널 정보, IPv6 프리픽스 정보, 포 워딩 정보를 추가/삭제함으로써, 회선 속도로 신속하고 빠르게 IPv6 패킷을 IPv4 패킷으로 변환하는 IPv6 패킷 터널링 기능을 제공하기 위한, IPv6 라우터의 라인 카드에서 터널 포워딩 정보 구축 방법을 제공하는데 그 목적이 있다.The present invention has been proposed to solve the above-mentioned problem. As a forwarding information message having a tunnel interface is received at a line card of an IPv6 router, the present invention determines whether the forwarding information is an addition request or a deletion request, and thus, a tunnel table and an IPv6 prefix table. IPv6 router line to provide IPv6 packet tunneling function to convert IPv6 packet into IPv4 packet quickly and quickly at line speed by adding / deleting corresponding tunnel information, IPv6 prefix information, and forwarding information to IPv6 forwarding table, respectively. The purpose is to provide a method of constructing tunnel forwarding information in a card.
본 발명의 다른 목적 및 장점들은 하기의 설명에 의해서 이해될 수 있으며, 본 발명의 실시예에 의해 보다 분명하게 알게 될 것이다. 또한, 본 발명의 목적 및 장점들은 특허 청구 범위에 나타낸 수단 및 그 조합에 의해 실현될 수 있음을 쉽게 알 수 있을 것이다.Other objects and advantages of the present invention can be understood by the following description, and will be more clearly understood by the embodiments of the present invention. Also, it will be readily appreciated that the objects and advantages of the present invention may be realized by the means and combinations thereof indicated in the claims.
상기 목적을 달성하기 위한 본 발명의 방법은, IPv6 라우터의 라인 카드에서 터널 포워딩 정보 구축 방법에 있어서, 터널 인터페이스를 가지는 포워딩 정보 메시지를 수신하는 단계; 상기 수신한 포워딩 정보 메시지가 해당 포워딩 정보의 추가 요청인지 삭제 요청인지를 판단하는 단계; 상기 판단 결과, 포워딩 정보의 추가 요청이면 터널 테이블, IPv6 프리픽스 테이블, IPv6 포워딩 테이블에 각각 해당 터널 정보, IPv6 프리픽스 정보, 포워딩 정보를 추가하는 포워딩 정보 추가단계; 및 상기 판단 결과, 포워딩 정보의 삭제 요청이면 상기 터널 테이블, IPv6 프리픽스 테이블, IPv6 포워딩 테이블에서 각각 해당 터널 정보, IPv6 프리픽스 정보, 포워딩 정보를 삭제하는 포워딩 정보 삭제단계를 포함하는 것을 특징으로 한다.According to an aspect of the present invention, there is provided a method of establishing tunnel forwarding information in a line card of an IPv6 router, the method comprising: receiving a forwarding information message having a tunnel interface; Determining whether the received forwarding information message is a request for adding or deleting the corresponding forwarding information; The forwarding information adding step of adding corresponding tunnel information, IPv6 prefix information, and forwarding information to the tunnel table, the IPv6 prefix table, and the IPv6 forwarding table, respectively, as a result of the determination; And a forwarding information deleting step of deleting the corresponding tunnel information, the IPv6 prefix information, and the forwarding information from the tunnel table, the IPv6 prefix table, and the IPv6 forwarding table, respectively, as a result of the determination.
또한, 본 발명의 방법은, IPv6 라우터의 라인 카드에서 터널 포워딩 정보 구축 방법에 있어서, 터널 인터페이스 메시지를 수신함에 따라 메시지의 종류를 확인 하는 단계; 상기 확인 결과, 터널 인터페이스 변경 메시지이면 터널 인터페이스에 대한 포워딩 정보가 존재하는 경우에 터널 테이블에서 해당 터널 정보를 변경하는 단계; 상기 확인 결과, 터널 인터페이스 추가 메시지이면 상기 터널 테이블에 해당 터널 인터페이스를 추가하는 단계; 및 상기 확인 결과, 터널 인터페이스 삭제 메시지이면 상기 터널 테이블에서 해당 터널 정보를 삭제한 후 IPv6 프리픽스 테이블 및 IPv6 포워딩 테이블에서 각각 해당 IPv6 프리픽스 정보와 포워딩 정보를 삭제하는 단계를 포함하는 것을 특징으로 한다.In addition, the method of the present invention, the tunnel forwarding information establishment method in the line card of the IPv6 router, comprising the steps of: checking the type of message upon receiving the tunnel interface message; Changing the corresponding tunnel information in the tunnel table when forwarding information for the tunnel interface exists if the tunnel interface change message is found as a result of the checking; Adding the corresponding tunnel interface to the tunnel table if the result of the check is a tunnel interface addition message; And deleting the corresponding tunnel information from the tunnel table and deleting the corresponding IPv6 prefix information and the forwarding information from the IPv6 prefix table and the IPv6 forwarding table, respectively, if the tunnel interface deletion message.
상술한 목적, 특징 및 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해 질 것이며, 그에 따라 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명의 기술적 사상을 용이하게 실시할 수 있을 것이다. 또한, 본 발명을 설명함에 있어서 본 발명과 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에 그 상세한 설명을 생략하기로 한다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명하기로 한다.The above objects, features and advantages will become more apparent from the following detailed description taken in conjunction with the accompanying drawings, whereby those skilled in the art may easily implement the technical idea of the present invention. There will be. In addition, in describing the present invention, when it is determined that the detailed description of the known technology related to the present invention may unnecessarily obscure the gist of the present invention, the detailed description thereof will be omitted. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
도 2 는 본 발명이 적용되는 IPv6 라우터의 내부 구조를 나타낸 일예시도이다.2 is a diagram illustrating an internal structure of an IPv6 router to which the present invention is applied.
도 2에 도시된 바와 같이, 본 발명이 적용되는 IPv6 라우터는 하나의 어플리케이션 보드(21)와 다수의 라인 카드(1~n)(22)를 포함한다. As shown in FIG. 2, the IPv6 router to which the present invention is applied includes one
여기서, 어플리케이션 보드(21)는 다수의 라인 카드(1~n)(22)가 동일한 터널 포워딩 정보를 구축할 수 있도록 제어하는 포워딩 제어 기능을 갖으며, 라인 카 드(22)는 하드웨어에 정확한 포워딩 정보를 구축하는데 이용되는 포워딩 내용을 관리하는 포워딩 기능을 갖는다. Here, the
이때, 포워딩 내용은 IPv4/IPv6 프리픽스(221), 포워딩 정보(222), 인터페이스 정보(223) 및 터널 정보(224) 등이 있으며, 이런 정보를 활용하여 하드웨어 정보를 구축한다. In this case, the forwarding contents include IPv4 /
하드웨어 정보는 IPv4/IPv6 프리픽스 테이블(225), IPv4/IPv6 포워딩 테이블(226)과 터널 정보 테이블(227)을 포함한다. The hardware information includes an IPv4 / IPv6 prefix table 225, an IPv4 / IPv6 forwarding table 226 and a tunnel information table 227.
도 3 은 본 발명에 따른 터널 포워딩 정보 테이블의 일실시예 구조도이다.3 is a structural diagram of an embodiment of a tunnel forwarding information table according to the present invention.
도 3에 도시된 바와 같이, 본 발명에 따른 터널 포워딩 정보 테이블은, IPv4/IPv6 프리픽스 테이블, IPv4/IPv6 포워딩 테이블, IPv4 출력 정보 테이블을 포함한다.As shown in FIG. 3, the tunnel forwarding information table according to the present invention includes an IPv4 / IPv6 prefix table, an IPv4 / IPv6 forwarding table, and an IPv4 output information table.
여기서, IPv6 프리픽스 테이블을 저장하고 있는 TCAM(Ternary Content-Addressable Memory)(301)은 IPv6 프리픽스 및 경로 식별자를 저장하고 있다. 따라서, IPv6 라우터는 수신한 IPv6 패킷으로 TCAM(301)에 LPM(Longest Prefix Matching)형으로 검색한다. TCAM(301)의 결과물은 IPv6 포워딩 테이블(302) 내의 프리픽스에 맞는 IPv6 포워딩 정보가 저장된 위치 정보를 나타낸다. 이러한 IPv6 포워딩 테이블(302)은 터널 구분자, 착신 IPv4 주소의 존재 여부, 경로 식별자와 터널정보 식별자를 포함한다.Here, the TCAM 301 storing an IPv6 prefix table stores an IPv6 prefix and a path identifier. Therefore, the IPv6 router searches the
여기서, IPv6 포워딩 테이블(302)의 터널 식별자는 터널 테이블(303)의 해당 터널 정보가 저장된 위치 정보를 나타낸다. 이때, IPv6 포워딩 테이블(302)에서 착 신 IPv4 주소의 존재 여부 구분자가 필요한 이유는, 6-to-4 터널의 경우 착신 IPv4 주소는 IPv6 주소 내에 포함되어 있기 때문이다. 따라서, 이러한 IPv6 패킷이 들어오면 IPv6 패킷 내에 포함되어 있는 IPv4 착신 주소를 이용한다. Here, the tunnel identifier of the IPv6 forwarding table 302 indicates location information where corresponding tunnel information of the tunnel table 303 is stored. In this case, the presence or absence of the destination IPv4 address separator is required in the IPv6 forwarding table 302 because the destination IPv4 address is included in the IPv6 address in the case of a 6-to-4 tunnel. Accordingly, when such an IPv6 packet comes in, the IPv4 destination address included in the IPv6 packet is used.
그러나, 일반 터널은 터널 정보(303)에 IPv6 패킷에 추가할 IPv4 착신 주소와 발신주소관련 정보가 들어 있다. 그 이외에 터널을 관리하기 위한 MTU(Maximum Transmission Unit)와 TTL(Time-to-Live) 정보도 포함되어 있다. However, in the general tunnel,
따라서, 터널 정보(303)를 이용하여 IPv6 패킷에 IPv4 헤더를 추가하여 IPv4 패킷을 만들 수 있다. IPv4 패킷을 만들면 일반 IPv4 패킷처럼 IPv4 프리픽스 테이블(304)을 참조하여 패킷을 IPv4망으로 포워딩한다.Accordingly, the IPv4 packet may be created by adding an IPv4 header to the IPv6 packet using the
도 4 는 본 발명에 따른 터널 포워딩 정보 테이블의 일실시예 상세 구조도이다.4 is a detailed structural diagram of an embodiment of a tunnel forwarding information table according to the present invention.
도 4에 도시된 바와 같이, IPv6 프리픽스 정보(401)는 Prefix 길이별 역순으로 저장되어 있다. IPv6 프리픽스 정보(401)와 포워딩 정보(402)를 구분하는 이유는 하드웨어에서 두 개의 테이블(225, 226)로 분리되기 때문이다. 하드웨어에서 두 개의 테이블로 분리하는 이유는, IPv6 프리픽스를 검색할 때 TCAM(Ternary Content-Addressable Memory)을 이용하기 위해서이다. As shown in FIG. 4, the
여기서, TCAM은 16-byte인 IPv6 주소를 빠르게 검색할 수 있는 메모리로서 메모리 크기가 작을수록 성능이 더 우수하게 나오기 때문에 TCAM 안에 많은 정보를 넣지 않는 것이 바람직하다. 따라서, TCAM 안에 검색용 IPv6 주소와 포워딩 정보를 지정하는 경로 식별자로 구성되어 있다. Here, the TCAM is a memory capable of quickly searching for 16-byte IPv6 addresses. Since the smaller the memory size, the better the performance, it is desirable not to put much information in the TCAM. Therefore, it consists of a search IPv6 address and forwarding information in the TCAM.
한편, 소프트웨어도 하드웨어의 테이블 구조와 비슷해야 하드웨어 테이블 관리가 쉬워진다. 따라서, 본 발명에서는 IPv6 프리픽스 정보(401)와 포워딩 정보(402)를 나누어서 관리한다. On the other hand, software should be similar to the hardware table structure to facilitate hardware table management. Therefore, in the present invention, the
여기서, 포워딩 정보(402)는 경로의 종류를 포함한다. 경로가 일반 IPv6 경로인 경우에 이웃 정보(403)에 대한 포인터를 갖고 있고, 경로가 터널인 경우에 터널 정보(404)에 대한 포인터를 갖고 있다. 이때, 다수의 경로가 하나의 터널 정보(404)를 공유할 수도 있다. Here, the forwarding
터널 정보(404) 내에는 터널의 종류와 사용할 발신 주소 및 착신 주소 그리고 인터페이스 식별자가 있다. 이때, 터널 종류가 다양할 수 있어 터널 종류에 따라 터널 정보(404)의 내용이 달라진다. In the
예를 들면, 6-to-4 터널의 경우 IPv6 주소 안에 터널에서 사용될 착신 IPv4 주소가 포함되어 있어 그 주소를 이용할 수 있기 때문에 착신 주소를 지정할 필요가 없다. For example, a 6-to-4 tunnel does not need to specify a destination address because the IPv6 address contains the destination IPv4 address to be used in the tunnel, so that address is available.
또한, 터널 정보(404)는 인터페이스 식별자를 포함한다. 그 이유는 어플리케이션 보드(21)는 인터페이스 메시지와 포워딩 메시지만 전달하는데, 라인 카드(22)는 이런 정보를 조합하여 터널 정보(404)를 구축하는 것이기 때문에, 특히 인터페이스 메시지 내에 터널에 대한 정보가 포함되어 있어 터널 정보(404) 내에 인터페이스 식별자를 포함한다. In addition,
터널 정보(404)는 다수의 경로 식별자들을 포함하는데, 이는 터널 정보가 변경되면 포워딩 정보(402)도 변경될 수 있어 인터페이스 정보(405)와 포워딩 정 보(402) 및 터널 정보(404)의 상태를 일치시키기 위해서이다. 인터페이스 정보(405)는 인터페이스 종류와 인터페이스 관련 정보들을 포함한다. The
도 5 는 본 발명이 적용되는 IPv6 라우터의 기능 설명도이다.5 is a functional explanatory diagram of an IPv6 router to which the present invention is applied.
먼저, 운용 프로세서(51)는 운용자가 라우터를 운용하기 위해 필요한 기능들을 설정할 수 있게 도와주는 기능을 갖는다. First, the
어플리케이션 프로세서(AP)(52)는 운용자가 설정한 라우팅 정보와 라우팅 프로토콜에서 생성한 라우팅 정보를 이용하여 포워딩 정보를 생성한다.The
이때, 어플리케이션 프로세서(AP)(52)는 라우팅 정보를 생성하기 위한 라우팅 처리부(521), 운용자가 설정한 인터페이스 정보를 받아 라우터 시스템의 소프트웨어 기능에게 인터페이스 정보가 포함된 인터페이스 메시지를 전송하고 터널 인터페이스에 대한 정보를 생성하기 위한 인터페이스 관리부(522), 및 경로 정보를 모든 라인 카드로 전송하는 IPv4/IPv6 경로 관리 기능과 어플리케이션 프로세서(AP)(52) 커널에 터널 경로에 대한 정보를 설정하는 터널 경로 관리 기능을 수행하기 위한 포워딩 제어부(523)를 포함한다.At this time, the application processor (AP) 52 receives the interface information set by the
여기서, 상기 포워딩 제어부(523)는 라우터에서도 IPv6 패킷을 생성하여 IPv4망으로 터널링할 수 있도록 하기 위해, 어플리케이션 프로세서(AP)(501)의 커널 내용과 라인 카드(504)의 하드웨어 기능(511)에서 터널에 대해 동일하게 처리할 수 있도록 서로 맞추어 준다. In this case, the forwarding
한편, 라인 카드(53)는 포워딩 제어부(523)로부터 전송받은 포워딩 정보를 이용하여 하드웨어의 IPv6 TCAM(514), IPv4 TRIE(515) 및 IPv4/IPv6 포워딩(516) 테이블을 구축하고, 터널의 인터페이스에 포워딩 정보가 생성되면 이를 IPv6 포워딩 테이블에 저장하고, 터널 테이블에 저장한다. Meanwhile, the
도 6 은 본 발명에 따른 IPv6 라우터의 라인 카드에서 터널 포워딩 정보 구축 방법에 대한 일실시예 흐름도로서, 포워딩 정보의 추가/삭제 과정을 나타낸다.FIG. 6 is a flowchart illustrating a method of establishing tunnel forwarding information in a line card of an IPv6 router according to the present invention, and illustrates a process of adding / deleting forwarding information.
먼저, 라우팅 처리부(521)는 신규 터널 포워딩 정보가 추가되거나 삭제되면 터널 포워딩 정보를 구축하여 포워딩 제어부(523)로 전달한다. 그러면, 포워딩 제어부(523)는 수신한 터널 포워딩 정보를 AP 커널에 반영하여 모든 라인 카드(53)로 전달한다. First, when the new tunnel forwarding information is added or deleted, the
이후, 라인 카드(53)는 터널 인터페이스를 가지는 포워딩 정보 메시지(포워딩 정보 및 추가/삭제 여부를 담은 메시지)를 수신함에 따라(601), 해당 포워딩 정보의 추가 요청인지 삭제 요청인지를 판단한다(602). 이때, 수신한 터널 포워딩 정보 내에 인터페이스 정보가 존재하지 않으면 상기 터널 포워딩 정보를 삭제하며, IPv4/IPv6 인터페이스이면 정상적인 IPv4/IPv6 포워딩 정보 처리한다.Subsequently, the
상기 판단 결과(602), 포워딩 정보의 추가 요청이면 터널 정보가 존재하는지 확인한다(603). As a result of the determination (602), it is checked whether tunnel information exists if the forwarding information is added (603).
상기 확인 결과(603), 터널 정보가 존재하면 터널 참조 수를 증가시킨 후 IPv6 프리픽스 테이블(225) 및 IPv6 포워딩 테이블(226)에 각각 해당 IPv6 프리픽스 정보와 포워딩 정보를 추가한다(604, 605). 이때, 터널 참조 수는 1 증가시킨다.As a result of the
상기 확인 결과(603), 터널 정보가 존재하지 않으면 터널 테이블(227)에 해 당 터널 정보를 추가한 후(606), 상기 "605" 과정으로 진행하여 IPv6 프리픽스 테이블(225) 및 IPv6 포워딩 테이블(226)에 각각 해당 IPv6 프리픽스 정보와 포워딩 정보를 추가한다(605).As a result of the
상기 판단 결과(602), 포워딩 정보의 삭제 요청이면 터널 정보를 검색하여 터널 정보를 참조하는 포워딩 개수(터널 참조 수)를 확인한다(607). As a result of the determination (602), if the deletion request of the forwarding information, the tunnel information is searched to determine the forwarding number (tunnel reference number) referring to the tunnel information (607).
상기 확인 결과(607), 터널 참조 수가 1을 초과하면 터널 참조 수를 감소시킨 후 IPv6 프리픽스 테이블(225) 및 IPv6 포워딩 테이블(226)에서 각각 해당 IPv6 프리픽스 정보와 포워딩 정보를 삭제한다(608, 609). 이때, 터널 참조 수는 1 감소시킨다.As a result of checking 607, if the number of tunnel references exceeds 1, the number of tunnel references is reduced and then the corresponding IPv6 prefix information and forwarding information are deleted from the IPv6 prefix table 225 and the IPv6 forwarding table 226, respectively (608 and 609). ). At this time, the tunnel reference number is decreased by one.
상기 확인 결과(607), 터널 참조 수가 1이면 터널 테이블(227)에서 해당 터널 정보를 삭제한 후(610), 상기 "609" 과정으로 진행하여 IPv6 프리픽스 테이블(225) 및 IPv6 포워딩 테이블(226)에서 각각 해당 IPv6 프리픽스 정보와 포워딩 정보를 삭제한다(609). 여기서, 참조 수는 0을 포함하는 자연수이며, 0인 경우는 참조하는 터널이 없음을 의미한다.As a result of the
도 7 은 본 발명에 따른 IPv6 라우터의 라인 카드에서 터널 포워딩 정보 구축 방법에 대한 다른 실시예 흐름도로서, 터널 인터페이스 정보의 추가/변경/삭제 과정을 나타낸다.7 is a flowchart illustrating another embodiment of a method of constructing tunnel forwarding information in a line card of an IPv6 router according to the present invention, illustrating a process of adding / changing / deleting tunnel interface information.
먼저, 운용 프로세서(51)가 터널 인터페이스를 추가/삭제함에 따라 터널 정보를 어플리케이션 프로세서(52)로 전달한다. 그러면, 어플리케이션 프로세서(52)는 수신한 터널 정보를 AP 커널에 반영하고 다수의 라인 카드(53)로 터널 인터페이 스 정보를 담은 인터페이스 메시지를 전달한다. First, as the
이후, 라인 카드(53)는 터널 인터페이스 메시지를 수신함에 따라(701), 메시지의 종류를 확인한다(702).Thereafter, as the
상기 확인 결과(702), 터널 인터페이스 변경 메시지이면 터널 인터페이스에 대한 포워딩 정보가 존재함에 따라 터널 테이블(227)에서 해당 터널 정보를 변경한다(703). 이때, 터널 정보가 존재하지 않으면 종료한다. 여기서, 터널 인터페이스에 대한 포워딩 정보가 존재하지 않을 때 종료하는 이유는 터널 정보는 포워딩 정보가 존재할 때 의미가 있다. 터널 인터페이스만 있고 터널에 대한 포워딩 정보가 없으면 이에 대한 터널 정보를 저장할 필요가 없다. As a result of the
상기 확인 결과(702), 터널 인터페이스 추가 메시지이면 터널 테이블(227)에 해당 터널 인터페이스를 추가한다(704).As a result of the
상기 확인 결과(702), 터널 인터페이스 삭제 메시지이면 터널 테이블(227)에서 해당 터널 정보를 삭제한 후 IPv6 프리픽스 테이블(225) 및 IPv6 포워딩 테이블(226)에서 각각 해당 IPv6 프리픽스 정보와 포워딩 정보를 삭제한다(705).As a result of the
이러한 과정을 통해, 본 발명은 대형 IPv4-IPv6 경계 라우터의 라인 카드에 IPv6 터널 포워딩 정보를 구축하여 라우터에서 회선 속도로 빠르고 효과적으로 IPv6 패킷을 IPv4망에 터널링할 수 있다. Through this process, the present invention establishes IPv6 tunnel forwarding information on a line card of a large IPv4-IPv6 border router, so that the router can tunnel IPv6 packets to the IPv4 network quickly and effectively at a line speed.
또한, 라인 카드에 구축된 터널링 정보가 일관성이 있도록 맞추어 라우터의 상태 변화에도 IPv6 패킷 터널링할 수 있다.In addition, it is possible to tunnel IPv6 packets in the state change of the router by matching the tunneling information established in the line card.
상술한 바와 같은 본 발명의 방법은 프로그램으로 구현되어 컴퓨터로 읽을 수 있는 형태로 기록매체(씨디롬, 램, 롬, 플로피 디스크, 하드 디스크, 광자기 디스크 등)에 저장될 수 있다. 이러한 과정은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있으므로 더 이상 상세히 설명하지 않기로 한다.As described above, the method of the present invention may be implemented as a program and stored in a recording medium (CD-ROM, RAM, ROM, floppy disk, hard disk, magneto-optical disk, etc.) in a computer-readable form. Since this process can be easily implemented by those skilled in the art will not be described in more detail.
이상에서 설명한 본 발명은, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 있어 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하므로 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니다.The present invention described above is capable of various substitutions, modifications, and changes without departing from the technical spirit of the present invention for those skilled in the art to which the present invention pertains. It is not limited by the drawings.
상기와 같은 본 발명은, IPv6 라우터의 라인 카드에서 터널 인터페이스를 가지는 포워딩 정보 메시지를 수신함에 따라 해당 포워딩 정보의 추가 요청인지 삭제 요청인지를 판단하여, 터널 테이블, IPv6 프리픽스 테이블, IPv6 포워딩 테이블에 각각 해당 터널 정보, IPv6 프리픽스 정보, 포워딩 정보를 추가/삭제함으로써, 회선 속도로 신속하고 빠르게 IPv6 패킷을 IPv4 패킷으로 변환하는 IPv6 패킷 터널링 기능을 제공할 수 있는 효과가 있다.The present invention as described above, in response to receiving a forwarding information message having a tunnel interface in the line card of the IPv6 router, it is determined whether to add or delete the corresponding forwarding information, respectively, in the tunnel table, IPv6 prefix table, IPv6 forwarding table By adding / deleting corresponding tunnel information, IPv6 prefix information, and forwarding information, it is possible to provide an IPv6 packet tunneling function for converting IPv6 packets into IPv4 packets quickly and quickly at line speed.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020060124033A KR100778348B1 (en) | 2006-12-07 | 2006-12-07 | Method for constructing tunnel forwarding information in line card of ipv6 router |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020060124033A KR100778348B1 (en) | 2006-12-07 | 2006-12-07 | Method for constructing tunnel forwarding information in line card of ipv6 router |
Publications (1)
Publication Number | Publication Date |
---|---|
KR100778348B1 true KR100778348B1 (en) | 2007-11-22 |
Family
ID=39080418
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020060124033A KR100778348B1 (en) | 2006-12-07 | 2006-12-07 | Method for constructing tunnel forwarding information in line card of ipv6 router |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100778348B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100912299B1 (en) | 2007-12-10 | 2009-08-17 | 한국전자통신연구원 | A DATA FORWARDING METHOD FOR IPv6 OVER IPV4 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20040095632A (en) * | 2003-05-08 | 2004-11-15 | 삼성전자주식회사 | Apparatus and method for combining forwarding tables in a distributed architecture router |
WO2005069559A1 (en) * | 2004-01-15 | 2005-07-28 | Matsushita Electric Industrial Co., Ltd. | Dynamic network management apparatus and dynamic network management method |
KR20060011656A (en) * | 2004-07-30 | 2006-02-03 | 삼성전자주식회사 | System and method for setting packet maximum transmission unit of ipv6 transition tunnel using packet too big message |
US20060050692A1 (en) | 2002-10-09 | 2006-03-09 | Alexandru Petrescu | Routing in a data communication network |
KR20060082460A (en) * | 2005-01-12 | 2006-07-18 | 삼성전자주식회사 | Apparatus and method for forwarding packet in network processor |
-
2006
- 2006-12-07 KR KR1020060124033A patent/KR100778348B1/en active IP Right Grant
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060050692A1 (en) | 2002-10-09 | 2006-03-09 | Alexandru Petrescu | Routing in a data communication network |
KR20040095632A (en) * | 2003-05-08 | 2004-11-15 | 삼성전자주식회사 | Apparatus and method for combining forwarding tables in a distributed architecture router |
WO2005069559A1 (en) * | 2004-01-15 | 2005-07-28 | Matsushita Electric Industrial Co., Ltd. | Dynamic network management apparatus and dynamic network management method |
KR20060011656A (en) * | 2004-07-30 | 2006-02-03 | 삼성전자주식회사 | System and method for setting packet maximum transmission unit of ipv6 transition tunnel using packet too big message |
KR20060082460A (en) * | 2005-01-12 | 2006-07-18 | 삼성전자주식회사 | Apparatus and method for forwarding packet in network processor |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100912299B1 (en) | 2007-12-10 | 2009-08-17 | 한국전자통신연구원 | A DATA FORWARDING METHOD FOR IPv6 OVER IPV4 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10445380B2 (en) | System and method for direct storage access in a content-centric network | |
US7039018B2 (en) | Technique to improve network routing using best-match and exact-match techniques | |
US6982978B1 (en) | Per user and network routing tables | |
KR100453055B1 (en) | Method for path MTU discovery on IP network and apparatus thereof | |
US20110051738A1 (en) | Method, system and device for maintaining routes | |
CN108429680B (en) | Route configuration method, system, medium and equipment based on virtual private cloud | |
EP1506646B1 (en) | Method and apparatus to improve network routing | |
CN113162857B (en) | Method and gateway for acquiring route on demand | |
US7317692B2 (en) | Network path discovery | |
CN112448887A (en) | Segmented routing method and device | |
JP2019523608A (en) | Packet monitoring | |
TWI241089B (en) | Method and apparatus to perform network routing using multiple length trie blocks | |
JP2001156835A (en) | Method and device for compressing destination address of multicast message | |
JP4111968B2 (en) | Tunneling method and tunneling apparatus for multicasting | |
US20070104200A1 (en) | Network device with routing function and policy route setting method thereof | |
KR100778348B1 (en) | Method for constructing tunnel forwarding information in line card of ipv6 router | |
TWI281804B (en) | Packet forwarding method and system | |
US7746865B2 (en) | Maskable content addressable memory | |
US20070041376A1 (en) | Method and apparatus for performing tunnel signaling over IP tunneling path | |
JP2007221514A (en) | Router device and route determination method for router device | |
JP2006121434A (en) | Atm communication apparatus and its communication method | |
WO2011012081A1 (en) | Method and apparatus for compressing route forwarding table of communication equipment | |
JP3989503B2 (en) | Network repeater | |
KR20080052856A (en) | Apparatus and method for ipv6 tunneling | |
KR100862195B1 (en) | Method and Apparatus for searching by range matching using content addressable memory |
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: 20111028 Year of fee payment: 5 |
|
FPAY | Annual fee payment |
Payment date: 20120919 Year of fee payment: 20 |