From: John Matus (john_matus@hotmail.com)
Date: Wed Feb 09 2005 - 18:57:25 GMT-3
here is what i'm trying to do.......perhaps it's not possible, perhaps
so....
r1----------------------------------r2---------------------------------r4------------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