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

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


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 and the network I want to get to is 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.


Mike C.


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.

Best Regards,

Mounir Mohamed

New Member

Re: How to configure source-route

Thanks for the help.

CreatePlease login to create content