Policy Based Routing?

Hello,

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

ip route 0.0.0.0 0.0.0.0 10.10.1.7
ip route 10.11.1.0 255.255.255.0 10.100.1.1 permanent
ip route 10.12.1.0 255.255.255.0 10.100.1.1 permanent
ip route 10.13.0.0 255.255.0.0 10.10.1.4 permanent


I would like to modify the above routing and make it so that any ip 10.10.1.x routes to 10.10.1.4 as their default while maintaining my default route to 10.10.1.7 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?

Thanks!
Andy
andyvmAsked:
Who is Participating?
 
lrmooreConnect With a Mentor Commented:
access-list 101 permit ip 10.10.1.0 0.0.0.255 any
route-map MYMAP permit 10
 match ip address 101
 set ip next-hop 10.10.1.4

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.
0
 
andyvmAuthor Commented:
Great, thank you very much!
0
All Courses

From novice to tech pro — start learning today.