Forum Discussion
coolhill_17403
Nimbostratus
Dec 03, 2009snat Persistence question
I have a question for version9.4.7
when LB_SELECTED {
set client_ip [IP::client_addr]
set client_last [getfield $client_ip "." 4]
if {[IP::addr [LB::server addr] equals 192.168.0.254] }{
set snat_mod [expr $client_last%4]
set snat_atm [incr snat_mod 230]
snat 192.168.0.$snat_atm
log local5.warning "client [IP::client_addr] access [IP::local_addr] use gateway [LB::server addr] snat address = 192.168.0.$snat_atm"}
}
This is my rules
In order to solve snat persistence.
In Version 9.2.3 is OK.and in version 9.4.7 is unavailable
I hope to find someone to help me.
1 Reply
- hoolio
Cirrostratus
Do you see the log statement in /var/log/ltm on 9.4.7?
Also, I think you could save a little bit of CPU cycles by moving the set client_ip and set client_last inside the LB::server addr check.
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