How to configure source-route

Unanswered Question
Jan 10th, 2008
User Badges:

Hello,

I want to setup a source route for one server to go across a specific link (not the default gateway). For example, the server IP is 10.3.15.21 and the network I want to get to is 10.2.24.0. This network is two hops away be default. But I want to use another link that is 3 hops away. How would I setup source-route to do that. Will that even work.


Thanks


Mike C.


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (1 ratings)
Loading.
mounir.mohamed Thu, 01/10/2008 - 09:41
User Badges:
  • Gold, 750 points or more

Dear Caqspy,


You need Policy based routing.

Here is an overview about PBR


Policy routing is a more flexible mechanism for routing packets than destination routing, PBR configured via roue-map, he route map determines which packets are routed to which router next. You might enable policy routing if you want certain packets to be routed some way other than the obvious shortest path



Here is how to configure policy-based routing.


route-map force-path permit 10

description (Forcing Server to use specific link)

match ip address 100

set ip next-hop x.x.x.x


access-list 100 permit ip host source host destination


Full details can be found in the be URL.

http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cg/hirp_c/ch20/piconfig.htm#wp1001398


Best Regards,

Mounir Mohamed

Actions

This Discussion