Redistributing default route from BGP into OSPF [7:72058]

2003-07-09 Thread alaerte Vidali
I could not find a doc explaining why a default route learned from BGP is
not redistributed into OSPF.

Any thoughts?

R5#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
   D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
   N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
   E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
   i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter
area
   * - candidate default, U - per-user static route, o - ODR
   P - periodic downloaded static route

Gateway of last resort is not set

 2.0.0.0/32 is subnetted, 1 subnets
O   2.2.2.2 [110/2] via 125.125.125.2, 1d01h, FastEthernet0/0.125
C192.168.15.0/24 is directly connected, FastEthernet0/0.51
C192.168.25.0/24 is directly connected, FastEthernet0/0.52
O192.168.24.0/24 [110/65] via 125.125.125.2, 1d01h, FastEthernet0/0.125
 5.0.0.0/24 is subnetted, 1 subnets
C   5.5.5.0 is directly connected, Loopback0
 10.0.0.0/24 is subnetted, 4 subnets
O E210.9.2.0 [110/1] via 125.125.125.2, 1d01h, FastEthernet0/0.125
O E210.9.1.0 [110/1] via 125.125.125.2, 1d01h, FastEthernet0/0.125
C   10.8.1.0 is directly connected, Loopback1
C   10.6.1.0 is directly connected, Loopback2
 125.0.0.0/24 is subnetted, 1 subnets
C   125.125.125.0 is directly connected, FastEthernet0/0.125
 56.0.0.0/24 is subnetted, 1 subnets
C   56.56.56.0 is directly connected, FastEthernet0/0.56


R2-bsa# sh run 

router ospf 1
 redistribute bgp 1 subnets

R2-bsa#sh ip bgp
BGP table version is 14, local router ID is 2.2.2.2
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network  Next HopMetric LocPrf Weight Path
*> 0.0.0.0  192.168.24.2   0 2 i
*> 10.6.1.0/24  0.0.0.0 11 32768 i
*> 10.8.1.0/24  0.0.0.0 11 32768 i
*> 10.9.1.0/24  192.168.24.2   0 2 i
*> 10.9.2.0/24  192.168.24.2   0 2 i

R2-bsa#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
   D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
   N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
   E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
   i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter
area
   * - candidate default, U - per-user static route, o - ODR

Gateway of last resort is 192.168.24.2 to network 0.0.0.0







Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=72058&t=72058
--
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]


RE: Redistributing default route from BGP into OSPF [7:72058]

2003-07-09 Thread Joseph Brunner
This horse has been beat dead far too many times. The default
route must come from EBGP so the tag field is populated with
meaningful data (last i recall)

I my lab I just know it never works from IBGP>REDIS OSPF

Must be EBGP>OSPF> 


Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=72064&t=72058
--
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]


RE: Redistributing default route from BGP into OSPF [7:72058]

2003-07-10 Thread Curious
Maybe I am wrong, but if I want a router speaking ospf to generate a default
router I must configure "default-information originate" under ospf. With
this command when the router speaking OSPF has a default route in its
routing table it will adevertise a ospf default route. For example, if I
have a static default route in my router and I redistribute static routes in
ospf, it will not advertise a default route, I have to configure a
"default-information originate" or a "default-information originate
allways", the first only generates a ospf default route If the router has a
default route learned by another routing protocol, and de second generates a
default route allways.
Joseph are you sure that if the router learns a default route from e-BGP and
you redistribute bgp in ospf it will work? Don't you need a
default-originate command?

Every day I learn a new thing!





Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=72089&t=72058
--
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]


RE: Redistributing default route from BGP into OSPF [7:72058]

2003-07-10 Thread Zsombor Papp
At 04:40 PM 7/9/2003 +, Joseph Brunner wrote:
>This horse has been beat dead far too many times. The default
>route must come from EBGP

>so the tag field is populated with meaningful data (last i recall)

Isn't it because of the admin distance?

Thanks,

Zsombor


>I my lab I just know it never works from IBGP>REDIS OSPF
>
>Must be EBGP>OSPF>




Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=72116&t=72058
--
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]