Forum Discussion
smp_86112
Jun 14, 2011Cirrostratus
SNAT Automap, INET Port Exhaustion, and Self-IPs
We have a number of heavily used VIPs which use the SNAT Automap feature. And every once in a while the LTM outputs this log entry:
01010201:2: Inet port exhaustion on (floating_self-ip) to (pool_member_ip):(port) (proto 6)
I was reading through "sol7820: Overview of SNAT features" today, and I see this statement:
When BIG-IP processes connections from the origin IP address(es) matching a SNAT automap definition, it chooses a translation address from the available self IP addresses. Floating self IP addresses on the egress VLAN are preferred to support seamless failover.
We apply both a floating and a non-floating self-IP to each LTM VLAN, so each unit has two self-IP addresses for each VLAN. My assumption, given the paragraph above, was that the LTM can theoretically support 2 x 65535 TCP connections to any individual pool member since each LTM has two IP addresses (a floating and a base) for any given VLAN. And if that's true, the message about Inet port exhaustion means that all the connections for the floating IP address have been used up (since it's preferred), but I still have another 65535 connections available since the base IP address can still be used.
Am I thinking that through correctly?
- hooleylistCirrostratusHi SMP,
- smp_86112CirrostratusHow did you come to this conclusion:
- hooleylistCirrostratusI don't remember reading it--I've just never seen it happen in practice. Though I guess it might happen if you don't have a floating self IP on the egress VLAN? You could try testing it to see, but I expect that only the floating self IP would be used if there is one.
- smp_86112CirrostratusOK that makes me feel better that you can't point at a specific doc. If my logic is correct, then you wouldn't see the static IP until you ran out of connections with the floating. I wish I had a way to test this, but I don't have that kind of transient environment...
- JCohenRet. EmployeeIt actually can use non-floating addresses for SNAT automap, but there are some VERY significant caveats to this. The affinity for a floating address is so strong that it is chosen over the fact that an address is on the correct egress VLAN. SOL7336
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