当前位置:网站首页>HCIP BGP
HCIP BGP
2022-07-29 03:51:00 【less than _ermi】
实验内容:
实验拓扑:
实验过程:
1、IP地址配置
2、对r2\r3\r4oSPF配置
R2:
ospf 1 router-id 2.2.2.2
area 0
network 2.2.2.2 0.0.0.0
network 23.1.1.10.0.0.0
R3:
ospf 1 router-id 3.3.3.3
area 0
network 3.3.3.3 0.0.0.0
network 23.1.1.2 0.0.0.0
network 34.1.1.1 0.0.0.0
R4:
ospf 1 router-id 4.4.4.4
area 0
network 4.4.4.4 0.0.0.0
network 34.1.1.2 0.0.0.0
3、BGP配置
R1:
bgp 1
router-id 1.1.1.1
peer 12.1.1.2 as-number 2
R2:
bgp 2
router-id 2.2.2.2
peer 12.1.1.1 as-number 1
peer 3.3.3.3 as-number 2
peer 3.3.3.3 connect-interface LoopBack 0
R3:
bgp 2
router-id 3.3.3.3
peer 2.2.2.2 as-number 2
peer 2.2.2.2 connect-interface LoopBack 0
peer 4.4.4.4 as-number 2
peer 4.4.4.4 connect-interface LoopBack 0
R4:
bgp 2
router-id 4.4.4.4
peer 3.3.3.3 as-number 2
peer 3.3.3.3 connect-interface LoopBack 0
peer 5.5.5.5 as-number 3
peer 5.5.5.5 connect-interface LoopBack 0
peer 5.5.5.5 ebgp-max-hop 2
R5:
bgp 3
router-id 5.5.5.5
peer 4.4.4.4 as-number 2
peer 4.4.4.4 connect-interface LoopBack 0
peer 4.4.4.4 ebgp-max-hop 2
4、r4\r5 EBGP配置
R4:
ip route-static 5.5.5.5 24 45.1.1.2
ip route-static 5.5.5.5 24 54.1.1.2
R5:
ip route-static 4.4.4.4 24 45.1.1.1
ip route-static 4.4.4.4 24 54.1.1.1
5、BGP宣告
R1:
bgp 1
network 1.1.1.1 24
R5:
bgp 3
network 5.5.5.5 24
修改下一跳
R2:
bgp 2
peer 3.3.3.3 next-hop-local
R4:
bgp 2
peer 3.3.3.3 next-hop-local
R2与R4建邻
R2:
bgp 2
peer 4.4.4.4 as-number 2
peer 4.4.4.4 connect-interface LoopBack 0
peer 4.4.4.4 next-hop-local
R4:
bgp 2
peer 2.2.2.2 as-number 2
peer 2.2.2.2 connect-interface LoopBack 0
peer 2.2.2.2 next-hop-local
实验结束
边栏推荐
- Configmap configuration and secret encryption
- Uni app internationalization
- SSL==证书相关概念
- Casbin入门
- LVS+KeepAlived高可用部署实战应用
- Deconstruction assignment of new features of ES6
- Remote desktop connection error
- What have I learned from 200 machine learning tools?
- 3. Solve pychart's error unresolved reference 'selenium' unresolved reference 'webdriver‘
- Why don't programmers work blindly?
猜你喜欢
【BGP】小型实验
Batch production and upload sales NFT opensea eth polygon
Typescript from getting started to mastering (XVI) configuration file - first knowledge of compileroptions configuration item
Shopify卖家:EDM营销就要搭配SaleSmartly,轻松搞定转化率
CUB_200鸟类数据集关键点可视化
(newcoder 15079)无关(容斥原理)
企业网的三层架构
Deep into C language (3) -- input and output stream of C
Excel splicing database statement
Sunflower senior product director technology sharing: "how to apply national remote control" in AD domain environment
随机推荐
Data too long for column 'xxx' at row 1 solution
SQL window function
【BGP】小型实验
The latest second edition of comic novels, listening to books, three in one, complete source code / integrated visa free interface / building tutorials / with acquisition interface
Cloudera manager platform fault repair record
Typescript from getting started to mastering (XXII) namespace namespace (I)
Deconstruction assignment of new features of ES6
Why is continuous integration and deployment important in development?
Shutter start white screen
With more than 5 years of work experience and a salary of 15K, would you accept it if you were me?
数据挖掘——关联分析例题代码实现(下)
路西法98-生活记录ing
新零售O2O 电商模式解析
How do programmers use code to completely end those things in the system?
UCOS task switching process
Solve the delay in opening the console of Google browser
Division of data link layer, protocols used in data link layer and detailed introduction
Typescript from introduction to proficiency (XXIV) using import syntax
Lvs+keepalived high availability deployment practical application
3. Solve pychart's error unresolved reference 'selenium' unresolved reference 'webdriver‘