BGP路由黑洞及IBGP全连接-电脑资料

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

BGP路由黑洞及IBGP全连接-电脑资料
组网需求:
1.AS65000边界网段发布:RT1、RT2重发布直连路由至OSPF (metric 1000 type 1)
2.BGP配置要求:
no synchronization
no auto-summary IBGP使用LOOPBACK建立邻居,下一跳指向自己
3.RT1,RT2发布AS65000的汇总路由至BGP:10.0.0.0/16、10.3.0.0/16
4.RT5发布AS65001的汇总路由至BGP:10.
5.0.0/16
5.RT6发布AS65001的汇总路由至BGP:10.
6.0.0/16
6.分析路由黑洞的形成及解决方法
IGP路由的配置:
R1:
router ospf 1
router-id 10.0.0.1
redistribute connected metric 1000 metric-type 1 subnets //重发布直连网络到OSPF中
passive-interface Serial0/1 //与EBGP相连的接口必须配置为被动接口,以免形成邻居
network 10.0.0.1 0.0.0.0 area 0
network 10.0.1.4 0.0.0.3 area 0
R3:
router ospf 1
router-id 10.0.0.3
passive-interface default
no passive-interface Serial0/0
no passive-interface FastEthernet1/0
network 10.0.0.3 0.0.0.0 area 0
network 10.0.1.0 0.0.0.3 area 0
network 10.0.1.4 0.0.0.3 area 0
network 10.3.3.0 0.0.0.255 area 0
interface FastEthernet1/0
ip address 10.0.1.1 255.255.255.252
ip ospf network point-to-point //配置网络类型为点对点(不需选举DR或BDR)
R4:
router ospf 1
router-id 10.0.0.4
passive-interface default
no passive-interface Serial0/0
no passive-interface FastEthernet1/0
network 10.0.0.4 0.0.0.0 area 0
network 10.0.1.0 0.0.0.3 area 0
network 10.0.1.8 0.0.0.3 area 0
network 10.3.4.0 0.0.0.255 area 0
interface FastEthernet1/0
ip address 10.0.1.1 255.255.255.252
ip ospf network point-to-point //配置网络类型为点对点(不需选举DR或BDR)
R2:
router ospf 1
router-id 10.0.0.2
redistribute connected metric 1000 metric-type 1 subnets //重发布直连网络到OSPF中
passive-interface default //与EBGP相连的接口必须配置为被动接口,以免形成邻居
no passive-interface Serial0/0
network 10.0.1.8 0.0.0.3 area 0
IBGP的配置:
R1:
router bgp 65000
no synchronization //关闭同步
neighbor 10.0.0.2 remote-as 65000 //指定IBGP 邻居和AS
neighbor 10.0.0.2 update-source Loopback0 //指定更新源为LOOPBACK 0
neighbor 10.0.0.2 next-hop-self //把下跳改为自己(EBGP默认)
neighbor 10.0.15.2 remote-as 65001 //指定EBGP邻居和AS
network 10.0.0.0 mask 255.255.0.0 /静态发布路由到BGP no auto-summary //关闭自动汇总ip route 10.0.0.0 255.255.0.0 null 0 //添加一条静态汇总路由,用来发布
R2:
router bgp 65000
no synchronization //关闭同步
neighbor 10.0.0.1 remote-as 65000 //指定邻居和AS
neighbor 10.0.0.1 update-source Loopback0 //指定更新源为LOOPBACK 0
neighbor 10.0.0.1 next-hop-self //把下跳改为自己(EBGP默认)
neighbor 10.0.26.2 remote-as 65002 //指定
EBGP邻居和AS
network 10.3.0.0 mask 255.255.0.0 /静态发布路由到BGP
no auto-summary //关闭自动汇总。

相关文档
最新文档