With the rapid growth of Internet terminal applications, the traditional IPv4address resources are very deficient. In order to adapt to the future development of network,the work that make IPv6as the next generation Internet Protocol instead of IPv4is being carried out gradual ly.DHCP as themain way that TCP/IP protocol stack distributives addresses, isalso updated to support the IPv6address assignmentaccordingly.IETF organization released the RFC3315in2003, which gives the DHCPv6protocol design specification.On the analysis of the RFC3315protocol specification, and based on the H3C’s digital communications products and Comware software platform, This thesis designs and implements the product function that DHCPv6address associated.This paper generally introduces DHCPv6protocol, including the DHCPv6system composition, definitions and the process of messages interaction. Subsequent, Combined with the software platform and product characteristics, according to the protocol and the mind of software modularity, divided into server and client in two parts, the paper designs and implements of the DHCPv6function respectively in the lease management, message processing, address assignment and application modules.Also, the paper studies and adopts an efficient IPv6address allocation algorithm. Finally, the test environment, the design of test cases and testing process is described, and the measuring results are analyzed.After verification, the designed and implemented system has the advantages of reliability, expansibility and maintainability. It can be good supported with Windows, Linux, Cisco and other DHCPv6systems intercommunication. Also it passed the Ipv6Ready’s DHCPv6protocol conformance test. Then, it can be applied in commercial data communication equipment. |