Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

How to configure source-route

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.

2 REPLIES

Re: How to configure source-route

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

New Member

Re: How to configure source-route

Thanks for the help.

118
Views
4
Helpful
2
Replies
CreatePlease login to create content