|

楼主 |
发表于 2016-6-10 08:43:29
|
显示全部楼层
那比如说在这张拓扑图,R1和R2使用直连网段的IP地址建立了IBGP邻居关系。R1和R2使用RIP最为底层协议,且将所有的接口都宣告进了RIP进程,所以路由的可达性没有问题。现在R1和R2分别将自己的环回口通告进了BGP进程当中。我们在R2上将同步规则开启,那么按照理论,是不是R2是不会将R1的BGP路由条目172.16.1.0作为最优路由的?但是事实好像并非如此:
router bgp 1
synchronization
bgp log-neighbor-changes
network 172.16.2.0 mask 255.255.255.0
neighbor 192.168.1.1 remote-as 1
R2#
R2#show ip bgp
BGP table version is 3, local router ID is 172.16.2.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
r>i 172.16.1.0/24 192.168.1.1 0 100 0 i
*> 172.16.2.0/24 0.0.0.0 0 32768 i
R2#show running | se
R2#show running | section router
router rip
version 2
network 0.0.0.0
no auto-summary
router bgp 1
synchronization
bgp log-neighbor-changes
network 172.16.2.0 mask 255.255.255.0
neighbor 192.168.1.1 remote-as 1
R2#
请问这是怎么回事?
|
-
8#
2016-6-10 08:43:29
回复(0)
收起回复
|