当前位置:网站首页>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 installation tutorial
mysql使用on duplicate key update批量更新数据
蓝鲸DevOps荣获平台类工具企业选择率第一
MySQL8--Windows下使用压缩包安装的方法
(转帖)HashCode总结(1)
Navicat cannot connect to database Mysql because of WiFi
7-36 社交网络图中结点的“重要性”计算 (30 分) 不用迪杰斯特拉也不用弗洛伊德
JSP Webshell 免杀
WebShell Feature Value Summary and Detection Tool
[Daily LeetCode]——1. The sum of two numbers
合奥科技网络 面试(含参考答案)
【LeetCode】145. Postorder Traversal of Binary Tree
“带薪划水”偷刷阿里老哥的面经宝典,三次挑战字节,终成正果
MySQL8 - use under Windows package installation method
关于#sql#的问题:该怎么写sql语句,
嘉为蓝鲸携手东风集团、上汽零束再获信通院四项大奖
node:internal/modules/cjs/loader:936 throw err; ^ Error: Cannot find module ‘./scope‘
关于跨域问题
【无标题】【Koltin Flow(三)】Flow操作符之中间操作符(二)
"Paid paddling" stealthily brushes Brother Ali's face scriptures, challenges bytes three times, and finally achieves positive results

























