07-27-2023 02:42 AM
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?
Solved! Go to Solution.
07-27-2023 02:52 AM - last edited on 08-05-2023 02:57 AM by Translator
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.
07-27-2023 04:58 AM - last edited on 08-05-2023 03:00 AM by Translator
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
07-27-2023 02:52 AM - last edited on 08-05-2023 02:57 AM by Translator
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.
07-27-2023 03:15 AM
can I see all config
07-27-2023 03:24 AM
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
07-27-2023 03:28 AM - edited 07-27-2023 05:18 AM
...
07-27-2023 03:24 AM - last edited on 08-05-2023 02:58 AM by Translator
Hello @iores,
Does R3 have this subnet
[1.1.1.0/24]
in its routing table?
07-27-2023 01:39 PM
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
07-27-2023 04:58 AM - last edited on 08-05-2023 03:00 AM by Translator
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
07-27-2023 05:28 AM - edited 07-27-2023 01:35 PM
Thanks
MHM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide