• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 569
  • Last Modified:

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
0
andyvm
Asked:
andyvm
1 Solution
 
lrmooreCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now