Hi Gbps,
See Spark's timely explanation in this post for why this is happening:
http://devcentral.f5.com/Community/GroupDetails/tabid/1082223/asg/52/aft/2156819/showtab/groupforums/Default.aspx2234364
You can either fix this by specifying the default pool in the iRule or adding a OneConnect profile to the virtual server. For the latter, if you're using SNAT you can use the default OneConnect profile with a /0 source mask. If you're not doing serverside source address translation, create a custom OneConnect profile with a /32 source mask:
http://devcentral.f5.com/wiki/AdvDesignConfig.ONECONNECT.ashx
when CLIENT_ACCEPTED {
Save the name of the VS default pool before this iRule changes it
set default_pool [LB::server]
}
when HTTP_REQUEST {
switch -glob [HTTP::path] {
"/xyz1*" -
"/xyz2*" -
"/xyz3*" { pool Pool2 }
default { pool $default_pool }
}
}
Aaron