Forum Discussion
Translate port how does it work
Hi All,
If there is a VIP with 1.2.3.4:80 service 80 and pool memebers also with same port 80 . Then will this setup work with translate port enabled ?
Because when above configuration is applied this sends request to some different port on the same server in my case port 82 .
Basically when user tries to access the VIP setup with port 80 , user gets request page from the server listening on differnet service that is 82 .
When i disabled port translation then it started going to the current service 80 on the back end server .
Please can someone explain :
1) Why when enabled translate port it was sending request to different service port 82 on the same server .
2) How did it started working after disabling translate port setting .
Thanks
9 Replies
- gsharri
Altostratus
If there is a VIP with 1.2.3.4:80 service 80 and pool memebers also with same port 80 . Then will this setup work with translate port enabled ?Yes that should work. Port translation is enabled by default and allows the virtual server to send traffic to whichever port has been configured on the pool members (in situations where the VIP port is different from the pool member port e.g. SSL offload).
Because when above configuration is applied this sends request to some different port on the same server in my case port 82 .I know of no reason why that would happen. It's definitely not normal.
When i disabled port translation then it started going to the current service 80 on the back end server .That is expected since the VIP and pool member are using the same port number port translation is not required.
Is this the only VIP that is experiencing this issue?
Is this a "standard" type vip?
Are there any irules, local traffic policies, or profiles assigned to the vip? - SynACk_128568
Cirrostratus
Hi Scott,
thanks for reply .
these are the setting on virtual : virtual abc { translate service disable pool abc destination 1.2.3.4:http ip protocol tcp rules SNAT2VIP persist source_1800 profiles { http-xff {} tcp-lan-optimized { serverside } tcp-wan-optimized { clientside } } }
no irules , only this VIp .
Thanks
- Brad_Parker
Cirrus
can you also post your pool configuration? show ltm pool abc
- gsharri
Altostratus
rules SNAT2VIPThis means there is an iRule named SNAT2VIP assigned to this vip. Can you post the code of that iRule?
- nitass
Employee
can you post persistence and pool configurations?
tmsh list ltm pool abc tmsh list ltm persistence source-addr source_1800 - Sekhar_187126
Nimbostratus
Hi after looking at this post, i have a question on pool configuration
Can we configure a pool members serving same services on different ports under a same pool?
EX: PL_Test
1.1.1.1:6700 1.1.1.1:6705
Please suggest me.
Thanks.
Sekhar
- SynACk_128568
Cirrostratus
Yes this can be done
- Sekhar
Nimbostratus
Hi after looking at this post, i have a question on pool configuration
Can we configure a pool members serving same services on different ports under a same pool?
EX: PL_Test
1.1.1.1:6700 1.1.1.1:6705
Please suggest me.
Thanks.
Sekhar
- SynACk_128568
Cirrostratus
Yes this can be done
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