深圳市ip 城域网组网方案
七、 MPLS VPN PE-CE 的连接
MPLS VPN PE-CE 的连接可以分为 2 种类型:
直接连接到 7500 路由器的 GE 端口上;
通过 Catalyst 2924M-XL 的 VLAN trunk 连接 7500 路由器的 GE 端口, Catalyst 2924 上的每个端口就是一个 VLAN ;
不管是直接连接到 7500 ,还是通过 VLAN 连接到 7500 ,这种 PE-CE 的连接可以看成是 point-to-point 的逻辑连接,这段 link 将被分配到一个 /30 的子网。
下图描述了这种设置:
VPN PE-CE VLAN 的 VLAN 号从 101 分配起。 Port 0/1, 如果不用作 VLAN 的 trunk ,分配 VLAN 101 , Port 0/2 分配 102 ,以此例推;
以黄木岗 7513 的 VPN PE-CE 连接举例说明如下:
M-HMG-7513-A à interface gigabitethernet 8/1.103 à M-HMG-2924-A à VLAN 103 à port 0/3 à CE router à interface fastethernet 0/0
Sample configuration:
PE Router (M-HMG-7513-A)
ip vrf education
rd 65xxx:101
route-target export 65xxx:101
route-target import 65xxx:101
Interface gigabitethernet 8/1.103
ip address 1.1.1 .1 255.255.255.252
ip vrf forwarding education
* where 65xxx is the private AS # of the Shenzhen MAN
CE Router
Interface fastethernet 0/0
ip address 1.1.1 .2 255.255.255.252