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
