Forum Discussion
Eric_Sanchez_27
Nimbostratus
Apr 04, 2010Clarification of SelectiveSnat/iRule SNAT. Need help.
Im trying to understand what the difference is between using SNAT AUTOMAP and what I call an iRule SNAT. This is what I am attempting to accomplish: If I have two different VS (that need to talk to each other) using 2 distinct pools (in the same subnet) and if I dont apply the SNAT AUTOMAP or iRule SNAT... the functionality of the application sometimes doesnt work. From what I have been told... the iRule SNAT/AUTOMAP forces traffic back to the LTM for it to hold session state and not have Pool A go directly to Pool B since it is on the same ethernet segment.
My iRule SNAT is this:
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 = is the snat pool IP. Lets say 10.10.10.10
Please help me understand what this is accomplishing. Is this an alternative way of using SNAT AUTOMAP? The ideal I was attempting is to not have everything use the self-ip interface so in case the application needs to monitor true source IP and mac-address. Thank you for your time.
- The_Bhattman
Nimbostratus
Hi Eric, - Nit_67494
Nimbostratus
Hi Bhattman,
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects