cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4017
Views
4
Helpful
2
Replies

How to configure source-route

MICHAEL CICCONE
Level 1
Level 1

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 2

mounir.mohamed
Level 7
Level 7

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

Thanks for the help.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: