Fawad_29089
Jun 04, 2013Nimbostratus
irule based on source ip not working..plz help!
I am running LTM v 11.1. I am defining irule based on source IP address to select a specific pool. I am getting some syntax and not supported command like error messages for the first few lines. The error message is probably for the class i created. Can somebody help with this!
class ip_subnets_class {
{
network 120.36.32.0 mask 255.255.240.0
network 172.20.0.0 mask 255.255.0.0
network 172.31.0.0 mask 255.255.0.0
network 149.2.0.0 mask 255.255.0.0
network 149.237.0.0 mask 255.255.0.0
}
}
when HTTP_REQUEST {
if { [matchclass [IP::client_addr] contains ip_subnets_class }
{ pool VDI_TEST_pool
} else { pool VDI_TEST_POOL_INT}
}