243
Table 20
Interface and IP address assignment
Device
Interface
IP address
Device
Interface
IP address
S 1
—
10.110.7.2/24
PE 3
Ethernet 1/1
192.168.8.1/24
S 2
—
10.110.8.2/24
PE 3
Ethernet 1/2
10.110.5.1/24
R 1
—
10.110.1.2/24
PE 3
Ethernet 1/3
10.110.6.1/24
R 2
—
10.110.9.2/24
PE 3
Loopback 1
1.1.1.3/32
R 3
—
10.110.10.2/24
PE 3
Loopback 2
33.33.33.33/32
R 4
—
10.110.11.2/24
CE a1
Ethernet 1/1
10.110.7.1/24
P
Ethernet 1/1 192.168.6.2/24
CE a1
Ethernet 1/2
10.110.2.2/24
P Ethernet
1/2
192.168.7.2/24
CE a2
Ethernet 1/1
10.110.9.1/24
P Ethernet
1/3
192.168.8.2/24
CE a2
Ethernet 1/2
10.110.4.2/24
P
Loopback 1
2.2.2.2/32
CE a2
Ethernet 1/3
10.110.12.1/24
PE 1
Ethernet 1/1 192.168.6.1/24
CE a2
Loopback 1
22.22.22.22/32
PE 1
Ethernet 1/2 10.110.1.1/24
CE a3
Ethernet 1/1
10.110.10.1/24
PE 1
Ethernet 1/3 10.110.2.1/24
CE a3
Ethernet 1/2
10.110.5.2/24
PE 1
Loopback 1
1.1.1.1/32
CE a3
Ethernet 1/3
10.110.12.2/24
PE 2
Ethernet 1/1 192.168.7.1/24
CE b1
Ethernet 1/1
10.110.8.1/24
PE 2
Ethernet 1/2 10.110.3.1/24
CE b1
Ethernet 1/2
10.110.3.2/24
PE 2
Ethernet 1/3 10.110.4.1/24
CE b2
Ethernet 1/1
10.110.11.1/24
PE 2
Loopback 1
1.1.1.2/32
CE b2
Ethernet 1/2
10.110.6.2/24
Configuration procedure
1.
Configure PE 1:
# Configure a Router ID, enable IP multicast routing on the public network, configure an MPLS LSR
ID, and enable the LDP capability.
<PE1> system-view
[PE1] router id 1.1.1.1
[PE1] multicast routing-enable
[PE1] mpls lsr-id 1.1.1.1
[PE1] mpls
[PE1-mpls] quit
[PE1] mpls ldp
[PE1-mpls-ldp] quit
# Create VPN instance
a
, configure an RD for it, and create an ingress route and an egress route
for it.
[PE1] ip vpn-instance a
[PE1-vpn-instance-a] route-distinguisher 100:1
[PE1-vpn-instance-a] vpn-target 100:1 export-extcommunity
[PE1-vpn-instance-a] vpn-target 100:1 import-extcommunity
# Enable IP multicast routing in VPN instance
a
, configure a share-group address, associate an
MTI with the VPN instance, and define the switch-group-pool address range.
[PE1-vpn-instance-a] multicast routing-enable
[PE1-vpn-instance-a] multicast-domain share-group 239.1.1.1 binding mtunnel 0
[PE1-vpn-instance-a] multicast-domain switch-group-pool 225.2.2.0 28
[PE1-vpn-instance-a] quit