Forum Discussion
penghon_71315
Nimbostratus
Oct 17, 2008Showing snat automapped IP
Is it possible to obtain the snat automap IP from any irule commands **before** the packet is snat automapped out to the pool members?
hoolio
Cirrostratus
Oct 17, 2008I think the only way you could get the SNAT address would be to check the IP::local_addr value once the server side connection has been established in SERVER_CONNECTED (Event descriptions: Click here, some related tests: Click here). So I believe the answer is no.
This could potentially be determined in LB_SELECTED once the pool member is selected, but I don't think there are any commands which would tell you what IP address will be used to source the traffic. LB::snat sounded promising, but it just returns 'snat automap' (or when a snat pool is configured 'snatpool snat_pool_name'), not the IP which will be used.
What are you trying to do?
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
