Forum Discussion

Roark_Fisher_29's avatar
Roark_Fisher_29
Icon for Nimbostratus rankNimbostratus
May 01, 2006

Outbound routing based upon source IP

I hope the intellects here may be able to help me with a confusing setup. I worked for 3 days with F5 tech support on this and they finally sent me here.

 

 

I have about a dozen T1 lines that come into a switch and the switch connects to my "external" VLAN port.

 

 

On the "internal" side my systems use SNAT to start an outbound connection.

 

 

The problem is that the outbound connections always use the default route. But I need them to route through the T1 that matches their SNAT address.

 

 

As an example. I have a system with an address of 10.10.10.10. It starts an outbound connection and gets a SNAT address of 62.2.2.10. I need to create an iRule that will look at this the SNAT address and route the traffic down the 62.x.x.x T1 and not through the default address.

 

 

Again, I am not trying to route based upon the destination address. Rather, I need to choose the correct router based upon the source address. Otherwise, if the wrong router is chosen, the packets get dropped.

 

 

If any of you F5 guru's know how to create an iRule to do this, I would greatly appreciate the help.

 

 

Thanks.

 

 

-Roark Fisher

 

15 Replies