Forum Discussion

Dave_73612's avatar
Dave_73612
Icon for Nimbostratus rankNimbostratus
Jul 28, 2009

Pool redirect based on source IP Range

Hi guys,

 

 

I need to write an IRule to route traffic to different pools based on source IP range.

 

 

Would this be the best syntax to use?

 

 

when CLIENT_ACCEPTED {

 

if { [IP::addr [IP::client_addr] equals 10.10.10.10] } {

 

pool my_pool

 

}

 

}

 

 

Can I just add a subnet mask to the "equals 10.10.10.10" in \ format?

 

 

Thanks in advance.

 

 

D

 

14 Replies