Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

offset/admin distance with RIP

I am looking for a way to change the admin distance and or hop count on routes learned via RIP. However, the tricky part is that I want to change a route for a certain subnet ONLY if it comes from a specific router but not all routes from that router. For instance, if I learn of subnet from router A I would like it to have the default admin distance of 120. However if I get a from router B then I want it to get an admin distance of say, 130 but keep all other subnets from router B to be the standard 120 distance. Is this possible?



Hall of Fame Super Gold

Re: offset/admin distance with RIP

I don't think what you want is possible.

The mechanism that would allow you to match an update source (route map with match ip route-source), is allowed only when redistributing in a different protocol.

And the offset-list and distance commands, let you specify subnets via ACL, not update sources.

Hope this helps, please rate post if it does!

Hall of Fame Super Bronze

Re: offset/admin distance with RIP

Let's say Router B source address is

On the router receiving this route configure the following:

ip access-list standard RIP


router rip

distance 130 RIP

Hall of Fame Super Gold

Re: offset/admin distance with RIP

Very good, this syntax for distance has completely escaped me. And I looked at it for while...

New Member

Re: offset/admin distance with RIP

I will be trying this over the holiday. It does look promising.....