KR102544882B1 - Network device and method for determining network configuration - Google Patents
Network device and method for determining network configuration Download PDFInfo
- Publication number
- KR102544882B1 KR102544882B1 KR1020210035199A KR20210035199A KR102544882B1 KR 102544882 B1 KR102544882 B1 KR 102544882B1 KR 1020210035199 A KR1020210035199 A KR 1020210035199A KR 20210035199 A KR20210035199 A KR 20210035199A KR 102544882 B1 KR102544882 B1 KR 102544882B1
- Authority
- KR
- South Korea
- Prior art keywords
- switch
- switches
- mac address
- address table
- instruction
- Prior art date
Links
Images
Classifications
-
- 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
-
- 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/08—Configuration management of networks or network elements
- H04L41/0866—Checking the configuration
-
- 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
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/06—Generation of reports
- H04L43/065—Generation of reports related to network devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/30—Peripheral units, e.g. input or output ports
- H04L49/3009—Header conversion, routing tables or routing tags
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/10—Mapping addresses of different types
- H04L61/103—Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4552—Lookup mechanisms between a plurality of directories; Synchronisation of directories, e.g. metadirectories
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/618—Details of network addresses
- H04L2101/622—Layer-2 addresses, e.g. medium access control [MAC] addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/618—Details of network addresses
- H04L2101/659—Internet protocol version 6 [IPv6] addresses
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Cardiology (AREA)
- General Health & Medical Sciences (AREA)
- Small-Scale Networks (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
본 발명은, 네트워크에 있어서의 복수의 스위치의 접속 구성을 파악하는 것을 목적으로 한다.
제1 지시부(101)가, 브로드캐스트 메시지 또는 멀티캐스트 메시지에 의해, 네트워크(120)에 접속되어 있는 복수의 스위치 각각에, MAC 어드레스의 취득을 위한 제1 지시를 송출하고, 제2 지시부(102)가, 네트워크(120) 상에 존재하지 않는 더미 어드레스를 송신원으로서 설정한, 리퀘스트가 되돌아오는 디멘드 메시지(예컨대 Ping)를, 복수 스위치 각각에 대하여 송출시키고, 이 후, 취득부(103)가, 복수의 스위치 각각으로부터, 네트워크(120)를 통해 MAC 어드레스 테이블을 취득한다.An object of the present invention is to grasp the connection configuration of a plurality of switches in a network.
The first instruction unit 101 transmits a first instruction for obtaining a MAC address to each of a plurality of switches connected to the network 120 by means of a broadcast message or a multicast message, and the second instruction unit 102 ) sets a dummy address that does not exist on the network 120 as the transmission source, and sends a demand message (e.g., Ping) to which a request is returned, to each of a plurality of switches, after which the acquisition unit 103: A MAC address table is obtained from each of a plurality of switches through the network 120 .
Description
본 발명은, 네트워크에 접속되어 있는 스위치 구성을 판별하는 네트워크 장치 및 네트워크 구성 판별 방법에 관한 것이다.[0001] The present invention relates to a network device for determining the configuration of a switch connected to a network and a method for determining the network configuration.
최근, IoT(Internet of Thing)의 보급에 따라, 다양한 기기가 네트워크에 접속되도록 되어 있다(특허문헌 1, 2 참조). 이와 같이 네트워크 내부가 복수의 기기에 의해 구성되어 있을 때에, 이들의 경로 정보, 네트워크 구성을 파악하는 것은 중요하다.BACKGROUND ART In recent years, with the spread of IoT (Internet of Thing), various devices are being connected to networks (see Patent Literatures 1 and 2). In this way, when the inside of the network is composed of a plurality of devices, it is important to grasp the path information and network configuration of these devices.
전술한 바와 같이, 네트워크 내에 접속되는 기기가 증가했기 때문에, 이들 기기가 어떤 스위치(스위칭 허브)에 접속되어 있는 것인지를 파악하는 것이 중요해진다. 또한, 기기의 접속 상태를 파악하기 위해서는 스위치의 구성을 파악하는 것이 중요해진다. 예컨대, 통신장애 등이 발생한 경우에, 복수의 스위치의 접속 구성이 파악되어 있지 않으면, 원인 특정에 많은 시간을 필요로 하는 등의 문제가 있다.As described above, since the number of devices connected in the network has increased, it is important to know which switch (switching hub) these devices are connected to. In addition, in order to grasp the connection state of devices, it becomes important to grasp the configuration of the switch. For example, when a communication failure or the like occurs, if the connection configuration of a plurality of switches is not grasped, there is a problem that it takes a lot of time to identify the cause.
본 발명은, 이상과 같은 문제점을 해소하기 위해 이루어진 것으로, 네트워크에 있어서의 복수의 스위치의 접속 구성을 파악할 수 있도록 하는 것을 목적으로 한다.The present invention has been made in order to solve the above problems, and an object of the present invention is to make it possible to grasp the connection configuration of a plurality of switches in a network.
본 발명에 따른 네트워크 장치는, 브로드캐스트 메시지에 의해, 네트워크에 접속되어 있는 복수의 스위치 각각에, MAC 어드레스의 취득을 위한 제1 지시를 송출하도록 구성된 제1 지시부와, 제1 지시부가, 제1 지시를 송출한 후, 네트워크 상에 존재하지 않는 IP 어드레스를 송신원으로서 설정한, 리퀘스트가 되돌아오는 디멘드 메시지를, 복수의 스위치 각각에 대하여 송출시키는 제2 지시를, 복수의 스위치 각각에 대하여 송신하도록 구성된 제2 지시부와, 제2 지시부가, 제2 지시를 송신한 후, 복수의 스위치 각각으로부터, 네트워크를 통해 MAC 어드레스 테이블을 취득하도록 구성된 취득부와, 취득부가 취득한 복수의 스위치 각각의 MAC 어드레스 테이블로부터, 복수의 스위치의 MAC 어드레스 이외의 MAC 어드레스를 제거하는 제1 처리를 하도록 구성된 제1 처리부와, 제1 처리가 행해진 후, 취득부가 취득한 MAC 어드레스 테이블 중에서, 하나의 포트에 자(自) 스위치 이외의 모든 MAC 어드레스가 등록되어 있는 MAC 어드레스 테이블의 스위치를 말단 스위치로 설정하는 제2 처리를 하도록 구성된 제2 처리부와, 제2 처리가 행해진 후, 하나의 포트에 말단 스위치의 MAC 어드레스만이 설정된 MAC 어드레스 테이블의 스위치를, 말단 스위치의 하나 상위에 접속하는 상위 스위치로 설정하는 제3 처리를 하도록 구성된 제3 처리부와, 취득부가 취득한 말단 스위치 이외의 다른 스위치의 MAC 어드레스 테이블로부터, 말단 스위치의 MAC 어드레스를 삭제하는 제4 처리를 하도록 구성된 제4 처리부와, 취득부가 취득한 MAC 어드레스 테이블 중으로부터, 하나의 포트에 하나의 MAC 어드레스만이 설정된 MAC 어드레스 테이블의 제1 스위치를 검색하고, 제1 스위치가 하나 검색될 때마다, 검색된 제1 스위치가 상위 스위치에 해당하지 않는 경우는, 제1 스위치의 MAC 어드레스 정보를, 취득부가 취득한 MAC 어드레스 테이블 중으로부터 삭제하는 제5 처리를 하도록 구성된 제5 처리부와, 제5 처리부에 의해 검색된 제1 스위치와, 제1 스위치의 MAC 어드레스 테이블 중에서 하나의 포트에 하나만이 설정되어 있는 MAC 어드레스의 제2 스위치와의 접속 관계를 바탕으로, 복수의 스위치끼리의 접속 상태를 판별하도록 구성된 판별부와, 판별부가 판별한 복수의 스위치끼리의 접속 상태를, 표시부에 표시하도록 구성된 표시 제어부를 구비한다.A network device according to the present invention includes: a first instruction unit configured to transmit a first instruction for obtaining a MAC address to each of a plurality of switches connected to a network by means of a broadcast message; and transmits, to each of a plurality of switches, a second instruction for sending, to each of a plurality of switches, a demand message to which a request is returned, which sets an IP address that does not exist on the network as a sender, after the instruction is transmitted. A second instruction unit, and an acquisition unit configured to acquire a MAC address table from each of a plurality of switches via a network after the second instruction unit transmits the second instruction, and from the MAC address table of each of the plurality of switches acquired by the acquisition unit , a first processing unit configured to perform a first processing of removing MAC addresses other than the MAC addresses of a plurality of switches, and a MAC address table acquired by the acquisition unit after the first processing is performed, for one port other than its own switch a second processing unit configured to perform a second processing of setting a switch in the MAC address table in which all MAC addresses of are registered as terminal switches; The MAC address of the terminal switch is obtained from the MAC address table of the switch other than the terminal switch acquired by the third processing unit configured to perform the third processing of setting the switch of the address table to the upper switch connected to the upper end switch by one upper end switch, and the acquisition unit. A fourth processing unit configured to perform a fourth processing of deleting the first switch of the MAC address table in which only one MAC address is set for one port is retrieved from among the MAC address tables acquired by the acquisition unit, and the first switch is one. a fifth processing unit configured to perform a fifth process of deleting the MAC address information of the first switch from the MAC address table obtained by the acquisition unit each time the search is performed, if the first switch found does not correspond to the upper switch; 5 Based on the connection relationship between the first switch retrieved by the processing unit and the second switch of which only one MAC address is set in one port from the MAC address table of the first switch, the connection state of the plurality of switches is determined. and a display control unit configured to display, on a display unit, the connection state of the plurality of switches determined by the determination unit.
상기 네트워크 장치의 일 구성예에 있어서, 제1 지시는, ARP 리퀘스트 또는 IPv6의 Neighbor Solicitation이다.In one configuration example of the network device, the first instruction is an ARP request or Neighbor Solicitation of IPv6.
상기 네트워크 장치의 일 구성예에 있어서, 복수의 스위치는, SNMP 프로토콜로 접속되어 있다.In one configuration example of the network device, a plurality of switches are connected by SNMP protocol.
또한, 본 발명에 따른 네트워크 구성 판별 방법은, 브로드캐스트 메시지에 의해, 네트워크에 접속되어 있는 복수의 스위치 각각에, MAC 어드레스의 취득을 위한 제1 지시를 송출하는 제1 공정과, 제1 공정에서, 제1 지시를 송출한 후, 네트워크 상에 존재하지 않는 IP 어드레스를 송신원으로서 설정한, 리퀘스트가 되돌아오는 디멘드 메시지를, 복수 스위치 각각에 대하여 송출시키는 제2 지시를, 복수의 스위치 각각에 대하여 송신하는 제2 공정과, 제2 공정에서, 제2 지시를 송신한 후, 복수의 스위치 각각으로부터, 네트워크를 통해 MAC 어드레스 테이블을 취득하는 제3 공정과, 제3 공정에서 취득된 복수의 스위치 각각의 MAC 어드레스 테이블로부터, 복수의 스위치의 MAC 어드레스 이외의 MAC 어드레스를 제거하는 제1 처리를 하는 제4 공정과, 제1 처리가 행해진 후, 제3 공정에서 취득된 MAC 어드레스 테이블 중에서, 하나의 포트에 자스위치 이외의 모든 MAC 어드레스가 등록되어 있는 MAC 어드레스 테이블의 스위치를 말단 스위치로 설정하는 제2 처리를 하는 제5 공정과, 제2 처리가 행해진 후, 하나의 포트에 말단 스위치의 MAC 어드레스만이 설정된 MAC 어드레스 테이블의 스위치를 말단 스위치의 하나 상위에 접속하는 상위 스위치로 설정하는 제3 처리를 하는 제6 공정과, 제3 공정에서 취득된 말단 스위치 이외의 다른 스위치의 MAC 어드레스 테이블로부터, 말단 스위치의 MAC 어드레스를 삭제하는 제4 처리를 하는 제7 공정과, 제3 공정에서 취득된 MAC 어드레스 테이블 중에서, 하나의 포트에 하나의 MAC 어드레스만이 설정된 MAC 어드레스 테이블의 제1 스위치를 검색하고, 제1 스위치가 하나 검색될 때마다, 검색된 제1 스위치가 상위 스위치에 해당하지 않는 경우는, 제1 스위치의 MAC 어드레스 정보를, 제3 공정이 취득한 MAC 어드레스 테이블 중으로부터 삭제하는 제5 처리를 하는 제8 공정과, 제8 공정에서 검색된 제1 스위치와, 제1 스위치의 MAC 어드레스 테이블 중에서 하나의 포트에 하나만이 설정되어 있는 MAC 어드레스의 제2 스위치와의 접속 관계를 바탕으로, 복수의 스위치끼리의 접속 상태를 판별하는 제9 공정과, 제9 공정에서 판별된 복수의 스위치끼리의 접속 상태를, 표시부에 표시하는 제10 공정을 구비한다.Further, a method for determining a network configuration according to the present invention includes a first step of sending a first instruction for obtaining a MAC address to each of a plurality of switches connected to a network by means of a broadcast message, and a first step. , After the first instruction is sent, a second instruction for sending to each of the plurality of switches a demand message to which a request is returned, for which an IP address that does not exist on the network is set as the sender, is transmitted to each of the plurality of switches. a second step of performing a second step, a third step of acquiring a MAC address table from each of a plurality of switches through the network after transmitting the second instruction in the second step, and each of the plurality of switches acquired in the third step A fourth step of performing a first process of removing MAC addresses other than the MAC addresses of a plurality of switches from the MAC address table, and a MAC address table acquired in a third process after the first process is performed, to one port. A fifth step of performing a second process of setting switches in the MAC address table in which all MAC addresses other than the host switches are registered as terminal switches; and after the second process is performed, only the MAC address of the terminal switch is A sixth step of performing a third process of setting a switch in the set MAC address table to an upper switch connected to one upper end switch of the end switch, and from the MAC address tables of switches other than the end switch obtained in the third step, the end switch Among the MAC address tables obtained in the seventh step of performing the fourth process of deleting the MAC address of the third step and the third step, the first switch of the MAC address table in which only one MAC address is set for one port is searched, 5th process of deleting the MAC address information of the 1st switch from the MAC address table acquired in the 3rd process, if the 1st switch searched for every time one switch does not correspond to an upper switch, the 5th process Based on the connection relationship between the first switch retrieved in step 8 and step 8 and the second switch of which only one MAC address is set in one port of the MAC address table of the first switch, A ninth process of determining the connection state, and a tenth process of displaying the connection state of a plurality of switches determined in the ninth process on a display unit are provided.
상기 네트워크 구성 판별 방법의 일 구성예에 있어서, 제1 지시는, ARP 리퀘스트 또는 IPv6의 Neighbor Solicitation이다.In one configuration example of the network configuration determination method, the first indication is an ARP request or Neighbor Solicitation of IPv6.
상기 네트워크 구성 판별 방법의 일 구성예에 있어서, 복수의 스위치는, SNMP 프로토콜로 접속되어 있다.In one configuration example of the network configuration determination method, a plurality of switches are connected by SNMP protocol.
이상 설명한 바와 같이, 본 발명에 따르면, MAC 어드레스의 취득을 위한 제1 지시를 브로드캐스트 메시지에 의해 네트워크에 송출한 후, 네트워크에 접속되어 있는 복수의 스위치 각각으로부터 MAC 어드레스 테이블을 취득하고, 취득한 복수의 MAC 어드레스 테이블을 바탕으로, 복수의 스위치끼리의 접속 상태를 판별하기 때문에, 네트워크에 있어서의 복수의 스위치의 접속 구성을 파악할 수 있다.As described above, according to the present invention, after the first instruction for acquiring the MAC address is transmitted to the network by means of a broadcast message, the MAC address table is obtained from each of a plurality of switches connected to the network, and the obtained plurality Since the connection state of a plurality of switches is discriminated based on the MAC address table of , the connection configuration of a plurality of switches in the network can be ascertained.
도 1은 본 발명의 실시형태에 따른 네트워크 장치(100)의 구성을 나타낸 구성도이다.
도 2는 본 발명의 실시형태에 따른 네트워크 구성 판별 방법을 설명한 흐름도이다.
도 3은 본 발명의 실시형태에 따른 네트워크 장치(100)에 있어서의 표시부(111)의 표시예를 나타낸 구성도이다.
도 4는 실시형태에 따른 네트워크 장치(100)의 하드웨어 구성을 나타낸 구성도이다.1 is a configuration diagram showing the configuration of a network device 100 according to an embodiment of the present invention.
2 is a flowchart illustrating a network configuration determination method according to an embodiment of the present invention.
3 is a configuration diagram showing a display example of the
4 is a configuration diagram showing the hardware configuration of the network device 100 according to the embodiment.
이하, 본 발명의 실시형태에 따른 네트워크 장치(100)에 대해서 도 1을 참조하여 설명한다. 네트워크 장치(100)는, 제1 지시부(101), 제2 지시부(102), 취득부(103), 제1 처리부(104), 제2 처리부(105), 제3 처리부(106), 제4 처리부(107), 제5 처리부(108), 판별부(109), 표시 제어부(110), 표시부(111), 접속부(112), 및 입력부(113)를 구비한다.Hereinafter, a network device 100 according to an embodiment of the present invention will be described with reference to FIG. 1 . The network device 100 includes a first instruction unit 101, a second instruction unit 102, an acquisition unit 103, a first processing unit 104, a second processing unit 105, a third processing unit 106, and a fourth A processing unit 107, a fifth processing unit 108, a determination unit 109, a display control unit 110, a
제1 지시부(101)는, 브로드캐스트 메시지에 의해, 네트워크(120)에 접속되어 있는 복수의 스위치 각각에, MAC 어드레스의 취득을 위한 제1 지시를 송출한다. 제1 지시부(101)는, 예컨대, 제1 지시로서, ARP(Address Resolution Proto col) 리퀘스트를 송출한다. 또한, 제1 지시는, IPv6의 Neighbor Solicitation(NS)으로 할 수도 있다. 네트워크 장치(100)는, 네트워크 접속 기능을 갖는 접속부(112)에 의해, 네트워크(120)에 접속되어 있다. 네트워크(120)에는, 예컨대, 빌딩 관리 시스템을 구성하는 관리 서버, 감시 서버, 단말 기기 등이 접속되어 있다.The first instruction unit 101 transmits a first instruction for acquisition of a MAC address to each of a plurality of switches connected to the
또한, 도 1에 도시된 예에서는, 네트워크(120)에, 스위치 A(131), 스위치 B(132), 스위치 C(133), 스위치 D(134)가 접속(수용)되어 있다. 이 예에서는, 스위치 A(131)가 구비하는 복수의 포트 중 어느 하나에, 스위치 B(132), 스위치 C(133)가 접속되어 있다. 또한, 스위치 B(132)가 구비하는 복수의 포트 중 어느 하나에, 스위치 D(134)가 접속되어 있다. 이 예에 있어서, 스위치 C(133), 스위치 D(134)가 말단 스위치가 된다.In the example shown in FIG. 1 , switch
제2 지시부(102)는, 제1 지시부(101)가, 제1 지시를 송출한 후, 네트워크(120) 상에 존재하지 않는 IP 어드레스(더미 어드레스)를 송신원으로서 설정한, 리퀘스트가 되돌아오는 디멘드 메시지(예컨대 Ping)를, 복수 스위치 각각에 대하여 송출시키는 제2 지시를, 복수의 스위치 각각에 대하여 송신(송출)한다. 이 Ping을 수신한 각 스위치는, 더미 어드레스의 ARP 리퀘스트를 브로드캐스트 송신하기 때문에, 모든 스위치의 MAC 어드레스 테이블에, 자신(자스위치) 이외의 스위치의 MAC 어드레스가 등록되게 된다.The second instruction unit 102 determines the demand returned by the request to which the first instruction unit 101 sends the first instruction and then sets an IP address (dummy address) that does not exist on the
취득부(103)는, 제2 지시부(102)가, 제2 지시를 송신한 후, 복수의 스위치 각각으로부터, 네트워크(120)를 통해 MAC 어드레스 테이블을 취득한다. 이 취득은, 스위치의 MAC 어드레스 테이블이 리프레시되기 전에 실시한다. 취득부(103)는, MAC 어드레스 테이블을, 대응하는 스위치의 식별 정보와 함께 취득한다. 예컨대, 복수의 스위치는, SNMP(Simple Network Management Protocol) 프로토콜로 접속되어 있으면, 취득부(103)는, SNMP 프로토콜에 의해, 복수의 스위치 각각으로부터 MAC 어드레스 테이블을 취득할 수 있다. 또한, 대상이 되는 스위치에 설정되어 있는 IP 어드레스는, 사전에 파악되고 있다.The acquisition unit 103 acquires the MAC address table via the
제1 처리부(104)는, 취득부(103)가 취득한 복수의 스위치 각각의 MAC 어드레스 테이블로부터, 복수의 스위치의 MAC 어드레스 이외의 MAC 어드레스를 제거하는 제1 처리를 한다.The first processing unit 104 performs a first processing of removing MAC addresses other than the MAC addresses of the plurality of switches from the MAC address table of each of the plurality of switches acquired by the acquisition unit 103.
제2 처리부(105)는, 제1 처리가 행해진 후, 취득부(103)가 취득한 MAC 어드레스 테이블 중에서, 하나의 포트에 자스위치 이외의 모든 MAC 어드레스가 등록되어 있는 MAC 어드레스 테이블의 스위치를 말단 스위치로 설정하는 제2 처리를 한다.After the first processing is performed, the second processing unit 105, among the MAC address tables acquired by the acquisition unit 103, selects switches in the MAC address table in which all MAC addresses other than the host switches are registered in one port as terminal switches. The second processing to set to is performed.
제3 처리부(106)는, 제2 처리가 행해진 후, 하나의 포트에 말단 스위치의 MAC 어드레스만이 설정된 MAC 어드레스 테이블의 스위치를, 말단 스위치의 하나 상위에 접속하는 상위 스위치로 설정하는 제3 처리를 한다.The third processing unit 106, after the second processing is performed, third processing of setting a switch in the MAC address table in which only the MAC address of the end switch is set for one port to an upper switch connected to one upper end switch of the end switch. do
제4 처리부(107)는, 취득부(103)가 취득한 말단 스위치 이외의 다른 스위치의 MAC 어드레스 테이블로부터, 말단 스위치의 MAC 어드레스를 삭제하는 제4 처리를 한다.The fourth processing unit 107 performs a fourth process of deleting the MAC address of the terminal switch from the MAC address table of switches other than the terminal switch acquired by the acquisition unit 103.
제5 처리부(108)는, 이하에 나타내는 제5 처리를 한다. 제5 처리부(108)는, 우선, 취득부(103)가 취득한 MAC 어드레스 테이블 중으로부터, 하나의 포트에 하나의 MAC 어드레스만이 설정된 MAC 어드레스 테이블의 제1 스위치를 검색한다. 또한, 제5 처리부(108)는, 제1 스위치가 하나 검색될 때마다, 검색된 제1 스위치가 상위 스위치에 해당하지 않는 경우는, 제1 스위치의 MAC 어드레스 정보를, 취득부(103)가 취득한 MAC 어드레스 테이블 중으로부터 삭제한다.The fifth processing unit 108 performs fifth processing shown below. The fifth processing unit 108 first searches for a first switch in the MAC address table in which only one MAC address is set for one port, from the MAC address table acquired by the acquisition unit 103. In addition, the fifth processing unit 108, whenever one first switch is searched for, when the first switch found does not correspond to the upper switch, acquires the MAC address information of the first switch, which the acquisition unit 103 acquires. Delete from the MAC address table.
판별부(109)는, 제5 처리부(108)에 의해 검색된 제1 스위치와, 제1 스위치의 MAC 어드레스 테이블 중에서 하나의 포트에 하나만이 설정되어 있는 MAC 어드레스의 제2 스위치와의 접속 관계를 바탕으로, 복수의 스위치끼리의 접속 상태를 판별한다. 표시 제어부(110)는, 판별부(109)가 판별한 복수의 스위치끼리의 접속 상태를, 표시부(111)에 표시한다.The determining unit 109 is based on a connection relationship between the first switch retrieved by the fifth processing unit 108 and the second switch having only one MAC address set in one port from the MAC address table of the first switch. In this way, the connection state of a plurality of switches is discriminated. The display control unit 110 displays on the
네트워크 장치(100)는, 예컨대, 입력부(113)로부터 입력된 지시에 의해, 제1 지시부(101), 제2 지시부(102), 취득부(103), 제1 처리부(104), 제2 처리부(105),제3 처리부(106), 제4 처리부(107), 제5 처리부(108), 판별부(109), 표시 제어부(110)의 동작을 시작한다.The network device 100, for example, according to instructions input from the input unit 113, the first instruction unit 101, the second instruction unit 102, the acquisition unit 103, the first processing unit 104, and the second processing unit. (105), the operation of the third processing unit 106, the fourth processing unit 107, the fifth processing unit 108, the determination unit 109, and the display control unit 110 starts.
다음에, 실시형태에 따른 네트워크 장치의 동작(네트워크 구성 판별 방법)에 대해서, 도 2의 흐름도를 참조하여 설명한다.Next, the operation of the network device (network configuration determination method) according to the embodiment will be described with reference to a flowchart in FIG. 2 .
우선, 단계 S101에서, 제1 지시부(101)가, 브로드캐스트 메시지에 의해, 네트워크(120)에 접속되어 있는 복수의 스위치 각각에, MAC 어드레스의 취득을 위한 제1 지시(ARP 리퀘스트)를 송출한다(제1 공정).First, in step S101, the first instruction unit 101 transmits a first instruction (ARP request) for obtaining a MAC address to each of a plurality of switches connected to the
제1 지시부(101)가 제1 지시를 송출한 후, 단계 S102에서, 제2 지시부(102)가, 네트워크(120) 상에 존재하지 않는 IP 어드레스를 송신원으로서 설정한, 리퀘스트가 되돌아오는 디멘드 메시지(예컨대 Ping)를, 복수 스위치 각각에 대하여 송출시키는 제2 지시를, 복수의 스위치 각각에 대하여 송신한다(제2 공정).After the first instruction unit 101 sends out the first instruction, in step S102, the second instruction unit 102 sets an IP address that does not exist on the
다음에, 제2 지시부(102)가 제2 지시를 송신한 후, 단계 S103에서, 취득부(103)가, 복수의 스위치 각각으로부터, 네트워크(120)를 통해 MAC 어드레스 테이블을 취득한다(제3 공정). 취득부(103)가 MAC 어드레스 테이블을 취득하면, 단계 S104에서, 제1 처리부(104)가, 제3 공정에서 취득된 복수의 스위치 각각의 MAC 어드레스 테이블로부터, 복수의 스위치의 MAC 어드레스 이외의 MAC 어드레스를 제거하는 제1 처리(MAC 어드레스 테이블 정리)를 한다(제4 공정).Next, after the second instruction unit 102 transmits the second instruction, in step S103, the acquisition unit 103 acquires the MAC address table from each of a plurality of switches via the network 120 (the third process). When the acquisition unit 103 acquires the MAC address table, in step S104, the first processing unit 104 obtains MAC addresses other than the MAC addresses of the plurality of switches from the MAC address table of each of the plurality of switches acquired in the third step. A first process for removing addresses (MAC address table arrangement) is performed (fourth process).
다음에, 제1 처리부(104)에 의해 제1 처리가 행해진 후, 단계 S105에서, 제2 처리부(105)가, 취득된 MAC 어드레스 테이블 중에서, 하나의 포트에 자스위치 이외의 모든 MAC 어드레스가 등록되어 있는 MAC 어드레스 테이블의 스위치를, 말단 스위치로 설정하는 제2 처리를 한다(제5 공정).Next, after the first processing is performed by the first processing unit 104, in step S105, the second processing unit 105 registers all MAC addresses other than the host switch in one port in the acquired MAC address table. A second process of setting a switch in the MAC address table as an end switch is performed (step 5).
다음에, 제2 처리부(105)에 의해 제2 처리가 행해진 후, 단계 S106에서, 제3 처리부(106)가, 하나의 포트에 말단 스위치의 MAC 어드레스만이 설정된 MAC 어드레스 테이블의 스위치를 말단 스위치의 하나 상위에 접속하는 상위 스위치로 설정하는 제3 처리를 한다(제6 공정).Next, after the second processing is performed by the second processing unit 105, in step S106, the third processing unit 106 assigns the switch of the MAC address table in which only the MAC address of the terminal switch is set to one port to the terminal switch. A third process of setting with a higher order switch connected to one higher order of is performed (step 6).
다음에, 단계 S107에서, 제4 처리부(107)가, 취득부(103)에 의해 취득된 MAC 어드레스 테이블 중의, 말단 스위치 이외의 다른 스위치의 MAC 어드레스 테이블로부터, 말단 스위치의 MAC 어드레스를 삭제하는 제4 처리를 한다(제7 공정).Next, in step S107, the fourth processing unit 107 deletes the MAC address of the terminal switch from the MAC address tables of switches other than the terminal switch in the MAC address table acquired by the acquisition unit 103. 4 processing is carried out (the 7th process).
다음에, 단계 S108에서, 제5 처리부(108)가, 제3 공정에서 취득된 MAC 어드레스 테이블 중으로부터, 하나의 포트에 하나의 MAC 어드레스만이 설정된 MAC 어드레스 테이블의 제1 스위치를 검색한다(제8 공정).Next, in step S108, the fifth processing unit 108 retrieves, from the MAC address table obtained in the third step, the first switch in the MAC address table in which only one MAC address is set for one port ( 8 process).
계속해서, 단계 S109에서, 제5 처리부(108)는, 검색된 제1 스위치가, 상위 스위치에 해당하는지 여부, 바꿔 말하면, 검색된 제1 스위치에, 말단 스위치가 연결되어 있는지 여부를 판정한다(제8 공정).Subsequently, in step S109, the fifth processing unit 108 determines whether or not the searched first switch corresponds to an upper switch, in other words, whether or not the terminal switch is connected to the searched first switch (8th process).
제5 처리부(108)는, 검색된 제1 스위치가, 상위 스위치에 해당하지 않는 경우(단계 S109의 yes), 단계 S110에서, 이때 검색된 제1 스위치의 MAC 어드레스 정보를, 취득되어 있는 MAC 어드레스 테이블 중으로부터 삭제한다(제8 공정).The fifth processing unit 108, when the searched first switch does not correspond to the upper switch (yes in step S109), in step S110, selects the MAC address information of the first switch found at this time into the acquired MAC address table. (Eighth process).
검색된 제1 스위치가, 상위 스위치에 해당하는 경우(단계 S109의 no), 및 단계 S110 다음에, 단계 S111에서, 제5 처리부(108)는, 검색된 제1 스위치와, 제1 스위치의 MAC 어드레스 테이블 중에서 하나의 포트에 하나만이 설정되어 있는 MAC 어드레스의 제2 스위치와의 접속 관계를 특정한다(제8 공정).When the searched first switch corresponds to the upper switch (no in step S109), and after step S110, in step S111, the fifth processing unit 108 determines the searched first switch and the MAC address table of the first switch. A connection relationship with the second switch of the MAC address, of which only one is set in one of the ports, is specified (step 8).
제5 처리부(108)가, 모든 스위치에 대해서 전술한 제5 처리(제8 공정)를 실시한 후(단계 S112의 yes), 단계 S113에서, 판별부(109)가, 제1 스위치와 제2 스위치와의 접속 관계를 바탕으로, 복수의 스위치끼리의 접속 상태를 판별한다(제9 공정).After the fifth processing unit 108 performs the above-described fifth processing (eighth process) on all switches (yes in step S112), in step S113, the determining unit 109 determines the first switch and the second switch. The connection state of a plurality of switches is discriminated based on the connection relationship with (9th step).
전술한 처리에 의해, 도 1에 도시된 예에서는, 우선, 스위치 C(133), 스위치 D(134)는 말단 스위치라고 판별하고, 스위치 B는, 스위치 D(134)의 상위 스위치라고 판별하며, 스위치 A(131)는, 스위치 B(132) 및 스위치 C(133)의 상위 스위치라고 판별할 수 있다. 이 후, 단계 S114에서, 표시 제어부(110)가, 판별된 복수의 스위치끼리의 접속 상태를, 표시부(111)에 표시한다(제10 공정).By the above process, in the example shown in Fig. 1, first, switch C (133) and switch D (134) are discriminated as terminal switches, switch B is discriminated as an upper switch of switch D (134), Switch A (131) can be discriminated as an upper switch of switch B (132) and switch C (133). After that, in step S114, the display control unit 110 displays the determined connection state of the plurality of switches on the display unit 111 (10th step).
판별된 접속 관계는, 예컨대, 도 3에 도시된 바와 같이, 표시부(111)에 표시된다. 표시부(111)의 표시 영역(111a)에는, 스위치 A(131), 스위치 B(132), 스위치 C(133), 스위치 D(134)의 다단의 계층 구조가, 트리 형식으로 도시된다.The determined connection relationship is displayed on the
또한, 마우스 등의 입력 기기를 이용하여, 입력부(113)로부터의 입력 지시 등에 의해, 표시부(111) 위에 있어서 포인터(141)를 조작하여, 표시부(111)에 표시되는 스위치 A(131)의 아이콘을 선택함으로써, 표시 영역(111b)에, 스위치 A(131)의 각 포트에 접속되어 있는 기기의 정보를 표시시킬 수도 있다. 예컨대, 표시 제어부(110)가, 포인터(141)가 스위치 A(131)의 아이콘에 겹치는 상태를 검출하면, 취득되어 있는 스위치 A(131)의 MAC 어드레스 테이블의 정보를 바탕으로, 스위치 A(131)의 각 포트에 접속되어 있는 기기의 정보(IP 어드레스 등)가, 기기를 나타내는 아이콘과 함께 표시된다.In addition, the icon of the
또한, 전술한 실시형태에 따른 네트워크 장치(100)는, 도 4에 도시된 바와 같이, CPU(Central Processing Unit; 중앙 연산 처리 장치)(301)와 주기억 장치(302)와 외부 기억 장치(303)와 네트워크 접속 장치(304) 등을 구비한 컴퓨터 기기로 하고, 주기억 장치(302)에 전개된 프로그램에 의해 CPU(301)가 동작함(프로그램을 실행함)으로써, 전술한 각 기능(네트워크 구성 판별 방법)이 실현되도록 할 수도 있다. 상기 프로그램은, 전술한 실시형태에서 나타낸 네트워크 구성 판별 방법을 컴퓨터가 실행하기 위한 프로그램이다. 네트워크 접속 장치(304)는, 네트워크(305)에 접속한다. 또한, 각 기능은, 복수의 컴퓨터 기기에 분산시킬 수도 있다.In addition, as shown in FIG. 4, the network device 100 according to the above-described embodiment includes a central processing unit (CPU) 301, a
이상으로 설명한 바와 같이, 본 발명에 따르면, MAC 어드레스의 취득을 위한 제1 지시를 브로드캐스트 메시지에 의해 네트워크에 송출한 후, 네트워크에 접속되어 있는 복수의 스위치 각각으로부터 MAC 어드레스 테이블을 취득하고, 취득한 복수의 MAC 어드레스 테이블을 바탕으로, 복수의 스위치끼리의 접속 상태를 판별하기 때문에, 네트워크에 있어서의 복수 스위치의 접속 구성을 파악할 수 있게 된다.As described above, according to the present invention, after the first instruction for acquiring the MAC address is transmitted to the network by means of a broadcast message, the MAC address table is acquired from each of a plurality of switches connected to the network, and the obtained Since the connection state of a plurality of switches is discriminated based on a plurality of MAC address tables, it is possible to grasp the connection configuration of a plurality of switches in the network.
또한, 본 발명은 이상으로 설명한 실시형태에 한정되는 것은 아니며, 본 발명의 기술적 사상 내에서, 당분야에 있어서 통상의 지식을 갖는 자에 의해, 많은 변형 및 조합을 실시할 수 있는 것은 명백하다.In addition, the present invention is not limited to the embodiments described above, and it is clear that many variations and combinations can be implemented by those skilled in the art within the technical idea of the present invention.
100 : 네트워크 장치 101 : 제1 지시부
102 : 제2 지시부 103 : 취득부
104 : 제1 처리부 105 : 제2 처리부
106 : 제3 처리부 107 : 제4 처리부
108 : 제5 처리부 109 : 판별부
110 : 표시 제어부 111 : 표시부
112 : 접속부 113 : 입력부
120 : 네트워크 131 : 스위치 A
132 : 스위치 B 133 : 스위치 C
134 : 스위치 D100: network device 101: first instruction unit
102: second instruction unit 103: acquisition unit
104: first processing unit 105: second processing unit
106: third processing unit 107: fourth processing unit
108: fifth processing unit 109: determination unit
110: display control unit 111: display unit
112: connection unit 113: input unit
120: network 131: switch A
132: switch B 133: switch C
134: switch D
Claims (6)
상기 제1 지시부가, 상기 제1 지시를 송출한 후, 상기 네트워크 상에 존재하지 않는 더미 IP 어드레스를 송신원으로서 설정한, 리퀘스트가 되돌아오는 디멘드 메시지를, 상기 복수의 스위치 각각에 대하여 송출시키는 제2 지시를, 상기 복수의 스위치 각각에 대하여 송신하도록 구성된 제2 지시부 - 상기 제2 지시를 수신한 상기 복수의 스위치 각각은 상기 더미 IP 어드레스의 ARP 리퀘스트를 브로드캐스트 송신함 - 와,
상기 제2 지시부가, 상기 제2 지시를 송신한 후, 상기 복수의 스위치 각각으로부터, 상기 네트워크를 통해 MAC 어드레스 테이블을 취득하도록 구성된 취득부 - 상기 복수의 스위치 각각의 MAC 어드레스 테이블에는 상기 복수의 스위치 중 자(自)스위치 이외의 모든 스위치의 MAC 어드레스가 등록되어 있음 - 와,
상기 취득부가 취득한 상기 복수의 스위치 각각의 MAC 어드레스 테이블로부터, 상기 복수의 스위치의 MAC 어드레스 이외의 MAC 어드레스를 제거하는 제1 처리를 하도록 구성된 제1 처리부와,
상기 제1 처리가 행해진 후, 상기 취득부가 취득한 MAC 어드레스 테이블 중에서, 하나의 포트에 자(自)스위치 이외의 모든 MAC 어드레스가 등록되어 있는 MAC 어드레스 테이블의 스위치를 말단 스위치로 설정하는 제2 처리를 하도록 구성된 제2 처리부와,
상기 제2 처리가 행해진 후, 하나의 포트에 상기 말단 스위치의 MAC 어드레스만이 설정된 MAC 어드레스 테이블의 스위치를, 상기 말단 스위치의 하나 상위에 접속하는 상위 스위치로 설정하는 제3 처리를 하도록 구성된 제3 처리부와,
상기 취득부가 취득한 상기 말단 스위치 이외의 다른 스위치의 MAC 어드레스 테이블로부터, 상기 말단 스위치의 MAC 어드레스를 삭제하는 제4 처리를 하도록 구성된 제4 처리부와,
상기 취득부가 취득한 MAC 어드레스 테이블 중으로부터, 하나의 포트에 하나의 MAC 어드레스만이 설정된 MAC 어드레스 테이블의 제1 스위치를 검색하고, 상기 제1 스위치가 하나 검색될 때마다, 검색된 상기 제1 스위치가 상기 상위 스위치에 해당하지 않는 경우는, 상기 제1 스위치의 MAC 어드레스 정보를, 상기 취득부가 취득한 MAC 어드레스 테이블 중으로부터 삭제하는 제5 처리를 하도록 구성된 제5 처리부와,
상기 제5 처리부에 의해 검색된 상기 제1 스위치와, 상기 제1 스위치의 MAC 어드레스 테이블 중에서 하나의 포트에 하나만이 설정되어 있는 MAC 어드레스의 제2 스위치와의 접속 관계를 바탕으로, 상기 복수의 스위치끼리의 접속 상태를 판별하도록 구성된 판별부와,
상기 판별부가 판별한 상기 복수의 스위치끼리의 접속 상태를, 표시부에 표시하도록 구성된 표시 제어부
를 구비하는 네트워크 장치.a first instructing unit configured to transmit, by a broadcast message or a multicast message, a first instruction for acquiring a MAC address to each of a plurality of switches connected to the network;
After the first instruction unit sends out the first instruction, a second instruction unit transmits, to each of the plurality of switches, a demand message returning a request to which a dummy IP address that does not exist on the network is set as a sender. a second indicator configured to transmit an instruction to each of the plurality of switches, each of the plurality of switches having received the second instruction broadcasts an ARP request for the dummy IP address;
an acquisition unit configured to, after the second instructing unit transmits the second instruction, acquire a MAC address table from each of the plurality of switches through the network - the MAC address table of each of the plurality of switches includes the plurality of switches The MAC addresses of all switches other than the main switch are registered - and,
a first processing unit configured to perform a first processing of removing MAC addresses other than the MAC addresses of the plurality of switches from the MAC address table of each of the plurality of switches acquired by the acquisition unit;
After the first processing is performed, a second processing of setting a switch in a MAC address table in which all MAC addresses other than its own switch are registered in one port as an end switch among the MAC address tables acquired by the acquisition unit; A second processing unit configured to;
After the second process is performed, a third process of setting a switch in a MAC address table in which only the MAC address of the end switch is set in one port to an upper switch connected to one upper end switch of the end switch is performed. processing unit,
a fourth processing unit configured to perform fourth processing of deleting the MAC addresses of the terminal switches from the MAC address tables of switches other than the terminal switches acquired by the acquisition unit;
From the MAC address table acquired by the acquiring unit, a first switch in the MAC address table in which only one MAC address is set for one port is searched, and each time one of the first switches is searched, the searched first switch is set to the first switch. a fifth processing unit configured to perform a fifth processing of deleting the MAC address information of the first switch from the MAC address table acquired by the acquisition unit when it does not correspond to the upper switch;
Based on the connection relationship between the first switch searched by the fifth processing unit and the second switch of which only one MAC address is set in one port from the MAC address table of the first switch, the plurality of switches A determination unit configured to determine the connection state of;
A display control unit configured to display on a display unit the connection state of the plurality of switches determined by the determination unit.
A network device comprising:
상기 제1 지시는, ARP 리퀘스트 또는 IPv6의 Neighbor Solicitation인 것을 특징으로 하는 네트워크 장치.According to claim 1,
The network device, characterized in that the first indication is an ARP request or Neighbor Solicitation of IPv6.
상기 복수의 스위치는, SNMP 프로토콜로 접속되어 있는 것을 특징으로 하는 네트워크 장치.According to claim 1 or 2,
The plurality of switches are connected by SNMP protocol.
상기 제1 공정에서, 상기 제1 지시를 송출한 후, 상기 네트워크 상에 존재하지 않는 더미 IP 어드레스를 송신원으로서 설정한, 리퀘스트가 되돌아오는 디멘드 메시지를, 상기 복수 스위치 각각에 대하여 송출시키는 제2 지시를, 상기 복수의 스위치 각각에 대하여 송신하는 제2 공정 - 상기 제2 지시를 수신한 상기 복수의 스위치 각각은 상기 더미 IP 어드레스의 ARP 리퀘스트를 브로드캐스트 송신함 - 과,
상기 제2 공정에서, 상기 제2 지시를 송신한 후, 상기 복수의 스위치 각각으로부터, 상기 네트워크를 통해 MAC 어드레스 테이블을 취득하는 제3 공정 - 상기 복수의 스위치 각각의 MAC 어드레스 테이블에는 상기 복수의 스위치 중 자(自)스위치 이외의 모든 스위치의 MAC 어드레스가 등록되어 있음 - 과,
상기 제3 공정에서 취득된 상기 복수의 스위치 각각의 MAC 어드레스 테이블로부터, 상기 복수의 스위치의 MAC 어드레스 이외의 MAC 어드레스를 제거하는 제1 처리를 하는 제4 공정과,
상기 제1 처리가 행해진 후, 상기 제3 공정에서 취득된 MAC 어드레스 테이블 중에서, 하나의 포트에 자스위치 이외의 모든 MAC 어드레스가 등록되어 있는 MAC 어드레스 테이블의 스위치를 말단 스위치로 설정하는 제2 처리를 하는 제5 공정과,
상기 제2 처리가 행해진 후, 하나의 포트에 상기 말단 스위치의 MAC 어드레스만이 설정된 MAC 어드레스 테이블의 스위치를 상기 말단 스위치의 하나 상위에 접속하는 상위 스위치로 설정하는 제3 처리를 하는 제6 공정과,
상기 제3 공정에서 취득된 상기 말단 스위치 이외의 다른 스위치의 MAC 어드레스 테이블로부터, 상기 말단 스위치의 MAC 어드레스를 삭제하는 제4 처리를 하는 제7 공정과,
상기 제3 공정에서 취득된 MAC 어드레스 테이블 중으로부터, 하나의 포트에 하나의 MAC 어드레스만이 설정된 MAC 어드레스 테이블의 제1 스위치를 검색하고, 상기 제1 스위치가 하나 검색될 때마다, 검색된 상기 제1 스위치가 상기 상위 스위치에 해당하지 않는 경우는, 상기 제1 스위치의 MAC 어드레스 정보를, 상기 제3 공정이 취득한 MAC 어드레스 테이블 중으로부터 삭제하는 제5 처리를 하는 제8 공정과,
상기 제8 공정에서 검색된 상기 제1 스위치와, 상기 제1 스위치의 MAC 어드레스 테이블 중에서 하나의 포트에 하나만이 설정되어 있는 MAC 어드레스의 제2 스위치와의 접속 관계를 바탕으로, 상기 복수의 스위치끼리의 접속 상태를 판별하는 제9 공정과,
상기 제9 공정에서 판별된 상기 복수의 스위치끼리의 접속 상태를, 표시부에 표시하는 제10 공정
을 포함하는 네트워크 구성 판별 방법.A first step of sending a first instruction for obtaining a MAC address to each of a plurality of switches connected to the network by a broadcast message or a multicast message;
In the first step, after sending the first instruction, a second instruction for sending, to each of the plurality of switches, a demand message to which a request is returned, which sets a dummy IP address that does not exist on the network as the sender. a second step of transmitting to each of the plurality of switches - each of the plurality of switches receiving the second instruction broadcasts an ARP request for the dummy IP address;
In the second step, after transmitting the second instruction, a third step of obtaining a MAC address table from each of the plurality of switches through the network - the MAC address table of each of the plurality of switches includes the plurality of switches MAC addresses of all switches other than the main switch are registered - and,
A fourth step of performing a first process of removing MAC addresses other than the MAC addresses of the plurality of switches from the MAC address table of each of the plurality of switches obtained in the third step;
After the first process is performed, a second process of setting a switch in the MAC address table in which all MAC addresses other than the host switch are registered in one port as an end switch among the MAC address tables obtained in the third process. A fifth step to do;
A sixth step of performing a third process of setting a switch in the MAC address table in which only the MAC address of the terminal switch is set in one port as an upper switch connected to one higher level of the terminal switch after the second process is performed; ,
a seventh step of performing a fourth process of deleting the MAC addresses of the terminal switches from the MAC address tables of switches other than the terminal switches obtained in the third process;
From the MAC address table acquired in the third step, a first switch in the MAC address table in which only one MAC address is set for one port is searched, and each time one of the first switches is searched, the searched first switch is searched. an eighth process of performing a fifth process of deleting the MAC address information of the first switch from the MAC address table acquired in the third process, when the switch does not correspond to the upper switch;
Based on the connection relationship between the first switch found in the eighth step and the second switch of which only one MAC address is set in one port from the MAC address table of the first switch, A ninth step of determining the connection state;
A tenth step of displaying on a display unit the connection state of the plurality of switches determined in the ninth step.
Network configuration determination method comprising a.
상기 제1 지시는, ARP 리퀘스트 또는 IPv6의 Neighbor Solicitation인 것을 특징으로 하는 네트워크 구성 판별 방법.According to claim 4,
The method of claim 1 , wherein the first indication is an ARP request or Neighbor Solicitation of IPv6.
상기 복수의 스위치는, SNMP 프로토콜로 접속되어 있는 것을 특징으로 하는 네트워크 구성 판별 방법.According to claim 4 or 5,
The network configuration determination method, characterized in that the plurality of switches are connected by SNMP protocol.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020052645A JP7393264B2 (en) | 2020-03-24 | 2020-03-24 | Network devices and network configuration determination method |
JPJP-P-2020-052645 | 2020-03-24 |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20210119313A KR20210119313A (en) | 2021-10-05 |
KR102544882B1 true KR102544882B1 (en) | 2023-06-16 |
Family
ID=77809016
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020210035199A KR102544882B1 (en) | 2020-03-24 | 2021-03-18 | Network device and method for determining network configuration |
Country Status (3)
Country | Link |
---|---|
JP (1) | JP7393264B2 (en) |
KR (1) | KR102544882B1 (en) |
CN (1) | CN113452545B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010097273A (en) * | 2008-10-14 | 2010-04-30 | Institute Of Physical & Chemical Research | Network configuration information acquisition method and device |
Family Cites Families (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004056465A (en) * | 2002-07-19 | 2004-02-19 | Victor Co Of Japan Ltd | Network management device and computer program |
KR20100006679A (en) * | 2008-07-10 | 2010-01-21 | 청강문화산업대학 산학협력단 | Location search method of host using ethernet network apparatus connection structure |
JP5935859B2 (en) * | 2010-06-01 | 2016-06-15 | ヤマハ株式会社 | Topology detection system, relay device, and program |
US8914503B2 (en) | 2011-11-15 | 2014-12-16 | Riverbed Technology, Inc. | Detected IP link and connectivity inference |
CN103036725B (en) * | 2012-12-17 | 2015-08-19 | 华为技术有限公司 | A kind of method of discovering network topology and network management device |
JP6771855B2 (en) | 2014-06-02 | 2020-10-21 | ヤマハ株式会社 | Relay device and program |
JP6446891B2 (en) | 2014-07-29 | 2019-01-09 | 富士通株式会社 | COMMUNICATION CONTROL DEVICE, COMMUNICATION CONTROL METHOD, AND COMMUNICATION CONTROL PROGRAM |
CN104184624A (en) * | 2014-09-19 | 2014-12-03 | 上海斐讯数据通信技术有限公司 | Network topology searching system and method |
CN104579979A (en) * | 2015-01-21 | 2015-04-29 | 武汉微创光电股份有限公司 | Network topology discovery method based on MAC information |
KR102303689B1 (en) | 2016-05-27 | 2021-09-17 | 어페로, 인크. | Systems and methods for establishing secure communication channels with Internet of Things (IoT) devices |
CN108206792B (en) * | 2016-12-16 | 2020-10-23 | 北京神州泰岳软件股份有限公司 | Topological structure discovery method and device of switch |
CN110679115A (en) | 2017-06-05 | 2020-01-10 | 雅马哈株式会社 | Communication control device, communication control method, and program for executing communication control method |
CN108282362B (en) * | 2017-12-29 | 2021-05-14 | 武汉璞华大数据技术有限公司 | Network topology generation method, device and equipment |
CN113572645B (en) * | 2018-10-12 | 2024-04-05 | 北京信研汇智信息技术有限公司 | Method, device, storage medium and processor for generating network topology |
-
2020
- 2020-03-24 JP JP2020052645A patent/JP7393264B2/en active Active
-
2021
- 2021-03-12 CN CN202110268295.0A patent/CN113452545B/en active Active
- 2021-03-18 KR KR1020210035199A patent/KR102544882B1/en active IP Right Grant
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010097273A (en) * | 2008-10-14 | 2010-04-30 | Institute Of Physical & Chemical Research | Network configuration information acquisition method and device |
Also Published As
Publication number | Publication date |
---|---|
JP2021153247A (en) | 2021-09-30 |
CN113452545B (en) | 2023-11-14 |
JP7393264B2 (en) | 2023-12-06 |
CN113452545A (en) | 2021-09-28 |
KR20210119313A (en) | 2021-10-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110661669B (en) | Network topology automatic discovery method of network equipment based on ICMP, TCP and UDP protocols | |
CN110401568B (en) | Network topology discovery method and equipment | |
JP2016540448A (en) | Virtual extended LAN communication method, apparatus, and system | |
CN108737275B (en) | Plug-and-play satellite-borne network management method based on SpaceFibre | |
EP3032850A1 (en) | Service discovery technique in wireless communication network for forming p2p group | |
US20190245785A1 (en) | Output device discovery using network switches | |
US7921218B2 (en) | Method and system for generating a space signature | |
CN111935763A (en) | Method and network system for improving data transmission reliability in wireless grid network | |
KR102544882B1 (en) | Network device and method for determining network configuration | |
US20040184458A1 (en) | Network information detection apparatus and method | |
US20010007567A1 (en) | Address management apparatus and address management method | |
CN109842692B (en) | VxLAN switch, system and method for obtaining host information in physical network | |
JP2008072519A (en) | Apparatus and method for searching device, and program | |
KR102549279B1 (en) | Network device and network configuration determining method | |
US20090316599A1 (en) | Information processing apparatus | |
CN116782255A (en) | Same-frequency subnet fusion method and device, communication node and storage medium | |
JP6411262B2 (en) | Control device and system | |
CN110022219B (en) | Network cluster detection method and system, electronic device and storage medium | |
CN110691023A (en) | Address system | |
CN113595894A (en) | Communication method, device, equipment and medium between service nodes and client nodes | |
CN113037704B (en) | Detection device and detection method | |
JP5691612B2 (en) | Communication system, router, switching hub, and program | |
KR100550012B1 (en) | The method of managing ARP table for fast packet forwarding and managing unit there of. | |
US11606242B1 (en) | Coordinated monitoring of legacy output devices | |
JP7444249B2 (en) | Table entry count measuring device, method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant |