Ajit
Oct 19, 2014Altostratus
Add 2 source ip addresses to switch in irule
I need to add two more src ip addresses 1.1.1.1 & 2.2.2.2 along with 66.78.30.7 so that if traffic comes from any of these src ip addresses it should be redirected to the same pool. Can anyone help me with the syntax of the same. Thanks in advance
ltm rule ggi-pool-select { when HTTP_REQUEST { set srcip [IP::client_addr] set host [string tolower [HTTP::host]] switch $srcip { 66.78.30.7 { switch $host { "xyz.abc.net" { pool xyz.abc.net-ggi-https } } } } } }