Forum Discussion

genseek_32178's avatar
genseek_32178
Icon for Nimbostratus rankNimbostratus
Aug 20, 2012

Virtual Pool Vs iRule Pool

Hi,

 

 

Say, there is a pool attached to a Virtual Server (VS1) and a pool defined in an iRule ..which is also mapped to the same Virtual server VS1.

 

 

Which pool would be checked 1st?

 

 

virtual VS1

 

pool app1_pool1

 

destination any:any

 

mask 0.0.0.0

 

rules iRule_1

 

profiles fastl4_1

 

vlan 20

 

 

iRule_1 is as below

 

 

rule iRule_1

 

when CLIENT_ACCEPTED {

 

if { [ matchclass [IP::client_addr] equals snathosts_1] }{

 

snatpool sp_1

 

pool pl_1

 

}

 

else {

 

snat none

 

}

 

}

 

 

which pool, app1_pool1 OR pl_1, would be mapped when traffic from vlan 20 initiated to outbound?

 

 

thsnk -genseek

 

 

  • which pool, app1_pool1 OR pl_1, would be mapped when traffic from vlan 20 initiated to outbound?if client ip matches snathosts_1 data group, i understand pl_1 pool will be used.