15
Figure 4 Network diagram
Procedure
1.
Configure the VPN instances on the MCE and PE 1:
# On the MCE, configure VPN instances
vpn1
and
vpn2
, and specify an RD and route targets
for each VPN instance.
<MCE> system-view
[MCE] ip vpn-instance vpn1
[MCE-vpn-instance-vpn1] route-distinguisher 10:1
[MCE-vpn-instance-vpn1] vpn-target 10:1
[MCE-vpn-instance-vpn1] quit
[MCE] ip vpn-instance vpn2
[MCE-vpn-instance-vpn2] route-distinguisher 20:1
[MCE-vpn-instance-vpn2] vpn-target 20:1
[MCE-vpn-instance-vpn2] quit
# Bind VLAN-interface 10 to VPN instance
vpn1
, and configure an IP address for the VLAN
interface.
[MCE] interface vlan-interface 10
[MCE-Vlan-interface10] ip binding vpn-instance vpn1
[MCE-Vlan-interface10] ip address 10.214.10.3 24
[MCE-Vlan-interface10] quit
# Bind VLAN-interface 20 to VPN instance
vpn2
, and configure an IP address for the VLAN
interface.
[MCE] interface vlan-interface 20
[MCE-Vlan-interface20] ip binding vpn-instance vpn2
[MCE-Vlan-interface20] ip address 10.214.20.3 24
CE 2
VPN 1
Site 2
CE 1
VPN 2
Site 1
PE 1
PE 3
PE 2
VPN 2
192.168.10.0/24
VR 2
VPN 1
192.168.0.0/24
VR 1
MCE
Vlan-int10
10.214.10.3/24
Vlan-int30: 30.1.1.2/24
Vlan-int40: 40.1.1.2/24
Vlan-int30: 30.1.1.1/24
Vlan-int40: 40.1.1.1/24
Vlan-int20
10.214.20.3/24
Содержание MS4520V2-24TP
Страница 7: ...ii Example Configuring IPv6 MCE 34...