R2------ospf------R1------BGP------R3
**
*R2(config-if)#do show run | begin router ospf*
router ospf 1
router-id 2.2.2.2
log-adjacency-changes
network 2.2.2.2 0.0.0.0 area 0
network 11.1.1.2 0.0.0.0 area 0
default-information originate always
!
*R1#show ip route ospf*
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/65] via 11.1.1.2, 00:18:51, Serial1/1
------------------------------`Loopback 0 of R2
O*E2 0.0.0.0/0 [110/1] via 11.1.1.2, 00:18:51,
Serial1/1---------------------------`Default-route from R2
R1#
*R1(config-router)#do show run | begin router bgp*
router bgp 100
no synchronization
bgp log-neighbor-changes
redistribute ospf 1 match internal external 1 external 2
neighbor 10.1.1.3 remote-as 300
no auto-summary
!
*R1#show ip bgp*
BGP table version is 4, local router ID is 1.1.1.1
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
*> 2.2.2.2/32 11.1.1.2 65 32768 ?
*> 3.3.3.3/32 10.1.1.3 0 0 300 i
*> 11.1.1.0/24 0.0.0.0 0 32768 ?
R1*#--------------------------------------------------------------**`Default-
route
from OSPF not redistributed into eBGP*
*R3#show ip bgp*
BGP table version is 18, local router ID is 3.3.3.3
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
*> 2.2.2.2/32 10.1.1.1 65 0 100 ?
*> 3.3.3.3/32 0.0.0.0 0 32768 i
*> 11.1.1.0/24 10.1.1.1 0 0 100 ?
R3*##--------------------------------------------------------------**`Default
-route
from OSPF not redistributed into eBGP*
On Tue, Jan 25, 2011 at 2:01 PM, Aaron Riemer <ariemer_at_amnet.net.au> wrote:
> Did you include the default information-originate command under the OSPF
> process?
>
> -----Original Message-----
> From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of
> Usha
> Rani
> Sent: Tuesday, 25 January 2011 3:50 PM
> To: Cisco certification
> Subject: OSPF redistribution into eBGP
>
> Hi,
> I have a question on OSPF redistribution into BGP.
>
>
> R2----ospf----R1---BGP-----R3
>
>
>
>
>
> 1. Configured OSPF between R1 and R2
>
> 2. Advertised R2 s loopback in OSPF also R2 is advertising
> default-route always.
>
> 3. Configured eBGP between R1 and R3
>
> 4. In R1, Redistributed ospf routes into BGP (redistribute ospf 1
> match internal external 1 external 2)
>
> 5. In R3, its observed that all the OSPF routes have been
> redistributed into BGP, except the default-route.
>
>
>
> P.S: If I configure EIGRP between R1 and R3 and redistribute OSPF into
> EIGRP, even the default-route is getting redistributed into EIGRP.
>
>
>
> *Is this the expected behavior?*
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
Received on Tue Jan 25 2011 - 15:25:37 ART
This archive was generated by hypermail 2.2.0 : Tue Feb 01 2011 - 07:39:17 ART