| Protocol Testing is an important technology which ensures the interworking and the reliable cooperation among different protocol implementations. We research the field in order to test the protocols of the high performance routers. Based on the deep research of Automated Network Validation Library, this paper gives the generic development method of conformance testing of the IP/ICMP protocol.First the paper introduces the current international standard ISO/IEC 9646,the relevant theory and method of protocol conformance testing .It also studies the ANVL and gives the generic method of test development. First testing development needs selection of method. The testing of end system and relay system is based on remote method and transverse testing method respectively. Second the design of test sequence have two parts: one is based on FSM and the other is based on test purpose. The paper first presents an algorithm and some basic disciplines of test sequence design ,then present description of the test cases by TTCN and approach of realizing the test cases . At last, it gives the detailed realization of test suite .The IP protocol is the kernel protocol of Internet , ICMP reports and controls IP errors. We carefully analyzed the specification of the two protocols and implemented the test suite for routers. The end of the paper gives an overview of the actual testing activity and a detailed analysis of test result of the Cisco7200 Router and our GF8516 Router. |