当前位置:网站首页>BGP综合实验
BGP综合实验
2022-08-01 09:16:00 【Sona982】

首先划分网段并进行配置,如下图

然后在每个路由器上建邻(注意:AR1,2和AR7,8利用接口直连建邻并且要更改最大跳数,利用接口建邻是因为题上在AR1,8上只给了一个环回,如果用来建邻,那客户端就没得用了)
此处以AR8为例
指令只有一行![]()

AR1,2同上
不同区域建邻记得写静态,相同用OSPF或者RIP宣告即可
以AR6为例

下面就是同一个大AS2之间不同的小AS 64512和64513之间的建邻,先来看512的
以AR3为例


相同小AS间也是按照指令直接建邻,512和513指一模一样,更改对端ip即可,主要是AR2,5和AR3,7之间 ,因为他们属于不同小AS 所以,最大跳数也要更改为2,然后记得写上他们所属大AS区域为2,而且一定一定得写在前面
如图

红线部分要尤为注意,我就是因为大AS写到后面导致建邻失败,并且找了很久都没发现错误,一定记住写的顺序
然后给AR2-7上写上第二个环回,作为终端,写完后用BGP宣告一下就好

很简单的指令,在AR2-7将指令重复一遍就好,接着就ping一下检测是否能通
AS2区域内部互ping
然后 让外部AS区域的也ping一下,提高实验的准确性

可以看到是ok的,那就证明前面没问题,就可以进行最后一步了
ip聚合
聚合的位置是在AR2和AR7上,因为他俩是连接AS1和AS3的两个路由器,往外传递路由时要经过他俩,所以在他俩上汇总
我们要的就是不要明细,使用上面的指令即可
以AR7为例

然后到AR8上查看
聚合前

聚合后
到此实验结束
边栏推荐
猜你喜欢

The soul asks: How does MySQL solve phantom reads?
![[Dataset] Dataset summary of various insulators, bird's nests and anti-vibration hammers](/img/02/927f4e228eb3abbd76cade5be00352.png)
[Dataset] Dataset summary of various insulators, bird's nests and anti-vibration hammers

网络个各种协议

leetcode-6132: Make all elements in array equal to zero

ACmix 论文精读,并解析其模型结构

HoloView 在 jyputer lab/notebook 不显示总结

【Untitled】

【STM32】入门(一):环境搭建、编译、下载、运行

华为深度学习课程第九章——卷积神经网络以及案例实践

Data Analysis 5
随机推荐
CTO强烈禁止使用Calendar,那用啥?
HoloView -- Tabular Datasets
量化日常工作指标
GBase 8c中怎么查询数据库配置参数,例如datestyle
22牛客多校1 I. Chiitoitsu (概率dp)
leetcode-6133: maximum number of groupings
Delphi MDI appliction 文档最大化显示、去掉最大化最小化等按钮
力扣每日一题-第44天-290. 单词规律
[Tear AHB-APB Bridge by hand]~ Why aren't the lower two bits of the AHB address bus used to represent the address?
22牛客多校1 C.Grab the Seat (几何 + 暴力)
net stop/start mysql80 access denied
network basic learning
What do the values 1, 2, and 3 in nodetype mean?
pytest interface automation testing framework | single/multiple parameters
Graduation thesis writing skills
sql server, FULL mode, dbcc shrinkfile(2,1) can not shrink the transaction log, or the original size, why?
Go supports OOP: use struct instead of class
TiDB的真实数据库数据是存在kv和还是pd上?
Analysis of High Availability Solution Based on MySql, Redis, Mq, ES
灵魂发问:MySQL是如何解决幻读的?