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#
----------------------------------------------
R7(config-router)#do sh ip rou os
200.0.0.0/32 is subnetted, 2 subnets
O E2 200.0.0.8 [110/20] via 150.50.5.69, 00:48:40,
Serial0/0/0
8.0.0.0/24 is subnetted, 1 subnets
O 8.8.8.0 [110/65] via 150.50.5.69, 00:48:40,
Serial0/0/0
150.50.0.0/16 is variably subnetted, 3 subnets, 3
masks
O E2 150.50.4.0/24 [110/20] via 150.50.5.69,
00:48:40, Serial0/0/0
-------------------------------------
R7(config-router)#do sh ip bg
BGP table version is 28, local router ID is 200.0.0.7
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
r>i8.8.8.0/24 150.50.5.69 0 100
0 ?
r>i150.50.5.64/27 150.50.5.69 0 100
0 ?
--------------------------------------------
R7(config-router)#do sh ip ro
R7(config-router)#do sh ip route 150.50.4.0
Routing entry for 150.50.4.0/24
Known via "ospf 100", distance 110, metric 20, type
extern 2, forward metric 64
Last update from 150.50.5.69 on Serial0/0/0,
00:49:40 ago
Routing Descriptor Blocks:
* 150.50.5.69, from 200.0.0.8, 00:49:40 ago, via
Serial0/0/0
Route metric is 20, traffic share count is 1
R7(config-router)#
--- Scott Morris <[EMAIL PROTECTED]> wrote:
> Can you post:
>
> Show run
> Show ip bgp
> Show ip route ospf
> Show ip route x.x.x.x (one of the routes that should
> be redistributed)
>
> Scott
>
> -----Original Message-----
> From: Suliman Al-Mazroua
> [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 22, 2007 11:22 PM
> To: [EMAIL PROTECTED];
> [email protected]
> Subject: RE: External OSPF to BGP
>
> no it does not show
> --- Scott Morris <[EMAIL PROTECTED]> wrote:
>
> > Then when you do "show ip bgp" does it show up
> there on the local
> > router?
> >
> > -----Original Message-----
> > From: Suliman Al-Mazroua
> > [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, February 22, 2007 11:19 PM
> > To: [EMAIL PROTECTED];
> > [email protected]
> > Subject: RE: External OSPF to BGP
> >
> > yes it shows under the ospf as EX 2
> > --- Scott Morris <[EMAIL PROTECTED]> wrote:
> >
> > > BGP by default likes internal routes only (hence
> > your matching).
> > >
> > > In order to be redistributed, it has to be an
> > "active" route from OSPF
> > > in your routing table first. So when you "show
> ip
> > route ospf" does it
> > > show up?
> > >
> > > The router-id is good, but only necessary if
> > synchronization is turned
> > > on in BGP.
> > >
> > > HTH,
> > >
> > >
> > > 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: Thursday, February 22, 2007 11:08 PM
> > > To: [EMAIL PROTECTED];
> > > [email protected]
> > > Subject: External OSPF to BGP
> > >
> > > hello Scott/team;
> > >
> > > i am working in LAB 7 in ipexpert worklab and i
> am
> > trying to have a
> > > external ospf route to come in BGP but i could
> > not. the case is
> > >
> > > 1- redistribute connected to ospf
> > > 2- redistribute ospf to bgp
> > > 3-i have both bgp and ospf having the same
> router
> > id
> > > 4- i have added external 1 external 2 to the
> > redistribution statement
> > >
> > > but still did not work with me. any advise or
> > hint.
> > >
> > > regards
> > > suliman
> > >
> > >
> > >
> > >
> >
>
____________________________________________________________________________
> > > ________
> > > Do you Yahoo!?
> > > Everyone is raving about the all-new Yahoo! Mail
> > beta.
> > > http://new.mail.yahoo.com
> > >
> > >
> >
> >
> >
> >
> >
>
____________________________________________________________________________
> > ________
> > TV dinner still cooling?
> > Check out "Tonight's Picks" on Yahoo! TV.
> > http://tv.yahoo.com/
> >
> >
>
>
>
>
>
____________________________________________________________________________
> ________
> We won't tell. Get more on shows you hate to love
> (and love to hate): Yahoo!
> TV's Guilty Pleasures list.
> http://tv.yahoo.com/collections/265
>
>
____________________________________________________________________________________
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front