07-09-2008 03:00 PM - edited 03-03-2019 10:39 PM
All traffic are via RTR-2. I have a specific hosts need to route via RTR-1. I would say, critical applications.
example, host 192.l68.200.1 should route via RTR-1.
i used route-maps command in Inside-Sw1/2 but won't work...
access-list 10 permit 192.168.200.1
route-map hosts permit 10
match ip address 10
set ip next-hop 10.10.10.1
i applied this route-map into the vlan 200 ...
Solved! Go to Solution.
07-10-2008 11:26 AM
there are no matches...
maybe the soure ip address was changed by ASA?
07-09-2008 03:22 PM
you should do PBR on RTR-2...
FYI
set ip next-hop 10.10.10.1
10.10.10.1 must be the address of an adjacent router.
PBR Recursive Next Hop is not supported on L3 switches
http://www.cisco.com/en/US/docs/ios/12_0s/feature/guide/12s_pbr.html
Rate a post if it helps
07-09-2008 03:51 PM
ok thanks. i'll try ...
07-10-2008 10:51 AM
I did the command line below in RTR-2. Host 192.168.200.1 is still using path to RTR-2...suppose the next-hop is RTR-1 10.10.1.1.
Any idea?
RTR-2:
interface FastEthernet0/0
ip address 10.10.1.2 255.255.255.0
ip policy route-map test
duplex auto
speed auto
access-list 12 permit 192.168.200.1
route-map test permit 10
match ip address 12
set ip next-hop 10.10.1.1
07-10-2008 11:09 AM
do you have matches in access-list?
sh access-list
07-10-2008 11:14 AM
#sh access-list
Standard IP access list 12
10 permit 192.168.200.1
07-10-2008 11:26 AM
there are no matches...
maybe the soure ip address was changed by ASA?
07-11-2008 06:11 AM
I found it and works now. I remember, this host 192.168.200.1 is inside of the network and the PBR router is on the outside. Therefore, add static NAT on the Firewall of 192.168.200.1 to public address x.x.x.x.
and on PBR router, change the following:
access-list 12 permit x.x.x.x
set ip next-hop 10.10.10.1
thanks
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide