I am having a hard time with policy routing.
There is a 1841 router having 2 WAN connections (aDSL), each with different ISP.
What I am trying to do originate traffic from each fastethernet to different dialer an vice versa.
Let's say di0<->fa0/0 & di1<->fa0/1.
Imagine two different LANs, each using its own WAN connection.
Till now I have:
ip address x.y.z.a 255.255.255.248
ip policy route-map ROUTEMAPNAME
access-list 101 permit ip x.y.z.0 0.0.0.7 any
route-map ROUTEMAPNAME permit 1
match ip address 101
set interface dialer1
Thanks in advance
It seems to me that your Policy Based Routing should work with either set interface or set next-hop.
If you want to direct all traffic coming into fa0/0 to go to dialer 0, all traffic coming into fa0/1 to go to dialer 1, all traffic coming into dialer 0 to go to fa0/0 and all traffic coming into dialer 1 to go to fa0/1 then you will need ip policy configured on all 4 interfaces.
While the parts of config that you posted look ok, you have not indicated whether that part is working or not. Perhaps you can clarify.
I would also like to ask a clarifying question: is it possible that a packet could arrive at dialer1 with a destination address on fa0/0? If that did happen what would you do? Your statement of requirements seems to indicate that you would forward it to fa0/1 anyway. Is this an accurate statement of requirements?
There was a discussion in NetPro a while back about something similar to this situation and suggestion made that perhaps VRF lite might be a way to get the results that you want - almost like 2 separate routers in the same box. Perhaps you can think about this alternative.