CN112929241A - Network testing method and device - Google Patents

Network testing method and device Download PDF

Info

Publication number
CN112929241A
CN112929241A CN202110327136.3A CN202110327136A CN112929241A CN 112929241 A CN112929241 A CN 112929241A CN 202110327136 A CN202110327136 A CN 202110327136A CN 112929241 A CN112929241 A CN 112929241A
Authority
CN
China
Prior art keywords
address
test
network
destination
target
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.)
Granted
Application number
CN202110327136.3A
Other languages
Chinese (zh)
Other versions
CN112929241B (en
Inventor
杨晓红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Security Technologies Co Ltd
Original Assignee
New H3C Security Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Security Technologies Co Ltd filed Critical New H3C Security Technologies Co Ltd
Priority to CN202110327136.3A priority Critical patent/CN112929241B/en
Publication of CN112929241A publication Critical patent/CN112929241A/en
Application granted granted Critical
Publication of CN112929241B publication Critical patent/CN112929241B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]

Abstract

The embodiment of the invention provides a network testing method and a device, which relate to the technical field of communication and are applied to target network equipment directly connected with a target testing end, wherein the target network equipment stores table entries, and the table entries record that: and the corresponding relation between the IP address of the target test end and the MAC address of the target test end. Wherein, the method comprises the following steps: receiving a test message with a first IP address of a destination network device as a destination address, wherein the test message carries a first subnet mask of the first IP address. And determining whether the IP address belonging to the same network segment with the first IP address is recorded in the table entry or not according to the first subnet mask. If so, generating a response message with the destination address as the source address of the test message, and sending the response message, so that the source network equipment determines the network test result based on the response message. By applying the network testing method provided by the embodiment of the invention, the success rate of network testing can be improved.

Description

Network testing method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a network testing method and apparatus.
Background
In the prior art, Network Quality Analyzer (NQA) technology may be used to test Network performance of a Network between two test terminals. Specifically, the two test terminals may be referred to as a source test terminal and a destination test terminal, respectively. And the source test terminal sends a test message to the destination test terminal, wherein the destination address of the test message is the IP address of the destination test terminal, and the test message can be sent to the destination test terminal after being forwarded by the network equipment. The target test end can feed back a response message to the source test end after receiving the test message. If the source test end can receive the response message, the network communication between the source test end and the destination test end is described, and the source test end can determine the network condition between the source test end and the destination test end according to the information carried in the response message.
However, the IP address of the destination test end may be a dynamic address, and if the IP address of the destination test end changes, the test packet generated by the source test end based on the original IP address of the destination test segment is difficult to be sent to the destination test end, thereby causing a network test failure.
Disclosure of Invention
The embodiment of the invention aims to provide a network testing method and a network testing device so as to improve the success probability of network testing. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a network testing method, which is applied to a target network device directly connected to a target testing end, where the target network device stores a table entry, and the table entry records: the method comprises the following steps of:
receiving a test message with a first IP address of the destination network device as a destination address, wherein the test message carries a first subnet mask of the first IP address;
determining whether an IP address belonging to the same network segment as the first IP address is recorded in the table entry according to the first subnet mask;
if so, generating a response message with the destination address as the source address of the test message, and sending the response message, so that the source network equipment determines a network test result based on the response message, wherein the source network equipment is directly connected with the source test end.
In an embodiment of the present invention, the table entry further records a port of the destination network device, which is used for forwarding a packet to the MAC address;
before the generating the response message with the destination address as the source address of the test message, the method further includes:
judging whether the port recorded in the target table entry is the configured port of the target network device, wherein the target table entry is: the recorded IP address and the first IP address belong to a same network segment table entry;
if so, executing the step of generating the response message with the destination address as the source address of the test message.
In an embodiment of the present invention, the entry is an address resolution protocol ARP entry.
In a second aspect, an embodiment of the present invention provides a network testing method, which is applied to a source network device directly connected to a source test end, where the method includes:
the method comprises the steps of obtaining a first IP address of target network equipment and a first subnet mask of the first IP address, wherein the target network equipment is directly connected with a target test end;
generating a test message which takes the first IP address as a destination address and carries the first subnet mask;
sending the test message to enable the target network equipment to generate and send a response message based on the test message;
and receiving the response message, and determining a network test result based on the response message.
In a third aspect, an embodiment of the present invention provides a network testing apparatus, which is applied to a target network device directly connected to a target testing end, where the target network device stores a table entry, and the table entry records: the corresponding relation between the IP address of the target test end and the MAC address of the target test end, the device comprises:
a message receiving module, configured to receive a test message using a first IP address of the destination network device as a destination address, where the test message carries a first subnet mask of the first IP address;
an address determining module, configured to determine, according to the first subnet mask, whether an IP address that belongs to the same network segment as the first IP address is recorded in the table entry;
and the response message sending module is used for generating a response message with a destination address as the source address of the test message and sending the response message under the condition that the determination result of the address determination module is yes, so that the source network equipment determines a network test result based on the response message, wherein the source network equipment is directly connected with the source test end.
In an embodiment of the present invention, the table entry further records a port of the destination network device, where the port is used to forward a packet to the MAC address, and the apparatus further includes:
a port judgment module, configured to judge whether a port recorded in a target entry is a port configured by the destination network device, if so, trigger execution of the response packet sending module, where the target entry is: and the recorded IP address and the first IP address belong to the same network segment table entry.
In an embodiment of the present invention, the entry is an address resolution protocol ARP entry.
In a fourth aspect, an embodiment of the present invention provides a network test apparatus, which is applied to a source network device directly connected to a source test end, where the apparatus includes:
the device comprises an address obtaining module, a first testing module and a second testing module, wherein the address obtaining module is used for obtaining a first IP address of target network equipment and a first subnet mask of the first IP address, and the target network equipment is directly connected with a target testing end;
the message generating module is used for generating a test message which takes the first IP address as a destination address and carries the first subnet mask;
a test message sending module, configured to send the test message, so that the destination network device generates and sends a response message based on the test message;
and the result determining module is used for receiving the response message and determining a network test result based on the response message.
In a fifth aspect, an embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor and the communication interface complete communication between the memory and the processor through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any one of the first or second aspects when executing a program stored in the memory.
In a sixth aspect, the present invention provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the method steps of any one of the first aspect or the second aspect.
In a seventh aspect, an embodiment of the present invention further provides a computer program product including instructions, which, when executed on a computer, cause the computer to perform the method steps of any one of the first aspect or the second aspect.
The embodiment of the invention has the following beneficial effects:
the embodiment of the present invention provides a target network device directly connected to a target test end, where the target network device stores a table entry, and the table entry records: and the corresponding relation between the IP address of the target test end and the MAC address of the target test end. The target network device receives a test message with the first IP address of the target network device as a target address. And determining whether the IP address belonging to the same network segment as the first IP address is recorded in the table entry or not according to the first subnet mask carried in the test message. If so, generating a response message with the destination address as the source address of the test message, and sending the response message, so that the source network equipment determines the network test result based on the response message.
As can be seen from the above, since the first IP address of the destination network device directly connected to the destination test end in the network is often fixed, the test packet is generated by using the first IP address as the destination address, and can be smoothly sent to the destination network device in most cases. Because the target network device is directly connected with the target test end, the target network device and the target test end usually belong to the same network segment, and the IP address of the target test end always belongs to the network segment no matter whether the IP address of the target test end is changed or not. The test message carries a first subnet mask of the destination network device, so that the destination network device can determine whether the destination network device stores an IP address belonging to the same network segment as the first IP address according to the first subnet mask, and can also determine whether the destination network device stores a corresponding relationship between the IP address of the destination test terminal and the MAC address. If so, the destination network device can theoretically forward the packet to the destination test end according to the MAC address of the destination test end, so as to determine network connectivity from the source test end to the destination test end. In the process of the network test, the test message does not need to be actually sent to the target test end, so that even if the IP address of the target test end changes, the network communication from the source test end to the target test end can be determined, and the success rate of the network test can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a network test system according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a first network testing method according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a second network testing method according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of a third network testing method according to an embodiment of the present invention;
fig. 5 is a schematic flowchart of a fourth network testing method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a first network test apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a second network test apparatus according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of another electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived from the embodiments given herein by one of ordinary skill in the art, are within the scope of the invention.
Because the success probability of network testing in the prior art is low, in order to solve the problem, the embodiment of the invention provides a network testing method and a network testing device.
In an embodiment of the present invention, a network testing method is provided, which is applied to a target network device directly connected to a target testing end, where the target network device stores a table entry, and the table entry records: the correspondence between the IP address of the destination test end and the MAC address of the destination test end, the method includes:
and receiving a test message with the first IP address of the destination network equipment as a destination address. Wherein, the test message carries the first subnet mask of the first IP address.
And determining whether the IP address belonging to the same network segment with the first IP address is recorded in the table entry according to the first subnet mask.
If so, generating a response message with the destination address as the source address of the test message, and sending the response message, so that the source network equipment determines the network test result based on the response message. And the source network equipment is directly connected with the source test end.
As can be seen from the above, since the first IP address of the destination network device directly connected to the destination test end in the network is often fixed, the test packet is generated by using the first IP address as the destination address, and can be smoothly sent to the destination network device in most cases. Because the target network device is directly connected with the target test end, the target network device and the target test end usually belong to the same network segment, and the IP address of the target test end always belongs to the network segment no matter whether the IP address of the target test end is changed or not. The test message carries a first subnet mask of the destination network device, so that the destination network device can determine whether the destination network device stores an IP address belonging to the same network segment as the first IP address according to the first subnet mask, and can also determine whether the destination network device stores a corresponding relationship between the IP address of the destination test terminal and the MAC address. If so, the destination network device can theoretically forward the packet to the destination test end according to the MAC address of the destination test end, so as to determine network connectivity from the source test end to the destination test end. In the process of the network test, the test message does not need to be actually sent to the target test end, so that even if the IP address of the target test end changes, the network communication from the source test end to the target test end can be determined, and the success rate of the network test can be improved.
In another embodiment of the present invention, a network testing method is further provided, which is applied to a source network device directly connected to a source testing end, and the method includes:
a first IP address of a destination network device and a first subnet mask of the first IP address are obtained. And the target network equipment is directly connected with the target test end.
And generating a test message which takes the first IP address as a destination address and carries the first subnet mask.
And sending the test message to enable the target network equipment to generate and send a response message based on the test message.
And receiving the response message, and determining a network test result based on the response message.
As can be seen from the above, the source network device sends a test message, and the destination network device can generate and send a response message based on the test message after receiving the test message, and if the source network device receives the response message, it indicates that the test message is successfully sent to the destination network device, and the source network device and the destination network device are in network communication, so that the network test process can be implemented by the embodiment of the present invention. In addition, the destination address of the test packet generated by the source network device is the first IP address of the destination network device, which is not changed, so that the test packet may be successfully sent to the destination network device, and the success rate of the network test may be improved.
The following describes a network testing method and device provided by the embodiments of the present invention with specific embodiments.
Referring to fig. 1, a schematic structural diagram of a network test system according to an embodiment of the present invention is provided.
The network test system includes a source test end 101, a destination test end 104, a source network device 102 directly connected to the source test end 101, and a destination network device 103 directly connected to the destination test end 104, where the source network device 102 and the destination network device 103 may be directly connected to each other or indirectly connected to each other through other network devices.
Specifically, the process of testing the network performance of the network between the source test end 101 and the destination test end 104 may be implemented by RFC2544, TWAMP-light (Two-Way Active Measurement Protocol-light) and other manners in the NQA technology.
In addition, the destination network device 103 stores an entry recording a correspondence relationship between the IP address of the destination tester 104 and the MAC address of the destination tester 104.
After the connection is established between the destination test end 104 and the destination network device 103, the destination test end 104 may send its MAC address and the current IP address to the destination network device 103, and the destination network device 103 may store the received IP address and MAC address in an entry. After the connection between the destination test end 104 and the destination network device 103 is disconnected, the destination network device 103 may delete the entry corresponding to the destination test end 104.
Referring to fig. 2, a flowchart of a first network testing method according to an embodiment of the present invention is shown.
S201: the source network device 102 obtains a first IP address of the destination network device 103 and a first subnet mask of the first IP address.
Specifically, the first IP address and the first subnet mask may be input by a worker in the source network device 102.
For example, the first IP address is 192.168.20.1, and the subnet mask is 255.255.255.0.
S202: the source network device 102 generates a test packet which takes the first IP address as a destination address and carries the first subnet mask.
The test message may be a message generated based on an NQA technique and used for performing an NQA test.
In addition, the source address of the test packet is the second IP address of the source network device 102, and the test packet also carries a second subnet mask that may have the second IP address.
Specifically, the source address, the destination address, the first subnet mask, and the second subnet mask that may be included in the Test packet may be referred to as a Test group, and the Test group is identified by the number of the Test session.
S203: the source network device 102 sends the test packet.
In an embodiment of the present invention, when the table entry stored in the source network device 102 records a corresponding relationship between the first IP address and the MAC address of the destination network device 103, the source network device 102 may directly forward the test packet according to the recorded MAC address of the destination network device 103.
If the source network Address 102 does not store the entry in which the correspondence between the first IP Address and the MAC Address of the destination network device is recorded, an ARP request may be broadcasted to other network devices in the network based on an ARP (Address Resolution Protocol) in the prior art, and an ARP response with the MAC Address of the destination network device 103, which is fed back by the destination network device 103 after receiving the ARP request, is waited for, so as to obtain the MAC Address of the destination network device 103.
Specifically, the ARP-based protocol is a protocol in the prior art, and is not described in detail in the embodiments of the present invention.
S204: the destination network device 103 determines whether an IP address belonging to the same network segment as the first IP address is recorded in the table entry according to the first subnet mask.
Specifically, the first subnet mask is used to indicate which bits of the first IP address are used to indicate the network segment address to which the first IP address belongs, so that the network segment address to which the first IP address belongs can be determined according to the first subnet mask. For example, if the first IP address is 192.168.20.1 and the subnet mask is 255.255.255.0, the network segment address is 192.168.20.0.
Further, it may be determined whether the network segment address of the IP address recorded in each entry is the same as the determined network segment address, and if there is an entry in which the network segment address of the recorded IP address is the same as the determined network segment address, it may be determined that an IP address belonging to the same network segment as the first IP address is recorded in the entry.
In addition, since the target network device 103 is directly connected to the target test node 104, the target test node 104 and the target network device 103 may belong to the same network segment, and the target test node 104 may change an IP address in the network segment, that is, the target test node 104 belongs to the network segment regardless of a change in the IP address of the target test node 104, and thus if the IP address of the target test node 104 is recorded in the table entry stored in the target network device 103, the IP address and the first IP address belong to the same network segment.
S205: the destination network device 103 generates a response message whose destination address is the source address of the test message when it is determined that the IP address belonging to the same network segment as the first IP address is recorded in the table entry.
Specifically, if an IP address belonging to the same network segment as the first IP address is recorded in the table entry, it is described that the destination network device 103 stores a correspondence between the IP address of the destination test end 104 and the MAC address, and theoretically, the destination network device 103 can forward the test packet to the destination test end 104. And, since the destination network device 103 successfully receives the test packet, it can be considered that the network from the source test end 101 to the destination test end 104 is connected. The response message may be fed back so that the source network device determines network connectivity.
The source address of the response packet is the destination address of the test packet, that is, the first IP address, and the destination address of the response packet is the source address of the test packet, that is, the IP address of the source network device 102. In addition, the response message may further include time information of the destination test end 104 receiving the test message, which is used to indicate the time of the destination test end 104 receiving the test message.
Moreover, under the condition that the test message carries the second subnet mask, the response message may also carry the second subnet mask.
S206: the destination network device 103 sends the response message.
Specifically, the manner in which the destination network device 103 sends the response packet is similar to the manner in which the source network device 102 sends the test packet shown in step S203, and details of this embodiment of the present invention are not repeated.
S207: the source network device 102 determines a network test result based on the response message.
When the source network device 102 receives the response packet, which indicates that the test packet is successfully sent to the destination network device 103, and the destination network device 103 determines that it can forward the packet to the destination test end 104, the received response packet indicates that the source test end 101 and the destination test end 104 are in network connection.
The source network device 102 may also determine, according to time information included in the response message, a time at which the target network device 103 receives the test message, and, in combination with the time at which the test message is sent, may test network performance between the source test end 101 and the target test end 104, to obtain test results including time delay jitter, total time delay of HTTP (HyperText Transfer Protocol), and obtaining of time delay of an IP address by using a DHCP (Dynamic Host Configuration Protocol), test results including connection time delay of TCP (Transmission Control Protocol), connection time delay of FTP (File Transfer Protocol), and File Transfer rate, and specifically, the test results may be obtained by using an NQA technology in the prior art, which is not described in detail in the embodiments of the present invention.
As can be seen from the above, since the first IP address of the destination network device directly connected to the destination test end in the network is often fixed, the test packet is generated by using the first IP address as the destination address, and can be smoothly sent to the destination network device in most cases. Because the target network device is directly connected with the target test end, the target network device and the target test end usually belong to the same network segment, and the IP address of the target test end always belongs to the network segment no matter whether the IP address of the target test end is changed or not. The test message carries a first subnet mask of the destination network device, so that the destination network device can determine whether the destination network device stores an IP address belonging to the same network segment as the first IP address according to the first subnet mask, and can also determine whether the destination network device stores a corresponding relationship between the IP address of the destination test terminal and the MAC address. If so, the destination network device can theoretically forward the packet to the destination test end according to the MAC address of the destination test end, so as to determine network connectivity from the source test end to the destination test end. In the process of the network test, the test message does not need to be actually sent to the target test end, so that even if the IP address of the target test end changes, the network communication from the source test end to the target test end can be determined, and the success rate of the network test can be improved.
Referring to fig. 3, a flowchart of a second network testing method provided in the embodiment of the present invention is applied to a target network device directly connected to a target testing end, where the target network device stores a table entry, and the table entry records: and the corresponding relation between the IP address of the target test end and the MAC address of the target test end.
The entry may be an ARP entry.
The above method includes the following steps S301 to S303.
S301: and receiving a test message with the first IP address of the destination network equipment as a destination address.
Wherein, the test message carries the first subnet mask of the first IP address.
S302: and determining whether the IP address belonging to the same network segment with the first IP address is recorded in the table entry according to the first subnet mask.
If so, it means that the destination network device can forward the packet to the destination test end, and step S303 is executed, otherwise, it means that the destination network device cannot forward the packet to the destination test end, and the network between the source test end and the destination test end is not connected.
S303: and generating a response message with the destination address as the source address of the test message, and sending the response message, so that the source network equipment determines a network test result based on the response message.
And the source network equipment is directly connected with the source test end.
Specifically, the steps S301 to S303 are similar to the steps S204 to S206 shown in fig. 2, and are not repeated herein in the embodiment of the present invention.
As can be seen from the above, since the first IP address of the destination network device directly connected to the destination test end in the network is often fixed, the test packet is generated by using the first IP address as the destination address, and can be smoothly sent to the destination network device in most cases. Because the target network device is directly connected with the target test end, the target network device and the target test end usually belong to the same network segment, and the IP address of the target test end always belongs to the network segment no matter whether the IP address of the target test end is changed or not. The test message carries a first subnet mask of the destination network device, so that the destination network device can determine whether the destination network device stores an IP address belonging to the same network segment as the first IP address according to the first subnet mask, and can also determine whether the destination network device stores a corresponding relationship between the IP address of the destination test terminal and the MAC address. If so, the destination network device can theoretically forward the packet to the destination test end according to the MAC address of the destination test end, so as to determine network connectivity from the source test end to the destination test end. In the process of the network test, the test message does not need to be actually sent to the target test end, so that even if the IP address of the target test end changes, the network communication from the source test end to the target test end can be determined, and the success rate of the network test can be improved.
Referring to fig. 4, which is a flowchart illustrating a third network testing method according to an embodiment of the present invention, the table entry further records a port of the destination network device for forwarding a packet to the MAC address, and compared with the embodiment shown in fig. 3, before the step S303, the method further includes the following step S304.
S304: and judging whether the port recorded in the target table entry is the configured port of the target network equipment.
Wherein, the target table entry is: the recorded IP address and the first IP address belong to the same network segment.
Specifically, since the port of the destination network device may be changed, for example, the port is disabled, and the IP address of the port is changed, the port recorded in the target entry may be different from the configured port of the current destination network device, and the message is directly forwarded through the port recorded in the target entry, which may cause a failure in forwarding the message. Therefore, it may be determined whether the port recorded in the target entry is a port already configured by the target network device, and if so, it indicates that the port recorded in the target entry is available, and theoretically, it may be considered that the target network device may forward the packet to the target test end, so that network connectivity from the source test end to the target test end may be determined. The above-described step S303 may be performed.
As can be seen from the above, before generating and sending the response packet, it is determined whether the port recorded in the target table entry is the configured port of the target network device, and if so, it is determined that the port recorded in the target table entry is available, and then the network connection from the source test end to the target test end is determined, so that the accuracy of the network test can be improved.
Referring to fig. 5, a flowchart of a fourth network testing method provided in the embodiment of the present invention is applied to a source network device directly connected to a source testing end, where the method includes the following steps S501 to S504.
S501: a first IP address of a destination network device and a first subnet mask of the first IP address are obtained.
And the target network equipment is directly connected with the target test end.
S502: and generating a test message which takes the first IP address as a destination address and carries the first subnet mask.
S503: and sending the test message to enable the target network equipment to generate and send a response message based on the test message.
Steps S501 to S503 are similar to steps S201 to S203, and are not described again in this embodiment of the present invention.
S504: and receiving the response message, and determining a network test result based on the response message.
Step S504 is similar to step S207, and is not described again in this embodiment of the present invention.
As can be seen from the above, the source network device sends a test message, and the destination network device can generate and send a response message based on the test message after receiving the test message, and if the source network device receives the response message, it indicates that the test message is successfully sent to the destination network device, and the source network device and the destination network device are in network communication, so that the network test process can be implemented by the embodiment of the present invention. In addition, the destination address of the test packet generated by the source network device is the first IP address of the destination network device, which is not changed, so that the test packet may be successfully sent to the destination network device, and the success rate of the network test may be improved.
Corresponding to the network testing method applied to the target network device, the embodiment of the invention also provides a network testing device applied to the target network device.
Referring to fig. 6, a schematic structural diagram of a first network testing apparatus provided in an embodiment of the present invention is applied to a destination network device directly connected to a destination testing end, where the destination network device stores a table entry, and the table entry records: the corresponding relation between the IP address of the target test end and the MAC address of the target test end, the device comprises:
a message receiving module 601, configured to receive a test message using a first IP address of the destination network device as a destination address, where the test message carries a first subnet mask of the first IP address;
an address determining module 602, configured to determine, according to the first subnet mask, whether an IP address that belongs to the same network segment as the first IP address is recorded in the table entry;
a response message sending module 603, configured to generate a response message with a destination address as the source address of the test message and send the response message when the determination result of the address determining module 602 is yes, so that a source network device determines a network test result based on the response message, where the source network device is directly connected to a source test end.
As can be seen from the above, since the first IP address of the destination network device directly connected to the destination test end in the network is often fixed, the test packet is generated by using the first IP address as the destination address, and can be smoothly sent to the destination network device in most cases. Because the target network device is directly connected with the target test end, the target network device and the target test end usually belong to the same network segment, and the IP address of the target test end always belongs to the network segment no matter whether the IP address of the target test end is changed or not. The test message carries a first subnet mask of the destination network device, so that the destination network device can determine whether the destination network device stores an IP address belonging to the same network segment as the first IP address according to the first subnet mask, and can also determine whether the destination network device stores a corresponding relationship between the IP address of the destination test terminal and the MAC address. If so, the destination network device can theoretically forward the packet to the destination test end according to the MAC address of the destination test end, so as to determine network connectivity from the source test end to the destination test end. In the process of the network test, the test message does not need to be actually sent to the target test end, so that even if the IP address of the target test end changes, the network communication from the source test end to the target test end can be determined, and the success rate of the network test can be improved.
In an embodiment of the present invention, the table entry further records a port of the destination network device, where the port is used to forward a packet to the MAC address, and the apparatus further includes:
a port determining module, configured to determine whether a port recorded in a target entry is a port already configured by the destination network device, if so, trigger execution of the response packet sending module 603, where the target entry is: and the recorded IP address and the first IP address belong to the same network segment table entry.
As can be seen from the above, before generating and sending the response packet, it is determined whether the port recorded by the target table entry is the configured port of the target network device, and if so, it is determined that the port recorded by the target table entry is available, and then the network connection from the source test end to the target test end is determined, so that the accuracy of the network test can be improved
In an embodiment of the present invention, the entry is an ARP entry.
Corresponding to the network testing method applied to the source network device, the embodiment of the invention also provides a network testing device applied to the source network device.
Referring to fig. 7, a schematic structural diagram of a second network testing apparatus provided in an embodiment of the present invention is applied to a source network device directly connected to a source testing end, where the apparatus includes:
an address obtaining module 701, configured to obtain a first IP address of a destination network device and a first subnet mask of the first IP address, where the destination network device is directly connected to a destination test end;
a message generating module 702, configured to generate a test message that takes the first IP address as a destination address and carries the first subnet mask;
a test packet sending module 703, configured to send the test packet, so that the destination network device generates and sends a response packet based on the test packet;
and a result determining module 704, configured to receive the response packet, and determine a network test result based on the response packet.
As can be seen from the above, the source network device sends a test message, and the destination network device can generate and send a response message based on the test message after receiving the test message, and if the source network device receives the response message, it indicates that the test message is successfully sent to the destination network device, and the source network device and the destination network device are in network communication, so that the network test process can be implemented by the embodiment of the present invention. In addition, the destination address of the test packet generated by the source network device is the first IP address of the destination network device, which is not changed, so that the test packet may be successfully sent to the destination network device, and the success rate of the network test may be improved.
An embodiment of the present invention further provides an electronic device, which is a destination network device directly connected to a destination test end, as shown in fig. 8, and includes a processor 801, a communication interface 802, a memory 803, and a communication bus 804, where the processor 801, the communication interface 802, and the memory 803 complete mutual communication through the communication bus 804,
a memory 803 for storing a computer program;
the processor 801 is configured to implement the method steps of any of the above-described network test methods applied to the target network device when executing the program stored in the memory 803.
When the electronic device provided by the embodiment of the invention is used for network test with a target network device, because the first IP address of the target network device directly connected with the target test end in the network is often fixed, the first IP address is used as the target address to generate a test message, and the test message can be smoothly sent to the target network device under most conditions. Because the target network device is directly connected with the target test end, the target network device and the target test end usually belong to the same network segment, and the IP address of the target test end always belongs to the network segment no matter whether the IP address of the target test end is changed or not. The test message carries a first subnet mask of the destination network device, so that the destination network device can determine whether the destination network device stores an IP address belonging to the same network segment as the first IP address according to the first subnet mask, and can also determine whether the destination network device stores a corresponding relationship between the IP address of the destination test terminal and the MAC address. If so, the destination network device can theoretically forward the packet to the destination test end according to the MAC address of the destination test end, so as to determine network connectivity from the source test end to the destination test end. In the process of the network test, the test message does not need to be actually sent to the target test end, so that even if the IP address of the target test end changes, the network communication from the source test end to the target test end can be determined, and the success rate of the network test can be improved.
The embodiment of the present invention further provides another electronic device, as a device connected to a source network, as shown in fig. 9, including a processor 901, a communication interface 902, a memory 903, and a communication bus 904, where the processor 901, the communication interface 902, and the memory 903 complete mutual communication through the communication bus 904,
a memory 903 for storing computer programs;
the processor 901 is configured to implement the method steps of any of the above network test methods applied to the source network device when executing the program stored in the memory 903.
When the electronic device serving as the source network device provided by the embodiment of the invention is applied to network test, the source network device sends a test message, the target network device can generate and send a response message based on the test message after receiving the test message, and if the source network device receives the response message, the test message is successfully sent to the target network device, and the source network device and the target network device are in network communication, so that the process of the network test can be realized through the embodiment of the invention. In addition, the destination address of the test packet generated by the source network device is the first IP address of the destination network device, which is not changed, so that the test packet may be successfully sent to the destination network device, and the success rate of the network test may be improved.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
In yet another embodiment provided by the present invention, a computer-readable storage medium is further provided, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps of any one of the above-mentioned network test methods applied to a destination network device.
When the computer program stored in the computer-readable storage medium provided by the embodiment of the present invention is executed to perform a network test, since a first IP address of a destination network device directly connected to a destination test end in a network is often fixed, a test packet is generated by using the first IP address as a destination address, and the test packet can be smoothly sent to the destination network device in most cases. Because the target network device is directly connected with the target test end, the target network device and the target test end usually belong to the same network segment, and the IP address of the target test end always belongs to the network segment no matter whether the IP address of the target test end is changed or not. The test message carries a first subnet mask of the destination network device, so that the destination network device can determine whether the destination network device stores an IP address belonging to the same network segment as the first IP address according to the first subnet mask, and can also determine whether the destination network device stores a corresponding relationship between the IP address of the destination test terminal and the MAC address. If so, the destination network device can theoretically forward the packet to the destination test end according to the MAC address of the destination test end, so as to determine network connectivity from the source test end to the destination test end. In the process of the network test, the test message does not need to be actually sent to the target test end, so that even if the IP address of the target test end changes, the network communication from the source test end to the target test end can be determined, and the success rate of the network test can be improved.
In yet another embodiment of the present invention, a computer-readable storage medium is further provided, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps of any of the above-mentioned network test methods applied to a source network device.
When executing a network test of a computer program stored in a computer-readable storage medium provided in an embodiment of the present invention, the source network device sends a test packet, and the destination network device may generate and send a response packet based on the test packet after receiving the test packet, and if the source network device receives the response packet, it indicates that the test packet is successfully sent to the destination network device, and the source network device and the destination network device are in network connectivity. In addition, the destination address of the test packet generated by the source network device is the first IP address of the destination network device, which is not changed, so that the test packet may be successfully sent to the destination network device, and the success rate of the network test may be improved.
In yet another embodiment of the present invention, a computer program product containing instructions is further provided, which when run on a computer causes the computer to perform the steps of any one of the above-mentioned methods of the network test method applied to a destination network device in the above-mentioned embodiments.
When the computer program provided by the embodiment of the present invention is executed to perform a network test, since a first IP address of a destination network device directly connected to a destination test end in a network is often fixed, a test packet is generated using the first IP address as a destination address, and the test packet can be smoothly sent to the destination network device in most cases. Because the target network device is directly connected with the target test end, the target network device and the target test end usually belong to the same network segment, and the IP address of the target test end always belongs to the network segment no matter whether the IP address of the target test end is changed or not. The test message carries a first subnet mask of the destination network device, so that the destination network device can determine whether the destination network device stores an IP address belonging to the same network segment as the first IP address according to the first subnet mask, and can also determine whether the destination network device stores a corresponding relationship between the IP address of the destination test terminal and the MAC address. If so, the destination network device can theoretically forward the packet to the destination test end according to the MAC address of the destination test end, so as to determine network connectivity from the source test end to the destination test end. In the process of the network test, the test message does not need to be actually sent to the target test end, so that even if the IP address of the target test end changes, the network communication from the source test end to the target test end can be determined, and the success rate of the network test can be improved.
In a further embodiment provided by the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the steps of any of the methods of the above embodiments applied to a network test method of a source network device.
When the computer program provided by the embodiment of the present invention is executed to perform a network test, the source network device sends a test message, the destination network device may generate and send a response message based on the test message after receiving the test message, and if the source network device receives the response message, it indicates that the test message is successfully sent to the destination network device, and the source network device and the destination network device are in network communication, so that the process of the network test can be implemented by the embodiment of the present invention. In addition, the destination address of the test packet generated by the source network device is the first IP address of the destination network device, which is not changed, so that the test packet may be successfully sent to the destination network device, and the success rate of the network test may be improved.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the method, the apparatus, the electronic device, the computer-readable storage medium and the computer program product, since they are substantially similar to the method embodiments, the description is relatively simple, and in relation to what can be referred to the partial description of the method embodiments.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. A network test method is characterized in that the method is applied to a target network device directly connected with a target test end, wherein the target network device stores a table entry, and the table entry records: the method comprises the following steps of:
receiving a test message with a first IP address of the destination network device as a destination address, wherein the test message carries a first subnet mask of the first IP address;
determining whether an IP address belonging to the same network segment as the first IP address is recorded in the table entry according to the first subnet mask;
if so, generating a response message with the destination address as the source address of the test message, and sending the response message, so that the source network equipment determines a network test result based on the response message, wherein the source network equipment is directly connected with the source test end.
2. The method according to claim 1, wherein the table entry further records a port of the destination network device for forwarding packets to the MAC address;
before the generating the response message with the destination address as the source address of the test message, the method further includes:
judging whether the port recorded in the target table entry is the configured port of the target network device, wherein the target table entry is: the recorded IP address and the first IP address belong to a same network segment table entry;
if so, executing the step of generating the response message with the destination address as the source address of the test message.
3. The method according to claim 1 or 2, wherein the entry is an address resolution protocol, ARP, entry.
4. A network testing method is applied to source network equipment directly connected with a source testing end, and the method comprises the following steps:
the method comprises the steps of obtaining a first IP address of target network equipment and a first subnet mask of the first IP address, wherein the target network equipment is directly connected with a target test end;
generating a test message which takes the first IP address as a destination address and carries the first subnet mask;
sending the test message to enable the target network equipment to generate and send a response message based on the test message;
and receiving the response message, and determining a network test result based on the response message.
5. A network testing device is characterized in that the network testing device is applied to a target network device directly connected with a target testing end, wherein the target network device stores a table entry, and the table entry records: the corresponding relation between the IP address of the target test end and the MAC address of the target test end, the device comprises:
a message receiving module, configured to receive a test message using a first IP address of the destination network device as a destination address, where the test message carries a first subnet mask of the first IP address;
an address determining module, configured to determine, according to the first subnet mask, whether an IP address that belongs to the same network segment as the first IP address is recorded in the table entry;
and the response message sending module is used for generating a response message with a destination address as the source address of the test message and sending the response message under the condition that the determination result of the address determination module is yes, so that the source network equipment determines a network test result based on the response message, wherein the source network equipment is directly connected with the source test end.
6. The apparatus of claim 5, wherein the table entry further records a port of the destination network device for forwarding packets to the MAC address, and wherein the apparatus further comprises:
a port judgment module, configured to judge whether a port recorded in a target entry is a port configured by the destination network device, if so, trigger execution of the response packet sending module, where the target entry is: and the recorded IP address and the first IP address belong to the same network segment table entry.
7. The apparatus according to claim 5 or 6, wherein the entry is an address resolution protocol, ARP, entry.
8. A network test device is applied to a source network device directly connected with a source test terminal, and the device comprises:
the device comprises an address obtaining module, a first testing module and a second testing module, wherein the address obtaining module is used for obtaining a first IP address of target network equipment and a first subnet mask of the first IP address, and the target network equipment is directly connected with a target testing end;
the message generating module is used for generating a test message which takes the first IP address as a destination address and carries the first subnet mask;
a test message sending module, configured to send the test message, so that the destination network device generates and sends a response message based on the test message;
and the result determining module is used for receiving the response message and determining a network test result based on the response message.
9. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1-3 or 4 when executing a program stored in the memory.
10. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1-3 or 4.
CN202110327136.3A 2021-03-26 2021-03-26 Network testing method and device Active CN112929241B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110327136.3A CN112929241B (en) 2021-03-26 2021-03-26 Network testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110327136.3A CN112929241B (en) 2021-03-26 2021-03-26 Network testing method and device

Publications (2)

Publication Number Publication Date
CN112929241A true CN112929241A (en) 2021-06-08
CN112929241B CN112929241B (en) 2022-06-21

Family

ID=76176215

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110327136.3A Active CN112929241B (en) 2021-03-26 2021-03-26 Network testing method and device

Country Status (1)

Country Link
CN (1) CN112929241B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113489649A (en) * 2021-06-29 2021-10-08 新华三信息安全技术有限公司 Table entry storage method and device
CN114268603A (en) * 2021-11-09 2022-04-01 国网浙江省电力有限公司宁波供电公司 Method and equipment for automatically acquiring IP address of power distribution automation terminal
CN115086208A (en) * 2022-06-14 2022-09-20 深信服科技股份有限公司 Network card detection method and device, electronic equipment and storage medium
CN116192653A (en) * 2023-04-28 2023-05-30 明阳时创(北京)科技有限公司 Route visualization method, system, medium and equipment

Citations (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2858896A1 (en) * 2003-08-12 2005-02-18 France Telecom METHOD OF MASKING APPLICATION TREATMENTS OF SERVER ACCESS REQUEST AND CORRESPONDING MASKING SYSTEM
US20050044199A1 (en) * 2003-08-06 2005-02-24 Kenta Shiga Storage network management system and method
CN101272291A (en) * 2008-04-29 2008-09-24 北京星网锐捷网络技术有限公司 Network appliance testing method and system
CN102075426A (en) * 2011-01-14 2011-05-25 中兴通讯股份有限公司 Message transmission method under MFF manual mode and device
US7970938B1 (en) * 2006-08-16 2011-06-28 Vmware, Inc. IP subnet discovery with ranked results
US20110252462A1 (en) * 2010-04-07 2011-10-13 International Business Machines Corporation Authenticating a Remote Host to a Firewall
CN102638407A (en) * 2012-04-17 2012-08-15 北京星网锐捷网络技术有限公司 Message forwarding method, device and network equipment
CN102655473A (en) * 2011-03-03 2012-09-05 华为技术有限公司 Communication method, equipment and system
CN102752209A (en) * 2012-07-09 2012-10-24 杭州华三通信技术有限公司 Rapid address switchover method used for realizing backup service and route forwarding unit
CN102752152A (en) * 2012-07-24 2012-10-24 杭州华三通信技术有限公司 Method and device used for configuring VRRP (Virtual Router Redundancy Protocol) backup group
CN103957288A (en) * 2014-04-28 2014-07-30 福建星网锐捷网络有限公司 Method, device and equipment for IP address dynamic allocation
CN104092614A (en) * 2014-07-30 2014-10-08 杭州华三通信技术有限公司 Method and device for updating address resolution information
CN104283783A (en) * 2014-10-11 2015-01-14 杭州华三通信技术有限公司 Gateway equipment message transmitting method and device in plug and play network
US20150222540A1 (en) * 2014-01-31 2015-08-06 Aruba Networks Inc. Distributed gateway for local subnet
CN105227390A (en) * 2014-06-27 2016-01-06 中兴通讯股份有限公司 The method of quick test CPU forwarding performance and device
CN106452949A (en) * 2016-09-27 2017-02-22 上海斐讯数据通信技术有限公司 Equipment, system and method for detecting network delay of router
CN106453678A (en) * 2016-09-29 2017-02-22 北京东土科技股份有限公司 IP address allocation method and system
CN106713525A (en) * 2016-12-29 2017-05-24 华为技术有限公司 Configuration communication parameter method, device and system
US20170279705A1 (en) * 2016-03-24 2017-09-28 Juniper Networks, Inc. Method, system, and apparatus for preventing tromboning in inter-subnet traffic within data center architectures
CN108833605A (en) * 2018-05-30 2018-11-16 四川斐讯信息技术有限公司 A kind of method and system for checking local area network all devices IP and MAC
CN109479014A (en) * 2016-07-12 2019-03-15 是德科技新加坡(销售)私人有限公司 Method, system and the computer-readable medium for carrying out network test configuration are scanned using virtual LAN (VLAN)
CN110062064A (en) * 2019-05-30 2019-07-26 新华三信息安全技术有限公司 A kind of Address Resolution Protocol ARP request message response method and device
CN110224936A (en) * 2019-06-12 2019-09-10 四川灵通电讯有限公司 Method for routing based on MAC Address and network interface
CN110460684A (en) * 2019-07-10 2019-11-15 锐捷网络股份有限公司 The broadcast domain partition method and device of VXLAN same network segment

Patent Citations (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050044199A1 (en) * 2003-08-06 2005-02-24 Kenta Shiga Storage network management system and method
FR2858896A1 (en) * 2003-08-12 2005-02-18 France Telecom METHOD OF MASKING APPLICATION TREATMENTS OF SERVER ACCESS REQUEST AND CORRESPONDING MASKING SYSTEM
US7970938B1 (en) * 2006-08-16 2011-06-28 Vmware, Inc. IP subnet discovery with ranked results
CN101272291A (en) * 2008-04-29 2008-09-24 北京星网锐捷网络技术有限公司 Network appliance testing method and system
US20110252462A1 (en) * 2010-04-07 2011-10-13 International Business Machines Corporation Authenticating a Remote Host to a Firewall
CN102075426A (en) * 2011-01-14 2011-05-25 中兴通讯股份有限公司 Message transmission method under MFF manual mode and device
CN102655473A (en) * 2011-03-03 2012-09-05 华为技术有限公司 Communication method, equipment and system
CN102638407A (en) * 2012-04-17 2012-08-15 北京星网锐捷网络技术有限公司 Message forwarding method, device and network equipment
CN102752209A (en) * 2012-07-09 2012-10-24 杭州华三通信技术有限公司 Rapid address switchover method used for realizing backup service and route forwarding unit
CN102752152A (en) * 2012-07-24 2012-10-24 杭州华三通信技术有限公司 Method and device used for configuring VRRP (Virtual Router Redundancy Protocol) backup group
US20150222540A1 (en) * 2014-01-31 2015-08-06 Aruba Networks Inc. Distributed gateway for local subnet
CN103957288A (en) * 2014-04-28 2014-07-30 福建星网锐捷网络有限公司 Method, device and equipment for IP address dynamic allocation
CN105227390A (en) * 2014-06-27 2016-01-06 中兴通讯股份有限公司 The method of quick test CPU forwarding performance and device
CN104092614A (en) * 2014-07-30 2014-10-08 杭州华三通信技术有限公司 Method and device for updating address resolution information
CN104283783A (en) * 2014-10-11 2015-01-14 杭州华三通信技术有限公司 Gateway equipment message transmitting method and device in plug and play network
US20170279705A1 (en) * 2016-03-24 2017-09-28 Juniper Networks, Inc. Method, system, and apparatus for preventing tromboning in inter-subnet traffic within data center architectures
CN109479014A (en) * 2016-07-12 2019-03-15 是德科技新加坡(销售)私人有限公司 Method, system and the computer-readable medium for carrying out network test configuration are scanned using virtual LAN (VLAN)
CN106452949A (en) * 2016-09-27 2017-02-22 上海斐讯数据通信技术有限公司 Equipment, system and method for detecting network delay of router
CN106453678A (en) * 2016-09-29 2017-02-22 北京东土科技股份有限公司 IP address allocation method and system
CN106713525A (en) * 2016-12-29 2017-05-24 华为技术有限公司 Configuration communication parameter method, device and system
CN108833605A (en) * 2018-05-30 2018-11-16 四川斐讯信息技术有限公司 A kind of method and system for checking local area network all devices IP and MAC
CN110062064A (en) * 2019-05-30 2019-07-26 新华三信息安全技术有限公司 A kind of Address Resolution Protocol ARP request message response method and device
CN110224936A (en) * 2019-06-12 2019-09-10 四川灵通电讯有限公司 Method for routing based on MAC Address and network interface
CN110460684A (en) * 2019-07-10 2019-11-15 锐捷网络股份有限公司 The broadcast domain partition method and device of VXLAN same network segment

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
DTS/MTS-IPT-007-IPV6-COREITS: "Technical Specification Methods for Testing and Specification (MTS); Internet Protocol Testing (IPT); IPv6 Core Protocol; Interoperability Test Suite (ITS)", 《ETSI TS 102 517》 *
赵军: "移动IPv6协议安全性分析与改进", 《南通纺织职业技术学院学报》 *
顾成武等: "基于ICMP的IP地址回收技术研究", 《电脑知识与技术》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113489649A (en) * 2021-06-29 2021-10-08 新华三信息安全技术有限公司 Table entry storage method and device
CN113489649B (en) * 2021-06-29 2022-07-22 新华三信息安全技术有限公司 Table entry storage method and device
CN114268603A (en) * 2021-11-09 2022-04-01 国网浙江省电力有限公司宁波供电公司 Method and equipment for automatically acquiring IP address of power distribution automation terminal
CN114268603B (en) * 2021-11-09 2023-09-22 国网浙江省电力有限公司宁波供电公司 Method and equipment for automatically acquiring IP address of power distribution automation terminal
CN115086208A (en) * 2022-06-14 2022-09-20 深信服科技股份有限公司 Network card detection method and device, electronic equipment and storage medium
CN116192653A (en) * 2023-04-28 2023-05-30 明阳时创(北京)科技有限公司 Route visualization method, system, medium and equipment

Also Published As

Publication number Publication date
CN112929241B (en) 2022-06-21

Similar Documents

Publication Publication Date Title
CN112929241B (en) Network testing method and device
CN110519265B (en) Method and device for defending attack
US8166547B2 (en) Method, apparatus, signals, and medium for managing a transfer of data in a data network
WO2022057318A1 (en) Stream pulling request processing method, apparatus and system, electronic device, and storage medium
US11848845B2 (en) Content delivery network server testing
CN113472607B (en) Application program network environment detection method, device, equipment and storage medium
CN109561164B (en) NAT table entry management method and device and NAT equipment
CN108429739B (en) Method, system and terminal equipment for identifying honeypots
WO2020259551A1 (en) Method and apparatus for handling network connection fault
CN110113440B (en) Request response method, device and terminal
CN109756401B (en) Test method, test device, electronic equipment and storage medium
CN111953770B (en) Route forwarding method and device, route equipment and readable storage medium
CN108183926B (en) Data packet processing method and device
CN112152928A (en) Neighbor table entry learning method and device and routing equipment
CN112217918B (en) IPv6 address conflict detection method and device in SDN network
CN113347084B (en) Message forwarding method and device
CN112511440B (en) Message forwarding method, system, storage medium and electronic equipment
CN111917703B (en) Monitoring device and monitoring method
CN113676540B (en) Connection establishment method and device
CN109347933B (en) Method and device for establishing connection
CN110798540B (en) Data interaction method and device
CN117527655A (en) NAT type detection method and device and electronic equipment
CN113676542B (en) Connection establishment method, system and device
CN111726679B (en) Video playing method, device, equipment and medium
CN113794644B (en) Method and device for deleting routing table entries

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