06-20-2013 02:16 PM - edited 03-04-2019 08:16 PM
I'm trying to test our new firewall. I need to set the default route for my pc to be 10.1.1.2. The default route configured on the router is 10.1.1.1.
I set up and access list with my permit host mypc any any
Then i created a route map:
ip route-map test
set ip default next-hop 10.1.1.2
When I do a traceroute from my pc, it still routes through 10.1.1.1
Did I configure this right?
06-20-2013 04:08 PM
Hello
access-list 10 permit x.x.x.x ( source address)
route-map TEST
match ip address 10
set ip next-hop 10.1.1.2
int xx ( this is the interface facing source pc)
ip policy route-map TEST
res
Paul
Please don't forget to rate any posts that have been helpful.
Thanks.
06-20-2013 11:46 PM
There is no need to do policy based routing here unnecessarily, this is not something I would do (if I understood you correctly) that the router is on the same LAN as the PC and firewall?
If this isn't the case you could put your PC on the same VLAN and test.
You just have a static IP on your PC and configure your gateway manually to be the new firewall, then test.
Otherwise as described by Paul, PBR will help.
Hope this helps
Sent from Cisco Technical Support iPhone App
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