Forum Discussion

Manny_Santizo_8's avatar
Manny_Santizo_8
Icon for Nimbostratus rankNimbostratus
Oct 12, 2007

redirect irule for specific ip ranges.

I would like to know if I can use this irule I found to redirect ip address on a specific subnet to a specific pool.

 

 

 

when CLIENT_ACCEPTED {

 

 

if {[IP::client_addr] = "10.0.0.0" & [TCP::local_port] == 80} {

 

 

pool Testweb

 

 

}

 

 

else {

 

 

pool WebServers

 

 

}

 

 

}