do you mean that i have to add in bgp redistribute connected. actually the lab ask not to do it this way.
--- Scott Morris <[EMAIL PROTECTED]> wrote: > Yup... And that's where the problem is. Since you > are already engagine the > "redistribute connected" on R8, when you do "show ip > route ospf" it doesn't > show up there, so it's not tagged as the best path. > So if you want an > originating route on that router to get to BGP, > you'll need to do a > "redistribute connected" there as well! > > > :) > > > Scott Morris, CCIE4 (R&S/ISP-Dial/Security/Service > Provider) #4713, JNCIE > #153, CISSP, et al. > CCSI/JNCI-M/JNCI-J > IPexpert VP - Curriculum Development > IPexpert Sr. Technical Instructor > [EMAIL PROTECTED] > http://www.ipexpert.com > > > > -----Original Message----- > From: Suliman Al-Mazroua > [mailto:[EMAIL PROTECTED] > Sent: Friday, February 23, 2007 12:08 AM > To: [EMAIL PROTECTED]; > [email protected] > Subject: RE: External OSPF to BGP > > it is connected to R8. > > R8(config)#do sh ip rou 150.50.4.0 > Routing entry for 150.50.4.0/24 > Known via "connected", distance 0, metric 0 > (connected, via interface) > Redistributing via ospf 100 > Advertised by ospf 100 subnets > Routing Descriptor Blocks: > * directly connected, via FastEthernet0/0 > Route metric is 0, traffic share count is 1 > > R8(config)#do sh ip bg > R8(config)#do sh ip bg > BGP table version is 3, local router ID is 200.0.0.8 > 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 > *> 8.8.8.0/24 0.0.0.0 0 > > 32768 ? > *> 150.50.5.64/27 0.0.0.0 0 > > 32768 ? > R8(config)#do sh ip rou os > > R8(config)# > > --- Scott Morris <[EMAIL PROTECTED]> wrote: > > > If R8 is where you are doing redistribution, do > all of your commands > > on R8. > > > > Scott > > > > -----Original Message----- > > From: Suliman Al-Mazroua > > [mailto:[EMAIL PROTECTED] > > Sent: Thursday, February 22, 2007 11:40 PM > > To: [EMAIL PROTECTED]; > > [email protected] > > Subject: RE: External OSPF to BGP > > > > sure > > > > R8: > > R8# sh run > > Building configuration... > > > > > > version 12.4 > > service timestamps debug datetime msec service > timestamps log datetime > > msec no service password-encryption ! > > hostname R8 > > ! > > boot-start-marker > > boot-end-marker > > ! > > enable secret 5 $1$UGQg$ji9OEVknrbFvM602QQJxG0 ! > > no aaa new-model > > ! > > resource policy > > ! > > memory-size iomem 15 > > ip subnet-zero > > ! > > ! > > ip cef > > ! > > ! > > no ip domain lookup > > > > interface Loopback0 > > ip address 200.0.0.8 255.255.255.255 > > ! > > interface Loopback1 > > ip address 8.8.8.1 255.255.255.0 > > ip ospf network point-to-point > > ! > > interface FastEthernet0/0 > > ip address 150.50.4.8 255.255.255.0 > > duplex auto > > speed auto > > ! > > interface FastEthernet0/1 > > no ip address > > shutdown > > duplex auto > > speed auto > > ! > > interface Serial0/0/0 > > ip address 150.50.5.69 255.255.255.224 ! > > router ospf 100 > > router-id 200.0.0.8 > > log-adjacency-changes > > redistribute connected subnets > > network 8.8.8.1 0.0.0.0 area 0 > > network 150.50.5.69 0.0.0.0 area 0 > > ! > > router bgp 65078 > > no synchronization > > bgp router-id 200.0.0.8 > > bgp log-neighbor-changes > > bgp confederation identifier 200 > > redistribute ospf 100 match internal external 2 > neighbor 150.50.5.68 > > remote-as 65078 no auto-summary ! > > ip classless > > ! > > ! > > no ip http server > > no ip http secure-server > > ! > > ip access-list standard inospf > > permit 150.50.4.0 0.0.0.255 > > ip access-list standard nobgp > > permit 150.50.5.64 0.0.0.31 > > ! > > ! > > route-map fa0/0 permit 10 > > match ip address inospf > > ! > > route-map fa0 permit 10 > > match ip address inospf > > ! > > route-map ostobgp deny 10 > > match ip address nobgp > > ! > > route-map ostobgp permit 20 > > match ip address inospf > > ! > > route-map ostobgp permit 30 > > ! > > ! > > ----------------------------------------------- > > > > R8#sh ip bgp > > BGP table version is 3, local router ID is > 200.0.0.8 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 > > *> 8.8.8.0/24 0.0.0.0 0 > > > > > 32768 ? > > *> 150.50.5.64/27 0.0.0.0 0 > > > > > 32768 ? > > R8# > > > > ---------------------------------------------- > > > === message truncated === ____________________________________________________________________________________ Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html ____________________________________________________________________________________ Finding fabulous fares is fun. Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains. http://farechase.yahoo.com/promo-generic-14795097
