BGP Best Path Selection vs IP Route
Happy new Year Experts !
wonder any one has a better understanding for relationship between the best path result obtained in sh ip bgp vs sh ip route?[8-|]
Refer to below output
R1#sh ip bgp
BGP table version is 245925, local router ID is 10.192.7.151
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 10.0.0.0 10.192.5.102 400 0 65206 i
* 10.192.5.101 400 0 65206 i
* i 10.192.7.152 0 400 0 65206 i
R1#sh ip ro | i 10.0.0.0
10.0.0.0/8 is variably subnetted, 1298 subnets, 14 masks
B 10.0.0.0/8 [20/0] via 10.192.5.101, 2w2d
Question : from the sh ip bgp output indicate that the best valid path to reach 10.0.0.0 is via next hop 10.192.5.102
likewise from the sh ip ro output , it show that the route to reach 10.0.0.0/8 is via next hop of 10.192.5.101
anyone can shed some light , as i expecting both result of sh ip bgp and sh ip ro should be the same next hop ip address?
but in reality i getting different ip 10.192.5.102 & 10.192.5.101
thanks alot !!!