Forum Discussion
Joe_Frost_43072
Nimbostratus
May 08, 2007Single host SNAT iRule
Hello all-
I have a simple apache pool with 3 internal hosts and 1 host that lives outside of my network in which i want to SNAT exclusively in order to bypass the asymetrical routing issue....
hoolio
Cirrostratus
May 09, 2007Do you see an error in /var/log/ltm?
Also, you should create a class with type of Address and put the IP address(es):
class address_class_test {
host 1.2.3.4
}
Also, LB::server will return the IP address of the selected node. I assume the node is the client in the scenario you're testing now?
Can you add a log statement to see what values you're getting?
when LB_SELECTED {
log local0. "\[LB::server\]: [LB::server], \[IP::client_addr\]: [IP::client_addr]"
if { [matchclass [LB::server] equals $::Hosts]} {
snat automap
}
}Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
