CN101237354A - A comprehensive testing method for DHCPv6 consistency - Google Patents

A comprehensive testing method for DHCPv6 consistency Download PDF

Info

Publication number
CN101237354A
CN101237354A CNA2007101776151A CN200710177615A CN101237354A CN 101237354 A CN101237354 A CN 101237354A CN A2007101776151 A CNA2007101776151 A CN A2007101776151A CN 200710177615 A CN200710177615 A CN 200710177615A CN 101237354 A CN101237354 A CN 101237354A
Authority
CN
China
Prior art keywords
dhcpv6
test
server
equipment
client
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.)
Pending
Application number
CNA2007101776151A
Other languages
Chinese (zh)
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.)
BEIJING TIANDI INTERCONNECTION INFORMATION TECHNOLOGY Co Ltd
Original Assignee
BEIJING TIANDI INTERCONNECTION INFORMATION 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 BEIJING TIANDI INTERCONNECTION INFORMATION TECHNOLOGY Co Ltd filed Critical BEIJING TIANDI INTERCONNECTION INFORMATION TECHNOLOGY Co Ltd
Priority to CNA2007101776151A priority Critical patent/CN101237354A/en
Publication of CN101237354A publication Critical patent/CN101237354A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to protocol engineering in the communication field, in particular relates to a comprehensive testing method of DHCPv6 conformance. The method which is mainly used in IPv6 DHCP test comprises a tested device and testing environments, wherein the tested device has DHCPv6 function and comprises a DHCPv6 server, a DHCPv6 relay agent and a DHCPv6 client; the testing environments comprise three types, different testing environments can be selected according to different types of the tested device, and have the common characteristics that the server end is provided with a specific testing script software. The method, through setting different testing environments, simulates the next generation internet environment and completes conformance testing of a device with DHCPv6 function. The method which is a comprehensive DHCPv6 testing method can cover various implementation modes adopting DHCPv6 protocol; moreover, the DHCPv6 comprehensive environment also supports DHCPv6 certification function.

Description

The conforming integrated test facility of a kind of DHCPv6
Technical field
The present invention relates to the protocol engineering of present communication field, relate in particular to the conforming integrated test facility of a kind of DHCPv6.
Background technology
DHCP is widely used for setting the IPv4 address of main frame and required extraneous information thereof.If have the IPv6 network, do not need to use DHCP to set host address, because the stateless of IPv6 disposes (statelessautoconfiguration) mechanism automatically, do not need Dynamic Host Configuration Protocol server just can assist main frame to obtain the IPv6 address.Method is very simple, you need only with main frame the prefix information of attached binding set the router of going up tool IPv6 function to linking.Yet in the time of still must selecting to use Dynamic Host Configuration Protocol server in some cases, using DHCP " main frame configuration and setting " to be called with IPv6 has state to dispose (stateful configuration) automatically.Perhaps you need dynamically to specify dns server, or you select not with the part of MAC Address as the IPv6 address from existing special addressing mechanism.In these cases, can make DHCP set the address.If or your IPv6 main frame is positioned in the binding that does not have the IPv6 router, then must use DHCP to propagate prefix information.You also can and have these two kinds of automatic configuration mechanisms of state in conjunction with stateless: in the setting of IPv6 address, can use stateless to dispose automatically; Providing on the extra configuration and setting information, can use Dynamic Host Configuration Protocol server that the configuration and setting of state is arranged.DHCPv4 also can be used to set compatible (IPv4-compatible) IPv6 address (referring to RFC2893) of IPv4.IPv4 address via DHCP obtains can be placed in 4 bytes of minimum preface in " the IPv6 address that IPv4 is compatible ", and then the prefix 0:0:0:0:0:0 of well-known 96 bit of affix has in front just constituted so-called " the IPv6 address that IPv4 is compatible.”
DHCP can use following multicast address;
All_DHCP_ relay node address (FF02::1:2)
All DHCP proxy (server and interruption agency) all are the members of this multicast group.When dhcp client and when not knowing its agency's link local address, just can use the multicast address of link range, arrive the DHCP proxy that it links.All_DHCP server s address (FF05::1:3)
All Dynamic Host Configuration Protocol server in website (site) all are the members of this multicast group.Dhcp client or dhcp relay agent can use the address of this site-bound to arrive all interior Dynamic Host Configuration Protocol server of website.This situation occurs in, and dhcp client or dhcp relay agent are not also known the unicast address of server, or want to know Dynamic Host Configuration Protocol server all in the website.
Under classify the employed udp port of DHCPv6 number as:
Udp port number 546 (port numbers of client)
Use by Dynamic Host Configuration Protocol server, to replace port numbers as the purpose that arrives dhcp relay agent or dhcp client.Or by the dhcp relay agent use, with destination slogan as the arrival dhcp client.
Udp port number 547 (agency's port numbers)
Dhcp client uses this port numbers as the destination slogan that arrives DHCP proxy.Dhcp relay agent uses this port numbers as the destination slogan that arrives Dynamic Host Configuration Protocol server.
Dynamic Host Configuration Protocol server is initial, and (the configuration exchange of server-initiated) is good new features, for instance, when DHCP net territory must be renumberd, or adds fashionablely when new service or application, needs to set the configuration of client.When server or use when must carry out configuration and setting on client, Dynamic Host Configuration Protocol server can be sent RECONFIGURE-INIT information (kenel 10), and client must be sent REQUEST/REPLY information and obtain lastest imformation in order to the clearing house when receiving this information.Is not this exactly that everybody expects function for a long time?
The authentication of DHCP information is possible, and can be used for finishing via making of authentication option.The authentication information that is carried in the authentication option can be used for reaching and confirming the still unaltered DHCP information content in the source of identification DHCP information reliably.Authentication option can be used for multiple authentication protocol.Two kinds of this type of protocol definitions are arranged in this draft.
According to this draft file, DHCPv6 will support following new features:
● the configuration and setting that the DNS tool is dynamically updated.
● dynamically renumber.
● relay agent can use server address or multicast address to preestablish configuration
● authentication
● client can be asked a plurality of IP address
● use RECONFIGURE-INIT information to reclaim the address
● stateless and the integration that has the state address automatic configuration to set
● relay agent and client dynamically provide the position of offline service device
IANA is the management organization of multicast address, information kenel, option and state code.Can on their website (http://www.iana.org/), find up-to-date information.
Summary of the invention
The object of the present invention is to provide the conforming integrated test facility of a kind of DHCPv6, this method is at server end installation testing script software, and selects different test environments that the equipment with DHCPv6 function is carried out uniformity test according to different testing equipments.
Described tested equipment is the equipment with DHCPv6 function, comprising: DHCPv6 server, DHCPv6 relay agent, DHCPv6 client.
The step that this method realizes is as follows:
(1) in the server of test environment, moves test script, construct basic test parameter;
(2) constitute different test environments according to different testing equipments, test, produce message;
(3) collection analysis message, the destination file of generation web form.
Described step further comprises:
A. for the testing procedure of DHCPv6 server:
1. on tested equipment, enable the DHCPv6 service;
2. use multicast address FF02::1:2 to send one to all DHCPv6 server and solicited messages on test node client 1, equipment under test responds this request by sending an advertised information;
3. test node client 1 please to message request of equipment under test transmission then.
Described step also comprises:
B. for the testing procedure of DHCPv6 client:
1. on the client of equipment under test DHCPv6, be configured to DHCP;
2. equipment under test uses multicast address FF02::1:2 to send one to all DHCPv6 server and solicited messages, and equipment under test responds this request by sending an advertised information;
3. the DHCPv6 server of test joint 1 has responded and has been undertaken corresponding by announcing an information;
4. tested equipment sends a solicited message and inquires whether confirm address and other configurations to the DHCPv6 server of test joint 1;
5. the DHCPv6 server of test joint 1 has been replied a response message, comprises the affirmation information to address and configuration in this information.
Described step also comprises:
C. for the testing procedure of DHCPv6 client:
1. on tested equipment, enable the DHCPv6 relay services;
2. use multicast address FF02::1:2 to send one to all DHCPv6 server and solicited messages on test node client 1, equipment under test responds this request by sending an advertised information;
If 3. interface ID is by all Dynamic Host Configuration Protocol server multicast address (FF05::1:3), solicited message that comprises interface ID of tested equipment relaying;
If 4. interface ID is included in the solicited message of relaying forwarding and the content that the return information behind the relaying has comprised prefix addresses information and configuration, then one of the DHCPv6 server of test node 2 issue comprises the relaying answer advertised information of interface ID;
5. one of tested device responds comprises the information of confirming address and configuration;
6. return information of tested equipment relaying is to test node client 1.
When described testing equipment was DHCPv6 client or server, its test environment comprised the specification requirement of equipment under test:
(1). having a network port in the test at least is the UP state;
(2). based on EUI64 (based on MAC) during the link local address of tested equipment, and tested equipment has been opened the function that IPv6 supports; If equipment under test is a server address acquisition automatically, the IPv6 address that needs the manual configuration whole world to reach: link 0:3ffe:501:ffff:100:+EUI64 (based on MAC);
(3) close and other the configuration as DNS, IPv6 default route etc.
When described testing equipment was the DHCPv6 relaying, its test environment further comprised the requirement of equipment under test:
1). having two network ports in the test at least is UP states;
2). based on EUI64 (based on MAC) during the link local address of tested equipment, and tested equipment has been opened the function that IPv6 supports; If equipment under test is a server address acquisition automatically, need that 2 whole world of manual configuration can reach the IPv6 address:
Link 0:3ffe:501:ffff:100:+EUI64 (based on MAC);
Linkl:3ffe:501:ffff:101:+EUI64 (based on MAC);
3) close and other the configuration as DNS, IPv6 default route etc.
Beneficial effect of the present invention:
Method provided by the invention is simulated the Next Generation Internet environment by different test environments are set, the most approaching real environment comes the equipment with DHCPv6 function is carried out uniformity test, protocol interaction situation according to tested equipment is returned test result, these results are returned with agreement judge, finally generate the destination file of web form.
Simultaneously, the present invention is a kind of comprehensive DHCPv6 method of testing, can cover the various implementations of using the DHCPv6 agreement, and the integrated environment of this DHCPv6 is also supported the authentication function of DHCPv6 in addition.
Description of drawings
Fig. 1 is the test flow chart of DHCPv6;
Fig. 2 is the DHCPv6 server test topological diagram of test system environment 1;
Fig. 3 is the DHCPv6 client test topology figure of test system environment 2;
Fig. 4 is the DHCPv6 service relaying test topology figure of test system environment 3;
Fig. 5 is the destination file of web form.
Embodiment
In order to make characteristic of the present invention and advantage more clear, the present invention is described in further detail in conjunction with concrete enforcement with reference to the accompanying drawings.
The present invention is a kind of DHCPv6 integrated test facility.This method comprises a kind of comprehensive script testing software, and 3 test environments that generated by this testing software.
Fig. 1 is the testing process according to the DHCPv6 of characteristics of the present invention and advantage realization
Step 101 runs on the Perl test script that writes in the server of test environment, constructs basic test parameter.
Step 102 is imported different parameters according to the difference of tested equipment, constructs different test environments.
Step 103
If tested equipment is the DHCPv6 server, then constructs test system environment, and move the test case under this environment (test system environment 1) automatically.The topological diagram of test system environment 1 sees the DHCPv6 server test topological diagram of Fig. 2 test system environment 1 for details.
DHCPv6 server test step is:
(1). on tested equipment, enable the DHCPv6 service.
(2). use multicast address FF02::1:2 to send one to all DHCPv6 server and solicited messages on test node client 1, equipment under test responds this request by sending an advertised information.
(3). test node client 1 sends a message request request no longer hold the post addresses distributed and other configuration informations to equipment under test then.
(4). one of tested device responds comprises the information of confirming address and configuration.
Step 104
If tested equipment is the DHCPv6 client, then constructs test system environment, and move the test case under this environment (test system environment 2) automatically.The topological diagram of test system environment 2 sees the DHCPv6 client test topology figure of Fig. 3 test system environment 2 for details.
(1). on the client of equipment under test DHCPv6, be configured to DHCP.
(2). equipment under test uses multicast address FF02::1:2 to send one to all DHCPv6 server and solicited messages, and equipment under test responds this request by sending an advertised information.
(3). the DHCPv6 server of test joint 1 has responded and has been undertaken corresponding by announcing an information.
(4). tested equipment sends a solicited message and inquires whether confirm address and other configurations to the DHCPv6 server of test joint 1.
(5). the DHCPv6 server of test joint 1 has been replied a response message, comprises the affirmation information to address and configuration in this information.
Step 105
If tested equipment is DHCPv6 service relaying, then constructs test system environment, and move the test case under this environment (test system environment 3) automatically.The topological diagram of test system environment 3 sees the DHCPv6 service relaying test topology figure of Fig. 4 test system environment 3 for details.
(1). on tested equipment, enable the DHCPv6 relay services.
(2). use multicast address FF02::1:2 to send one to all DHCPv6 server and solicited messages on test node client 1, equipment under test responds this request by sending an advertised information.
(3) if. interface ID is by all Dynamic Host Configuration Protocol server multicast address (FF05::1:3), solicited message that comprises interface ID of tested equipment relaying.
(4) if. interface ID is included in the content that solicited message that relaying transmits and via node reply return information have comprised prefix addresses information and configuration, and then one of the DHCPv6 server of the test node 2 issue relaying that comprises interface ID is replied advertised information.
(5). one of tested device responds comprises the information of confirming address and configuration.
(6). return information of tested equipment relaying is to test node client 1.
Step 106 collection analysis message output WEB form test result, as shown in Figure 5.
Can realize different test environments by different command modes, its test environment is:
(1) the DHCPv6 server test environment of test system environment 1:
Referring to accompanying drawing 2, wherein 208 is the DHCPv6 server of equipment under test 0,201 is test node client 1,202 is that test node client 2,203 is that test node client 3,204 is a test node client 4,205 is test node 5 via nodes 1,206 is that test node 6 via nodes 2,207 are test node 7 via nodes 3, and wherein 201 ~ 207 all is a plurality of dummy nodes that test script generates under same physical platform.209 is switch, and 210 is switch.In the following steps "----〉" the expression sending direction
For example: A----〉B represents to send to B from A
Step 1:NS: equipment under test is to any (link local address), and route announcement is to the equipment under test local address
NA (network notifications): route announcement is to the equipment under test local address
Step 2:NA (network notifications): represent test node client 1----〉equipment under test 0 (link local address)
Step 3:NA (network notifications): represent test node client 1----〉equipment under test 0 (address that the whole world can reach)
Step 4:NA (network notifications): represent test node client 1----〉equipment under test 0 (address that the whole world can reach)
Step 5:NS (network requests): equipment under test--〉via node 1 (link 0)
Step 6:NA (network notifications): via node 1 (link 0)----〉equipment under test
Step 7:NS (network requests): equipment under test--〉via node 1 (link 0)
Step 8: via node 1 (link 0)----〉address that can reach, the whole world of equipment under test
Step 9:NS (network requests): equipment under test--〉via node via node 2 (link 0)
Step 10:NA (network notifications): via node 2 (link 0)----〉equipment under test
Step 11:NS (network requests): equipment under test--〉via node via node 2 (link 0)
Step 12:NA (network notifications): via node 2 (link 0)----〉equipment under test
Step 13: equipment under test (via node) arrives server NA (network notifications): route announcement is to equipment under test
Step 14:NS (network requests): equipment under test (via node) is to the server route announcement to the equipment under test local address
Step 15:NS (network requests): equipment under test (via node) is to server NA (network notifications): route announcement can reach to equipment under test _ whole world
Step 16:NS (network requests): equipment under test (via node) arrives via node 2 NA (network notifications): route announcement via node 2 is to equipment under test
Step 17:NA (network notifications): via node 2----〉equipment under test 0
(2) the DHCPv6 client test environment of test system environment 2:
Referring to accompanying drawing 3, wherein 306 is equipment under test 0-DHCPv6 client, 301 is the DHCPv6 server of test node 1,302 is the DHCPv6 server of test node 2,303 is the dns server of test node 3,304 is the dns server of test node 4, and 305 is switch, and wherein 301 ~ 305 all is a plurality of dummy nodes that test script generates under same physical platform.
Step 1:NS (network requests): equipment under test is to any (link local address)
Step 2: the address 1 that the equipment under test whole world can reach is to any
Step 3: the address 2 that the equipment under test whole world can reach is to any
Step 4:DAD NS (network requests of conflict address detected): from the DAD NS of equipment under test
Step 5: equipment under test-----301
Step 6: equipment under test-----302
Step 7:RS (route requests): 306-----〉local router of all links
Step 8:RA (advertising of route): 301-----〉306
Step 9:NA:301----〉306
Step 10:NA (network notifications): 301----〉306 first interfaces
Step 11:NA (network notifications): 302----〉306 second interfaces
Step 12:NA (network notifications): 301----〉306 first interfaces
Step 13:NA (network notifications): 302----〉306 second interfaces
Step 14:NA (network notifications): 303----〉306
Step 15: response request: 301----〉306
Step 16: response request: 301----〉306
Step 17: response request: 301----〉306 first interfaces
Step 18: response request: 302----〉306 first interfaces
Step 19: response request: 301----〉306 second interfaces
Step 20: response request: 301----〉306 the 3rd interfaces
Step 21: response request: 302----〉306 second interfaces
Step 22: response is replied: 306----〉301
Step 23: response is replied: 306 first interfaces----〉302
Step 24: response is replied: 306 first interfaces----〉301
Step 25: response is replied: 306 second interfaces----〉301
Step 26: response is replied: 306 the 3rd interfaces----〉301
Step 27: response is replied: 306 second interfaces----〉302
Step 28:NA (network notifications): 301----〉306 (the IPv6 addresses that the whole world can reach)
Step 29: carry out the dns query statement: 306 SQuery dns----〉304
(3) the DHCPv6 relaying test environment of test system environment 3:
Referring to accompanying drawing 4, wherein 405 is the DHCPv6 relaying of equipment under test, and 401 is the DHCPv6 of test node client 1
Client, 402 is the DHCPv6 server of test node 2, and 403 is that test node client 3,404 is the via node of test node 4, and wherein 401 ~ 404 all is a plurality of dummy nodes that test script generates under same physical platform.406 is switch.
Step 1:NS (network requests): equipment under test--〉via node 1 (link 0)
Step 2:NA (network notifications): via node 1 (link 0)----〉equipment under test
Step 3:NS (network requests): equipment under test--〉via node 1 (link 0)
Step 4:NA (network notifications): via node 1 (link 0)----〉address that can reach, the whole world of equipment under test
Step 6:NS (network requests): equipment under test--〉via node via node 2 (link 0)
Step 7:NA (network notifications): via node 2 (link 0)----〉equipment under test
Step 8:NS (network requests): equipment under test--〉via node via node 2 (link 0)
Step 9:NA (network notifications): via node 2 (link 0)----〉equipment under test
Step 10:NS (network requests): equipment under test (via node) arrives server NA (network notifications): the network notifications server is to equipment under test
Step 11:NS (network requests): equipment under test (via node) arrives server NA (network notifications): the network notifications client is to the equipment under test local address
Step 12:NS (network requests): equipment under test (via node) arrives server NA (network notifications): the network notifications client is to the equipment under test global address
Step 13:NS (network requests): equipment under test (via node) arrives via node 2 NA (network notifications): network notifications via node 2 is to equipment under test
Step 14:NA (network notifications): via node 2----〉equipment under test 0
Step 15:NS (network requests): equipment under test (server)----〉any node
Step 16:NA (network notifications): via node 1 (link 1)----〉equipment under test
Step 17:DHCPv6 via node is transmitted (request)
Step 18:DHCPv6 via node is transmitted (request): client 1----〉via node 1----〉equipment under test (server)
Step 19:DHCPv6 via node is transmitted (request) via node 2--〉via node 1,
Step 20:DHCPv6 via node is transmitted (invitation)
Step 21:DHCPv6 via node is transmitted (invitation): client 1----〉via node 1----〉the equipment under test step
Rapid 22:DHCPv6 via node is transmitted (information invitation) via node 2--〉via node 1,
Step 23: check the via node forwarding information
Step 24:check via node return information
Step 25: via node relaying equipment under test _ via node
Step 26: check via node return information (via node that only belongs to a link 2)
Step 27: via node relaying equipment under test via node 2
Step 28: check the via node forwarding information
Step 29: via node is transmitted the equipment under test server
Step 30: the via node via node uses the grouping definition
Step 31: the via node via node uses the grouping definition
Step 32: the via node via node uses the grouping definition
Step 33: send via node 2--〉via node 1--〉server (equipment under test)
Step 34:DHCPv6 via node is transmitted (request): client 1---〉via node 2 (client 1)----〉equipment under test (via node 1)
Step 35:DHCPv6 via node is transmitted (invitation): client 1---〉via node 2 (client 1)----〉equipment under test (via node 1)
Step 36:DHCPv6 via node is transmitted (affirmation): client 1---〉via node 2 (client 1)----〉equipment under test (via node 1)
Step 37:DHCPv6 via node is transmitted (renewal): client 1---〉via node 2 (client 1)----〉equipment under test (via node 1)
Step 38:DHCPv6 via node is transmitted (binding again): client 1---〉via node 2 (client 1)----〉equipment under test (via node 1)
Step 39:DHCPv6 via node is transmitted (release): client 1---〉via node 2 (client 1)----〉equipment under test (via node 1)
Step 40:DHCPv6 via node is transmitted (refusal): client 1---〉via node 2 (client 1)----〉equipment under test (via node 1)
Step 41:DHCPv6 via node is transmitted (information invitation): client 1---〉via node 2 (client 1)----〉equipment under test (via node 1)
Step 42:DHCPv6 via node is transmitted (request):
Step 43: via node 2--〉via node 1--〉server (equipment under test)
Step 44: via node announcement server 1 arrives equipment under test,
Step 45: via node announcement server 1 arrives equipment under test (via node 1)---via node 2,
Step 46: via node Relay Server 1 arrives equipment under test (via node 1)---via node 2,
Step 47: via node information option
Step 48: the via node information option that is used as a plurality of via nodes
Above-described embodiment, it is more preferably embodiment of the present invention, the present invention is not breaking away under its spirit and the substantive characteristics prerequisite, multiple embodiment can be arranged, be to be understood that the foregoing description is not limited to above-mentioned any details, and should in the defined spirit and scope of claims, be explained widely, therefore, all drop in the border of claim and the scope or with the variation of these borders and scope equivalence with revise and all attempt to be included in the accessory claim.

Claims (8)

1. the conforming integrated test facility of DHCPv6 is characterized in that, this method is at server end installation testing script software, and selects different test environments that the equipment with DHCPv6 function is carried out uniformity test according to different testing equipments.
2. the conforming integrated test facility of DHCPv6 according to claim 1 is characterized in that, described tested equipment is the equipment with DHCPv6 function, comprising: DHCPv6 server, DHCPv6 relay agent, DHCPv6 client.
3. the conforming integrated test facility of DHCPv6 according to claim 1 is characterized in that, the step that this method realizes is as follows:
(1) in the server of test environment, moves test script, construct basic test parameter;
(2) constitute different test environments according to different testing equipments, test, produce message;
(3) collection analysis message, the destination file of generation web form.
4. the conforming integrated test facility of DHCPv6 according to claim 3 is characterized in that described step further comprises:
A. for the testing procedure of DHCPv6 server:
1. on tested equipment, enable the DHCPv6 service;
2. use multicast address FF02::1:2 to send one to all DHCPv6 server and solicited messages on test node client 1, equipment under test responds this request by sending an advertised information;
3. test node client 1 please to message request of equipment under test transmission then.
5. the conforming integrated test facility of DHCPv6 according to claim 3 is characterized in that described step also comprises:
B. for the testing procedure of DHCPv6 client:
1. on the client of equipment under test DHCPv6, be configured to DHCP;
2. equipment under test uses multicast address FF02::1:2 to send one to all DHCPv6 server and solicited messages, and equipment under test responds this request by sending an advertised information;
3. the DHCPv6 server of test joint 1 has responded and has been undertaken corresponding by announcing an information;
4. tested equipment sends a solicited message and inquires whether confirm address and other configurations to the DHCPv6 server of test joint 1;
5. the DHCPv6 server of test joint 1 has been replied a response message, comprises the affirmation information to address and configuration in this information.
6. the conforming integrated test facility of DHCPv6 according to claim 3 is characterized in that described step also comprises:
C. for the testing procedure of DHCPv6 client:
1. on tested equipment, enable the DHCPv6 relay services;
2. use multicast address FF02::1:2 to send one to all DHCPv6 server and solicited messages on test node client 1, equipment under test responds this request by sending an advertised information;
If 3. interface ID is by all Dynamic Host Configuration Protocol server multicast address (FF05::1:3), solicited message that comprises interface ID of tested equipment relaying;
If 4. interface ID is included in the solicited message of relaying forwarding and the content that the return information behind the relaying has comprised prefix addresses information and configuration, then one of the DHCPv6 server of test node 2 issue comprises the relaying answer advertised information of interface ID;
5. one of tested device responds comprises the information of confirming address and configuration;
6. return information of tested equipment relaying is to test node client 1.
7. the conforming integrated test facility of DHCPv6 according to claim 1., it is characterized in that when described testing equipment was DHCPv6 client or server, its test environment comprised the specification requirement of equipment under test:
(1). having a network port in the test at least is the UP state;
(2). based on EUI64 (based on MAC) during the link local address of tested equipment, and tested equipment has been opened the function that IPv6 supports; If equipment under test is a server address acquisition automatically, the IPv6 address that needs the manual configuration whole world to reach: link 0:3ffe:501:ffff:100:+EUI64 (based on MAC);
(3) close and other the configuration as DNS, IPv6 default route etc.
8. the conforming integrated test facility of DHCPv6 according to claim 1 is characterized in that, when described testing equipment was the DHCPv6 relaying, its test environment further comprised the requirement of equipment under test:
1). having two network ports in the test at least is UP states;
2). based on EUI64 (based on MAC) during the link local address of tested equipment, and tested equipment has been opened the function that IPv6 supports; If equipment under test is a server address acquisition automatically, the IPv6 address that needs 2 whole world of manual configuration to reach:
Link 0:3ffe:501:ffff:100:+EUI64 (based on MAC);
Linkl:3ffe:501:ffff:101:+EUI64 (based on MAC);
3) close and other configurations, comprise DNS, IPv6 default route.
CNA2007101776151A 2007-11-19 2007-11-19 A comprehensive testing method for DHCPv6 consistency Pending CN101237354A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007101776151A CN101237354A (en) 2007-11-19 2007-11-19 A comprehensive testing method for DHCPv6 consistency

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007101776151A CN101237354A (en) 2007-11-19 2007-11-19 A comprehensive testing method for DHCPv6 consistency

Publications (1)

Publication Number Publication Date
CN101237354A true CN101237354A (en) 2008-08-06

Family

ID=39920724

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007101776151A Pending CN101237354A (en) 2007-11-19 2007-11-19 A comprehensive testing method for DHCPv6 consistency

Country Status (1)

Country Link
CN (1) CN101237354A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101656637B (en) * 2009-09-11 2012-06-13 中国科学院计算技术研究所 Virtual trunk measuring device and method for network protocol
CN102799526A (en) * 2012-07-10 2012-11-28 浪潮集团山东通用软件有限公司 Distributed intelligent scheduling method
CN102833125A (en) * 2011-06-17 2012-12-19 腾讯科技(深圳)有限公司 Test server, test system adopting test server, and test method
CN113037591A (en) * 2021-03-04 2021-06-25 深圳市吉祥腾达科技有限公司 Test method and system for verifying IPV6 protocol consistency

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101656637B (en) * 2009-09-11 2012-06-13 中国科学院计算技术研究所 Virtual trunk measuring device and method for network protocol
CN102833125A (en) * 2011-06-17 2012-12-19 腾讯科技(深圳)有限公司 Test server, test system adopting test server, and test method
CN102799526A (en) * 2012-07-10 2012-11-28 浪潮集团山东通用软件有限公司 Distributed intelligent scheduling method
CN113037591A (en) * 2021-03-04 2021-06-25 深圳市吉祥腾达科技有限公司 Test method and system for verifying IPV6 protocol consistency

Similar Documents

Publication Publication Date Title
CN101316230B (en) Virtual network connection system, apparatus and medium
KR100477653B1 (en) Apparatus and method for searching DNS server on outer net
CN101510853B (en) Method and apparatus for implementing WLAN wireless bridge, and wireless access client terminal
CN102271050B (en) Method and system for automatically configuring network equipment in Internet protocol version 6 (IPv6) network, and network equipment
CN101547223B (en) Method, device and system for address configuration
CN100556029C (en) The DNS update method and the device of main frame in the IPv6 stateless address configuration
US20100008260A1 (en) Method for configuring control tunnel and direct tunnel in ipv4 network-based ipv6 service providing system
CN103597863A (en) Methods and apparatus for determining address of a machine type communication device in a wireless network
CN102055816A (en) Communication method, business server, intermediate equipment, terminal and communication system
CN102158563A (en) Method, system and device for acquiring IPv6 (Internet Protocol Version 6) configuration information from IPv6 transition network
CN102546407B (en) File transmitting method and device
CN103763407A (en) Method for achieving address resolution protocol proxy through two-layer virtual local area network and local area network system
CN102820977A (en) Multicast method, multicast device and network device
CN103618801A (en) Method, device and system for sharing P2P (Peer-to-Peer) resources
CN102405629B (en) Method and apparatus for connecting subscriber devices to an ipv6-capable aggregation network
CN104539902A (en) IPC remote access method and system
CN102025522A (en) Method for realizing multicast between different IP domains and boundary gateway router
CN102594839B (en) Method for distinguishing pseudo dynamic host configuration protocol (DHCP) servers and switchboards
EP2675117A1 (en) Routing method and device for host in multi-homing site
CN101237354A (en) A comprehensive testing method for DHCPv6 consistency
CN103051739A (en) Network terminal and IP (Internet Protocol) address configuration method thereof
CN103108056A (en) Device and method capable of achieving subscriber identifier and locator separation network
CN102104634B (en) Method for communicating between LISP site and non-LISP site and apparatus and system thereof
CN102957755B (en) A kind of address resolution method, device and information transferring method
CN101309154B (en) Datagram sending method, sending apparatus and transmission system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20080806