24-高级路由:BGP路由黑洞——全互联解决方法

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了24-高级路由:BGP路由黑洞——全互联解决方法相关的知识,希望对你有一定的参考价值。

一、实验拓扑:
技术分享图片
实验要求:
1、R3部署BGP AS号和router-id号;
2、R3部署BGP对等体组peer-group,并未对等体组设置更新源、以及Remote-as 号;
3、R3将邻居加入对等体组peer-group;

4、R2、R4在BGP进程下,分别和R3建立邻居、部署更新源地址、指定下一跳;
5、验证:R1#ping 5.5.5.5 是否可通。
二、命令部署:
1、R3 BGP基本配置:
R3(config)#router bgp 24
R3(config-router)#bgp router-id 3.3.3.3

2、R3 部署对等体组peer-group
R3(config-router)#neighbor pl peer-group
R3(config-router)#neighbor pl remote-as 24
R3(config-router)#neighbor pl update-source loopback 1

3、R3将邻居加入对等体组peer-group
R3(config-router)#neighbor 2.2.2.2 peer-group pl
R3(config-router)#neighbor 4.4.4.4 peer-group pl

2、R2、R4部署邻居、更新源、下一跳
R2(config)#router bgp 24
R2(config-router)#neighbor 3.3.3.3 remote-as 24
R2(config-router)#neighbor 3.3.3.3 update-source loopback 1
R2(config-router)#neighbor 3.3.3.3 next-hop-self

R4(config)#router bgp 24
R4(config-router)#neighbor 3.3.3.3 remote-as 24
R4(config-router)#neighbor 3.3.3.3 update-source loopback 1
R4(config-router)#neighbor 3.3.3.3 next-hop-self

三、验证:
R1#ping 5.5.5.5 //通

以上是关于24-高级路由:BGP路由黑洞——全互联解决方法的主要内容,如果未能解决你的问题,请参考以下文章

乾颐堂军哥HCIE9-解决BGP路由黑洞聚合的各种参数以及RR基础

23-高级路由:BGP配置(MPLS-解决路由黑洞)

MPLS方式解决BGP路由黑洞

解决BGP中IBGP的路由黑洞的配置方法

BGP - 3,BGP重要概念(EBGP,IBGP,防环/黑洞/全互连/同步)

BGP 所有的知识点全在这