A method for registering a multicast source, wherein the method comprises:
- after receiving an original multicast message of a multicast source, a designated router DR to which the multicast source belongs encapsulating another multicast header for the original multicast message, wherein a target address of the another multicast header is a multicast address, and a source address of the another multicast header is a proxy care-of address of the multicast source;
- and encapsulating the re-encapsulated multicast message into a registration message to send to a rendezvous point;
- wherein a target address in the header of the original multicast message is the multicast address, and a source address in the header of the original multicast message is a home address of the multicast source,
- wherein, the DR to which the multicast source belongs is a mobile access gateway MAG to which the multicast source belongs, and the proxy care-of address of the multicast source is an address of the MAG to which the multicast source belongs,
- preferably,
- wherein, encapsulating the re-encapsulated multicast message into a registration message to send to a rendezvous point comprises:
- after encapsulating the re-encapsulated multicast message into the registration message according to an unicast encapsulation, the MAG to which the multicast source belongs sending the registration message to the rendezvous point by means of unicast, wherein a source address in an outer-layer encapsulation of the registration message is the address of the MAG, and a target address in an outer-layer encapsulation of the registration message is an address of the rendezvous point,
- or,
- wherein, encapsulating the re-encapsulated multicast message as a registration message to send to a rendezvous point comprises:
- after encapsulating the re-encapsulated multicast message into the registration message according to an anycast encapsulation, the MAG to which the multicast source belongs sending the registration message by means of anycast, wherein a source address in an outer-layer encapsulation of the registration message is the address of the MAG to which the multicast source belongs, and a target address in an outer-layer encapsulation of the registration message is an anycast address of a anycast-rendezvous point set;
- or,
- wherein the method comprises:
- a designated router DR to which a multicast source belongs registering a binding relationship between a home address of the multicast source and a proxy care-of address of the multicast source to a border multicast router BMR, and completing a registration of the binding relationship between the home address of the multicast source and the proxy care-of address of the multicast source,
- wherein, when the multicast source is moving, a DR to which the multicast source moves registers an updated binding relationship between the proxy care-of address of the multicast source and the home address of the multicast source to the BMR;
- or,
- wherein the method comprises:
- after receiving an original multicast message of a multicast source, a designated router DR to which the multicast source belongs encapsulating the original multicast message as a registration message, sending the registration message to a rendezvous point RP, wherein a proxy care-of address of the multicast source and a path establishment flag bit are carried in the registration message, the path establishment flag bit is used for indicating the RP to establish a shortest path tree SPT branch between the RP and the DR to which the multicast source belongs according to the proxy care-of address of the multicast source,
- wherein, after receiving the registration message, according to the path establishment flag bit, the RP saves a binding relationship between the proxy care-of address of the multicast source carried in the registration message and a home address of the multicast source.