The issue is not with redistributing into OSPF, it's redistributing OSPF into BGP.
2011/8/30 Rogelio Gamino <[email protected]>: > Add "subnets" to your OSPF redistribute command. > > > > On Aug 30, 2011, at 10:01 AM, Magnus Påhlsson wrote: > >> Confirming by verifying that no routes appear on any BGP neighbors. >> >> R1 who is supposed to redistribute: >> >> R1#show run | include router bgp|address-family ipv4 multi|redist >> router bgp 100 >> address-family ipv4 multicast >> redistribute ospf 1 match internal >> >> R1#show bgp ipv4 multicast >> >> R1#show bgp ipv4 multicast neighbors 10.10.12.2 advertised-routes >> >> Total number of prefixes 0 >> R1# >> >> R2 who is eBGP neighbor of R1: >> >> R2#show bgp ipv4 multicast >> >> R2# >> >> >> Compare that to what happens after changing routing protocol to EIGRP: >> >> --------------- R1 ------------- >> R1#show run | include router bgp|address-family ipv4 multi|redist >> router bgp 100 >> address-family ipv4 multicast >> redistribute eigrp 10 >> >> R1#show bgp ipv4 multicast >> BGP table version is 7, local router ID is 1.1.1.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 >> *> 1.1.1.1/32 0.0.0.0 0 32768 ? >> *> 4.4.4.4/32 100.145.14.4 156160 32768 ? >> *> 5.5.5.5/32 100.145.14.4 158720 32768 ? >> *> 10.10.12.0/24 0.0.0.0 0 32768 ? >> *> 100.145.14.0/24 0.0.0.0 0 32768 ? >> *> 100.145.45.0/24 100.145.14.4 30720 32768 ? >> >> R1#show bgp ipv4 multicast neighbors 10.10.12.2 advertised-routes >> BGP table version is 7, local router ID is 1.1.1.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 >> *> 1.1.1.1/32 0.0.0.0 0 32768 ? >> *> 4.4.4.4/32 100.145.14.4 156160 32768 ? >> *> 5.5.5.5/32 100.145.14.4 158720 32768 ? >> *> 10.10.12.0/24 0.0.0.0 0 32768 ? >> *> 100.145.14.0/24 0.0.0.0 0 32768 ? >> *> 100.145.45.0/24 100.145.14.4 30720 32768 ? >> >> Total number of prefixes 6 >> >> >> ------------ R2 ------------ >> >> R2#show bgp ipv4 multicast >> BGP table version is 60, local router ID is 2.2.2.2 >> 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 >> *> 1.1.1.1/32 10.10.12.1 0 0 100 ? >> *> 4.4.4.4/32 10.10.12.1 156160 0 100 ? >> *> 5.5.5.5/32 10.10.12.1 158720 0 100 ? >> *> 10.10.12.0/24 10.10.12.1 0 0 100 ? >> *> 100.145.14.0/24 10.10.12.1 0 0 100 ? >> *> 100.145.45.0/24 10.10.12.1 30720 0 100 ? >> >> >> >> >> 2011/8/30 marc abel <[email protected]>: >>> Thank you, I wanted to confirm you did indeed have some OPSF internal >>> routes in the table. >>> >>> So you say it isn't working? How are you confirming that it isn't >>> working? Are you still having an RPF failure on one of these routes? >>> >>> 2011/8/30 Magnus Påhlsson <[email protected]>: >>>> Gateway of last resort is not set >>>> >>>> 1.0.0.0/32 is subnetted, 1 subnets >>>> C 1.1.1.1 is directly connected, Loopback0 >>>> 2.0.0.0/32 is subnetted, 1 subnets >>>> B 2.2.2.2 [20/0] via 10.10.12.2, 01:07:14 >>>> 100.0.0.0/24 is subnetted, 2 subnets >>>> O 100.145.45.0 [110/2] via 100.145.14.4, 00:01:48, FastEthernet0/1 >>>> C 100.145.14.0 is directly connected, FastEthernet0/1 >>>> 3.0.0.0/32 is subnetted, 1 subnets >>>> B 3.3.3.3 [20/0] via 10.10.12.2, 01:07:14 >>>> 4.0.0.0/32 is subnetted, 1 subnets >>>> O 4.4.4.4 [110/2] via 100.145.14.4, 00:01:48, FastEthernet0/1 >>>> 5.0.0.0/32 is subnetted, 1 subnets >>>> O 5.5.5.5 [110/3] via 100.145.14.4, 00:01:48, FastEthernet0/1 >>>> 10.0.0.0/24 is subnetted, 1 subnets >>>> C 10.10.12.0 is directly connected, FastEthernet0/0 >>>> >>>> >>>> 2011/8/30 marc abel <[email protected]>: >>>>> Can you please post the results from: "show ip route" >>>>> >>>>> 2011/8/30 Magnus Påhlsson <[email protected]>: >>>>>> Hello! >>>>>> >>>>>> mBGP and Multicast between two AS. I want to redistribute IGP into BGP >>>>>> but can't get it to work with OSPF. redist connected and EIGRP works >>>>>> but not OSPF. Looked around online and found others with the same >>>>>> issues but no explanation. >>>>>> >>>>>> Anyone? :) >>>>>> >>>>>> router ospf 1 >>>>>> log-adjacency-changes >>>>>> passive-interface FastEthernet0/0 >>>>>> network 1.1.1.1 0.0.0.0 area 0 >>>>>> network 10.10.12.1 0.0.0.0 area 0 >>>>>> network 100.145.14.1 0.0.0.0 area 0 >>>>>> ! >>>>>> router bgp 100 >>>>>> no bgp default ipv4-unicast >>>>>> bgp log-neighbor-changes >>>>>> neighbor 10.10.12.2 remote-as 200 >>>>>> neighbor 100.145.14.4 remote-as 100 >>>>>> ! >>>>>> address-family ipv4 >>>>>> neighbor 10.10.12.2 activate >>>>>> neighbor 100.145.14.4 activate >>>>>> neighbor 100.145.14.4 next-hop-self >>>>>> no auto-summary >>>>>> no synchronization >>>>>> network 1.1.1.1 mask 255.255.255.255 >>>>>> exit-address-family >>>>>> ! >>>>>> address-family ipv4 multicast >>>>>> redistribute ospf 1 match internal >>>>>> neighbor 10.10.12.2 activate >>>>>> neighbor 100.145.14.4 activate >>>>>> neighbor 100.145.14.4 next-hop-self >>>>>> no auto-summary >>>>>> exit-address-family >>>>>> ! >>>>>> _______________________________________________ >>>>>> For more information regarding industry leading CCIE Lab training, >>>>>> please visit www.ipexpert.com >>>>>> >>>>>> Are you a CCNP or CCIE and looking for a job? Check out >>>>>> www.PlatinumPlacement.com >>>>>> >>>>> >>>> >>> >> _______________________________________________ >> For more information regarding industry leading CCIE Lab training, please >> visit www.ipexpert.com >> >> Are you a CCNP or CCIE and looking for a job? Check out >> www.PlatinumPlacement.com > > _______________________________________________ For more information regarding industry leading CCIE Lab training, please visit www.ipexpert.com Are you a CCNP or CCIE and looking for a job? Check out www.PlatinumPlacement.com
