Re: Fw: OSPF redistribution into BGP, no external routes shown.

From: CCIE Cisco (c_ccie@xxxxxxxxxxx)
Date: Thu Nov 15 2001 - 13:34:17 GMT-3


   
Thats correct and still you want to redistribute those route, then use

redistribute ospf 1 match ex 1 ex 2

>From: "Nigel Roy" <nigel@system-link.co.uk>
>Reply-To: "Nigel Roy" <nigel@system-link.co.uk>
>To: <ccielab@groupstudy.com>
>Subject: Fw: OSPF redistribution into BGP, no external routes shown.
>Date: Thu, 15 Nov 2001 14:29:21 -0000
>
> Albert,
>
> From what I can gather you are trying to do the following:
>
> redistribute connected into OSPF and then from OSPF into BGP.
>
> Unfortunately the only routes that will get redistributed from OSPF into
>BGP
> are routes that have been learned by OSPF or have a network statement
>under
> the OSPF. They must also be the best route as per the IP routing table.
> You cannot get routes from one protocol to be redistributed into another
>and
> then forwarded onto a third protocol. This prevents the possibility of
> mutual redistribution causing routes be fed back into their originating
> protocol.
>
> regards
>
> Nigel
>
>
>
>
> ----- Original Message -----
> From: "Albert Lu" <albert_ccie@yahoo.com>
> To: <ccielab@groupstudy.com>
> Sent: Thursday, November 15, 2001 12:18 PM
> Subject: OSPF redistribution into BGP, no external routes shown.
>
>
> > Hello all,
> >
> > Does anyone know any reason why OSPF external routes would not
> redistribute
> > into BGP?
> >
> > Here's a section of the config, and the show ip ospf database. The ospf
> > > database shows that the connected route has been redistributed into
>OSPF
> > as
> > > External, but it seems like BGP won't accept this route when
>redistributed
> > > from OSPF.
> > >
> > > Thanks
> > >
> > > Albert
> > >
> > > interface Loopback0
> > > ip address 200.0.0.8 255.255.255.255
> > > !
> > > interface Loopback1
> > > ip address 150.50.3.8 255.255.255.0
> > > ip ospf network point-to-point
> > > !
> > > interface Loopback2
> > > ip address 150.50.4.8 255.255.255.0
> > > ip ospf network
> > >
> > > router ospf 8
> > > log-adjacency-changes
> > > redistribute connected metric-type 1 subnets route-map
>RM_150_50_4_Only
> > > passive-interface Loopback1
> > > network 150.50.3.0 0.0.0.255 area 0
> > > network 150.50.5.64 0.0.0.63 area 0
> > > !
> > > router bgp 65078
> > > bgp log-neighbor-changes
> > > bgp confederation identifier 200
> > > redistribute ospf 8 match internal external 1 external 2 route-map
>O_IN_B
> > > neighbor 150.50.5.68 remote-as 65078
> > > no auto-summary
> > > !
> > > !
> > > access-list 10 permit 150.50.4.0
> > > access-list 10 permit 150.50.3.0
> > >
> > > route-map RM_150_50_4_Only permit 10
> > > match interface Loopback2
> > > !
> > > route-map O_IN_B permit 10
> > > match ip address 10
> > > !
> > >
> > >
> > > OSPF Router with ID (200.0.0.8) (Process ID 8)
> > >
> > >
> > > Router Link States (Area 0)
> > >
> > > Link ID ADV Router Age Seq# Checksum Link
>count
> > > 200.0.0.7 200.0.0.7 243 0x80000019 0xF97C 2
> > > 200.0.0.8 200.0.0.8 242 0x80000019 0x7B1C 3
> > >
> > > Type-5 AS External Link States
> > >
> > > Link ID ADV Router Age Seq# Checksum Tag
> > > 150.50.4.0 200.0.0.8 247 0x80000001 0xF88A 0
> > >
> > >



This archive was generated by hypermail 2.1.4 : Fri Jun 21 2002 - 06:45:16 GMT-3