cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
517
Views
55
Helpful
8
Replies

Show ip route

Juraj Papic
Level 3
Level 3

Hi all, 

I have this output, the redistribution is showing via eigrp 100 , rip. This will mean that the ip published via both protocols or its known via both procols? this can case some traffic issue?

thanks.  

show ip route 10.216.252.41
Routing entry for 10.216.252.40/30
Known via "connected", distance 0, metric 0 (connected, via interface)
Redistributing via eigrp 100, rip
Advertised by rip
Routing Descriptor Blocks:
* directly connected, via Vlan16
Route metric is 0, traffic share count is 1

8 Replies 8

jhjghj.png

that normal you run two routing protocol EIGRP and RIP, and then you redistrubte connected link under both routing protocol. 

above I do small lab and test redistrbute connected under both OSPF and EIGRP and show ip route 3.3.3.3

output same as your case.

Hello,

So it’s not being advertised with both protocols. If it was redistributed with both it will use Administrative Distance of each protocol. According to Administrative Distance redistributed EIGRP routes have an AD of 170, whereas RIP has 120, which is lower.

This is the routing protocol that will inject it into the routing table. It’s “known” by both protocols but only advertised by one of them. RIP in this case.

 

-David

Hello,

How could I configure the router so i would select EIGRP without removing RIP?

Thanks. 

Configure EIGRPs external AD with a lower value than RIP which is 120. Keep the internal AD the same.

 

 R1 (config-router)# distance eigrp [internal AD] [external AD]

 R1 (config-router)# distance eigrp 90 95

 

See if that works.

Martin L
VIP
VIP

There are 2 main rules for redistribution: 1. redistribute command redistributes routes that are present in routing table and learned from that routing protocol (aka redistributing from a given routing protocol, the redistribute command takes routes present in the routing table as they are being learned from that routing protocol.
2, the redistribute command will take all connected routes that fall into range of network command (advertised by network command or more correctly connected routes that are participating in routing because of network command). 

Regards, ML
**Please Rate All Helpful Responses **

This prefix is directly connect to this router it not learn from eigrp and rip.

And direct connect have AD = 0.

The case we redistrubte connect prefix in two routing protocol is when there are one router have two neighbor each one have run different protocol, so we redistrubte it under both routing protocol.

Prefer one routing it useless here. 

Since it direct connect.

And run two routing protocol between two same peer is leading loop if the config accpet 

Hello
It looks like connected route (Vlan 16 known locally to the rtr) is  being advertised via redistribution into eigrp and advertised via network command into rip, so with all things being equal meaning you have dual routing process running side by side within your network then the  RIP route will be preferred because redistributed routes into eigrp will have a external admin distance 170 higher then RIP  120. 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

The original post asks 2 questions. First "This will mean that the ip published via both protocols or its known via both procols?" The answer is that perhaps it is published by both protocols. Clearly it is not known via both protocols. It is know as a locally connected route. To know whether it is published by both protocols it would be helpful to see the output of these commands

show run | section router rip

show run | section router eigrp

The second question is whether this could cause traffic issues. Without a better understanding of the environment it is difficult to answer this question. My first reaction is that having a locally connected subnet would not cause traffic issues. But perhaps there are aspects of the environment that suggest that there might be traffic issues? Please provide clarification.

HTH

Rick
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