[c-nsp] route-map local destination device

Peter Rathlev peter at rathlev.dk
Fri Jul 25 04:42:26 EDT 2008


On Thu, 2008-07-24 at 18:15 -0500, Dan Letkeman wrote:
> route-map inet permit 10
>  match ip address 111
>  set ip next-hop 187.174.55.2
> !
<snip>
> Ip access lists match various internal ip's or ip ranges.
> 
> Now if have a device that is connected directly to the router with an
> ip of 10.1.1.1, but none of the internal devices can ping it because
> they are being route-map'd to different gateway's.  Is there a way to
> bypass the route-map if it is a certain destination?

Depending on your platform, you might also use "set ip default
next-hop", to allow the router to do a route lookup and only use the
policy routing if there is no specific route to the destination. (= only
a default.)

Regards,
Peter




More information about the cisco-nsp mailing list