当前位置:网站首页>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
边栏推荐
- JSP WebSehll 后门脚本
- IPIDEA的使用方式
- Hit the programmer interview scene: What did Baidu interviewers ask me?
- AcWing 1053. Repair DNA problem solution (state machine DP, AC automata)
- MySQL8.0.28 installation tutorial
- JSP Webshell free kill
- I will give you a chance to interview in a big factory. Can you interview?Come in and see!
- MySql中的like和in走不走索引
- 有人知道HTML怎么到MYSQL数据库吗? (NODEJS)
- 7-40 奥运排行榜 (25 分)多项排序
猜你喜欢

PHP WebShell 免杀

MySQL8 - use under Windows package installation method

Go语学习笔记 - gorm使用 - gorm处理错误 Web框架Gin(十)

利用WebShell拿Shell技巧

WebShell connection tools (Chinese kitchen knife, WeBaCoo, Weevely) use

EF Core:基于关系的复杂查询 区分IEnumerable和IQueryable

Using WebShell to get Shell Skills

直击程序员面试现场:百度面试官都问了我些啥?

Go语学习笔记 - gorm使用 - 事务操作 Web框架Gin(十一)

PyTorch(六)——PyTorch可视化
随机推荐
Common SQL interview questions: 50 classic examples
[LeetCode] 83. Delete duplicate elements in the sorted list
【LeetCode】145. Postorder Traversal of Binary Tree
22-08-01 西安 尚医通(01)跨域配置、Swagger2、R类、统一异常处理和自定义异常、Logback日志
# ODS及DWD层自动化构建##, 220731,
Nacos source code analysis topic (2) - service registration
JSP Webshell 免杀
Navicat cannot connect to database Mysql because of WiFi
7-36 社交网络图中结点的“重要性”计算 (30 分) 不用迪杰斯特拉也不用弗洛伊德
【LeetCode】144. Preorder Traversal of Binary Tree
WebShell连接工具(中国菜刀、WeBaCoo、Weevely)使用
Foundry教程:使用多种方式编写可升级的智能代理合约(下)
Invalid bound statement (not found)出现的原因和解决方法
Go语学习笔记 - gorm使用 - 原生sql、命名参数、Rows、ToSQL Web框架Gin(九)
2022年最新一篇文章教你青龙面板拉库,拉取单文件,安装依赖,设置环境变量,解决没有或丢失依赖can‘t find module之保姆教程(附带几十个青龙面板脚本仓库)
(转帖)hashcode和equals的关系
py0_二十一天计划书
VPS8701 电源管理(PMIC) VPS8701
聊聊flink的BoundedOutOfOrdernessTimestampExtractor
PHP WebSehll backdoor script and detection tool















