Forum Discussion
Valentine_96813
Aug 01, 2011Nimbostratus
Randomized Ports
I have been working an issue with a client regarding a high number of reported errors connecting to a production pool. After several monitors and lots of trial and error, we discovered that it was related to the source port setting in the VS. We had ours set to change and not preserve. It seems that F5 will timeout a used port and reuse it much faster then a windows server. This was causing the windows server to drop the connection and, of course, not log that it did so.
My question is this: Is there a way to change the F5 timeout to match Microsoft's?
- hoolioCirrostratusWhich LTM version are you running? What are you actually seeing in the tcpdumps? Are you using SNAT automap or a SNAT pool? If a SNAT pool, is it shared across multiple VIPs with the same server pools?
- That behavior does not make much sense. When your source port setting is set to change, we will potentially change the source port - but when the connection is finished, it should be properly torn down between LTM and the CAS server.... Like Hoolio said, would be helpful to know versions of F5 gear and Windows systems in use - but sounds like a collision with TIME_WAIT state on the servers... This SOL has more info on best settings to accommodate for it - unfortunately, no matter what we do with our proxy settings, we can't control how long the server will keep the closed TCP connection in the TIME_WAIT state, and if you have a lot of traffic and port reuse, you could have collisions - so in SNAT situations, it's best to set it to Change for both Virtual and SNAT - is that what your current settings are?
- Valentine_96813NimbostratusWe are using 3600 and 8900s running 10.1 HF2. We SNAT to an Server VLAN IP on a VS by VS basis. Basically, if a VS is a Prod or DEV VS it will be in the same FE VS range, but the SNAT for each would be different being that the BE devices are on different networks. Each FE VS has its own corresponding unique SNAT just like its listening IP.
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