CN113612658A - Broadband network equipment test system and test method - Google Patents

Broadband network equipment test system and test method Download PDF

Info

Publication number
CN113612658A
CN113612658A CN202110881846.0A CN202110881846A CN113612658A CN 113612658 A CN113612658 A CN 113612658A CN 202110881846 A CN202110881846 A CN 202110881846A CN 113612658 A CN113612658 A CN 113612658A
Authority
CN
China
Prior art keywords
tested
test
equipment
network
ros
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
CN202110881846.0A
Other languages
Chinese (zh)
Other versions
CN113612658B (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.)
Sichuan Jiuzhou Electronic Technology Co Ltd
Original Assignee
Sichuan Jiuzhou Electronic Technology 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 Sichuan Jiuzhou Electronic Technology Co Ltd filed Critical Sichuan Jiuzhou Electronic Technology Co Ltd
Priority to CN202110881846.0A priority Critical patent/CN113612658B/en
Publication of CN113612658A publication Critical patent/CN113612658A/en
Application granted granted Critical
Publication of CN113612658B publication Critical patent/CN113612658B/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/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/20Support for services
    • H04L49/208Port mirroring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a broadband network equipment testing system and a testing method, which comprises an ROS testing server, a mirror image exchanger, a monitoring PC, a testing PC and equipment to be tested, wherein a virtual machine operating environment and an ROS system are arranged on the ROS testing server, the ROS testing server is connected with an Internet network and the mirror image exchanger, the mirror image exchanger is connected with the monitoring PC and the equipment to be tested, the equipment to be tested is connected with the testing PC, the mirror image exchanger carries out centralized monitoring on transmission data of the equipment to be tested, the data received and sent by the equipment to be tested is copied and sent to the monitoring PC, and the monitoring PC analyzes relevant data for a tester to carry out verification analysis and problem troubleshooting. The invention meets the requirements of all system function characteristic test, data collection analysis and problem location of various types of broadband network equipment, has the characteristics of low test deployment difficulty, convenient configuration management and the like, is convenient to test and reduces the working cost.

Description

Broadband network equipment test system and test method
Technical Field
The invention relates to the technical field of equipment function test, in particular to a broadband network equipment test system and a test method.
Background
According to the difference between networking environment and application scene, there are different types of broadband network access devices such as WIFI router, ONU optical Modem, xDSL Modem, etc. The main difference of these different types of broadband network devices is the transmission medium of network access and the adopted underlying physical link technology, while the functional characteristics and technical features of the upper layer of the software system are approximately the same. Different types of broadband network products relate to some necessary network access technologies and network transmission modes, such as access modes supporting IPv4/IPv6 dual protocol stacks, DHCP access modes, PPPoE dial-up access modes, static IP addresses, and different types of data forwarding processing modes including routing modes and bridging modes. When software system testing is performed on these broadband network products, a perfect testing environment needs to be established, and the testing requirements of all functional service characteristics are met. Aiming at different network access modes, access servers with different functions need to be built for carrying out docking tests, for example, service servers of IPv4 and IPv6 need to be built respectively, DHCPv4/v6 service, IPv6 SLAAC service, PPPoEv4/v6 service, NAT service and the like are deployed respectively, and the deployment environment of test docking needs to be adjusted correspondingly by considering the networking test requirements of broadband network products working under a routing mode and a bridge mode respectively. When the networking docking service is deployed, the workload is large and the working efficiency is low due to the fussy test environment change and the configuration and deployment of various servers. And some servers have higher deployment difficulty and are difficult to completely meet the test requirements.
For example, a common manner of deploying a PPPoE server is to perform configuration building by using an open-source installation package based on a Linux system. Due to the differences of compiling installation source files, configuration paths, configuration scripts and the like of different Linux versions, the PPPoE server deployment difficulty is high; and the configuration of the server needs to modify a plurality of configuration scripts to realize management and maintenance, so that personnel unfamiliar with the Linux system are difficult to master, and the usability and the maintainability are poor. The PPPoE server is deployed according to the mode, test verification of dial-up access of the PPPoE can be provided, if external network access after dial-up connection needs to be tested, realization of routing forwarding and NAT functions based on a Linux system needs to be additionally considered, and the deployment difficulty of the server is further increased. For example, for the server deployment of IPv6, service configuration of relevant functions such as DHCPv6, SLAAC, DHCP-PD, and the like needs to be satisfied, and a configuration deployment mode based on a Linux system can be adopted to build the server, but the configuration difficulty is high, and the usability and maintainability are poor. The router/gateway product with the IPv6 function can be used as a server end and is matched with equipment to be tested to perform IPv6 butt joint test, but at present, because large-scale commercialization of IPv6 is not realized, the IPv6 function of products of various manufacturers is not mature, various problems often exist, and all test requirements of IPv6 are difficult to meet comprehensively. For example, when the broadband network device performs networking test in the routing mode and the bridge mode, the type and service configuration of the docking server need to be dynamically adjusted, so that the test environment needs to be readjusted, the complexity of the test environment is increased, the continuity of the test operation is also affected, and the test operation efficiency is reduced.
Disclosure of Invention
The invention aims to provide a broadband network equipment testing system and a testing method, which are used for solving the problems that when different types of broadband network equipment are tested in the prior art, access servers with different functions need to be built for different network access modes to carry out butt joint tests, the deployment environment of test butt joint needs to be correspondingly adjusted according to networking test requirements of different working modes of the broadband network equipment, the workload of server deployment is large, the difficulty is high, and the operation is complicated due to the fact that the test environment is changed.
The invention solves the problems through the following technical scheme:
the utility model provides a broadband network equipment test system, includes ROS test server, mirror image switch, control PC, test PC and the equipment under test, wherein: the ROS testing server is provided with a virtual machine operating environment and an ROS system, the ROS testing server is respectively connected with an Internet network and a mirror image switch through double network cards, a mirror image target interface of the mirror image switch is connected with a monitoring PC, a WAN port of equipment to be tested is connected with a mirror image source port of the mirror image switch, an LAN port of the equipment to be tested is connected with the testing PC, the mirror image switch carries out centralized monitoring on transmission data of the equipment to be tested, the data received and sent by the equipment to be tested are copied and sent to the monitoring PC, and the monitoring PC analyzes relevant data for testing personnel to carry out verification analysis and problem troubleshooting; the test PC is used for accessing a management interface of the connected equipment to be tested, performing configuration management and test verification on the equipment to be tested, and testing the functional characteristics and network connectivity of the equipment to be tested by accessing an external network.
The number of the devices to be tested is two or more, and the number of the test PCs is matched with the number of the devices to be tested.
And when the equipment to be tested is the ONU optical modem, the ONU optical modem is connected with the mirror image switch through the optical line terminal OLT.
When the device to be tested is a digital subscriber line Modem xDSL Modem, the digital subscriber line Modem xDSL Modem is connected with the mirror image switch through a digital subscriber line access multiplexer DSLAM.
A broadband network equipment testing method comprises the following steps:
step S100, deploying an ROS test server:
installing a VMware virtual machine on the ROS test server, and binding two network cards of the VMware virtual machine with two physical network cards of the ROS test server respectively; running a mirror image file of the ROS system in the VMware virtual machine, and loading the ROS system; identifying a VMware virtual machine and connecting a configuration management interface of the ROS system by using winbox tool software;
respectively configuring IPv4 addresses and IPv6 addresses for two network cards of the VMware virtual machine;
the method comprises the steps that functional services tested by broadband network equipment are started on an ROS system, wherein the functional services comprise PPPoE services, DHCP services, IPv6 services, NAT/NAT6 functions and RIP protocols;
s200, setting an interface connected with equipment to be tested as a mirror image source port and a port connected with a monitoring PC as a mirror image destination port on a mirror image switch;
step S300, starting package grabbing tool software on a monitoring PC;
step S400, the following functional characteristic tests are sequentially executed on each device to be tested:
step S410: is arranged to use the IPv4 protocol stack to perform:
step A1: the device to be tested is set to be in a bridge mode, whether a test PC can be allocated to an IP address from an ROS server or not is verified, an external network is accessed to carry out network connectivity test, and speedtest is carried out on line by using speedtest;
step A2: the method comprises the steps that the device to be tested is set to be in a routing mode, a WAN port adopts a static IP address mode, an IP address, a gateway and a DNS address are configured, whether a test PC can obtain an allocated IP address from a DHCP server of the device to be tested is verified, an external network is accessed for network connectivity test, and speedtest is conducted on line by using speedtest;
step A3: the method comprises the steps that the device to be tested is set to be in a routing mode, a WAN port adopts a DHCP configuration mode to verify whether the device to be tested can normally obtain network parameters or not, further verify whether a test PC can obtain an allocated IP address from a DHCP server of the device to be tested or not, access an external network to carry out network connectivity test and use speedtest on line;
step A4: the method comprises the steps that the device to be tested is set to be in a routing mode, a WAN port adopts a PPPoE configuration mode to verify whether the device to be tested can dial the PPPoE normally or not, and normally obtains necessary network parameters such as an IP address and the like, and further verifies whether a test PC can obtain an allocated IP address from a DHCP server of the device to be tested or not, and accesses an external network to perform network connectivity test and uses a speedtest to perform online speed measurement;
step A5: the method comprises the steps that the equipment to be tested starts an RIP routing protocol, declares routes of all directly connected network segments, verifies whether dynamic route learning and declaration of the equipment to be tested are normal or not, whether a network card 1 route and a default route issued by an ROS server can be learned or not, and whether a Local Area Network (LAN) port route is successfully issued or not and is learned by the ROS server or not is verified;
step S420: and D, switching the equipment to be tested into an IPv6 protocol stack, and executing the step A1-the step A5.
And S500, monitoring and analyzing the test data of each device to be tested by the packet capturing data through the monitoring PC, verifying the correctness of the interaction of each functional characteristic data, and performing data verification and problem troubleshooting when the functional characteristics are abnormal.
Compared with the prior art, the invention has the following advantages and beneficial effects:
(1) the invention provides a simple test environment deployment mode and a test method, can meet the test requirements of all system functional characteristics of various types of broadband network equipment and data collection analysis and problem location by installing and configuring a test server and combining the deployment of a mirror image switch, has the characteristics of low test deployment difficulty, convenient configuration management, high usability, strong maintainability, good expandability and the like, brings great convenience to the system functional characteristic test work of the broadband network equipment, and greatly reduces the working cost.
(2) The invention meets the requirements of broadband network equipment tests of various forms such as network cable access (WIFI router), optical fiber access (ONU optical Modem), telephone line access (xDSL Modem) and the like; based on the ROS server, basic functional characteristics such as a bridge mode, a routing mode, an IPv4/IPv6 protocol stack, static IPv4/IPv6, DHCP/DHCPv6, PPPoEv4/PPPoEv6, RIP/RIPng routing protocol, SLAAC, DHCP-PD and the like can be tested and verified; based on the deployment of the mirror image switch, the protocol data of interaction of various functional characteristics can be verified, analyzed and checked; testing the current network performance of the broadband network equipment based on a speedtest tool and a speed.neu6.edu.cn tool; and testing the public network connectivity of the IPv6 based on a test-IPv6 tool. The universal test system has the advantages of fixed test environment, simple configuration operation, strong maintainability and high expandability, can greatly improve the test working efficiency, reduces the configuration and maintenance work of the test environment and saves the test working cost.
Drawings
FIG. 1 is a block diagram of the system of the present invention.
Detailed Description
The present invention will be described in further detail with reference to examples, but the embodiments of the present invention are not limited thereto.
Example (b):
shown in the attached drawing 1, a broadband network equipment testing system comprises an ROS testing server, a mirror image switch, a monitoring PC, a testing PC and equipment to be tested, wherein: the ROS testing server is provided with a virtual machine operating environment and an ROS system, the ROS testing server adopts double network cards, one network card is connected with an access line of the Internet, the other network card is connected with a mirror image switch, a mirror image destination interface of the mirror image switch is connected with a monitoring PC, a WAN port of the equipment to be tested is connected with a mirror image source port of the mirror image switch, an LAN port of the equipment to be tested is connected with the testing PC, the mirror image switch carries out centralized monitoring on transmission data of the equipment to be tested, the data received and sent by the equipment to be tested is copied and sent to the monitoring PC, and the monitoring PC analyzes relevant data for testing personnel to carry out verification analysis and problem troubleshooting; the test PC is used for accessing a management interface of the connected equipment to be tested, performing configuration management and test verification on the equipment to be tested, and testing the functional characteristics and network connectivity of the equipment to be tested by accessing an external network.
The device to be tested can be a WIFI router, an ONU optical Modem and an xDSL Modem, a WAN port of each device to be tested is connected with a mirror image source port of a mirror image switch, an LAN port of each device to be tested is connected with a test PC, the ONU optical Modem is connected with the mirror image switch through an optical line terminal OLT, and an uplink service interface of the OLT is connected with the mirror image source port of the mirror image switch; the xDSL Modem is connected with the mirror image switch through a digital subscriber line access multiplexer DSLAM.
The ROS test server is responsible for providing all the functional characteristic services required to be tested by the broadband network equipment, such as PPPoE, DHCP, IPv6 and the like, some broadband network equipment requires a dynamic routing protocol RIP, and the ROS test server can also well support the services. And each device to be tested can carry out sufficient functional characteristic test verification through the docking service provided by the ROS system. The ROS system only needs one-time configuration, the configuration operation is very simple, the subsequent configuration updating is not needed, and the test environment does not need to be frequently changed.
The mirror image switch can play a role in serially connecting all other devices to be tested, the transmission data of all the devices to be tested is centrally monitored, the data transmitted and received by all the devices to be tested is copied and sent to the monitoring PC, and the monitoring PC analyzes the related data to be verified, analyzed and problem-checked by testers.
The OLT is used as a local side docking device of the PON technical equipment and is responsible for providing access service for the ONU optical modem of the equipment to be tested, and plays a role in mutual conversion of optical signals and electric signals, so that normal communication of the ONU optical modem of the equipment to be tested in a test system is ensured.
The DSALM is used as the local side docking equipment of the DSL equipment, is responsible for providing access service for the device to be tested xDSL Modem, plays a role in mutual conversion of analog signals and digital signals, and ensures normal communication of the device to be tested xDSL Modem in a test system.
Each test PC is connected with the LAN port of the equipment to be tested, each test PC accesses the management interface of the connected equipment to be tested, configuration management and test verification are carried out on the equipment to be tested, and each functional characteristic and network connectivity are tested and verified through access to an external network.
Example 2:
referring to fig. 1, a method for testing a broadband network device includes:
s001: installing and deploying an ROS test server, and configuring and starting common functional characteristic services of broadband network equipment, wherein the specific method comprises the following steps:
s001-1: and installing a VMware virtual machine environment, and binding a virtual machine network card with a server physical network card, wherein the virtual machine network card 1 is bound with the server physical network card 1, and the virtual machine network card 2 is bound with the server physical network card 2.
S001-2: and running the mirror image file of the ROS system in the VMware virtual machine to normally load the ROS system.
S001-3: the winbox tool software is used to identify the configuration management interface to the ROS virtual machine and proceed to the ROS.
S001-4: the method comprises the steps of respectively configuring IPv4 and IPv6 addresses for two virtual network cards of an ROS system, wherein the network card 1 can set IP addresses according to an actual public network access environment, for example, adopting a DHCP or adopting a static IP mode and the like, and if the static IP address is adopted, configuring and adding necessary parameters such as a default gateway address and a DNS address according to actual conditions. The network card 2 configures the IPv4 address and mask parameter as 192.168.100.1/24, and IPv6 address and prefix length as 2001:: 1/64.
S001-5: the method comprises the following steps of sequentially starting functional services required by testing of broadband network equipment on an ROS system:
s001-5-1: PPPoE services are enabled, including PPPoEv4/v 6. Setting a user account as [ test/test123], setting a certification encryption mode as CHAP, and binding an IPv4 address pool [192.168.100.2-192.168.100.50] and an IPv6 address pool [2001::2-2001::100 ].
S001-5-2: DHCP service is enabled, and the address pool is set to [192.168.100.51-192.168.100.100 ].
S001-5-3: the IPv6 service is enabled, including DHCPv6, DHCP-PD, SLAAC, etc., and the address pool of DHCPv6 is [2001: 101:: 200 ].
S001-5-4: the NAT/NAT6 function is started, address conversion rules are set, and the IPv4/v6 addresses of the data packet sources forwarded to the network card 1 from the network card 2 are all converted into the IPv4/v6 addresses of the network card 1.
S001-5-5: and enabling the RIP protocol, and issuing the IP routes and default routes of the network segments where the network card 1 and the network card 2 are located.
S002: and setting interfaces for connecting the WIFI router, the OLT and the DSLAM of the equipment to be tested as mirror image source ports and setting a port for connecting the monitoring PC as a mirror image destination port on the mirror image switch.
S003: and starting packaging tool software such as wireshark or sniffer and the like on the monitoring PC, monitoring and analyzing the test data of each device to be tested, verifying the correctness of the interaction of each functional characteristic data, and verifying the data and troubleshooting when the functional characteristics are abnormal.
S004: the following functional characteristic tests (by default, using an IPv4 protocol stack) are carried out on the WIFI router of the device to be tested in sequence:
s004-1: the device to be tested is set to be in a bridge mode, whether the test PC1 can be distributed to an IP address from the ROS server or not is verified, an external network is accessed to carry out network connectivity test, and speedtest is carried out on line by using speedtest.
S004-2: the device to be tested is set to be in a routing mode, a WAN port adopts a static IP address mode, the configured IP address is 192.168.100.2/24, the default gateway is 192.168.100.1, and the DNS address is 114.114.114.114. After the configuration of the relevant parameters is finished, whether the test PC1 can obtain the allocated IP address from the DHCP server of the equipment to be tested is verified, and the external network is accessed to carry out network connectivity test and speed measurement on line by using speedtest.
S004-3: the device to be tested is set to be in a routing mode, a WAN port adopts a DHCP configuration mode to verify whether the device to be tested can normally acquire necessary network parameters such as an IP address and the like, further verify whether the test PC1 can acquire an allocated IP address from a DHCP server of the device to be tested, access an external network to perform network connectivity test and use a speedtest to perform online speed measurement.
S004-4: the device to be tested is set to be in a routing mode, a WAN port adopts a PPPoE configuration mode to verify whether the device to be tested can dial the PPPoE normally, and normally acquire necessary network parameters such as an IP address, further verify whether the test PC1 can acquire an allocated IP address from a DHCP server of the device to be tested, access an external network to perform network connectivity test and use a speedtest to perform online speed measurement.
S004-5: the equipment to be tested starts an RIP routing protocol, routing information is transmitted and issued through protocol messages, namely routes of all directly connected network segments are declared, whether dynamic route learning and declaration of the equipment to be tested are normal or not, whether a network card 1 route and a default route issued by an ROS server can be learned or not and whether a LAN port route of the equipment to be tested is successfully issued or not is verified. The routing information declarations are mutual, namely the device to be tested and the ROS server declare own routing information respectively. If the route from the ROS server can be seen on the device to be tested, the device to be tested successfully learns the route information of other people. Conversely, a route from the device under test can be seen on the ROS server, indicating that the route announcement of the device under test was successful.
S005: and switching the WIFI router of the equipment to be tested into an IPv6 protocol stack, and testing the functional characteristics of the equipment to be tested under the IPv6 protocol:
s005-1: the testing verifies that the WAN interface static IPv6 is set, and IPv6 addresses are configured as 2001::2/64, a default gateway 2001::1/, and DNS addresses 2620:119:35:: 35. After the relevant parameters are configured, whether the test PC1 can obtain the distributed IPv6 address from the DHCP server of the equipment to be tested is verified, and the test-IPv6 website is accessed to perform IPv6 connectivity test of the local network and http:// speed.neu6. edu.cn/IPv 6 online speed measurement.
S005-2: the testing modes of the functional characteristics of the IPv6 protocol stack in the bridge mode and the routing mode, such as DHCPv6, PPPoEv6, RIP (RIPng), are the same as those of the IPv4 protocol stack, and the testing steps corresponding to S004 are executed.
S005-3: the WAN port of the device to be tested adopts a stateless address automatic configuration mode, whether the WAN port can automatically generate an IPv6 address through an address prefix of an ROS server is verified, and a test-IPv6 website is accessed to perform IPv6 connectivity test of a local network and http:// speed.neu6. edu.cn/IPv 6 online speed test are accessed.
S005-4: the device to be tested starts a DHCP-PD prefix obtaining function, verifies whether an IPv6 address can be automatically generated by a LAN port through a PD prefix distributed by an ROS server, accesses a test-IPv6 website to perform IPv6 connectivity test of the local network and accesses http:// speed.neu6. edu.cn/IPv 6 online speed measurement.
S006: carrying out a functional characteristic test on an ONU optical modem of the equipment to be tested (using an IPv4 protocol stack by default):
s006-1: the device to be tested is set to be in a bridge mode, whether the test PC2 can be distributed to an IP address from the ROS server or not is verified, an external network is accessed to carry out network connectivity test, and speedtest is carried out on line by using speedtest.
S006-2: the device to be tested is set to be in a routing mode, a WAN port adopts a static IP address mode, the configured IP address is 192.168.100.3/24, the default gateway is 192.168.100.1, and the DNS address is 114.114.114.114. After the configuration of the relevant parameters is finished, whether the test PC2 can obtain the allocated IP address from the DHCP server of the equipment to be tested is verified, and the external network is accessed to carry out network connectivity test and speed measurement on line by using speedtest.
S006-3: the device to be tested is set to be in a routing mode, a WAN port adopts a DHCP configuration mode to verify whether the device to be tested can normally acquire necessary network parameters such as an IP address and the like, further verify whether the test PC2 can acquire an allocated IP address from a DHCP server of the device to be tested, access an external network to perform network connectivity test and use a speedtest to perform online speed measurement.
S006-4: the device to be tested is set to be in a routing mode, a WAN port adopts a PPPoE configuration mode to verify whether the device to be tested can dial the PPPoE normally, and normally acquire necessary network parameters such as an IP address, further verify whether the test PC2 can acquire an allocated IP address from a DHCP server of the device to be tested, access an external network to perform network connectivity test and use a speedtest to perform online speed measurement.
S006-5: the equipment to be tested starts an RIP routing protocol, declares all routes of the directly connected network segments, verifies whether dynamic route learning and declaration of the equipment to be tested are normal or not, learns the network card 1 route and the default route issued by the ROS server or not, and whether the LAN port route of the equipment to be tested is successfully issued and learned by the ROS server or not.
S007: and switching the optical modem of the equipment to be tested into an IPv6 protocol stack, and performing functional characteristic test on the function of the equipment to be tested under an IPv6 protocol:
s007-1: the testing verifies that the WAN interface static IPv6 is set, and IPv6 addresses are configured as 2001::3/64, a default gateway 2001::1/, and DNS addresses 2620:119:35:: 35. After the relevant parameters are configured, whether the test PC2 can obtain the distributed IPv6 address from the DHCP server of the equipment to be tested is verified, and the test-IPv6 website is accessed to perform IPv6 connectivity test of the local network and http:// speed.neu6. edu.cn/IPv 6 online speed measurement.
S007-2: the testing method of the functional characteristics of the IPv6 protocol stack in the bridge mode and the routing mode, such as DHCPv6, PPPoEv6, rip (ripng), etc., is the same as that of the IPv4 protocol stack, and it is only necessary to perform the relevant testing steps corresponding to S006.
S007-3: the WAN port of the device to be tested adopts a stateless address automatic configuration mode, whether the WAN port can automatically generate an IPv6 address through an address prefix of an ROS server is verified, and a test-IPv6 website is accessed to perform IPv6 connectivity test of a local network and http:// speed.neu6. edu.cn/IPv 6 online speed test are accessed.
S007-4: the device to be tested starts a DHCP-PD prefix obtaining function, verifies whether an IPv6 address can be automatically generated by a LAN port through a PD prefix distributed by an ROS server, accesses a test-IPv6 website to perform IPv6 connectivity test of the local network and accesses http:// speed.neu6. edu.cn/IPv 6 online speed measurement.
S008: carrying out a functional characteristic test on the device to be tested xDSL Modem (using an IPv4 protocol stack by default):
s008-1: the device to be tested is set to be in a bridge mode, whether the test PC3 can be distributed to an IP address from the ROS server or not is verified, an external network is accessed to carry out network connectivity test, and speedtest is carried out on line by using speedtest.
S008-2: the device to be tested is set to be in a routing mode, a WAN port adopts a static IP address mode, the configured IP address is 192.168.100.4/24, the default gateway is 192.168.100.1, and the DNS address is 114.114.114.114. After the configuration of the relevant parameters is finished, whether the test PC3 can obtain the allocated IP address from the DHCP server of the equipment to be tested is verified, and the external network is accessed to carry out network connectivity test and speed measurement on line by using speedtest.
S008-3: the device to be tested is set to be in a routing mode, a WAN port adopts a DHCP configuration mode to verify whether the device to be tested can normally acquire necessary network parameters such as an IP address and the like, further verify whether the test PC3 can acquire an allocated IP address from a DHCP server of the device to be tested, access an external network to perform network connectivity test and use a speedtest to perform online speed measurement.
S008-4: the device to be tested is set to be in a routing mode, a WAN port adopts a PPPoE configuration mode to verify whether the device to be tested can dial the PPPoE normally, and normally acquire necessary network parameters such as an IP address, further verify whether the test PC3 can acquire an allocated IP address from a DHCP server of the device to be tested, access an external network to perform network connectivity test and use a speedtest to perform online speed measurement.
S008-5: the equipment to be tested starts an RIP routing protocol, declares all routes of the directly connected network segments, verifies whether dynamic route learning and declaration of the equipment to be tested are normal or not, learns the network card 1 route and the default route issued by the ROS server or not, and whether the LAN port route of the equipment to be tested is successfully issued and learned by the ROS server or not.
S009: switching the xDSL Modem of the device to be tested to an IPv6 protocol stack, and carrying out function characteristic test on the device to be tested under an IPv6 protocol:
s009-1: the testing verifies that the WAN interface static IPv6 is set, and IPv6 addresses are configured as 2001::4/64, a default gateway 2001::1/, and DNS addresses 2620:119:35:: 35. After the relevant parameters are configured, whether the test PC3 can obtain the distributed IPv6 address from the DHCP server of the equipment to be tested is verified, and the test-IPv6 website is accessed to perform IPv6 connectivity test of the local network and http:// speed.neu6. edu.cn/IPv 6 online speed measurement.
S009-2: the testing modes of the functional characteristics of the IPv6 protocol stack in the bridge mode and the routing mode, such as DHCPv6, PPPoEv6, RIP (RIPng), are the same as those of the IPv4 protocol stack, and the testing method is carried out according to the relevant testing steps corresponding to S008.
S009-3: the WAN port of the device to be tested adopts a stateless address automatic configuration mode, whether the WAN port can automatically generate an IPv6 address through an address prefix of an ROS server is verified, and a test-IPv6 website is accessed to perform IPv6 connectivity test of a local network and http:// speed.neu6. edu.cn/IPv 6 online speed test are accessed.
S009-4: the device to be tested starts a DHCP-PD prefix obtaining function, verifies whether an IPv6 address can be automatically generated by a LAN port through a PD prefix distributed by an ROS server, accesses a test-IPv6 website to perform IPv6 connectivity test of the local network and accesses http:// speed.neu6. edu.cn/IPv 6 online speed measurement.
The invention provides a method for comprehensively meeting the testing requirements of a broadband network equipment software system, which deploys a testing server based on an ROS system, has simpler debugging and configuration, simultaneously meets IPv4/IPv6 dual protocol stack, DHCP service, PPPoE service, NAT service, IP routing and other data forwarding control services, is used for access testing of various types of broadband network equipment, meets the testing requirements of different access types, is easy to realize the access of a public network after docking, and achieves the real verification effect of external network access testing; and the deployment of the mirror image switch is combined for real-time monitoring and verification of data exchange between the server and the equipment to be tested, and the connectivity problem of network access is tested, analyzed and positioned. The whole testing environment is simple, the testing requirements of various system function module characteristics of the broadband network equipment can be met by using a relatively simple testing topology, the usability and maintainability of the configuration management of the testing server are improved, and the testing work efficiency is greatly improved.
Although the present invention has been described herein with reference to the illustrated embodiments thereof, which are intended to be preferred embodiments of the present invention, it is to be understood that the invention is not limited thereto, and that numerous other modifications and embodiments can be devised by those skilled in the art that will fall within the spirit and scope of the principles of this disclosure.

Claims (5)

1. The utility model provides a broadband network equipment test system, its characterized in that includes ROS test server, mirror image switch, control PC, test PC and the equipment under test, wherein: the ROS testing server is provided with a virtual machine operating environment and an ROS system, the ROS testing server is respectively connected with an Internet network and a mirror image switch through double network cards, a mirror image target interface of the mirror image switch is connected with a monitoring PC, a WAN port of equipment to be tested is connected with a mirror image source port of the mirror image switch, an LAN port of the equipment to be tested is connected with the testing PC, the mirror image switch carries out centralized monitoring on transmission data of the equipment to be tested, the data received and sent by the equipment to be tested are copied and sent to the monitoring PC, and the monitoring PC analyzes relevant data for testing personnel to carry out verification analysis and problem troubleshooting; the test PC is used for accessing a management interface of the connected equipment to be tested, performing configuration management and test verification on the equipment to be tested, and testing the functional characteristics and network connectivity of the equipment to be tested by accessing an external network.
2. The broadband network device testing system according to claim 1, wherein the number of the devices under test is two or more, and the number of the test PCs is matched with the number of the devices under test.
3. The system of claim 1, wherein when the device under test is an ONU optical modem, the ONU optical modem is connected to the mirror switch through the optical line terminal OLT.
4. The system according to claim 1, wherein when the device under test is a dsl Modem, the dsl Modem is connected to the mirror switch via a DSLAM.
5. A broadband network equipment testing method is characterized by comprising the following steps:
step S100, deploying an ROS test server:
installing a VMware virtual machine on the ROS test server, and binding two network cards of the VMware virtual machine with two physical network cards of the ROS test server respectively; running a mirror image file of the ROS system in the VMware virtual machine, and loading the ROS system; identifying a VMware virtual machine and connecting a configuration management interface of the ROS system by using winbox tool software;
respectively configuring IPv4 addresses and IPv6 addresses for two network cards of the VMware virtual machine;
the method comprises the steps that functional services tested by broadband network equipment are started on an ROS system, wherein the functional services comprise PPPoE services, DHCP services, IPv6 services, NAT/NAT6 functions and RIP protocols;
s200, setting an interface connected with equipment to be tested as a mirror image source port and a port connected with a monitoring PC as a mirror image destination port on a mirror image switch;
step S300, starting package grabbing tool software on a monitoring PC;
step S400, the following functional characteristic tests are sequentially executed on each device to be tested:
step S410: is arranged to use the IPv4 protocol stack to perform:
step A1: the device to be tested is set to be in a bridge mode, whether the testing PC can be distributed to an IP address from the ROS server or not is verified, an external network is accessed to carry out network connectivity testing, and speedtest is carried out on line by using speedtest;
step A2: the method comprises the steps that the device to be tested is set to be in a routing mode, a WAN port adopts a static IP address mode, an IP address, a gateway and a DNS address are configured, whether a test PC can obtain an allocated IP address from a DHCP server of the device to be tested is verified, an external network is accessed for network connectivity test, and speedtest is conducted on line by using speedtest;
step A3: the method comprises the steps that the device to be tested is set to be in a routing mode, a WAN port adopts a DHCP configuration mode to verify whether the device to be tested can normally obtain network parameters or not, further verify whether a test PC can obtain an allocated IP address from a DHCP server of the device to be tested or not, access an external network to carry out network connectivity test and use speedtest on line;
step A4: the method comprises the steps that the device to be tested is set to be in a routing mode, a WAN port adopts a PPPoE configuration mode to verify whether the device to be tested can dial the PPPoE normally or not, and normally obtains necessary network parameters such as an IP address and the like, and further verifies whether a test PC can obtain an allocated IP address from a DHCP server of the device to be tested or not, and accesses an external network to perform network connectivity test and uses a speedtest to perform online speed measurement;
step A5: the method comprises the steps that the equipment to be tested starts an RIP routing protocol, declares routes of all directly connected network segments, verifies whether dynamic route learning and declaration of the equipment to be tested are normal or not, whether a network card 1 route and a default route issued by an ROS server can be learned or not, and whether a Local Area Network (LAN) port route is successfully issued or not and is learned by the ROS server or not is verified;
step S420: and D, switching the equipment to be tested into an IPv6 protocol stack, and executing the step A1-the step A5.
And S500, monitoring and analyzing the test data of each device to be tested by the packet capturing data through the monitoring PC, verifying the correctness of the interaction of each functional characteristic data, and performing data verification and problem troubleshooting when the functional characteristics are abnormal.
CN202110881846.0A 2021-08-02 2021-08-02 Broadband network equipment testing system and testing method Active CN113612658B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110881846.0A CN113612658B (en) 2021-08-02 2021-08-02 Broadband network equipment testing system and testing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110881846.0A CN113612658B (en) 2021-08-02 2021-08-02 Broadband network equipment testing system and testing method

Publications (2)

Publication Number Publication Date
CN113612658A true CN113612658A (en) 2021-11-05
CN113612658B CN113612658B (en) 2023-06-06

Family

ID=78339057

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110881846.0A Active CN113612658B (en) 2021-08-02 2021-08-02 Broadband network equipment testing system and testing method

Country Status (1)

Country Link
CN (1) CN113612658B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114143850A (en) * 2021-11-25 2022-03-04 深圳市领创星通科技有限公司 IPv6 address allocation method and device, computer equipment and storage medium
CN114553685A (en) * 2022-02-24 2022-05-27 深圳市吉祥腾达科技有限公司 Method for testing router broadband access
CN114726757A (en) * 2022-03-24 2022-07-08 深圳市领创星通科技有限公司 Equipment networking test method and device, computer equipment and storage medium
CN115396335A (en) * 2022-08-11 2022-11-25 重庆邮电大学 Industrial wireless network equipment access IPv6 testing system and method based on micro-service
CN116668350A (en) * 2023-07-28 2023-08-29 中国电子科技集团公司第三十研究所 Communication terminal of digital private network and matched encryption component detection system and method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4314110A (en) * 1980-08-13 1982-02-02 Redcom Laboratories, Inc. System for the testing of telephone switching systems
US5608720A (en) * 1993-03-09 1997-03-04 Hubbell Incorporated Control system and operations system interface for a network element in an access system
CN102299821A (en) * 2011-08-08 2011-12-28 北京安天电子设备有限公司 Network virus monitor equipment test system and method thereof
CN202218246U (en) * 2011-09-22 2012-05-09 北京安天电子设备有限公司 Test system for network security device
CN107171854A (en) * 2017-06-19 2017-09-15 深圳市共进电子股份有限公司 A kind of method that independent wide area network server is simulated in automatic test
CN111245682A (en) * 2020-01-10 2020-06-05 深圳市吉祥腾达科技有限公司 Double-stack DHCPV6 and PPPOEV6 access test platform
CN213817812U (en) * 2021-01-21 2021-07-27 成都万创科技股份有限公司 Test service system based on Router OS is built

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4314110A (en) * 1980-08-13 1982-02-02 Redcom Laboratories, Inc. System for the testing of telephone switching systems
US5608720A (en) * 1993-03-09 1997-03-04 Hubbell Incorporated Control system and operations system interface for a network element in an access system
CN102299821A (en) * 2011-08-08 2011-12-28 北京安天电子设备有限公司 Network virus monitor equipment test system and method thereof
CN202218246U (en) * 2011-09-22 2012-05-09 北京安天电子设备有限公司 Test system for network security device
CN107171854A (en) * 2017-06-19 2017-09-15 深圳市共进电子股份有限公司 A kind of method that independent wide area network server is simulated in automatic test
CN111245682A (en) * 2020-01-10 2020-06-05 深圳市吉祥腾达科技有限公司 Double-stack DHCPV6 and PPPOEV6 access test platform
CN213817812U (en) * 2021-01-21 2021-07-27 成都万创科技股份有限公司 Test service system based on Router OS is built

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
GAOGANG XIE等: "A methodology of effective measurement for link traffic" *
刘东;: "基于虚拟机及开源路由技术的网络实验平台设计与实现" *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114143850A (en) * 2021-11-25 2022-03-04 深圳市领创星通科技有限公司 IPv6 address allocation method and device, computer equipment and storage medium
CN114143850B (en) * 2021-11-25 2024-02-23 深圳市领创星通科技有限公司 IPv6 address allocation method and device, computer equipment and storage medium
CN114553685A (en) * 2022-02-24 2022-05-27 深圳市吉祥腾达科技有限公司 Method for testing router broadband access
CN114553685B (en) * 2022-02-24 2024-04-05 东莞市锐易电子科技有限公司 Method for testing router broadband access
CN114726757A (en) * 2022-03-24 2022-07-08 深圳市领创星通科技有限公司 Equipment networking test method and device, computer equipment and storage medium
CN114726757B (en) * 2022-03-24 2024-05-03 深圳市领创星通科技有限公司 Equipment networking test method, device, computer equipment and storage medium
CN115396335A (en) * 2022-08-11 2022-11-25 重庆邮电大学 Industrial wireless network equipment access IPv6 testing system and method based on micro-service
CN115396335B (en) * 2022-08-11 2023-05-16 重庆邮电大学 Industrial wireless network equipment access IPv6 test system and method based on micro-service
CN116668350A (en) * 2023-07-28 2023-08-29 中国电子科技集团公司第三十研究所 Communication terminal of digital private network and matched encryption component detection system and method
CN116668350B (en) * 2023-07-28 2023-10-03 中国电子科技集团公司第三十研究所 Communication terminal of digital private network and matched encryption component detection system and method

Also Published As

Publication number Publication date
CN113612658B (en) 2023-06-06

Similar Documents

Publication Publication Date Title
CN113612658B (en) Broadband network equipment testing system and testing method
US11128493B2 (en) Method for implementing residential gateway service function, and server
US8040819B2 (en) Discovery and identification of upstream device characteristics for self-configuration of customer premises equipment
US20070061103A1 (en) Systems and method for testing the load of at least one IP-supported device
US20190182134A1 (en) Cable modems/emtas under test
CN101656637B (en) Virtual trunk measuring device and method for network protocol
US20040010653A1 (en) Residential broadband communications device, and method of operating same
JP2005006303A (en) Virtual network address
CA2400306A1 (en) Network fault analysis tool
CN106713039B (en) Ethernet port identification method and device and router
Katiyar et al. Auto-configuration of SDN switches in SDN/non-SDN hybrid network
JP4809880B2 (en) Network topology estimation system, network topology estimation method and recording medium
US8443094B2 (en) Computer system comprising a communication device
CN111404821A (en) IPv4 and IPv6 interconnection system based on SDN
CN213817812U (en) Test service system based on Router OS is built
CN110266530B (en) Link discovery method and device based on Opendataright framework
Cisco Index
CN104852995B (en) For accessing method, home gateway and the system of Internet resources
CN116032755B (en) Router terminal batch upgrading method and device
DK2030463T3 (en) Process, system and computer software product for problem solving
CN113037573B (en) Network management system and method
CN108092843B (en) General test method for router
CN116264556A (en) Network equipment interoperability test method and device
dos Santos Leite Complex Network Services using OpenFlow Barebones
Zacker CompTIA Network+ Rapid Review (Exam N10-005)

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