Forum Discussion
bdavis
Nimbostratus
Jan 29, 2013Irule Help persistence
I currently wrote the below Irule to service requests coming into a VIP based off of HTTP::host and connection limits on the designated pools. Basically if the user requests www.test.gov then it chec...
bdavis
Nimbostratus
Jan 30, 2013Cookie persistence is what we are currently utilizing.
Also they wanted me to include the ability to load balance RFC 1918 source addresses to a seperate pool in the IRULE not requiring connection limits or anything else in the irule. Basically sending RFC1918 requests to a seperate pool that does not have connection limits applied. What I tried doing is add this to the Irule above the rest of the irule. However when I applied it RFC 1918 addresses where not being sent to seperate pool.
when HTTP_REQUEST {
if { [matchclass [IP::remote_addr] equals $::private_net] } {
pool pl_x.x.x.x_http_internal
}
With a Data Group List below.
private_net
10.0.0.0/255.0.0.0
172.16.0.0/255.240.0.0
192.168.0.0/255.255.0.0
I have implemented blocks before on VIP for single addresses. But never tried full networks. Is this the issue I'm running into because it's not matching the exact value in the datagroup. opposed to seeing if the addresses falls inside one of these 3 networks? Thank you for your help.
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