cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
706
Views
0
Helpful
6
Replies

redistribute from BGP into EIGRP

kjbarrass
Level 1
Level 1

Hi

Is it possible to redistribute a default route on a router from BGP into EIGRP if that router learned it from an eBGP peer. I have configured it in a test network as below

|R1|

|

|

|R2|

|

|

|R3|

R2 and R3 are in AS1 both running BGP with a iBGP peer. They are also both running EIGRP 1.

R2 has an eBGP peer with R1 and R1 is advertising a default 0.0.0.0/0 route to R2. Iam trying to redistribute this 0.0.0.0/0 route on R2 into EIGRP 1. I have added the below command on R2

router eigrp 1

redistribute bgp 1

!

iam not using route maps/prefix lists yet as I just want to see if its possible 1st.

doing the above and then issuing show ip route on R2 shows:

R2#sh ip route 0.0.0.0

Routing entry for 0.0.0.0/0, supernet

Known via "bgp 1", distance 20, metric 0, candidate default path

Tag 2, type external

Redistributing via eigrp 1

Last update from 192.168.2.1 00:21:46 ago

Routing Descriptor Blocks:

* 192.168.2.1, from 192.168.2.1, 00:21:46 ago

Route metric is 0, traffic share count is 1

AS Hops 1

It says its redistributing the route into EIGRP but issuing the below shows its not been installed into the EIGRP topology.

R2#sh ip eigrp topology

IP-EIGRP Topology Table for AS(1)/ID(192.168.2.2)

Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,

r - reply Status, s - sia Status

P 10.1.1.0/24, 1 successors, FD is 281856

via 192.168.1.2 (281856/2816), Ethernet0/0

P 192.168.0.0/24, 1 successors, FD is 281856

via 192.168.1.2 (281856/2816), Ethernet0/0

P 192.168.1.0/24, 1 successors, FD is 281600

via Connected, Ethernet0/0

P 192.168.2.0/24, 1 successors, FD is 281600

via Connected, Ethernet0/1

P 192.168.4.1/32, 1 successors, FD is 409600

via 192.168.1.2 (409600/128256), Ethernet0/0

P 192.168.4.2/32, 1 successors, FD is 128256

via Connected, Loopback0

R3 also does not see 0.0.0.0/0 via EIGRP but obviously recieves it via iBGP.

Is what im trying to do possible if so what am i doing wrong.

Regards

Kev

6 Replies 6

Kevin Dorrell
Level 10
Level 10

Is this another case for the command:

router eigrp 1

 default-information in

that for some reason I wasn't aware of until 10 minutes ago?

Oh, BTW, did you remember to give it a default metric on its way into EIGRP?

Kevin Dorrell

Luxembourg

Hi

Ive just tried that command and it doesnt work but if I add the command default-metric 10000 100 255 1 1500 it works not sure why yet though :)

Whenever you redistribute into EIGRP, you need to tell EIGRP the starting metric. (Unless you are redistributing from another EIGRP AS.) You can do that in one of three ways:

1. Provide it as a default as you have done here,

2. Provide it in the redistrîbute command,

3. Provide it in a route-map that you are using to control the redistribution.

In any acse, you have to do it, otherwise the redistribution will not take place.

Kevin Dorrell

Luxembourg

Jon Marshall
Hall of Fame
Hall of Fame

Kev

What you are trying to do is certainly possible because that's exactly what we do on our CE routers ie. we advertise a default route from our data centre into our MPLS cloud with BGP and each site connected to the MPLS cloud receives it via BGP and redistributes it into EIGRP.

Could you send full copies of configs.

Jon

Hi

Thankyou for reply I think I have found the problem if I dont specify a default-metric it will not redistribute the routes I have added the command default-metric with some example metrics and it seems to work fine now.

Regards

Kev

Kev

No problem. I was just about to say you needed to add metrics. See the part of the "Troubleshooting EIGRP" document about this.

http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080094613.shtml#rdc

HTH

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:

Review Cisco Networking products for a $25 gift card