Policy routing

From: Vijaykrishna (vijaykrishna@xxxxxxxxxxx)
Date: Fri Jun 30 2000 - 15:57:10 GMT-3


   
I am trying to set precedence for the IP packet using policy routing.
here is the setup and config.

----R1-e0---------192.168.1.32/30----------e2/0-R2------192.168.1.4/30-----R
3

R2-config:
access-list 10 permit 192.168.1.34
route-map polrtg permit 10
 match ip address 10
 set ip precedence immediate
!
interface Ethernet2/0
 ip address 192.168.1.33 255.255.255.224
 ip policy route-map polrtg

The purpose is to set ip precedance 2 on R2 for the traffic coming from R1.

when I do debug ip policy on R2 and send traffic from R1 to R3, I get
following mesg.
*Jun 30 18:24:43: IP: route map polrtg, item 10, permit
*Jun 30 18:24:43: IP: s=192.168.1.34 (Ethernet2/0), d=192.168.1.6
(ATM1/0/0.1),
len 40, policy rejected -- normal forwarding

SO it looks like rejecting the policy. Has anyone tried this... ??
Am I missing something ??

thanks,
vijay



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:23:44 GMT-3