242
Group address Source address Interface VPN instance
239.1.1.1 1.1.1.4 MTunnel0 a
239.4.4.4 1.1.1.4 MTunnel1 b
MD VPN inter-AS option B configuration example
Network requirements
As shown in Figure 74, configure MD VPN inter-AS option B to meet the following requirements:
and receivers
• In VPN instance a, S 1 is a multicast source, and R 2 is a receiver.
• In VPN instance b, S 2 is a multicast source, and R 1 is a receiver.
• For VPN instance a, the default-group is 232.1.1.1, and the data-group range is
232.2.2.0 to 232.2.2.15. They are in the SSM group range.
• For VPN instance b, the default-group is 232.3.3.3, and the data-group range is
232.4.4.0 to 232.4.4.15. They are in the SSM group range.
which PE interfaces
belong
• PE 1: GigabitEthernet 1/0/2 belongs to VPN instance a. GigabitEthernet 1/0/3
belongs to VPN instance b. GigabitEthernet 1/0/1 and Loopback 1 belong to the
public network instance.
• PE 2: GigabitEthernet 1/0/1, GigabitEthernet 1/0/2, and Loopback 1 belong to
the public network instance.
• PE 3: GigabitEthernet 1/0/1, GigabitEthernet 1/0/2, and Loopback 1 belong to
the public network instance.
• PE 4: GigabitEthernet 1/0/2 belongs to VPN instance a. GigabitEthernet 1/0/3
belongs to VPN instance b. GigabitEthernet 1/0/1 and Loopback 1 belong to the
public network instance.
Unicast routing
protocols and
MPLS
• Configure OSPF in AS 100 and AS 200, and configure OSPF between the PEs
and CEs.
• Establish IBGP peer connections between PE 1, PE 2, PE 3, and PE 4 on their
respective Loopback 1.
•
Establish EBGP peer connections between GigabitEthernet 1/0/2 on PE 2 and
PE 3.
• Configure BGP MDT peer connections between PE 1, PE 2, PE 3, and PE 4 on
their respective Loopback 1 and between PE 2 and PE 3 on their respective
GigabitEthernet 1/0/2.
• Configure MPLS in AS 100 and AS 200.
IP multicast routing
• Enable IP multicast routing on P 1 and P 2.
• Enable IP multicast routing for the public network on PE 1, PE 2, PE 3, and PE 4.
• Enable IP multicast routing for VPN instance a on PE 1 and PE 4.
• Enable IP multicast routing for VPN instance b on PE 1 and PE 4.
• Enable IP multicast routing on CE a1, CE a2, CE b1, and CE b2.
IGMPv2
• Enable IGMPv2 on GigabitEthernet 1/0/1 of CE a2.
• Enable IGMPv2 on GigabitEthernet 1/0/1 of CE b2.
PIM
Enable PIM-SSM on the public network and PIM-SM for VPN instances
a
and
b
:
• Enable PIM-SM on all interfaces of P 1 and P 2.
• Enable PIM-SM on all public network interfaces of PE 2 and PE 3.
• Enable PIM-SM on all public and private network interfaces of PE 1 and PE 4.
• Enable PIM-SM on all interfaces that do not have attached receiver hosts on CE
a1, CE a2, CE b1, and CE b2.
• Configure GigabitEthernet 1/0/2 of CE a1 as a C-BSR and a C-RP for VPN
instance a to provide services for all multicast groups.
• Configure GigabitEthernet 1/0/2 of CE a1 as a C-BSR and a C-RP for VPN
instance b to provide services for all multicast groups.