KR100738544B1 - apparatus and method of processing forwarding cache entry in duplexing router - Google Patents
apparatus and method of processing forwarding cache entry in duplexing router Download PDFInfo
- Publication number
- KR100738544B1 KR100738544B1 KR1020050130890A KR20050130890A KR100738544B1 KR 100738544 B1 KR100738544 B1 KR 100738544B1 KR 1020050130890 A KR1020050130890 A KR 1020050130890A KR 20050130890 A KR20050130890 A KR 20050130890A KR 100738544 B1 KR100738544 B1 KR 100738544B1
- Authority
- KR
- South Korea
- Prior art keywords
- cache entry
- forwarding cache
- routing server
- address information
- multicast
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40169—Flexible bus arrangements
- H04L12/40176—Flexible bus arrangements involving redundancy
- H04L12/40182—Flexible bus arrangements involving redundancy by using a plurality of communication lines
-
- 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/54—Organization of routing tables
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/20—Support for services
- H04L49/201—Multicast operation; Broadcast operation
Abstract
본 발명은 액티브 상태에서 멀티캐스트 라우팅 프로토콜에 따라 생성되는 포워딩 캐쉬 엔트리에 따른 제 1 테이블을 생성하고, 포워딩 캐쉬 엔트리의 주소 정보를 제 2 라우팅 서버로 전송하는 제 1 라우팅 서버와, 스탠바이 상태에서 제 1 라우팅 서버로부터 제공되는 포워딩 캐쉬 엔트리의 주소 정보를 저장하고, 액티브 상태로 전환되면, 포워딩 캐쉬 엔트리의 주소 정보를 기반으로 생성되는 포워딩 캐쉬 엔트리에 따른 제 2 테이블을 생성하는 제 2 라우팅 서버와, 각 라우팅 서버로부터 생성되는 각 포워딩 캐쉬 엔트리에 따른 제 3 테이블을 기반으로 네트워크로부터 입력되는 멀티캐스트 패킷을 처리하는 적어도 하나 이상의 데이터 플랜을 포함하는 이중화 구조의 라우터를 개시함으로써, 라우팅 서버의 절체가 발생하는 경우에 스탠바이 상태에서 액티브 상태로 전환되는 라우팅 서버가 최단 시간내에 멀티캐스트 포워딩 캐쉬 엔트리를 생성할 수 있으며, 라우팅 서버가 멀티캐스트 포워딩 캐쉬 엔트리를 이미 저장되어 있는 소스 주소 및 그룹 주소를 기반으로 생성함으로써, 라우터 내부의 트래픽으로 인한 성능 저하를 방지할 수 있는 것이다.The present invention provides a first routing server for generating a first table according to a forwarding cache entry generated according to a multicast routing protocol in an active state and transmitting address information of the forwarding cache entry to a second routing server, and a first routing server in a standby state. A second routing server that stores address information of the forwarding cache entry provided from the first routing server and generates a second table according to the forwarding cache entry generated based on the address information of the forwarding cache entry, when it is switched to an active state; Switching of the routing server occurs by initiating a redundant router including at least one data plan for processing multicast packets input from the network based on a third table according to each forwarding cache entry generated from each routing server. If in standby A routing server that transitions to a creative state can generate a multicast forwarding cache entry in the shortest amount of time, and the routing server generates the multicast forwarding cache entry based on the source address and group address that are already stored, thereby preventing traffic within the router. This can prevent the performance degradation.
Description
도 1은 본 발명의 바람직한 실시예에 따른 이중화 구조의 라우터를 설명하기 위한 블록 도면.1 is a block diagram illustrating a router of a redundant structure according to a preferred embodiment of the present invention.
도 2는 본 발명에 따른 제 1 멀티캐스트 테이블을 설명하기 위한 도면.2 is a diagram for explaining a first multicast table according to the present invention;
도 3은 본 발명에 따른 스탠바이 라우팅 서버의 제 2 멀티캐스트 테이블을 설명하기 위한 도면.3 is a diagram for explaining a second multicast table of a standby routing server according to the present invention;
도 4는 본 발명에 따른 제 3 멀티캐스트 테이블을 설명하기 위한 도면.4 is a diagram for explaining a third multicast table according to the present invention;
도 5는 본 발명의 바람직한 실시예에 따른 이중화 구조의 라우터에서 멀티캐스트 포워딩 캐쉬 엔트리 처리 방법을 설명하기 위한 플로챠트 도면.FIG. 5 is a flowchart for explaining a multicast forwarding cache entry processing method in a router of a redundant structure according to an embodiment of the present invention. FIG.
<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>
100, 200 : 라우팅 서버 110, 210 : 멀티캐스트 라우팅 처리부100, 200:
120, 220, 320 : 멀티캐스트 테이블 300 : 데이터 플랜120, 220, 320: Multicast Table 300: Data Plan
310 : 포워딩 엔진부 330 : 테이블 관리부310: forwarding engine unit 330: table management unit
본 발명은 이중화 구조의 라우터에서 포워딩 캐쉬 처리 방법 및 그 장치에 관한 것이다.The present invention relates to a forwarding cache processing method and apparatus thereof in a router of a redundant structure.
오늘날 네트워크 기술의 발전과 가입자의 증가로 인한 많은 네트워크 장비들이 개발/발전되고 있다.Today, many network devices are being developed / developed due to the development of network technology and the increase of subscribers.
이러한, 네트워크 장비들 중 라우터는 입력되는 패킷의 최적 통신 경로를 라우팅 프로토콜에 따라 결정하여 패킷이 목적지로 전송되도록 포워딩하는 장비를 의미한다.Among these network devices, a router means a device that determines an optimal communication path of an incoming packet according to a routing protocol and forwards the packet to a destination.
일반적인 라우터의 구조는 다수개의 슬롯(slot)을 가지는 셀프(shelf)에 라우팅 프로토콜이 처리되는 라우팅 서버와, 다수개의 포워딩 엔진이 내장되는 다수개의 데이터 플랜이 실장되는 구조를 가진다.A general router has a structure in which a routing server in which a routing protocol is processed and a plurality of data plans in which a plurality of forwarding engines are mounted are mounted in a shelf having a plurality of slots.
그리고, 일반적으로 라우터의 구조는 라우팅 서버의 다운 등과 같은 문제가 발생하는 경우, 지속적으로 라우팅을 수행하기 위하여, 라우팅 서버를 이중화하여, 액티브 라우팅 서버와, 스탠바이 라우팅 서버를 구비한다.In general, when a problem such as a down of the routing server occurs, the structure of the router includes a redundant routing server, an active routing server, and a standby routing server in order to continuously perform routing.
라우팅 서버는 DVMRP( distance vector multicast routing protocol), MOSPF(Multicast Extensions to OSPF), PIM(Protocol Independent Multicast) 및 CBT(Core Based Tree) 등과 같은 멀티캐스트 라우팅 프로토콜에 따라 멀티캐스트 포워딩 캐쉬 엔트리를 구성하여, 데이터 플랜의 포워딩 엔진이 멀티캐스트 패킷을 처리할 수 있도록 전송하거나, 멀티캐스트 패킷을 처리한다.The routing server configures multicast forwarding cache entries according to multicast routing protocols such as distance vector multicast routing protocol (DVMRP), Multicast Extensions to OSPF (MOSPF), Protocol Independent Multicast (PIM), and Core Based Tree (CBT). The forwarding engine of the data plan transmits to process multicast packets, or processes multicast packets.
그러나, 일반적인 이중화 구조를 가진 라우터에서 액티브 라우팅 서버가 다운되거나 문제가 발생하여 스탠바이 라우팅 서버가 액티브 라우팅 서버로 절체되는 경우, 새로이 액티브 라우팅 서버가 된 라우팅 서버가 새로이 멀티캐스트 라우팅 프로토콜을 구동시키고, 데이터 플랜을 통해 수신되는 트래픽을 기반으로 새로운 멀티캐스트 포워딩 캐쉬를 생성해야 한다.However, if the active routing server goes down or a problem occurs in a router with a general redundancy structure, and the standby routing server is switched to the active routing server, the newly active routing server becomes the new multicast routing protocol. You need to create a new multicast forwarding cache based on the traffic received through the plan.
따라서, 라우팅 서버가 절체될 때마다 새로이 멀티캐스트 포워딩 캐쉬를 생성해야 함으로, 라우터 내부의 트래픽이 증가하게 되어, 라우터의 성능을 저하시킬 수 있다.Therefore, each time the routing server is switched, a new multicast forwarding cache needs to be generated, thereby increasing traffic inside the router, thereby degrading the performance of the router.
그리고, 라우터가 운용중에 라우팅 서버가 절체되는 경우, 데이터 플랜으로부터 수신되는 트래픽을 기반으로 멀티캐스트 포워딩 캐쉬를 생성하는 기간동안 라우터가 멀티캐스트 패킷을 처리하지 못하게 된다.When the routing server is switched while the router is in operation, the router cannot process the multicast packet during the period of generating the multicast forwarding cache based on the traffic received from the data plan.
따라서, 본 발명은 상기와 같은 문제점을 해결하기 위하여 창안된 것으로, 라우팅 서버가 이중화된 라우터에서 라우팅 서버가 절체되는 경우, 최단 시간내에 멀티캐스트 포워딩 캐쉬를 생성할 수 있도록 하는 이중화 구조의 라우터에서 포워딩 캐쉬 처리 방법 및 그 장치를 제공하는 것에 그 목적이 있다.Accordingly, the present invention was devised to solve the above problems, and when the routing server is switched from a duplicated router to a routing server, forwarding is performed in a router having a redundant structure so as to generate a multicast forwarding cache in the shortest time. It is an object of the present invention to provide a cache processing method and an apparatus thereof.
상기 목적을 달성하기 위한 본 발명의 일측면에 따른 이중화 라우팅 서버를 가지는 라우터는, 액티브 상태에서 멀티캐스트 라우팅 프로토콜에 따라 생성되는 포워딩 캐쉬 엔트리에 따른 제 1 테이블을 생성하고, 포워딩 캐쉬 엔트리의 주소 정보를 제 2 라우팅 서버로 전송하는 제 1 라우팅 서버와, 스탠바이 상태에서 제 1 라우팅 서버로부터 제공되는 포워딩 캐쉬 엔트리의 주소 정보를 저장하고, 액티브 상태로 전환되면, 포워딩 캐쉬 엔트리의 주소 정보를 기반으로 생성되는 포워딩 캐쉬 엔트리에 따른 제 2 테이블을 생성하는 제 2 라우팅 서버와, 각 라우팅 서버로부터 생성되는 각 포워딩 캐쉬 엔트리에 따른 제 3 테이블을 기반으로 네트워크로부터 입력되는 멀티캐스트 패킷을 처리하는 적어도 하나 이상의 데이터 플랜을 포함한다.In order to achieve the above object, a router having a redundant routing server according to an aspect of the present invention generates a first table according to a forwarding cache entry generated according to a multicast routing protocol in an active state, and addresses information of the forwarding cache entry. Stores the address information of the forwarding cache entry provided from the first routing server in the standby state and transmits the second routing server to the second routing server, and generates an address based on the address information of the forwarding cache entry in the active state. At least one data for processing a multicast packet input from the network based on a second routing server for generating a second table according to the forwarding cache entries, and a third table for each forwarding cache entry generated from each routing server; Include a plan.
본 발명에 따른 제 1 라우팅 서버는, 생성되는 포워딩 캐쉬 엔트리의 주소 정보를 제 2 라우팅 서버로 전송하고, 제 1 테이블의 포워딩 캐쉬 엔트리를 각 데이터 플랜으로 전송하는 제 1 멀티캐스트 라우팅 처리부를 포함한다.The first routing server according to the present invention includes a first multicast routing processor for transmitting address information of the generated forwarding cache entry to the second routing server and transmitting the forwarding cache entry of the first table to each data plan. .
본 발명에 따른 제 2 라우팅 서버는, 스탠바이 상태에서 액티브 상태로 전환되면, 포워딩 캐쉬 엔트리의 주소 정보를 기반으로 생성되는 포워딩 캐쉬 엔트리를 데이터 플랜으로 전송하는 제 2 멀티캐스트 라우팅 처리부를 포함한다.The second routing server according to the present invention includes a second multicast routing processor for transmitting, to the data plan, a forwarding cache entry generated based on address information of the forwarding cache entry when it is switched from the standby state to the active state.
본 발명에 따른 각 테이블은, 소스 주소 정보, 그룹 주소 정보, 입력 인터페이스 정보, 출력 인터페이스 정보 또는 엔트리 확인 정보 중 적어도 하나 이상의 정보를 포함한다.Each table according to the present invention includes at least one of source address information, group address information, input interface information, output interface information, or entry confirmation information.
본 발명에 따른 각 데이터 플랜은, 제 1 라우팅 서버에서 생성되는 포워딩 캐쉬 엔트리에 따른 제 3 테이블을 생성하는 테이블 관리부와, 제 3 테이블을 기반으로 네트워크로부터 입력되는 멀티캐스트 패킷을 처리하는 적어도 하나 이상의 포워딩 엔진부를 포함한다.Each data plan according to the present invention includes a table manager that generates a third table according to a forwarding cache entry generated by the first routing server, and at least one or more multiprocess packets inputted from the network based on the third table. And a forwarding engine unit.
본 발명에 따른 테이블 관리부는, 제 1 라우팅 서버로부터 수신되는 포워딩 캐쉬 엔트리에 상응하는 엔트리 확인 정보를 제 3 테이블에 설정하고, 제 2 라우팅 서버로부터 수신되는 포워딩 캐쉬 엔트리의 주소 정보에 해당하는 제 3 테이블의 포워딩 캐쉬 엔트리를 업데이트하고, 해당 엔트리 확인 정보를 설정 변경한다.The table manager according to the present invention sets the entry confirmation information corresponding to the forwarding cache entry received from the first routing server in the third table, and the third table corresponds to the address information of the forwarding cache entry received from the second routing server. Update the table's forwarding cache entry and set and change the entry confirmation information.
본 발명에 따른 테이블 관리부는, 제 2 라우팅 서버로부터 포워딩 캐쉬 엔트리 수신 완료되면, 제 3 테이블의 포워딩 캐쉬 엔트리 중 엔트리 확인 정보가 설정 변경되지 않은 포워딩 캐쉬 엔트리를 삭제한다.When the forwarding cache entry is received from the second routing server, the table manager according to the present invention deletes the forwarding cache entry whose entry confirmation information is not changed from the forwarding cache entry of the third table.
본 발명에 따른 포워딩 캐쉬 엔트리의 주소 정보는,각 포워딩 캐쉬 엔트리의 소스 주소 정보 및 그룹 주소 정보이다.The address information of the forwarding cache entry according to the present invention is source address information and group address information of each forwarding cache entry.
본 발명의 다른 측면에 따른 이중화 라우팅 서버를 가지는 라우터는, 액티브 상태에서 멀티캐스트 라우팅 프로토콜에 따라 생성되는 포워딩 캐쉬 엔트리를 생성하고, 포워딩 캐쉬 엔트리의 소스 주소 정보 및 그룹 주소 정보를 제 2 라우팅 서버로 전송하는 제 1 라우팅 서버와, 스탠바이 상태에서 제 1 라우팅 서버로부터 제공되는 포워딩 캐쉬 엔트리의 소스 주소 정보 및 그룹 주소 정보를 저장하고, 액티브 상태로 전환되면, 포워딩 캐쉬 엔트리의 소스 주소 정보 및 그룹 주소 정보를 기반으로 포워딩 캐쉬 엔트리를 생성하는 제 2 라우팅 서버를 포함한다.A router having a redundant routing server according to another aspect of the present invention generates a forwarding cache entry generated according to a multicast routing protocol in an active state and transfers source address information and group address information of the forwarding cache entry to the second routing server. Storing the source address information and the group address information of the forwarding cache entry provided from the first routing server in the standby state and transmitting the source address information and the group address information of the forwarding cache entry It includes a second routing server for generating a forwarding cache entry based on.
본 발명의 또 다른 측면에 따른 이중화 구조의 라우터에서 포워딩 캐쉬 엔트리 처리 방법은, 액티브 상태의 제 1 라우팅 서버가 멀티캐스트 라우팅 프로토콜에 따라 포워딩 캐쉬 엔트리를 생성하는 단계와, 제 1 라우팅 서버가 생성되는 포워딩 캐쉬 엔트리의 주소 정보를 스탠바이 상태의 제 2 라우팅 서버로 전송하는 단계와, 제 2 라우팅 서버가 스탠바이 상태에서 액티브 상태로 전환되면, 제 1 라우팅 서버로부터 수신된 포워딩 캐쉬 엔트리의 주소 정보를 기반으로 포워딩 캐쉬 엔트리를 생성하는 단계를 포함한다.In a redundant router according to another aspect of the present invention, a forwarding cache entry processing method includes: generating, by a first routing server in an active state, a forwarding cache entry according to a multicast routing protocol; Transmitting the address information of the forwarding cache entry to the second routing server in the standby state, and when the second routing server is switched from the standby state to the active state, based on the address information of the forwarding cache entry received from the first routing server. Generating a forwarding cache entry.
본 발명에 따른 포워딩 캐쉬 엔트리의 주소 정보를 전송하는 단계는, 생성되는 포워딩 캐쉬 엔트리의 소스 주소 정보 및 그룹 주소 정보를 전송한다.In the transmitting of the address information of the forwarding cache entry according to the present invention, the source address information and the group address information of the generated forwarding cache entry are transmitted.
본 발명에 따른 이중화 구조의 라우터에서 포워딩 캐쉬 엔트리 처리 방법은, 제 1 라우팅 서버가 생성되는 포워딩 캐쉬 엔트리를 데이터 플랜으로 전송하는 단계와, 데이터 플랜이 포워딩 캐쉬 엔트리에 엔트리 확인 정보를 설정하고, 포워딩 캐쉬 엔트리를 기반으로 멀티캐스트 패킷을 처리하는 단계와, 제 2 라우팅 서버가 액티브 상태로 전환되면, 생성되는 포워딩 캐쉬 엔트리를 데이터 플랜으로 전송하는 단계와, 데이터 플랜이 제 2 라우팅 서버로부터 수신되는 포워딩 캐쉬 엔트리의 주소 정보에 따라 입출력 인터페이스 정보 업데이트를 수행하고, 상기 업데이트된 인터페이스 정보에 따라 포워딩 캐쉬 엔트리의 엔트리 확인 정보를 변경 설정하는 단계와, 제 2 라우팅 서버로부터 포워딩 캐쉬 엔트리의 수신 완료되면, 엔트리 확인 정보가 변경 설정되지 않은 포워딩 캐쉬 엔트리를 삭제하는 단계를 더 포함한다.The forwarding cache entry processing method in a router of a redundant structure according to the present invention includes the steps of: transmitting a forwarding cache entry in which a first routing server is generated to a data plan, the data plan setting entry confirmation information in the forwarding cache entry, and forwarding Processing a multicast packet based on the cache entry, sending a generated forwarding cache entry to the data plan when the second routing server becomes active, and forwarding the data plan received from the second routing server. Updating the input / output interface information according to the address information of the cache entry, changing and setting the entry confirmation information of the forwarding cache entry according to the updated interface information, and when the reception of the forwarding cache entry from the second routing server is completed, the entry Confirmation information changed The step of deleting the cache entries that are not forwarding further comprises.
본 발명의 또 다른 측면에 따른 이중화 구조의 라우터에서 포워딩 캐쉬 엔트리 처리 방법은, 액티브 상태의 제 1 라우팅 서버가 멀티캐스트 라우팅 프로토콜에 따라 포워딩 캐쉬 엔트리를 생성하는 단계와, 제 1 라우팅 서버가 생성되는 포워딩 캐쉬 엔트리의 주소 정보를 스탠바이 상태의 제 2 라우팅 서버로 전송하는 단계와, 제 1 라우팅 서버가 생성되는 포워딩 캐쉬 엔트리를 데이터 플랜으로 전송하는 단계와, 데이터 플랜이 포워딩 캐쉬 엔트리에 엔트리 확인 정보를 설정하고, 포워딩 캐쉬 엔트리를 기반으로 멀티캐스트 패킷을 처리하는 단계와, 제 2 라우팅 서버가 액티브 상태로 전환되면, 제 1 라우팅 서버로부터 수신된 포워딩 캐쉬 엔트리의 주소 정보를 기반으로 포워딩 캐쉬 엔트리를 생성하여, 데이터 플랜으로 전송하는 단계와, 데이터 플랜이 제 2 라우팅 서버로부터 수신되는 포워딩 캐쉬 엔트리의 주소 정보에 따라 입출력 인터페이스 정보 업데이트를 수행하고, 상기 업데이트된 인터페이스 정보에 따라 포워딩 캐쉬 엔트리의 엔트리 확인 정보를 변경 설정하는 단계와, 제 2 라우팅 서버로부터 포워딩 캐쉬 엔트리의 수신 완료되면, 엔트리 확인 정보가 변경 설정되지 않은 포워딩 캐쉬 엔트리를 삭제하는 단계를 포함한다.In a redundant router according to another aspect of the present invention, a forwarding cache entry processing method includes: generating, by a first routing server in an active state, a forwarding cache entry according to a multicast routing protocol; Transmitting the address information of the forwarding cache entry to the second routing server in the standby state, transmitting the forwarding cache entry in which the first routing server is generated to the data plan, and the data plan providing the entry confirmation information to the forwarding cache entry. Setting, processing a multicast packet based on the forwarding cache entry, and when the second routing server becomes active, generating a forwarding cache entry based on address information of the forwarding cache entry received from the first routing server. Sending the data plan to the data plan. Updating the input / output interface information according to the address information of the forwarding cache entry received from the second routing server, and changing and setting the entry confirmation information of the forwarding cache entry according to the updated interface information, and from the second routing server. And upon receipt of the forwarding cache entry, deleting the forwarding cache entry whose entry confirmation information has not been changed.
이하 본 발명에 따른 이중화 구조의 라우터에서 멀티캐스트 포워딩 캐쉬 처리 방법 및 그 장치를 첨부한 도면을 참조하여 상세히 설명한다.Hereinafter, a multicast forwarding cache processing method and apparatus thereof in a router of a redundant structure according to the present invention will be described in detail with reference to the accompanying drawings.
도 1은 본 발명의 바람직한 실시예에 따른 이중화 구조의 라우터를 설명하기 위한 블록 도면이다.1 is a block diagram illustrating a router of a redundant structure according to a preferred embodiment of the present invention.
도 1을 참조하면, 본 발명에 따른 라우터는, 이중화된 복수개의 라우팅 서버 (100, 200)와, 다수개의 데이터 플랜(300)을 내부 인터페이스로 연결되고, 각 라우팅 서버(100, 200)는 멀티캐스트 라우팅 처리부(110, 210) 및 멀티캐스트 포워딩 캐쉬 엔트리를 포함하는 멀티캐스팅 테이블(120, 220)을 포함한다.Referring to FIG. 1, a router according to the present invention is connected to a plurality of
그리고, 각 데이터 플랜은 다수개의 포워딩 엔진부(310), 테이블 관리부(330) 및 제 3 멀티캐스트 테이블(320)을 포함한다.Each data plan includes a plurality of
이러한, 각 데이터 플랜(200)과, 각 라우팅 서버(100, 200)는 셀프(미도시)에 마련되는 각 슬롯(미도시)에 실장되어 라우터를 구성할 수 있다.Each of the
각 데이터 플랜(200)의 외부 네트워크와 연결되는 다수개의 포트(미도시)를 포함하며, 각 포워딩 엔진부(310)는 포트를 통해 수신되는 패킷이 목적지로 전송될 수 있도록 포워딩한다.Each port includes a plurality of ports (not shown) connected to an external network of the
그리고, 포워딩 엔진부(310)는 멀티캐스트 패킷이 수신되면, 제 3 멀티캐스팅 테이블(320)을 참조하여 멀티캐스팅한다.When the multicast packet is received, the
또한, 라우터는 멀티캐스트 패킷을 라우팅 서버(100, 200)에서 처리되거나, 포워딩 엔진부(310)에서 처리되도록 구현될 수 있다.In addition, the router may be implemented to process the multicast packet in the routing server (100, 200), or in the
이하 제 1 라우팅 서버는 액티브 상태의 라우팅 서버이고, 제 2 라우팅 서버가 스탠바이 상태의 라우팅 서버이고, IGMP((Internet Group Management Protocol)를 이용하여 멀티캐스트 포워딩 캐쉬의 그룹을 관리하는 경우에 대하여 예를 들어 설명한다.Hereinafter, an example of a case where the first routing server is an active routing server, the second routing server is a standby routing server, and a group of multicast forwarding caches are managed using the Internet Group Management Protocol (IGMP) will be described. Listen and explain.
제 1 라우팅 서버(100)의 제 1 멀티캐스트 라우팅 처리부(110)는 멀티캐스트 라우팅 프로토콜에 따라 멀티캐스트 포워딩 캐쉬 엔트리를 가지는 제 1 멀티캐스트 테이블(120)을 생성하고, 생성된 제 1 멀티캐스트 테이블(120)을 데이터 플랜(200)으로 전송하여 저장한다.The first
즉, 제 1 라우팅 서버(100)의 제 1 멀티캐스트 라우팅 처리부(110)는 각 포워딩 엔진부(310)로부터 수신되는 그룹 참여(join) 메시지에 따라 멀티캐스트 포워딩 캐쉬를 생성한다.That is, the first
그리고, 제 1 멀티캐스트 라우팅 처리부(110)는 생성되는 멀티캐스트 포워딩 캐쉬를 제 1 멀티캐스트 테이블(120)에 저장하고, 생성되는 멀티캐스트 포워딩 캐쉬를 데이터 플랜(300)의 제 3 멀티캐스트 테이블(320)로 전송하여 업데이트한다. 데이터 플랜(300)의 테이블 관리부(330)는 제 1 라우팅 서버(100)로부터 수신되는 멀티캐스트 포워딩 캐쉬에 따라 제 3 멀티캐스트 테이블(320)을 생성/관리한다.The first
또한, 제 1 멀티캐스트 라우팅 처리부(110)는 생성되는 멀티캐스트 포워딩 캐쉬의 소스 주소 정보 및 그룹 정보를 제 2 라우팅 서버(200)로 전송한다. 즉, 제 1 멀티캐스트 라우팅 처리부(110)는 생성되는 멀티캐스트 포워딩 캐쉬의 소스 주소 정보 및 그룹 주소 정보를 제 2 멀티캐스트 테이블(220)에 저장한다.In addition, the first
도 2는 본 발명에 따른 제 1 멀티캐스트 테이블을 설명하기 위한 도면이다.2 is a diagram for explaining a first multicast table according to the present invention.
도 2에 도시된 바와 같이, 제 1 멀티캐스트 테이블은 다수개의 멀티캐스트 포워딩 캐쉬 엔트리로 구성되며, 각 멀티캐스트 포워딩 캐쉬는 소스 주소 정보(Source Address), 그룹 주소 정보(Group Address), 패킷이 수신되는 입력 인터페이스(eth) 정보(iif), 패킷을 목적지로 전송하기 위한 출력 인터페이스 정보(oif-list)를 포함한다.As shown in FIG. 2, the first multicast table includes a plurality of multicast forwarding cache entries, and each multicast forwarding cache includes source address information, group address information, and packet reception. Input interface (eth) information (iif), and output interface information (oif-list) for transmitting a packet to a destination.
즉, 제 1 멀티캐스트 라우팅 처리부(110)는 제 1 멀티캐스트 테이블(120)의 각 멀티캐스트 포워딩 캐쉬의 소스 주소 정보 및 그룹 주소 정보를 제 2 멀티캐스트 테이블(220)에 저장한다.That is, the first
도 3은 본 발명에 따른 스탠바이 라우팅 서버의 제 2 멀티캐스트 테이블을 설명하기 위한 도면이다.3 is a diagram for describing a second multicast table of a standby routing server according to the present invention.
도 3에 도시된 바와 같이, 제 1 라우팅 서버(100)의 제 1 멀티캐스트 라우팅 처리부(110)는 제 1 멀티캐스트 테이블(120)에 포함되어 있는 소스 주소 정보와, 그룹 주소 정보를 제 2 라우팅 서버(200)의 제 2 멀티캐스트 테이블(220)에 저장한다.As illustrated in FIG. 3, the first
이때, 제 1 멀티캐스트 라우팅 처리부(110)는 각 멀티캐스트 포워딩 캐쉬 엔트리의 소스 주소 정보와, 그룹 주소 정보를 쌍(S, G)으로 전송하여 저장한다.In this case, the first
그리고, 제 1 라우팅 서버(100)가 다운이 되거나, 문제가 발생하여, 제 2 라우팅 서버(200)가 액티브 상태가 되는 이중화 절체가 발생하면, 제 2 라우팅 서버(200)의 제 2 멀티캐스트 라우팅 처리부(210)는 제 2 멀티캐스트 테이블(220)에 저장되어 있는 소스 주소 정보 및 그룹 주소 정보를 기반으로 멀티캐스트 라우팅 프로토콜에 따라 멀티캐스트 포워딩 캐쉬를 생성한다.When the
즉, 제 2 멀티캐스트 라우팅 처리부(210)는 상기 도 2에 도시된 바와 같이, 소스 주소 정보 및 그룹 주소 정보를 기반으로 멀티캐스트 라우팅 프로토콜에 따라 패킷이 수신되는 입력 인터페이스 정보(iif) 및 패킷을 목적지로 전송하기 위한 출력 인터페이스 정보(oif-list)를 검색하여 제 2 멀티캐스트 테이블(220)에 저장한 다.That is, as shown in FIG. 2, the second multicast
그리고, 제 2 멀티캐스트 라우팅 처리부(210)는 생성되는 제 2 멀티캐스트 테이블(220)에 포함된 멀티캐스트 포워딩 캐쉬 엔트리를 데이터 플랜(300)으로 전송한다. 제 2 멀티캐스트 라우팅 처리부(210)는 제 2 멀티캐스트 테이블(220)에 포함된 멀티캐스트 포워딩 캐쉬 엔트리의 전송이 완료되면, 완료 메시지를 데이터 플랜(300)으로 전송한다.The second
데이터 플랜(300)의 테이블 관리부(330)는 초기 제 1 라우팅 서버(100)의 제 1 멀티캐스트 라우팅 처리부(110)로부터 수신되는 제 1 멀티캐스트 테이블(120)의 멀티캐스 포워딩 캐쉬 엔트리를 기반으로 제 3 멀티캐스트 테이블(320)을 생성하여 저장한다.The
도 4는 본 발명에 따른 제 3 멀티캐스트 테이블을 설명하기 위한 도면이다.4 is a diagram for describing a third multicast table according to the present invention.
도 4에 도시된 바와 같이, 데이터 플랜(300)의 제 3 멀티캐스트 테이블(320)은 제 1 멀티캐스트 테이블(120)에 포함된 멀티캐스트 포워딩 캐쉬 엔트리와, 라우팅 서버(100, 200)의 절체가 발생하는 경우, 업데이트되는 각 엔트리를 확인하기 위한 확인 정보(stale)를 가지고 있다.As shown in FIG. 4, the third multicast table 320 of the data plan 300 includes the multicast forwarding cache entries included in the first multicast table 120 and the switching of the
예를 들어, 테이블 관리부(330)는 초기 액티브 상태인 제 1 라우팅 서버(100)로부터 수신되는 제 1 멀티캐스트 테이블(120)을 기반으로 제 3 멀티캐스트 테이블(320)이 생성되면, 해당 엔트리의 확인 정보를 '1'로 설정한다.For example, when the third multicast table 320 is generated based on the first multicast table 120 received from the
그리고, 제 2 라우팅 서버(200)가 액티브 상태가 되는 절체가 발생되면, 테이블 관리부(300)는 제 2 라우팅 서버(200)로부터 제 2 멀티캐스트 테이블(220)에 포함된 멀티캐스트 포워딩 캐쉬 엔트리가 수신되면, 멀티캐스트 포워딩 캐쉬 엔트리의 소스 주소 정보 및 그룹 주소 정보가 동일한 제 3 멀티캐스트 테이블(320)의 입력 인터페이스 정보(iif) 및 출력 인터페이스 정보(oif-list)를 업데이트하고, 업데이트되는 멀티캐스트 포워딩 엔트리의 확인 정보를 '0'으로 설정한다.When the switching of the
테이블 관리부(330)는 제 2 라우팅 서버(200)로부터 완료 메시지가 수신되면, 제 3 멀티캐스트 테이블(320)의 멀티캐스트 포워딩 엔트리 중 확인 정보가 '1'로 설정되어 있는 멀티캐스트 포워딩 엔트리를 삭제한다. 즉, 제 2 라우팅 서버(200)의 제 2 멀티캐스트 테이블(220)에 포함되지 않는 멀티캐스트 포워딩 엔트리를 삭제한다.When the completion message is received from the
도 5는 본 발명의 바람직한 실시예에 따른 이중화 구조의 라우터에서 멀티캐스트 포워딩 캐쉬 엔트리 처리 방법을 설명하기 위한 플로챠트 도면이다.FIG. 5 is a flowchart illustrating a multicast forwarding cache entry processing method in a router of a redundant structure according to an embodiment of the present invention.
도 5를 참조하여, 제 1 라우팅 서버(100)가 액티브 상태이고, 제 2 라우팅 서버(200)가 스탠바이 상태인 경우에 대하여 설명한다.Referring to FIG. 5, a case in which the
제 1 라우팅 서버(100)는 멀티캐스트 라우팅 프로토콜에 따라 멀티캐스트 포워딩 캐쉬 엔트리를 가지는 제 1 멀티캐스트 테이블(120)을 생성한다(S 100).The
즉, 제 1 라우팅 서버(100)의 각 포워딩 엔진부(310)로부터 수신되는 그룹 참여(join) 메시지에 따라 멀티캐스트 포워딩 캐쉬를 생성한다.That is, the multicast forwarding cache is generated according to the group join message received from each forwarding
그리고, 제 1 라우팅 서버(100)는 제 1 멀티캐스트 테이블에 포함되는 멀티캐스트 포워딩 캐쉬를 데이터 플랜(300)으로 전송하고, 데이터 플랜(300)은 수신되는 멀티캐스트 포워딩 캐쉬에 따라 제 3 멀티캐스트 테이블(320)을 생성/관리한다 (S 110).The
이때, 데이터 플랜(300)의 초기 제 1 라우팅 서버(100)로부터 수신되는 멀티캐스트 포워딩 캐쉬가 저장되는 제 3 멀티캐스트 테이블(320)에 각 엔트리의 확인 정보를 설정한다. 예를 들어, 제 1 라우팅 서버(100)로부터 수신되는 멀티캐스트 포워딩 캐쉬이면, 엔트리 확인 정보를 '1'로 설정한다(S 120).At this time, the identification information of each entry is set in the third multicast table 320 in which the multicast forwarding cache received from the
제 1 라우팅 서버(100)는 제 1 멀티캐스트 테이블(120)에 포함되는 멀티캐스트 포워딩 캐쉬의 소스 주소 정보 및 그룹 정보를 제 2 라우팅 서버(200)로 전송한다.The
그리고, 제 2 라우팅 서버(200)는 제 1 멀티캐스트 테이블(120)의 멀티캐스트 포워딩 캐쉬의 소스 주소 정보 및 그룹 주소 정보를 제 2 멀티캐스트 테이블(220)에 저장한다(S 130).The
라우터는 생성되는 제 1 멀티캐스트 테이블(120) 및 제 3 멀티캐스트 테이블을 기반으로 멀티캐스트 패킷을 처리한다(S 140).The router processes the multicast packet based on the generated first multicast table 120 and the third multicast table (S 140).
그리고, 라우터는 제 1 라우팅 서버(100)가 다운이 되거나, 문제가 발생하여, 제 2 라우팅 서버(200)가 액티브 상태가 되는 이중화 절체가 발생하면(S 150), 제 2 라우팅 서버(200)는 제 2 멀티캐스트 테이블(220)에 저장되어 있는 소스 주소 정보 및 그룹 주소 정보를 기반으로 멀티캐스트 라우팅 프로토콜에 따라 멀티캐스트 포워딩 캐쉬를 생성한다(S 160).In addition, when the
즉, 제 2 라우팅 서버(200) 소스 주소 정보 및 그룹 주소 정보를 기반으로 멀티캐스트 라우팅 프로토콜에 따라 패킷이 수신되는 입력 인터페이스 정보(iif) 및 패킷을 목적지로 전송하기 위한 출력 인터페이스 정보(oif-list)를 검색하여, 멀티캐스트 포워딩 캐쉬를 생성하여 제 2 멀티캐스트 테이블(220)에 저장한다.That is, based on the
그리고, 제 2 라우팅 서버(200)는 생성되는 제 2 멀티캐스트 테이블(220)에 포함된 멀티캐스트 포워딩 캐쉬 엔트리를 데이터 플랜(300)으로 전송한다(S 170).The
그리고, 데이터 플랜(300)은 제 2 라우팅 서버(200)로부터 제 2 멀티캐스트 테이블(220)에 포함된 멀티캐스트 포워딩 캐쉬 엔트리가 수신되면, 멀티캐스트 포워딩 캐쉬 엔트리의 소스 주소 정보 및 그룹 주소 정보가 동일한 제 3 멀티캐스트 테이블(320)의 입력 인터페이스 정보(iif) 및 출력 인터페이스 정보(oif-list)를 업데이트하고(S 180), 업데이트되는 멀티캐스트 포워딩 엔트리의 확인 정보를 변경한다(S 190), 예를 들어, 데이터 플랜(300)은 업데이트되는 멀티캐스트 포워딩 엔트리의 확인 정보를 '0'으로 설정 변경한다.In addition, when the
제 2 라우팅 서버(200)는 제 2 멀티캐스트 테이블(220)에 포함된 멀티캐스트 포워딩 캐쉬 엔트리의 전송이 완료되면, 완료 메시지를 데이터 플랜(300)으로 전송하고, 데이터 플랜(300)은 제 2 라우팅 서버(200)로부터 완료 메시지가 수신되면, 엔트리 확인 정보가 변경되지 않은 멀티캐스트 포워딩 캐쉬 엔트리를 삭제한다(S 200).When the transmission of the multicast forwarding cache entry included in the second multicast table 220 is completed, the
일례에 따라 데이터 플랜(300)은 제 2 라우팅 서버(200)로부터 완료 메시지가 수신되면, 제 3 멀티캐스트 테이블(320)의 멀티캐스트 포워딩 엔트리 중 확인 정보가 '1'로 설정되어 있는 멀티캐스트 포워딩 엔트리를 삭제한다. 즉, 제 2 라우팅 서버(200)의 제 2 멀티캐스트 테이블(220)에 포함되지 않는 멀티캐스트 포워딩 엔트리를 삭제한다.According to an example, when the completion message is received from the
상술한 본 발명의 상세 설명에서는 액티브 상태의 라우팅 서버가 멀티캐스트 포워딩 캐쉬 엔트리의 소스 주소 정보 및 그룹 정보를 스탠바이 상태의 라우팅 서버로 전송하는 경우에 대하여 설명하였으나, 기타 멀티캐스트 포워딩 캐쉬 엔트리를 구성하는 기반 정보를 전송하는 경우도 이와 동일하게 적용됨을 알 수 있다.In the above-described detailed description of the present invention, a case in which the active routing server transmits source address information and group information of the multicast forwarding cache entry to the standby routing server is described. However, other multicast forwarding cache entries may be configured. The same applies to the case of transmitting the base information.
상기한 바와 같이, 본 발명에 따르면, 이중화 구조의 라우터에서 라우팅 서버의 절체가 발생하는 경우에 스탠바이 상태에서 액티브 상태로 전환되는 라우팅 서버가 최단 시간내에 멀티캐스트 포워딩 캐쉬 엔트리를 생성할 수 있다.As described above, according to the present invention, when switching of the routing server occurs in the redundant router, the routing server which is switched from the standby state to the active state may generate the multicast forwarding cache entry in the shortest time.
그리고, 라우팅 서버가 멀티캐스트 포워딩 캐쉬 엔트리를 이미 저장되어 있는 소스 주소 및 그룹 주소를 기반으로 생성함으로써, 라우터 내부의 트래픽으로 인한 성능 저하를 방지할 수 있다.In addition, the routing server generates a multicast forwarding cache entry based on the stored source address and group address, thereby preventing performance degradation due to traffic inside the router.
Claims (13)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020050130890A KR100738544B1 (en) | 2005-12-27 | 2005-12-27 | apparatus and method of processing forwarding cache entry in duplexing router |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020050130890A KR100738544B1 (en) | 2005-12-27 | 2005-12-27 | apparatus and method of processing forwarding cache entry in duplexing router |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20070068846A KR20070068846A (en) | 2007-07-02 |
KR100738544B1 true KR100738544B1 (en) | 2007-07-11 |
Family
ID=38504694
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020050130890A KR100738544B1 (en) | 2005-12-27 | 2005-12-27 | apparatus and method of processing forwarding cache entry in duplexing router |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100738544B1 (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1065725A (en) * | 1996-08-16 | 1998-03-06 | Hitachi Ltd | Router system |
JPH11220486A (en) * | 1998-01-30 | 1999-08-10 | Hitachi Ltd | Router device duplexing method |
KR20030018269A (en) * | 2001-08-27 | 2003-03-06 | 한국전자통신연구원 | Apparatus of IP lookup using cache forwarding table in router system, its method |
KR20030045299A (en) * | 2001-12-03 | 2003-06-11 | 엘지전자 주식회사 | Router duplication structure in SOHO network |
KR20030062867A (en) * | 2002-01-21 | 2003-07-28 | 삼성전자주식회사 | Router System and Method for Duplication of Forwarding Engine Utilizing |
KR20050066861A (en) * | 2003-12-27 | 2005-06-30 | 한국전자통신연구원 | Method for duplicate routing entry information for router duplication |
-
2005
- 2005-12-27 KR KR1020050130890A patent/KR100738544B1/en not_active IP Right Cessation
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1065725A (en) * | 1996-08-16 | 1998-03-06 | Hitachi Ltd | Router system |
JPH11220486A (en) * | 1998-01-30 | 1999-08-10 | Hitachi Ltd | Router device duplexing method |
KR20030018269A (en) * | 2001-08-27 | 2003-03-06 | 한국전자통신연구원 | Apparatus of IP lookup using cache forwarding table in router system, its method |
KR20030045299A (en) * | 2001-12-03 | 2003-06-11 | 엘지전자 주식회사 | Router duplication structure in SOHO network |
KR20030062867A (en) * | 2002-01-21 | 2003-07-28 | 삼성전자주식회사 | Router System and Method for Duplication of Forwarding Engine Utilizing |
KR20050066861A (en) * | 2003-12-27 | 2005-06-30 | 한국전자통신연구원 | Method for duplicate routing entry information for router duplication |
Also Published As
Publication number | Publication date |
---|---|
KR20070068846A (en) | 2007-07-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9825886B2 (en) | Routing protocols for accommodating nodes with redundant routing facilities | |
US8345536B1 (en) | Multicast high availability enhancements for non-stop forwarding | |
US8102848B1 (en) | Multicast high availability enhancements for faster convergence | |
CN107181688B (en) | System and method for realizing server-side cross-domain data transmission optimization in SDN network | |
EP1597875B1 (en) | Method and device for protocol-independent realization of ip multicast | |
CA2611146C (en) | Method for data communication and system thereof | |
US9838327B1 (en) | Distributed generation of hierarchical multicast forwarding structures | |
US20060018333A1 (en) | Multiple multicast forwarder prevention during NSF recovery of control failures in a router | |
JP2015136168A (en) | Reduction of message and computational overhead in network | |
US9143335B2 (en) | Multicast route cache system | |
US7007100B1 (en) | Method for synchronization of multicast routing table changes with a plurality of multicast routing protocols | |
JP2001326681A (en) | Packet communication system, mobile communication system and communication addressing system | |
CN101013948B (en) | Forming equal cost multipath multicast distribution structures | |
CN103825826A (en) | Method and device for implementing dynamic routing | |
EP3883182B1 (en) | Evpn multicast ingress forwarder election using source-active route | |
US7099323B1 (en) | Method, apparatus and system for management of multicast routes for a plurality of routing protocols in a network device | |
Khin et al. | Packet-in messages handling scheme to reduce controller bottlenecks in OpenFlow networks | |
JPH11331237A (en) | Method and device for repeating multicast packet | |
JP2006324981A (en) | Multicast packet transfer system | |
KR100738544B1 (en) | apparatus and method of processing forwarding cache entry in duplexing router | |
Tran | Proactive multicast-based IPSEC discovery protocol and multicast extension | |
Cisco | IP Routing Protocols Commands | |
Cisco | Configuring IP Multicast Layer 3 Switching | |
CN108011828A (en) | A kind of multicast switching method, device, core layer switch and storage medium | |
Cisco | Configuring IP Multicast Layer 3 Switching |
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: 20130627 Year of fee payment: 7 |
|
FPAY | Annual fee payment |
Payment date: 20140627 Year of fee payment: 8 |
|
LAPS | Lapse due to unpaid annual fee |