CN113438131B - Router L2TP multi-client access number and stability test method - Google Patents

Router L2TP multi-client access number and stability test method Download PDF

Info

Publication number
CN113438131B
CN113438131B CN202110706340.6A CN202110706340A CN113438131B CN 113438131 B CN113438131 B CN 113438131B CN 202110706340 A CN202110706340 A CN 202110706340A CN 113438131 B CN113438131 B CN 113438131B
Authority
CN
China
Prior art keywords
client
l2tp
server
router
tested
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
CN202110706340.6A
Other languages
Chinese (zh)
Other versions
CN113438131A (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.)
Shenzhen Wanjia Ruichuang Technology Co ltd
Original Assignee
Shenzhen Tenda 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 Shenzhen Tenda Technology Co Ltd filed Critical Shenzhen Tenda Technology Co Ltd
Priority to CN202110706340.6A priority Critical patent/CN113438131B/en
Publication of CN113438131A publication Critical patent/CN113438131A/en
Application granted granted Critical
Publication of CN113438131B publication Critical patent/CN113438131B/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
    • 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/12Discovery or management of network topologies
    • 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
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Abstract

The invention provides a router L2TP multi-client access number and stability test method, which comprises the following steps: topological connection; starting an L2TP server function on the router to be tested, and configuring a dialing account for an L2TP client; establishing a plurality of L2TP clients on a terminal A of the Testcenter simulation equipment, and performing dial-up connection with an L2TP server of the router to be tested; a server with the same network segment as the LAN port address of the router to be tested is established on the Testcenter port B; and establishing a client corresponding to the server for the L2TP client on the Testcenter port A, wherein the client is used for accessing the server on the Testcenter port B, if the access is successful, the dialing of the L2TP client is successful, and the number of the L2TP client connections of the router to be tested is obtained according to the number of the successfully accessed clients. The invention can reduce test equipment and improve test efficiency.

Description

Router L2TP multi-client access number and stability test method
Technical Field
The invention relates to a display screen structure, in particular to a method for testing the access number and stability of a router L2TP multi-client.
Background
At present, the router is used as an L2TP client to perform testing for the access number and the stability of the L2TP multi-client of the testing router in a company, and the router is used as the L2TP client, so more routers are needed to be used as the L2TP clients, in addition, networking configuration needs to be performed on each L2TP client, the testing operability is difficult, and the testing efficiency is low.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a method for testing the access number and the stability of a router L2TP multi-client.
The test method adopts testcenter simulation equipment for testing, and comprises the following steps:
step one, topological connection: the WAN port of the router to be tested is connected with the port A of the testcenter simulation equipment, and the LAN port is connected with the port B of the testcenter simulation equipment;
step two, starting an L2TP server function on the router to be tested, and configuring a dialing account for an L2TP client;
step three, establishing a plurality of L2TP client LACs on a terminal A of the Testcenter simulation equipment, and performing L2TP dialing connection with an L2TP server of the router to be tested;
step four, a server is set up on the Testcenter port B, and the address of the server and the address of the LAN port of the router to be tested are in the same network segment;
and step five, establishing a client corresponding to the server for the L2TP client on the Testcenter port A, accessing the server on the Testcenter port B, indicating that the dialing of the L2TP client is successful if the access is successful, and acquiring the connection number of the L2TP client of the router to be tested according to the number of the clients successfully accessed and the access condition.
The invention is further improved, in step five, after dialing successfully, set up L2TP customer end to visit the server of router LAN side to be measured continuously in the settlement time quantum, test L2TP server many customer ends stability of cut-in.
The invention is further improved, in the third step, the L2TP LAC simulation function of testcenter simulation equipment is used for realizing the simulation realization of the L2TP client, and the specific realization steps are as follows:
(1) Adding an LAC simulation node in an STC application simulation function of the testcenter;
(2) Setting an IP address and a gateway address of the simulation node, wherein the gateway address is the IP address of a WAN port of the router to be tested;
(3) Setting an authentication mode of the L2TP, wherein the authentication mode is consistent with the setting of the router to be tested;
(4) And setting the dialing account and password of the L2TP client according to the dialing account configured by the router to be tested.
The invention is further improved, in step five, the STC application data simulation function of the testcenter simulation equipment is utilized to serve as a client at an L2TP client side interface to send a service request data stream to a B port server at the LAN side of the router to be tested.
The invention is further improved, the client is an FTP client, and the server is an FTP server.
The invention further improves that the processing method of the communication before the FTP client side sends the FTP server comprises the following steps:
(1) Starting a simulation machine to establish a simulation communication model for an FTP client interface and a server interface, wherein the simulation protocol is selected to be FTP;
(2) Selecting an FTP client and an FTP server interface, wherein the client interface is an L2TP client interface, and the server interface is a port connected with the LAN side of the router to be tested;
(3) Configuring FTP client configuration information: the Client selects Client data to store Client Profiles, connected servers and Load Profiles;
(4) Configuring an FTP server side: the Server side selects Server data to store Server Profiles, and manages and creates Client Profiles, server Profiles and Load Profiles through the manager Profiles;
(5) And after the client and the server are configured, the sending access test of the FTP application service data stream can be carried out.
Compared with the prior art, the invention has the beneficial effects that: a plurality of L2TP clients are simulated through the testcenter to dial in the L2TP server of the router to be tested, so that test equipment is greatly reduced, test operation is simplified, and test efficiency is improved.
Drawings
Fig. 1 is a test networking topology diagram of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples.
As shown in fig. 1, the present invention uses the existing testcenter (software test management tool) to implement the access number and stability test function of the router, specifically, in this embodiment, a testcenter simulator is used to simulate a plurality of L2TP clients to dial into an L2TP server of the router to be tested, and an FTP (File Transfer Protocol) client is established in the L2TP client to access the intranet resource FTP service on the LAN side of the router to be tested. Other communication protocols may also be established to access the client to communicate with the corresponding server.
Specifically, the specific implementation method of the present example is as follows:
1. topological connection: the WAN port of the device to be tested is connected with the port A of the testcenter, and the LAN port is connected with the port B of the testcenter (see the networking topology in FIG. 1).
2. And starting the function of the L2TP server on the router equipment to be tested, and configuring a dialing account for the L2TP client.
3. Establishing a plurality of L2TP client LACs on a Testcenter port A, setting data of the L2TP clients according to test requirements, and performing L2TP dial-up connection between the L2TP clients and an L2TP server of a router to be tested.
In this embodiment, the existing L2TP LAC simulation function of the testcenter is used to realize the simulation of the L2TP client, and the specific implementation steps are as follows:
(1) Adding an LAC simulation node in an STC application simulation function of the testcenter, wherein the protocol encapsulation mode is PPPOL2TP;
(2) Setting an IP address and a gateway address (the gateway address is the IP address of a WAN port) for the simulation node;
(3) The authentication method (CHAP or PAP) for setting the L2TP needs to be consistent with the setting of the router to be tested;
(4) And setting an account and a password (required to be consistent with an account password configured on the router to be tested) dialed by the L2TP client.
4. And (4) establishing an FTP server on the Testcenter port B, wherein the address of the FTP server and the address of the LAN port of the router to be tested are in the same network segment.
5. And establishing an FTP client for the L2TP client on the Testcenter port A to access the FTP server on the Testcenter port B, wherein if the access is successful, the dialing of the L2TP client is successful, and the connection number of the L2TP client of the router to be tested can be known according to the number of the clients which access successfully.
In step 5, the L2TP client is set to access the FTP server on the LAN side of the router to be tested for a long time (e.g. 7 × 24 hours according to the test requirement in this example), so as to test the stability of the access of the L2TP server to multiple clients.
In this embodiment, an application data simulation function of the STC of the testcenter is used as an FTP client at an interface on the L2TP client side to send a service request data stream of the FTP to a B-port FTP server on the LAN side of the router to be tested, and the specific implementation steps are as follows:
(1) Starting a simulator to establish a simulation communication model for an FTP client interface and a server interface, wherein the simulation protocol is selected to be FTP;
(2) Selecting an FTP client and an FTP server interface, wherein the client interface is an L2TP client interface, and the server interface is a port connected with the LAN side of the router to be tested;
(3) Configuring FTP client configuration information: the Client selects Client data to store Client Profiles, connected servers and Load Profiles;
(4) Configuring an FTP server side: the Server side selects Server data to store Server Profiles, and manages and creates Client Profiles, server Profiles and Load Profiles through the manager Profiles;
(5) And after the client and the server are configured, the sending access test of the FTP application service data stream can be carried out.
According to the embodiment, the testcenter is adopted to simulate the plurality of L2TP clients to dial in the L2TP server of the router to be tested, only one router is needed to be used as the L2TP server for testing, and the plurality of routers are not needed to be used as the L2TP clients for networking, so that the number of the testing devices is greatly reduced, the simulation devices and the router are simple in networking, and after networking, all testing is completed through the simulation machine, so that the testing operation process is greatly simplified, and the testing efficiency is improved.
The above-described embodiments are intended to be illustrative, and not restrictive, of the invention, and all changes that come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein.

Claims (5)

1. A router L2TP multi-client access number and stability test method adopts testcenter simulation equipment for testing, and is characterized by comprising the following steps:
step one, topological connection: the WAN port of the router to be tested is connected with the port A of the testcenter simulation equipment, and the LAN port is connected with the port B of the testcenter simulation equipment;
step two, starting an L2TP server function on the router to be tested, and configuring a dialing account for an L2TP client;
step three, establishing a plurality of L2TP client LACs on a terminal A of the Testcenter simulation equipment, and performing L2TP dialing connection with an L2TP server of the router to be tested;
step four, a server is set up on the terminal B of the Testcenter simulation equipment, and the address of the server and the address of the LAN port of the router to be tested are in the same network segment;
step five, establishing a client corresponding to the server for the L2TP client on the terminal A of the Testcenter simulation equipment, wherein the client is used for accessing the server on the terminal B of the Testcenter simulation equipment, if the access is successful, the dialing of the L2TP client is successful, the connection number of the L2TP client of the router to be tested is obtained according to the number of the successfully accessed clients and the access condition, and in the step three, the simulation realization of the L2TP client is realized by utilizing the L2TP LAC simulation function of the Testcenter simulation equipment, and the specific realization steps are as follows:
(1) Adding an LAC simulation node in an STC application simulation function of testcenter simulation equipment;
(2) Setting an IP address and a gateway address of an LAC simulation node, wherein the gateway address is the IP address of a WAN port of the router to be tested;
(3) Setting an authentication mode of the L2TP, wherein the authentication mode is consistent with the setting of the router to be tested;
(4) And setting an account and a password for dialing the L2TP client according to the dialing account configured by the router to be tested.
2. The method for testing the number of accesses to the router L2TP and the stability thereof according to claim 1, wherein: and step five, after the dialing is successful, setting the L2TP client to continuously access the server at the LAN side of the router to be tested in a set time period, and testing the stability of the access of the L2TP server to multiple clients.
3. The method for testing the number of accesses and the stability of the L2TP multiple clients of the router according to claim 1 or 2, wherein: and step five, using the STC application data simulation function of the testcenter simulation equipment as a client at an interface at the L2TP client side to send a service request data stream to a B port server at the LAN side of the router to be tested.
4. The method for testing the number of accesses to the router L2TP and the stability thereof according to claim 3, wherein: the client is an FTP client, and the server is an FTP server.
5. The method for testing the number of accesses to the router L2TP and the stability thereof according to claim 4, wherein: the processing method of the communication before the FTP client side sends the FTP server comprises the following steps:
(1) Starting a simulator to establish a simulation communication model for an FTP client interface and a server interface, wherein the simulation protocol is selected to be FTP;
(2) Selecting an FTP client and an FTP server interface, wherein the client interface is an L2TP client interface, and the server interface is a port connected with the LAN side of the router to be tested;
(3) Configuration information of the FTP client: the Client selects Client data to store Client Profiles, connected servers and Load Profiles;
(4) Configuring an FTP server side: the Server side selects Server data to store Server Profiles, and manages and creates Client Profiles, server Profiles and Load Profiles through the manager Profiles;
(5) And after the client and the server are configured, the sending access test of the FTP application service data stream can be carried out.
CN202110706340.6A 2021-06-24 2021-06-24 Router L2TP multi-client access number and stability test method Active CN113438131B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110706340.6A CN113438131B (en) 2021-06-24 2021-06-24 Router L2TP multi-client access number and stability test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110706340.6A CN113438131B (en) 2021-06-24 2021-06-24 Router L2TP multi-client access number and stability test method

Publications (2)

Publication Number Publication Date
CN113438131A CN113438131A (en) 2021-09-24
CN113438131B true CN113438131B (en) 2022-11-25

Family

ID=77755316

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110706340.6A Active CN113438131B (en) 2021-06-24 2021-06-24 Router L2TP multi-client access number and stability test method

Country Status (1)

Country Link
CN (1) CN113438131B (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060143701A1 (en) * 2004-12-23 2006-06-29 Cisco Technology, Inc. Techniques for authenticating network protocol control messages while changing authentication secrets
CN101227344B (en) * 2008-02-03 2013-01-16 中兴通讯股份有限公司 Method for simulating L2TP dialing
US7826381B1 (en) * 2008-05-30 2010-11-02 Spirent Communications, Inc. Method and device test data streams bound to emulated devices
CN101841475B (en) * 2010-04-21 2011-12-28 北京星网锐捷网络技术有限公司 System for testing performance of GRE (Ground Radar Equipment) router and method thereof
CN103067225B (en) * 2013-01-05 2017-10-20 上海斐讯数据通信技术有限公司 A kind of test system
CN103441894A (en) * 2013-08-20 2013-12-11 迈普通信技术股份有限公司 Method and system for L2TP concurrent connection performance test
CN109391940B (en) * 2017-08-02 2021-02-12 华为技术有限公司 Method, equipment and system for accessing network

Also Published As

Publication number Publication date
CN113438131A (en) 2021-09-24

Similar Documents

Publication Publication Date Title
US9191301B2 (en) Real world traffic
CN1323520C (en) Broad-band insertion service apparatus dialing testing method
US9369448B2 (en) Network security parameter generation and distribution
CN107819649B (en) Private protocol testing method of satellite communication network based on mass terminals
CN101005411B (en) Automatic detecting system, device and method for circuit type data service
CN109358994A (en) A kind of router PPPOE server band machine weight testing method
WO2018192149A1 (en) Dial testing method, apparatus and system
CN107040429A (en) A kind of method of testing and system of port forwarding performance
CN100568826C (en) A kind of performance test methods of authentication service and device
CN104601944B (en) Method for connecting to media stream providing device and media stream system
CN102647432A (en) Authentication information transmission method, device and authentication middleware
CN113438131B (en) Router L2TP multi-client access number and stability test method
CN202043130U (en) Remote control system for power station
CN111447302B (en) Method and system for simulating multi-client to test DHCP (dynamic host configuration protocol) by using raw socket
CN103490950B (en) A kind of router PPTP session capacity analogy methods
CN106304166B (en) System and method for testing number of concurrent users of wireless router
CN104506425A (en) Instant messaging system based on family cloud host and method thereof
US6597694B1 (en) System and method for generating bulk calls and emulating applications
CN213817812U (en) Test service system based on Router OS is built
CN107979619A (en) A kind of TWAMP session negotiation methods, client and server-side
CN103152195B (en) Collecting method and device
CN109861877A (en) A kind of distribution network terminal wireless public network communication test system based on cloud service
CN112491656A (en) Method and device for testing concurrent connection number of router IPSEC tunnel
CN110830602A (en) Distribution network terminal communication test system and method based on dynamic domain name resolution
CN108111376B (en) Method for gateway passive IP to access internet based on bridge mode

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

Effective date of registration: 20221214

Address after: 518000 Room 105, Unit A, 1st Floor, Building E3, TCL Hi tech Park, No. 1001, Xili Zhongshan Garden Road, Nanshan District, Shenzhen, Guangdong

Patentee after: Shenzhen Wanjia Ruichuang Technology Co.,Ltd.

Address before: 6-8 / F, building E3, TCL hi tech park, 1001 Zhongshan Garden Road, Xili, Nanshan District, Shenzhen, Guangdong 518000

Patentee before: SHENZHEN TENDA TECHNOLOGY Co.,Ltd.