BGP to OSPF redistribution

From: Laurean Stefenel (laureans@hotmail.com)
Date: Wed Jun 13 2007 - 12:54:54 ART


Hi Group

I am testing redistribution between BGP and OSPF and I ran into a problem:

I have 4 routers:

R1-----R2----R3-----R4

R1 - R2 is OSPF subnet 10.13.254.0/24
R2 - R3 is IBGP subnet 10.254.1.0/24
R3 - R4 is OSPF subnet 10.36.254.0/24

When I redistribute BGP into OSPF on R2 or R3 the iBGP route doesn't show up
into OSPF

On R2 the 10.36.0.0 subnet never shows into OSPF database

Looking for suggestions.

Thanks,
Laurean

Attached the configuration into R2

router ospf 11 log-adjacency-changes redistribute bgp 65000 subnets
passive-interface FastEthernet1/0 network 10.13.254.250 0.0.0.0 area 0 network
10.254.1.2 0.0.0.0 area 0

router bgp 65000 no synchronization bgp log-neighbor-changes aggregate-address
10.13.0.0 255.255.0.0 summary-only redistribute ospf 11 route-map OSPF-BGP
neighbor 10.254.1.3 remote-as 65000 neighbor 10.254.1.3 route-reflector-client
neighbor 10.254.1.3 next-hop-self distance bgp 20 80 200 no auto-summary

R2#sh ip bgp BGP table version is 7, local router ID is 10.254.1.2Status
codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S StaleOrigin codes: i - IGP, e - EGP, ? - incomplete
   Network Next Hop Metric LocPrf Weight Path*>
10.13.0.0/16 0.0.0.0 32768 is> 10.13.50.0/24
10.13.254.254 2 32768 ?s> 10.13.254.0/24 0.0.0.0
0 32768 ?*>i10.36.0.0/16 10.254.1.3 0 100 0
i

R2#sh ip routeCodes: 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 10.13.254.253 to network 0.0.0.0
     10.0.0.0/8 is variably subnetted, 5 subnets, 2 masksB 10.13.0.0/16
[200/0] via 0.0.0.0, 00:15:07, Null0B 10.36.0.0/16 [20/0] via
10.254.1.3, 00:22:29O 10.13.50.0/24 [110/2] via 10.13.254.254, 00:20:00,
FastEthernet0/0C 10.254.1.0/24 is directly connected, FastEthernet1/0C
10.13.254.0/24 is directly connected, FastEthernet0/0O*E2 0.0.0.0/0 [110/1]
via 10.13.254.253, 00:20:00, FastEtherne

R2#sh ip ospf database
            OSPF Router with ID (10.254.1.2) (Process ID 11)
                Router Link States (Area 0)
Link ID ADV Router Age Seq# Checksum Link
count10.13.254.240 10.13.254.240 1528 0x80000004 0x00CD38
110.13.254.254 10.13.254.254 1547 0x80000002 0x002B56 210.254.1.2
10.254.1.2 1276 0x80000003 0x00D8FC 2
                Net Link States (Area 0)
Link ID ADV Router Age Seq# Checksum10.13.254.254
10.13.254.254 1531 0x80000002 0x00687A
                Type-5 AS External Link States
Link ID ADV Router Age Seq# Checksum Tag0.0.0.0
10.13.254.254 1606 0x80000001 0x001C63 1110.13.0.0 10.254.1.2
978 0x80000001 0x00A4EB 0



This archive was generated by hypermail 2.1.4 : Sun Jul 01 2007 - 17:24:49 ART