Policy Based Routing?


I currently have a class B network and have the following routing setup on my Cisco 3750G

ip route
ip route permanent
ip route permanent
ip route permanent

I would like to modify the above routing and make it so that any ip 10.10.1.x routes to as their default while maintaining my default route to for every other IP

I'm sure I'd have to setup some access rules, etc, but really am not sure what to do. Anyone know what to do?

Who is Participating?
lrmooreConnect With a Mentor Commented:
access-list 101 permit ip any
route-map MYMAP permit 10
 match ip address 101
 set ip next-hop

Apply the route map to the 10.10.1.x vlan interface

interface vlan xx
 ip policy route-map MYMAP

You might not have the Enhanced IOS image to use the policy routing, so it may not work unless you upgrade.
andyvmAuthor Commented:
Great, thank you very much!
All Courses

From novice to tech pro — start learning today.