当前位置:网站首页>[hcip] BGP Foundation
[hcip] BGP Foundation
2022-07-28 02:28:00 【Domeecky】
Catalog
3、 ... and 、GBP Neighborhood building
Four 、BGP Routing notification principles
5、 ... and 、 Routing black holes
One 、GBP Message type
GBP Message type :open( negotiation BGP Parameters ),update( Exchange routing information ),keepalive( Keep the neighborhood ),notification( Notice of error ),route-refresh( It is used to re request routing information from peers after changing the routing policy )
Two 、BGP State machine
(1)Idle, The initial state , Only experience Start After the event , That is to say 32 Seconds later , Will start building neighbors
(2)Connect,GBP Start the connection retransmission timer (32 second ), wait for TCP Connection complete . Successful connection , entering OpenSent state ; The connection fails , entering Active state ; Timer timeout , Then stay in this state and try to establish a relationship with other peers
(3)Active, If the neighbor is established successfully , entering OpenSent, If it fails , Stay in this state , If the timer times out and no response is received , go back to Connect
(4)OpenSent, If you receive Open correct , Then send Keepalive Message enters OpenConfirm, If wrong , Then send Notification message , go back to Idle state .Open Key message contents :My AS( Identify yourself AS Area ),Hold Time( Default 180 second , If both parties disagree, use the small ),Router ID( Oneself RID).Open The message carries 3 Negotiation ability :IPV4 Unicast routing function , Route refresh function ,4 byte AS No. 1 support capability ; The address cluster must have a successful negotiation .
(5)OpenConfirm, In this state ,BGP Waiting for a response , If received Keepalive message , entering Established state , If received Notification message , Then go back to Idle state
(6)Established, In this state , If you receive an error message , Then go back to Idle state
3、 ... and 、GBP Neighborhood building
Default build IBGP Neighbor time ,TTL = 255; Default build EBGP Neighbor time ,TTL = 1
establish IBGP When neighbors use loopback, it is to be more stable
BGP Neighbors are divided into 「IBGP neighbor 」 and 「EBGP neighbor 」
IBGP neighbor : Neighbors and themselves AS Same number
EBGP neighbor : Neighbors and themselves AS Different numbers
Four 、BGP Routing notification principles
(1)BGP Only the best route among the effective routes will be announced ;(*>),* Means effective ,> Represents the best
(2) self-generated BGP Route notifications to all BGP neighbor
(3) from IBGP Routes received by neighbors , Will pass to EBGP neighbor , It will not be passed on to IBGP neighbor ( Guard ring )
(4) from EBGP Routes received by neighbors , Will be passed to all BGP neighbor
(5)BGP Send a route to EBGP Carry yourself AS Number , After the other party receives it, check whether it contains itself AS Number , If included, indicate that you have received , Do not receive , If not, receive
(6) from EBGP Send to IBGP The next hop of the route will not be automatically modified
5、 ... and 、 Routing black holes
Routing black holes can be used BGP Synchronize to solve ,BGP Sync : from IBGP The route received by the neighbor needs to be in itself IGP Presence in table , To participate in the election of the best route .
because BGP Synchronization cannot completely solve the problem of routing black holes , So you can use the following methods : Use full interconnection 、 establish GRE Tunnel 、 establish LSP Tunnel
GRE Tunnel : Add the source item to the header of the data frame IP
gbp「 Process number 」
peer「 neighbor IP」as-number「AS Number 」
peer「 neighbor IP」connect-interface「 port 」
refresh bgp all export: Resend the routing information to all BGP neighbor
refresh bgp all import: All requests BGP Neighbors resend routing information to themselves
peer「IP」next-hop-local: Modify the next hop when announcing the route , Just configure the equipment at the boundary
undo synchronization: close BGP sync ( Off by default )
gre Tunnel :
interface tunnel 0/0/1
tunnel protocol gre
source「 Source 」
destination「 Objective 」
ip add「IP」边栏推荐
- Detailed explanation of the lock algorithm of MySQL lock series (glory Collection Edition)
- Unity saves pictures to albums and rights management
- Promise from introduction to mastery (Chapter 4 async and await)
- MySQL是如何利用索引的(荣耀典藏版)
- Leetcode hot topic Hot 100 - > 2. Add two numbers
- 软考 --- 数据库(2)关系模型
- [understanding of opportunity -53]: Yang Mou stands up and plots to defend himself
- Shell regular and metacharacters
- cn+dt
- Flume(5个demo轻松入门)
猜你喜欢

Product axure9 English version, using repeater repeater repeater to realize multi-choice and single choice

Leetcode hot topic Hot 100 - > 2. Add two numbers

C # using ABP warehouse to access the database error record set

Wechat campus maintenance and repair applet graduation design finished product of applet completion work (4) opening report

Appium 点击操作梳理

Unity 保存图片到相册以及权限管理

Detailed explanation of the lock algorithm of MySQL lock series (glory Collection Edition)

LeetCode 热题 HOT 100 -> 2.两数相加

The level "trap" of test / development programmers is not a measure of one-dimensional ability

Wechat campus bathroom reservation applet graduation design finished product (3) background function
随机推荐
[机缘参悟-53]:阳谋立身,阴谋防身
数字赋能 创新未来:海丝埃睿迪亮相第五届数字中国建设峰会
[Star Project] small hat aircraft War (V)
MySQL的pymysql操作
【ROS进阶篇】第十讲 基于Gazebo的URDF集成仿真流程及实例
[database data recovery] data recovery case of insufficient disk space of SQL Server database
这个操作可能不值钱,但却值得学习 | 【图片批量裁剪】
Aike AI frontier promotion (7.14)
使用BigDecimal类型应该避免哪些问题?(荣耀典藏版)
Codeworks round 810 (Div. 2) a~c problem solution
Learn this trick and never be afraid to let the code collapse by mistake
Wechat campus bathroom reservation applet graduation design finished product (1) development outline
Data output - dynamic drawing
Software test interview questions: common post data submission methods
Network must know topics
Smart contract security -- selfdestroy attack
Mysql Explain 详解(荣耀典藏版)
With elephant & nbsp; Eplato created by swap, analysis of the high premium behind it
The principle and implementation of loss function cross entropy
[Yugong series] use of tabby integrated terminal in July 2022