From: Edwards, Andrew M (andrew.m.edwards@boeing.com)
Date: Wed Feb 09 2005 - 21:52:16 GMT-3
Right. They wont be in the routing table because you are doing PBR.
The RIB (routing table) is what will take over by default if the policy
route is not working.
Try what I suggested and see what happens.
andy
-----Original Message-----
From: John Matus [mailto:John.Matus@tokiom.com]
Sent: Wednesday, February 09, 2005 4:36 PM
To: Edwards, Andrew M
Cc: ccielab@groupstudy.com; John Matus
Subject: RE: policy routing
the way i was verifying it was by looking at the routes in the
routing table.............and they were not pointing to the right
next-hop address...
Regards,
John D. Matus
Technical Support / PAS
Fujitsu Consulting
626-568-7716
John.Matus@tokiom.com
"Edwards, Andrew M" <andrew.m.edwards@boeing.com>
02/09/2005 03:48 PM
To
"John Matus" <john_matus@hotmail.com>, <ccielab@groupstudy.com>
cc
<john.matus@tokiom.com>
Subject
RE: policy routing
Your configuration looks right to me. You might be having
problems
because of the way you are trying to verify it is working.
Try setting a loopback on R1 and do an extended ping from the
loopback
as the source and a 1.1.1.0/24 or 2.2.2.0/24 address while doing
a
"debug ip policy"
Your output should show you that the policy is being matched and
routed
out the appropriate interface. If not, it will say it is NOT
being
policy routed.
HTH,
Andy
-----Original Message-----
From: John Matus [mailto:john_matus@hotmail.com]
Sent: Wednesday, February 09, 2005 1:57 PM
To: ccielab@groupstudy.com
Cc: john.matus@tokiom.com
Subject: policy routing
here is what i'm trying to do.......perhaps it's not possible,
perhaps
so....
r1----------------------------------r2---------------------------------r
4------------bb
-
-
-
-
------------------------------------r3----------------------------------
r1 is connected to both r2 and r3 which also both have
connection to r4,
so
r1 had 2 paths to r4, via r2 and r3.
r4 is receivin prefixes from the bb router. 1.1.1.0/24 and
2.2.2.0/24.
i want r1 to route thru r2 for 1.1.1.0.24 and thru r3 for
2.2.2.0/24.
is policy routing possible for this?
i tiried the following <please excuse is the syntax is off since
i don't
have a router in front of me>
r1 <cfg>ip local policy route-map policy
route-map policy permit 10
match ip add prefix 5
set ip next-hop r2
route-map policy permit 20
match ip add pre 6
set ip next-hop r3
ip prefix-l 5 permit 1.1.1.0/24
ip prefix-l 6 permit 2.2.2.0/24
ip cef
int s0/0
no ip route-cache
am i way off here? i just could not get it to work, even tho
there were
matches to my route-map and prefix list. i also tried an
access-l
instead
but no dice.
any thoughts?
This archive was generated by hypermail 2.1.4 : Thu Mar 03 2005 - 08:51:18 GMT-3