We propose teleporting a specific family of tripartite entangled pure states, which include both the Greenberger–Horne–Zeilinger (GHZ) state and the W-class state, with the five-qubit cluster state. In this scheme, two different measurement strategies are introduced and the successful probability of both is one theoretically. In cavity quantum electrodynamics (QED), we propose generating the five-qubit cluster state and discuss the local measurement of the Bell state and the five-qubit cluster state. It is shown that our scheme may be realizable based on present cavity QED technology. In future, our scheme may be useful for establishing general tripartite entanglement in remote nodes of the communication network.