CN107707429B - Method and system for discovering IP route interruption - Google Patents
Method and system for discovering IP route interruption Download PDFInfo
- Publication number
- CN107707429B CN107707429B CN201710965294.5A CN201710965294A CN107707429B CN 107707429 B CN107707429 B CN 107707429B CN 201710965294 A CN201710965294 A CN 201710965294A CN 107707429 B CN107707429 B CN 107707429B
- Authority
- CN
- China
- Prior art keywords
- route
- network
- routing
- router
- time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- 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/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
-
- 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]
Landscapes
- Engineering & Computer Science (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
A method of discovering IP routing interruptions, comprising: step A, SNMP communication is carried out on a router in a network; b, acquiring OID information of the router in a real-time or periodic mode; step C, judging the inconsistency of the network route obtained in the previous and subsequent times; and D, comparing whether the network is abnormally interrupted. A system for discovering IP route interruption comprises a server and a router, wherein the server comprises a route information acquisition module, a judgment module and a comparison module; the routing information acquisition module is used for carrying out SNMP communication on the router in the network and acquiring OID information of the router in a real-time or periodic mode; the judging module is used for judging the inconsistency of the network route obtained twice before and after; and the comparison module is used for comparing whether the network is abnormally interrupted. The invention can quickly judge the interruption of the IP route, quickly determine the influenced IP section and has high efficiency.
Description
Technical Field
The present invention relates to the field of network technologies, and in particular, to a method and a system for discovering IP routing interruption.
Background
The most basic network resource of the internet is that an IP address can be reached, the IP addresses used at present are all ipv4, and the IP address is the basic resource for bearing all applications of the internet. The network is typically either unreachable or represents an application service outage. Network monitoring is often important, but often monitoring monitors reachability for a particular IP address. The traditional method for discovering the IP route interruption excessively depends on the judgment of the experience of people, and the troubleshooting is time-consuming.
Disclosure of Invention
The invention aims to provide a method and a system for discovering IP route interruption, which can quickly judge the interruption of an IP route, quickly determine an affected IP section and have high efficiency.
In order to achieve the purpose, the invention adopts the following technical scheme:
a method of discovering IP routing interruptions, comprising:
step A, SNMP communication is carried out on a router in a network;
b, acquiring OID information of the router in a real-time or periodic mode;
step C, judging the inconsistency of the network route obtained in the previous and subsequent times;
and D, comparing whether the network is abnormally interrupted.
Further, the router has a plurality of routers, and SNMP communication is performed simultaneously for the plurality of routers.
Further, the type of the network route is one or more of a direct connection route, a static route, an OSPF route, an RIP route, and an ISIS route, and the inconsistency of the direct connection route obtained in the previous and subsequent two times is judged in real time or periodically.
A system for discovering IP route interruption includes
The system comprises a server and a router, wherein the server comprises a routing information acquisition module, a judgment module and a comparison module;
the routing information acquisition module is used for carrying out SNMP communication on the router in the network and acquiring OID information of the router in a real-time or periodic mode;
the judging module is used for judging the inconsistency of the network route obtained twice before and after;
and the comparison module is used for comparing whether the network is abnormally interrupted.
Further, the number of the routers is multiple, and the routing information acquisition module performs SNMP communication on the multiple routers at the same time.
Further, the type of the network route is one or more of a direct connection route, a static route, an OSPF route, an RIP route, and an ISIS route, and the inconsistency of the direct connection route obtained in the previous and subsequent two times is judged in real time or periodically.
The invention can quickly judge the interruption of the IP route, quickly determine the influenced IP section and has high efficiency.
Drawings
FIG. 1 is a flow diagram of a method of discovering an IP route disruption, in accordance with one embodiment of the present invention;
fig. 2 is a schematic diagram of a system for discovering IP routing interruption according to one embodiment of the present invention.
Wherein: the system comprises a server 1, an information acquisition module 11, a judgment module 12, a comparison module 13 and a router 2.
Detailed Description
The technical scheme of the invention is further explained by the specific implementation mode in combination with the attached drawings.
A method of discovering IP routing interruptions, comprising:
step A, SNMP communication is carried out on a router in a network;
b, acquiring OID information of the router in a real-time or periodic mode;
step C, judging the inconsistency of the network route obtained in the previous and subsequent times;
and D, comparing whether the network is abnormally interrupted.
In the prior art, the method for judging the IP route interruption is to firstly interrupt the IP, also needs to search the IP route condition of relevant routing equipment, and finally confirms the IP influence range.
According to the method for discovering the IP routing interruption, SNMP communication is firstly carried out on routers in a network, the SNMP refers to a simple network management protocol, monitored routing OID information is obtained through the SNMP, and Object Identifiers (OIDs) are also called Internet of things domain names, namely, what routing protocol each routing entry obtains through, what IP network segment is, and all routing protocols can be obtained through the OID information;
the method has the advantages that the related routing protocols are concerned, the learned routing change values can detect all routing protocols, the device is judged, and the routing changes announced by other devices can be judged by using the local routing information change according to the change of the dynamic routing protocol, so that the influence range of the IP network segment is judged.
Obtaining OID information of the router in a real-time or periodic mode, wherein the real-time or periodic mode is used for alarming; by judging the inconsistency of the network routing obtained twice before and after, and comparing whether the network is abnormally interrupted or not, if the network is abnormally interrupted, a network administrator is informed of the abnormality, and the affected IP section is reported.
By the method, the interruption of the IP route can be judged quickly, the affected IP section can be determined quickly, and the efficiency is high.
Further, the router has a plurality of routers, and SNMP communication is performed simultaneously for the plurality of routers.
The efficiency of discovering the interruption of the IP route can be improved.
Further, the type of the network route is one or more of a direct connection route, a static route, an OSPF route, an RIP route, and an ISIS route, and the inconsistency of the direct connection route obtained in the previous and subsequent two times is judged in real time or periodically.
The method can quickly judge the inconsistency of the network route acquired twice before and after, thereby quickly determining the affected IP section. OSPF refers to open short path first open shortest path first routing protocol, RIP refers to routing information protocol, and ISIS refers to hierarchical link state routing protocol.
In this embodiment, an OSPF route is taken as an example for explanation, for example, the OIDs for acquiring the route entry at the 1 st time are 100, and the acquired protocol is OSPF; the first sub-network segment is 1.0.0.0/24-100.0.0.0/24;
the OID of the routing entry obtained at the 2 nd time is 90, and the obtained protocol is OSPF; the network segment is 1.0.0.0/24-90.0.0.0/24; comparing the obtained results of the previous and the next 2 times, the IP range section with the influence is 91.0.0.0/24-100.0.0.0/24.
A system for discovering IP route interruption includes
The router comprises a server 1 and a router 2, wherein the server 1 comprises a routing information acquisition module 11, a judgment module 12 and a comparison module 13;
a routing information obtaining module 11, configured to perform SNMP communication on a router in a network, and obtain OID information of the router in a real-time or periodic manner;
the judging module 12 is configured to judge inconsistency of obtaining network routes twice before and after;
and the comparison module 13 is used for comparing whether the network is abnormally interrupted.
In the prior art, the method for judging the IP route interruption is to firstly interrupt the IP, also needs to search the IP route condition of relevant routing equipment, and finally confirms the IP influence range.
According to the method for discovering the IP routing interruption, SNMP communication is firstly carried out on routers in a network, the SNMP refers to a simple network management protocol, monitored routing OID information is obtained through the SNMP, and Object Identifiers (OIDs) are also called Internet of things domain names, namely, what routing protocol each routing entry obtains through, what IP network segment is, and all routing protocols can be obtained through the OID information;
the method has the advantages that the related routing protocols are concerned, the learned routing change values can detect all routing protocols, the device is judged, and the routing changes announced by other devices can be judged by using the local routing information change according to the change of the dynamic routing protocol, so that the influence range of the IP network segment is judged.
Obtaining OID information of the router in a real-time or periodic mode, wherein the real-time or periodic mode is used for alarming; by judging the inconsistency of the network routing obtained twice before and after, and comparing whether the network is abnormally interrupted or not, if the network is abnormally interrupted, a network administrator is informed of the abnormality, and the affected IP section is reported.
By the method, the interruption of the IP route can be judged quickly, the affected IP section can be determined quickly, and the efficiency is high.
Further, there are a plurality of routers, and the routing information obtaining module 11 performs SNMP communication for the plurality of routers at the same time.
The efficiency of discovering the interruption of the IP route can be improved.
Further, the type of the network route is one or more of a direct connection route, a static route, an OSPF route, an RIP route, and an ISIS route, and the inconsistency of the direct connection route obtained in the previous and subsequent two times is judged in real time or periodically.
The system can quickly judge the inconsistency of the network route acquired twice before and after, thereby quickly determining the affected IP section. OSPF refers to open short path first open shortest path first routing protocol, RIP refers to routing information protocol, and ISIS refers to hierarchical link state routing protocol.
In this embodiment, an OSPF route is taken as an example for explanation, for example, the OIDs for acquiring the route entry at the 1 st time are 100, and the acquired protocol is OSPF; the first sub-network segment is 1.0.0.0/24-100.0.0.0/24;
the OID of the routing entry obtained at the 2 nd time is 90, and the obtained protocol is OSPF; network segment is
1.0.0.0/24-90.0.0.0/24; comparing the obtained results of the previous and the next 2 times, the IP range section with the influence is 91.0.0.0/24-100.0.0.0/24.
The technical principle of the present invention is described above in connection with specific embodiments. The description is made for the purpose of illustrating the principles of the invention and should not be construed in any way as limiting the scope of the invention. Based on the explanations herein, those skilled in the art will be able to conceive of other embodiments of the present invention without inventive effort, which would fall within the scope of the present invention.
Claims (4)
1. A method of discovering IP route interruptions, characterized by: the method comprises the following steps:
step A, SNMP communication is carried out on a router in a network;
b, acquiring object identifier OID information of the router in a real-time or periodic mode;
step C, acquiring the number of entries, protocols and IP range sections of the network routing OID for the first time, acquiring the number of entries, protocols and IP range sections of the network routing OID for the second time, and judging the inconsistency of the network routing acquired for the previous time and the next time;
step D, comparing the obtained results of the previous and subsequent times, comparing whether the network is abnormally interrupted, and reporting the affected IP range section;
the router has a plurality of routers and simultaneously carries out SNMP communication on the plurality of routers.
2. The method of claim 1, wherein the method comprises:
the type of the network route is one or more of a direct connection route, a static route, an OSPF route, an RIP route and an ISIS route, and the inconsistency of the direct connection route obtained in the previous and subsequent two times is judged in real time or periodically.
3. A system for discovering IP routing interruptions using a method for discovering IP routing interruptions according to claim 1 or claim 2, characterized by: comprises that
The system comprises a server and a router, wherein the server comprises a routing information acquisition module, a judgment module and a comparison module;
the routing information acquisition module is used for carrying out SNMP communication on the router in the network and acquiring OID information of the router in a real-time or periodic mode;
the judging module is used for acquiring the number of entries, the protocol and the IP range section of the network routing OID for the first time, acquiring the number of entries, the protocol and the IP range section of the network routing OID for the second time, and judging the inconsistency of the network routing acquired before and after twice;
the comparison module is used for comparing whether the network is abnormally interrupted or not and reporting the affected IP range section through the comparison of the obtained results of the previous and subsequent times;
the router has a plurality of routers, and the routing information acquisition module is used for carrying out SNMP communication on the plurality of routers simultaneously.
4. A system for discovering IP routing interruptions according to claim 3, characterized by:
the type of the network route is one or more of a direct connection route, a static route, an OSPF route, an RIP route and an ISIS route, and the inconsistency of the direct connection route obtained in the previous and subsequent two times is judged in real time or periodically.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710965294.5A CN107707429B (en) | 2017-10-17 | 2017-10-17 | Method and system for discovering IP route interruption |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710965294.5A CN107707429B (en) | 2017-10-17 | 2017-10-17 | Method and system for discovering IP route interruption |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107707429A CN107707429A (en) | 2018-02-16 |
CN107707429B true CN107707429B (en) | 2021-09-07 |
Family
ID=61183779
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710965294.5A Active CN107707429B (en) | 2017-10-17 | 2017-10-17 | Method and system for discovering IP route interruption |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107707429B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7151548B2 (en) * | 2019-02-26 | 2022-10-12 | 富士通株式会社 | anomaly detection program, Anomaly detection method and anomaly detection device |
CN113411306A (en) * | 2021-05-14 | 2021-09-17 | 郑州埃文计算机科技有限公司 | IP user discovery method based on data mining |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7292541B1 (en) * | 2004-01-28 | 2007-11-06 | Novell, Inc. | Methods and systems for unnumbered network link discovery |
CN101365169B (en) * | 2007-08-09 | 2011-11-02 | 华为技术有限公司 | Routing control implementing method, system, media gateway and media gateway controller |
CN101753266B (en) * | 2009-12-23 | 2012-12-26 | 上海全景数字技术有限公司 | Network topology search and error control optimization method of coaxially-loading Ethernet equipment |
CN102273133B (en) * | 2011-04-29 | 2013-04-17 | 华为技术有限公司 | Method, device and system for diagnosing network faults |
CN102215132A (en) * | 2011-06-16 | 2011-10-12 | 奥维通信股份有限公司 | Embedded SNMP (Simple Network Management Protocol) management end data collecting device, system and method based on database |
CN103873379B (en) * | 2012-12-18 | 2017-12-12 | 中国科学院声学研究所 | A kind of distributed route based on overlay network is anti-to ruin tactics configuring method and system |
CN104135418B (en) * | 2013-05-03 | 2017-09-15 | 中国移动通信集团内蒙古有限公司 | It is a kind of to realize two layers of method and device for coordinating to switch with Layer3 Virtual Private Network |
CN104702431B (en) * | 2013-12-10 | 2018-10-26 | 中国移动通信集团内蒙古有限公司 | A kind of method and device of Virtual Private Network double break protection |
CN104113448A (en) * | 2014-07-14 | 2014-10-22 | 蓝盾信息安全技术有限公司 | Method for automatically finding and monitoring devices in local area network |
CN106453123A (en) * | 2016-09-30 | 2017-02-22 | 广州视睿电子科技有限公司 | Cross-region service processing method and device |
CN107959627B (en) * | 2016-10-14 | 2021-02-12 | 华为技术有限公司 | Address transmission method and network equipment |
CN107196856A (en) * | 2017-07-31 | 2017-09-22 | 杭州迪普科技股份有限公司 | A kind of method and apparatus for determining routing forwarding path |
-
2017
- 2017-10-17 CN CN201710965294.5A patent/CN107707429B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN107707429A (en) | 2018-02-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9692679B2 (en) | Event triggered traceroute for optimized routing in a computer network | |
CN108123824B (en) | Network fault detection method and device | |
US8811193B2 (en) | Network path discovery and analysis | |
US8605603B2 (en) | Route convergence based on ethernet operations, administration, and maintenance protocol | |
US9602374B2 (en) | Systems and methods for collecting and analyzing data to determine link quality and stability in layer two networks | |
US20140133289A1 (en) | Ethernet fault management systems and methods | |
US10862735B2 (en) | Method and apparatus for implementing operation, administration, and maintenance function | |
CN108449210B (en) | Network routing fault monitoring system | |
CN102195857A (en) | Network topology structure and node information gathering method | |
JP4390649B2 (en) | Network loop detector | |
JP6581631B2 (en) | Path probing using edge completion rate | |
CN111786804A (en) | Link fault monitoring method and device | |
EP2553870A1 (en) | An operations, administrations and management proxy and a method for handling operations, administrations and management messages | |
CN107707429B (en) | Method and system for discovering IP route interruption | |
US7995488B2 (en) | Connectivity fault management for ethernet tree (E-Tree) type services | |
JP2018078543A (en) | Trace route node and identification of corresponding device | |
CN103457794B (en) | Method and system for confirming faults of IP bearer network | |
US8467301B2 (en) | Router misconfiguration diagnosis | |
US20140325279A1 (en) | Target failure based root cause analysis of network probe failures | |
CN105187276A (en) | Link connection/disconnection detection method and system under OSPFv3 protocol in IPV6 network environment | |
EP3602967A1 (en) | Network availability measurement aggregation and correlation | |
Senthilkumaran et al. | Memory and load-aware traffic rerouting (mltr) in openflow-based sdn | |
CN105262852A (en) | Network segment collision detection method and system under OSPFv3 protocol in IPV network environment | |
CN105281974A (en) | Router on-off state detection method and system under OSPFv3 protocol in IPV6 network environment | |
US12034588B1 (en) | Diagnostics reporting for wide area network assurance system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |