Forum Discussion
James_78615
Nimbostratus
Jan 22, 2013SNAT automap on non-floating-ip egress interface
Hi All,
Have an urgent issue on an Active/Standby LTM pair with SNAT Automap configured on the virtual server. I do NOT have a floating-ip on the server side vlan.
As per following link, th...
hoolio
Cirrostratus
Jan 22, 2013Hi James,
Here's a quick and dirty example that should allow you to specify a different SNAT IPs per BIG-IP in an HA pair:
when RULE_INIT {
set static::hostname [info hostname]
}
when CLIENT_ACCEPTED {
switch $static::hostname {
unit1.example.com {
snat 1.1.1.1
}
default {
snat 1.1.1.2
}
}
}
Longer term, it would be better to specify a new SNAT IP in a SNAT pool for more graceful handling of failovers.
AaronHelp 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