KR100487126B1 - Method for handling display of local routing table entries in distributed architecture router - Google Patents

Method for handling display of local routing table entries in distributed architecture router Download PDF

Info

Publication number
KR100487126B1
KR100487126B1 KR10-2003-0002826A KR20030002826A KR100487126B1 KR 100487126 B1 KR100487126 B1 KR 100487126B1 KR 20030002826 A KR20030002826 A KR 20030002826A KR 100487126 B1 KR100487126 B1 KR 100487126B1
Authority
KR
South Korea
Prior art keywords
routing
routing information
route entry
address
interface port
Prior art date
Application number
KR10-2003-0002826A
Other languages
Korean (ko)
Other versions
KR20040065698A (en
Inventor
최병구
오종상
황은영
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR10-2003-0002826A priority Critical patent/KR100487126B1/en
Publication of KR20040065698A publication Critical patent/KR20040065698A/en
Application granted granted Critical
Publication of KR100487126B1 publication Critical patent/KR100487126B1/en

Links

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/44Distributed routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/60Router architectures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering
    • H04L45/7453Address table lookup; Address filtering using hashing

Abstract

본 발명은 분산형 라우터에 있어서 라우팅 정보 제공 방법에 관한 것으로서, 특히 분산형 라우터에 있어서 라우팅 테이블의 라우트 엔트리를 외부로 보여줄 때에 내부 인터페이스 포트 번호가 외부에 보여지지 않도록 하는 분산형 라우터에 있어서 라우팅 정보 제공 방법에 관한 것이다.The present invention relates to a method for providing routing information in a distributed router. In particular, in a distributed router, routing information in a distributed router such that an internal interface port number is not displayed to the outside when a route entry of a routing table is externally viewed. It is about a provision method.

또한, 본 발명에 따르면, 다수의 라우팅 프로세서와 스위칭부를 포함한 분산형 라우터에 있어서, 라우팅 정보 표시 명령이 입력되면 상기 스위칭부는 상기 라우팅 프로세서에 있는 라우팅 정보를 전송받아 전송받은 라우팅 정보에서 라우트 엔트리의 인터페이스 필드에 내부 인터페이스 포트 번호가 포함된 라우트 엔트리를 검색하고, 검색된 라우트 엔트리의 넥스트 홉 주소에서 네트워크 번호를 추출하며, 추출한 네트워크 번호와 동일한 네트워크 번호를 갖는 외부 인터페이스 포트를 검색한 후에, 검색된 외부 인터페이스 포트의 식별자를 해당 라우트 엔트리의 인터페이스 필드값으로 교체하여 인터페이스 필드값이 외부 인터페이스 포트의 식별자로 교체된 라우트 엔트리가 포함된 라우팅 정보를 운용자에게 제공하는 라우팅 정보 제공 방법이 제공된다.In addition, according to the present invention, in a distributed router including a plurality of routing processors and a switching unit, when a routing information display command is input, the switching unit interfaces with a route entry in the routing information received by receiving routing information in the routing processor. Search for a route entry that contains an internal interface port number in the field, extract the network number from the next hop address of the found route entry, search for an external interface port with the same network number as the extracted network number, and then search for the external interface port found. The routing information providing method for providing the operator with routing information including the route entry in which the interface field value is replaced with the identifier of the external interface port by replacing the identifier of the interface with the interface field value of the corresponding route entry is provided. Ball.

Description

분산형 라우터에 있어서 라우팅 정보 제공 방법{Method for handling display of local routing table entries in distributed architecture router} Method for handling display of local routing table entries in distributed architecture router

본 발명은 분산형 라우터에 있어서 라우팅 정보 제공 방법에 관한 것으로서, 특히 분산형 라우터에 있어서 라우팅 테이블의 라우트 엔트리를 외부로 보여줄 때에 내부 인터페이스 포트 번호가 외부에 보여지지 않도록 하는 분산형 라우터에 있어서 라우팅 정보 제공 방법에 관한 것이다.The present invention relates to a method for providing routing information in a distributed router. In particular, in a distributed router, routing information in a distributed router such that an internal interface port number is not displayed to the outside when a route entry of a routing table is externally viewed. It is about a provision method.

일반적으로 라우터(router)는 입력 포트(input port), 출력 포트(output port), 스위칭 패브릭(switching fabric), 라우팅 프로세서(routing processor)의 4가지 구성 요소로 이루어져 있다. In general, a router is composed of four components: an input port, an output port, a switching fabric, and a routing processor.

입력 포트는 물리적 링크와의 접점이며 패킷(packet)을 받아 들이기 위한 관문이다. 스위칭 패브릭은 입력 포트를 출력 포트로 내부 접속시킨다. The input port is the point of contact with the physical link and the gateway to accepting packets. The switching fabric internally connects the input port to the output port.

출력 포트는 패킷을 출력 링크로 내보내기 위해 패킷을 축적하고 스케쥴링(scheduling)한다. The output port accumulates and schedules the packets to send the packets to the output link.

마지막으로 라우팅 프로세서는 라우팅 프로토콜(protocol)을 처리하고, 패킷 포워딩(forwarding)에 이용되는 포워딩 테이블을 생성한다.Finally, the routing processor handles the routing protocol and creates a forwarding table that is used for packet forwarding.

라우팅 기능을 프로세싱 환경에서 실행되는 소프트웨어로 구현하는 경우, 그 처리 성능이 패킷의 입력 속도를 따라가지 못하면 병목현상이 발생한다. If the routing function is implemented in software running in the processing environment, bottlenecks occur when the processing power does not keep up with the input rate of the packet.

또한, 라우팅 과정에서도 입력된 패킷에 새로운 헤더 정보를 붙여 다시 송신하는 패킷 포워딩 부분이 트래픽의 흐름속도에 종속된 부분이다.In addition, in the routing process, the packet forwarding part that retransmits the header with new header information is dependent on the flow rate of traffic.

최근에 인터넷 트래픽이 기하급수적으로 증가하면서 이러한 인터넷 트래픽의 증가를 수용하기 위해 분산 구조를 가진 분산형 라우터가 제안되고 있다.Recently, as the Internet traffic increases exponentially, a distributed router having a distributed structure has been proposed to accommodate the increase of the Internet traffic.

또한, 라우팅 기능을 고속화하기 위해서 패킷 포워딩 부분을 분리시킨 고속 포워딩 엔진 기술이 개발되고 있는 실정이다.In addition, in order to speed up a routing function, a high speed forwarding engine technology having separate packet forwarding parts has been developed.

따라서, 시스템 구조 측면에서 포워딩 엔진 유니트를 공유하는 형태인 서버형 구조 보다는 포워딩 엔진을 각 라인접속 유니트에 분산 위치시키는 분산형 구조를 선호하는 추세이다.Therefore, in terms of the system structure, a distributed structure in which the forwarding engine is distributed to each line connection unit is preferred to the server type structure in which the forwarding engine unit is shared.

이러한 분산형 라우터는 라우팅 기능 및 패킷 포워딩 기능을 서로 다른 프로세서에서 분산적으로 수행하는데 상세한 내용을 도면을 참고로하여 설명하기로 한다.Such a distributed router performs a routing function and a packet forwarding function on different processors in a distributed manner, and details thereof will be described with reference to the accompanying drawings.

도 1은 종래의 분산형 라우터에서 라우팅 엔트리 구성하는 형태를 설명하기 위한 구성도이다.1 is a configuration diagram illustrating a configuration of a routing entry in a conventional distributed router.

도 1을 참조하면, 분산형 라우터는 입출력을 위한 물리적 연결부(11∼1n)와, 라우팅 기능 및 패킷 포워딩 기능을 수행하는 라우팅 프로세서(21∼2n)와, 각 라우팅 프로세서(21∼2n)간의 라우팅 정보 교환 및 연결 버스를 제공하는 스위칭부(30) 및 리던던시(redundancy)를 위한 백업용 스위칭부(31)로 구성된다.Referring to FIG. 1, a distributed router includes physical connections 11 to 1n for input / output, routing processors 21 to 2n for performing a routing function and a packet forwarding function, and routing between each routing processor 21 to 2n. And a switching unit 30 for providing information exchange and connection buses, and a backup switching unit 31 for redundancy.

라우팅 프로세서(21∼2n)는 패킷이 들어오면 패킷의 목적지 주소에 해당하는 게이트웨이로 패킷을 포워딩하기 위해 라우팅 테이블(21a∼2na)을 검색한다.When the packets come in, the routing processors 21-2n search the routing tables 21a-2na to forward the packets to the gateway corresponding to the packet's destination address.

예를 들면, 물리적 연결부(11)를 통하여 라우팅 프로세서 1(21)로 목적지주소가 200.1.1.1인 패킷이 들어오면, 라우팅 프로세서 1(21)는 라우팅 테이블(21a)을 검색한다. 이때 라우팅 테이블(21a)의 라우팅 엔트리에서 목적지 주소 200.1.1.1에 해당하는 게이트웨이 주소 10.2.1.2가 검색된다. 따라서 스위칭부(30)에서 패킷이 스위칭되어 라우팅 프로세서 2(22)를 통해 물리적 연결부(12)로 패킷이 포워딩된다.For example, when a packet having a destination address of 200.1.1.1 enters the routing processor 1 21 through the physical connection 11, the routing processor 1 21 searches the routing table 21a. At this time, the gateway address 10.2.1.2 corresponding to the destination address 200.1.1.1 is retrieved from the routing entry of the routing table 21a. Accordingly, the packet is switched at the switching unit 30 and the packet is forwarded to the physical connection unit 12 through the routing processor 2 22.

한편, 라우팅 프로세서(21~2n)의 라우팅 테이블에 있어서 내부에 존재하는 라우팅 프로세서(21~2n)를 경유하는 라우트 엔트리의 인터페이스 필드에는 내부 인터페이스 포트 번호가 지정되어 있다.On the other hand, in the routing table of the routing processors 21 to 2n, an internal interface port number is designated in the interface field of the route entry via the routing processors 21 to 2n existing therein.

즉, 라우팅 프로세서 1(21)에 목적지 주소가 200.1.1.1에 해당하고 게이트웨이 주소가 10.2.1.2에 해당하는 라우트 엔트리가 있는 경우에(즉 내부 라우팅 프로세서 2(22)를 경유하는 라우팅 경로에 있어서) 인터페이스 필드에는 내부 인터페이스 포트 번호가 사용되며, 일예로 eIPC0가 사용된다.That is, if routing processor 1 (21) has a route entry with a destination address of 200.1.1.1 and a gateway address of 10.2.1.2 (that is, in a routing path via internal routing processor 2 (22)). In the interface field, an internal interface port number is used. For example, eIPC0 is used.

또한, 라우팅 프로세서 2(22)에 목적지 주소가 100.1.1.1에 해당하고 게이트웨이 주소가 10.1.1.2에 해당하는 라우트 엔트리가 있는 경우에(즉 내부 라우팅 프로세서 1(21)를 경유하는 라우팅 경로에 있어서) 인터페이스 필드에는 내부 인터페이스 포트 번호가 사용되며, 일예로 eIPC0가 사용된다.In addition, if routing processor 2 22 has a route entry with a destination address of 100.1.1.1 and a gateway address of 10.1.1.2 (that is, for a routing path via internal routing processor 1 (21)). In the interface field, an internal interface port number is used. For example, eIPC0 is used.

그리고, 라우팅 프로세서 3(23)에 있어서 목적지 주소가 200.1.1.1에 해당하고 게이트웨이 주소가 10.2.1.2에 해당하는 라우트 엔트리가 있는 경우에(즉 내부 라우팅 프로세서 2(22)를 경유하는 라우팅 경로에 있어서) 인터페이스 필드에는 내부 인터페이스 포트 번호가 사용되며, 일예로 eIPC0가 사용된다. 이처럼 인터페이스 필드에 내부 인터페이스 포트 번호가 일예로 eIPC0가 지정되어 있는 경우에 분산형 라우터의 라우팅 테이블 정보를 외부로 표시할 때에 내부 인터페이스 포트 번호가 외부로 보여지게 된다.And if there is a route entry in routing processor 3 (23) with a destination address of 200.1.1.1 and a gateway address of 10.2.1.2 (i.e. in a routing path via internal routing processor 2 (22)). In the interface field, an internal interface port number is used. For example, eIPC0 is used. As such, when eIPC0 is designated as an internal interface port number in the interface field, when the routing table information of the distributed router is displayed to the outside, the internal interface port number is displayed to the outside.

그러나, 분산형 라우터라 할지라도 외부적으로는 하나의 라우터로 동작할 필요가 있으며, 내부의 인터페이스 포트 번호가 외부에 보여져서는 안된다. However, even in a distributed router, it is necessary to operate as a router externally, and the internal interface port number should not be visible to the outside.

따라서, 분산형 라우터의 라우팅 테이블을 외부로 보여줄 때에 내부의 인터페이스 포트 번호를 포함하고 있는 라우트 엔트리는 수정되어야 할 필요가 있다.Therefore, when showing the routing table of a distributed router to the outside, the route entry containing the internal interface port number needs to be modified.

따라서, 본 발명은 상기와 같은 문제점을 해결하기 위해 안출된 것으로서, 분산형 라우터가 내부적으로 가지고 있는 라우팅 테이블의 라우팅 정보를 외부에 보여줄 때에 내부 인트페이스 포트 번호가 노출되지 않도록 해당 라우팅 테이블의 라우트 엔트리를 변경하여 변경된 라우트 엔트리를 보여주도록 하는 분산형 라우터에 있어서 라우팅 정보 제공 방법을 제공하는 것을 그 목적으로 한다. Accordingly, the present invention has been made to solve the above problems, the route entry of the routing table so that the internal interface port number is not exposed when showing the routing information of the routing table internally distributed by the distributed router It is an object of the present invention to provide a routing information providing method in a distributed router in which the modified route entry is changed to show a changed route entry.

상기와 같은 목적을 달성하기 위한 본 발명은, 다수의 라우팅 프로세서와 스위칭부를 포함한 분산형 라우터에 있어서, 라우팅 정보 표시 명령이 입력되면 상기 스위칭부는 상기 라우팅 프로세서에 라우팅 정보 전송을 요청하여 라우트 엔트리를 전송받고 전송받은 라우트 엔트리의 인터페이스 필드에 내부 인터페이스 포트 번호가 포함되어 있는지를 판단하는 제 1 단계; 상기 제 1 단계의 판단 결과 라우트 엔트리의 인터페이스 필드에 내부 인터페이스 포트 번호가 포함되어 있으면 라우트 엔트리의 넥스트 홉 주소에 넷마스크를 수행하여 네트워크 번호를 추출하고, 외부 인터페이스 포트의 IP 주소에 대한 순차적인 넷마스크를 수행하여 넥스트 홉 주소에서 추출한 네트워크 번호와 동일한 네트워크 번호를 갖는 외부 인터페이스 포트를 검색하는 제 2 단계; 상기 제 2 단계에서 검색된 외부 인터페이스 포트의 식별자를 해당 라우트 엔트리의 인터페이스 필드값으로 지정하고 상기 라우팅 프로세서로부터 모든 라우팅 정보를 전송받을 때까지 상기 제 1 단계의 상기 라우팅 프로세서에 라우팅 정보 전송을 요청하는 과정부터 반복 수행하는 제 3 단계; 및 상기 제 3 단계의 수행 결과 인터페이스 필드값이 외부 인터페이스 포트의 식별자로 교체된 라우트 엔트리가 포함된 라우팅 정보를 운용자에게 제공하는 제 4 단계를 포함하여 이루어진 것을 특징으로 한다.According to the present invention for achieving the above object, in a distributed router including a plurality of routing processors and switching unit, when a routing information display command is input, the switching unit requests the routing processor to transmit routing information and transmits a route entry. Determining whether an internal interface port number is included in an interface field of a route entry received and transmitted; As a result of the determination of the first step, if the interface field of the route entry includes the internal interface port number, the network number is extracted by performing a netmask on the next hop address of the route entry, and the sequential net for the IP address of the external interface port. Performing a mask to search for an external interface port having the same network number as the network number extracted from the next hop address; Designating an identifier of an external interface port retrieved in the second step as an interface field value of a corresponding route entry and requesting routing information transmission to the routing processor of the first step until all routing information is received from the routing processor. Repeating the third step from; And a fourth step of providing the operator with the routing information including the route entry in which the interface field value is replaced with the identifier of the external interface port as a result of the third step.

또한, 본 발명은, 다수의 라우팅 프로세서와 스위칭부를 포함한 분산형 라우터에 있어서, 라우팅 정보 표시 명령이 입력되면 상기 스위칭부는 상기 라우팅 프로세서에 있는 라우팅 정보를 전송받는 제 1 단계; 상기 제 1 단계에서 전송받은 라우팅 정보에서 라우트 엔트리의 인터페이스 필드에 내부 인터페이스 포트 번호가 포함된 라우트 엔트리를 검색하는 제 2 단계; 상기 제 2 단계에서 검색된 라우트 엔트리의 넥스트 홉 주소에 넷마스크를 수행하여 네트워크 번호를 추출하고, 외부 인터페이스 포트의 IP 주소에 대한 순차적인 넷마스크를 수행하여 넥스트 홉 주소에서 추출한 네트워크 번호와 동일한 네트워크 번호를 갖는 외부 인터페이스 포트를 검색하는 제 3 단계; 상기 제 3 단계에서 검색된 외부 인터페이스 포트의 식별자를 해당 라우트 엔트리의 인터페이스 필드값으로 지정하는 제 4 단계; 상기 제 1 단계에서 전송받은 라우팅 정보에 있는 인터페이스 필드에 내부 인터페이스 포트 번호가 포함된 모든 라우트 엔트리에 대하여 인터페이스 필드값의 교체 지정이 완료될 때까지 상기 2 단계부터 반복 수행하는 제 5 단계; 및 상기 제 5 단계의 반복 수행 결과 인터페이스 필드값이 외부 인터페이스 포트의 식별자로 교체된 라우트 엔트리가 포함된 라우팅 정보를 운용자에게 제공하는 제 6 단계를 포함하여 이루어진 것을 특징으로 한다. According to another aspect of the present invention, there is provided a distributed router including a plurality of routing processors and a switching unit, the switching unit comprising: a first step of receiving routing information in the routing processor when a routing information display command is input; A second step of searching for a route entry including an internal interface port number in an interface field of the route entry in the routing information received in the first step; A network number is extracted by performing a netmask on the next hop address of the route entry retrieved in the second step, and a network number identical to the network number extracted from the next hop address by performing a sequential netmask on the IP address of the external interface port. Searching for an external interface port having a third step; A fourth step of designating an identifier of an external interface port retrieved in the third step as an interface field value of a corresponding route entry; A fifth step of repeating from the second step until all the route entries including the internal interface port number in the interface field in the routing information received in the first step are replaced; And a sixth step of providing the operator with routing information including the route entry in which the interface field value is replaced with the identifier of the external interface port as a result of the repetition of the fifth step.

도 2는 본 발명의 일실시예에 따른 라우팅 테이블의 라우팅 정보를 제공하기 위한 분산형 라우터의 구성도이다.2 is a block diagram of a distributed router for providing routing information of a routing table according to an embodiment of the present invention.

도 2를 참조하면, 본 발명의 일실시예에 따른 라우팅 테이블의 라우팅 정보를 제공하기 위한 분산형 라우터는 입출력을 위한 다수의 물리적 연결부(110∼1n0)와, 라우팅 기능 및 패킷 포워딩 기능을 수행하는 다수의 라우팅 프로세서(210∼2n0)와, 각 라우팅 프로세서(210∼2n0)간의 라우팅 정보 교환 및 연결 버스를 제공하는 스위칭부(300) 및 리던던시(redundancy)를 위한 백업용 스위칭부(310)로 구성된다.Referring to FIG. 2, a distributed router for providing routing information of a routing table according to an embodiment of the present invention performs a plurality of physical connections 110-1n0 for input / output, a routing function, and a packet forwarding function. A plurality of routing processors 210 to 2n0, a switching unit 300 for providing routing information exchange and connection buses between each routing processor 210 to 2n0, and a backup switching unit 310 for redundancy. .

각각의 라우팅 프로세서(210~2n0)는 라우팅 테이블을 가지고 있으며, 이 라우팅 테이블에 기록된 라우팅 정보에 따라 자신에게 보내온 패킷을 전달할(라우팅할) 상대를 결정한다. Each routing processor 210 to 2n0 has a routing table, and determines a partner to forward (route) a packet sent to it according to the routing information recorded in the routing table.

즉, 라우팅 프로세서(210~2n0)는 라우팅 테이블에 포함된 정보를 기초로 데이타 패킷의 진행 방향을 결정한다. That is, the routing processors 210 ˜ 2n0 determine the progress direction of the data packet based on the information included in the routing table.

그리고, 라우팅 테이블이 가지고 있는 라우팅 정보는 각 목적지 호스트의 물리적 주소 보다는 목적지 네트워크 번호를 갖고 있다. In addition, the routing information of the routing table has a destination network number rather than a physical address of each destination host.

라우팅 테이블은 호스트 주소 보다 네트워크 번호에 기초해서 작성되고, 따라서 라우트 프로세서(210~2n0)에 있어 그 자신의 라우팅 테이블을 유지할 필요가 있는 정보의 양은 인터넷을 이루는 네트워크의 수와 직접적으로 비례한다. The routing table is created based on the network number rather than the host address, so the amount of information needed to maintain its own routing table in the route processors 210-2n0 is directly proportional to the number of networks that make up the Internet.

이와 같은 이유로 라우트 프로세서(210~2n0)는 인터넷에 직접적으로 연결된 모든 단일 호스트에 대한 정보를 관리하지 않기 때문에 라우팅 테이블의 사이즈를 줄일 수 있다. For this reason, since the route processors 210 to 2n0 do not manage information on every single host directly connected to the Internet, the route table can be reduced in size.

일반적으로 라우팅 테이블을 관리하는 방법은 정적 라우팅과 동적 라우팅의 두가지 방법이 있다. In general, there are two ways to manage routing tables: static routing and dynamic routing.

정적(static) 라우팅은 관리자가 라우팅 프로세서(210~2n0)에 대해 접속하려는 특정 장소 즉 상대 라우터를 지정하는 방식이다. Static routing is a way for an administrator to specify a specific location, that is, a router, to which the routing processor 210-2n0 is to connect.

동적(dynamic) 라우팅은 라우팅 프로세서(210~2n0)에 " 인텔리전스 " 기능을 탑재함으로써 이뤄진다. 즉, 라우팅 프로세서(210~2n0)끼리 자신이 접속된 네트워크의 정보를 주고받아 라우팅 테이블이 자동 갱신, 작성되는 방식이 동적 라우팅이다. Dynamic routing is accomplished by incorporating "intelligence" functionality into the routing processors 210-2n0. That is, dynamic routing is a method in which routing processors 210 to 2n0 exchange information between networks to which they are connected, and the routing table is automatically updated and created.

대부분의 하이-레벨 프로토콜(high-level protocol)은 라우팅 프로세서(210~2n0)에 의해 자동적으로 라우팅 테이블을 작성하는 동적 라우팅을 제공 한다. Most high-level protocols provide dynamic routing that automatically creates a routing table by the routing processor 210-2n0.

동적 라우팅 알고리즘(routing algorithm)은 네트워크(network) 혼잡이나 네트워크 토폴로지(network topology)의 변화에 자동적으로 응답한다. Dynamic routing algorithms automatically respond to network congestion or changes in network topology.

이것이 되기 위해서 라우팅 프로세서(210~2n0)는 경로에 근거한 정보를 가지는 특수한 패킷(packet)을 사용한다. To do this, routing processors 210-2n0 use special packets with path-based information.

새로운 변화는 각 네트워크에 그들의 라우팅 테이블에서 새로운 네트워크 경로를 더하거나 지우거나 하기 위하여 공유 된다. New changes are shared with each network to add or delete new network paths from their routing table.

동적 라우팅은 현재 많은 방식의 도구가 되고 있고, 라우팅 방식의 논의는 동적 라우팅에 집중 되어 있다.Dynamic routing is now a tool of many styles, and the discussion of routing schemes focuses on dynamic routing.

일반적으로 라우팅 테이블의 생성과 유지를 도우려면, 라우팅 프로세서(210~2n0)는 네트워크 상에 변화가 일어 났을 때 이것을 감지 해야 한다. In general, to help with the creation and maintenance of routing tables, routing processors 210-2n0 must detect when changes occur in the network.

이러한 정보에 대한 예로 네트워크의 새로운 경로의 존재나 이전의 경로가 이제는 없다는 사실들이 될 수 있다.Examples of such information could be the existence of a new path in the network or the fact that there is no previous path.

라우팅 테이블(Routing table)의 늘어나는 항목으로 인하여 라우팅 정보의 양은 엄청나게 많다. 이러한 변화성은 첫 번째로 라우팅 알고리즘(routing algorithm)이 사용하는 프로토콜(protocol)에 의존한다. Due to the growing number of routing tables, the amount of routing information is enormous. This variability first depends on the protocol used by the routing algorithm.

일반적으로 동적 라우팅 알고리즘(Dynamic Routing Algorithms)의 두가지 종류는 컴퓨터 네트워크가 그들의 라우팅 테이블을 유지하고, 목적지를 향한 가장 짧은 경로를 계산함에 의해 사용된다. In general, two kinds of dynamic routing algorithms are used by computer networks to maintain their routing tables and calculate the shortest route to the destination.

그것은 "디스턴스-벡터(distance-vector)" 알고리즘 ("Bellman-Ford"로 알려진)과, "링크-스테이트(link-state)" 알고리즘("Shortest Path First" 또는 "Dijkstra"라 알려진)이다. It is a "distance-vector" algorithm (known as "Bellman-Ford") and a "link-state" algorithm (known as "Shortest Path First" or "Dijkstra").

모든 라우팅 알고리즘은 목적지를 향한 가장 좋은 경로를 선택함에 있어 배열을 사용해야만 한다. 네트워크 사이에서 가장 짧은 경로는 가장 적은 배열을 가지고 있는 라우터를 선택하고 목적지를 향해 모든 라우터를 시험해보고 결정한다. Every routing algorithm must use an array to select the best route to its destination. The shortest path between networks is chosen by the router with the fewest arrays, and all the routers tested and determined for their destinations.

가장 적은 비용 경로를 선택한 배열은 홉, 변화의 지연, 라인 수용량, 또는 관리상 정해진 거리를 계산한다. The least costly routed array calculates hops, delays in change, line capacity, or administratively determined distances.

디스턴스-벡터 알고리즘(Distance-Vector Algorithm)에서 라우터는 디스턴스 벡터를 그것의 이웃에게 보낸다(그것의 라우팅 테이블). 이렇게 각 라우터는 모든 다른 네트워크에 대한 각 이웃 라우터들로 부터 가장 짧은 경로의 길이를 알고 있다. 라우터는 이 정보를 가장 짧은 가능한 경로를 가지고 있는 이웃을 선택함으로 각 목적지를 향한 가장 짧은 경로를 계산하는데 사용한다. In the Distance-Vector Algorithm, a router sends a distance vector to its neighbors (its routing table). Thus each router knows the length of the shortest path from its neighbor routers to all other networks. The router uses this information to calculate the shortest path to each destination by selecting the neighbor with the shortest possible path.

링크-스테이트 알고리즘(Link-State Algorithms)에서, 각 라우터는 각 목적 네트워크의 가장 짧은 경로를 계산하기 전에 전체 네트워크 토폴로지를 알고 있어야만 한다. In Link-State Algorithms, each router must know the overall network topology before calculating the shortest path of each destination network.

각 라우터는 갱신된 메세지를 라우팅 도메인에서 모든 다른 라우터로 플로드(flood)한다. 이 메세지는 배열과 각 라우터의 연결된 상태를 포함하고 있다. 경로는 모든 라우터가 동일한 데이타 베이스상에서 동일한 라우팅 알고리즘을 사용하고 있기 때문에 일관성을 가지고 있어야 한다. Each router floats the updated message to all other routers in the routing domain. This message contains an array and the connection status of each router. The path must be consistent because all routers use the same routing algorithm on the same database.

로컬 라우터에서 발견되는 어떤 토폴로지 변화는 라우팅 도메인에서 모든 다른 라우터들로 브로드캐스트(broadcast)나 멀티캐스트(multicast)로 알려져야만 한다. 모든 정보를 가지고 있는 각 노드는 라우팅 도메인에서 다른 네트워크까지의 최단 경로를 스스로 계산 해야만 한다. Any topology change found at the local router must be known as broadcast or multicast to all other routers in the routing domain. Each node with all the information has to calculate its own shortest path from the routing domain to the other network.

한편, 분산형 라우터에 있어서 라우팅 프로세서들(210~2n0)은 자신에게 연결된 내부/외부 인터페이스로부터 수신한 데이터 패킷을 처리하며 각각의 라우팅 프로세서들(210~2n0)은 자신이 가지고 있는 라우팅 정보를 교환함으로 동기화된다.Meanwhile, in a distributed router, routing processors 210 to 2n0 process data packets received from an internal / external interface connected thereto, and each routing processor 210 to 2n0 exchanges routing information thereof. Is synchronized.

그리고, 각각의 라우팅 프로세서(210~2n0)는 스위칭부(300)와 내부 인터페이스를 거쳐 다른 라우팅 프로세서(210~2n0)로부터 전송받은 라우팅 정보를 관리하는데 있어서 내부 인터페이스의 메트릭을 0으로 설정함으로서 내부 통신에 의한 메트릭의 증가를 방지한다.In addition, each routing processor 210 to 2n0 manages routing information received from another routing processor 210 to 2n0 via the switching unit 300 and an internal interface to set internal metric to 0 for internal communication. Prevent the increase of the metric by

각 라우팅 프로세서(210~2n0)는 패킷을 어떻게 포워딩(forward) 할 것인지를 알기 위해 자신의 라우팅 테이블을 검색한다. Each routing processor 210-2n0 searches its own routing table to know how to forward the packet.

만약 목적지가 직접 네트워크에 연결되어 있다면, 라우팅 프로세서(210~2n0)는 외부의 다른 라우터의 서비스 없이 패킷을 보낼 수 있다. 그러나, 목적지가 리모트 네트워크에 있다면, 라우팅 프로세서(210~2n0)는 마지막 목적지를 찾기 위해 외부의 다른 라우터에게 패킷을 보내야만 한다. 리모트 네트워크로 향하는 경로는 정적으로 구성되어 질 수 있거나, RIP, OSPF, 또는 EGP와 같은 라우팅 프로토콜을 통하여 동적으로 습득한다. If the destination is directly connected to the network, the routing processor 210-2n0 can send a packet without the service of another external router. However, if the destination is in a remote network, the routing processor 210-2n0 must send a packet to another external router to find the last destination. The route to the remote network can be statically configured or dynamically learned through a routing protocol such as RIP, OSPF, or EGP.

그리고, 분산형 라우터에 있어서 라우팅 프로세서(210~2n0)는 각각이 독립적인 라우터로 동작하게 됨으로 자신의 포트에 목적지가 직접 네트워크에 연결되어 있다면, 라우팅 프로세서(210~2n0)는 다른 라우팅 프로세서(210~2n0)의 서비스 없이 패킷을 보낼 수 있다. In the distributed router, the routing processors 210 to 2n0 operate as independent routers so that if the destination is directly connected to the network, the routing processors 210 to 2n0 may be connected to other routing processors 210. A packet can be sent without the service of ~ 2n0).

그러나, 라우팅 프로세서(210~2n0)는 자신의 포트에 목적지가 직접 연결되어 있지 않다면 외부 라우터를 통하거나 내부의 다른 라우팅 프로세서(210~2n0)를 통하여 패킷을 전달하여야 한다.However, if the destination is not directly connected to its port, the routing processors 210 to 2n0 must forward the packet through an external router or through another internal routing processor 210 to 2n0.

라우팅 테이블은 각 라우팅 프로세서(210~2n0)를 위하여 한 엔트리(entry(row))를 포함하고 있다. 라우팅 테이블은 목적지 IP 주소 필드, 넥스트 홉 주소 필드, 인터페이스 필드, 메트릭 필드, 타임 필드 등으로 구성되어 있다.The routing table contains one entry (row) for each routing processor 210-2n0. The routing table consists of a destination IP address field, a next hop address field, an interface field, a metric field, and a time field.

목적지 IP 주소 필드에는 목적지 IP 주소가 지정되어 있는데, 패킷을 전송받을 다음 장비의 IP 주소가 아니라 패킷을 수신할 최종 목적지의 32비트의 IP 주소가 지정되어 있다.The destination IP address field specifies the destination IP address, not the IP address of the next device to receive the packet, but the 32-bit IP address of the final destination to receive the packet.

라우팅 프로세서(210~2n0)는 패킷이 수신되면 패킷의 목적지 IP 주소와 동일한 목적지 IP 주소를 갖는 라우트 엔트리가 있는지를 라우팅 테이블에서 검색한다.When the packet is received, the routing processors 210 to 2n0 search the routing table for a route entry having a destination IP address that is the same as the packet's destination IP address.

그리고, 검색 결과 동일한 목적지 IP 주소를 갖는 라우트 엔트리가 있으면 발견된 라우트 엔트리의 라우팅 정보에 따라 패킷을 라우팅한다.If there is a route entry having the same destination IP address as a result of the search, the packet is routed according to the routing information of the found route entry.

넥스트 홉 주소 필드에는 넥스트 홉 주소가 지정되어 있으며, 라우팅 프로세서(210~2n0)는 넥스트 홉 주소를 보고 해당 라우터로 패킷을 라우팅한다.The next hop address field is assigned a next hop address, and the routing processor 210 to 2n0 looks at the next hop address and routes the packet to the corresponding router.

다음으로, 인터페이스 필드에는 해당 경로로 가는 넥스트 홉 주소와 동일한 네트워크에 속하는 라우팅 프로세서(210~2n0)의 인터페이스 IP 주소가 지정되어 있으며, eth0, eth1과 같은 심볼 네임을 사용하기도 한다.Next, in the interface field, an interface IP address of the routing processor 210 to 2n0 belonging to the same network as the next hop address to the corresponding path is designated, and symbol names such as eth0 and eth1 are used.

그리고, 분산형 라우터의 라우팅 프로세서(210~2n0)가 관리하는 라우팅 테이블에 있어서 내부에 존재하는 라우팅 프로세서(210~2n0)를 경유하는 라우팅 정보를 가지고 있는 라우트 엔트리의 인터페이스 필드에는 내부 인터페이스 포트 번호가 지정되어 있으며, 일예로 eIPC0가 사용된다. In the routing table managed by the routing processors 210 to 2n0 of the distributed router, the interface field of the route entry having routing information via the routing processors 210 to 2n0 existing therein is represented by an internal interface port number. In this example, eIPC0 is used.

메트릭 필드에는 메트릭 값이 지정되어 있는데, 여기에서 메트릭은 목적지 네트워크에 도착될 때까지의 소요 시간, 라우터에서 목적지 네트워크까지 경로에 형성된 총 링크 수, 목적지 네트워크에 도착하기 위한 대역폭 사용 메커니즘에 따라 목적지까지의 소요 비용을 나타낸다.The metric field specifies a metric value, where the metric takes the time it takes to arrive at the destination network, the total number of links formed in the path from the router to the destination network, and the destination based on the bandwidth usage mechanism to arrive at the destination network. Indicates the cost of

스위칭부(300)는 (표 1)과 같은 인터페이스 IP 주소 참조 테이블(Interface lookup table)이 저장되어 있다.The switching unit 300 stores an interface IP address reference table as shown in Table 1 below.

(표 1)을 참조하면 인터페이스 IP 주소 참조 테이블의 세로란에는 라우팅 프로세서 번호가 지정되어 있고, 가로란에는 포트번호가 지정되어 있으며, 각각의 라우팅 프로세서(210~2n0)의 각 포트에 대한 인터페이스 IP 주소가 제공된다.Referring to (Table 1), the routing processor number is designated in the vertical column of the interface IP address reference table, the port number is designated in the horizontal column, and the interface IP for each port of each routing processor 210 ~ 2n0. An address is provided.

일예로 라우팅 프로세서 1의 포트1의 인터페이스는 10.1.1.1임을 알 수 있고, 라우팅 프로세 2의 포트 2는 10.2.2.1임을 알 수 있다.For example, it can be seen that the interface of port 1 of routing processor 1 is 10.1.1.1, and that port 2 of routing processor 2 is 10.2.2.1.

포트/라우팅 프로세서Port / routing processor 포트 1Port 1 포트 2Port 2 ...... 포트 nPort n 라우팅 프로세서1Routing Processor 1 10.1.1.110.1.1.1 10.1.2.110.1.2.1 ...... 10.1.n.110.1.n.1 라우팅 프로세서2Routing Processor 2 10.2.1.110.2.1.1 10.2.2.110.2.2.1 ...... 10.2.n.110.2.n.1 라우팅 프로세서3Routing Processor 3 10.3.1.110.3.1.1 10.3.2.110.3.2.1 ...... 10.3.n.110.3.n.1 .      . .      . .      . .      . .      . .      .

그리고, (표 1)에서 각각의 라우팅 프로세서 번호는 각각의 라우팅 프로세서(210~2n0)가 장착되는 슬롯 번호에 대응된다. 즉, 라우팅 프로세서 1(210)이 장착되는 슬롯번호는 #1이며, 라우팅 프로세서 2(220)가 장착되는 슬롯번호는 #2이다. 물론 각각의 라우팅 프로세서 번호가 자신이 장착되는 슬롯 번호와 대응되지 않는 경우에는 그에 따른 별도의 참조 테이블을 스위칭부(300)가 가지고 있어야 한다.In addition, each routing processor number in Table 1 corresponds to a slot number in which each routing processor 210 to 2n0 is mounted. That is, the slot number on which the routing processor 1 210 is mounted is # 1, and the slot number on which the routing processor 2 220 is mounted is # 2. Of course, if each routing processor number does not correspond to the slot number in which it is mounted, the switching unit 300 should have a separate reference table accordingly.

물론, 스위칭부(300)는 분산형 라우터가 더 큰 시스템에 있어서 어떤 쉘프 에 장착되는지에 대한 정보인 쉘프 번호(shelf #)를 저장하고 있어야 한다.Of course, the switching unit 300 should store a shelf number (shelf #) that is information on which shelf the distributed router is mounted in a larger system.

스위칭부(300)는 분산형 라우터의 셋업(setup)시에 각 라우팅 프로세서(210~2n0)로부터 각각의 포트에 대한 인터페이스 IP 주소를 읽어와서 인터페이스 IP 주소 참조 테이블에 저장한다.The switching unit 300 reads the interface IP address for each port from each routing processor 210 ˜ 2n0 in the setup of the distributed router, and stores the interface IP address in the interface IP address reference table.

운용자가 분산형 라우터의 라우팅 테이블을 보고자 할 때, 즉 운용자가 라우팅 테이블에 있는 라우팅 정보를 보기 원하여 라우팅 정보 표시 명령을 입력할 때 스위칭부(300)는 분산형 라우터의 각 라우팅 프로세서(210~2n0)에 있는 라우팅 테이블의 라우팅 정보를 읽어와서 표시부에 표시하여야 한다.When the operator wants to see the routing table of the distributed router, that is, when the operator wants to see the routing information in the routing table and inputs a routing information display command, the switching unit 300 performs each routing processor 210 to the distributed router. The routing information of the routing table in 2n0) should be read and displayed on the display.

이때, 스위칭부(300)가 분산형 라우터의 각 라우팅 프로세서(210~2n0)에 있는 라우팅 테이블의 라우팅 정보를 수정없이 보여주게 되면, 인터페이스 필드에 지정되어 있는 내부 인터페이스 포트 번호가 외부로 보여지게 된다.At this time, when the switching unit 300 shows the routing information of the routing table in each routing processor 210 to 2n0 of the distributed router without modification, the internal interface port number specified in the interface field is shown to the outside. .

따라서, 스위칭부(300)는 분산형 라우터의 라우팅 테이블을 외부로 보여줄 때에 내부의 인터페이스 포트 번호를 포함하고 있는 라우트 엔트리를 수정하여야 한다. Therefore, the switching unit 300 should modify the route entry including the internal interface port number when showing the routing table of the distributed router to the outside.

그리고, 이러한 수정은 운용자가 분산형 라우터의 라우팅 테이블을 보고자 할 때 스위칭부(300)가 분산형 라우터의 각 라우팅 프로세서(210~2n0)가 가지고 있는 라우팅 테이블을 불러와서 인터페이스 필드에 있는 인터페이스의 포트 번호를 쉘프 #/슬롯 #/포트#로 수정하여 출력하거나 인터페이스 IP 주소로 수정하여 출력함으로 이루어진다.And, this modification is when the operator wants to see the routing table of the distributed router, the switching unit 300 loads the routing table of each routing processor (210 ~ 2n0) of the distributed router, the port of the interface in the interface field This can be done by modifying the number to shelf # / slot # / port # or by outputting the interface IP address.

스위칭부(300)는 인터페이스 필드에 있는 인터페이스의 포트 번호에 대응하는 쉘프 #/슬롯 #/포트#를 찾거나 인터페이스 IP 주소를 찾기 위하여 라우트 엔트리에 있는 넥스트 홉 주소스에 넷마스크(netmask)를 수행하여 네트워크 번호를 추출한다.The switching unit 300 performs a netmask on the next hop address in the route entry to find the shelf # / slot # / port # corresponding to the port number of the interface in the interface field or to find the interface IP address. To extract the network number.

여기에서 넷마스크(netmask)는 대응하는 IP 주소중 어느 부분을 네트워크 번호(Network Number)부분으로 할 것인지를 지적하는 것으로 네트워크 번호(Network Number)에 해당하는 넷마스크(netmask)의 비트(bit) 값은 1이며 호스트 넘버(Host Number)에 해당하는 넷마스크(netmask)의 비트(bit)값은 0이다. In this case, the netmask indicates which part of the corresponding IP address is to be a network number part, and a bit value of a netmask corresponding to the network number. Is 1 and the bit value of the netmask corresponding to the host number is 0.

클래스(Class) A IP 주소는 넷마스크(netmask) 255.0.0.0을 이용하고, 클래스(Class) B IP 주소는 넷마스크(netmask) 255.255.0.0를 이용하며, 클래스(Class) C IP 주소는 넷마스크 255.255.255.0을 이용하게 되며, 본 발명과 관련하여서는 분산형 라우터의 포트에 접속되어 있는 네트워크 상황에 따라 다양한 넷마스크를 수행할 수 있다. Class A IP addresses use netmask 255.0.0.0, Class B IP addresses use netmask 255.255.0.0, and Class C IP addresses use netmask 255.255.255.0 is used, and in accordance with the present invention, various netmasks may be performed according to a network situation connected to a port of a distributed router.

그리고, 스위칭부(300)는 동일한 네트워크 번호를 가지고 있는 인터페이스 IP 주소를 발견하기 위하여 (표 1)의 인터페이스 IP 주소 참조 테이블에 있는 인터페이스 IP 주소에 대한 넷마스크를 수행한다.Then, the switching unit 300 performs a netmask for the interface IP address in the interface IP address reference table of Table 1 to find the interface IP address having the same network number.

(표 1)의 인터페이스 IP 주소 참조 테이블에 있는 인터페이스 IP 주소에 대한 넷마스크의 수행 결과, 동일한 네트워크 번호를 가지고 있는 인터페이스 IP 주소가 존재하면 해당 인터페이스 IP 주소의 라우팅 프로세서 번호와 포트 번호를 검출한다.As a result of performing the netmask for the interface IP address in the interface IP address reference table of (Table 1), if the interface IP address with the same network number exists, the routing processor number and port number of the corresponding interface IP address are detected.

그리고, 스위칭부(300)는 해당 라우팅 프로세서 번호가 쉘프 번호와 대응됨으로 해당 라우팅 프로세서 번호를 슬롯 번호로 한다. 물론 해당 라우팅 프로세서 번호가 쉘프 번호와 일치하지 않는 경우에는 별도의 참조 테이블을 이용하여 대응관계를 찾을 수 있을 것이다.In addition, since the corresponding routing processor number corresponds to the shelf number, the switching unit 300 uses the corresponding routing processor number as the slot number. Of course, if the routing processor number does not match the shelf number, a corresponding reference table may be used to find a correspondence.

그런 후에, 스위칭부(300)는 라우팅 테이블의 라우트 엔트리에 해당 인터페이스 포트 번호를 위에서 검출한 쉘프 번호/슬롯 번호/포트 번호를 대치한 후에, 대치된 라우트 엔트리를 사용자에게 제공한다.Thereafter, the switching unit 300 replaces the shelf number / slot number / port number detected above with the corresponding interface port number in the route entry of the routing table, and then provides the replaced route entry to the user.

도 3은 본 발명의 일실시예에 따른 분산형 라우터에 있어서 라우팅 정보 제공 방법의 흐름도이다.3 is a flowchart illustrating a routing information providing method in a distributed router according to an embodiment of the present invention.

도 3을 참조하면, 본 발명의 일실시예에 따른 분산형 라우터에 있어서 라우팅 정보 제공 방법은 먼저, 스위칭부는 운용자로부터 라우팅 정보 표시 명령이 입력되면(일예로 "Route # Show ip Route"라는 명령어가 사용될 수 있다)(단계 S110), 라우팅 프로세서로 라우팅 테이블의 라우팅 정보의 전송을 요청한다(S112).Referring to FIG. 3, in the distributed router according to an embodiment of the present invention, in the routing information providing method, first, when a switching unit displays a routing information display command from an operator (for example, a command of “Route # Show ip Route”) is performed. (Step S110), the routing processor requests the transmission of the routing information of the routing table (S112).

그리고, 스위칭부는 라우팅 프로세서로부터 라우팅 정보를 수신하면(단계 S114), 수신한 라우팅 테이블의 라우트 엔트리에 있는 인터페이스 필드에 내부 인터페이스 포트 번호가 포함되어 있는지를 판단한다(단계 S116).When the switching unit receives the routing information from the routing processor (step S114), it determines whether the internal interface port number is included in the interface field in the route entry of the received routing table (step S116).

판단 결과, 내부 인터페이스 포트 번호가 포함된 라우트 엔트리가 검색되면 해당 라우트 엔트리의 넥스트 홉 주소에 대한 넷마스크를 수행하여 네트워크 번호를 알아낸다(단계 S118).As a result, when a route entry including the internal interface port number is found, a network mask is obtained by performing a netmask on the next hop address of the corresponding route entry (step S118).

이후에, 동일한 인터페이스 IP 어드레스를 갖고 있는 라우트 프로세서 번호와 포트 번호를 알아내기 위하여 인터페이스 IP 어드레스 참조 테이블에 있는 인터페이스 IP 어드레스에 대하여 순차적으로 넷마스크를 수행하며(단계 S120) 넥스트 홉 주소에 있는 네트워크 번호와 동일한 네트워크 번호를 가진 인터페이스 IP 주소가 발견되는지를 판단한다(단계 S122).Subsequently, in order to find out the route processor number and the port number having the same interface IP address, netmask is sequentially performed on the interface IP address in the interface IP address reference table (step S120) and the network number in the next hop address. It is determined whether an interface IP address having the same network number as is found (step S122).

판단 결과, 동일한 네트워크 번호를 가지고 있는 인터페이스 IP 주소가 발견되지 않으면 동일한 네트워크 번호를 가지고 있는 인터페이스 IP 주소가 발견될 때까지 단계 S120부터 반복 수행하고, 동일한 네트워크 번호를 가지고 있는 인터페이스 IP 주소가 발견되면 인터페이스 필드값을 해당 라우트 프로세서 번호와 포트 번호에 대응되는 쉘프 번호#/슬롯번호#/포트번호#로 변경한다(단계 S124). 여기에서 인터페이스 포트번호와 포트 번호를 서로 상이한 것이다.As a result of the determination, if no interface IP address with the same network number is found, the process is repeated from step S120 until an interface IP address with the same network number is found, and if an interface IP address with the same network number is found, the interface is found. The field value is changed to the shelf number # / slot number # / port number # corresponding to the corresponding route processor number and port number (step S124). Here, the interface port number and the port number are different from each other.

이후에, 라우트 프로세서로부터 라우팅 정보 수신이 끝났는지를 판단하여(단계 S126), 라우팅 정보 수신이 끝났으면 라우팅 정보를 표시부에 표시한다(단계 S128). 물론 라우팅 정보 수신이 끝나지 않았으면 단계 S114 부터 반복 수행한다.Subsequently, it is determined whether the reception of the routing information from the route processor is finished (step S126), and if the routing information reception is completed, the routing information is displayed on the display unit (step S128). Of course, if the reception of the routing information is not finished, the process is repeated from step S114.

한편, 본 발명에서는 인터페이스 포트 번호를 쉘프 번호/슬롯번호/포트 번호로 대치하여 제공하도록 하였으나 인터페이스 IP 주소로 대치하여 제공하도록 구현할 수도 있다.Meanwhile, in the present invention, the interface port number is replaced with a shelf number / slot number / port number, but may be provided by replacing with an interface IP address.

이상 본 발명의 바람직한 실시예에 대해 상세히 기술되었지만, 본 발명이 속하는 기술분야에 있어서 통상의 지식을 가진 사람이라면, 첨부된 청구 범위에 정의된 본 발명의 정신 및 범위를 벗어나지 않으면서 본 발명을 여러 가지로 변형 또는 변경하여 실시할 수 있음을 알 수 있을 것이다. 따라서 본 발명의 앞으로의 실시예들의 변경은 본 발명의 기술을 벗어날 수 없을 것이다. Although the preferred embodiments of the present invention have been described in detail above, those skilled in the art will appreciate that the present invention may be modified without departing from the spirit and scope of the invention as defined in the appended claims. It will be appreciated that modifications or variations may be made. Therefore, changes in the future embodiments of the present invention will not be able to escape the technology of the present invention.

상기와 같은 본 발명에 따르면, 분산형 라우터에 있어서 라우팅 테이블의 라우트 엔트리내의 내부 인터페이스 포트 번호가 외부에 보이지 않도록 하는 효과가 있다. According to the present invention as described above, there is an effect that the internal interface port number in the route entry of the routing table is not visible to the distributed router.

도 1은 종래의 분산형 라우터에서 라우팅 엔트리를 구성하는 형태를 설명하기 위한 구성도.1 is a configuration diagram illustrating a form of configuring a routing entry in a conventional distributed router.

도 2는 본 발명의 일실시예에 따른 라우팅 정보를 제공하기 위한 분산형 라우터의 구성도.2 is a block diagram of a distributed router for providing routing information according to an embodiment of the present invention.

도 3은 본 발명의 일실시예에 따른 분산형 라우터에 있어서 라우팅 정보 제공 방법의 흐름도.3 is a flowchart of a routing information providing method in a distributed router according to an embodiment of the present invention.

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

110~1n0 : 물리적 연결부 210~2n0 : 라우팅 프로세서110 ~ 1n0: Physical connection 210 ~ 2n0: Routing processor

300 : 스위칭부 310 : 백업용 스위칭부300: switching unit 310: backup switching unit

Claims (9)

다수의 라우팅 프로세서와 스위칭부를 포함한 분산형 라우터에 있어서,In a distributed router including a plurality of routing processors and switching units, 라우팅 정보 표시 명령이 입력되면 상기 스위칭부는 상기 라우팅 프로세서에 라우팅 정보 전송을 요청하여 라우트 엔트리를 전송받고 전송받은 라우트 엔트리의 인터페이스 필드에 내부 인터페이스 포트 번호가 포함되어 있는지를 판단하는 제 1 단계;A first step of, when a routing information display command is input, the switching unit requests routing information transmission from the routing processor to determine whether an internal interface port number is included in an interface field of the received route entry; 상기 제 1 단계의 판단 결과 라우트 엔트리의 인터페이스 필드에 내부 인터페이스 포트 번호가 포함되어 있으면 라우트 엔트리의 넥스트 홉 주소에 넷마스크를 수행하여 네트워크 번호를 추출하고, 외부 인터페이스 포트의 IP 주소에 대한 순차적인 넷마스크를 수행하여 넥스트 홉 주소에서 추출한 네트워크 번호와 동일한 네트워크 번호를 갖는 외부 인터페이스 포트를 검색하는 제 2 단계; As a result of the determination of the first step, if the interface field of the route entry includes the internal interface port number, the network number is extracted by performing a netmask on the next hop address of the route entry, and the sequential net for the IP address of the external interface port. Performing a mask to search for an external interface port having the same network number as the network number extracted from the next hop address; 상기 제 2 단계에서 검색된 외부 인터페이스 포트의 식별자를 해당 라우트 엔트리의 인터페이스 필드값으로 지정하고 상기 라우팅 프로세서로부터 모든 라우팅 정보를 전송받을 때까지 상기 제 1 단계의 상기 라우팅 프로세서에 라우팅 정보 전송을 요청하는 과정부터 반복 수행하는 제 3 단계; 및 Designating an identifier of an external interface port retrieved in the second step as an interface field value of a corresponding route entry and requesting routing information transmission to the routing processor of the first step until all routing information is received from the routing processor. Repeating the third step from; And 상기 제 3 단계의 수행 결과 인터페이스 필드값이 외부 인터페이스 포트의 식별자로 교체된 라우트 엔트리가 포함된 라우팅 정보를 운용자에게 제공하는 제 4 단계를 포함하여 이루어진 라우팅 정보 제공 방법.And a fourth step of providing the operator with the routing information including the route entry in which the interface field value is replaced with the identifier of the external interface port as a result of the third step. 제 1 항에 있어서,The method of claim 1, 상기 외부 인터페이스 포트의 식별자는, The identifier of the external interface port is, 상기 외부 인터페이스 포트의 IP 주소인 것을 특징으로 하는 라우팅 정보 제공 방법.Routing information providing method characterized in that the IP address of the external interface port. 제 1 항에 있어서,The method of claim 1, 상기 외부 인터페이스 포트의 식별자는,The identifier of the external interface port is, 쉘프번호와, 슬롯번호와, 포트번호로 이루어진 것을 특징으로 하는 라우팅 정보 제공 방법.A routing number, slot number, and port number, characterized in that the routing information providing method. 제 1 항 내지 제 3 항중 어느 한 항에 있어서,The method according to any one of claims 1 to 3, 상기 제 1 단계는, The first step is, 상기 스위칭부는 운용자로부터 라우팅 정보 표시 명령이 입력되면, 상기 라우팅 프로세서로 라우팅 테이블의 라우팅 정보의 전송을 요청하는 제 1-1 단계; 및Step 1-1 of requesting transmission of routing information of a routing table to the routing processor when a routing information display command is input from an operator; And 상기 스위칭부는 상기 라우팅 프로세서로부터 라우트 엔트리를 수신하면, 수신한 라우트 엔트리에 있는 인터페이스 필드에 내부 인터페이스 포트 번호가 포함되어 있는지를 판단하는 제 1-2 단계를 포함하여 이루어진 라우팅 정보 제공 방법.And the switching unit comprises a step 1-2 determining whether an internal interface port number is included in an interface field in the received route entry when receiving the route entry from the routing processor. 제 1 항 내지 제 3 항중 어느 한 항에 있어서,The method according to any one of claims 1 to 3, 상기 제 2 단계는, The second step, 상기 제 1 단계에서 검색된 라우트 엔트리의 넥스트 홉 주소에 넷마스크를 수행하여 네트워크 번호를 추출하는 제 2-1 단계; 및A second step of extracting a network number by performing a netmask on a next hop address of the route entry retrieved in the first step; And 상기 분산형 라우터의 외부 인터페이스 IP 주소에 대하여 순차적으로 넷마스크를 수행하여 넥스트 홉 주소에 있는 네트워크 번호와 동일한 네트워크 번호를 가진 인터페이스 IP 주소를 검색하는 제 2-2 단계를 포함하여 이루어진 라우팅 정보 제공 방법.And performing a netmask on the external interface IP address of the distributed router sequentially to retrieve the interface IP address having the same network number as the network number in the next hop address. . 제 4 항에 있어서,The method of claim 4, wherein 상기 제 2 단계는, The second step, 상기 제 1 단계에서 검색된 라우트 엔트리의 넥스트 홉 주소에 넷마스크를 수행하여 네트워크 번호를 추출하는 제 2-1 단계; 및A second step of extracting a network number by performing a netmask on a next hop address of the route entry retrieved in the first step; And 상기 분산형 라우터의 외부 인터페이스 IP 주소에 대하여 순차적으로 넷마스크를 수행하여 넥스트 홉 주소에 있는 네트워크 번호와 동일한 네트워크 번호를 가진 인터페이스 IP 주소를 검색하는 제 2-2 단계를 포함하여 이루어진 라우팅 정보 제공 방법.And performing a netmask on the external interface IP address of the distributed router sequentially to retrieve the interface IP address having the same network number as the network number in the next hop address. . 다수의 라우팅 프로세서와 스위칭부를 포함한 분산형 라우터에 있어서,In a distributed router including a plurality of routing processors and switching units, 라우팅 정보 표시 명령이 입력되면 상기 스위칭부는 상기 라우팅 프로세서에 있는 라우팅 정보를 전송받는 제 1 단계;A first step of receiving the routing information in the routing processor when a routing information display command is input; 상기 제 1 단계에서 전송받은 라우팅 정보에서 라우트 엔트리의 인터페이스 필드에 내부 인터페이스 포트 번호가 포함된 라우트 엔트리를 검색하는 제 2 단계;A second step of searching for a route entry including an internal interface port number in an interface field of the route entry in the routing information received in the first step; 상기 제 2 단계에서 검색된 라우트 엔트리의 넥스트 홉 주소에 넷마스크를 수행하여 네트워크 번호를 추출하고, 외부 인터페이스 포트의 IP 주소에 대한 순차적인 넷마스크를 수행하여 넥스트 홉 주소에서 추출한 네트워크 번호와 동일한 네트워크 번호를 갖는 외부 인터페이스 포트를 검색하는 제 3 단계; A network number is extracted by performing a netmask on the next hop address of the route entry retrieved in the second step, and a network number identical to the network number extracted from the next hop address by performing a sequential netmask on the IP address of the external interface port. Searching for an external interface port having a third step; 상기 제 3 단계에서 검색된 외부 인터페이스 포트의 식별자를 해당 라우트 엔트리의 인터페이스 필드값으로 지정하는 제 4 단계;A fourth step of designating an identifier of an external interface port retrieved in the third step as an interface field value of a corresponding route entry; 상기 제 1 단계에서 전송받은 라우팅 정보에 있는 인터페이스 필드에 내부 인터페이스 포트 번호가 포함된 모든 라우트 엔트리에 대하여 인터페이스 필드값의 교체 지정이 완료될 때까지 상기 2 단계부터 반복 수행하는 제 5 단계; 및A fifth step of repeating from the second step until all the route entries including the internal interface port number in the interface field in the routing information received in the first step are replaced; And 상기 제 5 단계의 반복 수행 결과 인터페이스 필드값이 외부 인터페이스 포트의 식별자로 교체된 라우트 엔트리가 포함된 라우팅 정보를 운용자에게 제공하는 제 6 단계를 포함하여 이루어진 라우팅 정보 제공 방법.And a sixth step of providing the operator with routing information including a route entry in which the interface field value is replaced with an identifier of an external interface port as a result of the repetition of the fifth step. 제 7 항에 있어서,The method of claim 7, wherein 상기 외부 인터페이스 포트의 식별자는, The identifier of the external interface port is, 상기 외부 인터페이스 포트의 IP 주소인 것을 특징으로 하는 라우팅 정보 제공 방법.Routing information providing method characterized in that the IP address of the external interface port. 제 7 항에 있어서,The method of claim 7, wherein 상기 외부 인터페이스 포트의 식별자는,The identifier of the external interface port is, 쉘프번호와, 슬롯번호와, 포트번호로 이루어진 것을 특징으로 하는 라우팅 정보 제공 방법.A routing number, slot number, and port number, characterized in that the routing information providing method.
KR10-2003-0002826A 2003-01-15 2003-01-15 Method for handling display of local routing table entries in distributed architecture router KR100487126B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2003-0002826A KR100487126B1 (en) 2003-01-15 2003-01-15 Method for handling display of local routing table entries in distributed architecture router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2003-0002826A KR100487126B1 (en) 2003-01-15 2003-01-15 Method for handling display of local routing table entries in distributed architecture router

Publications (2)

Publication Number Publication Date
KR20040065698A KR20040065698A (en) 2004-07-23
KR100487126B1 true KR100487126B1 (en) 2005-05-03

Family

ID=37355793

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2003-0002826A KR100487126B1 (en) 2003-01-15 2003-01-15 Method for handling display of local routing table entries in distributed architecture router

Country Status (1)

Country Link
KR (1) KR100487126B1 (en)

Also Published As

Publication number Publication date
KR20040065698A (en) 2004-07-23

Similar Documents

Publication Publication Date Title
US7230949B2 (en) Efficient method and system for automatic discovery and verification of optimal paths through a dynamic multi-point meshed overlay network
US7334047B1 (en) Method and system for selective link state advertisement blocking over a data network area
US7231459B2 (en) Routing scheme based on virtual space representation
US8014293B1 (en) Scalable route resolution
US7787466B1 (en) Nexthop to a forwarding table
US7330435B2 (en) Method and system for topology construction and path identification in a routing domain operated according to a link state routing protocol
US9391886B2 (en) Identification of the paths taken through a network of interconnected devices
US7630358B1 (en) Mechanism for implementing multiple logical routers within a single physical router
CN101455030A (en) Dynamic shared risk node group (srng) membership discovery
EP1461882A4 (en) Method and system for topology construction and path identification in a two-level routing domain operated according to a simple link state routing protocol
US20020009088A1 (en) Systems and methods for negotiating virtual circuit paths in packet switched networks
Asher Comprehensive analysis of dynamic routing protocols in computer networks
JP3949696B2 (en) Protocol acceleration device
KR100487126B1 (en) Method for handling display of local routing table entries in distributed architecture router
EL KHADIRI et al. Comparative Study Between Dynamic IPv6 Routing Protocols of Distance Vectors and Link States
Fu et al. Intra-domain routing convergence with centralized control
Cisco Networking Protocol Configurations
KR20080075313A (en) Border gateway protocol routing apparatus for routing by using autonomous system number and method thereof
JP4369882B2 (en) Routing method and network system
KR100552518B1 (en) The apparatus for implementation of ECMP in Network Processor
JP2010041429A (en) System and method for searching path between nodes included in network
Babu et al. INTERNATIONAL JOURNAL OF ENGINEERING SCIENCES & RESEARCH TECHNOLOGY
JP4358244B2 (en) Protocol acceleration device
JP2009141414A (en) Packet communication system in overlay network including narrow-band communication path
KR20040075383A (en) apparatus and method of multicast traffic remove in virtual local area network

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
FPAY Annual fee payment
FPAY Annual fee payment

Payment date: 20160330

Year of fee payment: 12

LAPS Lapse due to unpaid annual fee