RE: policy routing woes (w/ correction)

From: Ken Bartlinski (kenbar3@gmail.com)
Date: Sat Apr 16 2005 - 00:10:18 GMT-3


John,

Try changing your statement from "route-map policy deny 20" to "route-map
policy permit 20". I believe you are blocking a lot more than you intend to
with this statement.

Ken

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of John
Matus
Sent: Friday, April 15, 2005 9:59 PM
To: ccielab@groupstudy.com
Subject: policy routing woes (w/ correction)

ok......the topology.....

R1----------------------R2-----------------------R3--------130.1.3.0
---- ------
        ------ ---------R4-----------------

R1 has 2 paths to R3, through R2 and R4. i'm using eigrp so the paths are
equal cost at the moment. i decided to use policy routing to perfer the
path thru R2 over R4 to get to the 130.1.3.0 subnet on r3.

R1
int s0/0
no ip route-cache

ip local policy route-map policy
access-list 1 permit 130.1.3.0 0.0.0.255

route-map policy permit 10
match ip add 1
set ip next-hop 150.1.124.2
route-map policy deny 20

my debug show that the policy routing fails but i have no idea WHY <cry>
here is the debug:

Mar 1 01:38:53.475: IP: s=130.1.124.1 (local), d=130.1.3.3, len 100, policy

match
*Mar 1 01:38:53.475: IP: route map policy, item 20, deny
*Mar 1 01:38:53.475: IP: s=130.1.124.1 (local), d=130.1.3.3, len 100,
policy rejected -- normal forwarding
*Mar 1 01:38:53.595: IP: s=130.1.124.1 (local), d=130.1.3.3, len 100,
policy match
*Mar 1 01:38:53.595: IP: route map policy, item 20, deny
*Mar 1 01:38:53.595: IP: s=130.1.124.1 (local), d=130.1.3.3, len 100,
policy rejected -- normal forwarding
*Mar 1 01:38:53.711: IP: s=130.1.124.1 (local), d=130.1.3.3, len 100,
policy match
*Mar 1 01:38:53.711: IP: route map policy, item 20, deny
r1#
*Mar 1 01:38:53.711: IP: s=130.1.124.1 (local), d=130.1.3.3, len 100,
policy rejected -- normal forwarding
*Mar 1 01:38:53.827: IP: s=130.1.124.1 (local), d=130.1.3.3, len 100,
policy match
*Mar 1 01:38:53.827: IP: route map policy, item 20, deny
*Mar 1 01:38:53.827: IP: s=130.1.124.1 (local), d=130.1.3.3, len 100,
policy rejected -- normal forwarding
*Mar 1 01:38:53.943: IP: s=130.1.124.1 (local), d=130.1.3.3, len 100,
policy match
*Mar 1 01:38:53.943: IP: route map policy, item 20, deny
*Mar 1 01:38:53.947: IP: s=130.1.124.1 (local), d=130.1.3.3, len 100,
policy rejected -- normal f

what am i doing wrong???????



This archive was generated by hypermail 2.1.4 : Tue May 03 2005 - 07:54:58 GMT-3