genseek_32178
Dec 12, 2012Nimbostratus
Virtual & iRule
Hi Experts,
We ve following iRule defined and mapped to a wild card VS on which VLAN 20 is enabled.
rule RULE1 {
when CLIENT_ACCEPTED {
if { [IP::addr [IP::local_addr] equals 203.36.135.10] }{
snatpool pool10
pool pool_0
} elseif { [IP::addr [IP::local_addr] equals 139.26.25.12] }{
snatpool pool2
pool pool_0
}
!
Now question is - the IPs in the rule refer to the destination IP when packet is sourced from hosts in VLAN 20 outbound or do they refer to destination IPs in the packet coming into LTM from outside?
thnx-gseek