Forum Discussion
SandeepDV
Nimbostratus
Jul 09, 2019Set a Maintenance page for specific IP subnet.
I want to set a maintenance page if all the pool members are down, only for given IP subnet. I have created a datagroup with list of IP addresses L-IP. Maintenance page is in base64 format. will the...
David_M
Cirrostratus
Jul 09, 2019You can put the subnet in a data group and then call it in the irule with the page you want:
when CLIENT_ACCEPTED {
Comparing a customer source IP to a list of entries in a LTM data-group.
if { [class match [IP::remote_addr] equals data_SourceIps ] } {
pool my_pool1
} else {
pool my_pool2
}
}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