使用EVE-NG模拟器,做思科的mplsxxx.为了复习路由协议,PE1-P-PE2间使用ISIS路由协议,PE-CE间分别使用静态、RIP、OSPF、BGP协议
实验:R4-R5间通过mplsxxx传输,R6-R7间通过mplsxxx
接口地址,路由协议配置如图
1、配置各路由器接口ip地址
2、ce设备正常配置,配置相应路由协议
3、pe1-p-pe2之间使用isis建立tcp连接
4、pe1-pe2间通过BGP建立内部BGP
5、pe上配置VRF,并应用到相应接口
6、配置PE-CE间的vrf路由协议,重发布MP-BGP协议
7、配置PE-PE间MP-BGP
8、分别在BGP-VRF中重发布到CE的路由协议,
拓扑:

*一、基础配置:根据拓扑图配置ip地址,PE-CE间的路由协议*
R4:CE1 模拟A公司一端
enable
conf t
hostname r4-ce1
line con 0
exec-t 0 0
exit
!配置接口地址
int lo 0
ip add 10.10.10.1 255.255.255.0
int e0/0
ip add 14.1.1.2 255.255.255.0
no sh
exit
!使用静态路由访问外网
ip route 0.0.0.0 0.0.0.0 14.1.1.1
======R6:CE2 模拟 B公司
enable
conf t
hostname r6-ce2
line con 0
exec-t 0 0
exit
int lo 0
ip add 10.10.10.1 255.255.255.0
int e0/0
ip add 16.1.1.2 255.255.255.0
no sh
exit
!作用ripv2协议与PE通信
router rip
ver 2
no auto-s
net 10.10.10.0
net 16.0.0.0
exit
==========R5:CE3
enable
conf t
hostname r5-ce3
line con 0
exec-t 0 0
exit
int lo 0
ip add 172.16.10.1 255.255.255.0
int e0/0
ip add 35.1.1.2 255.255.255.0
no sh
exit
router ospf 1
net 35.1.1.0 0.0.0.255 ar 1
net 172.16.10.0 0.0.0.255 ar 1
exit
=====r7-ce4
enable
conf t
hostname r7-ce4
line con 0
exec-t

本文介绍了一个使用EVE-NG模拟器搭建的MPLS VPN实验环境。实验中使用了ISIS作为PE-PE间的IGP协议,并在PE-CE间配置了多种路由协议,包括静态、RIP、OSPF和BGP。此外还详细记录了如何配置VRF、MP-BGP以及如何在BGP VRF中重新发布路由。
最低0.47元/天 解锁文章
372

被折叠的 条评论
为什么被折叠?



