RE: local policy route-map not working for me

From: Michael Zuo (mzuo@ixiacom.com)
Date: Tue Nov 07 2006 - 16:18:06 ART


Since the trace is locally generated, I think "ip policy route-map" will
not take any effect at all... BTW, I already have that command enabled
on another interface of R6 that is not connected to R3 or R4 and it is
working properly...

________________________________

From: Narbik Kocharians [mailto:narbikk@gmail.com]
Sent: Tuesday, November 07, 2006 5:57 AM
To: Hafizur Rahman (Europe)
Cc: Michael Zuo; ccielab@groupstudy.com
Subject: Re: local policy route-map not working for me

 Enable "ip policy route-map PING" under the interface.

On 11/6/06, Hafizur Rahman (Europe) <hafizur.rahman@uk.didata.com>
wrote:

Hi Michael

Try using extended ACl instead of prefix list

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Michael Zuo
Sent: 07 November 2006 07:09
To: ccielab@groupstudy.com
Subject: local policy route-map not working for me

Hi All,

I am having a problem with my local policy routing and can not figure
out why it is not working:

Topology:

=======

R3, R4 and R6 forms a triangle

Networks:

=======

Between R3, R4: 142.1.34.0/24

Between R3, R6: 204.12.1.0/24

Between R4, R6: 142.1.46.0/24

R4 also have IP address 142.1.0.4

OSPF is configured in a way that ping from R6 to 142.1.0.4 would go thru
R3 first (R3 touches area 0)

I am trying to use policy routing to route ICMP from R6 directly over
the connection between R4 and R6 which is not in OSPF

Configuration

=======

R6:

router ospf 1

log-adjacency-changes

network 54.1.3.6 0.0.0.0 area 3

network 204.12.1.6 0.0.0.0 area 3

ip local policy route-map PING

!

ip prefix-list 10 seq 5 permit 142.1.0.0/24

!

!

route-map PING permit 10

match ip address prefix-list 10

set ip next-hop 142.1.46.4

Result

=====

R6(config)#do trace 142.1.0.4

Type escape sequence to abort.

Tracing the route to 142.1.0.4

1 204.12.1.3 0 msec 0 msec 4 msec

2 142.1.0.4 28 msec * 28 msec

R6(config)#

R6#sh ip loc pol

Local policy routing is enabled, using route map PING

route-map PING, permit, sequence 10

Match clauses:

   ip address prefix-lists: 10

Set clauses:

   ip next-hop 142.1.46.4

Policy routing matches: 5 packets, 320 bytes

Which means R6 still go thru R3 first before getting to R4!! Also, the
packet count in "sh ip loc pol" does not increase

Am I missing something obvious? How do I debug further?

Thanks a bunch!!



This archive was generated by hypermail 2.1.4 : Fri Dec 01 2006 - 08:05:45 ART