Forum Discussion
Manuel_Gabaldon
Nimbostratus
Apr 29, 2008Outbound SNAT matching inbound Virtual Servers
Hi,
Our customers are always asking us for a load balancing solution that provides bi-directional correspondence between a virtual server address (inbound) and the SNAT address being applied...
Deb_Allen_18
May 05, 2008Historic F5 Account
There really is no way in iRules to enumerate all pools and their members. You can get the list of members of a known pool name using the "active_members" command with the "-list" parameter. (Click here)
As cmbhatt mentions, you would need to create some relationship in the configuration between the source and the desired address translation for an outbound flow. The most reliable way is the class list he mentioned. You can alternatively build origin SNATs containing all the servers associated with each VS address, but they would have to be deleted & re-added if the list changes.
The simplest way would be if each customer has their own VLAN - you can apply a SNAT to only a specific VLAN, and it will translate all traffic arriving on that VLAN to the SNAT address.
HTH
/deb
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