[go: up one dir, main page]

KR100714807B1 - Method and apparatus for managing neighbor table of subscriber card in software forwarding based IPv6 router system - Google Patents

Method and apparatus for managing neighbor table of subscriber card in software forwarding based IPv6 router system Download PDF

Info

Publication number
KR100714807B1
KR100714807B1 KR1020060061742A KR20060061742A KR100714807B1 KR 100714807 B1 KR100714807 B1 KR 100714807B1 KR 1020060061742 A KR1020060061742 A KR 1020060061742A KR 20060061742 A KR20060061742 A KR 20060061742A KR 100714807 B1 KR100714807 B1 KR 100714807B1
Authority
KR
South Korea
Prior art keywords
subscriber card
neighbor
entry
neighbor table
subscriber
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
KR1020060061742A
Other languages
Korean (ko)
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 한국전자통신연구원
Application granted granted Critical
Publication of KR100714807B1 publication Critical patent/KR100714807B1/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/54Organization of routing tables
    • 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/622Layer-2 addresses, e.g. medium access control [MAC] addresses
    • 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)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

본 발명은 소프트웨어 포워딩 기반의 IPv6(Internet Protocol Version 6) 라우터 시스템에서 가입자 카드의 이웃 테이블 구축 및 관리 방법에 관한 것이다. 구체적으로, 본 발명에 따른 가입자 카드의 이웃 테이블 구축 방법은, 가입자 카드의 초기 설치 또는 재시동 시에 라우터 시스템내의 다른 가입자 카드에 이웃 테이블의 다운로드를 요청하는 제1 요청 메시지를 브로드캐스트하는 단계와, 상기 다른 가입자 카드로부터 상기 제1 요청 메시지에 대한 응답 메시지를 수신하는 단계와, 상기 수신된 응답 메시지중 가장 먼저 수신된 응답 메시지를 전송한 가입자 카드에 이웃 테이블 정보를 요청하는 제2 요청 메시지를 전송하는 단계와, 상기 제2 요청 메시지에 대한 응답 메시지를 수신하고 상기 응답 메시지에 포함된 이웃 테이블 정보를 이용하여 커널에 이웃 테이블을 구축하는 단계를 포함한다.The present invention relates to a method of establishing and managing a neighbor table of a subscriber card in a software forwarding based Internet Protocol Version 6 (IPv6) router system. Specifically, the method of building a neighbor table of a subscriber card according to the present invention comprises the steps of: broadcasting a first request message for requesting the download of a neighbor table to another subscriber card in the router system upon initial installation or restart of the subscriber card; Receiving a response message for the first request message from the other subscriber card, and transmitting a second request message for requesting neighbor table information to the subscriber card that transmitted the first response message received among the received response messages. And receiving a response message to the second request message and constructing a neighbor table in the kernel by using the neighbor table information included in the response message.

본 발명은 소프트웨어 포워딩 기반의 IPv6 라우터 시스템의 가입자 카드에서 효율적으로 이웃 테이블을 구축하기 위해 이용될 수 있다.The present invention can be used to efficiently construct a neighbor table in a subscriber card of a software forwarding based IPv6 router system.

소프트웨어 포워딩, 라우터, 가입자 카드, NDP(Neighbor Discovery Protocol) Software forwarding, routers, subscriber cards, neighbor discovery protocol

Description

소프트웨어 포워딩 기반의 IPv6 라우터 시스템에서 가입자 카드의 이웃 테이블 관리 방법 및 장치{Method and Apparatus for managing a neighbor table of a subscriber card in IPv6 software forwarding router system}Method and Apparatus for managing a neighbor table of a subscriber card in IPv6 software forwarding router system in an IP6 router system based on software forwarding

도 1은 본 발명이 적용되는 소프트웨어 포워딩 기반 IPv6 라우터 시스템의 구성도. 1 is a configuration diagram of a software forwarding based IPv6 router system to which the present invention is applied.

도 2는 도 1에 도시된 가입자 카드의 세부 구성도.FIG. 2 is a detailed configuration diagram of the subscriber card shown in FIG.

도 3은 본 발명의 일실시예에 따라 가입자 카드의 초기 설치 또는 재시동 시에 다른 가입자 카드로부터 이웃 테이블을 다운로드받는 절차를 도시한 도면. 3 is a diagram illustrating a procedure of downloading a neighbor table from another subscriber card upon initial installation or restart of a subscriber card according to one embodiment of the present invention.

도 4는 본 발명의 일실시예에 따라 가입자 카드에서 다른 가입자 카드로 이웃 엔트리를 브로드캐스팅하는 절차를 도시한 도면이다.4 is a diagram illustrating a procedure for broadcasting a neighbor entry from a subscriber card to another subscriber card according to an embodiment of the present invention.

도 5 는 본 발명의 일실시예에 따른 가입자 카드의 이웃 테이블 관리 방법을 도시한 흐름도.5 is a flowchart illustrating a neighbor table management method of a subscriber card according to an embodiment of the present invention.

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

100 : 소프트웨어 포워딩 기반 IPv6 라우터 시스템 100: software forwarding based IPv6 router system

110 : 시스템 관리 카드110: system management card

120 : 어플리케이션 카드120: application card

130, 140 : 가입자 카드130, 140: subscriber card

150 : 이더넷(제어망)150: Ethernet (control network)

160 : 패브릭 카드160: Fabric Card

131 : 라우팅 정보 관리 블록131: routing information management block

132 : 인터페이스 관리 블록132 interface management block

133 : 주소상태 관리 블록133: address status management block

134 : NDP(Neighbor Discovery Protocol) 관리 블록134: Neighbor Discovery Protocol management block

135 : 커널135: kernel

136 : 클러스터 인터페이스 136: cluster interface

본 발명은 소프트웨어 포워딩 기반 IPv6(Internet Protocol Version 6) 라우터 시스템의 가입자 카드의 이웃 테이블 관리 방법에 관한 것으로, 구체적으로는 가입자 카드를 설치/재시동하는 시점에 다른 가입자 카드로부터 이웃 테이블을 다운로드하고 가입자 카드의 로컬 인터페이스에 대한 이웃 엔트리를 다른 가입자 카드에 전달함으로써 시스템 전체에 대해 동일한 이웃 테이블을 구축 및 관리하는 방법에 관한 것이다.The present invention relates to a method of managing a neighbor table of a subscriber card in a software forwarding-based Internet Protocol Version 6 (IPv6) router system. A method of building and managing the same neighbor table for the entire system by passing a neighbor entry for a local interface of to another subscriber card.

종래의 IPv4-기반 라우터 시스템에서 하드웨어 변경없이 IPv6 서비스를 제공하기 위해 소프트웨어 방식으로 패킷을 포워딩하는 기능을 추가할 때 커널의 패킷 포워딩 기능을 이용하여야 한다. 이 때, 커널의 패킷 포워딩 기능을 이용하기 위해서는 커널의 이웃 테이블에 모든 가입자 카드의 이웃 엔트리가 존재하여야 하나, 커널에는 로컬 인터페이스에 대한 이웃 엔트리만 구축될 수 있다는 문제점이 있다.In the conventional IPv4-based router system, the packet forwarding function of the kernel should be used when adding a function of forwarding packets in a software manner to provide IPv6 services without changing hardware. In this case, in order to use the packet forwarding function of the kernel, neighbor entries of all subscriber cards must exist in the neighbor table of the kernel, but there is a problem that only the neighbor entry for the local interface can be constructed in the kernel.

따라서, 본 발명의 목적은 가입자 카드를 설치하거나 재시동하는 시점에 다른 가입자 카드로부터 이웃 테이블을 다운로드함으로써 커널내에 이웃 테이블을 효율적으로 구축하는 방법을 제공하는 것이다.Accordingly, an object of the present invention is to provide a method for efficiently constructing a neighbor table in a kernel by downloading a neighbor table from another subscriber card at the time of installing or restarting a subscriber card.

본 발명의 다른 목적은 가입자 카드의 로컬 인터페이스에 대한 이웃 엔트리를 다른 가입자 카드에 전달함으로써 시스템 전체에 대해 동일한 이웃 테이블을 관리하는 방법을 제공하는 것이다. Another object of the present invention is to provide a method for managing the same neighbor table for the entire system by delivering a neighbor entry for the local interface of the subscriber card to another subscriber card.

상기 목적을 달성하기 위한 본 발명의 제1 측면에 따르면, 복수의 가입자 카드를 구비한 IPv6 라우터 시스템에서 상기 가입자 카드의 이웃 테이블 구축 방법이 제공된다. 상기 방법은, 가입자 카드의 초기 설치 또는 재시동시에 상기 시스템내의 다른 가입자 카드에 이웃 테이블의 다운로드를 요청하는 제1 요청 메시지를 브로드캐스트하는 단계와, 상기 다른 가입자 카드로부터 상기 제1 요청 메시지에 대한 응답 메시지를 수신하는 단계와, 상기 수신된 응답 메시지중 가장 먼저 수신된 응답 메시지를 전송한 가입자 카드에 이웃 테이블 정보를 요청하는 제2 요청 메시지를 전송하는 단계와, 상기 제2 요청 메시지에 대한 응답 메시지를 수신하고 상기 응답 메시지에 포함된 이웃 테이블 정보를 이용하여 커널에 이웃 테이블을 구축하 는 단계를 포함한다.According to a first aspect of the present invention for achieving the above object, there is provided a neighbor table construction method of the subscriber card in an IPv6 router system having a plurality of subscriber cards. The method includes broadcasting, upon initial installation or restart of a subscriber card, a first request message requesting the download of a neighbor table to another subscriber card in the system, and for the first request message from the other subscriber card. Receiving a response message, transmitting a second request message for requesting neighbor table information to the subscriber card that transmitted the first response message received among the received response messages, and responding to the second request message. Receiving a message and building a neighbor table in the kernel by using the neighbor table information included in the response message.

본 발명의 제2 측면에 따르면, 복수의 가입자 카드를 구비한 IPv6 라우터 시스템에서 상기 가입자 카드의 이웃 테이블 관리 방법이 제공된다. 상기 방법은, 커널로부터 새로운 이웃 엔트리 정보를 수신하는 단계와, 상기 수신된 이웃 엔트리가 로컬 인터페이스에 속하는 엔트리인 경우에는 상기 이웃 엔트리 정보를 다른 가입자 카드에 브로드캐스팅하는 단계를 포함한다.According to a second aspect of the present invention, there is provided a neighbor table management method for a subscriber card in an IPv6 router system having a plurality of subscriber cards. The method includes receiving new neighbor entry information from a kernel and broadcasting the neighbor entry information to another subscriber card if the received neighbor entry is an entry belonging to a local interface.

본 발명의 제3 측면에 따르면, 복수의 가입자 카드를 구비한 IPv6 라우터 시스템에서 상기 가입자 카드의 이웃 테이블 관리 방법이 제공된다. 상기 방법은, 다른 가입자 카드로부터 새로운 이웃 엔트리 정보를 수신하는 단계와, 상기 수신된 이웃 엔트리가 로컬 인터페이스에 대한 이웃 엔트리가 아닌 경우에는 상기 이웃 엔트리를 커널에 설정하는 단계를 포함한다.According to a third aspect of the present invention, there is provided a neighbor table management method for a subscriber card in an IPv6 router system having a plurality of subscriber cards. The method includes receiving new neighbor entry information from another subscriber card and setting the neighbor entry in a kernel if the received neighbor entry is not a neighbor entry for a local interface.

본 발명의 제4 측면에 따르면, 소프트웨어 포워딩 방식의 IPv6 라우터 시스템에 설치되는 가입자 카드가 제공되는데, 상기 가입자 카드는, 라우팅 테이블과 이웃 테이블을 이용하여 IPv6 데이터 패킷을 포워딩하는 커널과, 상기 가입자 카드 초기 설치 또는 재시동 시에 상기 IPv6 라우터 시스템내의 다른 가입자 카드로부터 이웃 테이블을 다운로드하여 상기 커널에 구축하고 상기 커널의 이웃 테이블을 모니터링하여 다른 가입자 카드에 로컬 이웃 엔트리 정보를 브로드캐스팅하는 NDP 관리 블록을 포함한다.According to a fourth aspect of the present invention, there is provided a subscriber card installed in a software forwarding IPv6 router system, the subscriber card comprising: a kernel for forwarding IPv6 data packets using a routing table and a neighbor table; An NDP management block that downloads a neighbor table from another subscriber card in the IPv6 router system and builds it in the kernel upon initial installation or restart, and monitors the kernel's neighbor table to broadcast local neighbor entry information to another subscriber card. do.

상술한 목적, 특징들 및 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해질 것이다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실시 예를 상세히 설명한다. 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 은 본 발명이 적용되는 소프트웨어 포워딩 기반의 IPv6 라우터 시스템 구성도이다. 도 1에 도시된 바와 같이, IPv6 라우터 시스템(100)은, 시스템 관리 카드(110), 어플리케이션 카드(120), 복수의 가입자 카드(130, 140) 및 이들 간의 통신을 위한 이더넷(150) 및 IPv6 패킷의 처리 및 전송을 수행하는 패브릭 카드(160)를 포함한다. 1 is a configuration diagram of an IPv6 router system based on software forwarding to which the present invention is applied. As shown in FIG. 1, the IPv6 router system 100 includes a system management card 110, an application card 120, a plurality of subscriber cards 130 and 140, and Ethernet 150 and IPv6 for communication between them. Fabric card 160 that performs processing and transmission of packets.

시스템 관리 카드(110)는 전체 라우터 시스템의 소프트웨어 및 하드웨어를 관리하고 운용자 명령어를 처리한다. 어플리케이션 카드(120)는 라우팅 프로토콜을 수행하여 라우팅 정보를 각 가입자 카드(130, 140)에 전달하고, 가입자 카드(130, 140)는 어플리케이션 카드(120)로부터 라우팅 정보를 전달받아 커널 내에 라우팅 테이블을 구축한다. The system management card 110 manages software and hardware of the entire router system and processes operator commands. The application card 120 performs a routing protocol to transfer routing information to each subscriber card 130 and 140, and the subscriber cards 130 and 140 receive routing information from the application card 120 to generate a routing table in the kernel. Build.

도 2 는 도 1에 도시된 가입자 카드의 세부 구성도이다. 도시된 바와 같이, 가입자 카드(130)는 라우팅 정보 관리 블록(131), 인터페이스 관리 블록(132), 주소상태 관리 블록(133), NDP 관리 블록(134), 커널(135) 및 클러스터 인터페이스(136)를 구비한다. FIG. 2 is a detailed configuration diagram of the subscriber card shown in FIG. 1. As shown, the subscriber card 130 includes a routing information management block 131, an interface management block 132, an address state management block 133, an NDP management block 134, a kernel 135, and a cluster interface 136. ).

라우팅 정보 관리 블록(131)은 어플리케이션 카드(120)로부터 라우팅 정보를 전달받아 커널에 라우팅 테이블을 구축하는 기능을 수행하고, 인터페이스 관리 블록(132)은 어플리케이션 카드(120)로부터 인터페이스 정보를 전달받아 커널에 인터 페이스를 설정하는 기능을 수행한다. 주소상태 관리 블록(133)은 커널에 설정된 각 인터페이스에 대한 IPv6 주소 설정 및 주소 중복 검사(DAD: Duplicate Address Detection)를 수행하여 주소 상태를 관리한다.The routing information management block 131 receives the routing information from the application card 120 to build a routing table in the kernel, and the interface management block 132 receives the interface information from the application card 120 to receive the kernel. Performs the function of setting the interface to. The address state management block 133 manages the address state by performing IPv6 address setting and Duplicate Address Detection (DAD) for each interface configured in the kernel.

NDP 관리 블록(134)은 가입자 카드 초기 설치 또는 재시동 시에 다른 가입자 카드로부터 이웃 테이블을 다운로드하고, 커널의 이웃 테이블을 모니터링하여 다른 가입자 카드에 로컬 이웃 엔트리 정보를 브로드캐스팅하는 기능을 수행하는 블록으로서, 본 발명의 특징적 구성요소라 하겠다. The NDP management block 134 is a block that downloads a neighbor table from another subscriber card upon initial installation or restart of a subscriber card, monitors the kernel's neighbor table, and broadcasts local neighbor entry information to another subscriber card. It will be referred to as a characteristic component of the present invention.

커널(135)은 라우팅 테이블과 이웃 테이블을 이용하여 IPv6 데이터 패킷을 소프트웨어 포워딩하는 기능을 수행하고, 클러스터 인터페이스(136)는 커널(135) 내에서 시스템 내의 모든 가입자 카드의 인터페이스들을 관리하는 기능을 수행한다.The kernel 135 performs software forwarding of IPv6 data packets using the routing table and the neighbor table, and the cluster interface 136 manages the interfaces of all subscriber cards in the system within the kernel 135. do.

도 3은 본 발명의 일실시예에 따라 가입자 카드의 초기 설치 또는 재시동시에 다른 가입자 카드로부터 이웃 테이블을 다운로드받는 절차를 도시한 도면이다. 상기 도면에는 초기 설치 또는 재시동 시점에 가입자 카드 1이 가입자 카드 2로부터 이웃 테이블을 다운로드받는 과정이 일 예로 설명되어 있다.3 is a diagram illustrating a procedure of downloading a neighbor table from another subscriber card at initial installation or restart of a subscriber card according to an embodiment of the present invention. In the figure, a process of downloading the neighbor table from the subscriber card 2 to the subscriber card 1 at the time of initial installation or restart is described as an example.

우선, 가입자 카드 1이 초기 설치 또는 재시동되면 가입자 카드 1의 NDP 관리 블록은 이웃 테이블을 다운로드받을 가입자 카드를 결정하기 위해 플래그가 DOWNLOAD_HELP로 설정된 DownLoad_Request 메시지를 모든 가입자 카드들(예, 가입자카드 2,,,가입자 카드 N)에 브로드캐스트한다(310). First, when subscriber card 1 is initially installed or restarted, the NDP management block of subscriber card 1 sends a DownLoad_Request message with the flag set to DOWNLOAD_HELP to determine which subscriber card to download the neighbor table from all subscriber cards (eg, subscriber card 2, Broadcast to subscriber card N) (310).

이 메시지(M1)를 수신한 가입자 카드들의 NDP 관리 블록은 자신의 카드 번 호(slot)를 실은 NDP_DownLoad_Reply 메시지를 가입자 카드 1에 전송한다(320,320'...). 가입자 카드 1은 제일 먼저 수신한 NDP_DownLoad_Reply 메시지에 포함된 가입자 카드 번호(이 예에서는, 가입자 카드 2)를 다운로드받을 가입자 카드로 설정하게 된다.The NDP management blocks of the subscriber cards receiving the message M1 transmit a NDP_DownLoad_Reply message carrying their card number to the subscriber card 1 (320, 320 '...). The subscriber card 1 sets the subscriber card number (in this example, the subscriber card 2) included in the first received NDP_DownLoad_Reply message as the subscriber card to be downloaded.

다음, 가입자 카드 1은 이웃 엔트리의 다운로드가 필요함을 나타내기 위해 플래그값이 DOWNLOAD_NEED로 설정된 NDP_DownLoad_Request 메시지를 가입자 카드 2에 전송한다(330). 이에 응답하여, 가입자 카드 2는 자신이 가지고 있는 이웃 테이블에 포함된 이웃 엔트리 개수 및 이웃 엔트리 리스트를 NDP_DownLoad 메시지에 실어서 가입자 카드 1에 전송한다(340). 이때, 이웃 엔트리 정보는 IPv6 주소, MAC 주소 및 인터페이스 식별자를 포함한다.Next, subscriber card 1 transmits an NDP_DownLoad_Request message whose flag value is set to DOWNLOAD_NEED to subscriber card 2 to indicate that download of a neighbor entry is required (330). In response, the subscriber card 2 loads the neighbor entry number and the neighbor entry list included in its neighbor table in the NDP_DownLoad message and transmits it to the subscriber card 1 (340). In this case, the neighbor entry information includes an IPv6 address, a MAC address, and an interface identifier.

도 4는 본 발명의 일실시예에 따라 가입자 카드에서 다른 가입자 카드에 이웃 엔트리를 브로드캐스팅하는 절차를 도시한 도면이다. 상기 도면에서는 가입자 카드 A와 가입자 카드B 사이에 이웃 엔트리 정보를 주고받는 과정이 일 예로 설명되어 있다.4 illustrates a procedure of broadcasting a neighbor entry from a subscriber card to another subscriber card according to an embodiment of the present invention. In the drawing, a process of exchanging neighbor entry information between subscriber card A and subscriber card B is described as an example.

가입자 카드가 설치 또는 재시동되는 시점에서 다른 가입자 카드로부터 이웃 테이블 정보를 다운로드받은 후에, 가입자 카드의 NDP 블록은 커널과 넷링크를 오픈하고 이웃 엔트리 모니터링 스레드(thread)를 실행시킴으로써 넷링크를 모니터링한다(410, 410'). NDP 관리 블록과 커널 사이에 넷링크를 모니터링함으로써 상기 커널의 이웃 테이블에 새로운 이웃 엔트리가 설정되는 지 여부를 파악할 수 있다. After the neighbor table information is downloaded from another subscriber card at the time the subscriber card is installed or restarted, the NDP block of the subscriber card monitors the netlink by opening the kernel and netlink and executing the neighbor entry monitoring thread ( 410, 410 '). By monitoring the netlink between the NDP management block and the kernel, it is possible to determine whether a new neighbor entry is set in the kernel's neighbor table.

이후, NDP 관리 블록이 넷링크 모니터링을 통해 커널로부터 파악된 새로운 이웃 엔트리 정보를 수신한다(420, 420'). 이에 대하여, NDP 관리 블록은 커널로부터 수신된 이웃 엔트리가 로컬 인터페이스에 속하는 엔트리인지를 판단하고, 로컬 이웃 엔트리이면 이웃 엔트리 정보를 NDP_Entry 메시지에 실어서 다른 가입자 카드에 브로드캐스팅한다(430, 430'). 반면에, 이웃 엔트리가 로컬 인터페이스에 속하지 않는 엔트리로 판단되면, 이를 무시한다(420').Subsequently, the NDP management block receives new neighbor entry information obtained from the kernel through netlink monitoring (420 and 420 '). In contrast, the NDP management block determines whether the neighbor entry received from the kernel is an entry belonging to the local interface, and if the neighbor entry is local, the neighbor entry information is loaded in the NDP_Entry message and broadcasted to another subscriber card (430, 430 '). . On the other hand, if it is determined that the neighbor entry does not belong to the local interface, it is ignored (420 ').

한편, 다른 가입자 카드로부터 이웃 엔트리 정보를 포함한 NDP_Entry 메시지를 수신하면, 해당 이웃 엔트리가 로컬 인터페이스에 대한 이웃 엔트리인지 판단한다. 로컬이면 무시하고 로컬이 아니면 넷링크를 통해 커널에 해당 이웃 엔트리를 설정한다(440, 440'). On the other hand, upon receiving an NDP_Entry message including neighbor entry information from another subscriber card, it is determined whether the corresponding neighbor entry is a neighbor entry for the local interface. If it is local, ignore it and if not, set the neighbor entry in the kernel via netlink (440, 440 ').

도 5 는 본 발명의 일실시예에 따라 가입자 카드의 이웃 테이블 관리 방법을 도시한 흐름도이다.5 is a flowchart illustrating a neighbor table management method of a subscriber card according to an embodiment of the present invention.

도 5에 도시된 바와 같이, 가입자 보드가 설치 또는 재시동되면(501), 다른 가입자 카드로 NDP_DownLoad_Request 메시지를 보낸다(502). As shown in FIG. 5, when the subscriber board is installed or restarted (501), an NDP_DownLoad_Request message is sent to another subscriber card (502).

이에 대한 응답으로, 다른 가입자 카드로부터 가입자 카드 번호가 실린 NDP_DownLoad_Reply 메시지를 수신하면(503), 제일 먼저 수신된 메시지를 보낸 가입자 카드를 다운로드받을 가입자 카드(이하, "다운로드 카드")로 설정한다(504). In response, upon receipt of an NDP_DownLoad_Reply message containing a subscriber card number from another subscriber card (503), the subscriber card that sent the first received message is set to a subscriber card (hereinafter referred to as a "download card") to be downloaded (504). ).

다음, NDP_DownLoad_Request 메시지를 다운로드 카드로 전송하고(505), 이 메시지를 수신한 다운로드 카드로부터 이웃 엔트리 개수 및 엔트리 목록을 포함하는 NDP_DownLoad 메시지를 수신한다(506). Next, the NDP_DownLoad_Request message is transmitted to the download card (505), and the NDP_DownLoad message including the number of neighbor entries and the entry list is received (506) from the download card.

상기 수신된 정보에 따라 커널에 이웃 엔트리 테이블을 구축한다(507). A neighbor entry table is built in the kernel according to the received information (507).

이와 같이 초기 설치 또는 재시동에 의한 이웃 테이블 다운로드 과정이 끝나면 커널의 이웃 테이블을 모니터링하기 위해 넷링크를 오픈한다(508). When the neighbor table download process by the initial installation or restarting is completed, the netlink is opened to monitor the neighbor table of the kernel (508).

커널로부터 새로운 이웃 엔트리를 수신하면(509), 로컬 인터페이스에 속하는 이웃 엔트리인지 판단한다(510). 로컬 이웃 엔트리이면 이웃 엔트리 정보를 NDP_Entry에 실어서 다른 가입자 카드에 전송하고(511), 로컬이 아니면 무시한다. When a new neighbor entry is received from the kernel (509), it is determined whether it is a neighbor entry belonging to the local interface (510). If it is a local neighbor entry, the neighbor entry information is loaded into NDP_Entry to be transmitted to another subscriber card (511).

한편, 다른 가입자 카드의 NDP 관리 블록으로부터 이웃 엔트리 정보가 실린 NDP_Entry 메시지를 수신하면(512), 해당 이웃 엔트리가 로컬 인터페이스에 대한 이웃 엔트리인지 판단한다(513). 로컬이면 무시하고 로컬이 아니면 해당 이웃 엔트리를 커널에 설정한다(514).On the other hand, if an NDP_Entry message containing neighbor entry information is received from an NDP management block of another subscriber card (512), it is determined whether the corresponding neighbor entry is a neighbor entry for a local interface (513). If it is local, ignore it and if not, set the neighbor entry to the kernel (514).

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

본 발명에 따르면, 소프트웨어 포워딩 방식의 IPv6 라우터 시스템의 모든 가입자 카드들의 커널이 시스템 전체 인터페이스의 이웃 정보를 동일하게 갖게 되므로, 효율적인 IPv6 패킷 포워딩이 가능해진다.According to the present invention, since the kernels of all subscriber cards of the software-forwarding IPv6 router system have the same neighbor information of the system-wide interface, efficient IPv6 packet forwarding is possible.

Claims (12)

복수의 가입자 카드를 구비한 IPv6 라우터 시스템에서 상기 가입자 카드의 이웃 테이블 구축 방법에 있어서, 상기 방법은,In the IPv6 router system having a plurality of subscriber cards, the method of building a neighbor table of the subscriber card, the method, 가입자 카드의 초기 설치 또는 재시동 시에 상기 시스템내의 다른 가입자 카드에 이웃 테이블의 다운로드를 요청하는 제1 요청 메시지를 브로드캐스트하는 단계와, Broadcasting a first request message requesting the download of a neighbor table to another subscriber card in the system upon initial installation or restart of the subscriber card; 상기 다른 가입자 카드로부터 상기 제1 요청 메시지에 대한 응답 메시지를 수신하는 단계와,Receiving a response message to the first request message from the other subscriber card; 상기 수신된 응답 메시지중 가장 먼저 수신된 응답 메시지를 전송한 가입자 카드에 이웃 테이블 정보를 요청하는 제2 요청 메시지를 전송하는 단계와,Transmitting a second request message for requesting neighbor table information to a subscriber card transmitting the first received response message among the received response messages; 상기 제2 요청 메시지에 대한 응답 메시지를 수신하고 상기 응답 메시지에 포함된 이웃 테이블 정보를 이용하여 커널에 이웃 테이블을 구축하는 단계Receiving a response message to the second request message and constructing a neighbor table in the kernel using the neighbor table information included in the response message; 를 포함하는 가입자 카드의 이웃 테이블 구축 방법.The neighbor table establishment method of the subscriber card comprising a. 제1항에 있어서, 상기 방법은 가입자 카드의 NDP(Neighbor Discovery Protocol) 관리 블록에서 수행되는 가입자 카드의 이웃 테이블 구축 방법.The method of claim 1, wherein the method is performed in a neighbor discovery protocol (NDP) management block of a subscriber card. 제1항에 있어서, 상기 제1 요청 메시지는 플래그가 DOWNLOAD_HELP로 설정된 Download_Request 메시지인 가입자 카드의 이웃 테이블 구축 방법.The method of claim 1, wherein the first request message is a Download_Request message with a flag set to DOWNLOAD_HELP. 제1항에 있어서, 상기 제1 요청 메시지에 대한 응답 메시지는 NDP_Download_Reply 메시지이고, 상기 NDP_Download_Reply 메시지는 상기 메시지를 전송한 가입자 카드의 번호를 포함하는 가입자 카드의 이웃 테이블 구축 방법.The method of claim 1, wherein the response message to the first request message is an NDP_Download_Reply message, and the NDP_Download_Reply message includes the number of the subscriber card that transmitted the message. 제 1 항에 있어서, 상기 제2 요청 메시지는 플래그가 DOWNLOAD_NEED로 설정된 NDP_Download_Request 메시지인 가입자 카드의 이웃 테이블 구축 방법. The method of claim 1, wherein the second request message is an NDP_Download_Request message with a flag set to DOWNLOAD_NEED. 제 1 항에 있어서, 상기 제2 요청 메시지에 대한 응답 메시지에 포함된 이웃 테이블의 엔트리는 IPv6 주소, MAC 주소 및 인터페이스 식별자를 포함하는 가입자 카드의 이웃 테이블 구축 방법. The method of claim 1, wherein the entry of the neighbor table included in the response message to the second request message includes an IPv6 address, a MAC address, and an interface identifier. 복수의 가입자 카드를 구비한 IPv6 라우터 시스템에서 상기 가입자 카드의 이웃 테이블 관리 방법에 있어서, 상기 방법은,In the IPv6 router system having a plurality of subscriber cards in the neighbor table management method of the subscriber card, the method, 커널로부터 새로운 이웃 엔트리 정보를 수신하는 단계와,Receiving new neighbor entry information from the kernel, 상기 수신된 이웃 엔트리가 로컬 인터페이스에 속하는 엔트리인 경우에는 상기 이웃 엔트리 정보를 다른 가입자 카드에 브로드캐스팅하는 단계If the received neighbor entry is an entry belonging to a local interface, broadcasting the neighbor entry information to another subscriber card; 를 포함하는 가입자 카드의 이웃 테이블 관리 방법.The neighbor table management method of the subscriber card comprising a. 제7항에 있어서, 상기 방법은 상기 가입자 카드의 NDP 관리 블록과 커널 사 이에 넷링크를 오픈하고 상기 넷링크를 모니터링함으로써 상기 커널에 새로운 이웃 엔트리가 설정됨을 파악하는 단계를 더 포함하는 가입자 카드의 이웃 테이블 관리 방법.8. The method of claim 7, wherein the method further comprises: opening a netlink between the NDP management block and the kernel of the subscriber card and monitoring the netlink to determine that a new neighbor entry is established in the kernel. How to manage neighboring tables. 제7항에 있어서, 상기 수신된 이웃 엔트리가 로컬 인터페이스에 속하는 엔트리가 아닌 경우에는 상기 이웃 엔트리를 무시하는 가입자 카드의 이웃 테이블 관리 방법.8. The method of claim 7, wherein if the received neighbor entry is not an entry belonging to a local interface, the neighbor entry is ignored. 복수의 가입자 카드를 구비한 IPv6 라우터 시스템에서 상기 가입자 카드의 이웃 테이블 관리 방법에 있어서, 상기 방법은,In the IPv6 router system having a plurality of subscriber cards in the neighbor table management method of the subscriber card, the method, 다른 가입자 카드로부터 새로운 이웃 엔트리 정보를 수신하는 단계와,Receiving new neighbor entry information from another subscriber card; 상기 수신된 이웃 엔트리가 로컬 인터페이스에 대한 이웃 엔트리가 아닌 경우에는 상기 이웃 엔트리를 커널에 설정하는 단계Setting the neighbor entry to a kernel if the received neighbor entry is not a neighbor entry for a local interface 를 포함하는 가입자 카드의 이웃 테이블 관리 방법.The neighbor table management method of the subscriber card comprising a. 제10항에 있어서, 상기 수신된 이웃 엔트리가 로컬 인터페이스에 대한 이웃 엔트리인 경우에는 무시하는 가입자 카드의 이웃 테이블 관리 방법.12. The method of claim 10, wherein the received neighbor entry is ignored if the received neighbor entry is a neighbor entry for a local interface. 소프트웨어 포워딩 방식의 IPv6 라우터 시스템에 설치되는 가입자 카드에 있어서, 상기 가입자 카드는, In a subscriber card installed in a software forwarding IPv6 router system, the subscriber card, 라우팅 테이블과 이웃 테이블을 이용하여 IPv6 데이터 패킷을 포워딩하는 커널과,A kernel that forwards IPv6 data packets using routing tables and neighbor tables, 상기 가입자 카드 초기 설치 또는 재시동 시에 상기 IPv6 라우터 시스템내의 다른 가입자 카드로부터 이웃 테이블을 다운로드하여 상기 커널에 구축하고 상기 커널의 이웃 테이블을 모니터링하여 다른 가입자 카드에 로컬 이웃 엔트리 정보를 브로드캐스팅하는 NDP 관리 블록NDP management that downloads a neighbor table from another subscriber card in the IPv6 router system and builds it in the kernel upon initial installation or restart of the subscriber card, and monitors the kernel's neighbor table to broadcast local neighbor entry information to other subscriber cards. block 을 포함하는 가입자 카드.Subscriber card comprising.
KR1020060061742A 2005-12-08 2006-07-03 Method and apparatus for managing neighbor table of subscriber card in software forwarding based IPv6 router system Expired - Fee Related KR100714807B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020050119234 2005-12-08
KR20050119234 2005-12-08

Publications (1)

Publication Number Publication Date
KR100714807B1 true KR100714807B1 (en) 2007-05-04

Family

ID=38269774

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060061742A Expired - Fee Related KR100714807B1 (en) 2005-12-08 2006-07-03 Method and apparatus for managing neighbor table of subscriber card in software forwarding based IPv6 router system

Country Status (1)

Country Link
KR (1) KR100714807B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040057042A (en) * 2002-12-24 2004-07-01 한국전자통신연구원 Router system of descrete forwarding structure and method for transmitting/receiving forwarding table information by using parallel processing technique in the router system
US6769000B1 (en) * 1999-09-08 2004-07-27 Nortel Networks Limited Unified directory services architecture for an IP mobility architecture framework

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6769000B1 (en) * 1999-09-08 2004-07-27 Nortel Networks Limited Unified directory services architecture for an IP mobility architecture framework
KR20040057042A (en) * 2002-12-24 2004-07-01 한국전자통신연구원 Router system of descrete forwarding structure and method for transmitting/receiving forwarding table information by using parallel processing technique in the router system

Similar Documents

Publication Publication Date Title
JP4103816B2 (en) Router setting method and router apparatus
JP3581589B2 (en) Communication network system and service management method in communication network system
US10637794B2 (en) Resource subscription method, resource subscription apparatus, and resource subscription system
US20020120769A1 (en) Multicast traffic control protocol pruning in a layer 2 switch
US20140297890A1 (en) Dynamic network action based on dhcp notification
US20140052843A1 (en) Auto Management of a Virtual Device Context Enabled Network Infrastructure
US20140022911A1 (en) Method and Apparatus for the Fast Detection of Connectivity Loss Between Devices in a Network
US10931529B2 (en) Terminal device management method, server, and terminal device for managing terminal devices in local area network
KR101139836B1 (en) Method and system for two-phase mechanism for discovering web services based management service
KR20110030606A (en) Methods and apparatus for discovery of peer-to-peer overlay networks
CN115695374B (en) IPv6 subnet prefix notification implementation method, device, equipment and storage medium
WO2021135419A1 (en) Method and apparatus for updating routing information, computer device, and storage medium
CN102571640A (en) Gateway system, gateway device, and load distribution method
CN113497752B (en) A message sending method, first network device and network system
KR100714807B1 (en) Method and apparatus for managing neighbor table of subscriber card in software forwarding based IPv6 router system
CN114760348B (en) Business processing method, device, storage medium and electronic device
EP1532767A1 (en) Download optimization in the presence of multicast data
CN101572675B (en) Method for finding operating VRRP network equipment in directly connected network segment and device thereof
CN116367236B (en) Message forwarding method, device and computer readable storage medium
US20140211604A1 (en) Method and Apparatus for the Fast Detection of Connectivity Loss Between Devices in a Network
EP4136806B1 (en) Self-election processes in managed subnets implementing modified swim protocols
CN112533304B (en) Ad hoc network management method, device, system, electronic equipment and storage medium
US20010052020A1 (en) Control system for network servers
CN117135196A (en) A data transmission method and related equipment
EP1971109B1 (en) Method and device for event signaling and communication system comprising such device

Legal Events

Date Code Title Description
A201 Request for examination
PA0109 Patent application

St.27 status event code: A-0-1-A10-A12-nap-PA0109

PA0201 Request for examination

St.27 status event code: A-1-2-D10-D11-exm-PA0201

E701 Decision to grant or registration of patent right
PE0701 Decision of registration

St.27 status event code: A-1-2-D10-D22-exm-PE0701

GRNT Written decision to grant
PR0701 Registration of establishment

St.27 status event code: A-2-4-F10-F11-exm-PR0701

PR1002 Payment of registration fee

St.27 status event code: A-2-2-U10-U11-oth-PR1002

Fee payment year number: 1

PG1601 Publication of registration

St.27 status event code: A-4-4-Q10-Q13-nap-PG1601

P22-X000 Classification modified

St.27 status event code: A-4-4-P10-P22-nap-X000

PN2301 Change of applicant

St.27 status event code: A-5-5-R10-R13-asn-PN2301

St.27 status event code: A-5-5-R10-R11-asn-PN2301

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 4

FPAY Annual fee payment

Payment date: 20110411

Year of fee payment: 5

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 5

LAPS Lapse due to unpaid annual fee
PC1903 Unpaid annual fee

St.27 status event code: A-4-4-U10-U13-oth-PC1903

Not in force date: 20120428

Payment event data comment text: Termination Category : DEFAULT_OF_REGISTRATION_FEE

PC1903 Unpaid annual fee

St.27 status event code: N-4-6-H10-H13-oth-PC1903

Ip right cessation event data comment text: Termination Category : DEFAULT_OF_REGISTRATION_FEE

Not in force date: 20120428

P22-X000 Classification modified

St.27 status event code: A-4-4-P10-P22-nap-X000

PN2301 Change of applicant

St.27 status event code: A-5-5-R10-R13-asn-PN2301

St.27 status event code: A-5-5-R10-R11-asn-PN2301

P22-X000 Classification modified

St.27 status event code: A-4-4-P10-P22-nap-X000

P22-X000 Classification modified

St.27 status event code: A-4-4-P10-P22-nap-X000