cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
769
Views
2
Helpful
8
Replies

Redistribution with BGP

iores
Level 1
Level 1

Hi,

I have three routers: R1 --(eigrp)-- R2 --(bgp)-- R3. On R2 I am doing redistribution from EIGRP to BGP. Routing table on R2 looks like this:

D        1.1.1.0 [90/130816] via 192.168.0.1, 00:03:11, GigabitEthernet0/0

So this is pointing to R1.

If I check the BGP route I see:

*>   1.1.1.0/24       192.168.0.1         130816         32768 ?

This is redistributed EIGRP route received from R1.

Altough it has '>' it is not in the routing table of R2?

2 Accepted Solutions

Accepted Solutions

Hi @iores 

 If you are going to redistribute from EIGRP to BGP, you need to check this on R3.  If you were redistributing from BGP to EIGRP you must check on R1.

 But, what you actually should

show is the ip routing

from all routers here.

View solution in original post

Peter Paluch
Cisco Employee
Cisco Employee

Hello,

To add to other friends' responses here, you are essentially asking this: Why don't I see the route on R2 shown as learned from BGP in its routing table when I redistribute it into BGP there?

The answer is simple: The results of the redistribution are never seen in the routing table of the router that does the redistribution, only on the other routers that speak the protocol you have redistributed into. You have an EIGRP-learned route on R2 - perfect. You redistribute it on R2 from EIGRP into BGP - perfect. But don't expect the route on R2 to change from EIGRP-learned to BGP-learned. It can not, and it must not, otherwise it would no longer be eligible for the redistribution from EIGRP into BGP. That route can possibly show as BGP-learned only on R3 in your topology, assuming you don't have another routing protocol between R2 and R3.

Oh, and I am sure you know this but just in case: The routing table I mentioned above is the one displayed with

show ip route

. The output you pulled out with

show ip bgp

is BGP's RIB, but that is its own private workstore, and it is not the routing table of the router itself.

Best regards,
Peter

 

View solution in original post

8 Replies 8

Hi @iores 

 If you are going to redistribute from EIGRP to BGP, you need to check this on R3.  If you were redistributing from BGP to EIGRP you must check on R1.

 But, what you actually should

show is the ip routing

from all routers here.

can I see all config 

@MHM Cisco World 

on R2:

router bgp 100
 bgp log-neighbor-changes
 redistribute eigrp 100
 neighbor 172.16.0.2 remote-as 200

On R1 I am just advertising 1.1.1.0 in EIGRP:

router eigrp 100
 network 1.1.1.0 0.0.0.255
 network 192.168.0.0

...

M02@rt37
VIP
VIP

Hello @iores,

Does R3 have this subnet

[1.1.1.0/24]

in its routing table? 

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

His Q confuse me and you and we answer far away' 

I go to cry when I sleep lol..

@iores just for change modes in this hot summer 

Thanks 

MHM

Peter Paluch
Cisco Employee
Cisco Employee

Hello,

To add to other friends' responses here, you are essentially asking this: Why don't I see the route on R2 shown as learned from BGP in its routing table when I redistribute it into BGP there?

The answer is simple: The results of the redistribution are never seen in the routing table of the router that does the redistribution, only on the other routers that speak the protocol you have redistributed into. You have an EIGRP-learned route on R2 - perfect. You redistribute it on R2 from EIGRP into BGP - perfect. But don't expect the route on R2 to change from EIGRP-learned to BGP-learned. It can not, and it must not, otherwise it would no longer be eligible for the redistribution from EIGRP into BGP. That route can possibly show as BGP-learned only on R3 in your topology, assuming you don't have another routing protocol between R2 and R3.

Oh, and I am sure you know this but just in case: The routing table I mentioned above is the one displayed with

show ip route

. The output you pulled out with

show ip bgp

is BGP's RIB, but that is its own private workstore, and it is not the routing table of the router itself.

Best regards,
Peter

 

Thanks

MHM

Review Cisco Networking for a $25 gift card