With the development of communication and network technology, ad hoc networks are used extremely widely in this world. Networks are also becoming larger, so how to design and implement a kind of routing protocol which is able to support large scale ad hoc networks is a challenging task. In this paper, the summary of ad hoc networks and the existing routing protocols for ad hoc networks were first introduced. The FHR(Fisheye Hierachical Routing) protocol which is suitable for large scale ad hoc networks was presented. Its simulation results and comparison with traditional ZRP protocol were given. The implementation of FHR was introduced, including data structure design, program design, the implementation on software simulation platform and ad hoc network prototype nodes which were based on VxWorks operation system. In order to prove the correctness of the design on FHR routing program, the demonstrations of routing establishment and packet transmission on software simulation platform and ad hoc nodes were presented. Finally, this paper presented the testing results of FHR in wireless condition, and the reasonable analysis of the results was given. |