hi im trying to steer trafic between 2 virtual server with irules, i tested it in version 11.3 hf1 and it works perfect whene i try to implmant this process in system version 11.2.1 the trafic are not sendes to the secound virtual server the configuration are identical in bothe system , the trafic are enabled on all vlan i will appreciate your help to solve this problem
here is the irules 1)the first irule check if the destenation address is in the data group that i created. if {[class match [IP::local_addr] equals dest_direct_xforwarded]} { set counter that will be used to insert the xforwarded only once set ::counter 1 set the origin destination address set ::ip_virt_dest [IP::local_addr] send the traffic to the new virtual server virtual SomelVirt } 2)the secound irule insert X-Forwarded-For - i create http profile that enable the X-Forwarded-For and config it in the virtual server when HTTP_REQUEST { check if the data is for match and the counter is 1 if {[class match $::ip_virt_dest equals dest_direct_xforwarded] && $::counter == 1} {
log the X-Forwarded-For log local0. “X-Forwarded-For is [HTTP::header value X-Forwarded-For]” set the counter to 0 set ::counter 0 } }