Forum Discussion

sose_86565's avatar
sose_86565
Icon for Nimbostratus rankNimbostratus
Jan 13, 2009

iRule to specify link preference for specific TCP port

I need to favor one of two ISP links to handle traffic on port 8200. Basically I have the following:

 

 

ISP-Cox

 

ISP-Qwest

 

 

Outbound traffic on port 8200 needs to go to the Cox connection if it is available. If not, it should fail back to the Qwest connection.

 

 

Suggestions?

5 Replies

  • You don't need an iRule for this, just create a pool with your 2 gateway addresses, set Priority Group Activation to enabled, and set the Cox gateway to have a higher priority than Qwest. Then assign this pool to your outbound virtual server for port 8200 (I'm assuming wildcard 0.0.0.0:8200).

     

     

    Denny
  • Thanks for the info. That is the route I wanted to go, but my Outbound virtual server doesn't show the ability to add additional pools. The resources tab only has iRules. Perhaps it is configured for the incorrect type to support this. It is set to Forwarding (IP) which I understood to be the correct setting for outbound.
  • So doing this method, would I then have two outbound virtual servers? One for 0.0.0.0:* and one for 0.0.0.0:8200
  • Yes, traffic will be dealt with in most-specific to least-specific fashion.

     

     

    Denny