当前位置:网站首页>BGP protocol experiment
BGP protocol experiment
2022-06-10 00:46:00 【xnasda】

1. Connect the network as shown in the figure , Reasonable specification P Address ,AS200 Inside IGP Agreement for OSPF
Configure each interface as shown in the figure ip And loopback
AS200 function IGP OSPF agreement
R2 3 4 5 6 7 Up operation ospf
[R2]ospf 1 router-id 92.2.2.2
[R2-ospf-1]area 0
[R2-ospf-1-area-0.0.0.0]network 2.2.2.2 0.0.0.0
[R2-ospf-1-area-0.0.0.0]network 23.1.1.1 0.0.0.0
[R2-ospf-1-area-0.0.0.0]network 25.1.1.1 0.0.0.0
[R3]ospf 1 router-id 93.3.3.3
[R3-ospf-1]area 0
[R3-ospf-1-area-0.0.0.0]network 3.3.3.3 0.0.0.0
[R3-ospf-1-area-0.0.0.0]network 23.1.1.2 0.0.0.0
[R3-ospf-1-area-0.0.0.0]network 34.1.1.1 0.0.0.0
[R4]ospf 1 router-id 94.4.4.4
[R4-ospf-1]area 0
[R4-ospf-1-area-0.0.0.0]network 4.4.4.4 0.0.0.0
[R4-ospf-1-area-0.0.0.0]network 34.1.1.2 0.0.0.0
[R4-ospf-1-area-0.0.0.0]network 47.1.1.1 0.0.0.0
[R5]ospf 1 router-id 95.5.5.5
[R5-ospf-1]area 0
[R5-ospf-1-area-0.0.0.0]network 5.5.5.5 0.0.0.0
[R5-ospf-1-area-0.0.0.0]network 25.1.1.2 0.0.0.0
[R5-ospf-1-area-0.0.0.0]network 56.1.1.1 0.0.0.0
[R6]ospf 1 router-id 96.6.6.6
[R6-ospf-1]area 0
[R6-ospf-1-area-0.0.0.0]network 6.6.6.6 0.0.0.0
[R6-ospf-1-area-0.0.0.0]network 56.1.1.2 0.0.0.0
[R6-ospf-1-area-0.0.0.0]network 67.1.1.1 0.0.0.0
[R7]ospf 1 router-id 97.7.7.7
[R7-ospf-1]area 0
[R7-ospf-1-area-0.0.0.0]network 7.7.7.7 0.0.0.0
[R7-ospf-1-area-0.0.0.0]network 67.1.1.2 0.0.0.0
[R7-ospf-1-area-0.0.0.0]network 47.1.1.2 0.0.0.0
see ospf Routing table ;
2.R1 Belong to AS100;R2-R3-R4 Small AS234R5-R6-R7 Small AS567, At the same time, it is declared that AS200,R8 Belong to AS300
[R1]bgp 100
[R1-bgp]router-id 1.1.1.1
[R1-bgp]network 1.1.1.1 255.255.255.0
[R1-bgp]peer 12.1.1.2 as-number 200
[R2]bgp 234
[R2-bgp]router-id 2.2.2.2
[R2-bgp]confederation id 200
[R2-bgp]network 2.2.2.2 255.255.255.0
[R2-bgp]peer 3.3.3.3 as-number 234
[R2-bgp]peer 3.3.3.3 connect-interface LoopBack 0
[R2-bgp]peer 3.3.3.3 next-hop-local
[R2-bgp]peer 12.1.1.1 as-number 100
[R3]bgp 234
[R3-bgp]router-id 3.3.3.3
[R3-bgp]confederation id 200
[R3-bgp]network 3.3.3.3 255.255.255.0
[R3-bgp]peer 2.2.2.2 as-number 234
[R3-bgp]peer 2.2.2.2 connect-interface LoopBack 0
[R3-bgp]peer 4.4.4.4 as-number 234
[R3-bgp]peer 4.4.4.4 connect-interface LoopBack 0
[R4]bgp 234
[R4-bgp]router-id 4.4.4.4
[R4-bgp]confederation id 200
[R4-bgp]network 4.4.4.4 255.255.255.0
[R4-bgp]peer 3.3.3.3 as-number 234
[R4-bgp]peer 3.3.3.3 connect-interface LoopBack 0
[R4-bgp]peer 3.3.3.3 next-hop-local
[R5]bgp 567
[R5-bgp]router-id 5.5.5.5
[R5-bgp]confederation id 200
[R5-bgp]network 5.5.5.5 255.255.255.0
[R5-bgp]peer 6.6.6.6 as-number 567
[R5-bgp]peer 6.6.6.6 connect-interface LoopBack 0
[R5-bgp]peer 6.6.6.6 next-hop-local
[R6]bgp 567
[R6-bgp]router-id 6.6.6.6
[R6-bgp]confederation id 200
[R6-bgp]network 6.6.6.6 255.255.255.0
[R6-bgp]peer 5.5.5.5 as-number 567
[R6-bgp]peer 5.5.5.5 connect-interface LoopBack 0
[R6-bgp]peer 7.7.7.7 as-number 567
[R6-bgp]peer 7.7.7.7 connect-interface LoopBack 0
[R7]bgp 567
[R7-bgp]router-id 7.7.7.7
[R7-bgp]confederation id 200
[R7-bgp]network 7.7.7.7 255.255.255.0
[R7-bgp]peer 6.6.6.6 as-number 567
[R7-bgp]peer 6.6.6.6 connect-interface LoopBack 0
[R7-bgp]peer 6.6.6.6 next-hop-local
[R7-bgp]peer 78.1.1.2 as-number 300
[R8]bgp 300
[R8-bgp]router-id 8.8.8.8
[R8-bgp]network 8.8.8.8 255.255.255.0
[R8-bgp]peer 78.1.1.1 as-number 200
see bgp Neighborhood watch 



break igp Horizontal segmentation ;

Comparison before and after horizontal segmentation :



3.R2-R5R4-R7 Between them is the Federation EBGP Neighborhood
[R2-bgp]confederation peer-as 567
[R2-bgp]peer 5.5.5.5 as-number 567
[R2-bgp]peer 5.5.5.5 connect-interface LoopBack 0
[R2-bgp]peer 5.5.5.5 ebgp-max-hop 5
[R5-bgp]confederation peer-as 234
[R5-bgp]peer 2.2.2.2 as-number 234
[R5-bgp]peer 2.2.2.2 connect-interface LoopBack 0
[R5-bgp]peer 2.2.2.2 ebgp-max-hop 5
[R4-bgp]confederation peer-as 567
[R4-bgp]peer 7.7.7.7 as-number 567
[R4-bgp]peer 7.7.7.7 connect-interface LoopBack 0
[R4-bgp]peer 7.7.7.7 ebgp-max-hop 5
[R7-bgp]confederation peer-as 234
[R7-bgp]peer 4.4.4.4 as-number 234
[R7-bgp]peer 4.4.4.4 connect-interface LoopBack 0
[R7-bgp]peer 4.4.4.4 ebgp-max-hop 5

4.R1-R8 Communication between 
边栏推荐
- 采云端&采云链:从订单协同到采购供应链,让采购供应链互联互通
- Sentinel-3 data introduction
- 蓝桥杯·寒假百校真题大联赛(第五期)研究生&大学A组 《货物摆放》真题练习
- Cloning of EBS r12.2
- ECA-Net: Efficient Channel Attention for Deep Convolutional Neural Networks
- How WPS merges cells with different sizes
- mpls vpn
- Go Technology Daily (June 8, 2022) -- talk about 10 scenarios of index failure. It's too stupid
- Rip experiment
- Hcip day 1 Summary
猜你喜欢
Blue Bridge Cup · winter vacation hundred schools' real topic league tournament (Phase V) real topic exercise of cargo placement for graduate students and university group A

收藏备用 | 关于OAuth2的一些常见问题总结

RHCSA第二天

线性规划和对偶规划学习总结

工藤正男:如何一年发表5篇SCI

界面控件DevExpress WinForms——全新的WXI皮肤抢“鲜”看

Collection backup | summary of some common problems about oauth2

Deep and shallow copy of mat data
![二叉树展开为链表[树处理的精髓--如何处理每一颗子树]](/img/b3/5a7c20fad1fd17ef82ed730d686723.png)
二叉树展开为链表[树处理的精髓--如何处理每一颗子树]

IDC authority predicts that China's manufacturing industry will soon take advantage of the cloud
随机推荐
Auto format when saving vscode configuration file
wps怎么合并大小不一致的单元格
期货开户网上安全性可以保证吗?哪家期货公司好?
界面控件DevExpress WinForms——全新的WXI皮肤抢“鲜”看
mpls vpn
MySQL transaction
二分查找(折半查找)总结
ECA-Net: Efficient Channel Attention for Deep Convolutional Neural Networks
Weights of complete binary tree of past real questions [10th] [provincial competition] [group B]
WPS how to adjust the position of text after merging cells
ps标尺调精确位置在哪
应用最新的AD和TXK补丁
Manjaro kconsole turns on translucency
CloudCompare&PCL 主曲率、平均曲率以及高斯曲率计算
Answers to engineering ethics after class exercises
ospf总结
Go zero micro Service Practice Series (II. Service splitting)
hcip第一天总结
[typecho] how to query multiple tables
Fix Microsoft app store flash back for win10