当前位置:网站首页>[experiment sharing] CCIE BGP routing black hole experiment]
[experiment sharing] CCIE BGP routing black hole experiment]
2022-07-26 20:33:00 【GLAB-Mary】
The experiment purpose :
l master BGP How routing black holes work
l How to solve the routing black hole
Experimental instructions :
l Practice through this experiment , We can better understand the principle of routing black hole
Experimental environment :
l Three support SPSERVICES Of IOS The router
l Through line
The topology :

The experimental steps :
R1(config)#interface f0/0
R1(config-if)#ip address 12.1.1.1 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#int lo 0
R1(config-if)#ip address 1.1.1.1 255.255.255.255
R1(config)#router ospf 110
R1(config-router)#router-id 1.1.1.1
R1(config-router)#network 12.1.1.1 0.0.0.0 a 0
R1(config-router)#network 1.1.1.1 0.0.0.0 a 0
R1(config)#int lo 11
R1(config-if)#ip address 11.11.11.11 255.255.255.255
R1(config)#router bgp 100
R1(config-router)#bgp router-id 1.1.1.1
R1(config-router)#neighbor 3.3.3.3 remote-as 100
R1(config-router)#neighbor 3.3.3.3 update-source lo 0{ establish IBGP Neighborhood , It needs to be manually specified through Loop Set up a conversation .}
R1(config-router)#network 11.11.11.11 mask 255.255.255.255{ Announce a 11.11.11.11 The routing }
R2(config)#interface f0/0
R2(config-if)#ip address 12.1.1.2 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#int f1/0
R2(config-if)#ip address 23.1.1.2 255.255.255.0
R2(config-if)#no shutdown
R2(config)#router ospf 110
R2(config-router)#router-id 2.2.2
R2(config-router)#router-id 2.2.2.2
R2(config-router)#network 12.1.1.2 0.0.0.0 a 0
R2(config-router)#network 23.1.1.2 0.0.0.0 a 0
R3(config)#interface f1/0
R3(config-if)#ip address 23.1.1.3 255.255.255.0
R3(config-if)#no shutdown
R3(config-if)#int lo 0
R3(config-if)#ip address 3.3.3.3 255.255.255.255
R3(config)#router ospf 110
R3(config-router)#router-id 3.3.3.3
R3(config-router)#network 23.1.1.3 0.0.0.0 a 0
R3(config-router)#network 3.3.3.3 0.0.0.0 a 0
R3(config)#router bgp 100
R3(config-router)#bgp router-id 3.3.3.3
R3(config-router)#neighbor 1.1.1.1 remote-as 100
R3(config-router)#neighbor 1.1.1.1 update-source lo 0
R3(config-router)#network 33.33.33.33 mask 255.255.255.255
R3(config)#int lo 33
R3(config-if)#ip address 33.33.33.33 255.255.255.255
here R1 To receive 33.33.33.33 R3 received 11.11.11.11
R1#show ip bgp
Network Next Hop Metric LocPrf Weight Path
*> 11.11.11.11/32 0.0.0.0 0 32768 i{R1 Generate your own route locally }
*>i33.33.33.33/32 3.3.3.3 0 100 0 i{ there i Said by ibgp Acquire }{ adopt R3 Acquire 33.33.33.33}
R3 Empathy
test :R1 Source 11.11.11.11 ping R3 Of 33.33.33.33
R1#ping 33.33.33.33 source lo 11
…
analysis :
because R1 You can get R3 The routing , So I will go to 33.33.33.33 The traffic is sent to R2, And then R2 When this traffic is received , Find the destination position 33.33.33.33
because R2 No IBGP neighbor , Therefore, we cannot receive 33.33.33.33. therefore R2 Discard the traffic without any route matching . This phenomenon is a routing black hole
resolvent :
1, stay R2 Admiral BGP Redistribute to ospf bring R2 To receive 33.33.33.33
2,R2 Manually generate information about 33.33.33.33 The routing and 11.11.11.11 The routing
Such as :R2 ip route 33.33.33.33 255.255.255.255 23.1.1.3
3,R1,R2,R3 do IBGP All connected
4,Mpls Marking
边栏推荐
- Game partner topic: breederdao and ultiverse have established a new metauniverse
- QT信号与槽连接(松耦合)
- Numpy中ndarray的常见操作
- 7.25模拟赛总结
- 被罚「带薪休假」一个月后,谷歌解雇了「爱」上 AI 的他
- Fitting the new direction of curriculum standards, ape guidance, creating a characteristic new concept content system
- ES6 method & Class array into real array & method of judging array
- 5.20晚上单身狗都在哪里?
- How to implement an asynchronous task queue system that can handle massive data (supreme Collection Edition)
- BGP--边界网关协议
猜你喜欢

Vite configuration eslint specification code

BUU刷题记-网鼎杯专栏2

Ape tutoring's technological hard power: let AI start from reading children's homework
![Ue5 editor slate quick start [opening]](/img/88/9c6e8ff970b3138299ecbe79d90f2e.png)
Ue5 editor slate quick start [opening]

What are the advantages of digital factory

聊天软件项目开发2

Introduction to component functions of blueprism process business object Chapter 3 of RPA

贴合课标新方向 猿辅导打造特色新概念内容体系

第一次培训课完美成功(๑•ㅂ•)و*

regular expression
随机推荐
数字化工厂的优势有哪些
实验5 OSPF综合实验
Typescrip异步函数Promise使用
What are the key technologies of digital factory
The typing competition is over!
When there are many query fields, you can add ordinary query and advanced query
使用百度飞桨 EasyDL 完成垃圾分类
人脸识别、指纹识别都弱爆了?五角大楼研发远距离心跳识别
Dio problem summary
TinUI发展历程
Gartner发布最新《中国AI初创企业市场指南》,弘玑Cyclone再次被评为代表性企业
BUU刷题记3
Three implementation methods of C # client program calling external program
Gbase learning - install gbase 8A MPP cluster v95
MPLS 多协议标签交换技术
贴合课标新方向 猿辅导打造特色新概念内容体系
A super simple neural network code with 5 coordinates for one layer node training
Cookies and sessions
Strengthen supervision on secret room escape and script killing, and focus on strengthening fire safety and juvenile protection
Game partner topic: breederdao and ultiverse have established a new metauniverse