Forum Discussion
flipperfil
Dec 17, 2014Nimbostratus
Adding networks with switch [IP::client_addr]
I currently have an irule that looks for specific host entries or defaults to .... I am trying to incorporate rfc1918 networks statements example "10.0.0.0/8" - and this doesn't work. This is on v1...
nitass
Dec 20, 2014Employee
it looks okay to me.
root@(B11050-R72-S12)(cfg-sync Standalone)(Active)(/Common)(tmos) list ltm rule qux
ltm rule qux {
when HTTP_REQUEST {
if { [IP::addr [IP::client_addr] equals 10.0.0.0/8] } {
return
} elseif { [IP::addr [IP::client_addr] equals 172.16.0.0/12] } {
return
} else {
HTTP::header insert X-NOKERB X-NOKERB
}
}
}
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