Forum Discussion
David_23683
Feb 03, 2009Nimbostratus
Since not all LANs are /24's and common iRules among partitions that need similar functionality is a nice thing, is there any reason you can think of this code shouldn't become:
when LB_SELECTED {
if { [IP::hops] == 0} {
snat automap
}
}
Thus, when on the same subnet (zero hops away), snat it.
(Assumes no additional routers on the client/server subnet)
-David