Optimizing network load in multicast communications
Optimizing network load in multicast communications including receiving, at a first interface of a first router from a second router, a multicast packet for a multicast group; determining whether a time to live (TTL) value of the multicast packet is equal to zero; and sending, in response to determining that the TTL value of the multicast packet is equal to zero, a Protocol Independent Multicast prune message on the first interface of the first router, wherein the Protocol Independent Multicast prune message comprises a request to stop receiving multicast traffic for the multicast group.
1 . A method comprising:
receiving, at a first interface of a first router from a second router, a multicast packet for a multicast group;
determining whether a time to live (TTL) value of the multicast packet is equal to zero; and
sending, in response to determining that the TTL value of the multicast packet is equal to zero, a Protocol Independent Multicast prune message on the first interface of the first router, wherein the Protocol Independent Multicast prune message comprises a request to stop receiving multicast traffic for the multicast group.
2 . The method of claim 1 , wherein the multicast packet identifies the multicast group and a source IP address, and wherein sending the Protocol Independent Multicast prune message comprises including in the Protocol Independent Multicast prune message the source IP address and the multicast group.
3 . The method of claim 1 , further comprising:
receiving, by the second router, the Protocol Independent Multicast prune message from the first router;
prohibiting, based on the Protocol Independent Multicast prune message, subsequent multicast traffic for the multicast group to the first router;
determining, by the second router, whether there are any additional recipients of the multicast traffic coupled to the second router; and
propagating, in response to determining there are not additional recipients of the multicast traffic coupled to the second router, the Protocol Independent Multicast prune message upstream.
4 . The method of claim 1 , wherein the first router, in response to receiving the multicast packet, decrements the TTL value.
5 . The method of claim 1 , further comprising determining, by the first router, that the multicast packet requires routing to one or more recipients of the multicast packet.
6 . The method of claim 5 , wherein determining that the multicast packet requires routing to the one or more recipients of the multicast packet includes determining, by the first router, that the one or more recipients of the multicast traffic are present on a different network from a network of the first router.
7 . The method of claim 1 , wherein sending the Protocol Independent Multicast prune message reduces inefficient bandwidth utilization between the first router and the second router.
8 . An apparatus comprising a computing device, a computer processor, and a computer memory operatively coupled to the computer processor, the computer memory having disposed within it computer program instructions that, when executed by the computer processor, cause the apparatus to carry out the steps of:
receiving, at a first interface of a first router from a second router, a multicast packet for a multicast group;
determining whether a time to live (TTL) value of the multicast packet is equal to zero; and
sending, in response to determining that the TTL value of the multicast packet is equal to zero, a Protocol Independent Multicast prune message on the first interface of the first router, wherein the Protocol Independent Multicast prune message comprises a request to stop receiving multicast traffic for the multicast group.
9 . The apparatus of claim 8 , wherein the multicast packet identifies the multicast group and a source IP address, and wherein sending the Protocol Independent Multicast prune message comprises including in the Protocol Independent Multicast prune message the source IP address and the multicast group.
10 . The apparatus of claim 8 , further comprising:
receiving, by the second router, the Protocol Independent Multicast prune message from the first router;
prohibiting, based on the Protocol Independent Multicast prune message, subsequent multicast traffic for the multicast group to the first router;
determining, by the second router, whether there are any additional recipients of the multicast traffic coupled to the second router; and
propagating, in response to determining there are not additional recipients of the multicast traffic coupled to the second router, the Protocol Independent Multicast prune message upstream.
11 . The apparatus of claim 8 , wherein the first router, in response to receiving the multicast packet, decrements the TTL value.
12 . The apparatus of claim 8 , further comprising determining, by the first router, that the multicast packet requires routing to one or more recipients of the multicast packet.
13 . The apparatus of claim 12 , wherein determining that the multicast packet requires routing to the one or more recipients of the multicast packet includes determining, by the first router, that the one or more recipients of the multicast traffic are present on a different network from a network of the first router.
14 . The apparatus of claim 8 , wherein sending the Protocol Independent Multicast prune message reduces inefficient bandwidth utilization between the first router and the second router.
15 . A computer program product comprising a non-volatile computer readable storage medium and computer program instructions stored therein that are configured to, when executed by a processor, cause a computer to perform operations comprising:
receiving, at a first interface of a first router from a second router, a multicast packet for a multicast group;
determining whether a time to live (TTL) value of the multicast packet is equal to zero; and
sending, in response to determining that the TTL value of the multicast packet is equal to zero, a Protocol Independent Multicast prune message on the first interface of the first router, wherein the Protocol Independent Multicast prune message comprises a request to stop receiving multicast traffic for the multicast group.
16 . The computer program product of claim 15 , wherein the multicast packet identifies the multicast group and a source IP address, and wherein sending the Protocol Independent Multicast prune message comprises including in the Protocol Independent Multicast prune message the source IP address and the multicast group.
17 . The computer program product of claim 15 , further comprising:
receiving, by the second router, the Protocol Independent Multicast prune message from the first router;
prohibiting, based on the Protocol Independent Multicast prune message, subsequent multicast traffic for the multicast group to the first router;
determining, by the second router, whether there are any additional recipients of the multicast traffic coupled to the second router; and
propagating, in response to determining there are not additional recipients of the multicast traffic coupled to the second router, the Protocol Independent Multicast prune message upstream.
18 . The computer program product of claim 15 , wherein the first router, in response to receiving the multicast packet, decrements the TTL value.
19 . The computer program product of claim 15 , further comprising determining, by the first router, that the multicast packet requires routing to one or more recipients of the multicast packet.
20 . The computer program product of claim 19 , wherein determining that the multicast packet requires routing to the one or more recipients of the multicast packet includes determining, by the first router, that the one or more recipients of the multicast traffic are present on a different network from a network of the first router.