04-15-2012 07:26 AM - edited 03-07-2019 06:08 AM
Hi all,
I have two Routers directly connected by fast ethernet interface.
They are in different AS.
R1 config
network 20.1.46.0 mask 255.255.255.0
neighbor 20.1.46.1 remote-as 7500
we can see that R1 is advertising route
sh ip bgp
BGP table version is 2, local router ID is 100.100.100.100
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 20.1.46.0/24 0.0.0.0 0 32768 i
R2
R2#sh ip bgp
BGP table version is 6, local router ID is 20.1.46.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
r> 20.1.46.0/24 20.1.46.2 0 0 6500 i
R2# sh ip bgp rib-failure
Network Next Hop RIB-failure RIB-NH Matches
20.1.46.0/24 20.1.46.2 Higher admin distance n/a
R2# sh ip route 20.1.46.2
Routing entry for 20.1.46.0/24
Known via "connected", distance 0, metric 0 (connected, via interface)
Routing Descriptor Blocks:
* directly connected, via FastEthernet0/0
Route metric is 0, traffic share count is 1
Questions
1>So my understanding is that R2 does not installed BGP External route in Main routing table as EBGP AD is 20 and its more than directly connected
route which is 0 right??????????
2> secondly my understanding is that R2 is learning about route 20.1.46.0 by two ways-------
--------------- BGP and as directly connected right???
3>Is their any way that R2 can show 20.1.46.0 as BGP route in main routing table???????
Thanks
MAhesh
Solved! Go to Solution.
04-15-2012 08:01 AM
Hi Mahesh,
1>So my understanding is that R2 does not installed BGP External route in Main routing table as EBGP AD is 20 and its more than directly connected route which is 0 right??????????
Yes, that is correct.
2> secondly my understanding is that R2 is learning about route 20.1.46.0 by two ways: BGP and as directly connected right???
Yes, that is also correct.
3>Is their any way that R2 can show 20.1.46.0 as BGP route in main routing table???????
No while the network is directly connected.
Best regards,
Peter
04-15-2012 08:01 AM
Hi Mahesh,
1>So my understanding is that R2 does not installed BGP External route in Main routing table as EBGP AD is 20 and its more than directly connected route which is 0 right??????????
Yes, that is correct.
2> secondly my understanding is that R2 is learning about route 20.1.46.0 by two ways: BGP and as directly connected right???
Yes, that is also correct.
3>Is their any way that R2 can show 20.1.46.0 as BGP route in main routing table???????
No while the network is directly connected.
Best regards,
Peter
04-15-2012 08:03 AM
Hi Peter,
Many thanks for reply back.
Regards
MAhesh
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide