Forum Discussion
Srijana_137175
Nimbostratus
Nov 15, 2013Please help creating this iRule to direct subnets to different paths.
Please help creating this iRule to direct subnets to different paths.I would need something like below 2 samples. Please let me know if you need any other details.
when HTTP_REQUEST {
if {Sub...
nathe
Cirrocumulus
Nov 15, 2013How about something like this?
Create a datagroup with the subnets above and call it, say "xyz_subnet" and this iRule should do it
when HTTP_REQUEST {
if {([class match [IP::remote_addr] equals xyz_subnet]) } {
HTTP::uri "/XYZ"
} else {
HTTP::uri "/ABC"
}
}
Hope this helps, N
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