Forum Discussion

pjain_72429's avatar
pjain_72429
Icon for Nimbostratus rankNimbostratus
Oct 17, 2007

rule based on source IP

[ Version 9.2.5 ]

 

 

For following configuration

 

 

VIP-A

 

POOL-A

 

POOL-B

 

 

I want to create a iRule based on sourceIP range ( any traffic coming from 62.67.x.x and 63.65.x.x ) , traffic should go to POOL B for VIP-A. rest of traffic for VIP-A should go to POOL A.

 

 

Can somebody help with iRule?

 

 

Pankaj
  • You should ask in the iRules forum, not the iControl one.

     

     

    That said, you should be able to just look at the source IP (IP::client_addr) and see if it starts with "62.67." or "63.65.", and route based on that.