Mobile IP technology is one of the important supporting technical in the construction of pervasive computing environment. However, the existing literatures lack a comprehensive, systematic research and analysis for handover performance of mobile IPv6 based ping-pong mode. This paper gives a comprehensive evaluation of the L3 handover performance of a variety of mobile IPv6 extension protocols based on the end-to-end TCP. We simulated the MIPv6, FMIPv6, HMIPv6 and FHMIPv6 protocols in the ping-pong handover mode, including handover latency, throughput and packet loss phenomenon, the results showed that: FHMIPv6 owns the best performance, the total handover latency is 273 ms, the actual average effective throughput is 93.867 Kbytes/s, packet loss rate is 9.125 percent; followed by the HMIPv6 and FMIPv6, the worst is MIPv6, whose total handover latency and the actual average throughput was 817 ms and 83.820 Kbytes/s, packet loss rate is 18.852 percent. In addition, we also propose an optimization solution on FHMIPv6, which adopts a new definition of the hop-by-hop options table head and two-way tunnel, realizes the rapid, smooth handover of MN. Experiments show that: the optimization of the handoff latency of FHMIPv6 is only about 100 ms, the average effective throughput is 101.574 Kbytes/s, packet loss rate falls to 1.664 percent, the handover performance of FHMIPv6 is improved further.