Forum Discussion
Fred_Zandvliet_
Nimbostratus
Oct 27, 2015Move Permanently execpt for different ip's
Hello,
I have this irule and it's working fine but now i have to add a new ipaddress in the range C.D.0.0/16.
How can i do this?
when HTTP_REQUEST {
if {not ([IP::addr [getfield [IP::c...
Fred_Zandvliet_
Nimbostratus
Oct 28, 2015Hi Brad,
Thanks for your answer but it's not working. If the ip-address is C.D.A.A then the first part of the rule is already triggered.
It has to be something like "if not ip A.B.0.0/16 or if not C.D.0.0/16 then .." But I can't figure out what the syntax must be ..
Greetings, Fred
- Brad_ParkerOct 28, 2015
Cirrus
I over looked how the not would affect the elseif, I have updated it to use an OR(||). This should do the trick.
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