Forum Discussion
Jace_45978
Jun 18, 2011Nimbostratus
source_address persistance question
having a VIP with source_addr persistence
what we are wanting to do:
if address 10.0.0.0/8 hits the VIP then we want source_addr persistence, but any other source address falls to default o...
nitass
Jun 18, 2011Employee
can u try this?
[root@tulip:Active] config b virtual bar list
virtual bar {
snat automap
pool foo
destination 172.28.17.66:http
ip protocol tcp
rules myrule
}
[root@tulip:Active] config b rule myrule list
rule myrule {
when CLIENT_ACCEPTED {
if {[IP::addr [IP::remote_addr] equals 10.0.0.0/8]} {
persist source_addr
}
}
}
persist wiki
http://devcentral.f5.com/wiki/default.aspx/iRules/persist.html
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