RE: eBGP redistribution

From: Marko Milivojevic (markom@vodafone.is)
Date: Wed Jun 06 2007 - 13:37:40 ART


As usual, I may be wrong, but with the information provided, I think the text below will summarize what needs to be done to make this work.

You will need to make sure few things:

1- AS2 and AS3 need to have directly connected peering
 - Otherwise you need to redistribute that routing protocol into AS2 OSPF
2- AS2-AS3 border router in AS2 needs to redistribute prefixes learned from AS3 BGP into OSPF
3- AS1-AS2 need to have multihop eBGP peering
4- AS2 OSPF router connected to AS1 needs to inject AS1 prefixes into OSPF
 - it may also filter routes propagating to AS2, as those routes would be learned in AS1 via BGP
 - it must not filter out AS2 BGP's peering address!

Alternative approach to this problem is to use MPLS in AS2, but then again, I'm preparing for SP lab and that may cloud my judgement here :-)

There may be other alternatives, but to present them, we may need better description of the problem, as well as "sh ip bgp" outputs from all involved routers, to begin with.

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of CCIE GOAL
Sent: 6. jznm 2007 15:42
To: ccielab@groupstudy.com
Subject: eBGP redistribution

Hi guys,

I ran into a problem with BGP, maybe it's simple to resolve but I got stuck
on it.
People say that sometimes it is easier to spot the issue from outside the
picture...

Scenario:

[ BGP AS 1 ] -- (OSPF/not in bgp) -- [ BGP AS 2 ] -- [ BGP AS 3 ]

- AS 1 is peering to AS 2
- AS 2 is peering to AS 3

- Between AS 1 and AS 2; there is some devices in OSPF domain only (Not
BGP).

- AS 3 is announcing some prefixes, let's say 10.10.X.0/24...

These prefixes are pingable from AS 2 but not from AS 3 even the BGP table
from AS 3 has these prefix as valid.

The issue is that the OSPF domain do not know how to reach the prefixes
10.10.X.0/24.

I am not allowed to use static routes anywhere...
I have tried to redistribute BGP 2 into OSPF but no success, it seems that
eBGP learned prefixes are not redistributed...

Can somebody help me on this?

Follow the configs:

---------------------------------------------------
AS1#
router bgp 1
 no synchronization
 neighbor 2.2.2.2 remote-as 2
 no auto-summary
!
router ospf 1
 network 10.10.1.1 0.0.0.0 area 1

---------------------------------------------------
OSPF#
router ospf 1
 network 10.10.1.2 0.0.0.0 area 1
 network 10.10.2.2 0.0.0.0 area 0

---------------------------------------------------
 AS2#
router bgp 2
 no synchronization
 neighbor 1.1.1.1 remote-as 1
 neighbor 3.3.3.3 remote-as 3
 no auto-summary
!
router ospf 1
  network 10.10.2.1 0.0.0.0 area 0
---------------------------------------------------

 AS3#
router bgp 3
 no synchronization
 neighbor 2.2.2.2 remote-as 2
 no auto-summary
---------------------------------------------------

Thanks in advance,
Luciano



This archive was generated by hypermail 2.1.4 : Sun Jul 01 2007 - 17:24:47 ART