05-07-2015 12:01 AM - edited 03-05-2019 01:24 AM
Hi, im newbie on BGP, this is the problem on my LAB
OSPF and BGP us both running on my topology
Globe R4 and PLDT R4 are peered via eBGP
Globe R1-R5 is on the same iBGP AS Group 1121
Globe R4 know all the routes on PLDT R1-R5 but Globe R1-R3 doesnt know how to get there
here is the config of Globe - R4
router ospf 1
redistribute bgp 1121 subnets
passive-interface Ethernet0/3
network 103.5.4.8 0.0.0.3 area 1
!
router bgp 1121
bgp log-neighbor-changes
network 103.5.4.8 mask 255.255.255.252
redistribute ospf 1
neighbor 103.5.4.9 remote-as 1121
neighbor 103.5.4.18 remote-as 2222
Globe-R4 Routing Table
Globe-R4#sh ip route bgp
Codes: L - local, 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, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override
Gateway of last resort is not set
121.0.0.0/8 is variably subnetted, 5 subnets, 2 masks
B 121.96.22.0/30 [20/20] via 103.5.4.18, 00:44:32
B 121.96.22.4/30 [20/30] via 103.5.4.18, 00:44:32
B 121.96.22.8/30 [20/0] via 103.5.4.18, 01:03:39
B 121.96.22.12/30 [20/40] via 103.5.4.18, 00:44:32
B 121.96.23.0/28 [20/30] via 103.5.4.18, 00:44:32
Here is the config of the adjacent router Globe-R2 , actually it knows about the route but it doenst know how to get there
router ospf 1
redistribute bgp 1121 subnets
network 103.5.4.0 0.0.0.3 area 1
network 103.5.4.8 0.0.0.3 area 1
!
router bgp 1121
bgp log-neighbor-changes
network 103.5.4.0 mask 255.255.255.252
network 103.5.4.8 mask 255.255.255.252
neighbor 103.5.4.1 remote-as 1121
neighbor 103.5.4.10 remote-as 1121
Globe-R2#sh ip bgp topology *
For address family: IPv4 Unicast
BGP table version is 24, local router ID is 103.5.4.9
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
* i 103.5.4.0/30 103.5.4.10 20 100 0 ?
* i 103.5.4.1 0 100 0 i
*> 0.0.0.0 0 32768 i
r i 103.5.4.4/30 103.5.4.10 30 100 0 ?
r>i 103.5.4.1 0 100 0 i
*> 103.5.4.8/30 0.0.0.0 0 32768 i
* i 103.5.4.10 0 100 0 i
r>i 103.5.4.12/30 103.5.4.10 40 100 0 ?
r>i 103.5.5.0/28 103.5.4.10 30 100 0 ?
* i 121.96.22.0/30 103.5.4.18 20 100 0 2222 ?
* i 121.96.22.4/30 103.5.4.18 30 100 0 2222 ?
* i 121.96.22.8/30 103.5.4.18 0 100 0 2222 i
Network Next Hop Metric LocPrf Weight Path
* i 121.96.22.12/30 103.5.4.18 40 100 0 2222 ?
* i 121.96.23.0/28 103.5.4.18 30 100 0 2222 ?
Here is my Laboratory Topology
05-07-2015 04:39 AM
Could you just show me the route map of Globe R2?
05-07-2015 05:18 AM
Duplicate post. See this thread where the question is marked as answered.
https://supportforums.cisco.com/discussion/12500731/bgp-route-not-advertised-other-neighbors
HTH
Rick
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