CN1299471C - Broadband insertion server testing gating and testing method - Google Patents

Broadband insertion server testing gating and testing method Download PDF

Info

Publication number
CN1299471C
CN1299471C CNB031132650A CN03113265A CN1299471C CN 1299471 C CN1299471 C CN 1299471C CN B031132650 A CNB031132650 A CN B031132650A CN 03113265 A CN03113265 A CN 03113265A CN 1299471 C CN1299471 C CN 1299471C
Authority
CN
China
Prior art keywords
test
pppoe
bag
vlan
control
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.)
Expired - Fee Related
Application number
CNB031132650A
Other languages
Chinese (zh)
Other versions
CN1538672A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNB031132650A priority Critical patent/CN1299471C/en
Publication of CN1538672A publication Critical patent/CN1538672A/en
Application granted granted Critical
Publication of CN1299471C publication Critical patent/CN1299471C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a broadband insertion server testing gating, a testing method relevant to the testing gating and a specific implement method for testing in a PPPoE+VLAN insertion mode by using the structure of the testing gating. The testing method comprises the following steps: firstly, executing parameter configuration and initialization operation; then, starting the data packet receiving/transmitting control module and the data packet filtering module of the testing gating and respectively executing corresponding treatment for a PPPoE discovering data packet, a PPPoE conversation data packet and a PPPoE expanding data packet which are from the interface of a testing host computer and the interface side of a device to be tested according to an RFC2516 protocol standard. In the present invention, aiming at a PPPoE calling mode, a PPPoE link is distinguished by using the binding mode of combining the MAC address and the PPPoE Host-Uniq Tag field of the testing host computer in the processing procedure of the testing gating so as to realize the flexible division and configuration of a VLAN and realize the flexible binding of the VLAN and the PPPoE link under the condition of a large capacity of calls.

Description

A kind of BAS Broadband Access Server test gateway and method of testing
Technical field:
The present invention relates to a kind of general BAS Broadband Access Server test gateway and relevant method of testing, relate in particular to the test gateway and the method for testing of PPPoE (PPP over Ethernet, the point-to-point protocol on the Ethernet) access way of dividing VLAN (Virtual Local Area Network VLAN) in the BAS Broadband Access Server field tests.
Background technology:
Along with the develop rapidly of modern information technologies and the sharp increase of amount of information, construction as the communication network of information carrier, especially data communication network strides forward to broadband direction just rapidly, simultaneously, in order to make the data terminal user can make full use of network and bandwidth resources, various broadband access equipments arise at the historic moment.Wherein, the broadband integrated access server has received the concern of increasing Virtual network operator, especially equipment manufacturers as present main broadband access equipment.
In present broadband access method and technology, PPPoE provides a kind of point-to-point access way of sharing medium based on Ethernet.Because this access way can make full use of existing Ethernet resource and related software resource, therefore become the main access technology that the broadband integrated access server is adopted.In practical application networking at present, equipment operator considers the requirement of aspects such as user's access security and bandwidth availability ratio, generally in the Ethernet switch of the access server second line of a couplet, divide VLAN, guarantee the user security online and suppress irrelevant flow by isolating broadcast domain.At this moment, the Ethernet switch uplink port adopts IEEE 802.1q (Institute of Electrical and Electronics Engineers [U.S.] standard) packaged type, correspondingly, the user-side port of access server also need dispose and realize the parsing and the processing of the PPPoE access way of 802.1q encapsulation.Because this access and configuration mode are new functional requirements to server, still do not have effective method of testing and testing tool at present.Present test is to adopt the mode of second line of a couplet switch to carry out, and this method lacks flexibility to the division of VLAN with configuration, can't realize the flexible binding of VLAN and PPPoE link under the big capacity situation; Simultaneously, test environment requires many switches of the server second line of a couplet, causes the waste resource, can't make full use of existing test software and hardware resources.Therefore, a kind of method of testing flexibly and effectively of design and instrument have become the urgent task that the access server functionality test faces.
Summary of the invention:
The technical problem to be solved in the present invention provides a kind of BAS Broadband Access Server test gateway and method of testing, overcome of the requirement of existing method of testing effectively to second line of a couplet switch resource, make full use of existing test software and hardware resources, also can overcome the method for testing of existing access server second line of a couplet switch lacks flexibility to the binding of VLAN and PPPoE link under division, configuration and the high capacity call situation of VLAN shortcoming simultaneously.
BAS Broadband Access Server test gateway provided by the invention comprises: data packet transceive control and filtering module, tested protocal analysis and processing module, configuration control and alarm statistics module, first network interface card that links to each other with equipment under test drives with second network interface card that is connected with Test Host and drives.
Data packet transceive control and filtering module drive transmitting-receiving and the control of finishing equipment under test network interface and Test Host interface side protocol data bag by first and second network interface cards; According to test configurations and filtering policy, finish the filtering function of Test Host interface/equipment under test network interface side protocol data bag, and mistake and statistical information are reported configuration control and alarm statistics module; Tested protocal analysis and processing module are the nucleus modules of test gateway, the packet that the data pack receiving and transmitting is controlled and filtering module is sent is finished the parsing and the processing of PPPoE agreement, realize the test function of VLAN+PPPoE, and mistake and statistical information are reported configuration control and alarm statistics module; Configuration control is sent to data packet transceive control and filtering module and tested protocal analysis and processing module with the alarm statistics module with test parameter, filtering policy configuration and control command.
Test Network is shut can increase human-computer interface module, for the user provides graphic interface, local management is carried out in the Test Network pass, configuration of test parameter, filtering policy and control command etc. are sent to configuration control and alarm statistics module, and receive the statistical information that processing configuration control and alarm statistics module report.
Test Network is shut can increase management agreement analysis and processing module and the 3rd network interface card driving that is connected with management host, management agreement analysis and processing module manage the parsing of agreement, configuration parameter and control command etc. is sent to configuration control and alarm statistics module, and will dispose the statistical information that control and alarm statistics module report and be sent to management host through management agreement.
BAS Broadband Access Server method of testing provided by the invention adopts Test Host MAC (Media AccessControl, medium access control) address and PPPoE Host-Uniq Tag (main frame unique identification, the frame field of RFC2516 definition) binding mode of field combination is distinguished the PPPoE link, and realizes the flexible binding of PPPoE link and VLAN.May further comprise the steps:
The setting of step 1, Test Strategy and relevant parameter and the initialization of internal data structure, comprise collection and the statistics strategy etc. of collocation strategy, error message of binding strategy, equipment under test and network thereof of filtering policy, VLAN and the PPPoE link of network packet, wherein VLAN can distribute identical VLAN ID to all PPPoE callings according to MAC Address with the binding strategy of PPPoE link;
The data packet transceive control module and the Packet Filtering module of step 2, startup test gateway, the packet that begins to carry out data transmit-receive, filtration and will satisfy filtercondition sends to tested protocal analysis processing module and handles;
Step 3, to judging from the type of data packet of Test Host interface and equipment under test network interface side 802.1q encapsulation, if PPPoE finds that packet then carries out PPPoE and finds the message processing,, handles the pppoe session packet if then carrying out the pppoe session message.
One of beneficial effect of the present invention is: make full use of existing Ethernet and dependence test software and hardware resources, saved equipment investment.
Two of beneficial effect of the present invention is: can realize flexible division and configuration to VLAN, under the high capacity call situation to the flexible binding of VLAN and PPPoE link, realize the function under this kind access way and the full test of performance, improved testing efficiency.
Description of drawings:
Fig. 1 is the cut-away view that the present invention tests gateway.
Fig. 2 is the overall process flow figure that the present invention tests gateway.
Fig. 3 is the handling process of the Test Host interface side of test gateway to PADI (PPPoE Active DiscoveryInitiation) bag.
Fig. 4 is the handling process of the equipment under test network interface side of test gateway to PADO (PPPoE Active DiscoveryOffer) bag.
Fig. 5 is the handling process of the Test Host interface side of test gateway to PADR (PPPoE Active DiscoveryRequest) bag.
Fig. 6 is the handling process of the equipment under test network interface side of test gateway to PADS (PPPoE Active DiscoverySession-confirmation) bag.
Fig. 7 is the handling process of the Test Host interface side of test gateway to PPPoE expanding packet and PPP session packet.
Fig. 8 is the handling process of the equipment under test network interface side of test gateway to PPPoE expanding packet and PPP session packet.
Embodiment:
Below in conjunction with accompanying drawing the specific embodiment of the present invention is elaborated.
Test gateway as shown in Figure 1 comprises: network interface card drives 101, network interface card drives 102, network interface card drives 103, data packet transceive control and filtering module 11, tested protocal analysis and processing module 12, configuration control and alarm statistics module 13, human-computer interface module 14, management agreement analysis and processing module 15.
Network interface card drives 101 and is connected with equipment under test, and network interface card drives 102 and is connected with the Test Host network, and the Test Host network can use enterprises lan, and the Test Host on it can move the PPPoE calling software of multiple present extensive use, initiation customer call; Network interface card drives 103 and is connected with management host, and supervising the network can use enterprises lan.Data packet transceive control and filtering module 11 are finished the transmitting-receiving and the control of equipment under test network interface and Test Host interface side protocol data bag respectively by network interface card driving 101 and network interface card driving 102; According to test configurations and filtering policy, finish the filtering function of protocol data bag, and mistake and statistical information are reported configuration control and alarm statistics module 13; Tested protocal analysis and processing module 12 are nucleus modules of test gateway, the packet that the data pack receiving and transmitting is controlled and filtering module 11 is sent is finished the parsing and the processing of PPPoE agreement, realize the test function of VLAN+PPPoE, and mistake and statistical information are reported configuration control and alarm statistics module 13; Configuration control is sent to data packet transceive control and filtering module 11 and tested protocal analysis and processing module 12 with alarm statistics module 13 with test parameter, filtering policy configuration and control command.Management host is put line parameter configuration, test process control, false information statistics into to Test Network, management agreement analysis and processing module 15 manage the parsing of agreement, configuration parameter and control command etc. is sent to configuration control and alarm statistics module 13, and will dispose the statistical information that control and alarm statistics module 13 report and be sent to management host through management agreement.Human-computer interface module 14 is for the user provides graphic interface, and mistake that configuration parameter that receiving management protocal analysis and processing module 15 are sent and control command and configuration control and alarm statistics module 13 are sent and statistical information show for the user in this locality checks.
According to the function point of VLAN+PPPoE test, operation PPPoE calls out software on one or more Test Host of TI side network, initiates the PPPoE calling procedure in the test.Typical protocol interaction process is: find the physical address of stage Test Host (client) identification equipment under test (server) and the service that provides at PPPoE, and select an equipment under test and service request to connect; Equipment under test is set up corresponding PPPoE according to institute's requested service type and is connected, and provides unique SESSION_ID (session identification, the frame field of RFC2516 definition) to identify this pppoe session; After the discovery stage finishes, Test Host and equipment under test begin to carry out the mutual of pppoe session stage, finish ppp link parameter negotiation such as LCP (LinkControl Protocol, LCP), subscription authentication, as PAP (Password AuthenticationProtocol) or CHAP (Challenge Handshake Authentication Protocol), password authentication protocol, the negotiation of network layer parameter such as IPCP (Internet Protocol ControlProtocol), IP control protocol etc., consult to finish when above parameter is correct, Test Host can be visited various public network resources by the PPPoE access link that equipment under test provides.In test structure based on the test gateway, PPPoE finds that stage and the mutual packet of session stage will be respectively by the Test Host interface of testing gateway and the intercepting and capturing of equipment under test network interface side processing module, and according to PPPoE agreement and the different implementations of Test Host PPPoE calling procedure and the needs of test function point, realize the binding of VLAN and PPPoE link, functions such as false information statistics.
The overall process process of test gateway as shown in Figure 2 is as follows:
The configuration and the initialization that start before the test gateway test function comprise: the setting of Test Strategy and relevant parameter and the initialization of internal data structure, comprise network packet filtering policy, VLAN and PPPoE link binding strategy, equipment under test and network thereof collocation strategy, error message collection with add up strategy etc.; Start the data packet transceive control module and the Packet Filtering module of test gateway; Wherein VLAN can call out all PPPoE according to MAC Address with the binding strategy of PPPoE link and distribute identical VLAN ID, can connect all PPPoE and all distribute different VLAN ID, also can be according to the VLAN ID of MAC Address to the some specified scopes of PPPoE call distribution.
After finishing above configuration and initialization operation, the test gateway is handled respectively PPPoE discovery packet, pppoe session packet and PPPoE extended packet from Test Host interface and equipment under test network interface side (802.1q encapsulation) accordingly according to the consensus standard of RFC2516.PPPoE finds that the reciprocal process of phase data bag referring to RFC2516, comprises that mainly following four kinds of chronological protocol package are mutual, i.e. PADI, PADO, PADR, PADS.The test gateway is handled respectively these four kinds of packets.
The test gateway may further comprise the steps as shown in Figure 3 to the concrete handling process of the PADI packet of Test Host interface side:
1. the test gateway is intercepted and captured the PADI bag that Test Host sends at the Test Host interface side, writes down the ethernet source MAC Address of this bag.
2. the Tag of Host-Uniq type (type coding 0x0103) in the search message.If do not comprise the Tag of the type in the PADI packet, then according to the source MAC search DS (DataStructure) of PADI bag, DS is the data structure of record binding relationship; Otherwise according to the Tag_LENGTH of this Tag record Tag_VALUE value, and according to the combinatorial search DS of PADI source MAC and Tag_VALUE value.If used Host-Uniq Tag in the PADI bag, then need distinguish and correctly write down the different field of this Tag_VALUE.Call out during software realizes at general PPPoE, this Tag is 32 place values, and its high-word is used for this PPPoE discovery procedure of unique identification, is designated as TID1, and the corresponding relation that low word is used to identify PADI/PADO and PADR/PADS is designated as TID2.
3. if in DS, do not find respective items, then distribute VLAN ID for this PPPoE is connected according to Test Strategy and VLAN ID binding strategy and in DS this VLAN ID of record, then the PADI bag is beaten VLAN ID and sends in equipment under test network interface side; If find respective items among the DS, then PADI bag is stamped this VLAN ID and send in equipment under test network interface side.
The test gateway may further comprise the steps to the concrete processing procedure of the PADO packet of equipment under test network interface side 802.1q encapsulation as shown in Figure 4:
1. the test gateway is intercepted and captured the PADO respond packet that equipment under test sends in equipment under test network interface side, writes down the Ethernet target MAC (Media Access Control) address of this bag; The Tag of Host-Uniq type in the search message, if there is no the Tag of the type then presses target MAC (Media Access Control) address search DS; Otherwise combinatorial search DS according to TID1 and target MAC (Media Access Control) address.
2. if can not find the respective items that this PPPoE connects in DS, or the VLAN ID of the VLAN ID of respective items and PADO bag is inconsistent, then abandons this bag and misregistration statistical information; Otherwise, the source MAC (its data structure is designated as DML (DUT Mac-address List, equipment under test MAC Address chained list)) of record TID2 and this PADO bag in DS.
3. peel off the VLAN ID of PADO packet, send at the Test Host interface side.
The test gateway may further comprise the steps as shown in Figure 5 to the concrete processing procedure of the PADR packet of Test Host interface side:
1. the test gateway is intercepted and captured the PADR bag that Test Host sends on the Test Host interface, writes down the ethernet source MAC Address of this bag.
2. the Tag of Host-Uniq type in the search message, the if there is no Tag of the type then presses the source MAC search DS of PADR bag; Otherwise TID1 combinatorial search DS according to source MAC and Host-Uniq Tag; If there is not the respective items of this connection in DS, then this bag is added up and abandoned to misregistration; Otherwise the target MAC (Media Access Control) address of search PADR bag in DML, if do not find respective items in DML, then this bag is added up and abandoned to misregistration; Otherwise, take out the VLAN ID that writes down among the DS and the PADR bag stamped this VLAN ID, and send in equipment under test network interface side.
The test gateway may further comprise the steps to the concrete processing procedure of the PADS packet of the 802.1q of equipment under test network interface side encapsulation as shown in Figure 6:
1. the test gateway is intercepted and captured the PADS bag that equipment under test sends in equipment under test network interface side, the Tag of Host-Uniq type in the search message, and the if there is no Tag of the type, then the target MAC (Media Access Control) address with this message is indexed search DS; Otherwise, according to the TID1 combinatorial search DS of target MAC (Media Access Control) address and Host-Uniq Tag.
2. if do not find the respective items of this connection in DS, then this bag is added up and abandoned to misregistration; Otherwise the source MAC of search PADS bag in DML, if do not find the VLAN ID that writes down among respective items or the DS inconsistent with the VLAN ID of PADS bag in DML, then this bag is added up and abandoned to misregistration; Otherwise, extract the SESSION_ID field in the PADS bag.
3. if the SESSION_ID of this connection respective items is empty (unallocated) among the DS, this SESSION_ID of record in DS then peels off the VLAN ID of PADS bag and sends at the Test Host interface side; Otherwise, if the SESSION_ID in the SESSION_ID that writes down among the DS and the PADS bag is inconsistent, misregistration information and abandon this bag then; Otherwise peel off the VLAN ID of PADS bag and send at the Test Host interface side.
After finishing the mutual of above PPPoE discovery phase data bag and handling, enter the pppoe session stage.This stage carries out that ppp link parameter negotiation, authentication, network parameter are consulted and the IP packet of customer access network resource mutual, at this moment, the protocol data content of the processing procedure of test gateway and PPPoE encapsulation irrelevant (also can expand test function and this processing process as required).The test gateway, may further comprise the steps with reference to Test Host interface side pppoe session bag handling process among the figure 7 and the equipment under test network interface side pppoe session bag handling process among Fig. 8 the concrete processing procedure of the pppoe session phase data bag of Test Host interface and equipment under test network interface side:
The test gateway is intercepted and captured pppoe session phase data bag (protocol number 8864) (packet of DI side is the 802.1q encapsulation format) respectively on Test Host interface and equipment under test network interface, for Test Host interface interface intercepted data packet, search the VLAN ID of respective items among the DS according to its SESSION_ID field, this VLAN ID is added this packet and send in equipment under test network interface side; Corresponding equipment under test network interface interface intercepted data packet, the correctness of checking SESSION_ID, VLAN ID, source MAC and target MAC (Media Access Control) address, for inconsistent situation misregistration information and packet discard, otherwise peel off VLAN ID and send at the Test Host interface side;
More than by the protocol interaction standard to describe of stipulating among the RFC2516 test gateway the respective handling process.In addition, the test gateway might receive PADT (PPPoE Active Discovery Terminate) packet, also defined the PPPoE type of data packet of some expansions in the PPPoE draft agreement of some expansion, as PADM (PPPoE Active Discovery Message), PADN (PPPoE Active DiscoveryNetwork) etc., the processing procedure of the processing procedure of these packets and pppoe session phase data bag is similar, is not described in detail in this.
Except that above normal protocol interaction and processing, in the realization and application of test gateway, what time following also answer emphasis to consider:
1. according to the needs of setting up a large amount of concurrent PPPoE links in the performance test, operations such as the search of DS, additions and deletions should be adopted high-efficient algorithm and data structure, for example adopt the hash scheduling algorithm to accelerate access speed, carry out boundary alignment etc.
2. the Test Host interface side can directly abandon and misregistration information the pppoe session bag that length surpasses 1510 bytes.
3. the PPPoE packet of the non-802.1q encapsulation that equipment under test is sent, the test gateway answers misregistration and statistical information directly to abandon this bag then, also can carry out transparent transmission according to Test Strategy.
4. the test gateway can be provided with respectively at the packet filtering strategy of Test Host interface and equipment under test network interface side, packet at the Test Host interface is generally normal Ethernet bag, filtering policy can adopt the PPPoE discovery and the protocol number in pppoe session stage as filtercondition, also can be according to Test Networking configuration and test needs, with the part of source MAC as filtercondition.In equipment under test network interface side, owing to relate to the 802.1q packet, so filtering policy should dispose also except that considering above factor according to the VLAN of equipment under test, as one of filtercondition, but this moment, filter algorithm should be considered the special frames structure of 802.1q with VLAN ID.
Under the operating system such as Linux of some open source code, the data packet transceive control of test gateway can and be revised the underlying network card driver and realize with filtration by direct control; To the commercial operation system of unexposed source code,, can realize by using as ripe network monitor kit and built-in functions such as Libpcap as Unix, Windows.
In the test environment that test gateway involved in the present invention and method of testing can be applicable to other types, for example, by revising and the filtration and the protocol process module of design test gateway, can carry out the test etc. of anti-attack ability aspect to equipment under test, and can expand other test functions easily.Simultaneously, according to the introduction of above test gateway specific implementation, the test structure that this patent provides also can be used as a kind of PPPoE analog caller based on VLAN.

Claims (13)

1. a BAS Broadband Access Server is tested gateway, it is characterized in that, described test gateway comprises: first network interface card drives (101), second network interface card drives (102), data packet transceive control and filtering module (11), tested protocal analysis and processing module (12), configuration control and alarm statistics module (13)
Described first network interface card drives (101) and is connected with equipment under test;
Described second network interface card drives (102) and is connected with the Test Host network;
Described data packet transceive control and filtering module (11) drive transmitting-receiving and the control that (101) finish equipment under test network interface side protocol data bag by described first network interface card, drive transmitting-receiving and the control that (102) finish Test Host interface side protocol data bag by described second network interface card; According to test configurations and filtering policy, finish the filtering function of Test Host interface/equipment under test network interface side protocol data bag, and mistake and statistical information are reported described configuration control and alarm statistics module (13);
Described tested protocal analysis and processing module (12) are finished the parsing and the processing of PPPoE agreement to the packet that described data packet transceive is controlled and filtering module (11) is sent, realize the test function of VLAN+PPPoE, and mistake and statistical information are reported described configuration control and alarm statistics module (13);
Described configuration control and alarm statistics module (1 3) are sent to described data packet transceive control and filtering module (11) and described tested protocal analysis and processing module (12) with test parameter, filtering policy configuration and control command.
2. BAS Broadband Access Server test gateway as claimed in claim 1, it is characterized in that described test gateway also comprises human-computer interface module (14), described human-computer interface module (14) provides graphic interface for the user, local management is carried out in the Test Network pass, configuration of test parameter, filtering policy and control command are sent to described configuration control and alarm statistics module (13), and receive the statistical information that the described configuration control of processing and alarm statistics module (13) report.
3. BAS Broadband Access Server test gateway as claimed in claim 1, it is characterized in that described test gateway comprises that also management agreement analysis and processing module (15) and the 3rd network interface card drive (103), described the 3rd network interface card drives (103) and is connected with management host, described management agreement analysis and processing module (15) manage the parsing of agreement, configuration parameter and control command are sent to described configuration control and alarm statistics module (13), and the statistical information that described configuration control and alarm statistics module (13) report is driven (103) through the 3rd network interface card are sent to management host.
4. BAS Broadband Access Server test gateway as claimed in claim 3, it is characterized in that described test gateway also comprises human-computer interface module (14), mistake and statistical information that configuration parameter that described human-computer interface module (14) described management agreement analysis of reception and processing module (15) are sent and control command and described configuration control and alarm statistics module (13) are sent show in this locality.
5. a BAS Broadband Access Server method of testing is characterized in that, may further comprise the steps:
The setting of step 1, Test Strategy and relevant parameter and the initialization of internal data structure, comprise the collection and statistics strategy of collocation strategy, error message of binding strategy, equipment under test and network thereof of filtering policy, VLAN and the PPPoE link of network packet, wherein VLAN can distribute identical VLAN ID to all PPPoE callings according to MAC Address with the binding strategy of PPPoE link;
The data packet transceive control and the filtering module of step 2, startup test gateway, the packet that begins to carry out data transmit-receive, filtration and will satisfy filtercondition sends to tested protocal analysis processing module and handles;
Step 3, to judging from the type of data packet of Test Host interface and equipment under test network interface side 802.1q encapsulation, if PPPoE finds that packet then carries out PPPoE and finds the message processing,, handles the pppoe session packet if then carrying out the pppoe session message.
6. BAS Broadband Access Server method of testing as claimed in claim 5, it is characterized in that the described VLAN of step 1 can distribute different VLANID to all PPPoE connections with the binding strategy of PPPoE link, also can be according to the VLAN ID of MAC Address to a specified scope of PPPoE call distribution.
7. BAS Broadband Access Server method of testing as claimed in claim 5, it is characterized in that described data packet transceive control of step 2 and filtration can realize by direct control and modification underlying network card driver, also can be by using the realization of network monitor kit and built-in function.
8. as claim 5 or 7 described BAS Broadband Access Server method of testings, the packet filtering strategy that it is characterized in that described Test Host interface of step 1 and equipment under test network interface side can be provided with respectively, Test Host interface side filtering policy can adopt the PPPoE discovery and the protocol number in pppoe session stage as filtercondition, also can be according to Test Networking configuration and test needs, with the part of source MAC as filtercondition, in equipment under test network interface side, filtering policy is except that considering above factor, also can be according to the VLAN of equipment under test configuration, with VLAN ID as one of filtercondition.
9. BAS Broadband Access Server method of testing as claimed in claim 5 is characterized in that the described PPPoE of step 3 finds that the message processing may further comprise the steps:
1) intercepts and captures the PADI bag that Test Host sends at the Test Host interface side, write down the ethernet source MAC Address of this bag, the Tag of Host-Uniq type in the search message, if do not comprise the Tag of the type in the PADI packet, then according to the data structure DS of the source MAC searching record binding relationship of PADI bag, otherwise Tag_LENGTH record Tag_VALUE value according to this Tag, and according to the combinatorial search DS of PADI source MAC and Tag_VALUE value, this Tag is 32 place values, its high-word is used for this PPPoE discovery procedure of unique identification and is designated as TID1, the corresponding relation that low word is used to identify PADI/PADO and PADR/PADS is designated as TID2, if in DS, do not find respective items, then, distributes this PPPoE VLAN ID for being connected and this VLAN ID of record in DS according to Test Strategy and VLAN ID binding strategy, then PADI bag is beaten VLAN ID and send in equipment under test network interface side, if find respective items among the DS, then PADI bag is stamped this VLAN ID and send in equipment under test network interface side;
2) intercept and capture the PADO respond packet that equipment under test sends in equipment under test network interface side, write down the Ethernet target MAC (Media Access Control) address of this bag, the Tag of Host-Uniq type in the search message, the if there is no Tag of the type, then press target MAC (Media Access Control) address search DS, otherwise combinatorial search DS according to this PPPoE discovery procedure sign TID1 and target MAC (Media Access Control) address, if in DS, can not find the respective items that this PPPoE connects, or the VLAN ID of the VLAN ID of respective items and PADO bag is inconsistent, then abandon this bag and misregistration statistical information, otherwise, the source MAC of the corresponding relation of record PADI/PADO and PADR/PADS sign TID2 and this PADO bag in DS, its data structure is designated as DML, peels off the VLAN ID of PADO packet, sends at the Test Host interface side;
3) intercept and capture the PADR bag that Test Host sends at the Test Host interface side, write down the ethernet source MAC Address of this bag, the Tag of Host-Uniq type in the search message, the if there is no Tag of the type, then press the source MAC search DS of PADR bag, otherwise TID1 combinatorial search DS according to source MAC and Host-UniqTag, if in DS, there is not the respective items of this connection, then this bag is added up and abandoned to misregistration, otherwise the target MAC (Media Access Control) address of search PADR bag in DML, if in DML, do not find respective items, then this bag is added up and abandoned to misregistration, otherwise, take out the VLAN ID that writes down among the DS and the PADR bag stamped this VLAN ID, and send in equipment under test network interface side;
4) intercept and capture the PADS bag that equipment under test sends in equipment under test network interface side, the Tag of Host-Uniq type in the search message, the if there is no Tag of the type, then the target MAC (Media Access Control) address with this message is indexed search DS, otherwise, TID1 combinatorial search DS according to target MAC (Media Access Control) address and Host-Uniq Tag, if in DS, do not find the respective items of this connection, then this bag is added up and abandoned to misregistration, otherwise the source MAC of search PADS bag in DML, if in DML, do not find the VLAN ID of the VLAN ID that writes down among respective items or the DS and PADS bag inconsistent, then this bag is added up and abandoned to misregistration, otherwise, extract the SESSION_ID field in the PADS bag, if the SESSION_ID of this connection respective items is empty among the DS, then in DS, write down this SESSION_ID, peel off the VLAN ID of PADS bag and send at the Test Host interface side, otherwise, carry out the SESSION_ID coupling, if the SESSION_ID in SESSION_ID that writes down among the DS and the PADS bag is inconsistent, misregistration information and abandon this bag then, otherwise peel off the VLAN ID of PADS bag and send at the Test Host interface side.
10. BAS Broadband Access Server method of testing as claimed in claim 5, it is characterized in that also comprising in the described step 3 judgement to the PPPoE extended packet, handle if the PPPoE extended packet promptly carries out the PPPoE amplifying message, its processing procedure can be carried out according to pppoe session message processing procedure.
11., it is characterized in that the described pppoe session message processing of step 3 may further comprise the steps as claim 5 or 10 described BAS Broadband Access Server method of testings:
The test gateway is intercepted and captured pppoe session phase data bag respectively on Test Host interface and equipment under test network interface, for Test Host interface intercepted data packet, search the VLAN ID of respective items among the DS according to its SESSION_ID field, this VLAN ID is added this packet and send in equipment under test network interface side; To equipment under test network interface intercepted data packet, the correctness of checking SESSION_ID, VLANID, source MAC and target MAC (Media Access Control) address, for inconsistent situation misregistration information and packet discard, otherwise peel off VLAN ID and send at the Test Host interface side.
12. BAS Broadband Access Server method of testing as claimed in claim 11 is characterized in that the Test Host interface side can directly abandon and misregistration information the pppoe session bag that length surpasses 1510 bytes.
13. BAS Broadband Access Server method of testing as claimed in claim 5, it is characterized in that to use configuration file to realize test parameter configuration, test process control, false information statistics function, also can use man-machine interaction mode to realize test parameter configuration, test process control, false information statistics function, can also utilize management host to finish test parameter configuration, test process control, false information statistics function, realize far-end control test process.
CNB031132650A 2003-04-18 2003-04-18 Broadband insertion server testing gating and testing method Expired - Fee Related CN1299471C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031132650A CN1299471C (en) 2003-04-18 2003-04-18 Broadband insertion server testing gating and testing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031132650A CN1299471C (en) 2003-04-18 2003-04-18 Broadband insertion server testing gating and testing method

Publications (2)

Publication Number Publication Date
CN1538672A CN1538672A (en) 2004-10-20
CN1299471C true CN1299471C (en) 2007-02-07

Family

ID=34320024

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031132650A Expired - Fee Related CN1299471C (en) 2003-04-18 2003-04-18 Broadband insertion server testing gating and testing method

Country Status (1)

Country Link
CN (1) CN1299471C (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100401694C (en) * 2005-05-12 2008-07-09 中兴通讯股份有限公司 System and method for testing wideband network access server PPP/VPN performance
CN100446485C (en) * 2006-11-02 2008-12-24 华为技术有限公司 System and method for wide-band business dialing detection
CN105306453B (en) * 2007-01-16 2020-04-14 艾利森电话股份有限公司 Evaluating initial filter criteria
CN101094111B (en) * 2007-07-18 2010-05-26 中兴通讯股份有限公司 Method and system for carrying out testing whole set of network device
CN101184051B (en) * 2007-12-18 2011-05-11 中兴通讯股份有限公司 Broadband access server and operation method thereof
CN101217593B (en) * 2008-01-16 2011-10-26 中兴通讯股份有限公司 A performance test device and method of signaling transmission network
CN101272291B (en) * 2008-04-29 2012-05-30 北京星网锐捷网络技术有限公司 Network appliance testing method and system
KR20130083442A (en) * 2010-09-10 2013-07-22 알까뗄 루슨트 Dynamic configuration of interconnected devices for measuring performance characteristics in a network
CN102143414B (en) * 2011-05-20 2013-09-11 太仓市同维电子有限公司 Method for implementing network connection test between local-side device and terminal device in EPON (Ethernet passive optical network)
CN104320309B (en) * 2014-11-17 2020-03-27 上海斐讯数据通信技术有限公司 Automatic test system and method for automatic redial function
CN105721236B (en) * 2014-12-04 2019-05-17 北京视联动力国际信息技术有限公司 A kind of method and device thereof of Ethernet mistake packet test
CN105897878B (en) * 2016-04-01 2019-03-05 浪潮电子信息产业股份有限公司 A kind of method and device of the initialization of data link layer
CN105812224B (en) * 2016-04-20 2021-07-20 广东电网有限责任公司电力科学研究院 Method and system for network scanning based on trunk protocol
CN115015666B (en) * 2022-06-20 2023-02-03 国网山东省电力公司莱西市供电公司 Intelligent substation relay protection test expander and protection debugging method
CN115396336A (en) * 2022-08-01 2022-11-25 南京网元通信技术有限公司 MPLS VPN (Multi-protocol Label switching virtual private network) passenger gathering special line active test method based on software simulation

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001251650A (en) * 2000-02-21 2001-09-14 Internatl Business Mach Corp <Ibm> System and method for testing compressed digital broadcast video during operation
JP2002217983A (en) * 2001-01-22 2002-08-02 Murata Mach Ltd Facsimile gateway
US6499115B1 (en) * 1999-10-22 2002-12-24 Dell Usa, L.P. Burn rack dynamic virtual local area network
CN1398123A (en) * 2001-07-18 2003-02-19 华为技术有限公司 System for testing functions of broad-band switch device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6499115B1 (en) * 1999-10-22 2002-12-24 Dell Usa, L.P. Burn rack dynamic virtual local area network
JP2001251650A (en) * 2000-02-21 2001-09-14 Internatl Business Mach Corp <Ibm> System and method for testing compressed digital broadcast video during operation
JP2002217983A (en) * 2001-01-22 2002-08-02 Murata Mach Ltd Facsimile gateway
CN1398123A (en) * 2001-07-18 2003-02-19 华为技术有限公司 System for testing functions of broad-band switch device

Also Published As

Publication number Publication date
CN1538672A (en) 2004-10-20

Similar Documents

Publication Publication Date Title
CN1299471C (en) Broadband insertion server testing gating and testing method
US8078736B1 (en) Virtual interface
CN103154897B (en) Core level of abstraction for communication network application
US7874002B2 (en) Method of connection of equipment in a network and network system using same
CN1309233C (en) Method for supporting PPPoA on wideband switch-in equipment
WO2000044149A1 (en) Location of wireless mobile nodes in ip network
CN1518311A (en) Method and equipment for executing common calling management by common software platform
CN1514586A (en) Data communication equipment testing system and method of imitation multiuser, multi connection
WO2006114053A1 (en) A method, system and apparatus for preventing from counterfeiting the mac address
CN1859187A (en) Method and system for centrally configurating terminal equipment
CN101079746A (en) Secure implementation method and device of broadband access device
CN1553674A (en) Method for wideband connection server to obtain port numbers of its uers
CN1496641A (en) Method for connection of data terminal devices to data network
CN1832458A (en) Method for facilitating application server functionality and access node comprising same
CN101447896A (en) TCP connection managing method for internet bypass monitoring system
EP2843877B1 (en) Mobile terminal network port management method and device
CN1426169A (en) Method for improving route repeat liability of access server
CN1270532C (en) Method for supporting asymmetrie digital subscriber line access in embedded operating system
CN1400540A (en) Control method of network connection and separation
Cisco X.25 Configuration and Management
Cisco X.25 Configuration and Management
Cisco X.25 Configuration and Management
Cisco X.25 Configuration and Management
Cisco X.25 Configuration and Management
Cisco X.25 Configuration and Management

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070207

Termination date: 20140418