31.4.11 IPv6 Multicast in VRF [SL-L3A]
- <Structure of this section>
(1) IPv6 multicast VRF
You can connect the Switch to multiple VPNs and use IPv6 multicasting in each VPN. Configure VRF for each VPN and run IPv6 multicasting in each VRF. You can set different rendezvous points, BSRs, timers, and SSM address ranges for VRF-based IPv6 multicasts.
The figure below shows an example configuration in which the Switch is connected to four VPNs.The settings on the Switch in this example are given in the table.
|
VPN |
Operation Protocol |
Loopback addresses |
Rendezvous point (The values in parentheses are rendezvous point addresses) |
SSM address |
---|---|---|---|---|
1 |
PIM-SM |
2001:db8::1 |
Switch (2001:db8: 1) |
Not used |
2 |
PIM-SM/ PIM-SSM |
2001:db8::2 |
Switch (2001:db8: 2) |
ff30::/12 |
3 |
PIM-SSM |
2001:db8::2 |
No |
ff35:100::/32 |
4 |
PIM-SM |
2001:db8::3 |
Router 4 (2001:db8::1) |
Not used |
(2) IPv6 multicast extranet
If an IPv6 multicast extranet is used, IPv6 multicast forwarding can be performed between VRFs. In addition, if IPv6 multicast route filtering is used, you can limit the range of group addresses used in the extranet and the VRFs for which forwarding requests from downstream are permitted.
Note that a unicast route to the sender must exist in the unicast extranet to establish the shortest path from the last-hop-router.
The following figure shows the overview of IPv6 multicast extranet operation.
|
(3) PIM-SM VRF gateways
To perform multicast communication by using the PIM-SM protocol, IPv6 multicast packets must be forwarded to the last-hop-router. If PIM-SM is used in an extranet environment, IPv6 multicast packets must also be forwarded to all the last-hop-routers in the VRFs.
Use a PIM-SM VRF gateway to enable the Switch to forward IPv6 multicast packets to the rendezvous point of each VRF.
The PIM-SM VRF gateway set in the VRF containing the sender (multicast server) operates as the last-hop-router for the specified group in the target VPN, and requests the rendezvous point to forward packets. Upon receiving IPv6 multicast packets from the rendezvous point, the gateway forwards the packets to the destination VRFs.
The PIM-SM VRF gateway in a destination VPN operates as the first-hop-router.The gateway encapsulates IPv6 multicast packets, and sends the encapsulated packets (called register packets) to the rendezvous point of each VRF. When a rendezvous point receives register packets, the rendezvous point decapsulates the packets and transfers the decapsulated IPv6 multicast packets to the last-hop-router, the same way as in normal PIM-SM operation. Next, the shortest-path delivery tree from the last-hop-router to the sender is generated. At the same time, IPv6 multicast packets in the extranet are forwarded by hardware.
As described above, use of PIM-SM VRF gateways allows a PIM-SM-based extranet to be created without changing the settings of any components other than the Switch. The following figure shows an overview of PIM-SM VRF gateway operation.
|
(4) Notes on using IPv6 multicast extranet
(a) Two or more stages of VRF forwarding in the device
IPv6 multicast extranets do not permit multi-level VRF forwarding with one device.
For an IPv6 multicast route of a VRF, the same VRF must be used for upstream and downstream interfaces. Any forwarding requests from upstream multicast routing information with a different VRF are ignored. When downstream interfaces of a multicast route use one VRF, and the VRF of an upstream interface is switched to another VRF, the downstream interfaces are detached from the target multicast route.
As indicated in the following figure, when there is a unicast route from VPN 3 to VPN 1 via VPN 2, host 1 in VPN 2 can receive IPv6 multicast packets from server 1 in VPN 1, but host 2 in VPN 3 cannot.
|
(b) PIM-SM/PIM-SSM interconnect
If you want to use an IPv6 multicast extranet to perform multicast forwarding between VRFs, make sure that all group addresses used in the multicast forwarding use the same protocol (for IPv6 multicast VRFs, the group addresses to be used with PIM-SSM can be specified for each VRF).
In an IPv6 multicast extranet, multicast forwarding between different protocols is impossible. The figure below shows an example in which inter-VRF forwarding cannot be performed because the protocols do not match.The settings on the Switch in this example are given in the table that follows.
|
VPN |
Operation protocol |
Rendezvous point (The values in parentheses are rendezvous point addresses) |
SSM address |
---|---|---|---|
1 |
PIM-SM |
Switch (2001:db8::100) |
Not used |
2 |
PIM-SSM |
No |
ff30::/12 |
G1:ff35::1
S1:2001:db8::10