Anycast routing can raise the QoS of networks and offers load-balance, it is the leading issue in the domain of computer, electric and communication. With the study of the anycast routing algorithm based on genetic algorithm, we put forth an improved anycast routing algorithm in the thesis. Through a lot simulation experiment on simulating platform, we compare and evaluate the performance discrepancy of the improved algorithm and the old one. The improved anycast-routing algorithm befits large-scale network, can satisfy the demand of the development of the net, It has more competent application merit.