The invention discloses a method for avoiding message recombination in a 6over4 tunnel and a
system therefor, and more particularly relates to a method for avoiding message recombination at a tunnel exit in the 6over4 tunnel, and a
system therefor. The method comprises: a tunnel entrance
router can be used for looking up a
routing table according to the destination address of the tunnel, so as toacquire an outgoing interface of the message; the tunnel entrance
router also can search a tunnel path
maximum transmission unit PM tunnel according to the destination address of the tunnel and the outgoing interface, and obtain the tunnel encapsulation length L t-head at the same time according to the encapsulation type; then, whether the length of the original message is more than maximum sharding length PM tunnel-L t-head is judged; if yes, error information is sent to a message sending unit, the fact that the length of the original message is more than maximum sharding length is notified,the maximum sharding length is notified to be PM tunnel-L t-head, and the original message is discarded; if not, tunnel encapsulation is carried out on the original message, an IPv4
routing table is looked up, and the message is transmitted into a tunnel exit
router after the tunnel encapsulation. The invention can avoid message sharding and recombination in the 6over4 tunnel, and the experiment proves that the invention can greatly improve the performance of tunnel communication.