Forum Discussion
Techgeeeg_28888
Nimbostratus
Sep 26, 2012Load Balancing over two links
Hi guys,
I am sure what i am about to ask has already been discussed here. I have two internet links terminated on GTM and I have a Wild card Virtual Server taking the traffic to internet. I hav...
What_Lies_Bene1
Cirrostratus
Sep 30, 2012No reason to remove the proxies from your iRule unless you can't be sure of what address they will get. I'd do it like this but please note I'm not too hot with iRules just yet;
when CLIENT_ACCEPTED {
if {[class match [IP::client_addr] equals Snat_pool]} {
snatpool [class match -value [IP::client_addr] equals Snat_pool]
}
if { [IP::addr [IP::client_addr] equals x.x.x.x] } { << proxy 1
pool pga_isp1_pool }
elseif { [IP::addr [IP::client_addr] equals x.x.x.x] } { << proxy 2
pool pga_isp2_pool }
}
You'd have to test to see if the original or SNAT source IP matches.
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