当前位置:网站首页>HCIP Day 11_MPLS Experiment
HCIP Day 11_MPLS Experiment
2022-08-02 03:15:00 【ᝰꫛꫀꪝ】
1、实验要求
1、AS2的ip地址为172.16.0.0/16;
AS2There are two loopback interfaces on each device,One that specializes in building neighbor relationships32位;One represents the user network segment24位;
2、AS2中R3/4/6不得运行BGP协议
3、R1到AS2中R2/3/4The user network segment is based onR5访问;到R5/6/7基于R2
4、Keep backup routes
5、R1/8The loopback can access the internalAS2All user network segments in the loopback
2、实验拓扑
3、分析过程
(1)IP地址的规划
IP地址
172.16.0.0/16
建邻环回:
172.16.0.2/32 R2 L0
172.16.0.3/32 R3 L0
172.16.0.4/32 R4 L0
172.16.0.5/32 R5 L0
172.16.0.6/32 R6 L0
172.16.0.7/32 R7 L0
用户环回:
172.16.2.0/24 R2
172.16.3.0/24 R3
172.16.4.0/24 R4
172.16.5.0/24 R5
172.16.6.0/24 R6
172.16.7.0/24 R7
AS2骨干链路
172.16.1.0/30
172.16.1.4/30
172.16.1.8/30
172.16.1.12/30
172.16.1.16/30
172.16.1.20/30
172.16.1.24/30
(2)OSPF的配置
(3)EBGP的配置——将OSPF重发布进入BGP
(4)IBGP的配置
(5)MPLS的配置
(6)R3/4/6缺省的配置
(7)路由策略
4、配置内容
1、OSPF的配置 R2/3/4/5/6/7都需要进行OSPF的配置,The configuration content is similar,这里以R2为例
2、EBGP的配置 这里以R1为例,需要在R1和R2/5之间配置EBGP,R7和R8之间一样——直连建邻
bgp 1
peer 12.1.1.1 as-number 2
peer 15.1.1.1 as-number 2
3、IBGP关系的建立
R2
R5
R7
bgp 2
peer 172.16.0.5 as-number 2
peer 172.16.0.5 connect-interface LoopBack 0
peer 172.16.0.5 next-hop-local
4、MPLS的建立——需要在R2/3/4/5/6/7All the above configuration
R2:建邻RIDNeed to be local realID——在MPLSIt also needs to be configured on the passed interface——这里以R2为例
然后在配置了BGPThere is also an instruction written on the router
[r2]route recursive-lookup tunnel
5、路由策略——在R2与R5上都需要设置
R2上面修改R2/3/4user network segmentCOST值,使得R1access its network segment fromR5走
For reposting reasons,Will cause some not to be published toBGPThe route in is also enteredBGP中,So you have to write some rejection strategies,Block related routes from going out
R5上面修改R5/6/7user network segmentCOST值,make it goR2
5、结果验证
R1The backup route is generated above,且R2/3/4The user network segment goesR5;R5/6/7The user network segment goesR2——Keep backup routes
MPLS邻居的建立——此处以R3为例
EBGP——以R5为例
R1pingInternal user network segment
R8pingInternal user network segment
R8pingR1
边栏推荐
猜你喜欢
随机推荐
mysql8.0.28 download and installation detailed tutorial, suitable for win11
STL入门基础 map和set容器
ASP WebShell 后门脚本与免杀
Redis主从、哨兵、 Cluster集群一锅端!
JSP Webshell free kill
Go语学习笔记 - gorm使用 - 事务操作 Web框架Gin(十一)
输入延迟切换系统的预测镇定控制
Tree Chain Segmentation-
(转帖)hashcode和equals的关系
WebShell Feature Value Summary and Detection Tool
三维数字孪生引擎与实景互动,案例解析
生成器知道鉴别器在无条件GANs中应该学习什么
Day34 LeetCode
iVX低代码平台系列详解 -- 概述篇(二)
就瞎写=感想
给你一个大厂面试的机会,你能面试上吗?进来看看!
[LeetCode] 83. Delete duplicate elements in the sorted list
Using WebShell to get Shell Skills
第 304 场力扣周赛
请教各位大佬,如果我代码里面设置了,这个id我在什么地方可以查到呢?连接到mysql cluste