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....
Joe_Frost_43072
Nimbostratus
May 09, 2007
Do you see an error in /var/log/ltm?
May 9 08:10:04 tmm tmm[862]: 01220001:3: TCL error: Rule single_snat - missing "mask"Invalid class element live_resin 10.120.136.53 80 for class Hosts invoked from within "matchclass [LB::server] equals $::Hosts"
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
}
Did this.
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?
Basically what i want to do is only snat one pool node if its selected by any client, where the pool node is = to class Hosts
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
