KR20090052512A - System and method for discovering network topology, storage medium recording that method program - Google Patents
System and method for discovering network topology, storage medium recording that method program Download PDFInfo
- Publication number
- KR20090052512A KR20090052512A KR1020070119043A KR20070119043A KR20090052512A KR 20090052512 A KR20090052512 A KR 20090052512A KR 1020070119043 A KR1020070119043 A KR 1020070119043A KR 20070119043 A KR20070119043 A KR 20070119043A KR 20090052512 A KR20090052512 A KR 20090052512A
- Authority
- KR
- South Korea
- Prior art keywords
- router
- switch
- topology
- neighbor
- topology detection
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims description 28
- 238000001514 detection method Methods 0.000 claims abstract description 76
- 238000004573 interface analysis Methods 0.000 claims description 13
- 238000010586 diagram Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 1
- 238000011835 investigation Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/12—Discovery or management of network topologies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/02—Standardisation; Integration
- H04L41/0213—Standardised network management protocols, e.g. simple network management protocol [SNMP]
-
- 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/02—Topology update or discovery
-
- 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/52—Multiprotocol routers
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
본 발명은 토폴로지 검출 시스템, 토폴로지 검출 방법 및 방법 프로그램을 기록한 저장매체에 관한 것이다. 본 발명에 따르면, 제1 라우터의 바로 이웃 라우터인 제2 라우터를 검출하고, 이웃 노드간 인터페이스 타입을 판별하여 브로드캐스트 구간인 경우 스위치 후보를 검출하여, 데이터 링크 레이어 지원 여부 혹은 IP 패킷 포워딩 수행 여부를 기준으로 스위치 여부를 확인해서 전체 토폴로지를 검출할 수 있다. 그 결과, 종래 오랜 시간을 들이고 장비에 많은 부하를 주던 방식에서 벗어나, 부하를 줄이면서도 좀 더 빠르게, 그리고 스위치와 라우터의 정확한 구성을 찾을 수 있다.The present invention relates to a storage medium recording a topology detection system, a topology detection method and method program. According to the present invention, a second router, which is a immediately neighboring router of the first router, is detected, and an interface type between neighboring nodes is determined to detect a switch candidate in a broadcast period, and whether to support data link layer or IP packet forwarding. The entire topology can be detected by checking whether the switch is based on. The result is a way to get out of the way of spending a lot of time and putting a lot of load on your equipment, reducing the load, and finding the correct configuration of your switches and routers.
Description
본 발명은 네트워크 토폴로지 검출 시스템, 검출 방법 및 방법 프로그램을 기록한 저장매체에 관한 것이다.The present invention relates to a storage medium recording a network topology detection system, a detection method and a method program.
네트워크 토폴로지는 라우터의 스위치들의 연결로 표현되는데, 이 때 라우터나 스위치는 노드(Node)로 표현하고 이러한 장비들간의 연결은 엣지(Edge)로 표현하여 나타낼 수 있다. 즉, 네트워크를 구성하는 라우터와 라우터간의 연결, 라우터와 스위치간의 연결, 스위치와 스위치간의 연결을 엣지(Edge)로 구성하는 그래프로 표현할 수 있다.The network topology is represented by the connection of the switches of the router. In this case, the router or the switch may be represented by a node, and the connection between these devices may be represented by an edge. In other words, the connection between the router and the router constituting the network, the connection between the router and the switch, and the connection between the switch and the switch can be represented by a graph composed of edges.
종래에는 라우터에 포함된 라우팅 테이블을 참조로 하여 네트워크 토폴로지를 검출하였다. 라우팅 테이블에는 목적지(ipRouteDest)항목과 넥스트홉(ipRouteNext Hop) 항목이 존재하는데, 넥스트홉(ipRouteNextHop) 항목에는 라우팅 테이블에 존재하는 모든 네트워크로 가는 게이트웨이 주소가 존재한다. 따라서 실제 넥 스토홉(NextHop)을 찾기 위해서는 모든 목적지(ipRouteDest)를 검 색하여 실제 바로 옆에 있는 네트워크를 찾은 후 그에 해당하는 넥스트홉(NextHop) IP를 찾아야 한다. rm 결과 수백대의 라우터와 스위치로 구성된 백본망에서 많은 부하를 줄 수 있다.Conventionally, a network topology is detected with reference to a routing table included in a router. In the routing table, there are a destination (ipRouteDest) item and a nextRoute (ipRouteNext Hop) item. In the next hop (ipRouteNextHop) item, there are gateway addresses to all networks in the routing table. Therefore, to find the actual NextHop, it is necessary to search all the destinations (ipRouteDest), find the network next to the actual, and find the corresponding NextHop IP. rm The result can be a heavy load on a backbone network consisting of hundreds of routers and switches.
또한 종래의 토폴로지 검출 방법은 라우터 위주의 검출 방법으로서, 실제 네트워크가 라우터와 스위치로 구성됨을 고려할 때, 정확한 토폴로지 검출 방법이라고 할 수 없었다. In addition, the conventional topology detection method is a router-oriented detection method, and considering that the actual network is composed of a router and a switch, it cannot be called an accurate topology detection method.
또 종래의 네트워크상에서 스위치를 검출하기 위해서는 특정 인터페이스의 IP 대역의 모든 장비에 대해서 스위치 여부를 테스트 하였는데, 이 또한 대형 백본망에서 너무 많은 부하를 주고 시간이 오래 걸린다는 문제점이 있었다.In addition, in order to detect a switch on a conventional network, all devices in the IP band of a specific interface were tested for the switch. This also has a problem that it takes too much load and takes a long time in a large backbone network.
따라서, 본 발명이 이루고자 하는 기술적 과제는, 백본망에 가해지는 부하를 줄이면서 네트워크 토폴로지를 검출할 수 있도록 하는데 있다.Accordingly, the technical problem to be achieved by the present invention is to be able to detect the network topology while reducing the load on the backbone network.
또한 본 발명이 이루고하 하는 기술적 과제는 라우터와 스위치로 구성된 네트워크 토폴로지를 정확하게 검출할 수 있도록 하는데 있다.In addition, the technical problem to be achieved by the present invention is to be able to accurately detect the network topology consisting of a router and a switch.
상기 기술적 과제를 달성하기 위한 본 발명의 실시예 따른 토폴로지 검출 시스템은, 제1 라우터의 바로 이웃 라우터인 제2 라우터를 검출하고, 노드간 인터페이스 타입이 브로드캐스트 구간인 경우 데이터 링크 계층 지원여부 혹은 IP 패킷 포워딩 수행 여부를 기준으로 스위치를 검출하여 네트워크 토폴로지를 검출하는 토폴로지 검출 서버; 및 네트워크 토폴로지 정보를 저장하는 토폴로지 정보 데이터베이스를 포함할 수 있다.The topology detection system according to an embodiment of the present invention for achieving the above technical problem, detects the second router that is the immediate neighbor router of the first router, the data link layer support or IP when the interface type between nodes is a broadcast period A topology detection server for detecting a network topology by detecting a switch based on whether packet forwarding is performed; And a topology information database that stores network topology information.
그리고 상기 기술적 과제를 달성하기 위한 본 발명의 실시예에 따른 토폴로지 검출 방법은, a)제1 라우터의 바로 이웃 라우터인 제2 라우터를 검출하는 단계; b)이웃 노드간 인터페이스 타입을 판별하여 브로드캐스트 구간인 경우 스위치 후보를 검출하는 단계; 및 c)데이터 링크 레이어 지원 여부 혹은 IP 패킷 포워딩 수행 여부를 기준으로 스위치 여부를 확인하는 단계를 포함할 수 있다.In addition, a method for detecting a topology according to an embodiment of the present invention for achieving the technical problem comprises the steps of: a) detecting a second router which is a immediately neighboring router of the first router; b) determining the interface type between neighbor nodes and detecting a switch candidate in the broadcast period; And c) determining whether to switch based on whether the data link layer is supported or whether IP packet forwarding is performed.
또, 상기 기술적 과제를 달성하기 위한 본 발명의 실시예에 따른 저장 매체는, 상기 방법을 실행하는 프로그램을 기록한 저장매체이다.In addition, a storage medium according to an embodiment of the present invention for achieving the above technical problem is a storage medium recording a program for executing the method.
따라서, 본 발명에 따르면, 망관리를 위한 토폴로지 정보를 빠르게 검출할 수 있다. 특히 종래 오랜 시간을 들이고 장비에 많은 부하를 주던 방식에서 벗어나, 부하를 줄이면서도 좀 더 빠르게, 그리고 스위치와 라우터의 정확한 구성을 찾을 수 있다.Therefore, according to the present invention, topology information for network management can be detected quickly. In particular, it is possible to find a faster and less accurate configuration of switches and routers while reducing the load, which is a long time and put a lot of load on the equipment.
아래에서는 첨부한 도면을 참고로 하여 본 발명의 실시예에 대하여 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다. 그러나 본 발명은 여러 가지 상이한 형태로 구현될 수 있으며, 여기에서 설명하는 실시예에 한정되지 않는다. 그리고 도면에서 본 발명을 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 유사한 부분에 대해서는 유사한 도면 부호를 붙였다.DETAILED DESCRIPTION Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art may easily implement the present invention. As those skilled in the art would realize, the described embodiments may be modified in various different ways, all without departing from the spirit or scope of the present invention. In the drawings, parts irrelevant to the description are omitted in order to clearly describe the present invention, and like reference numerals designate like parts throughout the specification.
명세서 전체에서, 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성 요소를 제외하는 것이 아니라 다른 구성 요소를 더 포함할 수 있는 것을 의미한다. 또한 명세서에 기재된 "..부", "..기","모듈"등의 용어는 적어도 하나의 기능이나 동작을 처리하는 단위를 의미하며, 이는 하드웨어나 소프트웨어 또는 하드웨어 및 소프트웨어의 결합으로 구현될 수 있다.Throughout the specification, when a part is said to "include" a certain component, it means that it can further include other components, without excluding the other components unless otherwise stated. In addition, the terms ".. part", ".. group", "module", and the like described in the specification mean a unit for processing at least one function or operation, which may be implemented by hardware or software or a combination of hardware and software. Can be.
이제 본 발명의 실시예를 중심으로 도면을 참고로 하여 상세하게 설명한다.Now with reference to the drawings with reference to the embodiment of the present invention will be described in detail.
도 1은 본 발명의 실시예에 따라 망에 연결된 네트워크 토폴로지 검출 시스 템(100)을 나타낸 그림이다.1 is a diagram illustrating a network
도시된 바와 같이, 네트워크 토폴로지 검출 시스템(100)은 인터페이스 프로토콜을 통해 네트워크 장비로부터 패킷 데이터를 수집할 수 있다. 토폴로지 검출 시스템 (100)은, CORBA, SNMP, CLI와 같은 다양한 인터페이스 프로토콜을 이용하여 네트워크 장비로부터 패킷 데이터를 수집하여 저장할 수 있다. As shown, the network
토폴로지 검출 시스템 (100)은 임의의 노드에서 주변에 연결된 노드를 찾아서 둘 사이의 연결관계를 맺고, 이웃 노드로 이동하여 이웃 노드 주변에 연결된 노드를 찾는 방식으로 망 전체 토폴로지를 검출하게 된다. 토폴로지 검출 시스템(100)은 더 이상의 이웃 노드가 존재하지 않을 때까지 주변 노드 검색을 수행하여 전체 토폴로지를 검출할 수 있다. The
토폴로지 검출 시스템(100)은 노드간 인터페이스 타입에 따라 이웃 노드에 스위치가 존재하는지 판별하여 보다 정확하게 토폴로지를 검출할 수 있다.The
보다 구체적으로 토폴로지 검출 시스템(100)은 토폴로지 검출 서버(110) 및 토폴로지 정보 데이터베이스(120)를 포함할 수 있다.More specifically, the
토폴로지 검출 서버(110)는 다양한 인터페이스 프로토콜을 이용하여 네트워크 장비로부터 패킷 데이터를 수집할 수 있고, 임의의 노드에서 주변에 연결된 노드 정보를 검출할 수 있다. 토폴로지 검출 서버(110)는 노드간 인터페이스 타입을 판별하여, 인터페이스 타입에 따라 주변 노드에 스위치가 존재하는지 여부를 확인할 수 있다.The
토폴로지 정보 데이터베이스(120)는 토폴로지 검출 서버(110)로부터 수집된 패킷 데이터를 저장할 수 있고, 임의의 노드와 그 이웃 노드 정보를 저장할 수 있다. 그리고 토폴로지 정보 데이터베이스(120)는 네트워크 상의 모든 노드들간의 연결정보 혹은 해당 노드가 스위치인지 라우터인지에 관한 정확한 토폴로지 정보를 저장할 수 있다.The
토폴로지 검출 서버(110) 및 토폴로지 정보 데이터베이스(120)에 대한 보다 상세한 정보는 후술한다.More detailed information about the
도 2에 도시된 바와 같이, 토폴로지 검출 서버(110)는 패킷 수집 모듈(111), 이웃 노드 검출 모듈(113), 인터페이스 분석 모듈(115), 스위치 검출 모듈(117) 및 토폴로지 구성 모듈(119)를 포함할 수 있다.As shown in FIG. 2, the
패킷 수집 모듈(111)은 라우터나 스위치 장비로부터 다양한 통신 프로토콜을 이용하여 패킷 데이터를 수집할 수 있다.The packet collection module 111 may collect packet data using various communication protocols from a router or a switch device.
이웃 노드 검출 모듈(113)은 라우팅 프로토콜 상에서 바로 이웃 라우터 정보를 검출할 수 있다. The neighbor node detection module 113 may detect the neighbor router information directly on the routing protocol.
한편, 스위치를 통해서, 임의의 라우터의 하나의 인터페이스에 복수 개의 이웃 라우터를 연결시킬 수 있다.Meanwhile, a plurality of neighboring routers may be connected to one interface of any router through a switch.
이웃 노드 검출 모듈(113)은 이웃 라우터가 하나 이상의 스위치를 통해서 연결된 상태인 경우, 스위치를 제외한 라우터의 정보만을 검출할 수 있다. The neighbor node detection module 113 may detect only the information of the router excluding the switch when the neighbor router is connected through at least one switch.
예를 들어, 이웃 노드 검출 모듈(113)은 OSPF 백본망인 경우, SNMP 상에서 OSPF 네이버정보(ospfNbrIpAddr 정보)를 이용하여 바로 이웃 라우터 정보를 검출할 수 있다. 이 때, OSPF 네이버 정보에는 스위치가 존재하지 않으므로 제1 라우터에 연결된 스위치 다음에 존재하는 제2 혹은 제3의 라우터가 제1 라우터의 바로 이웃 라우터로 검출 될 수 있다.For example, if the neighbor node detection module 113 is an OSPF backbone network, the neighbor node detection module 113 may directly detect neighbor router information using OSPF neighbor information (ospfNbrIpAddr information) on SNMP. In this case, since there is no switch in the OSPF neighbor information, a second or third router that exists after the switch connected to the first router may be detected as a neighboring router of the first router.
인터페이스 분석 모듈(115)은 노드들간의 연결 타입을 분석할 수 있는데, 제1 라우터와 제2 라우터간의 연결 방식이 포인트 투 포인트(Point to Point) 방식인지 브로드캐스트(boadcast) 방식인지 파악할 수 있다.The interface analysis module 115 may analyze the connection type between the nodes, and may determine whether the connection method between the first router and the second router is a point-to-point or broadcast method.
예를 들어, 인터페이스 분석 모듈(115)은 OSPF 백본망인 경우, SNMP상에서 물리주소에 대응하는 IP 어드레스(ipNetToMediaNetAddress)를 구할 수 있는데, 이 경우 제1 라우터와 브로드캐스트 구간으로 연결된 장비들의 주소를 검출할 수 있다. 즉 스위치에 관리용 IP가 존재할 경우, 이웃 노드 검출 모듈(113)에서 검출되지 않은 스위의 존재를 포함하여 호스트 PC, 라우터와 같은 장비들의 주소를 검출할 수 있다.For example, when the OSPF backbone network, the interface analysis module 115 may obtain an IP address (ipNetToMediaNetAddress) corresponding to a physical address on SNMP. In this case, the interface analysis module 115 may detect the addresses of devices connected to the first router and the broadcast interval. Can be. That is, when there is a management IP in the switch, the neighbor node detection module 113 may detect the addresses of devices such as a host PC and a router, including the presence of a switch that is not detected.
인터페이스 분석 모듈(115)은 브로드캐스트 구간으로 연결된 장비들의 주소와 이웃 노드 검출 모듈(113)에서 검출된 이웃 라우터의 주소를 비교하여, 스위치 후보를 추출할 수 있다.The interface analysis module 115 may extract the switch candidate by comparing the addresses of the devices connected in the broadcast interval with the addresses of the neighbor routers detected by the neighbor node detection module 113.
스위치 검출 모듈(117)은 스위치 후보 장비에 대해서 OSI 7 계층상에서 데이터 링크 레이어를 지원하는지 여부와 IP 패킷 포워딩을 수행하는지 여부를 확인하여 스위치 여부를 확인할 수 있다. 즉, 데이터 링크 레이어를 지원하면서 IP패킷 포워딩을 수행하지 않는 경우 스위치로 판단할 수 있다. The switch detection module 117 may check whether the switch is performed by checking whether the switch candidate device supports the data link layer on the OSI 7 layer and whether IP packet forwarding is performed. That is, the switch may be determined when the IP packet forwarding is not performed while supporting the data link layer.
예를 들어, 스위치 후보 장비에 대하여 SNMP상의 sysService와 ipForwarding 값을 읽어 스위치 여부를 확인할 수 있다. For example, you can check whether the switch is read by reading the sysService and ipForwarding values on SNMP for the switch candidate device.
sysService는 7비트 값으로 각 비트별로 OSI 7 계층 지원여부를 의미한다. 따라서 sysService의 하위 2비트값이 1이면 데이터 링크 계층을 지원하는 스위치로 동작함을 의미할 수 있다.sysService is a 7-bit value that indicates whether the OSI 7 layer is supported for each bit. Therefore, if the lower 2 bits of sysService are 1, it may mean that the switch operates as a switch supporting the data link layer.
ipForwarding은 ip 패킷에 대한 포워딩을 수행하는지 여부를 의미하며, ipForwarding값이 0인 경우 스위치임을 의미하게 된다. ipForwarding means whether to forward ip packet or not. If ipForwarding is 0, it means a switch.
토폴로지 구성 모듈(119)은 임의의 라우터를 루트로 하여, 루트 노드에서부터 이웃 노드들을 하나씩 추가해 가면서 전체 토폴로지를 구성할 수 있다. 이를 위하여 토폴로지 구성 모듈(119)은 제1 라우터와, 제1 라우터의 바로 이웃 노드로 검출된 제2라우터를 엣지(Edge)로 연결할 수 있다.The topology configuration module 119 may be configured as an entire router by adding neighboring nodes one by one from the root node by using any router as a root. To this end, the topology configuration module 119 may connect an edge between the first router and a second router detected as a immediately neighboring node of the first router.
이 때, 토폴로지 구성 모듈(119)은 제1 라우터와 제2 라우터간의 연결이 포인트 투 포인트인 경우, 제1 라우터와 제2 라우터를 엣지(Edge)로 연결할 수 있다.In this case, when the connection between the first router and the second router is point-to-point, the topology configuration module 119 may connect the first router and the second router to an edge.
토폴로지 구성 모듈(119)은 제1 라우터와 제2 라우터간의 연결이 브로드캐스트 구간으로 스위치가 존재할 경우, 제1 라우터와 스위치를 엣지(Edge)로 연결하고 스위치와 제2 라우터를 엣지(Edge)로 연결할 수 있다.When the connection between the first router and the second router exists in the broadcast period, the topology configuration module 119 connects the first router and the switch to the edge and connects the switch and the second router to the edge. Can connect
그 결과, 토폴로지 구성 모듈(119)은 이전 구한 토폴로지에서 이웃 노드들이 추가된 토폴로지를 구성할 수 있으며, 제1 라우터에 대해선 필요한 정보 수집을 모두 마쳤다는 의미에서 완료 노드(visited node)로 속성을 변경할 수 있다.As a result, the topology configuration module 119 can configure a topology in which neighboring nodes have been added in the previously obtained topology, and change the attribute to a completed node in the sense that the necessary information has been collected for the first router. Can be.
그리고, 토폴로지 구성 모듈(119)은, 새로 추가된 제2 라우터에 대해 조사 대상 노드(unvisited node)로서, 제2 라우터를 중심으로 상술한 바와 같은 이웃 노드 조사를 수행할 수 있다.The topology configuration module 119 may perform the neighbor node survey as described above with respect to the second router as an unvisited node with respect to the newly added second router.
토폴로지 구성 모듈(119)은 제2 라우터에 대해서 상술한 과정을 반복하여 토폴로지를 확대할 수 있으며, 네트워크 상의 모든 노드에 대해서 더 이상 조사 대상 노드(unvisited node)가 존재하지 않을 때 토폴로지 구성을 마칠 수 있다.The topology configuration module 119 may expand the topology by repeating the above-described process with respect to the second router, and finish the topology configuration when there are no longer unvisited nodes for all nodes on the network. have.
한편, 토폴로지 정보 데이터베이스(120)는 패킷 저장부(121), 이웃 노드 정보 저장부(123) 및 토폴로지 정보 저장부(125)를 포함할 수 있다. The
패킷 저장부(121)는 라우터나 스위치 장비로부터 수집된 패킷 데이터를 저장할 수 있다.The
이웃 노드 정보 저장부(123)는 검출된 바로 이웃 라우터 정보를 저장할 수 있다. 즉 제1 라우터가 조사 대상 노드인 경우, 제1 라우터에 대한 바로 이웃 라우터 정보를 저장할 수 있고, 제1 라우터에 대한 조사 완료후, 제2 라우터가 조사 대상 노드인 경우, 제2 라우터에 대한 바로 이웃 라우터 정보를 저장할 수 있다. The neighbor node information storage unit 123 may store the detected immediate neighbor router information. That is, when the first router is the node to be examined, the neighboring router information about the first router may be stored, and after completion of the investigation of the first router, when the second router is the node to be examined, the second router may be directly to the second router. It can store neighbor router information.
즉,이웃 노드 정보 저장부(123)는 루트 노드에서부터 이웃 노드들을 추가해갈 때, 바로 이웃 라우터 정보를 추가하여 저장할 수 있다.That is, the neighbor node information storage unit 123 may immediately add and store neighbor router information when adding neighbor nodes from the root node.
토폴로지 정보 저장부(125)는 검출된 토폴로지 정보를 저장할 수 있다. The topology information storage unit 125 may store the detected topology information.
즉, 토폴로지 정보 저장부(125)는 루트 노드로부터 이웃 노드들이 추가된 전체 토폴로지 정보를 저장할 수 있는데, 제1 라우터와 제2 라우터가 포인트 투 포인트 연결 구간인 경우, 제1 라우터와 제2 라우터간의 엣지 연결 정보를 저장할 수 있다. 그리고, 토폴로지 정보 저장부(125)는 제1 라우터와 제2 라우터간의 연결이 브로드캐스트 구간으로 스위치가 존재할 경우, 제1 라우터와 스위치를 엣지로 연결하고 스위치와 제2 라우터를 엣지로 연결한 정보를 저장할 수 있다.That is, the topology information storage unit 125 may store the entire topology information in which neighboring nodes are added from the root node. When the first router and the second router have a point-to-point connection interval, the topology information storage unit 125 may store the information between the first router and the second router. Edge connection information can be saved. When the switch between the first router and the second router exists in a broadcast period, the topology information storage unit 125 connects the first router and the switch to the edge and connects the switch and the second router to the edge. Can be stored.
토폴로지 정보 저장부(125)는 네트워크상의 모든 노드에 대해서 더 이상의 조사 대상 노드가 존재하지 않을 때까지 노드의 종류와 노드들간의 연결 정보를 저장할 수 있다.The topology information storage unit 125 may store the type of the node and the connection information between the nodes until there are no more nodes to be examined for all nodes on the network.
도 3은 본 발명의 실시예에 따라 이웃 라우터를 검색하는 방법을 도시한 그림이다.3 is a diagram illustrating a method for searching for a neighbor router according to an embodiment of the present invention.
도시된 바와 같이, 네트워크상에서, 라우터 R0를 루트 노드로 하여 R1, R2, R3, R4, R5, R6 라우터가 연결되어 있고, 스위치 SW1도 라우터 R0에 연결되어 있다.As shown, on the network, routers R1, R2, R3, R4, R5, and R6 are connected with the router R0 as the root node, and the switch SW1 is also connected to the router R0.
이 때, 라우터 R1, R2, R3는 라우터 R0에 직접 이웃 노드로 연결되어 있고, 라우터 R4, R5, R6는 스위치를 통해 라우터 R0에 이웃 노드로 연결되어 있다.At this time, routers R1, R2, and R3 are directly connected to the router R0 as neighbor nodes, and routers R4, R5, and R6 are connected to the router R0 as neighbor nodes through a switch.
이웃 노드 검출 모듈(113)은 라우팅 프로토콜 상에서 바로 이웃 노드 정보를 검출할 수 있는데, 직접 연결된 라우터의 정보와 스위치를 통해서 연결된 라우터의 정보 모두를 검출할 수 있다.The neighbor node detection module 113 may directly detect neighbor node information on a routing protocol, and may detect both information of a directly connected router and information of a router connected through a switch.
본 실시예의 경우, 이웃 노드 검출 모듈(113)은 루트 노드 R0의 이웃 노드로 라우터 R1, R2, R3, R4, R5, R6를 검출할 수 있다.In the present embodiment, the neighbor node detection module 113 may detect routers R1, R2, R3, R4, R5, and R6 as neighbor nodes of the root node R0.
예를 들어 OSPF 백본망인 경우, 이웃 노드 검출 모듈(113)은 SNMP상에서 OSPF 네이버(ospfNbrIpAddr) 정보를 이용하여 바로 이웃 라우터 정보를 검출할 수 있다.For example, in the case of an OSPF backbone network, the neighbor node detection module 113 may directly detect neighbor router information using OSPF neighbor (ospfNbrIpAddr) information on SNMP.
이 때, OSPF 네이버 정보에는 스위치가 존재하지 않으므로, 라우터 RO의 이웃 노드로서 스위치 SW1은 검출되지 않고, 라우터 R4, R5, R6가 라우터 R0의 이웃 노드로 검출될 수 있다.At this time, since there is no switch in the OSPF neighbor information, the switch SW1 is not detected as a neighbor node of the router RO, and the routers R4, R5, and R6 may be detected as neighbor nodes of the router R0.
도 4는 본 발명의 실시예에 따라 이웃 스위치를 검색하는 방법을 도시한 그림이다.4 is a diagram illustrating a method of searching for a neighbor switch according to an embodiment of the present invention.
인터페이스 분석 모듈(115)은, 노드들간의 연결 타입을 분석할 수 있는데, 제1 라우터와 제2 라우터간의 연결방식이 포인트 투 포인트 방식인지 브로드캐스트 방식인지 파악할 수 있다.The interface analysis module 115 may analyze a connection type between nodes, and may determine whether the connection method between the first router and the second router is a point-to-point or broadcast method.
도시된 바와 같이, 라우터 R0와 R1, R2, R3는 포인트 투 포인트 방식이고, 라우터 R0와 라우터 R4, R5, R6, 스위치 SW1은 브로드캐스트 방식으로 연결되어 있다.As shown, routers R0, R1, R2, and R3 are point-to-point, and routers R0, R4, R5, R6, and switch SW1 are connected in a broadcast manner.
인터페이스 분석 모듈(115)은 브로드캐스트 구간으로 연결된 장비들의 주소를 검출할 수 있는데, 예를 들어 OSPF 백본망인 경우, SNMP 상에서 물리주소에 대응하는 IP 어드레스를 구할 수 있다.The interface analysis module 115 may detect the addresses of the devices connected to the broadcast interval. For example, in the case of an OSPF backbone network, the interface analysis module 115 may obtain an IP address corresponding to a physical address on SNMP.
인터페이스 분석 모듈(115)은 스위치에 관리용 IP가 존재하는 경우, 이웃 노드 검출 모듈(113)에서 검출되지 않은 스위치의 존재를 포함하여 호스트 PC, 라우터와 같은 장비들의 주소를 검출할 수 있다.When there is a management IP in the switch, the interface analysis module 115 may detect addresses of devices such as a host PC and a router, including the presence of a switch not detected by the neighbor node detection module 113.
인터페이스 분석 모듈(115)은 브로드캐스트 구간으로 연결된 장비들의 주소와 이웃 노드 검출 모듈(113)에서 검출된 이웃 라우터들의 주소를 비교하여 스위치 후보를 추출할 수 있다.The interface analysis module 115 may extract the switch candidate by comparing the addresses of the devices connected to the broadcast interval with the addresses of the neighbor routers detected by the neighbor node detection module 113.
도시된 바에 따르면, 이웃 노드 검출 모듈(113)에서 검출된 R0의 이웃 라우터는 R1, R2, R3, R4, R5, R6이고, 라우터 R0와 브로드 캐스트 구간으로 연결된 장 비들은 R4, R5, R6, SW1이므로 SW1이 스위치 후보가 된다.As shown, the neighbor routers of R0 detected by the neighbor node detection module 113 are R1, R2, R3, R4, R5, R6, and the devices connected to the router R0 in the broadcast interval are R4, R5, R6, SW1 is a switch candidate because it is SW1.
그리고 스위치 검출 모듈(!17)은 SW1이 스위치 인지 여부를 확인할 수 있는데, 자세한 내용은 상술하였으므로 생략한다.In addition, the switch detection module (! 17) may check whether SW1 is a switch, and the detailed description thereof will be omitted.
도 5는 본 발명의 실시예에 따라 전체 토폴로지를 검색하는 방법의 흐름도이다.5 is a flowchart of a method for searching an entire topology according to an embodiment of the present invention.
도시된 바와 같이, 토폴로지 검출 시스템(100)은 임의의 노드에서 주변에 연결된 노드를 찾아서 둘 사이의 연결 관계를 맺고, 이웃 노드로 이동하여 이웃 노드 주변에 연결된 노드를 찾는 방식으로 망 전체 토폴로지를 검출하게 된다. As shown, the
토폴로지 검출 시스템(100)은 임의의 조사 대상 노드(unvisited node) 제1 라우터를 선정하여, 임의의 노드로부터 그 이웃 노드 정보를 수집할 수 있다(S100,S110,S120,S130).The
토폴로지 검출 시스템(100)은 라우팅 프로토콜 상에서, 조사 대상 노드와 바로 이웃으로 연결된 라우터 정보를 검출할 수 있는데, 이웃 라우터가 하나 이상의 스위치를 통해서 연결된 상태인 경우, 스위치를 제외한 라우터의 정보만을 검출할 수도 있다. The
토폴로지 검출 시스템(100)은 노드간의 연결 구간이 브로드캐스트 구간인 경우, 스위치 후보를 추출할 수 있으며, 자세한 내용은 이미 상술하였으므로 생략한다.The
토폴로지 검출 시스템(100)은 스위치 후보 장비를 대상으로 OSI 7 계층 상에서 데이터 링크 레이어를 지원하는지 여부와 IP 패킷 포워딩을 수행하는지 여부를 확인하여, 스위치의 실제 존재 여부를 확인할 수 있다(S140, S160). 스위치 검출의 자세한 내용은 이미 상술하였으므로 생략한다.The
토폴로지 검출 시스템(100)은 제1 라우터와 제2 라우터간의 연결이 포인트 투 포인트인 경우, 제1 라우터와 제2 라우터를 엣지로 연결할 수 있다(S150). When the connection between the first router and the second router is point-to-point, the
토폴로지 검출 시스템(100)은 제1 라우터와 제2 라우터간의 연결이 브로드캐스트 구간으로 스위치가 존재하는 경우, 제1 라우터와 스위치를 엣지로 연결하고, 스위치와 제2 라우터를 엣지로 연결할 수 있다(S170).When the connection between the first router and the second router exists in the broadcast period, the
토폴로지 검출 시스템(100)은 이전 구한 토폴로지에서 이웃 노드들이 추가된 토폴로지를 구성할 수 있으며, 제1 라우터에 대해서는 필요한 정보 수집을 모두 마쳤다는 의미에서 완료 노드(visited node)로 속성을 변경할 수 있다(S180.The
토폴로지 검출 시스템(100)은 이웃 노드로 추가된 제2 라우터에 대해서 조사 대상 노드(unvisted node)로서, 제2 라우터를 중심으로 한 이웃 노드 조사를 상술한 바와 같이 반복할 수 있다.The
토폴로지 검출 시스템(100)은 네트워크 상의 모든 노드에 대하여 더 이상의 조사 대상 노드(unvisited node)가 존재하지 않을 때 토폴로지 구성을 마칠 수 있다 (S190).The
또한 본 발명의 실시예에 따른 저장매체는 상술한 토폴로지 검출 방법을 실행하는 프로그램을 기록한 저장매체이다.In addition, the storage medium according to the embodiment of the present invention is a storage medium that records a program for executing the above-described topology detection method.
이상 설명한 바는 본 발명의 실시예에 불과한 것으로, 본 발명의 권리범위가 이에 한정되는 것은 아니며, 당업자간에 자명한 사항에 대하여 다양한 변형실시가 가능하다. 예를 들어, 본 발명의 실시예에 따른 토폴로지 검출 시스템을 구성하는 서버 및 각 서버를 구성하는 모듈들은 그 기능에 따라 추가적으로 구성되거나 병합 구성될 수 있다. 또 본 발명의 실시예에 따른 토폴로지 검출 방법은 그 순서가 변경되도록 응용 구성할 수 있음은 물론이다. 본 발명의 권리범위는 후술할 특허청구범위 기재사항 및 이와 균등사항으로 인정되는 모든 기술 요소를 포함할 것이다.What has been described above is only an embodiment of the present invention, and the scope of the present invention is not limited thereto, and various modifications can be made to those skilled in the art. For example, the servers constituting the topology detection system and the modules constituting each server may be additionally configured or merged according to their function. In addition, the topology detection method according to an embodiment of the present invention can be configured to change the order of course. The scope of the present invention will include all the technical elements recognized as the claims described below and equivalents thereof.
도 1은 본 발명의 실시예에 따라 망에 연결된 네트워크 토폴로지 검출 시스템을 나타낸 그림이다.1 is a diagram illustrating a network topology detection system connected to a network according to an embodiment of the present invention.
도 2는 본 발명의 실시예에 따른 토폴로지 검출 서버 및 토폴로지 정보 데이터베이스의 상세 구성도이다.2 is a detailed configuration diagram of a topology detection server and a topology information database according to an embodiment of the present invention.
도 3은 본 발명의 실시예에 따라 이웃 라우터를 검색하는 방법을 나타낸 그림이다.3 is a diagram illustrating a method for searching for a neighbor router according to an embodiment of the present invention.
도 4는 본 발명의 실시예에 따라 이웃 스위치를 검색하는 방법을 나타낸 그림이다.4 is a diagram illustrating a method of searching for a neighbor switch according to an embodiment of the present invention.
도 5는 본 발명의 실시예에 따라 전체 토폴로지 구성을 검색하는 방법 흐름도이다.5 is a method flow diagram for retrieving the entire topology configuration in accordance with an embodiment of the present invention.
Claims (15)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070119043A KR20090052512A (en) | 2007-11-21 | 2007-11-21 | System and method for discovering network topology, storage medium recording that method program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070119043A KR20090052512A (en) | 2007-11-21 | 2007-11-21 | System and method for discovering network topology, storage medium recording that method program |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20090052512A true KR20090052512A (en) | 2009-05-26 |
Family
ID=40860234
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020070119043A KR20090052512A (en) | 2007-11-21 | 2007-11-21 | System and method for discovering network topology, storage medium recording that method program |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20090052512A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105978815A (en) * | 2016-05-09 | 2016-09-28 | 上海斐讯数据通信技术有限公司 | Method for obtaining routing device network distribution |
CN109660410A (en) * | 2019-02-20 | 2019-04-19 | 厦门美图之家科技有限公司 | Determine the method and device of network topology |
-
2007
- 2007-11-21 KR KR1020070119043A patent/KR20090052512A/en not_active Application Discontinuation
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105978815A (en) * | 2016-05-09 | 2016-09-28 | 上海斐讯数据通信技术有限公司 | Method for obtaining routing device network distribution |
CN105978815B (en) * | 2016-05-09 | 2020-01-07 | 上海斐讯数据通信技术有限公司 | Method for obtaining network distribution of routing equipment |
CN109660410A (en) * | 2019-02-20 | 2019-04-19 | 厦门美图之家科技有限公司 | Determine the method and device of network topology |
CN109660410B (en) * | 2019-02-20 | 2022-02-01 | 厦门美图之家科技有限公司 | Method and device for determining network topology |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10505804B2 (en) | System and method of discovering paths in a network | |
Sherwood et al. | Discarte: a disjunctive internet cartographer | |
US8305931B2 (en) | Incremental and targeted auto-discovery of network devices | |
EP2081321A2 (en) | Sampling apparatus distinguishing a failure in a network even by using a single sampling and a method therefor | |
KR100878109B1 (en) | Topology discovery by partitioning multiple discovery techniques | |
US8549124B2 (en) | Network management discovery tool | |
US20080192651A1 (en) | Network check using routing database | |
US20050105474A1 (en) | System and method for measuring per node packet loss in a wireless network | |
US7869349B2 (en) | Method and system for deducing network routes by querying routers | |
Cho et al. | Identifying IPv6 network problems in the dual-stack world | |
Tozal et al. | Tracenet: an internet topology data collector | |
US8165038B2 (en) | Network physical connection inference for IP tunnels | |
US20110188400A1 (en) | Network monitoring device, network monitoring method, and network monitoring program | |
US20230224235A1 (en) | Network Topology Construction Method and Apparatus, and Computer Readable Medium | |
US20130042020A1 (en) | Quick Network Path Discovery | |
CN104579979A (en) | Network topology discovery method based on MAC information | |
KR20090052512A (en) | System and method for discovering network topology, storage medium recording that method program | |
JPWO2008108231A1 (en) | Quality degradation location estimation method, quality degradation location estimation apparatus, and program | |
US7688743B2 (en) | Tracing routing differences | |
US10805206B1 (en) | Method for rerouting traffic in software defined networking network and switch thereof | |
JP6246885B1 (en) | Route analysis processing apparatus and route analysis processing program | |
Marder et al. | Vrfinder: Finding outbound addresses in traceroute | |
KR20090052514A (en) | Systen and method for discovering network topology, storage medium recording that method program | |
WO2020135445A1 (en) | Method of locating route flapping | |
JP2021044684A (en) | Network connectibility confirmation system and network connectibility confirmation method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WITN | Application deemed withdrawn, e.g. because no request for examination was filed or no examination fee was paid |