Forum Discussion
iRule to SNAT traffic to LTM in another network
Michael,
I'm not sure of the value on LTM myself, but VP is asking for it. I suppose it sounds more like a redirect. He wants to make sure if LTM accepts traffic, but no members available, that we SNAT the traffic over to other LTM in second data center. Would LTM accept traffic if no pool members available? To me, LTM would propagate that DC availability to GTM, which would take DC out.
Nitass,
Node command sounds like it would do the trick. I guess the VIP in DC2 would be the node? So I would:
when CLIENT_ACCEPTED {
if {[active_members site1-poolA] < 1}{
snat automap Or snatpool xxxxx [where snatpool is configured for this]
node xxx.xxx.xxx.xxx 80 This would be VIP in other site?
} else {
pool site1-poolA
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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