RE: Policy Routing config (50% working)

From: Jeongwoo Park (jpark@xxxxxxxx)
Date: Sun Mar 10 2002 - 06:34:41 GMT-3


   
I moved the command "ip policy route-map POLICY" on serial interfaces on R2,
and instead added "ip local policy route-map POLICY"
This time it is working 0% unfortunately. I was not able to do extended ping
R1 nor R3 sourced from R2's loopback interfaces.
What am I missing?

JP

-----Original Message-----
From: Erick B. [mailto:erickbe@yahoo.com]
Sent: Friday, March 08, 2002 9:09 PM
To: Hansang Bae; ccielab@groupstudy.com
Subject: Re: Policy Routing config (50% working)

Also,

You need a 'ip local policy (route-map) if you want
traffic sourced from the route map to go through
policy (ie: pings). I didn't see this in the config
originally posted.

--- Hansang Bae <hbae@nyc.rr.com> wrote:
> At 01:11 AM 3/8/2002 -0800, Jeongwoo Park wrote:
> >Hi all
> >My policy routing is only 50% working.
> >R1------R2--------R3
> >R2 is doing policy routing.
> >Here is the config of three routers and testing
> result.
> >Take a look at it and see what makes it working
> only 50%.
> >
> >Tha
>
>
> [Snip]
>
> I didn't go through your entire config but here are
> some general tips:
>
>
>
**************************************************************************
>
> From: Question 95
> Date: 02 February 2002
> Subject: How do I use Policy Based Routing?
> Answer by: Hansang Bae <hbae_@_nyc.rr.com.REMOVE_>
>
> Keep in mind that Policy routing works on the
> INBOUND interface. If you think
> about it, it makes sense. The decision to hand off
> the packet has to be made
> as it's coming into the router and not on the egress
> interface.
>
>
> !Determine who's eligible to be policy routed
> !
> access-list 1 permit 10.1.1.0 0.0.0.255
> !
> !Figure out where you want to send the pkts based on
> the source IP
> !
> route-map RouteMeBaby permit 10
> !To whom shoud this policy apply to?
> match ip address 1
> !
> !Where should you redirect it to? Should use
> both. If one is
> !omitted, the value will be retrived from the
> routing table -
> !which may or may not be what you wanted
> !
> set ip next-hop ROUTER_2's_SERIAL_IP
> set interface s0
> !
> interface E0
> ip addr blah blah blah
> ip policy route-map RouteMeBaby
> ! If your IOS supports it, enable fast switching
> for PBR
> ip route-cache policy
>
>
> *IF* fast switching is supported (may be 11.3 an up
> or it could be 12.0
> and up... do a
>
> sho ip cache policy
>
> if not, do a
>
> sho ip policy



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:56:58 GMT-3