摘要 |
The method of establishing a multicast data channel in a network virtualization system includes: creating, on a controller, a virtual remote logical interface for an external interface of a remote node; generating, a multicast tree tunnel that uses a core node as a root, and obtaining a multicast protocol packet sent by a device outside the network virtualization system; acquiring, a multicast source address and a multicast group address from the multicast protocol packet, and generating a multicast forwarding table; searching, the multicast forwarding table for an external interface of the core node, searching for an outbound interface of the multicast tree tunnel on the core node according to the multicast tree tunnel, and generating a P2MP PW forwarding table of the core node, and sending the P2MP PW forwarding table of the core node to the core node. The method implements a multicast service in a virtual cluster router. |
主权项 |
1. A method for establishing a multicast data channel in a network virtualization system, the method comprising:
creating, on a controller, a virtual remote logical interface for an external interface of a remote node, wherein the external interface of the remote node is an interface used to connect to another network device; generating, by the controller, a multicast tree tunnel that uses a core node as a root; obtaining, by the controller, a multicast protocol packet, wherein the multicast protocol packet is a protocol packet sent by a device outside the network virtualization system by using the remote node or the core node of the network virtualization system; acquiring, by the controller, a multicast source address and a multicast group address from the multicast protocol packet; generating, by the controller, a multicast forwarding table according to the multicast source address, the multicast group address, a multicast inbound interface, and a multicast outbound interface, wherein the multicast outbound interface comprises an external interface of the core node and the virtual remote logical interface; allocating, by the controller, a point-to-multipoint pseudo wire (P2MP PW) label to the multicast source address and the multicast group address; searching, by the controller, the multicast forwarding table for the external interface of the core node, searching for an outbound interface of the multicast tree tunnel on the core node according to the multicast tree tunnel, and generating a P2MP PW multicast forwarding table of the core node according to the multicast source address, the multicast group address, the P2MP PW label, the multicast inbound interface, the external interface of the core node, and the outbound interface of the multicast tree tunnel on the core node; and sending, by the controller, the P2MP PW multicast forwarding table of the core node to the core node, so that the core node forwards a multicast data packet according to the P2MP PW multicast forwarding table. |