cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
10389
Views
0
Helpful
7
Replies

Redistributing BGP into EIGRP

kmelchior
Level 1
Level 1

Any help with this would be appreciated.

For the purposes of this question I have two sites, each site has an OC3  to an MPLS cloud. Each MPLS router is running BGP and EIGRP. I'm  redistributing EIGRP into BGP and BGP into EIGRP. Also at each site is a  Frmae Relay backup network off of the LAN, which is running the same  EIGRP AS as the MPLS router. I want all of the traffic to take the MPLS  network, however since the MPLS routes are being redistributed into  EIGRP they are external EIGRP routes, while the frame relay routes are  internal EIGRP so all of the traffic is traversing the frame network  rather than MPLS.

What is the best way to get the redistributed BGP routes to be preferred over the EIGRP routes? I've see different ways to do this and have gotten conflicting information.

raise the AD of the interal eigrp routes

router eigrp 20

distance <value> < source address >  <wild card mask> <access-list>

Set a weight when redistribuing BGP into EIGRP

router eigrp 20
redistribute bgp 2000 metric 45000 10 255 1 1500 route-map BGP->EIGRP
network 10.0.0.0
no auto-summary
!
router bgp 2000
no synchronization
bgp log-neighbor-changes
network 0.0.0.0
redistribute connected
redistribute eigrp 20
neighbor 1.1.1.1 remote-as 65000
neighbor 2.2.2.2 remote-as 65000
no auto-summary
!
access-list 20 permit any
!
route-map BGP->EIGRP permit 10
match ip address 20
set weight xxxx
set local-preference xxxx

7 Replies 7

Jon Marshall
Hall of Fame
Hall of Fame

I can't read .vsd files so this may not be relevant. Perhaps you could post as a .jpg.

Anyway, if your 2 WAN routers (MPLS/frame-relay) connect back to a core pair of switches easiest way is to have the MPLS router redistributing full routes into EIGRP and have your frame-relay only dsitributing a default-route. The core switches will then see a default via frame but will only use that if the full routes are not being received.

If you are also redistributing a default-route from the MPLS router you could use a floating static on the core switches pointing to the frame-relay router and then simply not distribute an EIGRP learned routes from the frame router to the core switches.

Jon

I attached the diagram as a jpeg. The diagram is very basic.

The frame circuits terminate in the core at the sites in question and are running the same EIGRP AS# as the LAN.

Kevin

So is the BGP router distributing a default-route into EIGRP ?

Jon

Yes, for failover in case the local Internet goes down.

Can you just clarify from your diagram.

The BGP MPLS router redistributes into EIGRP

The frame router exchanges EIGRP internal with the other end and so is preferred

The internet connected router showing IPSEC GRE tunnel - is this also exchanging EIGRP routes ? And what is the order you want to use the links ie.

BGP

Frame

IPSEC/GRE  ??

Jon

The BGP MPLS router redistributes into EIGRP

The frame router exchanges EIGRP internal with the other end and so is preferred

Correct.

The internet connected router showing IPSEC GRE tunnel - is this also exchanging EIGRP routes ? And what is the order you want to use the links ie.

BGP

Frame

IPSEC/GRE  ??

The MPLS circuit is new and will be replacing the IPsec/GRE tunnel between the sites. So that can be ignored, I should have taken it out of the diagram. So I am looking for all traffic to go over the MPLS circuit and fail over to the frame circuit.

Thanks for the clarification.

Okay personally i think there are 2 options -

1) it's not clear which routers will be disappear from the topoplogy when you get rid of the IPSEC/GRE but it looks like the main router connecting to the internet router will stay as it has at least one other router connecting to it. So using a floating static would mean adding it to 2 routers ie. the one on the right of the frame router and the one below. You would then need to stop the frame router from sending any EIGRP routes to these routers.

But messy, especially considering the routers hanging off the bottom router may also be receiving EIGRP routes.

2) Change the AD of internal EIGRP as you suggested and then in all probability you would need to use an offset-list on the frame router to make sure that the routes redistrinuted from BGP are preferred within the site.

Jon

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: