Forum Discussion
jones_mj14_4616
Nimbostratus
Dec 22, 2010New to irules
Hi Guys
I have inherited an F5 configuration, with the following irule configured
when CLIENT_ACCEPTED {
if {[IP::addr [IP::client_addr]/23 equals 10.49.50.0]} {
snat automap
}
}
This does not seem to applied anywhere, and some of the guys here believe that this is applied as a gloabal configuration. Is it possible to have this set as a Global Irule, without selecting this against any VIPs?
Please let me know, i've never used irules before, so not sure on the configurations
Thanks
Marc
- Chris_Miller
Altostratus
You could certainly have snat automap applied to a VIP but this is an iRule and would have to be applied in the iRules section so no, not globally applied. - jones_mj14_4616
Nimbostratus
Thanks Chris, so just to confirm for myself. I would need to add this irule to a resource on VIP for it to work? - Chris_Miller
Altostratus
Correct...if you want the automap to be specific to that network. If the VIP has "Automap" selected under "SNAT Pool," then it will automap all traffic, not just this range.
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