CN107579880B - Networking method and system for testing various traffic models of router - Google Patents

Networking method and system for testing various traffic models of router Download PDF

Info

Publication number
CN107579880B
CN107579880B CN201710949262.6A CN201710949262A CN107579880B CN 107579880 B CN107579880 B CN 107579880B CN 201710949262 A CN201710949262 A CN 201710949262A CN 107579880 B CN107579880 B CN 107579880B
Authority
CN
China
Prior art keywords
network card
dual
frequency wireless
router
wireless network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710949262.6A
Other languages
Chinese (zh)
Other versions
CN107579880A (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.)
Huzhou Yinglie Intellectual Property Operation Co ltd
Original Assignee
Taizhou Jiji Intellectual Property Operation 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 Taizhou Jiji Intellectual Property Operation Co ltd filed Critical Taizhou Jiji Intellectual Property Operation Co ltd
Priority to CN201710949262.6A priority Critical patent/CN107579880B/en
Publication of CN107579880A publication Critical patent/CN107579880A/en
Application granted granted Critical
Publication of CN107579880B publication Critical patent/CN107579880B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides a networking method and a networking system for testing various flow models of a router, wherein a first wired network card and a first dual-frequency wireless network card are installed on a first computer; installing a second wired network card and a second dual-frequency wireless network card on a second computer; installing a third wired network card on a third computer; respectively connecting the first, second and third wired network cards with ports 1, 2 and 3 of a switch with a divided VLAN; respectively connecting a LAN1 interface, a LAN2 interface and a WAN interface of a router to be tested with a Port4, a Port5 and a Port6 of the switch; the first dual-frequency wireless network card and the second dual-frequency wireless network card are respectively connected with a first programmable attenuator and a second programmable attenuator through a first power divider and a second power divider in sequence; and respectively connecting the first programmable attenuator and the second programmable attenuator with two wireless interfaces of the router to be tested. The networking method and the networking system for testing various traffic models of the router, which are described above, use a set of testing environment to realize the testing of various traffic models, save the resource overhead and realize the automatic testing.

Description

Networking method and system for testing various traffic models of router
Technical Field
The embodiment of the invention relates to the field of communication, in particular to a networking method and a networking system for testing various traffic models of a router.
Background
A Router (Router) is a device for connecting each internal network, i.e., a Local Area Network (LAN), and each external network, i.e., a Wide Area Network (WAN), in the internet, and automatically selects and sets a route according to the channel condition, and transmits signals in a front-back order through an optimal path. At present, routers are widely applied to various industries, and various products with different grades become the main force for realizing the internal connection of various backbone networks, interconnection among backbone networks and interconnection and intercommunication services of the backbone networks and the Internet.
Routers (routers), also called Gateway devices (gateways), are used to connect multiple logically separate networks, so-called logical networks representing a single network or a sub-network. This may be accomplished by the routing function of the router when data is transferred from one subnet to another. Therefore, the router has the functions of judging network addresses and selecting IP paths, can establish flexible connection in a multi-network interconnection environment, can be used for connecting various subnets by completely different data grouping and medium access methods, only receives information of a source station or other routers, and belongs to interconnection equipment of a network layer.
A router is a multi-port device that can connect to local area networks and wide area networks, which may operate in a variety of environments, and may use different protocols.
Routers can be classified into wired routers and wireless routers.
The wired router is a router connected with the electronic device by using a network cable or an optical fiber, and is only suitable for the electronic device with a network cable interface.
The wireless router is a combination of a simplex Access Point (AP) and a broadband router, is a router with a wireless coverage function, and is mainly applied to user internet Access and wireless coverage. The wireless router popular in the market generally supports four access modes of private line xdsl/cable, dynamic xdsl and pptp, and also has other network management functions, such as dhcp service, nat firewall, mac address filtering and the like.
The wireless router can work in single frequency and dual-frequency, for example, the single frequency router can adopt 2.4Ghz or 5Ghz to transmit data, and the dual-frequency router adopts 2.4Ghz frequency band and 5Ghz frequency band to transmit data.
As shown in fig. 1, which is a schematic structural diagram of an intelligent home system in the prior art, a wireless router connects intelligent electronic devices in a home through WIFI, for example, the wireless router connects intelligent electronic devices such as a mobile phone, a computer, a television, a refrigerator, a washing machine, an air conditioner, and a lamp through WIFI, so as to implement network transmission.
At present, the form of a router is various, different traffic models are often required to be covered when the router is tested, different traffic models often require different test topologies, and the industry often builds a plurality of sets of topologies suitable for various traffic for testing at present.
Therefore, multiple sets of test topologies are built to cope with different flow models, too much Personal Computer (PC) resources and system resources are consumed, and complete automated testing is difficult to realize due to the need of testing in different topologies.
Disclosure of Invention
The invention provides a system for testing various flow models of a router in various aspects, which realizes the test of various flow models by using a set of test environment, saves the resource overhead and realizes the automatic test.
One aspect of the present invention provides a networking method for testing multiple traffic models of a router, including:
installing a first wired network card and a first dual-frequency wireless network card in a first computer;
installing a second wired network card and a second dual-frequency wireless network card on a second computer;
installing a third wired network card on a third computer;
connecting the first, second and third wired network cards to a first Port (Port1), a second Port (Port2) and a third Port (Port3) of a switch with a divided VLAN;
respectively connecting a first local area network (LAN1) interface, a second local area network (LAN1) interface and a Wide Area Network (WAN) interface of a router to be tested with a fourth Port (Port4), a fifth Port (Port5) and a sixth Port (Port6) of the switch;
the first dual-frequency wireless network card and the second dual-frequency wireless network card are respectively connected with a first programmable attenuator and a second programmable attenuator through a first power divider and a second power divider in sequence;
and respectively connecting the first programmable attenuator and the second programmable attenuator with two wireless interfaces of the router to be tested.
Optionally, when the performance of the switching module of the router under test needs to be tested, configuring the Port1 and the Port4 of the switch to be in the same VLAN, and the Port2 and the Port5 to be in another VLAN; forbidding the first and second dual-frequency wireless network cards; and carrying out flow test between the first wired network card and the second wired network card on the first computer or the second computer.
Optionally, when the performance of a Network Address Translation (NAT) module of the router under test needs to be tested, configuring the Port1 and the Port4 of the switch to be in the same VLAN, and the Port2 and the Port6 to be in another VLAN; forbidding the first and second dual-frequency wireless network cards; and carrying out flow test between the first wired network card and the second wired network card on the first computer or the second computer.
Optionally, when the performance of the wireless and Network Address Translation (NAT) module of the router under test needs to be tested, configuring the Port1 and the Port4 of the switch to be in the same VLAN, the Port2 and the Port5 to be in another VLAN, and the Port3 and the Port6 to be in yet another VLAN; connecting the first dual-frequency wireless network card with WiFi of the router to be tested; setting the network card hop count (METRIC) of the first wired network card and the first dual-frequency wireless network card to be the same value; and disabling the second dual-frequency wireless network card, and performing flow test between the first dual-frequency wireless network card and the second wired network card and flow test between the first wired network card and the third wired network card on the first computer.
Optionally, when the dual-frequency wireless performance of the router to be tested needs to be tested, configuring the Port1 and the Port4 of the switch to be in the same VLAN, and configuring the Port2 and the Port5 to be in another VLAN; connecting the first dual-frequency wireless network card with 2.4G WiFi of the router to be tested, and connecting the second dual-frequency wireless network card with 5G WiFi of the router to be tested; setting the network card hop numbers of the first wired network card and the first dual-frequency wireless network card to be the same value on the first computer, and setting the network card hop numbers of the second wired network card and the second dual-frequency wireless network card to be the same value on the second computer; and carrying out flow test between the first wired network card and the second dual-frequency wireless network card and flow test between the second wired network card and the first dual-frequency wireless network card on the first computer or the second computer.
Another aspect of the present invention provides a system for testing multiple traffic models of a router, including: a first computer, a second computer, a third computer, a first wired network card, a second wired network card, a first dual-frequency wireless network card, a second dual-frequency wireless network card, a switch with a VLAN, a power divider, a first programmable attenuator and a second programmable attenuator, wherein,
the first wired network card and the first dual-frequency wireless network card are installed on the first computer;
the second wired network card and the second dual-frequency wireless network card are installed on the second computer;
the third wired network card is installed on the third computer;
the first, second and third wired network cards are respectively connected with a first Port (Port1), a second Port (Port2) and a third Port (Port3) of the switch;
a fourth Port (Port4), a fifth Port (Port5) and a sixth Port (Port6) of the switch are respectively connected with a first local area network (LAN1) interface, a second local area network (LAN2) interface and a Wide Area Network (WAN) interface of the router to be tested;
the first dual-frequency wireless network card and the second dual-frequency wireless network card are respectively connected with the first programmable attenuator and the second programmable attenuator through a first power divider and a second power divider in sequence;
the first programmable attenuator and the second programmable attenuator are respectively connected with two wireless interfaces of the router to be tested.
Optionally, when the performance of the switching module of the router to be tested needs to be tested, the Port1 and the Port4 of the switch are configured in the same VLAN, the Port2 and the Port5 of the switch are configured in another VLAN, and the first dual-frequency wireless network card and the second dual-frequency wireless network card are disabled, so that the traffic test between the first wired network card and the second wired network card is performed on the first computer or the second computer.
Optionally, when the performance of a Network Address Translation (NAT) module of the router under test needs to be tested, the Port1 and the Port4 of the switch are configured in the same VLAN, the Port2 and the Port6 of the switch are configured in another VLAN, and the first and second dual-frequency wireless network cards are disabled, so as to implement a traffic test between the first wired network card and the second wired network card on the first computer or the second computer.
Optionally, when the performance of a wireless and Network Address Translation (NAT) module of the router under test needs to be tested, the Port1 and the Port4 of the switch are configured in the same VLAN, the Port2 and the Port5 of the switch are configured in another VLAN, the Port3 and the Port6 of the switch are configured in yet another VLAN, and the first dual-frequency wireless network card connects the WiFi of the router under test; the network card hop count (METRIC) of the first wired network card and the first dual-frequency wireless network card are set to be the same value, and the second dual-frequency wireless network card is forbidden, so that the flow test between the first dual-frequency wireless network card and the second wired network card and the flow test between the first wired network card and the third wired network card are carried out on the first computer.
Optionally, when the dual-frequency wireless performance of the router to be tested needs to be tested, the Port1 and the Port4 of the switch are configured in the same VLAN, and the Port2 and the Port5 of the switch are configured in another VLAN; the first dual-frequency wireless network card is connected with 2.4G WiFi of the router to be tested, the second dual-frequency wireless network card is connected with 5G WiFi of the router to be tested, the network card hop counts of the first wired network card and the first dual-frequency wireless network card are set to be the same value on the first computer, and the network card hop counts of the second wired network card and the second dual-frequency wireless network card are set to be the same value on the second computer, so that flow test between the first wired network card and the second dual-frequency wireless network card and flow test between the second wired network card and the first dual-frequency wireless network card are carried out on the first computer or the second computer.
By the networking method and the networking system for testing various traffic models of the router, the various traffic models are tested by using one set of test environment, so that the resource overhead is saved, and the automatic test is realized.
Drawings
Fig. 1 is a schematic structural diagram of an intelligent home system in the prior art;
fig. 2 is a schematic structural diagram of a system for testing multiple traffic models of a router according to another embodiment of the present invention;
fig. 3 is a schematic flow chart of a networking method for testing multiple traffic models of a router according to another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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 some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The techniques described herein may be used in various Communication systems, such as 2G, 3G, 4G Communication systems and next generation Communication systems (e.g., 5G), such as Global System for mobile Communication (GSM) systems, Code Division Multiple Access (CDMA) systems, Time Division Multiple Access (TDMA) systems, Wideband Code Division Multiple Access (WCDMA) systems, Frequency Division Multiple Access (FDMA) systems, Orthogonal Frequency-Division Multiple Access (OFDMA) systems, FDMA (SC-FDMA) systems, General Packet Radio Service (General Packet Radio Service, GPRS) systems, Long Term Evolution (Long Term Evolution, LTE) systems, and other Evolution systems. CDMA systems may implement radio technologies such as Universal Terrestrial Radio Access (UTRA), CDMA2000, and the like. UTRA includes wideband-CDMA (wcdma) and other CDMA variants. In addition, CDAM2000 covers IS-2000, IS-95 and IS-856 standards. TDMA systems may implement radio technologies such as global system for mobile communications (GSM). The OFDMA system may implement Radio technologies such as Evolved-UMTS Terrestrial Radio Access (E-UTRA), Ultra Mobile Broadband (UMB), IEEE802.11(Wi-Fi), IEEE802.16(WiMAX), IEEE802.20, Flash-OFDMA, and the like. UTRA and E-UTRA are part of the Universal Mobile Telecommunication System (UMTS). 3GPP Long term evolution (e.g., LTE) is a version of UMTS that uses E-UTRA, which may employ OFDMA on the downlink and SC-FDMA on the uplink. UTRA, E-UTRA, UMTS, LTE and GSM are described in the literature of the "third Generation partnership project (3 GPP)" organization. In addition, CDAM2000 and UMB are described in the literature of the third generation partnership project 2(3GPP2) organization.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship. Additionally, the terms "system" and "network" are often used interchangeably herein.
As shown in fig. 2, which is a schematic structural diagram of a system for testing multiple traffic models of a router according to an embodiment of the present invention, the system for testing multiple traffic models of a router includes: the system comprises a first computer (PC1), a second computer (PC2), a third computer (PC3), a first wired Network card (Network Information Center1, NIC1), a second wired Network card (NIC2), a third wired Network card (NIC2), a first dual-frequency Wireless Network card (Wireless Network Information Center1, WNIC1), a second dual-frequency Wireless Network card (WNIC2), a Switch (Switch) with a virtual local area Network VLAN dividing function, a first power divider, a second power divider, a first programmable attenuator and a second programmable attenuator.
The first wired network card (NIC1) and the first dual-frequency wireless network card (WNIC1) are installed on the first computer (PC 1).
The second wired network card (NIC2) and the second dual-frequency wireless network card (WNIC2) are installed on the second computer (PC 2).
The third wired network card (NIC3) is installed on the third computer (PC 3).
The NIC1, the NIC2, and the NIC3 are respectively connected to a first Port (Port1), a second Port (Port2), and a third Port (Port3) of the switch.
And the first local area network (LAN1) interface, the second local area network (LAN2) interface and the Wide Area Network (WAN) interface of the router to be tested are respectively connected with the fourth Port (Port4), the fifth Port (Port5) and the sixth Port (Port6) of the switch.
The WNIC1 and the WNIC2 are sequentially connected with the first programmable attenuator and the second programmable attenuator through the first power divider and the second power divider respectively, namely the first power divider and the second power divider are connected in series, the WNIC1 and the WNIC2 are both connected with the first power divider, then the first power divider is connected with the second power divider, and the second power divider is connected with the first programmable attenuator and the second programmable attenuator.
The first programmable attenuator and the second programmable attenuator are respectively connected with two wireless interfaces of the router to be tested.
Fig. 3 is a schematic flow chart of a networking method for testing multiple traffic models of a router according to an embodiment of the present invention, and with reference to fig. 2, the networking method for testing multiple traffic models of a router is mainly as follows.
Step 301, installing a first wired network card (NIC1) and a first dual-frequency wireless network card (WNIC1) on a first computer (PC 1).
Step 302, install the second wired network card (NIC2) and the second dual-frequency wireless network card (WNIC2) on the second computer (PC 2).
Step 303, install the third wired network card (NIC3) on the third computer (PC 3).
In step 304, the NIC1, the NIC2, and the NIC3 are respectively connected to the first Port (Port1), the second Port (Port2), and the third Port (Port3) of the switch.
And 305, respectively connecting a first local area network (LAN1) interface, a second local area network (LAN2) interface and a Wide Area Network (WAN) interface of the router to be tested with a fourth Port (Port4), a fifth Port (Port5) and a sixth Port (Port6) of the switch.
And step 306, respectively connecting the WNIC1 and the WNIC2 to a first programmable attenuator and a second programmable attenuator through a first power divider and a second power divider in sequence.
And 307, respectively connecting the first programmable attenuator and the second programmable attenuator to two wireless interfaces of the router to be tested.
In another embodiment of the present invention, when the performance of the switching module of the router to be tested needs to be tested, that is, a traffic test between local area networks (LAN < - > LAN) is performed, the Port1 and the Port4 of the switch are configured to be in the same VLAN, and the Port2 and the Port5 are in another VLAN; disabling the WNIC1, WNIC 2; traffic testing between the NIC1 and NIC2 (NIC1< - > NIC2) was performed on either the PC1 or PC 2.
In another embodiment of the present invention, when the performance of a Network Address Translation (NAT) module of the router to be tested needs to be tested, a traffic test between a local area network and a wide area network (LAN < - > WAN) is performed, the Port1 and the Port4 of the switch are located in the same VLAN, and the Port2 and the Port6 are located in another VLAN; disabling the WNIC1, WNIC 2; traffic testing between the NIC1 and NIC2 (NIC1< - > NIC2) was performed on either the PC1 or PC 2.
In another embodiment of the present invention, when the performance of the wireless and network address translation NAT modules of the router to be tested needs to be tested, that is, traffic tests between a local area network and a wireless local area network (LAN < - > WLAN) and LAN < - > WAN are performed, the Port1 and the Port4 of the switch are configured to be in the same VLAN, the Port2 and the Port5 are in another VLAN, and the Port3 and the Port6 are in yet another VLAN; connecting the WNIC1 with WiFi of the router to be tested; setting the network card hop counts (METRIC) of the NIC1 and the WNIC1 to be the same value, because the network cards of two same network segments on the same PC are preferentially used for communication if the hop counts are different, and when the hop counts are the same, the network cards of the two same network segments are simultaneously used; disable the WNIC2, conduct traffic testing between the WNIC1 and the NIC2 (WNIC1< - > NIC2) and between the NIC1 and the NIC3 (NIC1< - > NIC3) on the PC 1.
In another embodiment of the present invention, when dual-band wireless performance of the router under test needs to be tested, that is, testing between a local area network and a wireless local area network 2.4G Port (LAN < - > WLAN2G4) and between a local area network and a wireless local area network 5G Port (LAN < - > WLAN5G) is performed, the Port1 and the Port4 of the switch are configured to be on the same VLAN, and the Port2 and the Port5 are on another VLAN; connecting the WNIC1 with 2.4G WiFi of the router to be tested, and connecting the WNIC2 with 5G WiFi of the router to be tested; setting the network card hop numbers of the NIC1 and the WNIC1 to be the same value on the PC1, and setting the network card hop numbers of the NIC2 and the WNIC2 to be the same value on the PC2, wherein the two same values may be different and the same in another embodiment of the invention; traffic testing between the NIC1 and the WNIC2 (NIC1< - > WNIC2) and traffic testing between the NIC2 and the WNIC1 (NIC2< - > WNIC1) was conducted on either the PC1 or the PC 2.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A networking method for testing various traffic models of a router is characterized by comprising the following steps:
installing a first wired network card and a first dual-frequency wireless network card in a first computer;
installing a second wired network card and a second dual-frequency wireless network card on a second computer;
installing a third wired network card on a third computer;
the first, second and third wired network cards are respectively connected with a first Port1, a second Port2 and a third Port3 of a switch for dividing virtual local area network VLAN;
respectively connecting a first Local Area Network (LAN) 1 interface, a second Local Area Network (LAN) 2 interface and a Wide Area Network (WAN) interface of a router to be tested with a fourth Port4, a fifth Port5 and a sixth Port6 of the switch;
the first dual-frequency wireless network card and the second dual-frequency wireless network card are respectively connected with a first programmable attenuator and a second programmable attenuator through a first power divider and a second power divider in sequence;
and connecting the first programmable attenuator with one wireless interface of the router to be tested, and connecting the second programmable attenuator with the other wireless interface of the router to be tested.
2. The networking method of claim 1, wherein when the performance of the switching module of the router under test needs to be tested, the method comprises:
configuring the Port1 and the Port4 of the switch to be on the same VLAN, the Port2 and the Port5 being on another VLAN;
forbidding the first and second dual-frequency wireless network cards;
and carrying out flow test between the first wired network card and the second wired network card on the first computer or the second computer.
3. The networking method of claim 1, wherein when the performance of the NAT module of the router under test needs to be tested, the method comprises:
configuring the Port1 and the Port4 of the switch to be on the same VLAN, the Port2 and the Port6 being on another VLAN;
forbidding the first and second dual-frequency wireless network cards;
and carrying out flow test between the first wired network card and the second wired network card on the first computer or the second computer.
4. The networking method of claim 1, wherein when the performance of the wireless and Network Address Translation (NAT) modules of the router under test needs to be tested, the method comprises the following steps:
configuring the Port1 and the Port4 of the switch to be on the same VLAN, the Port2 and the Port5 to be on another VLAN, and the Port3 and the Port6 to be on yet another VLAN;
connecting the first dual-frequency wireless network card with WiFi of the router to be tested;
setting the network card hop number METRIC of the first wired network card and the first dual-frequency wireless network card to be the same value;
and disabling the second dual-frequency wireless network card, and performing flow test between the first dual-frequency wireless network card and the second wired network card and flow test between the first wired network card and the third wired network card on the first computer.
5. The networking method of claim 1, wherein when the dual-frequency wireless performance of the router under test needs to be tested, the method comprises:
configuring the Port1 and Port4 of the switch to be on the same VLAN, the Port2 and the Port5 to be on another VLAN,
connecting the first dual-frequency wireless network card with 2.4G WiFi of the router to be tested, and connecting the second dual-frequency wireless network card with 5G WiFi of the router to be tested;
setting the network card hop numbers of the first wired network card and the first dual-frequency wireless network card to be the same value on the first computer, and setting the network card hop numbers of the second wired network card and the second dual-frequency wireless network card to be the same value on the second computer;
and carrying out flow test between the first wired network card and the second dual-frequency wireless network card and flow test between the second wired network card and the first dual-frequency wireless network card on the first computer or the second computer.
6. A system for testing multiple traffic models of a router, comprising: a first, a second and a third computers, a first, a second and a third wired network cards, a first and a second double-frequency wireless network cards, a switch with VLAN, a power divider and a first and a second programmable attenuators, wherein, the switch is used for dividing VLAN
The first wired network card and the first dual-frequency wireless network card are installed on the first computer;
the second wired network card and the second dual-frequency wireless network card are installed on the second computer;
the third wired network card is installed on the third computer;
the first, second and third wired network cards are respectively connected with a first Port1, a second Port2 and a third Port3 of the switch;
a fourth Port4, a fifth Port5 and a sixth Port6 of the switch are respectively connected with a first local area network LAN1 interface, a second local area network LAN2 interface and a wide area network WAN interface of the router to be tested;
the first dual-frequency wireless network card and the second dual-frequency wireless network card are respectively connected with the first programmable attenuator and the second programmable attenuator through a first power divider and a second power divider in sequence;
and connecting the first programmable attenuator with one wireless interface of the router to be tested, and connecting the second programmable attenuator with the other wireless interface of the router to be tested.
7. The system of claim 6, wherein when it is desired to test the performance of the switching module of the router under test, the Port1 and the Port4 of the switch are configured on the same VLAN, the Port2 and the Port5 of the switch are configured on another VLAN, and the first and second dual-frequency wireless network cards are disabled to enable traffic testing between the first and second wired network cards on the first or second computers.
8. The system of claim 6, wherein when it is desired to test the performance of the NAT module of the router under test, the Port1 and the Port4 of the switch are configured on the same VLAN, the Port2 and the Port6 of the switch are configured on the other VLAN, and the first and second dual-frequency wireless network cards are disabled to enable traffic testing between the first and second wired network cards on the first or second computers.
9. The system of claim 6, wherein when it is desired to test the performance of the wireless and Network Address Translation (NAT) modules of the router under test, the Port1 and the Port4 of the switch are configured on the same VLAN, the Port2 and the Port5 of the switch are configured on another VLAN, the Port3 and the Port6 of the switch are configured on yet another VLAN, and the first dual frequency wireless network card connects the WiFi of the router under test; the network card hop counts METRIC of the first wired network card and the first dual-frequency wireless network card are set to be the same value, and the second dual-frequency wireless network card is forbidden, so that the flow test between the first dual-frequency wireless network card and the second wired network card and the flow test between the first wired network card and the third wired network card are carried out on the first computer.
10. The system of claim 6, wherein when dual frequency wireless performance of the router under test needs to be tested, the Port1 and the Port4 of the switch are configured on the same VLAN, and the Port2 and the Port5 of the switch are configured on the other VLAN; the first dual-frequency wireless network card is connected with 2.4G WiFi of the router to be tested, the second dual-frequency wireless network card is connected with 5G WiFi of the router to be tested, the network card hop counts of the first wired network card and the first dual-frequency wireless network card are set to be the same value on the first computer, and the network card hop counts of the second wired network card and the second dual-frequency wireless network card are set to be the same value on the second computer, so that flow test between the first wired network card and the second dual-frequency wireless network card and flow test between the second wired network card and the first dual-frequency wireless network card are carried out on the first computer or the second computer.
CN201710949262.6A 2017-10-12 2017-10-12 Networking method and system for testing various traffic models of router Active CN107579880B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710949262.6A CN107579880B (en) 2017-10-12 2017-10-12 Networking method and system for testing various traffic models of router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710949262.6A CN107579880B (en) 2017-10-12 2017-10-12 Networking method and system for testing various traffic models of router

Publications (2)

Publication Number Publication Date
CN107579880A CN107579880A (en) 2018-01-12
CN107579880B true CN107579880B (en) 2021-04-23

Family

ID=61037563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710949262.6A Active CN107579880B (en) 2017-10-12 2017-10-12 Networking method and system for testing various traffic models of router

Country Status (1)

Country Link
CN (1) CN107579880B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108199930A (en) * 2018-03-13 2018-06-22 四川斐讯信息技术有限公司 The topological test system and test method of a kind of router multi-mode
CN108449236B (en) * 2018-05-14 2022-02-25 杭州吉吉知识产权运营有限公司 Router function test system
CN108966262B (en) * 2018-06-14 2022-06-07 深圳市携众通科技有限公司 Router peak performance test topology and method
CN109104329B (en) * 2018-07-02 2023-11-07 深圳市速速优科技有限公司 System for testing compatibility of router and network card
CN111741487B (en) * 2020-05-11 2024-02-09 深圳市共进电子股份有限公司 Wireless mesh network route selection test method, device and terminal equipment
CN114374626B (en) * 2022-01-19 2022-10-14 广州鲁邦通物联网科技股份有限公司 Router performance detection method under 5G network condition
CN115426328B (en) * 2022-07-29 2023-08-22 云尖信息技术有限公司 Shunt switch, and test device, system and method of switch

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010057434A (en) * 1999-12-23 2001-07-04 이계철 A method for routing test based on generation of random virtual networks
CN105227406A (en) * 2015-10-16 2016-01-06 上海矽昌通信技术有限公司 A kind of method of testing of router combination property
CN105337877A (en) * 2015-12-03 2016-02-17 上海斐讯数据通信技术有限公司 Wireless router detecting device and method
CN106789401A (en) * 2016-11-29 2017-05-31 上海斐讯数据通信技术有限公司 The performance test methods and system of a kind of double-frequency wireless router

Also Published As

Publication number Publication date
CN107579880A (en) 2018-01-12

Similar Documents

Publication Publication Date Title
CN107579880B (en) Networking method and system for testing various traffic models of router
KR101390384B1 (en) Apparatus and method for multiple wireless service coexistence
CN105594257B (en) Method and system for transmitting and receiving data
CN104995961B (en) The control of WLAN selection strategies in roaming scenario
CN104717709B (en) A kind of method for switching network and device
CN109587734B (en) Communication method and device of double-frequency repeater
AU2018272736B2 (en) Dynamic operating roles for internet of things (IoT) devices in a network
CN109104329B (en) System for testing compatibility of router and network card
US20200076521A1 (en) Methods, systems, and computer readable media for testing a central unit using a distributed unit emulation
KR20150023023A (en) Dynamic control of network selection
CN110266828A (en) A kind of method, apparatus and network system for establishing end to end network connection
US7948905B2 (en) Troubleshooting voice over WLAN deployments
CN105188047A (en) Wifi wireless roaming Internet access method and mobile terminal
CN106304166B (en) System and method for testing number of concurrent users of wireless router
CN111418189A (en) Management of connections of residential gateways to other residential gateways implementing link aggregation
JP6739765B2 (en) CSI-RS transmission method and network device
US11570087B2 (en) Data routing in a customer-premises equipment using link aggregation
CN107342899A (en) Cellular Networks aggregated links control method
WO2020038343A1 (en) Antenna rotation method and terminal device
Britos et al. BATMAN Adv. Mesh network emulator
JP7001909B2 (en) Network device, network attached storage and default gateway setting method
US20190208433A1 (en) Network path selection method and network node device using the same
TWI691186B (en) Management system and method of multiple eterogeneous networks aggregation
Mishra et al. NextGen-MHS: A Novel Architecture for Tethering of Aggregated Licensed and Unlicensed Spectrums
Hung et al. Ue performance evaluation on lte indoor and outdoor testbeds

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201103

Address after: 318015 no.2-3167, zone a, Nonggang City, no.2388, Donghuan Avenue, Hongjia street, Jiaojiang District, Taizhou City, Zhejiang Province

Applicant after: Taizhou Jiji Intellectual Property Operation Co.,Ltd.

Address before: 201616 Shanghai city Songjiang District Sixian Road No. 3666

Applicant before: Phicomm (Shanghai) Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240102

Address after: 313000 room 1019, Xintiandi commercial office, Yishan street, Wuxing District, Huzhou, Zhejiang, China

Patentee after: Huzhou YingLie Intellectual Property Operation Co.,Ltd.

Address before: 318015 no.2-3167, area a, nonggangcheng, 2388 Donghuan Avenue, Hongjia street, Jiaojiang District, Taizhou City, Zhejiang Province

Patentee before: Taizhou Jiji Intellectual Property Operation Co.,Ltd.