当前位置:网站首页>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
边栏推荐
- MySql中的like和in走不走索引
- mysql使用on duplicate key update批量更新数据
- Go语学习笔记 - gorm使用 - 原生sql、命名参数、Rows、ToSQL Web框架Gin(九)
- MySQL8.0.26 installation and configuration tutorial (windows 64-bit)
- leetcode 143. 重排链表
- STM32——LCD—TFTLCD原理与配置介绍
- 自定义mvc框架复习(crud)
- - daily a LeetCode 】 【 9. Palindrome
- Using WebShell to get Shell Skills
- Chapter 11_Database Design Specifications
猜你喜欢
Go语学习笔记 - gorm使用 - 表增删改查 Web框架Gin(八)
Navicat cannot connect to database Mysql because of WiFi
MySql中的like和in走不走索引
脚手架安装
mysql8.0.28 download and installation detailed tutorial, suitable for win11
MySQL八股文背诵版
第七周复习
Nacos source code analysis topic (2) - service registration
CentOS7安装Oracle数据库的全流程
直击程序员面试现场:百度面试官都问了我些啥?
随机推荐
MySQL8--Windows下使用msi(图形界面)安装的方法
7-36 社交网络图中结点的“重要性”计算 (30 分) 不用迪杰斯特拉也不用弗洛伊德
MySQL修改最大连接数限制
Chapter 10 聚类
深度学习:目标检测入门知识
【遥控器开发基础教程1】疯壳·开源编队无人机-GPIO(遥控器指示灯控制)
给你一个大厂面试的机会,你能面试上吗?进来看看!
OperatingSystemMXBean to get system performance metrics
分布式事务解决方案模型
MySQL8.0.26 installation and configuration tutorial (windows 64-bit)
7-40 奥运排行榜 (25 分)多项排序
DOM破坏及复现实验
PHP WebSehll 后门脚本与检测工具
MySQL8 - use under Windows package installation method
Chapter 10_Index Optimization and Query Optimization
7-41 PAT排名汇总 (25 分)多样排序
(转帖)HashCode总结(2)
leetcode 143. 重排链表
JDBC--Druid数据库连接池以及Template基本用法
第一章——线性表(顺序表和链表)