Forum Discussion
AndresC_4711
Oct 20, 2011Nimbostratus
Need help with a SNAT irule
Hello all.
I need some help with a SNAT irule for the Exchange implementation with F5.
According to the F5 Exchange document; I need a SNAT irule so that the exchange clients get NATed to the same IP address while connecting to the exchange VIP.
I created a SNAT pool with 9 IP addresses (10.162.93.38 to 10.162.93.46) and applied the SNAT pool to the Exchange VIP, I also created the irule below to use the SNAT pool:
when CLIENT_ACCEPTED { snat 10.162.93[expr ( [getfield [IP::client_addr] "." 4] % 9 ) 1 ] }
It doesn't work. the clients don't get NATed to an IP on the SNAT pool Please Help!!!
AndresC
- Patrick_Chang_7Historic F5 Accountyou need a "." after the 93. Also your math expression will not result in a number from 38 to 46. Do you mod and then add 38.
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