connected --> ospf ----> bgp

From: Timothy Ouellette (timoue@cogeco.ca)
Date: Wed Oct 30 2002 - 01:09:58 GMT-3


Is it possible redistribute a connected network into ospf, then
redistribute ospf into bgp? I'm not sure. Here's the problem i'm
having..

150.50.4.0/24--R8----bgp------r7

R8 is running ospf 1, and redistributing the connected network
150.50.4.0/24 into
ospf 1, and it shows up in the lsdb as expected (see below type 5). I
then tried
to redistributed ospf 1 into bgp, thinking I should be able to get that
ospf 1
leared route to 150.50.4.0/24 into bgp but it wasn't happening.

Below is the data.

r8#sh ip ospf data external

            OSPF Router with ID (200.0.0.8) (Process ID 1)

                Type-5 AS External Link States

  LS age: 150
  Options: (No TOS-capability, DC)
  LS Type: AS External Link
  Link State ID: 150.50.4.0 (External Network Number )
  Advertising Router: 200.0.0.8
  LS Seq Number: 80000001
  Checksum: 0x7C86
  Length: 36
  Network Mask: /24
        Metric Type: 2 (Larger than any link state path)
        TOS: 0
        Metric: 20
        Forward Address: 0.0.0.0
        External Route Tag: 0

-----------config of r8---------------------
router ospf 1
 log-adjacency-changes
 redistribute connected subnets
 network 150.50.3.0 0.0.0.255 area 0
 network 150.50.5.64 0.0.0.31 area 0
!
router bgp 65078
 bgp log-neighbor-changes
 bgp confederation identifier 200
 redistribute ospf 1 match internal external 1 external 2 nssa-external
1 nssa-extern
al 2
 neighbor 150.50.5.68 remote-as 65078
 no auto-summary

r8#b
BGP table version is 10, local router ID is 200.0.0.8
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network Next Hop Metric LocPrf Weight Path
*> 150.50.3.0/24 0.0.0.0 0 32768 ?
*> 150.50.5.64/27 0.0.0.0 0 32768 ?
*> 150.50.7.0/25 150.50.5.68 70 32768 ?
r8#



This archive was generated by hypermail 2.1.4 : Tue Nov 05 2002 - 08:35:59 GMT-3