cfabeny Mon, 04/16/2007 - 06:29
User Badges:
  • Cisco Employee,

Hello,

I'm not quite clear on your question. Router by definition forward traffic based on destination IP address. To bypass the default routing table and forward traffic using the source address (or source *and* destination), you need to use policy based routing:

http://www.cisco.com/warp/public/732/Tech/plicy_wp.htm

karthykrish Mon, 04/16/2007 - 21:16
User Badges:

Hi cfabeny,


Thank you for immediate response.


Can you give me some example abt the functionality of source based routing with diagram.



cfabeny Thu, 05/03/2007 - 08:14
User Badges:
  • Cisco Employee,

Well, I can try. consider the following:


1.1.1.1--- A -----10.1.1.1

|---Router---|

1.1.1.2--- B -----11.1.1.1


We have two hosts on the same LAN (1.1.1.1 and 1.1.1.2). The default routing table says all routes destined for 10.1.1.x go out interface A (regardless of source). Now, you could configure source-based routing to say any routes from 1.1.1.2 be sent out interface B -- possibly for a specific NAT translation for example. This is policy-based routing.

Actions

This Discussion