CCNP精粹系列之二十五--BGP的水平分隔,推荐
2009-04-23 14:50
405 查看
BGP的水平分隔 解决
上篇博文的R3学习不到路由,其主要原因是由于R2上bgp启用的水平分隔,也就是説:路由器R2从R1bgp邻居处收到路由信息后,不会把该路由信息发送给其他的bgp邻居。那么解决办法这里给出将R1 R3直接物理直连。
其具体操作是把R1和R3建立邻居关系。
在上篇博文配置的环境中,在R1上:
R1(config)#router bgp 64500
R1(config-router)#neighbor 202.110.101.2 remote-as 64500
R1(config-router)#
*Apr 22 14:51:37.671: %BGP-5-ADJCHANGE: neighbor 202.110.101.2 Up net
% Incomplete command.
R1(config-router)#net 192.168.10.0
R1(config-router)#net 202.110.100.0
注意:路由必须重新发布,否则,试验是不成功的,这里要搞清楚路由器之间是不存在环路的,交换机之间才存在环路。
R3(config)#router bgp 64500
R3(config-router)#neighbor 202.110.100.1 remote-as 64500
R3(config-router)#net 202.110.101.0
R3#
R3#show ip ro
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
B 202.110.100.0/24 [200/0] via 202.110.100.1, 00:00:46
C 202.110.101.0/24 is directly connected, Serial1/1
B 192.168.10.0/24 [200/0] via 202.110.100.1, 00:00:46
这样的话,R3就学到了R1上的10网段路由。本试验成功完成。
本文出自 “申雷岗 鸿鹄驰骋 欢迎您” 博客,谢绝转载!
上篇博文的R3学习不到路由,其主要原因是由于R2上bgp启用的水平分隔,也就是説:路由器R2从R1bgp邻居处收到路由信息后,不会把该路由信息发送给其他的bgp邻居。那么解决办法这里给出将R1 R3直接物理直连。
其具体操作是把R1和R3建立邻居关系。
在上篇博文配置的环境中,在R1上:
R1(config)#router bgp 64500
R1(config-router)#neighbor 202.110.101.2 remote-as 64500
R1(config-router)#
*Apr 22 14:51:37.671: %BGP-5-ADJCHANGE: neighbor 202.110.101.2 Up net
% Incomplete command.
R1(config-router)#net 192.168.10.0
R1(config-router)#net 202.110.100.0
注意:路由必须重新发布,否则,试验是不成功的,这里要搞清楚路由器之间是不存在环路的,交换机之间才存在环路。
R3(config)#router bgp 64500
R3(config-router)#neighbor 202.110.100.1 remote-as 64500
R3(config-router)#net 202.110.101.0
R3#
R3#show ip ro
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
B 202.110.100.0/24 [200/0] via 202.110.100.1, 00:00:46
C 202.110.101.0/24 is directly connected, Serial1/1
B 192.168.10.0/24 [200/0] via 202.110.100.1, 00:00:46
这样的话,R3就学到了R1上的10网段路由。本试验成功完成。
本文出自 “申雷岗 鸿鹄驰骋 欢迎您” 博客,谢绝转载!
相关文章推荐
- CCNP精粹系列之二十四--BGP的水平分隔,推荐
- CCNP精粹系列之二十--策略路由实战二,博主推荐文章
- CCNP精粹系列之二十七--挑战BGP,推荐
- CCNP精粹系列之二十八--挑战BGP,推荐
- CCNP精粹系列之二十二--BGP,博主推荐
- CCNP精粹系列之二十九--发布bgp子网信息,推荐
- CCNP精粹系列之三十--BGP源地址问题,推荐
- CCNP精粹系列之二十三--BGP单自治系统通信,推荐
- CCNP精粹系列之三十一--BGP源地址问题二,推荐
- CCNP精粹系列之三十二--BGP下一跳问题,推荐
- CCNP精粹系列之二十六--BGP不同自治系统间通信,推荐
- CCNP精粹系列之十七--路由映射实战,博主推荐
- CCNP精粹系列之二十一--路由地址转换实战二,博主推荐
- CCNP精粹系列之十八--路由映射实战二,博主推荐文章
- CCNP精粹系列之十九--策略路由实战,博主推荐文章
- CCNP精粹系列之十三-----OSPF路由汇总
- CCNP精粹系列之一---Eigrp (enhanced interior gateway routing protoral)
- CCNP精粹系列之三----OSPF(open short path first)
- CCNP精粹系列之十五---实现单交换机VLAN间的通信
- CCNP精粹系列之十一----路由控制