Regarding this redistribution issue, I found the following statement:

The "network" command makes a route "internal" to a routing process, whereas 
"redistribute" makes a route "external" to a routing process.

I definitely know that "redistribute" makes a route "external" to a routing 
process.
And based on the reply that I received regarding my original concern, I guess 
the first part of this statement is also correct ("network" command makes a 
route "internal")

Would you consider this statement to be 100% accurate?

If that's the case, then this would further explain why the following config:

router bgp 1
  redistribute ospf 1 match internal

... would redistribute "connected" networks if OSPF was configured like this:

router ospf 1
  network 150.50.5.69 0.0.0.0 area 0 

My doubt has been based on the fact that if I do a SH IP ROUTE, network 
150.50.5.64/27 appears as a "connected" route, rather than an OSPF route.

But I guess the answer would be: it is both at the same time!

Would that be a correct interpretation?





--- :
From: Carlos Valero <[EMAIL PROTECTED]>
Subject: Re: [OSL | CCIE_RS] Redistribution of OSPF Routes into BGP

Date: Thursday, June 12, 2008, 9:11 AM

Hello,

I would like to confirm/clarify an issue about OSPF redistribution that may 
seem basic, but it's still confusing me a little bit.  If we have the 
following statements:

router bgp 1
  redistribute ospf 1 match internal

Question is: Does "match internal"  imply internal OSPF routes + 
"connected routes" ?

I've read a few articles about it, and although none confirms (or denies) that, 
the examples I've seen, seem to confirm that connected routes are also
 redistributed with the "internal" keyword (or actually by default).

For instance, the following link provides an exercise in which connected routes 
are in fact redistributed with the "internal" keyword:
http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800943c5.shtml

And this seems to happen in our Labs as well.  For instance, in Lab 7 
(v9.0) Task 6, we have the following scenario:

R7 & R8 are connected through a Serial Link and BGP + OSPF are configured 
over that link:

R8 

router bgp 65078 
  neighbor 150.50.5.69 remote-as 65078 

router ospf 1 
  network 150.50.5.69 0.0.0.0 area 0 

R7 

router bgp 65078 
  neighbor 150.50.5.68 remote-as 65078 

router ospf 1 
  network 150.50.5.68 0.0.0.0 area 0 

If I do a "sh ip route" on either router, of course 150.50.5.64/27  
appears as a "connected" route; not an OSPF route.

If I do a "sh ip bgp"  on R7, 150.50.5.64/27  does NOT show up there.

So up to this point, 150.50.5.64/27  is not an OSPF route, nor a BGP 
route.  But if I do OSPF redistribution:

router bgp 65078 
  redistribute ospf 1 match internal

If I now do a "sh ip bgp" 
 on R7, 150.50.5.64/27  now appears there!

Actually, part of this task requires us to filter this route out, so we need to 
apply a route-map to make sure this route doesn't get redistributed!

So again, the question is: 

Does "match internal"  imply internal OSPF routes + "connected routes" ?

If that's not the case, then why 150.50.5.64/27 gets redistributed with 
"redistribute ospf 1 match internal"

Thank you!


C. Valero.
--- 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


      

Reply via email to