I would like to know how I can apply some policy-based routing, based on the source of the flows. For example, all flows from the Internet go one way, and all private flows go through the other way.
I try to create this ACL :
Fore private :
ip access-list standard PRIVATE
permit 10.0.0.0 0.255.255.255
permit 172.16.0.0 0.15.255.255
permit 192.168.0.0 0.0.255.255
And for public :
ip access-list standard PUBLIC
deny 10.0.0.0 0.255.255.255
deny 172.16.0.0 0.15.255.255
deny 192.168.0.0 0.0.255.255
And then I create some route-map and apply settings like that :
route-map BOU49-VERS-SDSL permit 10
match ip address PRIVATE
set local-preference 150
I use "set local-preference" because I use BGP to receive and send route to others routers.
Anyway, I'm pretty sure it is the "match ip" which don't work, because with a "show route-map BOU49-VERS-SDSL", I have no match, never :
route-map BOU49-VERS-SDSL, permit, sequence 10
ip address (access-lists): PRIVATE
Policy routing matches: 0 packets, 0 bytes
Any idea how route packets base on the source ??
Thank you for your help, and sorry for my english ;-)