Re: BGP ----> OSPF

From: MAZHAR KARAGULLE (mkaragulle@xxxxxxxxxxxxxxxxxx)
Date: Mon Dec 11 2000 - 11:45:54 GMT-3


   
Hi,
I think the problem is :
BGP sends only routes which is learned from EBGP into other routing process
when you redistribute BGP into another routing protocol. To redistribute
also IBGP learned routes ,
you shoul use on R7 the command of :
router bgp xxxxx
bgp redistribute-internal

Good luck

                                   Gönderilen:

                             ccielab@groupstudy.com

                                   Bilgisine:

  Ronnie Royston Konu:

 <RonnieR@globaldatasys.com> BGP ----> OSPF

  Gönderen:

 nobody@groupstudy.com

  10/12/2000 03:52 AM

  Lütfen Ronnie Royston

 adresine yanıtlayınız.

I can't get a route from BGP into OSPF. The topology looks like:

R2 R3
  \ / 172.16.4.0
   R7
    | 172.16.3.0
   R1
    | 172.16.6.0
   R4

R2, 3, and 7 are running OSPF area 0. R7 and R1 are running iBGP, and R1
and R4 are running IGRP. I got the R1-R4 link into R7's ip routing table
w/
BGP but when I redistribute BGP into OSPF, R2 and R3 have no information on
the route in their OSPF databases. I have specified 'subnets' in the
redistribution into OSPF. Does anyone know what I am missing?

>From R7:
Gateway of last resort is not set

     172.16.0.0/16 is variably subnetted, 7 subnets, 2 masks
C 172.16.4.0/24 is directly connected, Serial0.2
B 172.16.6.0/24 [200/0] via 172.16.3.2
O 172.16.4.2/32 [110/64] via 172.16.4.2, Serial0.2
O 172.16.4.3/32 [110/64] via 172.16.4.3, Serial0.2
O IA 172.16.1.0/24 [110/65] via 172.16.4.2, Serial0.2
O IA 172.16.2.0/24 [110/65] via 172.16.4.3, Serial0.2
C 172.16.3.0/24 is directly connected, Serial0.3
L7#sho run
***text omitted***
!
router ospf 7
 redistribute bgp 100 subnets route-map Only_6
 network 172.16.4.0 0.0.0.255 area 0
 default-metric 60
!
router bgp 100
 no synchronization
 aggregate-address 172.16.1.0 255.255.255.0 summary-only
 aggregate-address 172.16.2.0 255.255.255.0 summary-only
 aggregate-address 172.16.4.0 255.255.255.0 summary-only
 redistribute ospf 7
 neighbor 172.16.3.2 remote-as 100
 neighbor 172.16.3.2 next-hop-self
 no auto-summary
!
!
access-list 2 permit 172.16.6.0 0.0.0.255
route-map Only_6 permit 10
 match ip address 2



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:26:01 GMT-3