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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Static routing by source and destination

Is there a way to (in IOS) to define a route for packets originating in a specific host/network destined to a specific host/network to use a gateway?

As far as I can see the "ip route" command allows only for destination specification.

Thanks, Refael

2 ACCEPTED SOLUTIONS

Accepted Solutions
Gold

Re: Static routing by source and destination

Cisco Employee

Re: Static routing by source and destination

You can forward packets to different gateways based on the source, destination or both source/destination using Policy Based Routing. For more information refer to the following URL:

http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fipr_c/ipcprt2/1cfindep.htm#1001398

Hope this helps,

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México 
Paseo de la Reforma 222 Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
2 REPLIES
Gold

Re: Static routing by source and destination

Cisco Employee

Re: Static routing by source and destination

You can forward packets to different gateways based on the source, destination or both source/destination using Policy Based Routing. For more information refer to the following URL:

http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fipr_c/ipcprt2/1cfindep.htm#1001398

Hope this helps,

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México 
Paseo de la Reforma 222 Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
165
Views
0
Helpful
2
Replies