offset/admin distance with RIP

Unanswered Question
Jul 1st, 2007
User Badges:

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 1.1.1.0/24 from router A I would like it to have the default admin distance of 120. However if I get a 1.1.1.0/24 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?


Thanks,

Diego

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 3.7 (3 ratings)
Loading.
paolo bevilacqua Sun, 07/01/2007 - 15:06
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

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!

Edison Ortiz Sun, 07/01/2007 - 15:38
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

Let's say Router B source address is 192.168.1.3


On the router receiving this route configure the following:


ip access-list standard RIP

permit 1.1.1.0 0.0.0.255


router rip

distance 130 192.168.1.3 0.0.0.0 RIP



paolo bevilacqua Sun, 07/01/2007 - 15:40
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

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

DIEGO ALONSO Tue, 07/03/2007 - 06:18
User Badges:

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

Actions

This Discussion