I have this iRule:
when CLIENT_ACCEPTED {
if { [matchclass [IP::client_addr] equals $::x_Hosts]} {
snatpool x_SNAT
}
}
x_Hosts = I dont understand the relevance of this.
x_SNAT = this is an IP address in the SNAT pool.
I am attempting to accomplish a better way to do SNAT AUTOMAP. I have issues when I have “VIP A” (10.10.10.10/24) with “Pool A” (10.10.11.11/24) and “VIP B” (10.10.10.11/24) and “Pool B” (10.10.11.12/24) need to talk to each other. It only works when AUTOMAP is applied. From my understanding, AUTOMAP forces the session to come back to the LTM instead of using its local ethernet segment (since they are on the same subnet).
Is this the appropriate iRULE to use so I can see source IP/MACs if I monitor the application or is there something better to use so I dont see the self-ip of the ltm and its associated mac-address?