route-map SERVER permit 10
match ip address 1
set ip next-hop x.y.z.254
and then apply this map to the interface
now, for the destination matching the only way I could get it to work
is through static routing
ip route a.b.c.d1 255.255.255.255 x.y.z.254
ip route a.b.c.d2 255.255.255.255 x.y.z.254
ip route a.b.c.d3 255.255.255.255 x.y.z.254
ip route a.b.c.d4 255.255.255.255 x.y.z.254
Ok this solves it for now, but what I realy wanted was to use some
sort of access lists for both destination
or origin (I can live with a list for IN and other for OUT) but
wanted to be able to apply it to a single interface, which is not
possible with global static routing.
Any tips on can I do this?
I got it.
I guess I was just needing a break after fighing with the thing for
hours trying many stratagies in the wrong direction.
extendend access-list were real friends in this case.