mmory09_63087
Mar 05, 2014Nimbostratus
Selective SNAT and Calculate CRC32 Checksum
The pool members in Exchange 2013 needs to communicate to pool members in Exchange 2007. It is on the same subnet. To do this we would like to enable selective SNAT between the two pool members but we would also like 1) ensure sessions are split correctly (Calculate the crc32 checksum of the client IP) 2) we would like to have 2 or 3 snatpool members eventually.
iRules taken from F5 Solution Guide for Exchange 2010 Deployment and Selective SNAT iRule combined. Will it work as required?
when RULE_INIT { set static::snat_exch2007(0) 10.73.17.248 } when CLIENT_ACCEPTED { snat $static::snat_exch2007([expr {[crc32 [IP::client_addr]] % [array size static::snat_exch2007]}]) } when LB_SELECTED {
if {[IP::addr "[IP::client_addr]/24" equals "[LB::server addr]/24"]} {
snatpool snat_exch2007 } }